:root {
  --ink: #173b35;
  --ink-deep: #0d2925;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --sage: #dce8dc;
  --sage-soft: #edf3e9;
  --amber: #e7a82d;
  --terracotta: #c86441;
  --sand: #eadfcf;
  --muted: #64736e;
  --line: rgba(23, 59, 53, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, Aptos, 'Segoe UI', Arial, sans-serif;
  --shadow: 0 22px 60px rgba(33, 48, 43, .11);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink-deep); background: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 9px 14px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(251, 247, 239, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-shell { display: flex; width: min(1320px, calc(100% - 40px)); min-height: 84px; margin-inline: auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { display: grid; width: 48px; height: 48px; place-items: center; color: var(--paper); background: var(--ink); border-radius: 50% 50% 50% 12px; font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 24px; letter-spacing: .06em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.brand-copy-header strong { font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand-copy-header small { font-size: 9.33px; letter-spacing: .045em; white-space: nowrap; }
.primary-nav { display: flex; margin-left: auto; align-items: center; gap: 22px; }
.primary-nav a { position: relative; padding-block: 28px; color: #39534d; font-size: 13px; font-weight: 700; }
.primary-nav a::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ''; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current='page']::after { transform: scaleX(1); }
.header-cta { padding: 12px 18px; color: #fff; background: var(--ink); border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.eyebrow { display: flex; margin: 0 0 20px; align-items: center; gap: 9px; color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 32px; height: 2px; content: ''; background: currentColor; }
.eyebrow a:hover { text-decoration: underline; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 5.2vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 3.3rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
.lead { color: #3f5751; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.55; }
.section { padding: 110px 0; }
.section-soft { background: var(--sage-soft); }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section-head h2, .section-head p { margin-bottom: 0; }
.section-head > p { color: var(--muted); max-width: 620px; }

.home-hero { position: relative; min-height: 760px; overflow: hidden; background: var(--paper); }
.home-hero::before { position: absolute; inset: 0 0 0 58%; content: ''; background: var(--sage); border-radius: 0 0 0 140px; }
.hero-grid { position: relative; display: grid; min-height: 760px; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.hero-copy { padding-block: 80px; }
.hero-copy h1 { max-width: 780px; margin-bottom: 30px; }
.hero-copy h1 em { color: var(--terracotta); font-style: italic; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 18px; }
.button-row { display: flex; margin-top: 36px; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 50px; padding: 12px 22px; align-items: center; justify-content: center; gap: 14px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--ink-deep); }
.button-secondary { color: var(--ink); background: transparent; }
.button-secondary:hover { color: #fff; }
.button-light { color: var(--ink-deep); background: var(--paper); border-color: var(--paper); }
.button-light:hover { background: #fff; }
.hero-visual { position: relative; min-height: 540px; }
.hero-card-main { position: absolute; z-index: 2; top: 44px; right: 34px; width: 80%; min-height: 380px; padding: 44px; background: var(--ink); border-radius: 140px 18px 18px 18px; box-shadow: var(--shadow); color: #fff; }
.hero-card-main span { display: block; color: #b8cdbc; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-card-main strong { display: block; max-width: 285px; margin-top: 76px; font-family: var(--serif); font-size: clamp(1.85rem, 2.35vw, 2.65rem); font-weight: 500; line-height: 1.08; }
.hero-card-accent { position: absolute; z-index: 3; right: 0; bottom: 10px; width: 190px; min-height: 190px; padding: 27px; background: var(--amber); border-radius: 18px 18px 92px 18px; box-shadow: var(--shadow); }
.hero-card-accent strong { display: block; font-family: var(--serif); font-size: 62px; font-weight: 500; line-height: 1; }
.hero-card-accent span { display: block; margin-top: 18px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.hero-ring { position: absolute; z-index: 1; right: 30px; bottom: 15px; width: 360px; height: 360px; border: 46px solid rgba(255,255,255,.48); border-radius: 50%; }

.intro-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 100px; align-items: start; }
.intro-aside { position: sticky; top: 120px; }
.intro-aside h2 { margin-bottom: 26px; }
.intro-copy > p { color: var(--muted); font-size: 17px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.pillar { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.pillar strong { display: block; margin-bottom: 7px; font-family: var(--serif); font-size: 21px; }
.pillar span { color: var(--muted); font-size: 14px; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 340px; padding: 38px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-number { color: var(--terracotta); font-family: var(--serif); font-size: 20px; }
.service-card h3 { max-width: 410px; margin: 40px 0 16px; font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
.service-card p { max-width: 470px; margin: 0; padding: 0 58px 36px 0; color: var(--muted); }
.service-card .arrow { position: absolute; right: 28px; bottom: 24px; display: grid; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; }
.service-card:nth-child(2) { background: var(--sage); }
.service-card:nth-child(3) { background: var(--sand); }
.service-card:nth-child(4) { background: #f4d8c9; }

.approach-strip { color: #fff; background: var(--ink); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.approach-grid h2 { margin-bottom: 0; }
.approach-list { display: grid; gap: 0; }
.approach-item { display: grid; padding: 22px 0; grid-template-columns: 50px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.approach-item:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.approach-item span { color: var(--amber); font-family: var(--serif); }
.approach-item strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.approach-item p { margin: 5px 0 0; color: #bfd0ca; font-size: 14px; }

.industry-row { display: grid; padding: 23px 0; grid-template-columns: 60px .8fr 1.2fr 30px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.industry-row:first-child { border-top: 1px solid var(--line); }
.industry-row .index { color: var(--terracotta); font-family: var(--serif); }
.industry-row h3 { margin: 0; font-size: 23px; }
.industry-row p { margin: 0; color: var(--muted); font-size: 14px; }
.industry-row .arrow { color: var(--terracotta); font-size: 22px; }

.page-hero { position: relative; min-height: 440px; overflow: hidden; background: var(--sage); }
.page-hero-inner { position: relative; z-index: 2; padding: 100px 0 80px; }
.page-hero h1 { max-width: 930px; margin-bottom: 25px; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.page-hero-inner > p:last-child { max-width: 700px; margin: 0; color: #49635c; font-size: 18px; }
.page-hero-orbit { position: absolute; right: -70px; bottom: -240px; width: 600px; height: 600px; border: 76px solid rgba(255,255,255,.45); border-radius: 50%; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 90px; }
.prose h2 { margin: 52px 0 20px; font-size: clamp(1.8rem, 3vw, 3rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #455b55; }
.prose ul { padding-left: 21px; }
.prose li { margin-bottom: 10px; color: #455b55; }
.side-note { align-self: start; padding: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.side-note h3 { margin-bottom: 14px; }
.side-note p { color: var(--muted); font-size: 14px; }
.side-note a:not(.button) { display: block; margin-top: 12px; color: var(--terracotta); font-weight: 800; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.value-card { padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.value-card span { color: var(--terracotta); font-family: var(--serif); }
.value-card h3 { margin: 50px 0 10px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

.service-detail { display: grid; grid-template-columns: 90px .75fr 1.25fr; gap: 38px; padding: 50px 0; border-bottom: 1px solid var(--line); }
.service-detail:first-child { border-top: 1px solid var(--line); }
.service-detail .service-card-number { padding-top: 5px; }
.service-detail h2 { margin: 0; font-size: clamp(1.7rem, 2.5vw, 2.5rem); }
.service-detail ul { margin: 0; padding-left: 20px; color: var(--muted); }
.service-detail li { margin-bottom: 12px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person-card { min-height: 260px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.person-initials { display: grid; width: 62px; height: 62px; place-items: center; color: var(--ink); background: var(--sage); border-radius: 50% 50% 50% 14px; font-family: var(--serif); font-size: 20px; }
.person-card h2 { margin: 46px 0 8px; font-size: 23px; letter-spacing: -.02em; }
.person-card p { margin: 0; color: var(--terracotta); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.person-card small { display: block; margin-top: 8px; color: var(--muted); }

.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.office-card { min-height: 285px; padding: 38px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.office-card.featured { color: #fff; background: var(--ink); }
.office-card .city-tag { color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.office-card.featured .city-tag { color: var(--amber); }
.office-card h2 { margin: 30px 0 16px; font-size: 36px; }
.office-card p { margin: 0 0 10px; color: var(--muted); }
.office-card.featured p { color: #c5d4cf; }
.office-card strong { display: block; margin-top: 24px; font-size: 13px; }

.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.client-card { display: flex; min-height: 150px; padding: 26px; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.client-card span { color: var(--terracotta); font-family: var(--serif); font-size: 17px; }
.client-card strong { margin-left: auto; max-width: 78%; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; text-align: right; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.contact-details { display: grid; gap: 28px; }
.contact-detail { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-detail small { display: block; color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-detail p, .contact-detail a { display: block; margin: 7px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; color: var(--ink-deep); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; outline: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(200,100,65,.12); }
.field [aria-invalid='true'] { border-color: #a83232; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.form-alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-alert.success { color: #175b3f; background: #e3f3e8; }
.form-alert.error { color: #8a2e2e; background: #fde8e4; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.legal { max-width: 850px; }
.legal h2 { margin: 48px 0 15px; font-size: 30px; }
.legal p, .legal li { color: #455b55; }

.pre-footer { padding: 82px 0; color: #fff; background: var(--terracotta); }
.pre-footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.pre-footer .eyebrow { color: #ffe1d5; }
.pre-footer h2 { max-width: 750px; margin: 0; }
.site-footer { color: #e5eee9; background: var(--ink-deep); }
.footer-grid { display: grid; padding: 75px 0 60px; grid-template-columns: 1.15fr .65fr 1fr; gap: 80px; }
.brand-footer .brand-mark { color: var(--ink); background: var(--amber); }
.brand-footer .brand-copy small { color: #aec1ba; }
.footer-brand p { max-width: 420px; color: #aec1ba; }
.site-footer h3 { margin-bottom: 20px; color: var(--amber); font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.site-footer address { max-width: 350px; margin-bottom: 14px; color: #aec1ba; font-style: normal; }
.site-footer > .footer-grid > div:last-child > a { display: block; margin-top: 7px; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa69e; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 24px; }

@media (max-width: 1180px) {
  .nav-shell { min-height: 72px; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { position: fixed; inset: 72px 0 auto; display: grid; max-height: 0; overflow: hidden; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transition: max-height .3s ease, opacity .2s ease; }
  .primary-nav.is-open { max-height: calc(100vh - 72px); padding: 14px 24px 24px; overflow: auto; opacity: 1; visibility: visible; }
  .primary-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .primary-nav a::after { display: none; }
  .header-cta { display: none; }
}

@media (max-width: 1100px) {
  .brand-copy-header strong { font-size: 16px; }
  .brand-copy-header small { font-size: 8.33px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 12px; }
  .hero-grid { gap: 36px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-shell { min-height: 72px; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { position: fixed; inset: 72px 0 auto; display: grid; max-height: 0; overflow: hidden; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transition: max-height .3s ease, opacity .2s ease; }
  .primary-nav.is-open { max-height: calc(100vh - 72px); padding: 14px 24px 24px; overflow: auto; opacity: 1; visibility: visible; }
  .primary-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .primary-nav a::after { display: none; }
  .home-hero::before { inset: 52% 0 0 0; border-radius: 90px 0 0; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 0 20px; }
  .hero-visual { min-height: 500px; }
  .hero-card-main { left: 5%; width: 75%; }
  .section-head, .intro-grid, .approach-grid, .content-layout, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-aside { position: static; }
  .team-grid, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 60px 1fr; }
  .service-detail ul { grid-column: 2; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 30px, 1180px); }
  .nav-shell { width: calc(100% - 24px); gap: 10px; }
  .nav-shell > .brand { min-width: 0; flex: 1 1 auto; }
  .brand-mark { width: 43px; height: 43px; flex: 0 0 43px; }
  .brand-copy-header { min-width: 0; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy-header strong { font-size: 11px; line-height: 1.15; white-space: normal; }
  .brand-copy-header small { max-width: 260px; font-size: clamp(7.33px, 2vw, 9.33px); line-height: 1.35; white-space: normal; }
  .nav-toggle { flex: 0 0 44px; }
  .home-hero, .hero-grid { min-height: auto; }
  .home-hero::before { inset: 58% 0 0 0; }
  .hero-copy { padding-top: 64px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 10.5vw, 3.8rem); }
  .hero-visual { min-height: 430px; }
  .hero-card-main { top: 25px; left: 0; width: 88%; min-height: 330px; padding: 32px; border-radius: 100px 16px 16px; }
  .hero-card-main strong { margin-top: 80px; }
  .hero-card-accent { width: 165px; min-height: 165px; padding: 24px; }
  .hero-card-accent strong { font-size: 44px; }
  .hero-ring { width: 270px; height: 270px; border-width: 34px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 38px; }
  .pillars, .service-grid, .value-grid, .team-grid, .office-grid, .client-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; padding: 28px; }
  .industry-row { grid-template-columns: 38px 1fr 24px; gap: 14px; }
  .industry-row p { display: none; }
  .page-hero { min-height: 390px; }
  .page-hero-inner { padding: 75px 0; }
  .page-hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.8rem); }
  .service-detail { grid-template-columns: 42px 1fr; gap: 18px; padding: 38px 0; }
  .contact-form { grid-template-columns: 1fr; padding: 26px; }
  .field.full { grid-column: auto; }
  .pre-footer-grid { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; padding: 60px 0 45px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
