/* ============================================================
   TERRA WORKS — main stylesheet
   Brand: forest green #354d35 + warm cream/greige neutrals
   ============================================================ */

:root {
  /* Greens */
  --forest:        #354d35;
  --forest-700:    #2b3f2b;
  --forest-900:    #1c2a1c;
  --moss:          #5f7050;
  --sage:          #8a9778;

  /* Warm neutrals */
  --cream:         #f5f2ea;
  --paper:         #faf8f2;
  --sand:          #ece5d8;
  --greige:        #d9d1c1;
  --taupe:         #b4a98f;
  --bark:          #6b6354;

  /* Ink */
  --ink:           #20271d;
  --ink-soft:      #4a5343;

  /* System */
  --bg:            var(--cream);
  --maxw:          1280px;
  --gut:           clamp(1.25rem, 4vw, 4rem);
  --radius:        18px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

/* When Lenis is active it sets html.lenis; keep native smooth off */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moss);
}
.eyebrow--light { color: var(--sage); }
.eyebrow--hero { color: var(--bark); margin-bottom: 1.4rem; }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-top: 0.6rem;
}
.section-title--light { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--solid { background: var(--forest); color: var(--cream); }
.btn--solid:hover { background: var(--forest-700); }
.btn--solid:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--forest); border-color: rgba(53,77,53,0.3); }
.btn--ghost:hover { background: rgba(53,77,53,0.06); border-color: var(--forest); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(245,242,234,0.4); }
.btn--ghost-light:hover { background: rgba(245,242,234,0.1); border-color: var(--cream); }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--forest);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
}
.loader__mark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.loader__terra { font-family: var(--sans); font-weight: 600; letter-spacing: 0.42em; font-size: 1.6rem; color: var(--cream); padding-left: 0.42em; }
.loader__works { font-family: var(--sans); font-weight: 400; letter-spacing: 0.34em; font-size: 0.95rem; color: var(--sage); margin-top: 0.4rem; padding-left: 0.34em; }
.loader__bar { width: 140px; height: 2px; background: rgba(245,242,234,0.2); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--cream); }
body.loaded .loader { opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s; }
html:not(.js) .loader { display: none; } /* never trap content if JS is off */

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gut);
  transition: padding 0.4s var(--ease);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: 999px; background: rgba(245,242,234,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(53,77,53,0.08); transition: background 0.3s; }
.nav__chip { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; flex: none; }
.nav__word { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.01em; color: var(--ink); }
.nav__word b { font-weight: 600; }

.nav__links { display: flex; gap: 0.3rem; align-items: center;
  padding: 0.35rem; border-radius: 999px;
  background: rgba(245,242,234,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(53,77,53,0.08); }
.nav__links a { position: relative; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.5rem 1rem; border-radius: 999px; transition: color 0.25s, background 0.25s; }
.nav__links a:hover { color: var(--forest); }
.nav__links a.is-active { color: var(--cream); background: var(--forest); }

.nav__cta { display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.9rem; font-weight: 500; color: var(--cream); background: var(--forest);
  padding: 0.6rem 1rem 0.6rem 1.2rem; border-radius: 999px;
  border: 1px solid rgba(53,77,53,0.08); transition: background 0.3s, transform 0.4s var(--ease); }
.nav__cta:hover { background: var(--forest-700); transform: translateY(-1px); }
.nav__cta svg { transition: transform 0.4s var(--ease); }
.nav__cta:hover svg { transform: translateX(3px); }

/* scrolled state — compact */
.nav.is-scrolled { padding-top: 0.6rem; padding-bottom: 0.6rem; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(53,77,53,0.1);
  background: rgba(245,242,234,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--forest);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: var(--gut);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.2rem); color: var(--cream);
  line-height: 1.1; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1){ transition-delay: .08s }
body.menu-open .mobile-menu nav a:nth-child(2){ transition-delay: .14s }
body.menu-open .mobile-menu nav a:nth-child(3){ transition-delay: .20s }
body.menu-open .mobile-menu nav a:nth-child(4){ transition-delay: .26s }
body.menu-open .mobile-menu nav a:nth-child(5){ transition-delay: .32s }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 0.4rem; color: var(--sage); font-size: 0.95rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gut) 0; overflow: hidden; }
.hero__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; flex: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }

