:root {
  --ink: #17231d;
  --forest: #26382f;
  --sage: #718075;
  --line: rgba(23, 35, 29, .16);
  --paper: #f4f1e9;
  --paper-2: #ebe7dd;
  --white: #fbfaf6;
  --accent: #b88e70;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 58px);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  padding: 10px 14px; background: var(--ink); color: white;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 13px; letter-spacing: -.02em; font-weight: 650; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid currentColor; border-radius: 50%; font: 15px var(--serif);
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 1px; background: currentColor; transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { padding: 11px 17px !important; border: 1px solid var(--ink); }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-button { display: none; border: 0; background: none; padding: 9px; cursor: pointer; }
.menu-button span {
  display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor;
  transform-origin: center; transition: transform .2s ease, opacity .2s ease;
}
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

main { overflow: clip; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding: clamp(78px, 10vw, 150px) 0; border-bottom: 1px solid var(--line); }
.section-tight { padding: clamp(58px, 7vw, 95px) 0; }
.eyebrow {
  margin: 0 0 24px; color: var(--sage); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1000px; margin-bottom: 36px;
  font-size: clamp(48px, 8.5vw, 126px); font-weight: 560;
  letter-spacing: -.065em; line-height: .94;
}
h2 { max-width: 850px; font-size: clamp(36px, 5.2vw, 72px); font-weight: 540; letter-spacing: -.05em; line-height: 1; }
h3 { font-size: clamp(21px, 2vw, 29px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.lead { max-width: 760px; font-size: clamp(20px, 2vw, 27px); line-height: 1.42; letter-spacing: -.02em; }
.measure { max-width: 690px; }
.muted { color: var(--sage); }

.hero { min-height: calc(100svh - 78px); display: grid; align-items: center; padding: clamp(70px, 9vw, 130px) 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .46fr);
  grid-template-areas: "copy portrait" "side portrait";
  gap: 38px clamp(46px, 6vw, 86px); align-items: start;
}
.hero-copy { grid-area: copy; }
.hero h1 span { display: block; color: var(--sage); }
.hero-side { grid-area: side; max-width: 680px; padding-bottom: 10px; }
.hero-side p { margin-bottom: 28px; }
.hero-portrait {
  grid-area: portrait; position: relative; align-self: stretch;
  min-height: 610px; margin: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-2);
}
.hero-portrait img { width: 100%; height: 100%; min-height: 610px; display: block; object-fit: cover; object-position: 50% 30%; }
.hero-portrait figcaption {
  position: absolute; right: 0; bottom: 0; left: 0;
  padding: 14px 16px; color: var(--paper); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(10,18,14,.78));
}
.meta-line { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 38px; color: var(--sage); font-size: 13px; }
.meta-line span::before { content: "•"; margin-right: 9px; color: var(--accent); }

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 54px; padding: 14px 19px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font-size: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button::after { content: "↗"; font-size: 18px; }
.button:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--ink); color: var(--paper); }

