:root {
  --paper: #f8f5ec;
  --ink: #1f2a2a;
  --muted: #60706b;
  --line: #d9d0bf;
  --petrol: #174e57;
  --coral: #d96d57;
  --sage: #9aa985;
  --sun: #e7bd57;
  --blue: #dce9ef;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 42, 42, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

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

p {
  margin: 0 0 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(248, 245, 236, 0.92);
  border-bottom: 1px solid rgba(31, 42, 42, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--petrol);
  border-radius: 50%;
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font: 700 0.9rem Arial, Helvetica, sans-serif;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--coral);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.45rem, 8vw, 6.7rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.lead {
  max-width: 760px;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 800 0.92rem Arial, Helvetica, sans-serif;
}

.button.primary {
  color: var(--white);
  background: var(--petrol);
  border-color: var(--petrol);
}

.button.ghost {
  background: transparent;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  border-radius: 36px 36px 4px 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(160deg, var(--sun), var(--sage) 46%, var(--petrol));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-line {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.65);
}

.panel-line.one {
  top: 25%;
}

.panel-line.two {
  top: 48%;
  left: 25%;
}

.panel-line.three {
  top: 72%;
  right: 28%;
}

.panel-dot {
  position: absolute;
  right: 16%;
  top: 16%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.18);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.intro-copy {
  font-size: 1.1rem;
}

.feature-band {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}

.feature-band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.band-heading {
  margin-bottom: 2rem;
}

.feature-lanes {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.lane {
  min-height: 260px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(248, 245, 236, 0.22);
  border-radius: 0 28px 28px 28px;
  background: rgba(255, 255, 255, 0.055);
}

.lane-large {
  grid-row: span 2;
}

.lane-accent {
  background: var(--coral);
  color: var(--white);
}

.lane .number {
  display: inline-block;
  margin-bottom: 2rem;
  font: 800 0.8rem Arial, Helvetica, sans-serif;
}

.lane p {
  color: rgba(248, 245, 236, 0.82);
}

.lane a {
  display: inline-block;
  margin-top: 1rem;
  border-bottom: 1px solid currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.article-river {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.river-list {
  display: grid;
  gap: 1rem;
}

.river-item {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px 4px 24px 24px;
}

.river-item time {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

.quote-strip {
  max-width: none;
  background: var(--blue);
}

.quote-strip p {
  max-width: 950px;
  margin: 0 auto;
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.reading-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 820px);
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.reading-aside {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-left: 5px solid var(--coral);
  font-family: Arial, Helvetica, sans-serif;
}

.reading-aside a {
  color: var(--muted);
}

.longform {
  font-size: 1.1rem;
}

.longform h1 {
  font-size: clamp(2.4rem, 6vw, 5.1rem);
}

.longform section,
.policy h2 {
  margin-top: 3rem;
}

.longform h2,
.policy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.8rem);
}

.narrow-hero {
  max-width: 980px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem);
}

.tile {
  min-height: 260px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px 26px 6px 26px;
}

.tile.tall {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--petrol);
  color: var(--white);
}

.tile.wide {
  grid-column: span 2;
  background: var(--blue);
}

.accent-tile {
  background: var(--sun);
}

.tab-interface {
  max-width: 960px;
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tab-button {
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  font: 800 0.9rem Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.tab-button.active {
  color: var(--white);
  background: var(--petrol);
}

.tab-panel {
  display: none;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px 30px 8px 30px;
}

.tab-panel.active {
  display: block;
}

.timeline {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem);
  border-left: 4px solid var(--petrol);
}

.timeline article {
  position: relative;
  margin-left: 1.5rem;
  padding: 1.6rem 0 2rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 1.9rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
}

.timeline span {
  color: var(--muted);
  font: 800 0.8rem Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.contact-card,
.form-wrap,
.thanks-box {
  padding: clamp(1.2rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card {
  margin-top: 2rem;
}

.contact-card address,
.site-footer address {
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: #fffdf8;
  color: var(--ink);
  font: 1rem Arial, Helvetica, sans-serif;
}

.checkline {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 400;
}

.thanks-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.thanks-box {
  max-width: 740px;
  text-align: center;
}

.policy-page {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.policy {
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 30px 30px 30px;
}

.policy h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  color: rgba(248, 245, 236, 0.74);
  max-width: 420px;
  margin-top: 0.8rem;
}

.site-footer nav {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer a {
  border-bottom: 1px solid rgba(248, 245, 236, 0.35);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open,
  .simple-nav {
    display: grid;
  }

  .hero,
  .intro-grid,
  .article-river,
  .reading-shell,
  .contact-page,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 280px;
  }

  .feature-lanes,
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .lane-large,
  .tile.tall,
  .tile.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .reading-aside {
    position: static;
  }

  .site-footer nav {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 0.85rem 1rem;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: clamp(2.1rem, 14vw, 3.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }
}
