:root {
  color-scheme: dark;
  --bg: #080705;
  --surface: #14100b;
  --surface-soft: #20170e;
  --paper: #ead2a2;
  --paper-deep: #b88439;
  --gold: #d8ad5f;
  --gold-bright: #f3d48b;
  --ink: #fff7e7;
  --muted: rgba(255, 247, 231, .72);
  --line: rgba(243, 212, 139, .22);
  --shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 173, 95, .22), transparent 34%),
    radial-gradient(circle at 18% 15%, rgba(109, 34, 28, .32), transparent 28%),
    radial-gradient(circle at 88% 45%, rgba(41, 75, 129, .22), transparent 30%),
    linear-gradient(135deg, #050403 0%, #12100e 46%, #030202 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: .22;
  z-index: -1;
}

a {
  color: inherit;
}

.page-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero__visual {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, .88), rgba(5, 4, 3, .34) 48%, rgba(5, 4, 3, .70)),
    linear-gradient(180deg, rgba(5, 4, 3, .20), rgba(5, 4, 3, .22) 44%, rgba(5, 4, 3, .92));
}

.hero__content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: .92;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 66px);
  line-height: 1.03;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.hero__season {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--gold-bright);
  font-size: clamp(19px, 2.2vw, 29px);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.hero__claim {
  max-width: 740px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #1b1207;
  background: linear-gradient(180deg, #f5ddb1, #d8ad5f 62%, #966328);
  box-shadow: 0 18px 52px rgba(216, 173, 95, .24);
}

.button--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .06);
}

.button--warm {
  color: #fff7e7;
  border-color: rgba(183, 47, 38, .44);
  background: rgba(128, 33, 27, .42);
}

.section {
  padding: 78px 0 0;
}

.section__inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 28px;
  align-items: center;
}

.about__image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #000;
}

.about__image img {
  width: 100%;
  aspect-ratio: 1.33;
  object-fit: cover;
  display: block;
}

.about__copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3.2vw, 42px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028)), rgba(14, 10, 7, .84);
  box-shadow: var(--shadow);
}

.about__copy p,
.section-heading p,
.final-cta p,
.process-grid p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.value-grid article,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, .045);
}

.value-grid span,
.process-grid b {
  color: var(--gold-bright);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

.value-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  max-width: 900px;
}

.section-heading p {
  margin: 14px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.filter.is-active {
  color: #171006;
  border-color: transparent;
  background: var(--gold);
}

.view-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.view-toggle__button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.view-toggle__button.is-active {
  color: #171006;
  background: var(--gold);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.directory-grid--list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.theme-link {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  text-decoration: none;
  background: #000;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .34);
  transition: transform .22s ease, border-color .22s ease;
}

.theme-link:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 212, 139, .58);
}

.theme-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  transition: transform .28s ease, opacity .28s ease;
}

.theme-link:hover img {
  transform: scale(1.04);
  opacity: .78;
}

.theme-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 16%, rgba(0, 0, 0, .38) 46%, rgba(0, 0, 0, .86));
}

.theme-link span,
.theme-link strong {
  position: relative;
  z-index: 2;
}

.theme-link span {
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theme-link strong {
  display: block;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.05;
}

.theme-row {
  display: grid;
  grid-template-columns: minmax(170px, .42fr) 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .055);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.theme-row:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 212, 139, .54);
  background: rgba(255, 255, 255, .085);
}

.theme-row__meta {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theme-row strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.theme-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.theme-row__activities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.theme-row__activities span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--soft);
  font-size: 12px;
}

.theme-detail {
  padding-top: 74px;
  scroll-margin-top: 18px;
}

.theme-card {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(9, 7, 5, .82);
  box-shadow: var(--shadow);
}

.theme-card__image {
  position: relative;
  background: #000;
}

.theme-card__image img {
  width: 100%;
  display: block;
}

.theme-card__copy {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.theme-card__copy p {
  color: var(--muted);
  line-height: 1.62;
  font-size: 17px;
}

.theme-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.theme-card__meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
  font-weight: 850;
}

.theme-card__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.theme-card__points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(234, 210, 162, .10), rgba(234, 210, 162, .035)),
    rgba(255, 255, 255, .035);
}

.theme-card__points h4 {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.theme-card__points ul,
.theme-card__points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.theme-card__points ul {
  padding-left: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.process-grid h3 {
  margin-top: 12px;
}

.final-cta {
  padding-bottom: 88px;
}

.final-cta .section__inner {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(216, 173, 95, .16), rgba(128, 33, 27, .16)),
    rgba(13, 9, 6, .88);
  box-shadow: var(--shadow);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-card strong,
.contact-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .055);
  text-decoration: none;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .theme-card__copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .section__inner--split,
  .value-grid,
  .process-grid,
  .theme-card__points {
    grid-template-columns: 1fr;
  }

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

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

  .theme-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 86vh;
  }

  .hero__content,
  .section__inner,
  .theme-card {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .theme-link {
    min-height: 220px;
  }

  .theme-detail {
    padding-top: 52px;
  }
}

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

  .button,
  .theme-link,
  .theme-link img,
  .reveal {
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.theme-detail,
.directory-grid,
.process-grid {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.floating-exit {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 40;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.floating-exit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 42px;
  border: 1px solid rgba(243, 212, 139, .38);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(10, 8, 5, .82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.floating-exit a:first-child {
  color: #1b1207;
  background: linear-gradient(180deg, #f5ddb1, #d8ad5f 62%, #966328);
}

@media (max-width: 760px) {
  .floating-exit {
    top: auto;
    right: 10px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
    transform: none;
  }

  .floating-exit a {
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
  }
}
