/* ==========================================================
   MQA Foundation · Mohammad Qais Arghandiwal Foundation
   Static site stylesheet
   ========================================================== */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/barlow-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #11763c;
  --green-deep: #0a4d27;
  --green-ink: #07361b;
  --green-soft: #eaf4ee;
  --gold: #cca147;
  --gold-soft: #f4ead2;
  --navy: #131c2b;
  --navy-2: #1b2638;
  --sand: #f8f6f0;
  --ink: #141414;
  --muted: #4b5563;
  --line: #e5e1d6;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(19, 28, 43, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --header-h: 84px;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
strong { font-weight: 700; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 999;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--navy);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { position: relative; width: 120px; height: 120px; }
.preloader__mark img { position: absolute; inset: 16px; width: 88px; height: 88px; animation: pulse 1.6s var(--ease) infinite; }
.preloader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader__ring circle {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.2s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.94); } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120;
  background: linear-gradient(90deg, var(--gold), #e3c27a);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  color: rgba(255, 255, 255, 0.85); font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a, .topbar__mail { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar__social a:hover, .topbar__mail:hover { color: var(--gold); }
.topbar svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 80;
  transition: top 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s, height 0.4s;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.header.is-scrolled {
  top: 0; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(19, 28, 43, 0.4);
}
.header.is-scrolled .container { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 64px; height: 64px; transition: width 0.4s var(--ease), height 0.4s var(--ease), transform 0.6s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25)); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.header.is-scrolled .brand img { width: 50px; height: 50px; filter: none; }
.brand__text { display: none; line-height: 1.1; color: #fff; }
.brand__text b { display: block; font-size: 1.05rem; }
.brand__text span { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.header.is-scrolled .brand__text { color: var(--navy); }

.nav { display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 11px; font-weight: 600; font-size: 0.98rem; color: #fff;
  transition: color 0.25s; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover { color: var(--gold); }
.header.is-scrolled .nav__link { color: var(--navy); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--green); }
.nav__link svg { width: 14px; height: 14px; transition: transform 0.3s; }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 250px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border-top: 3px solid var(--gold); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .nav__link svg { transform: rotate(180deg); }
.drop a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--navy); font-weight: 500;
  border-radius: var(--radius); transition: background 0.2s, color 0.2s, padding 0.3s var(--ease);
}
.drop a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.drop a:hover { background: var(--green-soft); color: var(--green); padding-left: 20px; }

.burger {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 110;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform 0.4s var(--ease), opacity 0.3s, background 0.3s;
}
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.header.is-scrolled .burger span { background: var(--navy); }
.menu-open .burger span { background: #fff; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--green-ink);
  display: flex; flex-direction: column; justify-content: center; padding: 90px 28px 40px;
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path 0.7s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a {
  display: block; color: #fff; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 600; padding: 6px 0;
  transform: translateY(110%); transition: transform 0.6s var(--ease), color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .sub a { font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,0.75); padding: 4px 0 4px 18px; }
.menu-open .mobile-menu a { transform: none; }
.mobile-menu__foot { margin-top: 30px; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.mobile-menu__foot a { font-size: 0.95rem; display: inline; transform: none; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 14px 26px; font-weight: 600; font-size: 1rem; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit; isolation: isolate; transition: color 0.35s var(--ease), border-color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold::before { background: #fff; }
.btn--ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--navy); border-color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green::before { background: var(--navy); }
.btn--line { border-color: var(--green); color: var(--green); background: transparent; }
.btn--line::before { background: var(--green); }
.btn--line:hover { color: #fff; }
.btn--white { background: #fff; color: var(--green); }
.btn--white::before { background: var(--gold); }
.btn--white:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(19,28,43,0.3), rgba(19,28,43,0.6) 75%),
    linear-gradient(180deg, rgba(19,28,43,0.6) 0%, rgba(19,28,43,0.1) 35%, rgba(7,54,27,0.78) 100%);
}
.hero__content { text-align: center; padding: 160px 0 120px; max-width: 980px; margin-inline: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 500; letter-spacing: 0.04em;
  color: #f0dcae; margin-bottom: 18px;
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 700; line-height: 1.05; margin-bottom: 26px; text-wrap: balance; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-loaded .hero h1 .w > span { transform: none; }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.88); max-width: 820px; margin: 0 auto 36px; }
.hero__lead span { display: block; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero .fade-in { opacity: 1; transform: none; }
.is-loaded .hero .d1 { transition-delay: 0.15s; } .is-loaded .hero .d2 { transition-delay: 0.7s; }
.is-loaded .hero .d3 { transition-delay: 0.9s; } .is-loaded .hero .d4 { transition-delay: 1.1s; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue__mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.7); border-radius: 14px; position: relative; }
.scroll-cue__mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; padding: 190px 0 90px; overflow: hidden; isolation: isolate; text-align: center;
}
.page-hero__bg { position: absolute; inset: -16% 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(19,28,43,0.82), rgba(7,54,27,0.86));
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 auto; max-width: 980px; text-wrap: balance; }
.page-hero .crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 0.92rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs span[aria-hidden] { color: var(--gold); }
.page-hero__meta { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: #f0dcae; font-weight: 500; }
.page-hero__meta svg { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--green); font-weight: 600; font-size: 1.02rem; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
.center .eyebrow::after { content: ""; width: 30px; height: 2px; background: var(--gold); }
.h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); text-wrap: balance; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: #222; }
.muted { color: var(--muted); }

