:root {
    --paper: #f5f2eb;
    --soft: #e9e5dc;
    --ink: #242421;
    --muted: #696762;
    --accent: #755047;
    --accent-dark: #5d3d36;
    --accent-light: #dac6bd;
    --line-color: #242421;
    --line-opacity: 18%;
    --line: color-mix(in srgb, var(--line-color) var(--line-opacity), transparent);
    --white: #fffdf8;
    --portrait-background: #e5dfd4;
    --font-body: "DM Sans", Arial, sans-serif;
    --font-heading: "Source Serif 4", Georgia, serif;
    --font-ui: "Libre Franklin", Arial, sans-serif;
    --body-size: 17px;
    --body-mobile-size: 16px;
    --body-line-height: 1.65;
    --body-weight: 400;
    --h1-size: 75px; --h1-mobile-size: 42px; --h1-line-height: 1.08; --h1-weight: 400; --h1-letter-spacing: -.035em;
    --h2-size: 62px; --h2-mobile-size: 37px; --h2-line-height: 1.08; --h2-weight: 400; --h2-letter-spacing: -.035em;
    --h3-size: 21px; --h3-mobile-size: 21px; --h3-line-height: 1.25; --h3-weight: 600; --h3-letter-spacing: 0;
    --h4-size: 19px; --h4-mobile-size: 18px; --h4-line-height: 1.3; --h4-weight: 600; --h4-letter-spacing: 0;
    --h5-size: 17px; --h5-mobile-size: 16px; --h5-line-height: 1.35; --h5-weight: 600; --h5-letter-spacing: 0;
    --h6-size: 15px; --h6-mobile-size: 14px; --h6-line-height: 1.4; --h6-weight: 600; --h6-letter-spacing: .02em;
    --lead-size: 20px; --lead-mobile-size: 17px;
    --eyebrow-size: 13px; --eyebrow-weight: 600; --eyebrow-letter-spacing: .13em;
    --button-font-size: 13px; --button-font-weight: 600; --button-letter-spacing: .07em;
    --nav-font-size: 15px; --brand-font-size: 15px; --brand-letter-spacing: .08em;
    --statement-size: 20px; --about-size: 19px; --card-heading-size: 26px;
    --prose-size: 19px; --prose-h2-size: 36px; --footer-size: 14px;
    --shell-max: 1180px; --narrow-max: 880px; --gutter: 64px; --mobile-gutter: 36px;
    --section-min: 90px; --section-max: 160px; --hero-gap: 110px; --header-height: 74px;
    --button-height: 52px; --button-radius: 0; --nav-radius: 4px;
    --portrait-desktop-height: 680px; --portrait-tablet-height: 560px; --portrait-mobile-height: 460px;
    --portrait-position-x: 50%; --portrait-position-y: 20%; --portrait-sepia: 8%; --portrait-contrast: 97%;
    --shell: min(var(--shell-max), calc(100vw - var(--gutter)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--body-size); font-weight: var(--body-weight); line-height: var(--body-line-height); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: var(--narrow-max); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header { min-height: var(--header-height); padding: 0 calc(var(--gutter) / 2); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.header-static .site-header { position: relative; }
.brand { font-family: var(--font-ui); font-size: var(--brand-font-size); font-weight: 600; line-height: 1; letter-spacing: var(--brand-letter-spacing); text-transform: uppercase; }
.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a { padding: 10px 14px; font-size: var(--nav-font-size); border-radius: var(--nav-radius); }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(36,36,33,.06); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 8px 12px; font: inherit; }

.hero { min-height: clamp(720px, calc(100vh - var(--header-height)), 920px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr); gap: clamp(48px, 7vw, var(--hero-gap)); align-items: center; padding-block: clamp(72px, 9vw, 130px); }
.eyebrow { margin: 0 0 28px; color: var(--accent); font-family: var(--font-ui); font-size: var(--eyebrow-size); font-weight: var(--eyebrow-weight); line-height: 1.4; letter-spacing: var(--eyebrow-letter-spacing); text-transform: uppercase; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); margin: 0; }
h1 { font-size: clamp(var(--h1-mobile-size), 5.3vw, var(--h1-size)); font-weight: var(--h1-weight); line-height: var(--h1-line-height); letter-spacing: var(--h1-letter-spacing); }
h2 { font-size: clamp(var(--h2-mobile-size), 4.4vw, var(--h2-size)); font-weight: var(--h2-weight); line-height: var(--h2-line-height); letter-spacing: var(--h2-letter-spacing); }
h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: var(--h3-line-height); letter-spacing: var(--h3-letter-spacing); }
h4 { font-size: var(--h4-size); font-weight: var(--h4-weight); line-height: var(--h4-line-height); letter-spacing: var(--h4-letter-spacing); }
h5 { font-size: var(--h5-size); font-weight: var(--h5-weight); line-height: var(--h5-line-height); letter-spacing: var(--h5-letter-spacing); }
h6 { font-size: var(--h6-size); font-weight: var(--h6-weight); line-height: var(--h6-line-height); letter-spacing: var(--h6-letter-spacing); }
.lead, .section-intro { color: var(--muted); max-width: 760px; font-size: clamp(var(--lead-mobile-size), 1.5vw, var(--lead-size)); }
.hero .lead { margin: 34px 0; max-width: 760px; }
.actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; min-height: var(--button-height); align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--accent); border-radius: var(--button-radius); font-family: var(--font-ui); font-size: var(--button-font-size); font-weight: var(--button-font-weight); line-height: 1; letter-spacing: var(--button-letter-spacing); text-transform: uppercase; transition: .2s ease; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary:hover { background: rgba(117,80,71,.08); }
.topics { margin: 76px 0 0; color: var(--muted); font-size: 14px; }
.portrait-wrap { margin: 0; align-self: center; width: 100%; height: clamp(540px, 62vh, var(--portrait-desktop-height)); background: var(--portrait-background); overflow: hidden; }
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: var(--portrait-position-x) var(--portrait-position-y); image-rendering: auto; filter: sepia(var(--portrait-sepia)) contrast(var(--portrait-contrast)); }

