/* Shared launch foundation. Later sections retain their original layouts. */
:root {
  --paper: #f5f5f1;
  --ink: #11120f;
  --muted: #74766f;
  --line: rgba(17, 18, 15, .2);
  --max: 1440px;
  --page-columns: 742fr 383fr 315fr;
  --header-height: 46px;
  --gutter: 18px;
  --section-gap: 46px;
}
body::before { display: none; }
.wrap { border: 0; overflow-x: clip; }
section { scroll-margin-top: var(--header-height); }

/* Header shares the hero's three vertical axes. */
.site-header {
  height: var(--header-height);
  background: var(--paper);
  backdrop-filter: none;
}
.header-grid { grid-template-columns: var(--page-columns); border: 0; }
.header-cell { padding: 0 var(--gutter); }
.brand { font-size: 15px; }
.header-center { font-size: 10px; letter-spacing: .05em; white-space: nowrap; }
.header-right { justify-content: flex-end; padding: 0 18px 0 0; }
.lang { height: var(--header-height); min-width: 50px; }
.lang:last-child { border-right: 1px solid var(--line); }

/* Hero: left statement, central menu, right information and selected state. */
.hero {
  padding-top: var(--header-height);
  min-height: 0;
  margin-bottom: var(--section-gap);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  min-height: 0;
  height: 693px;
  grid-template-columns: var(--page-columns);
  grid-template-rows: 47px 289px 357px;
}
.hero-label { padding: 15px var(--gutter); font-size: 10px; }
.hero-title {
  grid-column: 1;
  grid-row: 2 / 4;
  padding: 0 var(--gutter) 40px;
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.hero-title h1 {
  max-width: 100%;
  font-size: 85px;
  line-height: 72px;
  letter-spacing: -.065em;
}
.hero-intro {
  margin: 40px 0 0;
  font-size: 14px;
  line-height: 22px;
}
.hero-cta { margin-top: 42px; font-family: var(--sans); font-size: 14px; line-height: 16px; }
.hero-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-menu {
  grid-column: 2;
  grid-row: 2 / 4;
  padding: 0;
  justify-content: flex-end;
}
.hero-menu-column { display: contents; }
.hero-menu-item {
  min-height: 83px;
  padding: 9px var(--gutter) 14px;
  align-items: end;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  transition: background .28s ease, border-color .28s ease;
}
.hero-menu-item:first-child { border-top: 0; }
.hero-menu-item .name { font-size: 58px; line-height: 1; letter-spacing: -.065em; }
.hero-menu-item .count { font-size: 9px; padding: 0 0 3px; white-space: nowrap; }
.hero-menu-item:hover, .hero-menu-item.is-active { padding-left: var(--gutter); }
.hero-menu-item.is-active { background: rgba(17,18,15,.055); border-color: var(--line); }
.hero-menu-item:focus-visible, .lang:focus-visible, .hero a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}
.hero-summary {
  grid-column: 3;
  grid-row: 2;
  padding: 60px var(--gutter) 30px;
  justify-content: flex-start;
  gap: 22px;
}
.hero-summary .top { font-size: 10px; line-height: 16px; }
.hero-summary p { font-size: 13px; line-height: 21px; }
.hero-state {
  grid-column: 3;
  grid-row: 3;
  padding: 30px var(--gutter) 20px;
}
.state-index { font-size: 9px; margin-bottom: 16px; }
.state-title { font-size: 40px; line-height: .9; letter-spacing: -.055em; white-space: pre-line; margin-bottom: 26px; }
.state-copy { font-size: 13px; line-height: 21px; white-space: pre-line; }
.state-link { margin-top: 12px; font-size: 10px; text-decoration: none; }
.state-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1200px) and (max-width: 1350px) {
  .hero-title h1 { font-size: clamp(62px, 5.9vw, 85px); line-height: .86; }
  .hero-menu-item .name { font-size: clamp(42px, 4.03vw, 58px); }
  .hero-menu-item { gap: 4px; }
  .hero-menu-item .count { font-size: 8px; }
  .header-center { font-size: 8px; }
  .header-right { padding-right: 0; }
}
@media (width < 1200px) {
  .header-grid { grid-template-columns: 1fr 1fr; }
  .header-center { display: none; }
  .header-right { padding-right: 0; }
  .hero-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 46px auto auto; }
  .hero-label:nth-child(2) { display: block; border-left: 1px solid var(--line); }
  .hero-label:nth-child(3) { display: none; }
  .hero-title { grid-column: 1; grid-row: 2; padding: 72px var(--gutter) 32px; }
  .hero-title h1 { font-size: clamp(44px, 5.8vw, 62px); line-height: .86; }
  .hero-intro { margin-top: 28px; }
  .hero-cta { margin-top: 28px; }
  .hero-menu { grid-column: 2; grid-row: 2; min-height: 0; border-top: 0; border-left: 1px solid var(--line); }
  .hero-menu-item .name { font-size: 44px; }
  .hero-summary { grid-column: 1; grid-row: 3; min-height: 230px; padding: 30px var(--gutter); border-bottom: 0; }
  .hero-state { grid-column: 2; grid-row: 3; min-height: 260px; border-left: 1px solid var(--line); }
  .state-title { font-size: 36px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 32px; }
}
@media (width < 1200px) {
  .hero { --gutter: 16px; --section-gap: 32px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-label:first-child { min-height: 46px; }
  .hero-label:nth-child(2) { display: none; }
  .hero-title { padding-top: 64px; padding-bottom: 32px; }
  .hero-title h1 { font-size: clamp(38px, 10.6vw, 66px); line-height: .86; }
  .hero-intro { font-size: 14px; }
  .hero-menu { border-left: 0; border-top: 1px solid var(--line); }
  .hero-menu-item { min-height: 72px; }
  .hero-menu-item .name { font-size: clamp(38px, 10vw, 54px); }
  .hero-summary { min-height: 180px; }
  .hero-state { border-left: 0; min-height: 250px; }
}

/* Measured desktop fidelity pass; existing smaller-screen rules remain unchanged. */
@media (min-width: 1200px) {
  .hero { margin-bottom: 45px; }
  .header-center { letter-spacing: .07em; }
  .lang {
    display: flex; align-items: flex-start; justify-content: flex-start;
    padding: 2px 4px 0 2px; line-height: 12px; text-align: left;
  }
  .lang:last-child { padding-left: 5px;
  }
  .hero-cta { font-size: 12.7px; }
  .state-title { font-size: 38px; line-height: 36px; letter-spacing: -.062em; }
  /* Lift the introduction while retaining the accepted grid and section heights. */
  .hero-title { padding-bottom: 140px; }
  .hero-menu-column {
    display: block;
    grid-column: 2;
    grid-row: 2 / -1;
    align-self: stretch;
    position: relative;
    border-left: 1px solid var(--line);
    /* Include the Hero's 1px bottom border in the positioning context. */
    margin-bottom: -1px;
  }
  .hero-menu {
    position: absolute;
    inset-inline: 0;
    bottom: 40px;
    padding: 0;
    border-left: 0;
  }
  .hero-summary { padding-top: 36px; gap: 18px; }
  .hero-state { padding-bottom: 70px; }
}

/* Original SVG artwork is embedded intact; paper supplies its overlay backdrop. */
.hero-bubble {
  position: absolute; left: -20px; top: 0;
  width: 800px; height: auto;
  display: block; background: var(--paper); overflow: visible;
  z-index: 0; pointer-events: none;
}
@media (width < 1200px) {
  .hero-bubble { display: none; }
}
