@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,640;0,9..144,720;1,9..144,500;1,9..144,600&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --ink: #241c14;
  --forest: #243d32;
  --moss: #3d5c4a;
  --blaze: #d06a2b;
  --blaze-dark: #b3551f;
  --clay: #8f4a3a;
  --paper: #f3ece1;
  --sand: #e6d9c8;
  --mist: #cfc4b4;
  --cream: #faf6ef;
  --white: #fffdf8;
  --line: rgba(36, 28, 20, 0.14);
  --shadow: 0 18px 40px rgba(36, 28, 20, 0.08);
  --radius: 18px;
  --header-h: 4.5rem;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Outfit", "Avenir Next", system-ui, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(208, 106, 43, 0.08), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(36, 61, 50, 0.07), transparent 45%),
    var(--paper);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--blaze-dark);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-mark {
  width: 1.7rem;
  height: 1.7rem;
  background: var(--forest);
  clip-path: polygon(50% 6%, 61% 38%, 96% 38%, 68% 59%, 79% 92%, 50% 72%, 21% 92%, 32% 59%, 4% 38%, 39% 38%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--blaze) 35%, transparent);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  color: var(--blaze-dark);
  box-shadow: inset 0 -2px 0 var(--blaze);
}

/* Footer */

.site-footer {
  margin-top: 4.5rem;
  background: var(--forest);
  color: #efe7da;
  padding: 3.2rem 0 1.6rem;
}

.site-footer a {
  color: #f3d3b4;
}

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.9fr 0.9fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
}

.site-footer h2 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  color: #c9bba8;
}

.site-footer address {
  font-style: normal;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.copyright {
  width: min(100% - 2rem, var(--max));
  margin: 2.2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(239, 231, 218, 0.18);
  font-size: 0.9rem;
  color: #c9bba8;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  margin-left: auto;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Buttons */

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-blaze {
  background: var(--blaze);
  color: var(--white);
}

.btn-blaze:hover {
  background: var(--blaze-dark);
  color: var(--white);
}

.btn-forest {
  background: var(--forest);
  color: var(--cream);
}

.btn-forest:hover {
  color: var(--cream);
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--mist);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.trail-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--blaze-dark);
}

.trail-link::after {
  content: " →";
}

/* Hero variants */

.station-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: stretch;
  padding: 2.6rem 0 1.2rem;
}

.station-board {
  background: var(--forest);
  color: var(--cream);
  border-radius: 28px;
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 32rem;
  box-shadow: var(--shadow);
}

.route-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7c4ae;
}

.route-row span {
  border: 1px solid rgba(239, 231, 218, 0.25);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.station-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  line-height: 1.08;
  font-weight: 640;
  margin: 1.4rem 0 1rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 32rem;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.journal-card {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  background: color-mix(in srgb, var(--cream) 92%, white);
  color: var(--ink);
  padding: 1rem 1.1rem;
  border-radius: 16px;
}

.journal-card p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.page-hero {
  padding: 2.8rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0.2rem 0 0.8rem;
}

.page-hero.bleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.quote-hero blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.6rem 0 0;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

.stat span {
  font-size: 0.88rem;
  color: #5c5348;
}

/* Sections */

section {
  padding: 2.6rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem;
}

.muted {
  color: #5c5348;
}

.grid-3,
.grid-2,
.cards {
  display: grid;
  gap: 1.1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid var(--line);
}

.benefit .num {
  font-family: var(--font-display);
  color: var(--blaze-dark);
  font-size: 1.4rem;
}

.benefit h2,
.benefit h3,
.ticket h2,
.ticket h3,
.post-card h2,
.course-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.4rem 0 0.5rem;
  line-height: 1.2;
}

.course-card,
.post-card,
.ticket,
.voice,
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.course-card img,
.post-card img,
.cover {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.card-body,
.ticket-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.meta {
  font-size: 0.86rem;
  color: #6a6156;
}

.ticket {
  position: relative;
  background:
    radial-gradient(circle at left center, var(--paper) 12px, transparent 13px),
    radial-gradient(circle at right center, var(--paper) 12px, transparent 13px),
    var(--white);
}

.ticket .price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin: 0.3rem 0;
}

.price small {
  font-size: 1rem;
  font-family: var(--font-ui);
  font-weight: 500;
}

.ticket ul {
  margin: 0.6rem 0 1rem;
  padding-left: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split img,
.frame img {
  border-radius: 22px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame {
  min-height: 22rem;
}

/* Syllabus trail */

.trail {
  border-left: 2px dashed var(--mist);
  margin: 1.2rem 0 0 0.7rem;
  padding-left: 1.4rem;
}

.station {
  position: relative;
  margin-bottom: 1.3rem;
}

.station::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  background: var(--blaze);
  border-radius: 50%;
  position: absolute;
  left: -1.88rem;
  top: 0.45rem;
}

.station h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* Reviews mix */

.voices {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.voice {
  padding: 1.3rem;
}

.voice p {
  margin-top: 0;
}

.stars {
  color: var(--blaze-dark);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.attr {
  font-size: 0.92rem;
  color: #5c5348;
  margin: 0;
}

.case {
  padding: 1.4rem;
}

.case h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

/* Blog article */

.article-hero img {
  width: 100%;
  height: min(28rem, 58vw);
  object-fit: cover;
  border-radius: 24px;
}

.prose {
  width: min(100% - 2rem, 44rem);
  margin: 2rem auto 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 2rem 0 0.6rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.prose p,
.prose li {
  font-size: 1.06rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--sand);
}

/* Forms */

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  color: var(--clay);
  font-weight: 500;
  font-size: 0.88rem;
}

.form-status {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.ok {
  display: block;
  background: #e4efe6;
  color: var(--forest);
}

.form-status.err,
.inline-error {
  display: block;
  background: #f7e4dc;
  color: var(--clay);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

.inline-error[hidden],
.form-status[hidden] {
  display: none !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.address-block {
  background: var(--forest);
  color: var(--cream);
  border-radius: 22px;
  padding: 1.5rem;
}

.address-block a {
  color: #f3d3b4;
}

.address-block address {
  font-style: normal;
}

/* 404 */

.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.lost h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.4rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.instructor {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.instructor img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 50%;
}

.notice {
  background: #efe3d2;
  border-left: 4px solid var(--blaze);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 960px) {
  .station-hero,
  .page-hero.bleed,
  .split,
  .contact-grid,
  .voices,
  .footer-grid,
  .stats,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .stats,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.55rem;
  }

  .station-hero,
  .page-hero.bleed,
  .split,
  .contact-grid,
  .voices,
  .footer-grid,
  .stats,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .station-board {
    min-height: 22rem;
  }

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

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