/* intro / goal */
.goal { text-align: center; }
.goal p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.7; max-width: 980px; margin: 0 auto; color: #222; }
.goal .h2 { margin-bottom: 26px; }

/* stats */
.stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 34px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat__num { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.5em; color: var(--gold); margin-left: 2px; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--top { align-items: start; }
.split__text p { color: #222; }

/* framed image with gold offset frame */
.frame { position: relative; padding: 0 24px 24px 0; }
.frame--left { padding: 0 0 24px 24px; }
.frame::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: calc(100% - 24px); height: calc(100% - 24px);
  border: 6px solid var(--gold); transform: translate(-24px, -24px); transition: transform 1.2s var(--ease) 0.2s;
}
.frame--left::before { left: 0; right: auto; transform: translate(24px, -24px); }
.frame.is-in::before { transform: none; }
.frame__img { position: relative; overflow: hidden; background: var(--sand); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.frame.is-in .frame__img img { transform: scale(1); }
.frame__img::after {
  content: ""; position: absolute; inset: 0; background: var(--green); transform-origin: right;
  transition: transform 1s var(--ease);
}
.frame.is-in .frame__img::after { transform: scaleX(0); }
.frame__badge {
  position: absolute; left: -18px; bottom: 50px; z-index: 2; background: var(--green); color: #fff; padding: 16px 20px; max-width: 230px;
  box-shadow: var(--shadow); font-weight: 600; line-height: 1.3;
}
.frame__badge b { display: block; font-size: 2rem; color: var(--gold); line-height: 1; }

/* quote card (vision) */
.quote-card {
  position: relative; border: 8px solid var(--gold); overflow: hidden; min-height: 460px; display: grid; place-items: center;
  color: #fff; isolation: isolate; padding: 50px 40px; text-align: center;
}
.quote-card__bg { position: absolute; inset: -14% 0; z-index: -2; }
.quote-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(19,28,43,0.55), rgba(7,54,27,0.8)); }
.quote-card__mark { font-size: 7rem; line-height: 0.6; color: var(--gold); font-family: Georgia, serif; height: 50px; }
.quote-card blockquote { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.4; font-weight: 500; }
.quote-card blockquote .qw { opacity: 0.15; transition: opacity 0.5s; }
.quote-card blockquote .qw.on { opacity: 1; }
.quote-card cite { display: block; margin-top: 22px; font-style: normal; font-weight: 700; font-size: 1.2rem; color: #f0dcae; }

/* ---------- Focus areas (sticky scroller) ---------- */
.focus-intro { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding: clamp(90px, 12vw, 150px) 0; }
.focus-intro__bg { position: absolute; inset: -18% 0; z-index: -2; }
.focus-intro__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.focus-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(7,54,27,0.92), rgba(19,28,43,0.88)); }
.focus-intro .eyebrow { color: #f0dcae; }
.focus-intro .h2 { color: #fff; }
.focus-intro p { max-width: 900px; margin: 0 auto 0.6em; color: rgba(255,255,255,0.88); font-size: 1.12rem; }
.focus-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.focus-tabs a {
  padding: 9px 18px; border: 1px solid rgba(255,255,255,0.35); border-radius: 40px; font-weight: 500; color: #fff;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.focus-tabs a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.focus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.focus__media { position: sticky; top: calc(var(--header-h) + 30px); height: calc(100vh - var(--header-h) - 60px); max-height: 680px; align-self: start; }
.focus__stack { position: relative; height: 100%; overflow: hidden; box-shadow: var(--shadow); }
.focus__stack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.focus__stack img.is-active { opacity: 1; transform: scale(1); }
.focus__counter {
  position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 14px 22px; display: flex; align-items: baseline; gap: 8px;
}
.focus__counter .cur { font-size: 2rem; line-height: 1; min-width: 1.4em; }
.focus__counter .lbl { font-size: 0.95rem; font-weight: 600; }
.focus__bar { position: absolute; right: 18px; top: 18px; bottom: 18px; width: 3px; background: rgba(255,255,255,0.35); z-index: 2; }
.focus__bar span { position: absolute; left: 0; right: 0; top: 0; background: var(--gold); height: 20%; transition: transform 0.6s var(--ease); }

.focus__items { padding: 6vh 0; }
.focus-item { padding: 10vh 0; opacity: 0.28; transition: opacity 0.6s var(--ease); scroll-margin-top: calc(var(--header-h) + 30px); }
.focus-item.is-active { opacity: 1; }
.focus-item__num { font-weight: 700; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.focus-item h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.focus-item__img { display: none; margin-bottom: 22px; }
.callout {
  margin: 22px 0 24px; padding: 24px 28px; background: var(--green-soft); color: var(--green); font-size: 1.12rem; line-height: 1.55;
  border-left: 4px solid var(--green); position: relative;
}
.focus-item p { color: #222; }

/* ---------- Projects carousel ---------- */
.projects-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.carousel-ctrl { display: flex; gap: 10px; }
.carousel-ctrl button {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--green); background: transparent; color: var(--green); cursor: pointer;
  display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.carousel-ctrl button:hover { background: var(--green); color: #fff; transform: scale(1.06); }
.carousel-ctrl svg { width: 20px; height: 20px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 30px;
  scrollbar-width: none; cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel > * { scroll-snap-align: start; }

/* ---------- News cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__date {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--green);
  display: grid; place-items: center; text-align: center; line-height: 1; box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.card__date b { font-size: 1.35rem; display: block; }
.card__date span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; }
.card__meta svg { width: 16px; height: 16px; color: var(--green); }
.card h3 { font-size: 1.28rem; line-height: 1.25; margin-bottom: 12px; transition: color 0.3s; }
.card:hover h3 { color: var(--green); }
.card p { color: #333; font-size: 1rem; flex: 1; overflow-wrap: anywhere; }
.card__more {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); margin-top: 6px; align-self: flex-start;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.card__more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.card:hover .card__more svg { transform: translateX(5px); }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* typographic place panel (used where no photo exists) */
.place {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px 22px 92px;
  background: radial-gradient(circle at 85% 20%, rgba(204,161,71,0.28), transparent 45%), linear-gradient(135deg, var(--green) 0%, var(--green-ink) 100%);
  color: #fff; overflow: hidden;
}
.place::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: url("../img/logo.png") center / contain no-repeat;
  opacity: 0.14; filter: grayscale(1) brightness(1.6); transition: transform 1.4s var(--ease);
}
.card:hover .place::before { transform: rotate(-20deg) scale(1.1); }
.place small { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; color: #f0dcae; }
.place strong { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; }
.place--big { padding: 40px; }
.place--big strong { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.place--big::before { width: 360px; height: 360px; right: -60px; top: -60px; }

/* news page */
.news-feature {
  display: grid; grid-template-columns: 1.15fr 1fr; background: var(--green); color: #fff; margin-bottom: 40px; position: relative;
  transition: box-shadow 0.5s var(--ease);
}
.news-feature:hover { box-shadow: var(--shadow); }
.news-feature__media { position: relative; min-height: 380px; overflow: hidden; }
.news-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.05); }
.news-feature__body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.news-feature__tag { display: inline-block; align-self: flex-start; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; margin-bottom: 18px; }
.news-feature h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.news-feature .card__meta { color: rgba(255,255,255,0.8); }
.news-feature .card__meta svg { color: var(--gold); }
.news-feature p { color: rgba(255,255,255,0.9); font-size: 1.08rem; }
.news-feature .btn { align-self: flex-start; margin-top: 10px; }

.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.news-filter button {
  font-family: inherit; font-size: 0.98rem; font-weight: 600; padding: 9px 18px; border-radius: 40px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  transition: all 0.3s var(--ease);
}
.news-filter button:hover { border-color: var(--green); color: var(--green); }
.news-filter button.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-grid .card { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s; }
.news-grid .card.is-hidden { display: none; }

/* ---------- Article ---------- */
.article { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.article__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.article__aside .frame__img { aspect-ratio: 4 / 3.4; }
.article__aside .frame__img.tall { aspect-ratio: 3 / 4; }
.article__aside .place { position: absolute; }
.article__body { font-size: 1.08rem; }
.article__body .lead { color: var(--green); font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.5; margin-bottom: 1.3em; padding-bottom: 1.3em; border-bottom: 1px solid var(--line); }
.article__body h2 { font-size: 1.35rem; margin-top: 1.6em; color: var(--ink); }
.facts { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 12px; }
.facts li {
  position: relative; padding: 16px 18px 16px 52px; background: var(--sand); border: 1px solid var(--line); line-height: 1.55;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.facts li:hover { border-color: var(--gold); transform: translateX(4px); }
.facts li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.closing { font-size: 1.12rem; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--gold-soft); }

.video {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; margin: 26px 0; background: var(--navy); color: #fff; cursor: pointer; border: 0; padding: 0; width: 100%; font-family: inherit;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: transform 1s var(--ease), opacity 0.4s; }
.video:hover img { transform: scale(1.05); opacity: 0.55; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(204,161,71,0.6); animation: ring 2.2s infinite;
}
.video__play svg { width: 28px; height: 28px; margin-left: 4px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(204,161,71,0.55); } 80%, 100% { box-shadow: 0 0 0 26px rgba(204,161,71,0); } }
.video__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); text-align: left; font-weight: 600; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.press {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); background: #fff; margin: 14px 0;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.press:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.press__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.press__icon svg { width: 20px; height: 20px; }
.press b { display: block; }
.press span { color: var(--muted); font-size: 0.92rem; }
.ext-link { color: var(--green); font-weight: 600; word-break: break-all; border-bottom: 1px solid var(--gold); }
.ext-link:hover { color: var(--navy); }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.article-nav a { padding: 22px 24px; border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s; }
.article-nav a:hover { border-color: var(--green); background: var(--green-soft); }
.article-nav small { display: block; color: var(--gold); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 6px; }
.article-nav b { font-size: 1.08rem; line-height: 1.3; }
.article-nav .next { text-align: right; }

/* ---------- Policy ---------- */
.policy-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; counter-reset: pol; }
.policy-list li {
  counter-increment: pol; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem;
}
.policy-list li::before {
  content: counter(pol, decimal-leading-zero); font-weight: 700; color: var(--gold); font-size: 1.3rem; line-height: 1.3;
}

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; right: -180px; bottom: -180px; width: 560px; height: 560px; z-index: -1;
  background: url("../img/logo.png") center / contain no-repeat; opacity: 0.07; filter: grayscale(1);
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact .h2 { color: #fff; }
.contact .eyebrow { color: #f0dcae; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.contact-info li { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
.contact-info .ic { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(204,161,71,0.55); color: var(--gold); display: grid; place-items: center; }
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info small { display: block; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; margin-bottom: 2px; }
.contact-info a:hover { color: var(--gold); }
.form { background: #fff; color: var(--ink); padding: clamp(28px, 4vw, 46px); border-top: 4px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 22px 14px 8px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--sand);
  transition: border-color 0.3s, background 0.3s; color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 15px; color: var(--muted); pointer-events: none; transition: all 0.25s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 5px; font-size: 0.75rem; color: var(--green); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form__status.ok { color: var(--green); } .form__status.err { color: #b42318; }

/* ---------- Legal / text pages ---------- */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose address { font-style: normal; }
.imprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.imprint-card { padding: 26px; border: 1px solid var(--line); background: var(--sand); border-top: 3px solid var(--green); }
.imprint-card small { display: block; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 80px 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--gold), var(--green)); }
.contact + .footer { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-brand img { width: 112px; height: 112px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.65); max-width: 340px; font-size: 0.98rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-social svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { display: inline-flex; align-items: center; gap: 10px; transition: color 0.25s, transform 0.3s var(--ease); }
.footer ul a svg { width: 14px; height: 14px; color: var(--gold); }
.footer ul a:hover { color: var(--gold); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 0.95rem; color: rgba(255,255,255,0.7); }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s, background 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }
.to-top svg.arrow { width: 20px; height: 20px; position: relative; z-index: 1; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-50px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-r { opacity: 0; transform: translateX(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-l.is-in, .reveal-r.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: 0.1s; } .stagger.is-in > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.is-in > *:nth-child(4) { transition-delay: 0.3s; } .stagger.is-in > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.is-in > *:nth-child(6) { transition-delay: 0.5s; } .stagger.is-in > *:nth-child(7) { transition-delay: 0.6s; }
.stagger.is-in > *:nth-child(8) { transition-delay: 0.7s; }

.no-js .reveal, .no-js .reveal-l, .no-js .reveal-r, .no-js .stagger > * { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .brand__text { display: block; }
}
@media (max-width: 960px) {
  .split, .contact-grid, .article, .focus { grid-template-columns: 1fr; }
  .split .frame { max-width: 620px; }
  .order-first-mobile { order: -1; }
  .focus__media { display: none; }
  .focus-item { opacity: 1; padding: 40px 0; }
  .focus-item__img { display: block; }
  .focus-item__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature__media { min-height: 260px; }
  .article__aside { position: relative; top: 0; max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .imprint-grid { grid-template-columns: 1fr; }
  .quote-card { min-height: 380px; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .header { top: 0; }
  .brand img { width: 52px; height: 52px; }
  .brand__text b { font-size: 0.95rem; }
  .hero__content { padding: 120px 0 110px; }
  .hero__lead span { display: inline; }
  .news-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .frame { padding: 0 14px 14px 0; }
  .frame--left { padding: 0 0 14px 14px; }
  .frame::before { width: calc(100% - 14px); height: calc(100% - 14px); border-width: 4px; }
  .frame__badge { left: 10px; bottom: 30px; }
  .carousel { grid-auto-columns: 84%; }
  .page-hero { padding: 140px 0 70px; }
  .stat { padding: 26px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-l, .reveal-r, .stagger > * { opacity: 1; transform: none; }
}

/* ---------- Hero slideshow ---------- */
.hero__bg img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero__bg img.is-active { opacity: 1; }
.hero__dots { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; z-index: 2; }
.hero__dots span { width: 3px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero__dots span.is-active::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: top; animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Photo marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; background: var(--navy); display: grid; gap: 14px; }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee img { height: 180px; width: auto; object-fit: cover; filter: grayscale(0.35) brightness(0.85); transition: filter 0.4s; }
.marquee img:hover { filter: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Article gallery + video ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.4s; }
.gallery a::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; font-weight: 300; color: #fff; background: rgba(17,118,60,0.55); opacity: 0; transition: opacity 0.35s; }
.gallery a:hover img { transform: scale(1.08); }
.gallery a:hover::after { opacity: 1; }
.mp4 { margin: 26px 0; border-top: 4px solid var(--gold); background: #000; box-shadow: var(--shadow); }
.mp4 video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,14,22,0.94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; box-shadow: 0 30px 80px rgba(0,0,0,0.6); animation: lbin 0.5s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lightbox button { position: absolute; background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.8rem; transition: background 0.3s, border-color 0.3s; }
.lightbox button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.7); letter-spacing: 0.15em; font-size: 0.9rem; }

@media (max-width: 640px) {
  .hero__dots { display: none; }
  .marquee img { height: 120px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 60px 10px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; }
}
