:root {
  --paper: #f4f0e7;
  --paper-deep: #e6dfd1;
  --white: #fffdf8;
  --ink: #102a2e;
  --ink-deep: #07191d;
  --muted: #526367;
  --line: #cec5b5;
  --teal: #0f6a6b;
  --teal-light: #61c5b7;
  --orange: #e36f35;
  --orange-text: #a23f16;
  --shadow: 0 24px 70px rgba(16, 42, 46, 0.12);
  --shell: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--orange); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
h1, h2, h3, p, dl, dd, blockquote { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 20px; }
h3 { font-size: 1.3rem; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 850px; }
.skip-link {
  position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%);
  padding: 10px 16px; background: var(--white); border: 2px solid var(--orange);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 50; top: 0;
  border-bottom: 1px solid rgba(206, 197, 181, 0.8);
  background: rgba(244, 240, 231, 0.96);
}
.header-inner {
  min-height: 80px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--ink); color: var(--white);
  font: 700 1.3rem Georgia, serif;
}
.brand-mark::after {
  content: ""; position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px;
  border: 3px solid var(--paper); border-radius: 50%; background: var(--orange);
}
.brand-text { line-height: 1.05; }
.brand-text strong, .brand-text span { display: block; }
.brand-text strong { font-family: Georgia, serif; font-size: 1.1rem; }
.brand-text span { margin-top: 4px; color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 21px; flex-wrap: wrap; }
.nav a { font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-color: var(--orange); }
.nav .nav-cta { padding: 9px 14px; border: 1px solid var(--ink); }

