:root {
  --ink: #132a32;
  --muted: #52656a;
  --paper: #f7f5ef;
  --white: #ffffff;
  --mist: #e8f0f1;
  --blue: #a9c7d3;
  --teal: #1d6064;
  --line: #cfdbdc;
  --shadow: 0 24px 70px rgba(23, 57, 65, .13);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { width: var(--shell); margin: 0 auto; min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid rgba(19,42,50,.14); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.1; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--paper); border-radius: 50%; font-family: Georgia, serif; font-size: 21px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { margin-top: 4px; font-size: 10px; color: var(--muted); letter-spacing: .13em; text-transform: uppercase; }
.site-nav { justify-self: center; display: flex; gap: 28px; }
.site-nav a { font-size: 13px; text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.menu-button { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--teal); background: var(--teal); color: white; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .03em; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29,96,100,.18); }
.button-small { min-height: 40px; padding-inline: 17px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--teal); font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(42px, 8vw, 110px); align-items: center; padding-block: 70px 78px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--teal); font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
h1 { margin-bottom: 26px; font-size: clamp(52px, 6.2vw, 86px); }
h1 em { color: var(--teal); font-weight: 400; }
h2 { margin-bottom: 22px; font-size: clamp(36px, 4vw, 57px); }
h3 { line-height: 1.25; }
.hero-lead { max-width: 640px; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { min-width: 0; }
.hero-facts dt { font-family: Georgia, serif; font-size: 21px; }
.hero-facts dd { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.portrait-wrap { position: relative; max-width: 470px; justify-self: end; }
.portrait-frame { aspect-ratio: 4 / 5.2; overflow: hidden; background: var(--mist); box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait-frame::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; border: 1px solid var(--blue); }
.portrait-caption { position: absolute; left: -32px; bottom: 28px; min-width: 235px; margin: 0; padding: 15px 18px; background: rgba(255,255,255,.94); box-shadow: 0 13px 35px rgba(19,42,50,.12); }
.portrait-caption strong, .portrait-caption span { display: block; }
.portrait-caption strong { font-family: Georgia, serif; font-size: 18px; }
.portrait-caption span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.intro-band { background: var(--ink); color: white; padding-block: 76px; }
.intro-grid { display: grid; grid-template-columns: .4fr 1fr; gap: 70px; }
.intro-grid .section-kicker { color: var(--blue); }
.intro-grid h2 { max-width: 760px; margin-bottom: 16px; }
.intro-grid p:last-child { max-width: 740px; color: #c8d4d6; font-size: 17px; }
.section-space { padding-block: 110px; }
.section-heading { max-width: 680px; margin-bottom: 52px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 290px; padding: 30px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card span { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 72px 0 14px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.service-card p { color: var(--muted); font-size: 14px; }
.about-preview { margin-bottom: 110px; padding: 70px; background: var(--mist); display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.about-preview h2 { margin-bottom: 0; }
.about-preview p { color: var(--muted); font-size: 17px; }
.site-footer { padding-block: 48px; background: var(--ink); color: white; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-grid p { margin: 4px 0 0; color: #aebfc2; font-size: 13px; }
.footer-grid a { color: white; font-size: 14px; }

.page-hero { padding-block: 92px 76px; border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; grid-template-columns: .55fr 1.45fr; gap: 70px; align-items: end; }
.page-hero h1 { max-width: 930px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 78px); }
.page-hero .lead { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 19px; }
.breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.content-section { padding-block: 100px; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.two-column { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.two-column-narrow { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose h2, .prose h3 { margin-top: 54px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.prose ul, .prose ol { color: var(--muted); padding-left: 1.25em; }
.prose li { margin-bottom: 10px; }
.pull-quote { margin: 42px 0; padding: 26px 30px; border-left: 3px solid var(--teal); background: var(--mist); color: var(--ink) !important; font-family: Georgia, serif; font-size: 24px !important; line-height: 1.35; }
.detail-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.detail-list div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.detail-list dd { margin: 0; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step strong { display: block; margin-bottom: 28px; color: var(--teal); font-size: 11px; letter-spacing: .1em; }
.process-step h3 { font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.process-step p { color: var(--muted); font-size: 14px; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); }
.fit-card { padding: 36px; background: var(--paper); }
.fit-card h3 { font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.fit-card ul { margin: 0; padding-left: 1.15em; color: var(--muted); }
.fit-card li { margin-bottom: 9px; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case-card { display: flex; flex-direction: column; min-height: 410px; padding: 38px; background: var(--white); border: 1px solid var(--line); }
.case-card:first-child { grid-column: 1 / -1; min-height: 370px; background: var(--ink); color: white; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tag { display: inline-block; padding: 5px 9px; border: 1px solid currentColor; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case-card:first-child .tag { color: var(--blue); }
.case-card h2 { max-width: 850px; font-size: clamp(31px, 4vw, 50px); }
.case-card:not(:first-child) h2 { font-size: 34px; }
.case-card p { max-width: 760px; color: var(--muted); }
.case-card:first-child p { color: #c8d4d6; }
.case-outcome { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); }
.case-card:first-child .case-outcome { border-color: #3c555c; }
.case-outcome strong { display: block; margin-bottom: 6px; color: var(--teal); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.case-card:first-child .case-outcome strong { color: var(--blue); }
.case-outcome span { font-family: Georgia, serif; font-size: 21px; }
.privacy-note { margin-top: 36px; color: var(--muted); font-size: 13px; }

.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.note-card { display: flex; flex-direction: column; min-height: 390px; padding: 30px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.note-card:hover { border-color: var(--teal); }
.note-card .tag { align-self: flex-start; }
.note-card h2 { margin-top: 48px; font-size: 32px; }
.note-card p { color: var(--muted); font-size: 14px; }
.note-card .read-more { margin-top: auto; padding-top: 22px; color: var(--teal); font-weight: 800; font-size: 13px; }
.platform-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; border: 1px solid var(--line); }
.platform-strip a { padding: 24px; text-decoration: none; border-right: 1px solid var(--line); }
.platform-strip a:last-child { border-right: 0; }
.platform-strip strong, .platform-strip span { display: block; }
.platform-strip span { margin-top: 5px; color: var(--muted); font-size: 12px; }

.about-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 85px; align-items: start; }
.about-portrait { position: sticky; top: 30px; }
.about-portrait img { width: 100%; max-height: 720px; object-fit: cover; object-position: 50% 20%; }
.about-copy h2 { margin-top: 0; }
.principles { display: grid; gap: 18px; margin-top: 44px; }
.principle { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.principle span { color: var(--teal); font-size: 11px; font-weight: 800; }
.principle h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.principle p { margin: 0; color: var(--muted); }

.cta-panel { margin-block: 0 100px; padding: 70px; background: var(--teal); color: white; display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: center; }
.cta-panel h2 { margin-bottom: 12px; }
.cta-panel p { margin-bottom: 0; color: #d8e6e6; }
.cta-panel .button { justify-self: end; background: white; border-color: white; color: var(--teal); }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.social-links a { color: inherit; font-size: 13px; }

.article-shell { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.article-header { padding-block: 85px 58px; }
.article-header h1 { font-size: clamp(44px, 6vw, 72px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12px; }
.article-body { padding-bottom: 100px; }
.article-body p, .article-body li { color: var(--muted); font-size: 17px; }
.article-body h2 { margin-top: 58px; font-size: 40px; }
.article-body h3 { margin-top: 34px; font-family: Georgia, serif; font-size: 26px; font-weight: 400; }
.article-body li { margin-bottom: 12px; }
.article-callout { margin: 42px 0; padding: 30px; background: var(--mist); }
.article-callout strong { display: block; margin-bottom: 8px; color: var(--teal); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.article-callout p { margin-bottom: 0; color: var(--ink); }
.article-disclaimer { margin-top: 65px; padding-top: 25px; border-top: 1px solid var(--line); font-size: 12px !important; }
.back-link { display: inline-block; margin-top: 34px; color: var(--teal); font-weight: 700; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { margin-bottom: 15px; font-size: 100px; color: var(--teal); }
.error-page p { color: var(--muted); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: block; border: 1px solid var(--line); background: transparent; padding: 9px 12px; }
  .site-nav { display: none; position: absolute; z-index: 20; top: 78px; left: 20px; right: 20px; padding: 20px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; gap: 16px; }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .portrait-wrap { justify-self: start; width: min(100%, 500px); }
  .intro-grid, .about-preview { grid-template-columns: 1fr; gap: 25px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-inner, .two-column, .two-column-narrow, .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .platform-strip { grid-template-columns: 1fr 1fr; }
  .platform-strip a:nth-child(2) { border-right: 0; }
  .platform-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-portrait { position: static; max-width: 540px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .button { justify-self: start; }
}

@media (max-width: 580px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { min-height: 76px; }
  .brand small { display: none; }
  .hero { min-height: auto; padding-block: 45px 64px; gap: 55px; }
  h1 { font-size: 48px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .portrait-caption { left: 12px; bottom: 16px; }
  .intro-band { padding-block: 58px; }
  .section-space { padding-block: 75px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .service-card h3 { margin-top: 48px; }
  .about-preview { margin-bottom: 75px; padding: 42px 24px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-block: 60px 52px; }
  .page-hero h1 { font-size: 45px; }
  .content-section { padding-block: 70px; }
  .process-list, .fit-grid, .case-grid, .notes-grid { grid-template-columns: 1fr; }
  .case-card:first-child { grid-column: auto; }
  .case-card { min-height: 350px; padding: 28px; }
  .case-card:not(:first-child) h2 { font-size: 30px; }
  .platform-strip { grid-template-columns: 1fr; }
  .platform-strip a, .platform-strip a:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .platform-strip a:last-child { border-bottom: 0; }
  .cta-panel { margin-bottom: 75px; padding: 45px 25px; }
  .detail-list div { grid-template-columns: 1fr; gap: 6px; }
}

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