/* ============================================================
   Engman Wulff — styles.css
   Design tokens documented in DESIGN-SYSTEM.md
   ============================================================ */

:root {
  --ink: #0E0E0E;
  --ink-soft: #1A1714;
  --paper: #F5F0E8;
  --paper-warm: #FAF8F4;
  --gold: #C9A96E;
  --gold-dim: #9A7A42;
  --line: rgba(245,240,232,0.14);
  --line-dark: rgba(26,23,20,0.12);
  --gray: #8C887F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 48px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.16,.84,.44,1), transform 1s cubic-bezier(.16,.84,.44,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 0;
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  padding: 16px 0;
  background: rgba(14,14,14,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav { display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link svg { height: 34px; width: auto; transition: height .4s ease; }
header.scrolled .logo-link svg { height: 26px; }

.nav-links { display: flex; gap: 48px; align-items: center; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper); opacity: 0.78;
  position: relative; padding-bottom: 4px;
  transition: opacity .3s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold-dim);
  padding: 10px 22px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.menu-btn { display: none; background: none; border: none; color: var(--paper); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* small viewport height — avoids URL-bar jump on mobile */
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(14,14,14,0.25) 0%, rgba(14,14,14,0.35) 45%, rgba(14,14,14,0.92) 100%),
    url('assets/hero.jpg');
  background-size: cover, cover;          /* explicit longhand: cover never stretches */
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
  transform: scale(1.08);
  transform-origin: center;
  animation: heroIn 2.4s cubic-bezier(.16,.84,.44,1) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }

.hero-content { position: relative; z-index: 2; padding: 0 48px 96px; }
.hero-eyebrow { opacity: 0; animation: fadeUp 1s ease forwards .6s; margin-bottom: 22px; }
.hero-title {
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.96;
  color: var(--paper);
  max-width: 1100px;
  opacity: 0; animation: fadeUp 1.1s ease forwards .8s;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin-top: 28px; max-width: 480px;
  font-size: 16px; line-height: 1.7; color: rgba(245,240,232,0.72);
  opacity: 0; animation: fadeUp 1.1s ease forwards 1.1s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute; bottom: 36px; left: 48px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  opacity: 0; animation: fadeUp 1s ease forwards 1.6s;
}
.scroll-cue .line { width: 36px; height: 1px; background: var(--gold); }

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; padding: 18px 0;
  background: var(--ink);
}
.marquee-track { display: inline-flex; animation: scroll 32s linear infinite; }
.marquee-track span {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px;
  color: var(--gray); padding: 0 36px; white-space: nowrap;
}
.marquee-track span.gold {
  color: var(--gold); font-style: normal;
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section shared ---------- */
section { position: relative; }
.section-pad { padding-top: 160px; padding-bottom: 160px; } /* vertical only — keeps .wrap horizontal padding */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 88px; flex-wrap: wrap;
}
.section-title { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.05; max-width: 640px; }
.section-desc { max-width: 340px; font-size: 14.5px; line-height: 1.75; color: var(--gray); padding-bottom: 6px; }

/* ---------- Services ---------- */
.services { background: var(--paper); color: var(--ink-soft); }
.services .eyebrow { color: var(--gold-dim); }
.services .section-desc { color: #6b665c; }
.service-list { border-top: 1px solid var(--line-dark); }
.service-row {
  border-bottom: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 100px 1fr 320px 40px;
  align-items: center; gap: 32px;
  padding: 38px 0;
  cursor: default;
  transition: padding .45s cubic-bezier(.16,.84,.44,1);
}
.service-row .num { font-size: 13px; color: var(--gold-dim); letter-spacing: 0.08em; }
.service-row h3 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 400; transition: color .35s ease, transform .35s ease; }
.service-row p { font-size: 14px; line-height: 1.7; color: #6b665c; max-width: 320px; }
.service-row .arrow { font-size: 22px; color: var(--gold-dim); transition: transform .4s cubic-bezier(.16,.84,.44,1); justify-self: end; }
.service-row:hover { padding: 50px 0; }
.service-row:hover h3 { color: var(--gold-dim); transform: translateX(8px); }
.service-row:hover .arrow { transform: translateX(6px) rotate(45deg); }

/* ---------- Work / filmstrip ---------- */
.work { background: var(--ink); }
.work .section-head { padding: 0 48px; }
.filmstrip-wrap { position: relative; }
.filmstrip {
  display: flex; gap: 24px;
  overflow-x: auto;
  padding: 0 48px 36px;
  scroll-snap-type: none;     /* off: continuous auto-scroll, no snapping back */
  scroll-behavior: auto;      /* instant — programmatic auto-scroll stays smooth */
  scrollbar-width: none;
  cursor: grab;
}
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip.dragging { cursor: grabbing; }
.frame {
  position: relative; flex: 0 0 auto;
  width: min(72vw, 520px); height: 640px;
  scroll-snap-align: start;
  overflow: hidden;
  background: #15140f;
  cursor: pointer;
  outline: none;
}
.frame:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(15%) brightness(0.92);
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.16,.84,.44,1), filter .6s ease;
  pointer-events: none;
}
.frame:hover img { transform: scale(1.1); filter: grayscale(0%) brightness(1); }
.frame-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,14,14,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  pointer-events: none;
}
.frame-tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.frame-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--paper); font-weight: 400; }
.frame-meta { font-size: 12px; color: rgba(245,240,232,0.55); margin-top: 6px; }
.frame.tall { height: 720px; margin-top: -40px; }

