:root {
  color-scheme: light;
  --ink: #06070a;
  --muted: #666c7a;
  --quiet: #858e97;
  --faint: #b2b8c2;
  --line: #d6d9df;
  --soft-line: #e6e8ec;
  --paper: #f7f7f4;
  --panel: #f3f4f6;
  --media: #e7e9ed;
  --white: #ffffff;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Moderat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.prototype-note {
  padding: 9px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nav-shell, .section-shell, .footer-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 82px;
  gap: 44px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a { padding: 12px 2px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--ink); color: var(--white); }
.button:hover, .button:focus-visible { outline: 3px solid var(--line); outline-offset: 2px; }
.menu-button { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--ink); background: transparent; }
.mobile-menu { display: none; }
main { overflow: clip; }

.eyebrow, .meta, .section-number {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.page-hero {
  min-height: min(680px, calc(76vh - 116px));
  display: grid;
  align-items: end;
  padding: clamp(80px, 10vw, 150px) 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(280px,.7fr);
  align-items: end;
  gap: clamp(48px,8vw,132px);
}
.page-hero h1 {
  max-width: 1080px;
  margin-bottom: 0;
  font-size: clamp(58px,8vw,120px);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.1;
}
.hero-copy { max-width: 470px; margin-bottom: 0; font-size: clamp(19px,1.55vw,25px); letter-spacing: -.01em; line-height: 1.4; }
.hero-copy + .hero-actions { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-section { padding: clamp(88px,10vw,152px) 0; border-bottom: 1px solid var(--line); }
.section-header {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-header h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(42px,5vw,78px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.text-link { text-underline-offset: 4px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.filter-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.filter-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 76px 24px; }
.project-card[hidden] { display: none; }
.project-card.featured { grid-column: 1 / -1; }
.project-link { display: block; color: inherit; text-decoration: none; }
.project-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.project-media {
  min-height: 430px;
  aspect-ratio: 1 / 1;
  background: #e8e8e5;
}
.project-card.featured .project-media { min-height: min(64vw,720px); aspect-ratio: 16 / 9; }
.project-media img, .project-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding-top: 18px; }
.project-card:not(.featured) .project-body { grid-template-columns: 1fr; gap: 12px; }
.project-title { margin-bottom: 6px; font-size: clamp(27px,2.8vw,42px); font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.project-summary { max-width: 650px; margin-bottom: 0; color: var(--ink); font-size: 18px; line-height: 1.4; }
.case-state { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 13px; }

.archive { margin-top: 110px; padding-top: 32px; border-top: 1px solid var(--line); }
.archive-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.archive-groups { display: grid; gap: 40px; }
.archive-group .meta { margin-bottom: 14px; }
.name-list { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; font-size: clamp(24px,3vw,46px); line-height: 1.25; }
.name-list li:not(:last-child)::after { content: " / "; color: var(--muted); white-space: pre; }

.service-list { border-top: 1px solid var(--line); }
.service-block { display: grid; grid-template-columns: 80px minmax(260px,.85fr) minmax(320px,1.2fr); gap: 32px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.service-block h2, .service-block h3 { margin-bottom: 0; font-size: clamp(31px,3.3vw,50px); font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.service-description { max-width: 680px; margin-bottom: 24px; color: var(--muted); font-size: 19px; letter-spacing: -.02em; line-height: 1.45; }
.deliverables { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.deliverables li { padding: 8px 11px; border: 1px solid var(--line); font-size: 14px; }
.engagement-grid, .principles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); }
.engagement-card, .principle-card { min-height: 300px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engagement-card:last-child, .principle-card:last-child { border-right: 0; }
.engagement-card h3, .principle-card h3 { margin: 48px 0 16px; font-size: clamp(27px,2.7vw,40px); font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.engagement-card p, .principle-card p { max-width: 380px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }

.manifesto-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 40px; }
.manifesto-grid blockquote { max-width: 1040px; margin: 0; font-size: clamp(38px,5.2vw,80px); letter-spacing: -.015em; line-height: 1.1; }
.team-list { border-top: 1px solid var(--line); }
.team-row { display: grid; grid-template-columns: 80px minmax(220px,.75fr) minmax(300px,1fr) auto; gap: 32px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); }
.team-row h3 { margin-bottom: 6px; font-size: clamp(27px,2.8vw,42px); font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.team-row p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.45; }

.contact-layout { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: clamp(70px,10vw,150px); }
.contact-aside h2 { margin-bottom: 18px; font-size: clamp(31px,3.3vw,48px); font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.contact-aside p { max-width: 360px; }
.contact-detail { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-detail a { font-size: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, fieldset legend { font-size: 13px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 180px; resize: vertical; }
fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: block; min-height: 44px; padding: 11px 14px; border: 1px solid var(--line); cursor: pointer; }
.choice input:checked + label, .choice input:focus-visible + label { border-color: var(--ink); background: var(--ink); color: var(--white); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }
.form-note.form-error { color: #a42222; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.enquiry-review { display: none; margin-top: 32px; padding: 28px; border: 1px solid var(--ink); background: var(--white); }
.enquiry-review.visible { display: block; }
.enquiry-review h2 { font-size: 30px; font-weight: 500; }
.review-copy { white-space: pre-wrap; }

.case-hero { padding: clamp(90px,11vw,160px) 0 52px; border-bottom: 1px solid var(--line); }
.case-hero h1 { max-width: 1050px; margin: 26px 0 34px; font-size: clamp(60px,9vw,132px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.case-lede { max-width: 900px; margin-bottom: 0; font-size: clamp(25px,3.2vw,48px); letter-spacing: -.01em; line-height: 1.4; }
.case-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tag { padding: 7px 10px; border: 1px solid var(--line); font-size: 13px; }
.case-media { min-height: min(70vw,850px); display: grid; place-items: center; padding: 30px; background: var(--ink); color: var(--white); text-align: center; }
.case-media--image { padding: 0; overflow: hidden; }
.case-media--image img { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; }
.case-media--crop img { object-position: 50% 32%; transform: scale(1.12); }
.case-media--mobile img { object-position: 70% 50%; transform: scale(1.18); }
.case-story { padding: clamp(90px,11vw,165px) 0; border-bottom: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 40px; }
.story-copy { max-width: 980px; }
.story-copy h2 { margin-bottom: 28px; font-size: clamp(42px,5.5vw,82px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.story-copy p { max-width: 740px; color: var(--muted); font-size: clamp(19px,1.7vw,24px); }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 64px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric { min-height: 190px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric strong { display: block; margin-bottom: 32px; font-size: clamp(38px,4.5vw,68px); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.next-case { display: block; padding: clamp(80px,10vw,150px) 0; background: var(--panel); text-decoration: none; }
.next-case h2 { max-width: 1000px; margin: 12px 0 0; font-size: clamp(48px,6.5vw,98px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }

.contact-cta { padding: clamp(96px,12vw,180px) 0; background: var(--ink); color: var(--white); }
.contact-cta h2 { max-width: 1150px; margin-bottom: 28px; font-size: clamp(58px,8vw,124px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.contact-cta p { max-width: 760px; margin-bottom: 38px; font-size: clamp(20px,2vw,30px); letter-spacing: -.01em; line-height: 1.4; }
.contact-cta .button { border-color: var(--white); color: var(--white); }
.contact-cta .button.primary { background: var(--white); color: var(--ink); }

.site-footer { padding: 72px 0 30px; background: var(--ink); color: var(--white); border-top: 1px solid #505050; }
.footer-top { display: grid; grid-template-columns: minmax(0,1.35fr) repeat(3,minmax(140px,.4fr)); gap: 48px; padding-bottom: 80px; }
.footer-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.footer-lockup img { width: clamp(52px,5vw,72px); height: clamp(52px,5vw,72px); object-fit: contain; }
.footer-brand strong { display: block; font-size: clamp(36px,4vw,64px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.footer-brand p { max-width: 500px; color: var(--faint); }
.footer-nav h3 { margin-bottom: 16px; color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
.footer-nav ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #505050; color: var(--faint); font-size: 13px; }

h1, h2, h3,
.project-title,
.manifesto-grid blockquote,
.showreel-frame strong,
.footer-brand strong {
  font-family: "TWK Lausanne", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

.button {
  font-family: "TWK Lausanne", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

@media (max-width: 900px) {
  .nav-shell, .section-shell, .footer-shell { width: min(calc(100% - 32px),var(--max)); }
  .prototype-note { padding-inline: 16px; }
  .nav-shell { grid-template-columns: 1fr auto; min-height: 68px; gap: 16px; }
  .desktop-nav, .desktop-cta { display: none; }
  .brand img { width: 38px; height: 38px; }
  .menu-button { display: inline-grid; place-items: center; }
  .mobile-menu { position: fixed; inset: 103px 0 0; z-index: 35; padding: 32px 16px; background: var(--paper); }
  .mobile-menu.open { display: block; }
  .mobile-menu nav { display: grid; width: min(100%,680px); margin: 0 auto; }
  .mobile-menu nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 32px; text-decoration: none; }
  .mobile-menu .button { width: fit-content; margin-top: 32px; }
  .hero-grid, .section-header, .archive-layout, .manifesto-grid, .story-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .section-header, .archive-layout, .manifesto-grid, .story-grid { gap: 18px; }
  .work-grid { grid-template-columns: 1fr; gap: 60px; }
  .project-card.featured { grid-column: auto; }
  .project-media, .project-card.featured .project-media { width: 100%; min-height: min(92vw,560px); aspect-ratio: 4 / 3; }
  .project-body { grid-template-columns: 1fr; gap: 12px; }
  .service-block { grid-template-columns: 48px 1fr; gap: 16px; }
  .service-block > div:last-child { grid-column: 2; }
  .team-row { grid-template-columns: 48px 1fr; gap: 16px; }
  .team-row > p, .team-row > a { grid-column: 2; }
  .contact-layout { gap: 64px; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .page-hero { min-height: calc(100svh - 103px); }
  .page-hero h1 { font-size: clamp(52px,15vw,78px); }
  .section-header h2 { line-height: 1.15; }
  .hero-actions { display: flex; }
  .hero-actions .button { width: fit-content; }
  .engagement-grid, .principles-grid, .metric-grid { grid-template-columns: 1fr; }
  .engagement-card, .principle-card { min-height: 230px; border-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, fieldset, .form-actions { grid-column: 1; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .name-list { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
