:root {
  --paper: #f3efe5;
  --paper-light: #faf8f2;
  --ink: #173f3b;
  --ink-deep: #10332f;
  --olive: #6f793d;
  --gold: #d4a942;
  --turquoise: #1f737d;
  --triadic: #155d66;
  --text: #303b39;
  --muted: #65706c;
  --line: rgba(23, 63, 59, 0.2);
  --shadow: 0 24px 70px rgba(16, 51, 47, 0.12);
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: 0.8rem max(1.5rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 229, 0.94);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { color: var(--ink); font-size: 1rem; letter-spacing: 0.02em; }
.brand-copy small { margin-top: 0.22rem; color: var(--muted); font-size: 0.72rem; }
.brand-subtitle-compact { display: none; }

.desktop-nav { display: flex; align-items: center; gap: 1.8rem; }
.desktop-nav a { color: var(--ink); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:not(.nav-contact):hover { color: var(--turquoise); }
.desktop-nav .nav-contact {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.legal-nav a { color: var(--ink); font-size: 0.88rem; font-weight: 800; }
.mobile-nav { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  min-height: calc(100vh - 5.5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem clamp(5rem, 9vw, 8rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  color: var(--turquoise);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow span { display: inline-block; width: 2.5rem; height: 2px; background: currentColor; }
.eyebrow.light { color: #d7d19f; }

h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { max-width: 12ch; margin-bottom: 1.6rem; font-size: clamp(3.8rem, 7.2vw, 7.2rem); letter-spacing: -0.055em; }
.hero h1 { max-width: none; font-size: inherit; letter-spacing: normal; }
.hero-name {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--triadic);
  font-family: var(--serif);
  font-size: clamp(3.25rem, 5.7vw, 5.9rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.02em;
}
.hero .eyebrow { margin-bottom: 2.3rem; }
.hero-claim {
  display: block;
  max-width: 14ch;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.55vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: 0.015em;
}
.claim-emphasis { color: var(--turquoise); font-style: normal; }
h2 { max-width: 15ch; margin-bottom: 1.5rem; font-size: clamp(2.7rem, 5vw, 4.8rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); letter-spacing: -0.025em; }

.hero-intro { max-width: 40rem; margin: 0 0 2.2rem; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-secondary { border-color: var(--ink); color: var(--ink); }
.button-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.button-gold { background: var(--gold); color: var(--ink-deep); }
.text-link { color: var(--ink); font-weight: 750; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3.4rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero-facts div { display: grid; }
.hero-facts dt { color: var(--ink); font-weight: 800; }
.hero-facts dd { margin: 0.05rem 0 0; color: var(--muted); font-size: 0.82rem; }

.hero-visual { position: relative; margin: clamp(8rem, 12vw, 10rem) 0 0; }
.hero-visual::before {
  content: "DIALOG";
  position: absolute;
  z-index: -1;
  top: -3.5rem;
  right: -0.5rem;
  color: rgba(23, 63, 59, 0.06);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}
.hero-frame { position: relative; padding: 0.8rem; border: 1px solid rgba(23, 63, 59, 0.35); background: var(--paper-light); }
.hero-frame::after { content: ""; position: absolute; z-index: -1; inset: 1.4rem -1.3rem -1.3rem 1.4rem; border: 1px solid var(--gold); }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; filter: saturate(0.82) contrast(1.03); }
.hero-visual figcaption { margin: 2rem 0 0 1.5rem; color: var(--muted); font-family: var(--serif); font-size: 0.92rem; font-style: italic; }

.statement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
  padding: 3rem 1.5rem;
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  text-align: center;
}
.statement p { margin: 0; }
.statement strong { color: #fff; font-weight: 400; }

.section-shell { max-width: var(--max); margin: 0 auto; padding: clamp(5.5rem, 10vw, 9rem) 1.5rem; }
.section-heading { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading-wide { display: flex; justify-content: space-between; gap: 3rem; align-items: end; }
.section-heading-wide > p { max-width: 24rem; margin: 0 0 1.2rem; color: rgba(255,255,255,0.72); }

.approach { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.approach-body .lead { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.35; }
.approach-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.4rem 0; }
.approach-columns p { margin: 0; }

.topics { background: var(--ink); color: #fff; }
.topics h2 { color: #fff; }
.topic-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.18); }
.topic-card { grid-column: span 4; min-height: 25rem; padding: 2rem; background: var(--ink-deep); }
.topic-card-featured { grid-column: span 8; background: var(--paper-light); color: var(--text); }
.topic-card h3 { max-width: 13ch; margin-bottom: 1.2rem; color: #fff; }
.topic-card-featured h3 { color: var(--ink); font-size: clamp(2rem, 4vw, 3.5rem); }
.topic-card p:not(.topic-label) { max-width: 31rem; }
.topic-number { display: block; color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.topic-label { margin: 3.8rem 0 0.65rem; color: #b9c9c5; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.topic-card-featured .topic-label { color: var(--turquoise); }
.topic-card a { display: inline-block; margin-top: 1.2rem; color: var(--gold); font-weight: 750; }
.topic-card-featured a { color: var(--ink); }
.topic-card-wide { grid-column: span 6; }
.topic-card-accent, .topic-card-triadic, .topic-card-compare { grid-column: span 4; }
.topic-card-accent { background: var(--turquoise); }
.topic-card-accent .topic-number, .topic-card-accent a { color: #fff; }
.topic-card-triadic { background: var(--triadic); }
.topic-card-triadic h3 { color: #fff; }
.topic-card-triadic .topic-number, .topic-card-triadic a { color: #f0ca67; }
.topic-card-compare { background: #0b3734; }
.topic-card-image { grid-column: span 8; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; padding: 0; background: var(--paper-light); color: var(--text); }
.topic-card-image.topic-card-full { grid-column: span 12; grid-template-columns: 1fr 1fr; }
.topic-card-image.topic-card-full img { object-fit: contain; background: #f4faf7; }
.topic-card-image img { width: 100%; height: 100%; min-height: 25rem; object-fit: cover; }
.topic-card-image > div { align-self: center; padding: 2rem 2rem 2rem 0; }
.topic-card-image h3 { color: var(--ink); }
.topic-card-image .topic-label { margin-top: 2rem; color: var(--turquoise); }
.topic-card-image a { color: var(--ink); }

.future { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.future-image { position: relative; }
.future-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(0.72); }
.future-image span { position: absolute; right: -1.5rem; bottom: 2rem; padding: 0.65rem 1rem; background: var(--gold); color: var(--ink-deep); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.future-copy p:not(.eyebrow) { margin-bottom: 2rem; }

.knowledge { border-top: 1px solid var(--line); background: var(--paper-light); }
.knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); }
.knowledge-card { min-height: 25rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); background: var(--paper); }
.knowledge-card-dark { border-color: var(--ink); background: var(--ink); color: rgba(255,255,255,0.78); }
.knowledge-card-dark h3 { color: #fff; }
.knowledge-index { margin-bottom: 4rem; color: var(--turquoise); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.knowledge-card-dark .knowledge-index { color: #d7d19f; }
.knowledge-card p { max-width: 31rem; margin-bottom: 2rem; }

.contact { max-width: none; padding-right: max(1.5rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--triadic); color: rgba(255,255,255,0.85); text-align: center; }
.contact .eyebrow { justify-content: center; }
.contact h2 { max-width: none; color: #fff; }
.contact > p:not(.eyebrow) { max-width: 47rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.contact small { display: block; margin-top: 1.4rem; color: rgba(255,255,255,0.7); }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--ink-deep);
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand .brand-mark { background: var(--gold); color: var(--ink-deep); }
.footer-brand div { display: grid; }
.footer-brand strong { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer p { margin: 0; white-space: nowrap; }

.nowrap { white-space: nowrap; }

.legal-page .site-header { position: static; }
.legal-main { max-width: 850px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.legal-main h1 { max-width: none; font-size: clamp(3.2rem, 7vw, 5.8rem); }
.legal-main h2 { max-width: none; margin-top: 3rem; margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.legal-main h3 { margin-top: 2rem; margin-bottom: 0.7rem; font-family: var(--sans); font-size: 1.1rem; font-weight: 800; }
.legal-main address { font-style: normal; }
.legal-note { margin-top: 3rem; padding: 1.4rem; border-left: 4px solid var(--gold); background: var(--paper-light); }

@media (max-width: 900px) {
  .brand-subtitle-desktop { display: none; }
  .brand-subtitle-compact { display: inline; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; color: var(--ink); font-weight: 800; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: 2.2rem; right: 0; display: grid; min-width: 14rem; padding: 0.8rem; border: 1px solid var(--line); background: var(--paper-light); box-shadow: var(--shadow); }
  .mobile-nav nav a { padding: 0.7rem; color: var(--ink); font-weight: 750; text-decoration: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 42rem; margin-top: 0; }
  .approach { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading-wide { display: block; }
  .topic-card { grid-column: span 6; }
  .topic-card-featured, .topic-card-image { grid-column: span 12; }
  .future { grid-template-columns: 1fr; }
  .future-image span { right: 1rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { min-height: 4.8rem; }
  .brand-copy small { display: block; max-width: 12rem; font-size: 0.62rem; line-height: 1.2; }
  .legal-page .site-header { flex-wrap: wrap; gap: 0.4rem 1rem; }
  .legal-page .site-header .brand { flex: 1 1 100%; }
  .legal-page .legal-nav { margin-left: auto; }
  .legal-main h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); hyphens: manual; overflow-wrap: normal; }
  .legal-nav a { font-size: 0.78rem; }
  .hero { padding-top: 3.2rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { grid-template-columns: 7rem 1fr; align-items: baseline; }
  .approach-columns { grid-template-columns: 1fr; }
  .topic-card, .topic-card-featured { grid-column: span 12; min-height: auto; }
  .topic-card-image { display: block; }
  .topic-card-image img { min-height: 16rem; height: 16rem; }
  .topic-card-image > div { padding: 2rem; }
  .topic-label { margin-top: 2rem; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { margin-top: 0.7rem; }
  .site-footer p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .hero-actions, .contact, .site-footer { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section-shell { padding: 2rem 0; }
}
