/* ==========================================================================
   MODO — Main stylesheet
   1. Tokens & base
   2. Header & navigation
   3. Mobile menu
   4. Buttons & links
   5. Hero
   6. Statement
   7. Sections (shared)
   8. Work
   9. Services
   10. Process
   11. Approach
   12. Testimonial
   13. FAQ
   14. Contact
   15. Footer
   16. Motion (only when <html class="anim">)
   17. Responsive
   18. Reduced motion
   ========================================================================== */

/* 1. Tokens & base
   ========================================================================== */
:root {
  --ink: #0A0A0A;
  --paper: #F5F4F0;
  --grey: #8C8C8C;
  --sand: #D9D5CE;
  --green: #687A63;
  --text: #3A3A3A;
  --muted: #6B6B6B;
  --line: rgba(10, 10, 10, .12);
  --page: clamp(22px, 5vw, 80px);
  --max: 1600px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.35, .5, 1);
  /* Vertical rhythm: every section pads top and bottom with --space,
     so the gap between two sections is 2 × --space (about 110–176px) */
  --space: clamp(56px, 5.5vw, 88px);
  /* Type scale: eight sizes, used everywhere */
  --fs-display: clamp(48px, 5.6vw, 92px);    /* hero, approach, contact, 404 */
  --fs-h2: clamp(40px, 5vw, 72px);           /* section headings */
  --fs-statement: clamp(28px, 3.4vw, 48px);  /* studio intro, testimonial */
  --fs-h3: 22px;                             /* card / item titles, FAQ questions */
  --fs-lead: 18px;                           /* intro paragraphs */
  --fs-body: 17px;                           /* running text */
  --fs-small: 14px;                          /* buttons, links, meta, footer */
  --fs-label: 13px;                          /* spaced capitals: eyebrows, nav */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Very faint paper grain, so large empty areas feel like material rather than blank screen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; margin: 0; }
::selection { background: var(--green); color: var(--paper); }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.wrap { width: min(100%, var(--max)); margin-inline: auto; }
.accent { color: var(--green); }
.eyebrow {
  margin: 0;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.svg-sprite { position: absolute; width: 0; height: 0; }

/* 2. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 244, 240, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .4s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }

.nav {
  height: 88px;
  padding: 0 var(--page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark { display: block; color: var(--ink); line-height: 0; }
.wordmark svg { display: block; height: 22px; width: auto; aspect-ratio: 1719 / 361; }
.wordmark--header img { width: auto; height: 26px; }
footer .wordmark svg { height: 28px; }

.navlinks {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 48px);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.navlinks a { position: relative; padding: 10px 0; color: var(--muted); transition: color .3s ease; }
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.navlinks a:hover,
.navlinks a[aria-current="page"] { color: var(--ink); }
.navlinks a:hover::after,
.navlinks a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* 3. Mobile menu
   ========================================================================== */
.menu-toggle {
  display: none;
  position: relative;
  z-index: 40;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .45s var(--ease);
}
.menu-toggle span:nth-child(1) { transform: translateY(-4px); }
.menu-toggle span:nth-child(2) { transform: translateY(4px); }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--page) 40px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.menu ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s var(--ease);
}
.menu-open .menu li { opacity: 1; transform: none; }
.menu-open .menu li:nth-child(1) { transition-delay: .08s; }
.menu-open .menu li:nth-child(2) { transition-delay: .14s; }
.menu-open .menu li:nth-child(3) { transition-delay: .2s; }
.menu-open .menu li:nth-child(4) { transition-delay: .26s; }
.menu-open .menu li:nth-child(5) { transition-delay: .32s; }
.menu li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
}
.menu li a small { font-size: var(--fs-label); font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.menu-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.menu-foot .button { width: 100%; }

/* 4. Buttons & links
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  height: 56px;
  padding: 0 22px 0 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 2px;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .5s var(--ease);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.button:hover { color: var(--ink); }
.button:hover::before { transform: scaleX(1); transform-origin: left; }

/* Secondary button: outlined, fills green on hover like the main button */
.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.button--ghost:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--green); }

.btn-arrow { display: inline-flex; transition: transform .6s var(--ease); }
.btn-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button:hover .btn-arrow { transform: translateX(4px); }

