:root {
  --paper: #f6f2e9;
  --paper-deep: #e9e1d2;
  --ink: #102c32;
  --ink-soft: #4d6568;
  --teal: #006b69;
  --teal-dark: #004f50;
  --coral: #f06e52;
  --lemon: #f3cb54;
  --white: #fffdf8;
  --line: rgba(16, 44, 50, 0.17);
  --shadow: 0 18px 55px rgba(16, 44, 50, 0.12);
  --radius-sm: 12px;
  --radius-lg: 30px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(0, 107, 105, 0.11) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-route {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

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

.sponsor-strip {
  padding: 8px 20px;
  background: var(--ink);
  color: #e7f4f2;
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  text-align: center;
}

.sponsor-strip strong {
  color: var(--lemon);
  text-transform: uppercase;
}

.sponsor-strip a {
  color: var(--white);
}

.site-head {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 233, 0.94);
  backdrop-filter: blur(14px);
}

.head-shell {
  width: min(calc(100% - 40px), var(--content));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.wordmark-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  border-radius: 9px;
  background: var(--coral);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.top-nav {
  justify-self: end;
}

.top-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-nav a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 19px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.feature {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 58px 0 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 4px;
  border-radius: 2px;
  background: var(--coral);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

.feature h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 4.4vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.feature-intro {
  max-width: 580px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.09rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
}

.feature-visual {
  position: relative;
  padding: 0 0 34px 34px;
}

.feature-visual::before {
  position: absolute;
  inset: 36px 36px 0 0;
  z-index: -1;
  border-radius: 62% 38% 56% 44% / 42% 62% 38% 58%;
  background: var(--teal);
  content: "";
}

.feature-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 48% 18% 42% 22% / 24% 42% 21% 44%;
  box-shadow: var(--shadow);
}

.feature-caption {
  position: absolute;
  right: -12px;
  bottom: 10px;
  width: min(295px, 70%);
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.feature-caption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.reading-layout {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(235px, 1fr);
  align-items: start;
  gap: 72px;
}

.story {
  min-width: 0;
}

.story > p {
  margin: 0 0 24px;
}

.story .lead {
  padding-top: 30px;
  border-top: 5px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.52;
}

.story h2 {
  margin: 58px 0 20px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.story h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.aside-note {
  position: sticky;
  top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 7px var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(16, 44, 50, 0.08);
}

.aside-note span {
  display: block;
  margin-bottom: 9px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aside-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.55;
}

.aside-note a {
  font-weight: 800;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 42px;
}

.format-card {
  min-height: 230px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 5px 25px 5px 25px;
  background: rgba(255, 253, 248, 0.7);
}

.format-card:nth-child(2) {
  transform: translateY(16px);
  background: var(--teal);
  color: var(--white);
}

.format-card:nth-child(2) p {
  color: #d9efec;
}

.format-index {
  display: block;
  margin-bottom: 35px;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.format-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.info-ribbon {
  margin: 38px 0;
  padding: 26px 28px;
  border-left: 6px solid var(--lemon);
  background: var(--ink);
  color: var(--white);
}

.info-ribbon p {
  margin: 0;
}

.info-ribbon a {
  color: var(--lemon);
}

.scene {
  margin: 45px 0;
}

.scene img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 9px 50px 9px 9px;
}

.scene figcaption {
  max-width: 610px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.path-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 46px;
  padding: 0;
  counter-reset: path;
  list-style: none;
}

.path-list li {
  position: relative;
  min-height: 150px;
  padding: 22px 22px 20px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  counter-increment: path;
}

.path-list li::before {
  position: absolute;
  top: 19px;
  left: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lemon);
  content: counter(path);
  font-weight: 900;
}

.path-list strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.path-list span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.partner-panel {
  position: relative;
  overflow: hidden;
  margin: 50px 0;
  padding: 39px;
  border-radius: 8px 50px 8px 50px;
  background: var(--coral);
  color: #291811;
}

.partner-panel::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 160px;
  height: 160px;
  border: 25px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.partner-label {
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.partner-panel h2 {
  max-width: 570px;
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.partner-panel > p:not(.partner-label, .partner-disclosure) {
  max-width: 570px;
  margin: 0 0 24px;
}

.action-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--lemon);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.action-link:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--lemon);
}

.partner-disclosure {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: 0.71rem;
  line-height: 1.45;
}

.source-box {
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.source-box h2 {
  margin: 0 0 18px;
  font-family: Inter, "Avenir Next", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-box ul {
  margin: 0;
  padding-left: 20px;
}

.source-box li {
  margin-bottom: 11px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.source-box a {
  font-weight: 750;
}

.site-foot {
  padding: 48px 0;
  background: var(--ink);
  color: #c6d8d7;
}

.foot-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(300px, 1.3fr);
  gap: 50px;
}

.site-foot .wordmark {
  color: var(--white);
}

.foot-note {
  max-width: 650px;
  margin: 0 0 20px;
  font-size: 0.74rem;
}

.foot-identity {
  margin: 18px 0 0;
  color: #c6d8d7;
  font-size: 0.7rem;
  line-height: 1.65;
}

.foot-identity a {
  color: #e6f1ef;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.foot-links a {
  color: #e6f1ef;
  font-size: 0.76rem;
}

.copyright {
  margin-top: 18px;
  color: #8eaaa9;
  font-size: 0.7rem;
}

.legal-main {
  width: min(calc(100% - 40px), 880px);
  margin: 0 auto;
  padding: 62px 0 90px;
}

.legal-head {
  margin-bottom: 48px;
  padding: 36px;
  border-radius: 7px 45px 7px 7px;
  background: var(--teal);
  color: var(--white);
}

.legal-head .eyebrow {
  color: var(--lemon);
}

.legal-head h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.legal-head p {
  margin: 0;
  color: #d7ecea;
}

.legal-copy {
  padding: 0 35px;
}

.legal-copy h2 {
  margin: 42px 0 12px;
  font-size: 1.5rem;
  font-weight: 500;
}

.legal-copy p {
  margin: 0 0 18px;
}

.legal-copy ul {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.legal-copy li {
  margin-bottom: 8px;
}

.cookie-layer {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: min(470px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px 18px 5px 18px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.cookie-layer[hidden] {
  display: none;
}

.cookie-layer h2 {
  margin: 0 0 8px;
  font-family: Inter, "Avenir Next", sans-serif;
  font-size: 1rem;
}

.cookie-layer p {
  margin: 0;
  color: #cfe1df;
  font-size: 0.78rem;
  line-height: 1.5;
}

.cookie-layer a {
  color: var(--lemon);
}

.cookie-actions {
  display: flex;
  gap: 9px;
  margin-top: 17px;
}

.cookie-actions button {
  flex: 1;
  min-height: 43px;
  border: 1px solid #638080;
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.cookie-actions button:last-child {
  border-color: var(--lemon);
  background: var(--lemon);
  color: var(--ink);
}

@media (max-width: 940px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-copy {
    max-width: 780px;
  }

  .feature-visual {
    margin-left: auto;
  }

  .feature-visual img {
    aspect-ratio: 2 / 1;
  }

  .reading-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .aside-note {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .head-shell {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    padding: 10px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .top-nav.is-open {
    display: block;
  }

  .top-nav ul {
    display: grid;
    gap: 0;
  }

  .top-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .feature {
    padding-top: 40px;
  }

  .feature h1 {
    font-size: clamp(2.35rem, 9vw, 3.55rem);
  }

  .feature-visual {
    padding-left: 14px;
  }

  .feature-caption {
    right: 0;
  }

  .reading-layout {
    gap: 25px;
  }

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

  .format-card {
    min-height: auto;
  }

  .format-card:nth-child(2) {
    transform: none;
  }

  .format-index {
    margin-bottom: 18px;
  }

  .path-list {
    grid-template-columns: 1fr;
  }

  .partner-panel {
    padding: 30px 24px;
  }

  .foot-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-main {
    padding-top: 35px;
  }

  .legal-head {
    padding: 28px 24px;
  }

  .legal-copy {
    padding: 0 4px;
  }
}

@media (max-width: 460px) {
  .feature,
  .reading-layout,
  .head-shell,
  .foot-shell,
  .legal-main {
    width: min(calc(100% - 28px), var(--content));
  }

  .feature {
    padding-bottom: 45px;
  }

  .feature h1 {
    font-size: 2.25rem;
  }

  .feature-visual {
    padding: 0 0 27px;
  }

  .feature-visual::before {
    inset: 25px 20px 0 15px;
  }

  .feature-caption {
    width: 80%;
  }

  .story h2 {
    margin-top: 45px;
  }

  .cookie-layer {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .cookie-actions {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
