:root {
  --bg-dark: #1a1713;
  --bg-deep: #100e0c;
  --bg-paper: #f2ede4;
  --bg-panel: #d3c3ab;
  --paper-line: #d7cfc2;
  --panel-line: rgba(255, 255, 255, 0.12);
  --text-dark: #2f2822;
  --text-main: #f6f0e8;
  --text-soft: #cbbfae;
  --text-muted: #9d907f;
  --accent: #a5885d;
  --accent-dark: #7f6642;
  --accent-olive: #596056;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1280px;
  --header-height: 88px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  background: var(--bg-paper);
  color: var(--text-dark);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(165, 136, 93, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 999;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: var(--bg-deep);
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.section-dark {
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(165, 136, 93, 0.12), transparent 34%),
    linear-gradient(180deg, #201b16 0%, #16120f 100%);
}

.section-paper {
  background:
    radial-gradient(circle at top right, rgba(165, 136, 93, 0.08), transparent 28%),
    linear-gradient(180deg, #f4efe6 0%, #efe8dc 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 15, 12, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  color: var(--text-main);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.menu-toggle span {
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 1rem auto 1rem;
  display: none;
  border-radius: 24px;
  padding: 1rem;
  background: rgba(20, 17, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

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

.nav-list,
.footer-list,
.feature-list,
.rules-stack,
.date-list,
.info-list,
.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: grid;
  gap: 0.45rem;
}

.nav-list a,
.footer-list a {
  color: var(--text-soft);
  transition: color 180ms ease;
}

.nav-list a:hover,
.footer-list a:hover {
  color: var(--text-main);
}

.nav-cta {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.92rem 1.35rem;
  border: 1px solid rgba(165, 136, 93, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #b3966b 0%, #9d8157 100%);
  color: #17120d;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 14px 28px rgba(106, 83, 54, 0.22);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(106, 83, 54, 0.26);
}

.button-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.button-small {
  min-height: 2.9rem;
  padding-inline: 1rem;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 2rem 0 4rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.28), rgba(12, 10, 8, 0.68)),
    radial-gradient(circle at left top, rgba(165, 136, 93, 0.16), transparent 30%),
    url("assets/img/hero-texture.svg");
  background-size: cover, auto, cover;
  opacity: 1;
}

.hero-shell {
  position: relative;
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(34, 28, 22, 0.92), rgba(21, 17, 14, 0.86));
  padding: 1.25rem;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0.35rem 0.5rem;
}

.badge,
.eyebrow,
.hero-kicker {
  width: fit-content;
  margin: 0 0 1rem;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  border: 1px solid rgba(165, 136, 93, 0.28);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.badge {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.eyebrow {
  background: rgba(165, 136, 93, 0.12);
  color: var(--accent-dark);
}

.hero-kicker {
  color: var(--text-soft);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.hero h1,
.section-heading h2,
.presenter-copy h2,
.site-footer h2,
.legal-page h1 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  max-width: 8ch;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  color: var(--text-main);
}

.hero-lead,
.section-heading p,
.mosaic-card p,
.timeline-item p,
.presenter-copy p,
.faq-item p,
.site-footer p,
.legal-page p,
.legal-page li {
  color: var(--text-soft);
}

.hero-lead {
  max-width: 58ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.hero-meta span {
  color: var(--text-soft);
  text-align: right;
}

.hero-media {
  position: relative;
  min-height: 420px;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  background: linear-gradient(180deg, #2b241e 0%, #181310 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 21rem;
  border-radius: 20px;
  padding: 1rem 1.1rem;
  background: rgba(19, 16, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.hero-note strong,
.quote-box strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-note p,
.quote-box p {
  margin: 0;
}

.showcase-grid {
  display: grid;
  gap: 2rem;
}

.main-column,
.side-column {
  display: grid;
  gap: 2rem;
  align-content: start;
}

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

.section-heading.compact {
  margin-bottom: 1.4rem;
}

.section-heading h2,
.presenter-copy h2,
.site-footer h2,
.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-paper .section-heading p,
.section-paper .mosaic-card p,
.section-paper .timeline-item p,
.section-paper .presenter-copy p,
.section-paper .faq-item p {
  color: #64594c;
}

.feature-mosaic,
.dual-panel,
.contact-actions,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.mosaic-card,
.mosaic-photo,
.paper-card,
.presenter-card,
.rail-panel,
.faq-item,
.legal-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mosaic-card,
.paper-card,
.rail-panel,
.faq-item,
.legal-card {
  border: 1px solid rgba(77, 62, 48, 0.1);
}

.mosaic-card,
.paper-card,
.rail-panel,
.presenter-card,
.faq-item,
.legal-card {
  background: rgba(255, 255, 255, 0.75);
}

.mosaic-card,
.paper-card,
.rail-panel,
.legal-card {
  padding: 1.35rem;
}

.texture-card {
  background:
    radial-gradient(circle at top left, rgba(165, 136, 93, 0.2), transparent 35%),
    linear-gradient(160deg, #a08a67 0%, #7f694a 100%);
  color: #f8f4ef;
}

.texture-card h3,
.olive-card h3,
.statement-card h3 {
  color: inherit;
}

.texture-card .feature-list li,
.olive-card .feature-list li {
  color: rgba(255, 255, 255, 0.9);
}

.olive-card {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(160deg, #63695f 0%, #4c5448 100%);
  color: #f5f1ea;
}

.statement-card {
  background: #f8f3ea;
}

.mosaic-photo {
  min-height: 270px;
  background: linear-gradient(180deg, #d6c7b0 0%, #cbb998 100%);
}

.mosaic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: #4f4337;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

.paper-card.muted-card {
  background: rgba(255, 255, 255, 0.5);
}

.timeline {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(77, 62, 48, 0.1);
}

.timeline-index {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(165, 136, 93, 0.14);
  color: var(--accent-dark);
  font-weight: 700;
}

.timeline-item h3,
.mosaic-card h3,
.paper-card h3,
.rail-panel h3,
.site-footer h3,
.legal-card h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.timeline-item p {
  margin: 0;
}

.presenter-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.2rem;
}

.presenter-photo img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  background: linear-gradient(180deg, #d1c1ab 0%, #b59d79 100%);
}

.quote-box {
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: rgba(165, 136, 93, 0.12);
  color: var(--text-dark);
}

.side-column {
  position: relative;
}

.sticky-panel {
  position: relative;
}

.rail-panel {
  background: linear-gradient(180deg, rgba(213, 195, 171, 0.92), rgba(198, 182, 159, 0.95));
}

.rail-title {
  margin: 0 0 1rem;
  color: #4e4133;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-stack {
  display: grid;
  gap: 0.72rem;
}

.rules-stack li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
}

.rules-stack li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
}

.rail-note,
.contact-panel p,
.contact-number {
  color: #5d5042;
}

.date-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.date-list li {
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.42);
  color: var(--text-dark);
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 0.6rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-dark);
  padding-top: 0.72rem;
  border-top: 1px solid rgba(77, 62, 48, 0.12);
}

.info-list span {
  color: #6d6052;
  text-align: right;
}

.contact-panel h3 {
  margin-bottom: 0.6rem;
}

.contact-number {
  margin: 1rem 0 0;
}

.contact-number a {
  color: var(--accent-dark);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 0 1.15rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.45rem;
  color: var(--accent-dark);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 0 1.1rem;
}

.site-footer {
  background:
    radial-gradient(circle at center, rgba(165, 136, 93, 0.1), transparent 34%),
    linear-gradient(180deg, #17130f 0%, #100d0a 100%);
  color: var(--text-main);
  padding: 4rem 0 2rem;
}

.footer-grid {
  margin-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--text-main);
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.95rem;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
}

.footer-list li,
.site-footer p,
.footer-bottom p {
  color: var(--text-soft);
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(165, 136, 93, 0.12), transparent 24%),
    linear-gradient(180deg, #f4efe6 0%, #ebe1d2 100%);
  color: var(--text-dark);
}

.legal-header {
  padding: 2rem 0 1rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #635749;
  font-weight: 600;
}

.legal-main {
  padding: 1rem 0 4rem;
}

.legal-card {
  max-width: 940px;
  margin: 0 auto;
}

.legal-meta {
  margin-bottom: 2rem;
  color: #716454;
}

.legal-card section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(77, 62, 48, 0.1);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (min-width: 760px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-mosaic,
  .dual-panel,
  .contact-actions,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .presenter-card {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

@media (min-width: 1080px) {
  :root {
    --header-height: 94px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
  }

  .nav-cta {
    width: auto;
    margin-top: 0;
  }

  .hero {
    padding-top: 2.2rem;
    padding-bottom: 5rem;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    min-height: 760px;
    padding: 1.5rem;
  }

  .hero-copy {
    padding: 2.5rem 2rem 2rem 2.25rem;
  }

  .showcase-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    align-items: start;
  }

  .sticky-panel {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }

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

  .mosaic-photo {
    min-height: 304px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 1fr 0.9fr;
  }
}

@media (max-width: 759px) {
  .hero-note {
    position: static;
    margin-top: 0.75rem;
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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