@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Jost:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --ink: #151515;
  --ink-soft: #343434;
  --muted: #66635f;
  --line: #deddd8;
  --paper: #ffffff;
  --paper-soft: #f7f6f2;
  --focus: #245f8c;
  --max: 1120px;
  --reading: 760px;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #e6e4dc; color: var(--ink); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}
.reading {
  width: min(calc(100% - 2.5rem), var(--reading));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-menu { margin-left: auto; }
.nav-menu > summary {
  display: none;
  cursor: pointer;
  list-style: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-list a:hover,
.nav-list a[aria-current='page'] { color: var(--ink); }
.nav-list .nav-cta {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.nav-list .nav-cta:hover { background: #303030; color: #fff; }
.lang-switch { white-space: nowrap; }

main { overflow: clip; }
.section {
  padding: 4.75rem 0;
  border-bottom: 1px solid var(--line);
}
.section-tight {
  padding: 3.35rem 0;
  border-bottom: 1px solid var(--line);
}
.section-soft { background: var(--paper-soft); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  flex: 0 0 auto;
  background: var(--ink);
}

h1, h2, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4.65rem);
}
h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
h3 {
  margin: 0 0 0.65rem;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}
.lede {
  max-width: 720px;
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.hero-copy { max-width: 900px; }
.hero-copy h1 { max-width: 18ch; }
.hero-aside {
  max-width: none;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}
.hero-aside strong {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-aside ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.hero-aside li {
  padding-left: 0.85rem;
  border-left: 2px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.5;
}
.hero-aside li + li { margin-top: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #303030; border-color: #303030; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: #fff; background: #fff; color: var(--ink); }
.btn-light:hover { background: transparent; color: #fff; }

.stat-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.stat,
.proof-item {
  padding: 1.25rem 1.35rem;
  border-right: 1px solid var(--line);
}
.stat:last-child,
.proof-item:last-child { border-right: 0; }
.stat-value {
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}
.stat-label,
.proof-item p {
  color: var(--muted);
  font-size: 0.82rem;
}

.section-head {
  display: block;
  max-width: 820px;
  margin-bottom: 2rem;
}
.section-head > p {
  max-width: 680px;
  margin-bottom: 0;
}
.section-head p { color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  position: relative;
  display: flex;
  min-height: 265px;
  padding: 1.6rem;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.card:hover {
  border-color: #aaa9a5;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.card-primary .card-copy,
.card-primary .meta { color: rgba(255, 255, 255, 0.74); }
.card-primary .card-link { color: #fff; }
.card-number {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}
.card-primary .card-number { color: rgba(255, 255, 255, 0.56); }
.card h3 { font-size: 1.35rem; }
.card-copy {
  max-width: 600px;
  color: var(--muted);
  font-size: 0.94rem;
}
.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.pill {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.step {
  display: flex;
  min-height: 205px;
  padding: 1.4rem;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step-num {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.step h3 { font-size: 1.18rem; }
.step p {
  color: var(--muted);
  font-size: 0.88rem;
}
.step-output {
  display: block;
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.25rem;
  align-items: start;
}
.prose { color: var(--ink-soft); }
.prose p + p { margin-top: 0.9rem; }
.prose ul,
.prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4rem; }
.prose h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}
.prose h3 { margin-top: 1.7rem; }
.prose strong { font-weight: 600; color: var(--ink); }

.evidence-list { border-top: 1px solid var(--ink); }
.evidence-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.evidence-item strong { font-weight: 600; }
.evidence-item span { color: var(--muted); }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.insight-card {
  display: flex;
  min-height: 225px;
  padding: 1.5rem;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.insight-card:hover {
  border-color: #aaa9a5;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.insight-card p { color: var(--muted); }
.insight-card .card-link { margin-top: auto; }

.contact-band { background: var(--ink); color: #fff; }
.contact-band .section { border-bottom: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
}
.contact-grid p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer { padding: 1.75rem 0; }
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-copy {
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.78rem;
}
.geoni-badge img {
  display: block;
  width: 155px;
  height: auto;
  opacity: 0.72;
  transition: opacity 160ms ease;
}
.geoni-badge:hover img { opacity: 1; }

.breadcrumb {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.45rem;
}
.page-hero {
  padding: 3.8rem 0 3.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper) 0%, #fbfaf7 100%);
}
.page-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.65rem, 4.5vw, 4.25rem);
}
.page-hero .lede { max-width: 820px; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.25rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 92px;
}
.side-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}
.side-card + .side-card { margin-top: 0.9rem; }
.side-card h3 { font-size: 1.1rem; }
.side-card dl { margin: 0; }
.side-card dt {
  margin-top: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.side-card dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}
.side-card .btn { width: 100%; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0 1.75rem;
}
.detail-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.detail-card h3 { font-size: 1.08rem; }
.detail-card p {
  color: var(--muted);
  font-size: 0.9rem;
}
.check-list,
.minus-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li,
.minus-list li {
  position: relative;
  padding-left: 1.4rem;
}
.check-list li + li,
.minus-list li + li { margin-top: 0.55rem; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 600;
}
.minus-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  font-weight: 600;
}

.cadence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cadence-item {
  padding: 1.1rem;
  border-right: 1px solid var(--line);
}
.cadence-item:last-child { border-right: 0; }
.cadence-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.cadence-item span {
  color: var(--muted);
  font-size: 0.81rem;
}

.faq-list { border-top: 1px solid var(--ink); }
.faq-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-item h3 {
  font-size: 0.98rem;
  line-height: 1.45;
}
.faq-item p { color: var(--muted); }

.article { padding: 3.75rem 0 5rem; }
.article h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 4.2vw, 3.9rem);
}
.article .prose { margin-top: 2.5rem; }
.answer-box {
  margin: 1.25rem 0;
  padding: 1.2rem;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-soft);
}

@media (max-width: 980px) {
  .split,
  .content-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-aside ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { position: static; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid,
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2),
  .proof-item:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2),
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cadence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cadence-item:nth-child(2) { border-right: 0; }
  .cadence-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .header-inner { min-height: 62px; }
  .nav-menu > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-menu > summary::after {
    content: '+';
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    transition: transform 160ms ease;
  }
  .nav-menu[open] > summary::after { transform: rotate(45deg); }
  .nav-menu:not([open]) .nav-list { display: none; }
  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    padding: 0.7rem 1.25rem 1.2rem;
    background: rgba(255, 255, 255, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.72rem 0;
  }
  .nav-list .nav-cta {
    margin-top: 0.45rem;
    text-align: center;
  }
  .section { padding: 3.8rem 0; }
  .section-tight { padding: 2.75rem 0; }
  .hero-grid { gap: 1.5rem; }
  .hero-aside ul { grid-template-columns: 1fr; gap: 0.65rem; }
  .service-grid,
  .insight-grid,
  .detail-grid { grid-template-columns: 1fr; }
  .card,
  .insight-card,
  .step { min-height: 0; }
  .method-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .evidence-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 520px) {
  .container,
  .reading { width: min(calc(100% - 1.4rem), var(--max)); }
  h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  h2 { font-size: clamp(1.9rem, 8.8vw, 2.45rem); }
  .hero-copy h1,
  .page-hero h1,
  .article h1 { max-width: none; }
  .page-hero {
    padding: 2.9rem 0 2.55rem;
  }
  .page-hero h1 {
    font-size: clamp(2.25rem, 9.8vw, 2.9rem);
  }
  .hero-aside,
  .card,
  .step,
  .insight-card,
  .side-card,
  .detail-card { padding: 1.15rem; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .stat-grid,
  .proof-grid,
  .cadence-grid { grid-template-columns: 1fr; }
  .stat,
  .proof-item,
  .cadence-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child,
  .proof-item:last-child,
  .cadence-item:last-child { border-bottom: 0; }
}

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