/* =========================================================================
   ATELIER GRÜN — Landing
   Bauhaus grammar + Awwwards 2025 editorial finish
   Single typeface (Inter), one rule grid, zero radius, primary palette.
   ========================================================================= */

/* ---------- TOKENS ---------- */
:root {
  --ink:        #0A0A0A;
  --ink-soft:   #1A1A1A;
  --paper:      #F5F2EC;
  --paper-2:    #ECEAE2;
  --paper-3:    #DDD9CC;
  --rule:       #C9C4B5;
  --red:        #D7263D;
  --yellow:     #F4B400;
  --blue:       #1B4965;
  --green:      #2D6A4F;

  --font:       "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter:     24px;
  --col:        12;
  --maxw:       1680px;

  --t-xxs: 12px;
  --t-xs:  13px;
  --t-sm:  15px;
  --t-md:  17px;
  --t-lg:  22px;
  --t-xl:  clamp(28px, 3.4vw, 44px);
  --t-2xl: clamp(40px, 5vw, 72px);
  --t-3xl: clamp(56px, 9vw, 132px);
  --t-4xl: clamp(72px, 13vw, 196px);

  --ease: cubic-bezier(.7,.0,.2,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  font-family: var(--font);
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

/* Lenis-driven scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- LAYOUT PRIMITIVES ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--col), 1fr);
  column-gap: var(--gutter);
}
section { position: relative; }
main { display: block; }

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
}
.loader.is-done {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
}
.loader-grid {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: end;
}
.loader-mark {
  font-weight: 900;
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.06em;
}
.loader-bar {
  height: 2px;
  background: rgba(245,242,236,0.2);
  position: relative;
  overflow: hidden;
}
.loader-bar span {
  position: absolute; inset: 0 100% 0 0;
  background: var(--paper);
  transition: right .12s linear;
}
.loader-meta {
  font-size: var(--t-xxs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 24px;
  color: var(--ink);
  mix-blend-mode: difference;
  transition: padding .4s var(--ease);
}
.nav.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-burger {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 6px; right: 6px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 24px 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 48px;
  min-height: 100svh;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: var(--t-xxs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.hero-meta-sep { opacity: .35; }
.dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.dot-red { background: var(--red); }

.hero-title {
  font-size: var(--t-4xl);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.045em;
  align-self: end;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: inline-block;
  will-change: transform;
}
.hero-title em {
  font-style: italic;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.hero-lede {
  max-width: 52ch;
  font-size: var(--t-md);
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero-lede em {
  font-style: normal;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 1px;
}
.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .3s var(--ease), gap .3s var(--ease);
}
.hero-cta:hover { background: var(--red); gap: 14px; }
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 6px;
}
.hero-scroll svg { animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

.hero-stage {
  position: relative;
  margin-top: 24px;
  height: 56svh;
  min-height: 420px;
  max-height: 760px;
  overflow: hidden;
}
.hero-figure {
  position: absolute; inset: 0;
  margin: 0;
}
.hero-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.hero-figure figcaption {
  position: absolute; left: 16px; bottom: 16px;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 6px 10px;
}
.hero-shape {
  position: absolute;
  display: block;
  background: var(--ink);
  mix-blend-mode: difference;
}
.shape-circle   { width: 80px;  height: 80px;  border-radius: 50%; top: 8%;   right: 6%; }
.shape-square   { width: 64px;  height: 64px;  top: 60%;  left: 4%; background: var(--red); }
.shape-triangle {
  width: 0; height: 0;
  border-left: 36px solid transparent;
  border-right: 36px solid transparent;
  border-bottom: 60px solid var(--yellow);
  background: transparent;
  top: 18%; left: 18%;
  mix-blend-mode: normal;
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 18px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  animation: marquee 30s linear infinite;
}
.marquee-track .m-dot {
  font-size: 0.45em;
  color: var(--red);
  align-self: center;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- SECTION HEAD (shared) ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 24px;
  padding: 120px 24px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}
.eyebrow {
  grid-column: 1 / span 3;
  font-size: var(--t-xxs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: start;
}
.section-title {
  grid-column: 1 / span 8;
  font-size: var(--t-3xl);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.section-title em {
  font-style: italic;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.section-aside {
  grid-column: 9 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  align-self: end;
}
.section-aside p {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}
.section-count {
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 48px 24px 120px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.about .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 48px;
  align-items: start;
}
.about-num {
  grid-column: 1 / span 4;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.about-num-row {
  font-size: clamp(96px, 14vw, 220px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.about-num-label {
  margin-top: 8px;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-text {
  grid-column: 6 / span 7;
}
.about-text h2 {
  font-size: var(--t-2xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 22ch;
}
.about-text h2 em {
  font-style: italic;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
  color: var(--ink-soft);
}
.about-text p {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stats strong {
  font-size: var(--t-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.about-stats span {
  font-size: var(--t-xxs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- WORK GRID ---------- */
.work {
  padding: 0 24px 120px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 80px;
  padding-top: 64px;
}
.work-card {
  position: relative;
  cursor: pointer;
  display: block;
}
.work-card .wc-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
}
.work-card .wc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
  filter: saturate(0.92) contrast(1.02);
  will-change: transform;
}
.work-card:hover .wc-media img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.04);
}
.work-card .wc-overlay {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 14px;
  color: var(--paper);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.work-card:hover .wc-overlay { opacity: 1; }
.wc-overlay-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.wc-overlay-mark {
  align-self: end;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.work-card .wc-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  align-items: baseline;
}
.wc-caption-title {
  font-size: var(--t-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.wc-caption-num {
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.wc-caption-meta {
  grid-column: 1 / -1;
  font-size: var(--t-xxs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.work-card .wc-plus {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 2;
}
.work-card:hover .wc-plus {
  opacity: 1;
  transform: translateY(0);
}

/* card placement — asymmetric editorial layout */
.work-card[data-span="7"]  { grid-column: span 7; }
.work-card[data-span="5"]  { grid-column: span 5; }
.work-card[data-span="6"]  { grid-column: span 6; }
.work-card[data-span="4"]  { grid-column: span 4; }
.work-card[data-span="8"]  { grid-column: span 8; }
.work-card[data-row="tall"] .wc-media { aspect-ratio: 4 / 5; }
.work-card[data-row="wide"] .wc-media { aspect-ratio: 16 / 10; }
.work-card[data-row="sq"]   .wc-media { aspect-ratio: 1 / 1; }

/* ---------- SERVICES ---------- */
.services {
  background: var(--ink);
  color: var(--paper);
  padding: 0 24px 120px;
}
.services .section-head {
  border-top-color: var(--paper);
  color: var(--paper);
}
.services .eyebrow { color: var(--paper); opacity: .7; }
.services .section-title em { color: rgba(245,242,236,0.6); }

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gutter);
  row-gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--paper);
  padding-top: 48px;
}
.service {
  padding: 32px 0;
  border-top: 1px solid rgba(245,242,236,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  min-height: 480px;
}
.service-num {
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.service-icon { width: 56px; height: 56px; color: var(--paper); }
.service h3 {
  font-size: var(--t-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.service p {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: rgba(245,242,236,0.82);
  max-width: 32ch;
}
.service ul {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--t-xxs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.85);
}
.service ul li {
  padding: 6px 0;
  border-top: 1px solid rgba(245,242,236,0.25);
}

/* ---------- PROCESS ---------- */
.process {
  padding: 0 24px 120px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gutter);
  row-gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 48px;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  position: relative;
}
.process-num {
  position: absolute;
  top: 16px; right: 0;
  font-size: var(--t-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  opacity: .6;
}
.process-step h3 {
  font-size: var(--t-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 28px;
}
.process-step p {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 28ch;
}
.process-time {
  margin-top: auto;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

/* ---------- QUOTE ---------- */
.quote {
  padding: 120px 24px;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.quote blockquote {
  max-width: var(--maxw);
  margin: 0 auto;
}
.quote blockquote p {
  font-size: var(--t-2xl);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-left: 8.33%;
}
.quote blockquote footer {
  margin-top: 32px;
  margin-left: 8.33%;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 120px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}
.contact .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 48px;
}
.contact-text { grid-column: 1 / span 6; }
.contact-text h2 {
  font-size: var(--t-3xl);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 16px 0 32px;
}
.contact-text h2 em {
  font-style: italic;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
  color: var(--red);
}
.contact-text > p {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 32px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  font-size: var(--t-sm);
}
.contact-info li span {
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-info li a:hover { color: var(--red); }

.contact-form {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}
.contact-form span {
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-size: var(--t-md);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
  background: transparent;
  outline: 0;
}
.contact-form textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
  line-height: 1.45;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}
.contact-form-full { grid-column: 1 / -1; }
.contact-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: var(--t-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .3s var(--ease);
}
.contact-submit:hover { background: var(--red); }
.contact-form-ok {
  grid-column: 1 / -1;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.contact-form[data-sent="1"] .contact-form-ok { opacity: 1; }

/* ---------- FOOTER ---------- */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 24px 32px;
  border-top: 1px solid var(--ink);
}
.foot-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(245,242,236,0.2);
  padding-bottom: 32px;
  margin-bottom: 24px;
}
.foot-shapes {
  display: flex;
  gap: 14px;
}
.foot-shape { display: block; }
.foot-shape-circle   { width: 28px; height: 28px; border-radius: 50%; background: var(--red); }
.foot-shape-square   { width: 24px; height: 24px; background: var(--yellow); }
.foot-shape-triangle {
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 22px solid var(--paper);
}
.foot-mark {
  font-weight: 900;
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}
.foot-issues {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-xxs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-links a:hover { color: var(--paper); }
.foot-coords { font-variant-numeric: tabular-nums; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 88px 88px 0;
}
.lightbox.is-open {
  display: flex;
}
.lb-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 16px 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(0.96);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
  cursor: zoom-in;
  filter: contrast(1.02);
}
.lb-stage img.is-zoomed {
  transform: scale(1.4);
  cursor: zoom-out;
}
.lightbox.is-open .lb-stage img { transform: scale(1); opacity: 1; }

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  color: var(--paper);
  border: 1.5px solid rgba(245,242,236,0.6);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(6px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  z-index: 3;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--paper);
  color: var(--ink);
  transform: scale(1.05);
}
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.05); }
.lb-next:hover { transform: translateY(-50%) scale(1.05); }

.lb-cap {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  color: var(--paper);
  border-top: 1px solid rgba(245,242,236,0.2);
  padding: 20px 8px;
}
.lb-cap-num {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.lb-cap-title {
  font-size: var(--t-md);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 600;
}
.lb-cap-meta {
  font-size: var(--t-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
  text-align: right;
}

.lb-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(245,242,236,0.12);
}
.lb-progress span {
  display: block; height: 100%;
  background: var(--red);
  width: 0;
  transition: width .35s var(--ease);
}

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 80px; height: 80px;
  pointer-events: none;
  z-index: 80;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: grid; place-items: center; }
}
.cursor::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--paper);
  transform: scale(0.3);
  transition: transform .35s var(--ease);
}
.cursor-label {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.cursor.is-active::before { transform: scale(1); }
.cursor.is-active .cursor-label { opacity: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
  }
  .nav.is-open { mix-blend-mode: normal; }
  .section-head { grid-template-columns: 1fr; }
  .eyebrow, .section-title, .section-aside { grid-column: 1 / -1; }
  .about-num, .about-text { grid-column: 1 / -1; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .services-list { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .contact-text { grid-column: 1 / -1; }
  .contact-form { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --t-4xl: clamp(48px, 13vw, 96px);
  }
  .hero { padding: 110px 16px 40px; gap: 28px; min-height: auto; }
  .hero-title { letter-spacing: -0.04em; }
  .hero-stage { height: 38svh; min-height: 280px; margin-top: 12px; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .work-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .work-card[data-span] { grid-column: 1 / -1; }
  .quote blockquote p { margin-left: 0; font-size: clamp(28px, 8vw, 44px); }
  .quote blockquote footer { margin-left: 0; }
  .foot-top { grid-template-columns: 1fr; text-align: center; }
  .foot-issues { text-align: center; }
  .foot-shapes { justify-content: center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .process-list { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; width: 56px; height: 56px; }
  .lb-next { right: 8px; width: 56px; height: 56px; }
  .lb-close { width: 56px; height: 56px; top: 16px; right: 16px; }
  .lb-cap { left: 16px; right: 16px; padding: 16px 8px; }
  .lightbox { padding: 80px 0 0; }
  .nav { padding: 14px 16px; }
  .nav-cta { padding: 12px 14px; font-size: 11px; }
  .hero-scroll { padding: 12px 8px; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .hero-scroll svg, .marquee-track { animation: none; }
}