.hero__title { font-family: var(--serif); font-weight: 400; color: var(--forest);
  font-size: clamp(4.5rem, 16vw, 13rem); line-height: 0.82; letter-spacing: -0.03em; margin: 0.5rem 0 1.8rem; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
html.js .hero__title .line > span { transform: translateY(110%); }
.hero__title .line--italic { font-style: italic; color: var(--moss); margin-left: 0.12em; }

.hero__lede { max-width: 30rem; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.hero__media { position: relative; height: clamp(380px, 56vh, 620px); }
.hero__img { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(28,42,28,0.4); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { width: 54%; height: 78%; left: 0; top: 0; z-index: 2; }
.hero__img--b { width: 56%; height: 70%; right: 0; bottom: 0; z-index: 1; }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bark); z-index: 3; }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--bark), transparent); animation: scrollPulse 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100%{ transform: scaleY(0.4); opacity: .4 } 50%{ transform: scaleY(1); opacity: 1 } }

/* Marquee */
.marquee { position: relative; z-index: 3; margin-top: auto; overflow: hidden; border-top: 1px solid rgba(53,77,53,0.12);
  padding: 1rem 0; width: 100vw; margin-left: calc(50% - 50vw); }
.marquee__track { display: inline-flex; gap: 2rem; white-space: nowrap; will-change: transform;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--moss); animation: marquee 38s linear infinite; }
.marquee__track span:nth-child(even) { color: var(--taupe); }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: clamp(5rem, 12vh, 10rem) var(--gut); }
.about__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.12; letter-spacing: -0.015em; color: var(--forest); margin: 1.2rem 0 1.6rem; }
.about__statement em { color: var(--moss); }
.about__body { max-width: 34rem; color: var(--ink-soft); }
.about__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--greige); }
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat__num { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }
.stat__label { font-size: 0.8rem; color: var(--bark); letter-spacing: 0.02em; }
.about__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; box-shadow: 0 30px 60px -30px rgba(28,42,28,0.45); }
.about__media img { width: 100%; height: 110%; object-fit: cover; }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.caps { padding: clamp(4rem, 10vh, 8rem) var(--gut); background: var(--paper); }
.caps__head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.caps__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.caps__col { padding-top: 1.4rem; border-top: 1px solid var(--greige); }
.caps__group { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); margin-bottom: 1.2rem; }
.caps__list li { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink); padding: 0.55rem 0; border-bottom: 1px solid rgba(180,169,143,0.3);
  transition: color 0.3s, padding-left 0.3s var(--ease); }
.caps__list li:hover { color: var(--forest); padding-left: 0.5rem; }
.caps__media { max-width: var(--maxw); margin: 4rem auto 0; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(1rem, 3vw, 2rem); }
.caps__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/10; box-shadow: 0 25px 50px -30px rgba(28,42,28,0.4); }
.caps__img--tall { aspect-ratio: 3/4; align-self: stretch; }
.caps__img img { width: 100%; height: 112%; object-fit: cover; }

/* ============================================================
   PROJECT TYPES
   ============================================================ */
.types { padding: clamp(5rem, 12vh, 9rem) var(--gut); background: var(--forest); color: var(--cream); }
.types__head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.types__cols { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.types__card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.5rem; color: var(--cream); }
.types__card ul { border-top: 1px solid rgba(245,242,234,0.18); }
.types__card li { display: flex; align-items: baseline; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(245,242,234,0.18);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(245,242,234,0.92); transition: padding-left 0.3s var(--ease), color 0.3s; }
.types__card li span { font-size: 0.75rem; color: var(--sage); letter-spacing: 0.1em; flex: none; }
.types__card li:hover { padding-left: 0.5rem; color: #fff; }

/* ============================================================
   WORK / PORTFOLIO
   ============================================================ */
.work { padding: clamp(5rem, 12vh, 10rem) var(--gut); }
.work__head { max-width: var(--maxw); margin: 0 auto 3rem; }
.project { max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 2.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project__meta { position: sticky; top: 7rem; }
.project__index { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss); }
.project__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--forest); line-height: 1; margin: 0.5rem 0 0.5rem; }
.project__sub { color: var(--ink-soft); font-style: italic; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 1.8rem; }
.project__facts { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--greige); }
.project__facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--greige); }
.project__facts dt { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bark); }
.project__facts dd { font-size: 0.92rem; color: var(--ink); text-align: right; }

