@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --paper: #f4f1ea;
  --paper-deep: #e9e4d9;
  --ink: #171914;
  --muted: #66695f;
  --line: rgba(23, 25, 20, .18);
  --orange: #e85b30;
  --blue: #bad8df;
  --max: 1240px;
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }
.band { background: var(--ink); color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { position: sticky; top: 0; background: rgba(244, 241, 234, .92); backdrop-filter: blur(14px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.brand svg { width: 27px; height: 27px; fill: currentColor; }
.brand .brand-accent { fill: var(--orange); }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 42px); font-size: 14px; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s ease; }
.primary-nav > a:hover::after { right: 0; }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 10px 16px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-button { display: none; background: none; border: 0; padding: 10px 2px; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 1px; background: var(--ink); margin: 6px 0; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7vw; padding-top: 72px; padding-bottom: 96px; overflow: hidden; }
.eyebrow, .section-index, .case-type { font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 32px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: .94; margin: 0; }
h1 { font-size: clamp(66px, 8.4vw, 124px); }
h1 em { color: var(--orange); font-weight: 400; }
.hero-intro { max-width: 610px; color: var(--muted); font-size: clamp(18px, 1.65vw, 23px); line-height: 1.5; margin: 38px 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; border-radius: 999px; padding: 15px 23px; font-size: 14px; font-weight: 500; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: var(--paper); color: var(--ink); }
.text-link { font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.hero-object { position: relative; min-height: 520px; }
.object-card { position: absolute; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(21,22,18,.12); }
.object-card-main { z-index: 2; inset: 35px 0 35px 30px; background: #e6e0d4; padding: 25px; transform: rotate(2.5deg); }
.object-card-main svg { width: 100%; height: calc(100% - 70px); color: var(--orange); fill: var(--ink); }
.object-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.object-meta { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 15px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.object-card-note { z-index: 3; right: -20px; bottom: 0; width: 180px; height: 150px; background: var(--orange); color: white; padding: 26px; font-family: "Instrument Serif", Georgia, serif; font-size: 26px; line-height: 1.05; transform: rotate(-5deg); }
.object-card-note strong { font-weight: 400; font-style: italic; }
.object-dot { position: absolute; z-index: 4; top: 12px; right: 22px; width: 82px; height: 82px; border-radius: 50%; background: var(--blue); border: 1px solid var(--ink); }

.statement { padding-block: clamp(70px, 10vw, 140px); }
.statement-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 5vw; }
.statement .section-index { color: rgba(244,241,234,.55); }
.statement-grid > p:last-child { max-width: 960px; margin: 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(31px, 4.1vw, 58px); line-height: 1.12; letter-spacing: -.03em; }

.section { padding-top: clamp(90px, 13vw, 180px); padding-bottom: clamp(90px, 13vw, 180px); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 5vw; margin-bottom: clamp(60px, 9vw, 120px); }
.section-index { color: var(--muted); margin: 8px 0 0; }
.section-heading h2, .studio h2, .contact h2 { font-size: clamp(54px, 7.5vw, 104px); }
.section-heading.split { display: flex; justify-content: space-between; align-items: end; }
.section-heading.split > div { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 5vw; flex: 1; }
.heading-note { max-width: 260px; color: var(--muted); margin: 0 0 8px 40px; }

.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: .35fr 1.3fr 1fr; gap: 5vw; padding: 38px 0 42px; border-bottom: 1px solid var(--line); }
.service-number { color: var(--orange); font: italic 25px "Instrument Serif", Georgia, serif; margin: 4px 0; }
.service h3 { font-size: clamp(25px, 2.5vw, 36px); letter-spacing: -.035em; margin: 0 0 12px; }
.service p { color: var(--muted); max-width: 530px; margin: 0; }
.service ul { list-style: none; padding: 0; margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.service li { padding: 6px 0; border-bottom: 1px solid var(--line); }

.work-section { background: var(--paper-deep); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { min-height: 610px; display: flex; flex-direction: column; overflow: hidden; }
.case-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr .7fr; min-height: 560px; }
.case-sand { background: #d8cab7; }
.case-blue { background: var(--blue); }
.case-ink { background: #252821; color: var(--paper); }
.case-visual { min-height: 390px; display: grid; place-items: center; position: relative; overflow: hidden; }
.case-copy { padding: 30px 34px 36px; margin-top: auto; }
.case-copy h3 { font-size: clamp(27px, 3vw, 42px); line-height: 1.1; letter-spacing: -.035em; max-width: 620px; margin: 10px 0 24px; }
.case-copy > p:last-child { font-size: 13px; opacity: .67; margin: 0; }
.case-type { margin: 0; opacity: .65; }
.dashboard-visual { background: linear-gradient(145deg, #f7f3ea 0 60%, #bfaa8e 60%); margin: 54px; padding: 54px; display: block; box-shadow: 0 20px 45px rgba(23,25,20,.12); }
.mini-nav { display: flex; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.mini-nav i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.mini-chart { height: 210px; display: flex; align-items: end; gap: 12px; padding: 28px 12px 0; }
.mini-chart span { flex: 1; height: 35%; background: #bbb4a6; }
.mini-chart span:nth-child(2) { height: 58%; }.mini-chart span:nth-child(3) { height: 48%; }.mini-chart span:nth-child(4) { height: 76%; background: var(--orange); }.mini-chart span:nth-child(5) { height: 67%; }.mini-chart span:nth-child(6) { height: 91%; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.mini-row b { height: 4px; background: var(--line); }
.map-visual svg { width: 110%; color: rgba(23,25,20,.65); fill: var(--orange); }
.map-visual path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 7 8; }
.document-visual { min-height: 420px; }
.doc-sheet { position: absolute; z-index: 2; width: 55%; height: 70%; background: var(--paper); color: var(--ink); padding: 50px 38px; transform: rotate(4deg); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.doc-sheet.back { z-index: 1; transform: translate(-42px, 20px) rotate(-7deg); opacity: .38; }
.doc-sheet i { display: block; height: 3px; background: var(--line); margin-bottom: 24px; }
.doc-sheet i:nth-child(2) { width: 74%; }.doc-sheet i:nth-child(3) { width: 90%; }.doc-sheet i:nth-child(4) { width: 56%; }
.doc-sheet strong { position: absolute; right: 28px; bottom: 28px; border: 2px solid var(--orange); color: var(--orange); border-radius: 50%; padding: 16px 10px; font: italic 19px "Instrument Serif", Georgia, serif; transform: rotate(-12deg); }

.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid li { min-height: 280px; padding: 25px 28px 32px 0; border-right: 1px solid var(--line); }
.process-grid li + li { padding-left: 28px; }
.process-grid li:last-child { border-right: 0; }
.process-grid span { font: italic 22px "Instrument Serif", Georgia, serif; color: var(--orange); }
.process-grid h3 { font-size: 28px; letter-spacing: -.03em; margin: 75px 0 12px; }
.process-grid p { color: var(--muted); font-size: 14px; margin: 0; }

.studio { padding-block: clamp(90px, 13vw, 180px); }
.studio-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; }
.studio .section-heading { display: block; margin: 0; }
.studio .section-index { color: rgba(244,241,234,.55); margin-bottom: 40px; }
.studio-copy { padding-top: 50px; }
.studio-copy p { color: rgba(244,241,234,.65); }
.studio-copy .large-copy { color: var(--paper); font: 34px/1.2 "Instrument Serif", Georgia, serif; letter-spacing: -.02em; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.principles span { border: 1px solid rgba(244,241,234,.28); border-radius: 999px; padding: 9px 13px; font-size: 12px; }

.contact { padding-block: clamp(85px, 12vw, 160px); }
.contact-card { background: var(--orange); color: white; padding: clamp(38px, 8vw, 110px); }
.contact-card .section-index { color: rgba(255,255,255,.66); margin: 0 0 65px; }
.contact-card h2 { margin-bottom: 35px; }
.contact-card > p:not(.section-index) { max-width: 550px; font-size: 18px; color: rgba(255,255,255,.78); margin: 0 0 45px; }
.contact-card .button { min-width: min(100%, 315px); }

.site-footer { border-top: 1px solid var(--line); padding: 60px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .7fr auto; gap: 40px; align-items: start; }
.footer-grid p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.copyright { text-align: right; }

.legal-page { min-height: calc(100vh - 170px); padding-top: clamp(70px, 10vw, 130px); padding-bottom: 120px; }
.legal-page h1 { font-size: clamp(58px, 8vw, 100px); margin-bottom: 58px; }
.legal-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; border-top: 1px solid var(--line); padding-top: 30px; }
.legal-copy { max-width: 720px; }
.legal-copy h2 { font: 500 22px "DM Sans", Arial, sans-serif; letter-spacing: -.02em; line-height: 1.2; margin: 42px 0 10px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-object { min-height: 440px; max-width: 600px; width: 100%; }
  .statement-grid, .section-heading { grid-template-columns: 1fr; }
  .statement-grid { gap: 35px; }
  .section-heading { gap: 25px; }
  .section-heading.split { display: block; }
  .section-heading.split > div { display: block; }
  .section-heading.split .section-index { margin-bottom: 25px; }
  .heading-note { margin: 28px 0 0; }
  .service { grid-template-columns: .2fr 1.3fr .8fr; }
  .case-card:first-child { display: flex; }
  .case-card:first-child .case-visual { width: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-copy { max-width: 700px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright { text-align: left; }
}

@media (max-width: 650px) {
  .nav-wrap { height: 70px; }
  .menu-button { display: block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; padding: 22px var(--pad) 30px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 18px; }
  .primary-nav.is-open { display: flex; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .hero { padding-top: 55px; }
  .hero-object { min-height: 365px; }
  .object-card-main { left: 0; padding: 18px; }
  .object-card-note { width: 145px; height: 125px; padding: 19px; font-size: 22px; right: 0; }
  .object-dot { width: 58px; height: 58px; }
  .service { grid-template-columns: 44px 1fr; gap: 15px; }
  .service ul { grid-column: 2; }
  .work-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 520px; }
  .dashboard-visual { margin: 28px; padding: 30px; }
  .case-copy { padding: 25px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li + li { min-height: 0; padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid li:last-child { border-bottom: 0; }
  .process-grid h3 { margin: 35px 0 10px; }
  .footer-grid, .legal-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
}