.text-link {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 500;
  padding-bottom: 6px;
  background:
    linear-gradient(var(--green), var(--green)) 0 100% / 0 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.text-link:hover { background-size: 100% 1.5px, 100% 1px; }

/* 5. Hero
   ========================================================================== */
.hero {
  padding: 0 var(--page) var(--space);
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
  min-height: 640px;
}
.hero-copy { padding-top: clamp(80px, 12vw, 180px); }
.hero h1 { font-size: var(--fs-display); letter-spacing: -.045em; line-height: 1.02; }
.hero p { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); max-width: 380px; margin: 36px 0 44px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.hero .status { display: inline-flex; align-items: center; gap: 10px; max-width: none; margin: 0; font-size: var(--fs-small); letter-spacing: .02em; color: var(--muted); }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Layout morph: the same eight blocks move between layouts. Positions are % of the board,
   type sizes are cqw (board width), so the whole preview scales as one piece. */
.morph { position: relative; height: min(720px, calc(100svh - 140px)); min-height: 520px; background: #E7E3DC; overflow: hidden; }
.morph-board {
  position: absolute; inset: 9% 7% 15%;
  container-type: size;
  border-radius: 10px; overflow: hidden;
  background: var(--m-bg); box-shadow: 0 40px 80px -40px rgba(10, 10, 10, .35);
  transition: background .9s var(--ease);
  --m-bg: #FBFAF7; --m-fg: #0A0A0A; --m-mut: #4A4A4A; --m-acc: #0A0A0A; --m-accfg: #F5F4F0;
  --m-img: linear-gradient(160deg, #C9C3B6, #8E9A87); --m-card: #E7E2D8; --m-line: rgba(10, 10, 10, .14); --m-dot: #687A63;
  --m-tf: Inter, sans-serif; --m-tw: 600; --m-ts: normal; --m-tsz: 6.4cqw; --m-tt: -.045em; --m-ta: left;
  --m-br: 2px; --m-ir: 2px; --m-cr: 2px;
}
.mb {
  position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  transition: left .9s var(--spring), top .9s var(--spring), width .9s var(--spring), height .9s var(--spring),
              background .9s, border-radius .9s, color .9s, font-size .9s;
  transition-delay: calc(var(--d) * 45ms);
}
.mb-card { transition: left .9s var(--spring), top .9s var(--spring), width .9s var(--spring), height .9s var(--spring), background .9s, border-radius .9s, border-color .9s; transition-delay: calc(var(--d) * 45ms); border-top: 1px solid transparent; }
.mb-nav { display: flex; justify-content: space-between; align-items: center; font-size: clamp(7px, 1.45cqw, 11px); letter-spacing: .14em; text-transform: uppercase; color: var(--m-mut); }
.mb-nav b { font-size: clamp(10px, 2cqw, 15px); font-weight: 600; letter-spacing: -.02em; text-transform: none; color: var(--m-fg); }
.mb-title { font-family: var(--m-tf); font-weight: var(--m-tw); font-style: var(--m-ts); font-size: var(--m-tsz); line-height: 1; letter-spacing: var(--m-tt); color: var(--m-fg); text-align: var(--m-ta); }
.mb-text { font-size: clamp(8px, 1.75cqw, 13px); line-height: 1.55; color: var(--m-mut); text-align: var(--m-ta); }
.mb-btn { display: grid; place-items: center; background: var(--m-acc); color: var(--m-accfg); font-size: clamp(7px, 1.5cqw, 11px); letter-spacing: .1em; text-transform: uppercase; border-radius: var(--m-br); }
.mb-img { z-index: 0; background: var(--m-img); border-radius: var(--m-ir); }
.mb:not(.mb-img) { z-index: 1; }
.mb-card { background: var(--m-card); border-radius: var(--m-cr); overflow: hidden; }
/* placeholder content so each card reads as a card: an accent dot and two text lines */
.mb-card::before { content: ""; position: absolute; left: 9%; top: 18%; width: 11cqw; max-width: 60%; height: 70%; background:
  radial-gradient(circle at 1.1cqw 1.1cqw, var(--m-dot) 1cqw, transparent calc(1cqw + .5px)) 0 0 / 2.2cqw 2.2cqw no-repeat,
  linear-gradient(var(--m-line), var(--m-line)) 0 calc(2.2cqw + 1.2cqw) / 100% .9cqw no-repeat,
  linear-gradient(var(--m-line), var(--m-line)) 0 calc(2.2cqw + 2.8cqw) / 70% .9cqw no-repeat; transition: opacity .9s; }
/* Positions: --l / --t / --w / --h for nav, title, text, button, image, three cards */
.morph-board[data-layout="split"] .mb:nth-child(1) { --l: 5%; --t: 5%; --w: 90%; --h: 6%; }
.morph-board[data-layout="split"] .mb:nth-child(2) { --l: 5%; --t: 24%; --w: 48%; --h: 26%; }
.morph-board[data-layout="split"] .mb:nth-child(3) { --l: 5%; --t: 52%; --w: 40%; --h: 10%; }
.morph-board[data-layout="split"] .mb:nth-child(4) { --l: 5%; --t: 66%; --w: 22%; --h: 8%; }
.morph-board[data-layout="split"] .mb:nth-child(5) { --l: 58%; --t: 20%; --w: 37%; --h: 52%; }
.morph-board[data-layout="split"] .mb:nth-child(6) { --l: 5%; --t: 80%; --w: 28%; --h: 14%; }
.morph-board[data-layout="split"] .mb:nth-child(7) { --l: 36%; --t: 80%; --w: 28%; --h: 14%; }
.morph-board[data-layout="split"] .mb:nth-child(8) { --l: 67%; --t: 80%; --w: 28%; --h: 14%; }
.morph-board[data-layout="centred"] { --m-ta: center; --m-tsz: 7.2cqw; }
.morph-board[data-layout="centred"] .mb:nth-child(1) { --l: 5%; --t: 5%; --w: 90%; --h: 6%; }
.morph-board[data-layout="centred"] .mb:nth-child(2) { --l: 15%; --t: 18%; --w: 70%; --h: 14%; }
.morph-board[data-layout="centred"] .mb:nth-child(3) { --l: 25%; --t: 34%; --w: 50%; --h: 8%; }
.morph-board[data-layout="centred"] .mb:nth-child(4) { --l: 39%; --t: 45%; --w: 22%; --h: 8%; }
.morph-board[data-layout="centred"] .mb:nth-child(5) { --l: 5%; --t: 58%; --w: 90%; --h: 36%; }
.morph-board[data-layout="centred"] .mb:nth-child(n+6) { --t: 110%; --w: 28%; --h: 14%; }
.morph-board[data-layout="centred"] .mb:nth-child(6) { --l: 5%; }
.morph-board[data-layout="centred"] .mb:nth-child(7) { --l: 36%; }
.morph-board[data-layout="centred"] .mb:nth-child(8) { --l: 67%; }
.morph-board[data-layout="editorial"] {
  --m-bg: #1F2420; --m-fg: #F5F4F0; --m-mut: #C9C5BD; --m-acc: #F5F4F0; --m-accfg: #1F2420;
  --m-img: linear-gradient(to bottom, rgba(20, 24, 20, .25), rgba(20, 24, 20, 0) 30%, rgba(20, 24, 20, .55)), linear-gradient(160deg, #9AA791, #46523F); --m-card: rgba(255, 255, 255, .1); --m-line: rgba(245, 244, 240, .22); --m-dot: #C9D2C1;
  --m-tf: 'Instrument Serif', Georgia, serif; --m-tw: 400; --m-ts: italic; --m-tsz: 10.5cqw; --m-tt: -.015em;
}
.morph-board[data-layout="editorial"] .mb:nth-child(1) { --l: 5%; --t: 5%; --w: 90%; --h: 6%; }
.morph-board[data-layout="editorial"] .mb:nth-child(2) { --l: 5%; --t: 37%; --w: 70%; --h: 20%; }
.morph-board[data-layout="editorial"] .mb:nth-child(3) { --l: 5%; --t: 69%; --w: 36%; --h: 12%; }
.morph-board[data-layout="editorial"] .mb:nth-child(4) { --l: 5%; --t: 84%; --w: 21%; --h: 8%; }
.morph-board[data-layout="editorial"] .mb:nth-child(5) { --l: 0%; --t: 0%; --w: 100%; --h: 61%; }
.morph-board[data-layout="editorial"] .mb:nth-child(n+6) { --l: 50%; --w: 45%; --h: 8%; }
.morph-board[data-layout="editorial"] .mb:nth-child(6) { --t: 68%; }
.morph-board[data-layout="editorial"] .mb:nth-child(7) { --t: 77%; }
.morph-board[data-layout="editorial"] .mb:nth-child(8) { --t: 86%; }
/* Editorial reads like a magazine: photo behind the nav and title, cards become a slim index list */
.morph-board[data-layout="editorial"] .mb-card { border-radius: 0; border-top: 1px solid rgba(245, 244, 240, .18); background: transparent; }
.morph-board[data-layout="editorial"] .mb-card::before { left: 0; top: 50%; width: 70%; max-width: none; height: 2.2cqw; transform: translateY(-50%); background:
  radial-gradient(circle at 1.1cqw 1.1cqw, var(--m-dot) 1cqw, transparent calc(1cqw + .5px)) 0 0 / 2.2cqw 2.2cqw no-repeat,
  linear-gradient(var(--m-line), var(--m-line)) 4cqw 50% / 55% .9cqw no-repeat; }
.morph-board[data-layout="editorial"] .mb-card::after { content: "\2192"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: clamp(8px, 1.6cqw, 12px); color: var(--m-mut); }
.morph-board[data-layout="grid"] { --m-bg: #F2EEE6; --m-card: #FFFFFF; --m-line: rgba(10, 10, 10, .12); --m-acc: #687A63; --m-br: 999px; --m-ir: 14px; --m-cr: 14px; --m-tsz: 5.7cqw; }
.morph-board[data-layout="grid"] .mb:nth-child(1) { --l: 5%; --t: 5%; --w: 90%; --h: 6%; }
.morph-board[data-layout="grid"] .mb:nth-child(2) { --l: 5%; --t: 18%; --w: 55%; --h: 20%; }
.morph-board[data-layout="grid"] .mb:nth-child(3) { --l: 5%; --t: 40%; --w: 42%; --h: 10%; }
.morph-board[data-layout="grid"] .mb:nth-child(4) { --l: 5%; --t: 53%; --w: 24%; --h: 9%; }
.morph-board[data-layout="grid"] .mb:nth-child(5) { --l: 64%; --t: 18%; --w: 31%; --h: 40%; }
.morph-board[data-layout="grid"] .mb:nth-child(6) { --l: 5%; --t: 66%; --w: 43%; --h: 28%; }
.morph-board[data-layout="grid"] .mb:nth-child(7) { --l: 52%; --t: 62%; --w: 43%; --h: 15%; }
.morph-board[data-layout="grid"] .mb:nth-child(8) { --l: 52%; --t: 79%; --w: 43%; --h: 15%; }
.morph-caption { position: absolute; left: 7%; bottom: 4.5%; margin: 0; font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.morph-caption b { font-weight: 500; color: var(--ink); }
.morph-pick { position: absolute; right: 7%; bottom: 3.6%; display: flex; gap: 6px; }
.morph-pick button { padding: 8px 12px; border: 1px solid rgba(10, 10, 10, .18); border-radius: 2px; background: transparent; font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.morph-pick button:hover { border-color: var(--ink); }
.morph-pick button:active { transform: scale(.96); }
.morph-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* 6. Statement
   ========================================================================== */
.statement {
  padding: var(--space) var(--page);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 40px;
}
.statement > p {
  margin: 0;
  font-size: var(--fs-statement);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
  max-width: 1000px;
}
.statement > p > span:not(.w) { color: var(--green); }

/* 7. Sections (shared)
   ========================================================================== */
.section { padding: var(--space) var(--page); }
.section--flush-top { padding-top: 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.section h2 { font-size: var(--fs-h2); letter-spacing: -.035em; line-height: 1.05; margin-top: 20px; }
.section-intro { max-width: 340px; font-size: var(--fs-body); line-height: 1.65; color: var(--text); margin: 0; }

/* 8. Work
   ========================================================================== */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}
.project-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.visit--soon { color: var(--muted); }
.project-image img { transition: transform .9s var(--ease); }
.project:hover .project-image img { transform: scale(1.02); }
.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 22px;
}
.project-title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.02em; transition: color .4s ease; }
.project:hover .project-title { color: var(--green); }
.project-type { font-size: var(--fs-small); color: var(--muted); margin: 6px 0 0; }
.visit {
  flex-shrink: 0;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.visit span { display: inline-block; transition: transform .4s var(--ease); }
.project:hover .visit span { transform: translate(3px, -3px); color: var(--green); }
.all-projects { margin-top: clamp(56px, 6vw, 88px); text-align: center; }

/* 9. Services
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.service { border-top: 1px solid var(--line); padding-top: 28px; }
.service h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.service p { font-size: var(--fs-body); line-height: 1.65; color: var(--text); margin: 0; }
.service-grid .service:nth-child(2) { --c: .08; }
.service-grid .service:nth-child(3) { --c: .16; }
.service-grid .service:nth-child(4) { --c: .24; }

/* Service icons — line drawings that draw themselves as you scroll */
.svc-ico { display: block; width: 96px; height: auto; aspect-ratio: 200 / 180; margin: 4px 0 28px -4px; overflow: visible; }
.svc-ico .ico-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}
.svc-ico .ico-accent { stroke: var(--green); }
.svc-ico .ico-dot { fill: var(--green); transform-box: fill-box; transform-origin: center; }

/* 10. Process
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process li { border-top: 2px solid var(--green); padding-top: 24px; }
.process .step { display: block; font-size: var(--fs-label); color: var(--muted); margin-bottom: 48px; }
.process h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.process p { margin: 0; font-size: var(--fs-body); line-height: 1.65; color: var(--text); }

/* 11. Approach
   ========================================================================== */
.approach {
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--space) * 1.4) var(--page);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
}
.approach .eyebrow { color: #809279; } /* lighter green for contrast on black */
.approach h2 { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.02; margin-top: 24px; }
.approach-copy p { font-size: var(--fs-lead); line-height: 1.7; color: #BDBBB6; margin: 0; max-width: 420px; }

/* Illustration: noise clears, the four forms align */
.approach-art { display: block; width: 100%; max-width: 360px; height: auto; margin-bottom: 56px; overflow: visible; }
.approach-art .glyph { fill: none; stroke: var(--paper); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.approach-art .glyph.d { stroke: var(--green); }
.approach-art .noise { fill: none; stroke: var(--grey); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.approach-art .noise.dotn { fill: var(--grey); stroke: none; }

/* 12. Testimonial
   ========================================================================== */
.quote-band { position: relative; overflow: hidden; background: var(--green); color: var(--ink); margin-top: var(--space); }
.quote { margin: 0; padding: calc(var(--space) * 1.4) var(--page); max-width: 1240px; }
.quote .eyebrow { color: var(--ink); }
.quote-mark {
  position: absolute;
  right: var(--page);
  top: 50%;
  transform: translateY(-38%);
  font-size: clamp(220px, 30vw, 460px);
  font-weight: 600;
  line-height: 1;
  color: rgba(10, 10, 10, .1);
  pointer-events: none;
  user-select: none;
}
.quote blockquote { margin: 24px 0 0; }
.quote blockquote p { margin: 0; font-size: var(--fs-statement); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.quote figcaption { margin-top: 40px; font-size: var(--fs-small); color: var(--ink); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* 13. FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.faq-more { margin: 40px 0 0; font-size: var(--fs-small); line-height: 1.9; color: var(--muted); }
.faq-more .text-link { color: var(--ink); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--green), var(--green)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 48px 32px 0; font-size: var(--fs-body); line-height: 1.7; color: var(--text); max-width: 620px; }

/* 14. Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  column-gap: 48px;
  align-items: end;
  padding: var(--space) var(--page) calc(var(--space) * 1.5);
}
.contact > :not(.contact-aside) { grid-column: 1; }
.contact-aside { grid-column: 2; grid-row: 1 / span 3; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-aside p:not(.eyebrow) { margin: 14px 0 24px; font-size: var(--fs-body); line-height: 1.65; color: var(--text); }
.not-found { min-height: 70svh; align-content: center; }
.not-found h1 { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.02; margin: 24px 0 28px; }
.nf-text { max-width: 440px; margin: 0 0 44px; font-size: var(--fs-lead); line-height: 1.6; color: var(--text); }
.contact h2 { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.02; margin: 24px 0 48px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }

/* 15. Footer
   ========================================================================== */
footer { padding: 0 var(--page) 32px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.footer-col { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: var(--fs-small); color: var(--muted); font-style: normal; }
.footer-col a { transition: color .3s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer-social svg .fill { fill: currentColor; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: var(--fs-small); }
.footer-top-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -12px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.footer-top-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease); }
.footer-top-link:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.footer-top-link:hover svg { transform: translateY(-2px); }

/* 16. Motion — everything below only applies when <html class="anim">,
   which is set in <head> unless the visitor prefers reduced motion.
   Without it, every element shows its finished, static state.
   ========================================================================== */

/* Fade-up on scroll */
.anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
.anim .reveal.in { opacity: 1; transform: none; }

/* Availability dot breathes slowly */
.anim .status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }

/* Headlines rise line by line */
.anim .split .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.anim .split .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.anim .split.in .ln > span { transform: none; }
.anim .split.in .ln:nth-child(2) > span { transition-delay: .12s; }
.anim .split.in .ln:nth-child(3) > span { transition-delay: .24s; }

/* Hero photo settles in on load (zoom only — fading from opacity 0 would delay LCP) */
.anim .morph-board { animation: settle 1.8s var(--ease) backwards; }
@keyframes settle { from { transform: scale(1.08); } }

/* Section rules draw across */
.anim .section-head { position: relative; border-top-color: transparent; }
.anim .section-head::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.anim .section-head.in::before { transform: none; }

/* Studio statement: words light up as you scroll (--p set by JS) */
.anim .statement .w { opacity: calc(.16 + .84 * clamp(0, calc(var(--p, 1) * var(--n) - var(--i)), 1)); }

/* Project images ease from a slight zoom to rest */
.anim .project-image img { transform: scale(calc((1.12 - .12 * var(--p, 1)) * var(--h, 1))); transition: transform .4s var(--ease); }
.anim .project:hover .project-image img { --h: 1.02; }

/* Service icons draw in */
.anim .service-grid .svc-ico > * { --k: clamp(0, calc((var(--p, 1) - var(--c, 0) - var(--o, 0)) / .4), 1); }
.anim .service-grid .ico-line { stroke-dashoffset: calc(1 - var(--k)); }
.anim .service-grid .ico-dot { transform: scale(var(--k)); opacity: var(--k); }

/* Process: green lines draw one after another */
.anim .process li { position: relative; border-top-color: transparent; }
.anim .process li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(clamp(0, calc((var(--p, 1) - var(--o, 0)) / .5), 1));
}
.anim .process li:nth-child(2) { --o: .15; }
.anim .process li:nth-child(3) { --o: .3; }
.anim .process li:nth-child(4) { --o: .45; }

/* Approach: shapes settle from scattered (--p 0) to assembled (--p 1),
   each with its own start offset --o */
.anim .approach-art .glyph,
.anim .approach-art .noise { --k: clamp(0, calc((var(--p, 1) - var(--o, 0)) / .6), 1); }
.anim .approach-art .glyph {
  transform:
    translate(calc(var(--tx) * (1 - var(--k))), calc(var(--ty) * (1 - var(--k))))
    rotate(calc(var(--r, 0deg) * (1 - var(--k))));
}
.anim .approach-art .noise { opacity: calc(.7 * (1 - var(--k))); transform: scale(calc(1 - .8 * var(--k))); }

/* Testimonial: the band itself stays still. The words rise in one after another,
   and the large quotation mark drifts up slowly as the band scrolls into view */
.anim .quote.reveal { opacity: 1; transform: none; }
.anim .quote.reveal > :not(.quote-mark) { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1.2s var(--ease); }
.anim .quote.reveal.in > :not(.quote-mark) { opacity: 1; transform: none; }
.anim .quote.reveal.in > blockquote { transition-delay: .15s; }
.anim .quote.reveal.in > figcaption { transition-delay: .35s; }
.anim .quote-mark { opacity: calc(.25 + .75 * var(--p, 1)); transform: translateY(calc(-38% + (1 - var(--p, 1)) * 90px)); }

/* 17. Responsive
   ========================================================================== */
@media (min-width: 801px) {
  .menu { display: none; }
}

@media (max-width: 900px) {
  .projects { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--page); margin-inline: calc(-1 * var(--page)); padding: 0 var(--page) 8px; scrollbar-width: none; }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 min(78vw, 440px); scroll-snap-align: start; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-top: 72px; }
  .morph { height: auto; min-height: 0; display: flex; flex-direction: column; gap: 20px; padding: 28px 22px 24px; }
  .morph-board { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3.3; }
  .morph-caption { display: none; }
  .morph-pick { position: static; flex-wrap: wrap; gap: 8px; }
  .morph-pick { gap: 6px; }
  .morph-pick button { padding: 9px 11px; }
  .statement, .faq, .contact { grid-template-columns: 1fr; }
  .contact-aside { grid-column: 1; grid-row: auto; margin-top: 56px; max-width: 420px; }
  .faq-more { margin-top: 20px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid .service { --c: 0 !important; }
  .service-grid .service:nth-child(even) { --c: .08 !important; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .approach { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 800px) {
  .nav { height: 72px; }
  .wordmark--header img { height: 22px; }
  .navlinks { display: none; }
  .menu-toggle { display: block; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--paper); transform: none; }
}

@media (max-width: 600px) {
  .hero { padding-bottom: var(--space); }
  .hero-copy { padding-top: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .statement { gap: 20px; }
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-grid .service:nth-child(even) { --c: 0 !important; }
  .process { grid-template-columns: 1fr; row-gap: 40px; }
  .process .step { margin-bottom: 24px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: start; }
  .footer-bottom > span { grid-column: 1; }
  .footer-top-link { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
}

/* 18. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