.filmstrip-hint {
  display: flex; align-items: center; gap: 14px; padding: 0 48px; margin-top: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
}
.filmstrip-hint .bar { flex: 1; height: 1px; background: var(--line); max-width: 200px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(14,14,14,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-stage {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 80px 100px 140px;
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lb-close {
  position: fixed; top: 24px; right: 32px;
  background: none; border: none; color: var(--paper);
  font-size: 36px; line-height: 1; cursor: pointer; z-index: 501;
  opacity: 0.6; transition: opacity .2s ease;
  font-family: 'Inter', sans-serif; font-weight: 300;
}
.lb-close:hover { opacity: 1; }
.lb-close:focus-visible { outline: 1px solid var(--gold); }

.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid var(--line);
  color: var(--paper); font-size: 26px; line-height: 1;
  cursor: pointer; padding: 16px 20px; z-index: 501;
  transition: background .2s ease, border-color .2s ease;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(201,169,110,0.12); border-color: var(--gold); }
.lb-prev:focus-visible, .lb-next:focus-visible { outline: 1px solid var(--gold); }

.lb-info {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 32px 48px;
  background: linear-gradient(0deg, rgba(14,14,14,0.96) 0%, transparent 100%);
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.lb-tag { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); flex-shrink: 0; }
.lb-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--paper); }
.lb-desc { font-size: 12.5px; color: var(--gray); max-width: 460px; line-height: 1.5; }
.lb-counter { margin-left: auto; font-size: 11px; letter-spacing: 0.14em; color: var(--gray); flex-shrink: 0; }

/* ---------- About ---------- */
.about { background: var(--paper); color: var(--ink-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after {
  content: ''; position: absolute; inset: 18px;
  border: 1px solid var(--gold); pointer-events: none;
}
.about-copy .eyebrow { color: var(--gold-dim); margin-bottom: 24px; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.18; margin-bottom: 28px; }
.about-copy p { font-size: 15.5px; line-height: 1.85; color: #54504a; margin-bottom: 20px; max-width: 480px; }
.about-stats { display: flex; gap: 56px; margin-top: 48px; border-top: 1px solid var(--line-dark); padding-top: 32px; }
.about-stats div strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 400; color: var(--gold-dim); }
.about-stats div span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8c887f; }

/* ---------- Process ---------- */
.process { background: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-card { background: var(--ink); padding: 48px 36px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.process-card .pnum { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--gold-dim); font-style: italic; }
.process-card h4 { font-size: 21px; font-weight: 400; margin: 24px 0 12px; }
.process-card p { font-size: 13.5px; line-height: 1.7; color: var(--gray); }

/* ---------- Testimonial carousel ---------- */
.quote-section { background: var(--ink); padding: 140px 0; text-align: center; position: relative; }
.quote-carousel { position: relative; }
.quote-slide { display: none; }
.quote-slide.active { display: block; }
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 120px; color: var(--gold-dim); opacity: 0.5; line-height: 0.5; }
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 38px);
  font-style: italic; line-height: 1.5;
  max-width: 820px; margin: 24px auto 32px;
  color: var(--paper);
}
.quote-attr { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.quote-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.quote-nav-btn {
  background: none; border: 1px solid var(--line);
  color: var(--gray); cursor: pointer; font-size: 18px; line-height: 1;
  padding: 10px 16px;
  transition: border-color .25s ease, color .25s ease;
}
.quote-nav-btn:hover { border-color: var(--gold); color: var(--gold); }
.quote-nav-btn:focus-visible { outline: 1px solid var(--gold); }
.quote-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray); border: none; cursor: pointer;
  transition: background .3s ease; padding: 0;
}
.quote-dot.active { background: var(--gold); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); color: var(--ink-soft); padding: 160px 0 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.contact-title { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; margin-bottom: 32px; }
.contact-title em { color: var(--gold-dim); font-style: italic; }
.contact-copy { font-size: 15.5px; line-height: 1.8; color: #54504a; max-width: 440px; margin-bottom: 44px; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--ink-soft); padding: 18px 32px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background .35s ease, color .35s ease;
}
.contact-btn:hover { background: var(--ink-soft); color: var(--paper); }

.contact-info { border-left: 1px solid var(--line-dark); padding-left: 60px; }
.contact-info .block { margin-bottom: 36px; }
.contact-info .label { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 10px; }
.contact-info .value { font-size: 17px; font-family: 'Cormorant Garamond', serif; }
.contact-info a.value:hover { color: var(--gold-dim); }