.split { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 130px); align-items: start; }
.split > :first-child { position: sticky; top: 120px; }
.statement { font: clamp(34px, 4.3vw, 62px)/1.07 var(--serif); letter-spacing: -.035em; }
.numbered-list { counter-reset: item; border-top: 1px solid var(--line); }
.numbered-item {
  display: grid; grid-template-columns: 58px 1fr; gap: 20px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.numbered-item::before { counter-increment: item; content: "0" counter(item); color: var(--accent); font-size: 12px; padding-top: 5px; }
.numbered-item h3 { margin-bottom: 8px; }
.numbered-item p { margin: 0; max-width: 650px; color: var(--sage); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { min-height: 330px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.card-index { color: var(--accent); font-size: 12px; margin-bottom: auto; }
.card h3 { margin: 45px 0 14px; }
.card p { margin-bottom: 0; color: var(--sage); }
.card-link::after { content: "Explore →"; margin-top: 25px; font-size: 13px; color: var(--ink); }
.card:hover { background: var(--paper-2); }

.credentials { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.credential { padding: 26px 24px 10px 0; border-right: 1px solid var(--line); }
.credential + .credential { padding-left: 24px; }
.credential strong { display: block; font: 28px var(--serif); margin-bottom: 7px; }
.credential span { color: var(--sage); font-size: 13px; }

.quote-band { background: var(--forest); color: var(--paper); }
.quote-band blockquote { max-width: 970px; margin: 0; font: clamp(38px, 5.4vw, 76px)/1.06 var(--serif); letter-spacing: -.04em; }

.page-hero { padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(50px, 7.5vw, 104px); }
.page-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.page-intro .lead { grid-column: 2; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-top: 1px solid var(--line); }
.topic { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.topic h3 { margin-bottom: 9px; }
.topic p { margin: 0; color: var(--sage); max-width: 530px; }
.service-row { display: grid; grid-template-columns: .65fr 1.35fr auto; gap: 50px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .service-label { color: var(--accent); font-size: 12px; }
.service-row p { max-width: 650px; color: var(--sage); }

.cta-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; padding: clamp(50px, 7vw, 90px); background: var(--paper-2); }
.cta-panel h2 { margin-bottom: 0; }
.cta-panel .button { width: 100%; }

.booking-dialog {
  width: min(980px, calc(100% - 24px)); height: min(780px, calc(100svh - 24px));
  padding: 0; border: 0; background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.booking-dialog::backdrop { background: rgba(17, 26, 21, .68); backdrop-filter: blur(4px); }
.booking-head { height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.booking-head strong { font-size: 14px; }
.booking-close { border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.booking-frame { width: 100%; height: calc(100% - 58px); border: 0; }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.contact-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 13px 2px; background: transparent; border-radius: 0; }
.field textarea { min-height: 120px; resize: vertical; }

.site-footer { padding: 54px var(--gutter) 30px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand { font-size: clamp(28px, 4vw, 54px); letter-spacing: -.045em; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 8px 34px; font-size: 14px; }
.footer-base { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.17); font-size: 12px; color: #b7c0ba; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    position: fixed; inset: 78px 0 0; z-index: 99;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) max(30px, env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    background: var(--paper); font-size: clamp(30px, 7vw, 48px);
    line-height: 1.05; letter-spacing: -.045em;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-links.open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links a {
    display: block; flex: 0 0 auto; padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    display: flex !important; align-items: center; justify-content: space-between;
    margin-top: auto; padding: 17px 18px !important;
    border: 1px solid var(--ink) !important; font-size: 16px; letter-spacing: 0;
  }
  .nav-cta::before { content: "Book a discovery call"; font-size: 16px; }
  .nav-cta { font-size: 0; }
  .nav-links .nav-cta::after { content: "↗"; display: block; position: static; width: auto; height: auto; background: none; font-size: 20px; }
  .menu-button { position: relative; z-index: 101; display: block; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "portrait" "side";
  }
  .split, .page-intro, .contact-grid, .cta-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-portrait { width: min(100%, 620px); min-height: 560px; }
  .hero-portrait img { min-height: 560px; object-position: 50% 26%; }
  .hero-side { max-width: 680px; }
  .split > :first-child { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: 1fr 1fr; }
  .page-intro .lead { grid-column: 1; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { min-height: 68px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 14px; }
  .nav-links { inset: 68px 0 0; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  h2 { font-size: clamp(35px, 10vw, 50px); }
  .hero-grid { gap: 38px; }
  .hero-portrait { width: 100%; min-height: 0; aspect-ratio: 4 / 5; }
  .hero-portrait img { min-height: 0; }
  .section { padding: 74px 0; }
  .cards, .topic-grid, .credentials { grid-template-columns: 1fr; }
  .card { min-height: 260px; }
  .credential { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .numbered-item { grid-template-columns: 40px 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-row .button { grid-column: 1; width: 100%; }
  .cta-panel { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; margin-top: 48px; }
}
