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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--content-primary);
  background: var(--surface-page);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand-primary);
}

:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 76px);
  background: rgba(23, 23, 22, 0.96);
  color: #fef8f7;
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.wordmark img {
  display: block;
  width: 126px;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  justify-self: center;
  font-size: 13px;
  color: rgba(255, 253, 248, 0.72);
}

.desktop-nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.site-header-cta {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  color: #fff;
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  color: #fff;
  background: var(--brand-hover);
  box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.18);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  justify-self: end;
}

.mobile-menu summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }

.mobile-menu-panel {
  position: fixed;
  top: 76px;
  right: 0;
  left: 0;
  display: grid;
  padding: 24px;
  color: #fef8f7;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu-panel a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu-panel .button {
  margin-top: 18px;
  border-bottom: 1px solid var(--brand-primary);
}

.eyebrow {
  margin: 0;
  color: var(--brand-hover);
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero {
  min-height: min(750px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  padding: clamp(80px, 12vw, 160px) var(--space-page-x) clamp(64px, 8vw, 112px);
  background-image: radial-gradient(var(--dot-color) var(--dot-size), transparent 0);
  background-size: var(--dot-gap) var(--dot-gap);
}

.hero-copy h1 {
  max-width: 880px;
  margin: 22px 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(56px, 7.6vw, 112px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero-copy h1 span {
  color: var(--brand-primary);
}

.hero-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--content-secondary);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 0 4px;
  border-top: 1px solid var(--line);
}

.hero-index span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-index strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 520;
  line-height: 1.18;
}

.featured {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  min-height: 620px;
  color: #fef8f7;
  background: var(--ink);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-section-y) var(--space-page-x);
  border-right: 1px solid var(--line-dark);
}

.featured-copy h2 {
  max-width: 650px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.featured-copy > div > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 18px;
  line-height: 1.55;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  color: var(--brand-primary);
  font-size: 15px;
  font-weight: 700;
}

.read-link span {
  transition: transform 0.2s ease;
}

.read-link:hover span {
  transform: translateX(5px);
}

.featured-visual {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: var(--brand-surface-secondary);
}

.featured-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured:hover .featured-cover {
  transform: scale(1.018);
}

.decision-stack {
  width: min(100%, 620px);
  display: grid;
  gap: 14px;
}

.decision-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.decision-card:nth-child(2) { margin-left: 8%; }
.decision-card:nth-child(3) { margin-left: 16%; }

.decision-number {
  color: var(--brand-hover);
  font-family: var(--font-mono);
  font-size: 12px;
}

.decision-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-card strong {
  font-size: 16px;
}

.decision-status {
  width: 9px;
  height: 9px;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--brand-wash);
}

.topics {
  padding: var(--space-section-y) var(--space-page-x);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading h2 {
  margin: 16px 0 0;
  font-size: var(--text-h2);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  justify-self: end;
  color: var(--content-secondary);
  line-height: 1.55;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.topic-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.topic-card:last-child { border-right: 0; }

.topic-card span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.topic-card h3 {
  max-width: 300px;
  margin: 0;
  font-size: var(--text-h3);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.topic-card p {
  margin: 12px 0 0;
  color: var(--content-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.topic-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--brand-primary);
  border-radius: 50%;
  font-family: var(--font-mono);
}

.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding: var(--space-section-y) var(--space-page-x);
  color: #fef8f7;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.newsletter h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 82px);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.newsletter p {
  margin: 0 0 24px;
  color: rgba(255, 253, 248, 0.68);
  line-height: 1.55;
}

.site-footer {
  padding: clamp(48px, 7vw, 88px) var(--space-page-x) 40px;
  color: var(--content-secondary);
  background: var(--surface-page);
  border-top: 1px solid var(--border-secondary);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
}

.site-footer-logo {
  display: block;
  width: 126px;
  height: auto;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 22px;
  color: var(--content-tertiary);
  border-top: 1px solid var(--border-secondary);
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .site-header-cta {
    display: none;
  }

  .mobile-menu { display: block; }

  .home-hero,
  .featured,
  .section-heading,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    align-items: start;
  }

  .hero-index {
    min-height: 160px;
  }

  .featured-copy {
    min-height: 540px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .section-heading > p { justify-self: start; }
  .newsletter { align-items: start; }
}

@media (max-width: 700px) {
  .site-header { height: 68px; }
  .mobile-menu-panel { top: 68px; }
  .wordmark img { width: 108px; }

  .home-hero {
    padding-top: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .featured-copy { min-height: 500px; }

  .featured-visual {
    min-height: 520px;
  }

  .decision-card,
  .decision-card:nth-child(2),
  .decision-card:nth-child(3) {
    margin-left: 0;
  }

  .topic-grid { grid-template-columns: 1fr; }

  .topic-card {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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