/* ---------- Contact form ---------- */
.form-wrap { margin-top: 90px; border-top: 1px solid var(--line-dark); padding: 80px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.field { position: relative; margin-bottom: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  position: absolute; top: 14px; left: 0;
  font-size: 15px; color: #9b9588;
  transition: all .25s ease; pointer-events: none;
}
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--line-dark);
  padding: 14px 0 12px; font-size: 15.5px;
  color: var(--ink-soft); font-family: 'Inter', sans-serif; font-weight: 300;
  outline: none; transition: border-color .3s ease;
}
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-dim); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim);
}
.field textarea { resize: none; min-height: 90px; }
.select-label { top: -12px !important; font-size: 11px !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; color: var(--gold-dim) !important; }
.submit-btn {
  margin-top: 24px;
  background: var(--ink-soft); color: var(--paper);
  border: none; padding: 18px 38px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: background .3s ease, opacity .3s ease;
  font-family: 'Inter', sans-serif;
}
.submit-btn:hover { background: var(--gold-dim); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 3px; }

.form-status {
  display: none; padding: 15px 20px;
  font-size: 13.5px; margin-top: 16px;
}
.form-status.success {
  display: block;
  border-left: 2px solid var(--gold);
  color: var(--gold-dim);
  background: rgba(201,169,110,0.06);
}
.form-status.error {
  display: block;
  border-left: 2px solid #c0392b;
  color: #c0392b;
  background: rgba(192,57,43,0.06);
}

/* ---------- Footer ---------- */
footer { background: var(--ink-soft); color: var(--paper); padding: 64px 0 32px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 24px;
}
.footer-top svg { height: 30px; width: auto; }
.footer-links { display: flex; gap: 40px; }
.footer-links a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.7); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 12px; color: rgba(245,240,232,0.45); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(245,240,232,0.45); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0; background: var(--ink); z-index: 200;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  transform: translateY(-100%); transition: transform .55s cubic-bezier(.16,.84,.44,1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 400; }
.mobile-close { position: absolute; top: 28px; right: 48px; background: none; border: none; color: var(--paper); font-size: 28px; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .wrap { padding: 0 28px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .about-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .contact-info { border-left: none; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 36px; margin-top: 36px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 50px 1fr 40px; }
  .service-row p { display: none; }
  .section-pad { padding-top: 96px; padding-bottom: 96px; }
  .section-head { margin-bottom: 56px; gap: 20px; }
  .hero-content { padding: 0 28px 64px; }
  .work .section-head { padding: 0 28px; }
  .filmstrip { padding: 0 28px 28px; }
  .filmstrip-hint { padding: 0 28px; }
  .lb-stage { padding: 70px 70px 130px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-info { padding: 24px 28px; }
  .lb-desc { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .section-pad { padding-top: 68px; padding-bottom: 68px; }
  .section-head { margin-bottom: 40px; }

  /* Hero — full-bleed on mobile, cropped to the LEFT so the volleyball player
     and the man in the green shirt stay in frame (right side cropped off). */
  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(14,14,14,0.25) 0%, rgba(14,14,14,0.35) 45%, rgba(14,14,14,0.92) 100%),
      url('assets/hero-mobile.jpg');
    background-position: center, 8% center;   /* left-biased crop */
  }
  .hero-content { padding: 0 24px 56px; }
  .hero-title { font-size: 40px; line-height: 1.02; }
  .hero-sub { margin-top: 20px; font-size: 15px; }
  .scroll-cue { left: 24px; bottom: 28px; }

  /* Services */
  .service-row { grid-template-columns: 38px 1fr 28px; gap: 16px; padding: 30px 0; }
  .service-row:hover { padding: 30px 0; }            /* no hover-expand jump on touch */
  .service-row:hover h3 { transform: none; }
  .service-row h3 { font-size: 30px; }
  .service-row .arrow { font-size: 18px; }

  /* Work / filmstrip */
  .process-grid { grid-template-columns: 1fr; }
  .frame { width: 78vw; height: 460px; }
  .frame.tall { height: 460px; margin-top: 0; }      /* equal heights read cleaner on phone */
  .frame-overlay { padding: 24px; }
  .frame-title { font-size: 26px; }

  /* About */
  .about-copy h2 { font-size: 30px; }
  .about-stats { gap: 24px 28px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; }
  .about-stats div { flex: 1 1 40%; }
  .about-stats div strong { font-size: 32px; }

  /* Testimonials */
  .quote-section { padding: 80px 0; }
  .quote-mark { font-size: 80px; }
  .quote-nav { margin-top: 32px; }

  /* Contact */
  .contact { padding-top: 68px; }
  .contact-copy { margin-bottom: 32px; }
  .contact-btn { padding: 16px 24px; font-size: 11px; }
  .form-wrap { margin-top: 56px; padding: 48px 0; }
  .form-grid { gap: 24px; }
  .submit-btn { width: 100%; }

  /* Footer — let links wrap instead of clipping */
  .footer-links { flex-wrap: wrap; gap: 18px 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Lightbox */
  .lb-stage { padding: 56px 46px 110px; }
  .lb-prev, .lb-next { padding: 10px 13px; font-size: 20px; }
  .lb-close { top: 16px; right: 20px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
  .frame { width: 82vw; height: 420px; }
  .frame.tall { height: 420px; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