.project__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.8rem, 2vw, 1.4rem); }
.shot { overflow: hidden; border-radius: var(--radius); position: relative; }
.shot--wide { grid-column: 1 / -1; }
.shot__link { display: block; position: relative; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; transition: transform 0.8s var(--ease); }
.shot--wide img { aspect-ratio: 16/9; }
.shot:hover img { transform: scale(1.04); }
.shot__tag { position: absolute; left: 0.8rem; bottom: 0.8rem; z-index: 2;
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--cream);
  background: rgba(28,42,28,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.shot:hover .shot__tag { opacity: 1; transform: none; }
.work__more { max-width: var(--maxw); margin: 3.5rem auto 0; text-align: center; color: var(--ink-soft); }
.work__more a { color: var(--forest); border-bottom: 1px solid var(--moss); padding-bottom: 1px; }
.work__more a:hover { color: var(--moss); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { position: relative; padding: clamp(5rem, 14vh, 11rem) var(--gut); color: var(--cream); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: -10% 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,42,28,0.86), rgba(43,63,43,0.92)); }
.contact__inner { max-width: var(--maxw); margin: 0 auto; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.02em; margin: 1rem 0 3rem; }
.contact__title em { color: var(--sage); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2.5rem 0; border-top: 1px solid rgba(245,242,234,0.2); border-bottom: 1px solid rgba(245,242,234,0.2); }
.contact__label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.9rem; }
.contact__value { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; color: var(--cream); }
.contact__muted { color: rgba(245,242,234,0.7); }
.contact__link { display: block; font-size: 1.05rem; color: rgba(245,242,234,0.92); padding: 0.15rem 0;
  width: fit-content; border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.contact__link:hover { color: #fff; border-color: var(--sage); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-900); color: var(--cream); padding: clamp(3rem, 7vh, 5rem) var(--gut) 2rem; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(245,242,234,0.14); }
.footer__mark { display: inline-flex; flex-direction: column; line-height: 1; margin-bottom: 1.2rem; }
.footer__mark b { font-weight: 600; letter-spacing: 0.36em; font-size: 1.3rem; padding-left: 0.36em; }
.footer__mark i { font-style: normal; letter-spacing: 0.3em; font-size: 0.85rem; color: var(--sage); padding-left: 0.3em; margin-top: 0.3rem; }
.footer__brand p { color: rgba(245,242,234,0.6); font-size: 0.92rem; max-width: 24rem; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a, .footer__contact a { color: rgba(245,242,234,0.75); font-size: 0.95rem; width: fit-content; transition: color 0.25s; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(245,242,234,0.5); }
.footer__back { transition: color 0.25s; }
.footer__back:hover { color: #fff; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20,28,18,0.92);
  display: flex; align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6); transform: scale(0.96); transition: transform 0.4s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(245,242,234,0.3); background: rgba(245,242,234,0.1); color: var(--cream); font-size: 1.1rem; cursor: pointer; transition: background 0.25s; }
.lightbox__close:hover { background: rgba(245,242,234,0.2); }

/* ============================================================
   REVEAL ANIMATION BASE STATES
   ============================================================ */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
/* line-mask reveal wrappers are created by JS; nothing to hide without JS */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { height: clamp(340px, 50vh, 480px); max-width: 560px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16/10; max-height: 520px; }
  .project { grid-template-columns: 1fr; }
  .project__meta { position: static; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .caps__grid { grid-template-columns: 1fr; gap: 0; }
  .caps__col { padding-bottom: 1rem; }
  .caps__media { grid-template-columns: 1fr; }
  .caps__img--tall { aspect-ratio: 16/10; }
  .types__cols { grid-template-columns: 1fr; gap: 3rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 6rem; }
  .hero__title { font-size: clamp(4rem, 26vw, 7rem); }
  .hero__media { height: 380px; }
  .hero__img--a { width: 62%; height: 76%; }
  .hero__img--b { width: 60%; height: 66%; }
  .project__gallery { grid-template-columns: 1fr; }
  .shot img, .shot--wide img { aspect-ratio: 16/11; }
  .btn { height: 48px; }
  .contact__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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; }
  [data-reveal], [data-line] > span, [data-reveal-lines] .reveal-line > span, .hero__title .line > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .hero__scroll-line { animation: none; }
}