.eyebrow {
  margin-bottom: 13px; color: var(--teal); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; line-height: 1.35; text-transform: uppercase;
}
.eyebrow.light { color: var(--teal-light); }
.hero { padding: clamp(62px, 9vw, 118px) 0 52px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.72fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.4rem, 8vw, 7.7rem); }
.hero h1 span { color: var(--teal); }
.hero-lede { max-width: 700px; margin-bottom: 18px; font: 1.35rem/1.45 Georgia, serif; }
.hero-detail { max-width: 680px; color: var(--muted); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; gap: 20px; padding: 13px 19px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font-size: 0.83rem; font-weight: 800; text-decoration: none;
}
.button.secondary { background: transparent; color: var(--ink); }
.portrait-stage { position: relative; }
.portrait-stage::before {
  content: ""; position: absolute; inset: -12%; border: 1px solid var(--line); border-radius: 50%;
}
.portrait { position: relative; width: min(100%, 350px); margin: auto; border-radius: 50%; box-shadow: var(--shadow); }
.portrait-caption {
  position: relative; width: fit-content; margin: -22px auto 0; padding: 13px 18px;
  border-left: 4px solid var(--orange); background: var(--white); box-shadow: var(--shadow);
}
.portrait-caption strong, .portrait-caption span { display: block; }
.portrait-caption span { color: var(--muted); font-size: 0.75rem; }
.signal-line {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 80px; padding-top: 19px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

.page-hero { padding: clamp(65px, 9vw, 112px) 0 70px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; margin-bottom: 22px; font-size: clamp(3.3rem, 7vw, 6.9rem); }
.page-hero p:last-child { max-width: 760px; color: var(--muted); font-size: 1.16rem; }
.section { padding: clamp(72px, 9vw, 125px) 0; }
.section-ink { background: var(--ink); color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr 0.7fr; gap: 60px; align-items: end; margin-bottom: 46px; }
.section-heading > p { color: var(--muted); }
.section-ink .section-heading > p { color: #cad7d5; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.capability-grid article { min-height: 290px; padding: 25px 24px 20px 0; border-right: 1px solid var(--line); }
.capability-grid article + article { padding-left: 24px; }
.capability-grid article:last-child { border-right: 0; }
.capability-number { display: block; margin-bottom: 60px; color: var(--orange-text); font-family: Georgia, serif; }
.capability-grid p { color: var(--muted); font-size: 0.92rem; }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.proof-card { min-height: 305px; padding: 32px; background: var(--ink-deep); }
.proof-card .index { color: var(--orange); font-family: Georgia, serif; }
.proof-card h3 { margin-top: 42px; font-family: Georgia, serif; font-size: 1.7rem; }
.proof-card p { color: #c8d3d1; }
.proof-card strong { color: var(--teal-light); font-size: 0.78rem; letter-spacing: .04em; }

.impact-summary-section { background: var(--paper-deep); }
.impact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.impact-grid-three { grid-template-columns: repeat(3, 1fr); }
.impact-card { min-height: 250px; padding: 26px 22px; border-top: 5px solid var(--teal); background: var(--white); box-shadow: var(--shadow); }
.impact-value { display: block; margin-bottom: 42px; color: var(--orange-text); font: 700 clamp(1.55rem, 2.5vw, 2.2rem)/1.05 Georgia, serif; }
.impact-card h3 { margin-bottom: 12px; font: 700 1.22rem/1.18 Georgia, serif; }
.impact-card p { color: var(--muted); font-size: .86rem; }
.impact-note { max-width: 960px; margin-top: 25px; padding-left: 16px; border-left: 3px solid var(--orange); color: var(--muted); font-size: .82rem; }

.career-impact-section { background: var(--paper-deep); }
.career-impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.career-impact-card { padding: 32px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.career-impact-card-wide { grid-column: 1 / -1; }
.career-impact-card h3 { margin: 22px 0 14px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.career-impact-card > p:last-child { color: var(--muted); }
.career-impact-card strong { color: var(--ink); }
.impact-role { color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.project-list { display: grid; gap: 30px; }
.project-card { display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.project-card:nth-child(even) .project-visual { order: 2; }
.project-visual { min-height: 430px; display: grid; place-items: center; padding: 36px; background: var(--ink); }
.project-visual img { width: 100%; max-height: 520px; object-fit: contain; }
.diagram { width: 100%; max-width: 420px; color: var(--white); }
.diagram > span { display: block; margin-bottom: 18px; color: var(--teal-light); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.diagram ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.diagram li { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.diagram li b { color: var(--orange); font-family: Georgia, serif; }
.project-copy { padding: clamp(32px, 5vw, 66px); }
.project-title { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.project-title h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.status { max-width: 250px; padding: 7px 9px; border: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.facts { display: grid; gap: 18px; margin-top: 20px; }
.facts div { padding-top: 17px; border-top: 1px solid var(--line); }
.facts dt { color: var(--orange-text); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.facts dd { color: var(--muted); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.tags span { padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 800; }

.live-applications-section { background: var(--paper-deep); }
.application-group + .application-group { margin-top: 72px; }
.application-group-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.application-group-heading h3 { max-width: 680px; margin-bottom: 20px; font: 700 clamp(1.45rem, 2.5vw, 2rem)/1.15 Georgia, serif; text-align: right; }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.application-card { display: flex; flex-direction: column; min-height: 390px; padding: 28px; border: 1px solid var(--line); border-top: 5px solid var(--teal); background: var(--white); }
.application-card.featured-application { border-top-color: var(--orange); box-shadow: var(--shadow); }
.application-preview { width: calc(100% + 56px); max-width: none; height: 190px; margin: -28px -28px 26px; border-bottom: 1px solid var(--line); object-fit: cover; object-position: top; }
.application-topline { display: flex; justify-content: space-between; gap: 14px; min-height: 42px; color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.application-topline b { color: var(--muted); text-align: right; }
.application-card h3 { margin: 28px 0 14px; font: 700 1.65rem/1.1 Georgia, serif; }
.application-card p { color: var(--muted); font-size: .9rem; }
.application-card ul { display: flex; gap: 7px; flex-wrap: wrap; margin: auto 0 22px; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.application-card li { padding: 4px 8px; border: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.application-card > a { font-size: .82rem; font-weight: 800; }

.homepage-products { background: var(--ink); color: var(--white); }
.homepage-products .section-heading > p { color: #cad7d5; }
.homepage-products > .shell > .text-link { color: var(--teal-light); }
.flagship-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.flagship-card { overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: var(--ink-deep); }
.flagship-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.flagship-image { display: block; overflow: hidden; background: #eef2f4; }
.flagship-image img { width: 100%; height: 280px; object-fit: cover; object-position: top; transition: transform .25s ease; }
.flagship-card-wide .flagship-image img { height: 100%; min-height: 390px; }
.flagship-image:hover img { transform: scale(1.015); }
.flagship-copy { padding: 28px; }
.flagship-copy span { color: var(--teal-light); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.flagship-copy h3 { margin: 38px 0 14px; color: var(--white); font: 700 clamp(1.6rem, 3vw, 2.25rem)/1.08 Georgia, serif; }
.flagship-copy p { color: #c8d3d1; font-size: .9rem; }
.flagship-copy > a { color: var(--teal-light); font-size: .82rem; font-weight: 800; }
.credibility-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.2); }
.credibility-strip span { min-height: 120px; padding: 24px; background: var(--ink-deep); color: #d8e3e1; font: 700 1rem/1.4 Georgia, serif; }
.light-link { color: var(--teal-light); }

.case-list { display: grid; gap: 26px; }
.case { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); padding-top: 32px; }
.case-number { color: var(--orange-text); font: 3rem Georgia, serif; }
.case h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.case-label { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: var(--line); }
.case-facts div { padding: 22px; background: var(--white); }
.case-facts dt { color: var(--orange-text); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.case-facts dd { color: var(--muted); font-size: .9rem; }

.book-feature-section { background: var(--paper-deep); }
.book-feature { display: grid; grid-template-columns: minmax(190px, 280px) 1fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.feature-cover { display: block; padding: 18px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.feature-cover img { width: 100%; }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.book-card { display: grid; grid-template-columns: 118px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.book-card-accent { border-top: 5px solid var(--orange); }
.book-cover-link { display: block; align-self: start; }
.book-cover { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: #fff; box-shadow: 0 15px 35px rgba(16,42,46,.18); transition: transform .2s ease, box-shadow .2s ease; }
.book-cover-link:hover .book-cover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(16,42,46,.25); }
.book-card h3, .editor-card h3 { margin-bottom: 12px; }
.book-card p, .editor-card p { color: var(--muted); font-size: .9rem; }
.editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.editor-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 24px; border-top: 1px solid var(--line); }
.essay-group { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.2); }
.essay-group h3 { margin-bottom: 24px; color: var(--teal-light); font-family: Georgia, serif; font-size: 1.8rem; }
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.essay-grid article { padding: 24px; background: var(--ink-deep); }
.essay-grid p { color: #c8d3d1; font-size: .9rem; }
.credit-list { margin: 0; padding: 0; list-style: none; }
.credit-list li { padding: 18px 0; border-top: 1px solid var(--line); }

.timeline { margin-top: 44px; }
.timeline article { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline time { color: var(--orange-text); font-family: Georgia, serif; }
.timeline p { color: var(--muted); }
.stewardship { padding: 38px; border-left: 5px solid var(--orange); background: var(--white); font: 1.35rem/1.55 Georgia, serif; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { min-height: 250px; padding: 34px; border: 1px solid var(--line); background: var(--white); }
.contact-card span { color: var(--orange-text); font-family: Georgia, serif; }
.contact-card h2 { margin-top: 45px; font-size: 2.2rem; }
.contact-panel { padding: clamp(42px, 7vw, 84px); background: var(--ink); color: var(--white); }
.contact-panel p { max-width: 720px; color: #c8d3d1; }
.contact-panel a { color: var(--teal-light); }

.site-footer { padding: 50px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); font-size: .78rem; }
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: .72rem; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; padding-block: 18px; }
  .nav { max-width: 430px; }
  .hero-grid, .section-heading, .project-card, .case { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-visual { order: 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .case-facts { grid-template-columns: 1fr; }
  .books-grid, .editor-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .credibility-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  :root { --shell: min(100% - 28px, 1160px); }
  body { font-size: 16px; }
  .header-inner { display: block; }
  .nav { justify-content: flex-start; gap: 11px 16px; margin-top: 16px; }
  .nav .nav-cta { padding: 0; border: 0; }
  .hero-grid { gap: 58px; }
  .hero h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .signal-line { justify-content: flex-start; }
  .capability-grid, .proof-grid, .essay-grid, .contact-grid, .book-feature, .books-grid, .editor-grid, .impact-grid, .career-impact-grid, .application-grid, .flagship-grid, .credibility-strip { grid-template-columns: 1fr; }
  .flagship-card-wide { grid-column: auto; display: block; }
  .flagship-card-wide .flagship-image img { height: 280px; min-height: 0; }
  .application-group-heading { display: block; }
  .application-group-heading h3 { text-align: left; }
  .career-impact-card-wide { grid-column: auto; }
  .feature-cover { width: min(72vw, 290px); margin-inline: auto; }
  .book-card, .editor-card { grid-template-columns: 100px 1fr; }
  .capability-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 25px 0; }
  .capability-grid article + article { padding-left: 0; }
  .capability-number { margin-bottom: 26px; }
  .project-visual { min-height: 300px; }
  .project-title { display: block; }
  .status { display: inline-block; margin-bottom: 20px; }
  .timeline article, .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
