:root {
  --paper: #f6f8f7;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #68736f;
  --line: #d8dfdc;
  --teal: #0b7664;
  --coral: #e05d4f;
  --yellow: #e5bd4f;
  --shadow: 0 12px 32px rgba(22, 32, 29, .09);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #101513;
  --surface: #18201d;
  --ink: #f3f7f5;
  --muted: #a9b5b0;
  --line: #33403b;
  --teal: #58cdb4;
  --coral: #ff8274;
  --yellow: #f0ca66;
  --shadow: 0 16px 40px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 20; min-height: 66px; padding: 0 5vw;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; text-decoration: none; }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a, .mobile-nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
select, .icon-button, .menu-button { height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
select { padding: 0 30px 0 10px; }
.icon-button { width: 36px; font-size: 18px; cursor: pointer; }
.menu-button { display: none; padding: 0 12px; cursor: pointer; }
.mobile-nav { display: none; }

.hero { min-height: calc(100svh - 66px); max-height: 900px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); align-items: center; gap: 7vw; padding: 7vh 7vw 9vh; border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 620px; }
.eyebrow { margin: 0 0 16px; color: var(--coral); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.7px; }
h1, h2, .pullquote { font-family: Georgia, "Times New Roman", serif; }
h1 { margin: 0; font-size: clamp(66px, 8vw, 124px); line-height: .92; font-weight: 400; }
.role { margin: 24px 0 0; color: var(--teal); font-weight: 700; }
.lede { max-width: 580px; margin: 24px 0 32px; color: var(--muted); font-size: 20px; line-height: 1.65; }
.portrait-wrap { position: relative; height: min(70vh, 680px); min-height: 480px; overflow: hidden; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; }
.portrait-note { position: absolute; right: 18px; bottom: 18px; max-width: 290px; padding: 12px 14px; background: var(--surface); border-left: 4px solid var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; }
.primary-button, .secondary-button { min-height: 46px; border-radius: 6px; padding: 0 20px; font-weight: 700; cursor: pointer; }
.primary-button { border: 1px solid var(--teal); background: var(--teal); color: #fff; }
[data-theme="dark"] .primary-button { color: #071411; }
.secondary-button { border: 1px solid currentColor; background: transparent; color: inherit; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts div { min-height: 118px; padding: 26px 4vw; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { font-size: 18px; }
.facts span { margin-top: 6px; color: var(--muted); font-size: 13px; }

.section { padding: 100px 7vw; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; max-width: 1180px; margin: 0 auto 58px; }
.section-index { color: var(--coral); font-weight: 700; }
h2 { margin: 0; max-width: 900px; font-size: clamp(34px, 5vw, 68px); line-height: 1.12; font-weight: 400; }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; max-width: 1090px; margin: auto; }
.pullquote { margin: 0; color: var(--teal); font-size: clamp(26px, 3vw, 42px); line-height: 1.35; }
.body-copy { color: var(--muted); font-size: 18px; line-height: 1.8; }
.body-copy p:first-child { margin-top: 0; }
.value-list { max-width: 1090px; margin: auto; border-top: 1px solid var(--line); }
.value-list article { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 30px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.value-list span { color: var(--coral); font-weight: 700; }
.value-list h3 { margin: 0; font-size: 22px; }
.value-list p { margin: 0; color: var(--muted); line-height: 1.7; }
.future { background: var(--ink); color: var(--paper); }
.future-inner { max-width: 1000px; margin: auto; text-align: center; }
.future h2 { max-width: 1000px; }
.future p:not(.eyebrow) { max-width: 680px; margin: 28px auto 34px; color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 18px; line-height: 1.7; }
footer { min-height: 90px; padding: 0 7vw; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }

.dialog-backdrop { position: fixed; inset: 0; z-index: 50; padding: 20px; place-items: center; background: rgba(8, 15, 13, .72); }
.dialog-backdrop:not([hidden]) { display: grid; }
.contact-dialog { position: relative; width: min(560px, 100%); padding: 42px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.contact-dialog h2 { font-size: clamp(32px, 6vw, 52px); }
.contact-dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; padding: 0 18px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-block; }
  .mobile-nav { position: absolute; top: 66px; left: 0; right: 0; padding: 18px; flex-direction: column; gap: 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobile-nav.open { display: flex; }
  .hero { max-height: none; grid-template-columns: 1fr; gap: 42px; padding: 72px 20px 56px; }
  .hero-copy { order: 1; min-width: 0; }
  .portrait-wrap { order: 0; min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .lede { font-size: 17px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 72px 20px; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 38px; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .value-list article { grid-template-columns: 44px 1fr; gap: 16px; }
  .value-list p { grid-column: 2; }
  footer { min-height: 110px; padding: 28px 20px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
}

@media (max-width: 520px) {
  .header-actions { gap: 6px; }
  .header-actions select { width: 84px; padding-left: 8px; }
  .header-actions .icon-button { display: none; }
  .menu-button { width: 54px; padding: 0; }
  .hero { min-height: auto; padding-top: 36px; }
  h1 { font-size: 64px; }
  .portrait-note { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .facts div { min-height: 104px; padding: 20px; }
  .contact-dialog { padding: 34px 22px 26px; }
}

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