.statement, .areas, .approach, .about-teaser, .contact-cta, .content-page { padding-block: clamp(var(--section-min), 11vw, var(--section-max)); }
.section-contrast { background: var(--soft); }
.statement p:last-child { color: var(--muted); font-size: var(--statement-size); max-width: 770px; margin-top: 36px; }
.areas .section-intro, .approach .section-intro { margin: 30px 0 65px; }
.area-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.area-list li { display: grid; grid-template-columns: 80px minmax(220px, .8fr) minmax(300px, 1.4fr); gap: 42px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.area-list span, .approach-grid span { color: var(--accent); font-family: var(--font-ui); font-size: var(--eyebrow-size); font-weight: 600; line-height: 1.3; letter-spacing: .08em; }
.area-list p { color: var(--muted); margin: 0; }
.section-soft { background: var(--white); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.approach-grid article { padding: 36px; border-right: 1px solid var(--line); }
.approach-grid article:first-child { padding-left: 0; }
.approach-grid article:last-child { border-right: 0; padding-right: 0; }
.approach-grid h3 { margin: 42px 0 14px; font-size: var(--card-heading-size); }
.approach-grid p { margin: 0; color: var(--muted); }
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-teaser p { color: var(--muted); font-size: var(--about-size); }
.text-link { display: inline-block; margin-top: 24px; padding-bottom: 4px; color: var(--accent); border-bottom: 1px solid var(--accent); font-weight: 600; }
.section-accent { background: var(--accent-dark); color: var(--white); }
.section-accent .eyebrow { color: var(--accent-light); }
.contact-cta h2 { max-width: 930px; }
.button-light { margin-top: 46px; color: white; border-color: rgba(255,255,255,.7); }
.button-light:hover { color: var(--accent-dark); background: white; }

.content-page { min-height: 70vh; }
.content-page h1 { margin-bottom: 52px; }
.prose { max-width: 780px; font-size: var(--prose-size); color: var(--muted); }
.prose h2 { color: var(--ink); font-size: var(--prose-h2-size); margin: 52px 0 18px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding: 48px 32px; display: flex; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); }
.site-footer strong, .site-footer span { display: block; }
.site-footer span { color: var(--muted); margin-top: 5px; font-size: var(--footer-size); }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-size: var(--footer-size); }

@media (max-width: 900px) {
    :root { --shell: min(100% - var(--mobile-gutter), 720px); }
    .site-header { padding-inline: 18px; }
    .menu-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: var(--header-height); inset-inline: 0; padding: 16px 18px 22px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
    .site-nav.is-open { display: flex; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero { min-height: auto; }
    .portrait-wrap { height: var(--portrait-tablet-height); max-width: 430px; width: 100%; }
    .topics { margin-top: 48px; }
    .area-list li { grid-template-columns: 50px 1fr; gap: 16px 22px; }
    .area-list li p { grid-column: 2; }
    .approach-grid { grid-template-columns: 1fr; }
    .approach-grid article, .approach-grid article:first-child, .approach-grid article:last-child { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .approach-grid article:last-child { border-bottom: 0; }
    .approach-grid h3 { margin-top: 20px; }
    .about-teaser { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
    body { font-size: var(--body-mobile-size); }
    .hero { padding-top: 56px; }
    h1 { font-size: var(--h1-mobile-size); }
    h2 { font-size: var(--h2-mobile-size); }
    h3 { font-size: var(--h3-mobile-size); }
    h4 { font-size: var(--h4-mobile-size); }
    h5 { font-size: var(--h5-mobile-size); }
    h6 { font-size: var(--h6-mobile-size); }
    .portrait-wrap { height: var(--portrait-mobile-height); }
    .area-list li { grid-template-columns: 36px 1fr; }
    .site-footer { flex-direction: column; padding-inline: 18px; }
    .footer-links { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
