:root {
  --paper: #f6f0e7;
  --paper-2: #eee4d7;
  --white: #fffdf9;
  --ink: #1f2823;
  --muted: #6d6962;
  --accent: #9f5638;
  --accent-dark: #753c28;
  --sage: #647366;
  --line: rgba(31,40,35,.15);
  --shadow: 0 24px 70px rgba(54,42,34,.12);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-sm { padding: 70px 0; }
.section-muted { background: var(--paper-2); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
}
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(58px, 8vw, 108px); line-height: .94; letter-spacing: -.045em; }
h2 { font-size: clamp(42px, 5.4vw, 72px); line-height: .98; letter-spacing: -.035em; }
h3 { font-size: 34px; line-height: 1.03; }
.lede { font-size: clamp(18px, 2vw, 23px); color: #4e4a45; max-width: 760px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 14px; top: 14px; background: #fff; padding: 10px 14px; z-index: 1000; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,240,231,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: var(--serif); font-size: 15px;
}
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: 14px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: #403c37; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta { border: 1px solid var(--ink); padding: 8px 14px; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { padding: 112px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-size: 12px; color: #56504b; }
.portrait-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.portrait-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 38%; }
.portrait-note {
  position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(31,40,35,.88); color: #fffdf9;
  padding: 16px 18px; border-radius: 16px; backdrop-filter: blur(8px);
}
.portrait-note strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.portrait-note span { font-size: 12px; color: rgba(255,255,255,.72); }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 26px 22px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.proof-grid span { color: var(--muted); font-size: 13px; }

.section-head { display: grid; grid-template-columns: 1fr .62fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head h2 span { color: var(--accent); }
.section-head > p { margin: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px;
  min-height: 380px; display: flex; flex-direction: column; transition: .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.featured { background: #e5d5c5; }
.card-number { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .15em; margin-bottom: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.card h3 { margin-bottom: 14px; font-size: 39px; }
.card p { color: #59534d; }
.text-link { margin-top: auto; width: max-content; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--accent); }

.feature-row { display: grid; grid-template-columns: .65fr 1.35fr; gap: 64px; align-items: start; }
.feature-sticky { position: sticky; top: 120px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-item .index { color: var(--accent); font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.feature-item h3 { margin-bottom: 8px; }
.feature-item p { margin: 0; color: var(--muted); }

.page-hero { padding: 94px 0 68px; border-bottom: 1px solid var(--line); }
.page-hero .shell { max-width: 1180px; }
.page-hero h1 { max-width: 980px; margin-bottom: 26px; }
.page-hero .lede { margin-bottom: 0; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

.work-list { display: grid; gap: 18px; }
.work-row {
  display: grid; grid-template-columns: 1fr .9fr; gap: 40px; padding: 32px; background: var(--white);
  border: 1px solid var(--line); border-radius: 24px;
}
.work-row h3 { font-size: 38px; margin-bottom: 12px; }
.work-meta { display: grid; gap: 14px; align-content: start; }
.work-meta > div { border-top: 1px solid var(--line); padding-top: 12px; }
.work-meta strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.work-meta span { font-size: 13px; }

.strategy-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.strategy-card { padding: 30px; min-height: 300px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strategy-card .index { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.strategy-card h3 { margin: 52px 0 14px; }
.strategy-card p { color: var(--muted); margin-bottom: 0; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 74px; align-items: start; }
.about-photo { border-radius: 26px; overflow: hidden; position: sticky; top: 116px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 38%; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy p { font-size: 17px; color: #514c46; }
.about-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.about-notes span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-size: 12px; }
.timeline { margin-top: 54px; border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 44px 34px; }
.timeline-item::before { content:""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); left: -5px; top: 7px; }
.timeline-date { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--accent); font-weight: 700; }
.timeline-item h3 { margin: 8px 0 4px; font-size: 31px; }
.timeline-item .company { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.timeline-item p:last-child { color: var(--muted); }

.case-hero { padding: 86px 0 64px; border-bottom: 1px solid var(--line); }
.case-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: end; }
.case-hero h1 { font-size: clamp(52px, 7.4vw, 92px); margin-bottom: 22px; }
.case-facts { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); }
.case-facts div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.case-facts div:last-child { border-bottom: 0; }
.case-facts dt { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.case-facts dd { margin: 4px 0 0; font-size: 14px; }
.case-content { max-width: 840px; }
.case-section { padding: 42px 0; border-bottom: 1px solid var(--line); }
.case-section:last-child { border-bottom: 0; }
.case-section h2 { font-size: 46px; margin-bottom: 20px; }
.case-section p { font-size: 17px; color: #514c46; }
.case-bullets { display: grid; gap: 10px; padding: 0; list-style: none; }
.case-bullets li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; }
.case-bullets li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); }
.next-case { background: var(--ink); color: var(--paper); padding: 52px 0; }
.next-case a { text-decoration: none; }
.next-case strong { display: block; color: #d8aa98; text-transform: uppercase; font-size: 11px; letter-spacing: .14em; margin-bottom: 10px; }
.next-case span { font-family: var(--serif); font-size: clamp(34px,5vw,58px); }

.contact-band { background: var(--ink); color: var(--paper); text-align: center; }
.contact-band .shell { max-width: 900px; }
.contact-band h2 { margin-bottom: 22px; }
.contact-band p { color: rgba(246,240,231,.74); }
.contact-band .button-primary { background: var(--paper); color: var(--ink); }
.contact-band .button-ghost { border-color: rgba(255,255,255,.25); color: var(--paper); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

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

@media (max-width: 940px) {
  .hero-grid, .section-head, .feature-row, .about-grid, .case-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .strategy-grid { grid-template-columns: repeat(2,1fr); }
  .feature-sticky, .about-photo { position: static; }
  .about-photo { max-width: 620px; }
  .work-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px,1180px); }
  .section { padding: 76px 0; }
  .hero { padding: 82px 0 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 14px; right: 14px; top: 69px; flex-direction: column; align-items: stretch;
    padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); gap: 3px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 8px; }
  .nav-cta { text-align: center; }
  .brand-copy small { display: none; }
  h1 { font-size: clamp(50px, 16vw, 76px); }
  .proof-grid, .card-grid, .strategy-grid { grid-template-columns: 1fr; }
  .proof-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .proof-grid > div:last-child { border-bottom: 0; }
  .card { min-height: auto; }
  .strategy-card { min-height: 240px; }
  .case-section h2 { font-size: 39px; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 22px 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
