:root {
  --ink: #0c1210;
  --ink-2: #151d19;
  --ink-3: #1d2822;
  --leaf: #d6f25c;
  --leaf-ink: #1a2208;
  --copper: #d4893a;
  --bone: #f3ecdc;
  --mist: #9aaba2;
  --paper: #ebe3d2;
  --line: rgba(214, 242, 92, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --display: "Fraunces", "Times New Roman", serif;
  --text: "Figtree", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--bone);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(214, 242, 92, 0.08), transparent 55%),
    radial-gradient(900px 500px at 110% 20%, rgba(212, 137, 58, 0.08), transparent 50%),
    var(--ink);
  font-family: var(--text);
  font-size: 17.5px;
  line-height: 1.7;
  letter-spacing: -0.011em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 12px;
  z-index: 80;
  background: var(--leaf);
  color: var(--leaf-ink);
  padding: 8px 12px;
}

.tape {
  position: relative;
  z-index: 6;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #101714;
}

.tape-track {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  padding: 0.55rem 0;
  animation: slide 38s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9d6cc;
}

.tape-track span {
  white-space: nowrap;
}

.tape-track b {
  color: var(--leaf);
  font-weight: 500;
}

.desk-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 4vw;
  background: rgba(12, 18, 16, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.mark-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--leaf);
  color: var(--leaf-ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
}

.mark strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.mark small {
  display: block;
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  justify-content: center;
}

.nav a {
  color: var(--bone);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--leaf);
}

.cta-row {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-in {
  background: var(--leaf);
  color: var(--leaf-ink);
  box-shadow: 0 0 0 0 rgba(214, 242, 92, 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

.btn-up {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(243, 236, 220, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
}

.pulse-once {
  animation: pulse 2.4s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  padding: 3.2rem 4vw 2rem;
  align-items: end;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--leaf);
}

.lede {
  max-width: 40rem;
  color: #d8e0d9;
  font-size: 1.12rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.hero-cta .btn {
  min-height: 52px;
  padding: 0 1.4rem;
  font-size: 1.02rem;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.3rem 0 0;
  font-size: 0.86rem;
  color: var(--mist);
}

.crumb a {
  color: var(--mist);
  text-decoration: none;
}

.hero-card {
  background:
    linear-gradient(160deg, rgba(214, 242, 92, 0.12), transparent 42%),
    var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.hero-card h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.55rem;
}

.addr-list {
  display: grid;
  gap: 0.65rem;
}

.addr {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #101714;
  border: 1px solid var(--line);
}

.addr code {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--leaf);
}

.slider {
  position: relative;
  z-index: 1;
  margin: 0.4rem 4vw 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  min-height: 210px;
}

.slides {
  display: flex;
  width: 400%;
  animation: carousel 18s ease-in-out infinite;
}

.slide {
  width: 25%;
  padding: 2rem 2.2rem;
  min-height: 210px;
}

.slide:nth-child(1) { background: linear-gradient(120deg, #1a2a14, #0c1210); }
.slide:nth-child(2) { background: linear-gradient(120deg, #2a1c10, #0c1210); }
.slide:nth-child(3) { background: linear-gradient(120deg, #102028, #0c1210); }
.slide:nth-child(4) { background: linear-gradient(120deg, #1c1424, #0c1210); }

.slide strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin: 0.35rem 0 0.6rem;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 3.2rem 0 5.5rem;
}

.paper {
  background: var(--bone);
  color: #211c16;
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  margin: 0 0 1.6rem;
  box-shadow: var(--shadow);
}

.paper h2,
.paper h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.paper h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.9rem;
}

.paper h3 {
  font-size: 1.28rem;
  margin: 1.6rem 0 0.5rem;
}

.paper p,
.paper li {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.78;
}

.paper p {
  margin: 0 0 1rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: #6d6457;
  font-size: 0.86rem;
  margin-bottom: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 0.9rem 0 0.9rem 3.3rem;
  border-bottom: 1px dashed #d8d0be;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #1a2208;
  color: var(--leaf);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tile {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.tile h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.tile p {
  margin: 0;
  color: #d5ddd6;
  font-size: 0.98rem;
}

.score {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.score b {
  font-family: var(--display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--leaf);
}

.stars {
  color: var(--copper);
  letter-spacing: 0.12em;
}

.faq details {
  border-bottom: 1px solid #d8d0be;
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--text);
}

.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
}

.cal {
  width: 92px;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  background: var(--ink);
  color: var(--bone);
}

.cal span {
  display: block;
  background: var(--leaf);
  color: var(--leaf-ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem;
}

.cal strong {
  display: block;
  font-size: 1.8rem;
  padding: 0.55rem 0 0.15rem;
  font-family: var(--display);
}

.cal em {
  display: block;
  font-style: normal;
  color: var(--mist);
  padding-bottom: 0.6rem;
  font-size: 0.8rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(12, 18, 16, 0.94);
  border-top: 1px solid var(--line);
}

.dock .btn {
  flex: 1;
}

.lang {
  display: flex;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.lang a {
  color: var(--mist);
  text-decoration: none;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 2.4rem 4vw 6.5rem;
  color: var(--mist);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.notice {
  background: #2a1b10;
  color: #f0d7b8;
  border-left: 4px solid var(--copper);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 1.1rem 0;
  font-size: 0.95rem;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes carousel {
  0%, 18% { transform: translateX(0); }
  25%, 43% { transform: translateX(-25%); }
  50%, 68% { transform: translateX(-50%); }
  75%, 93% { transform: translateX(-75%); }
  100% { transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 242, 92, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(214, 242, 92, 0); }
}

@keyframes popin {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .desk-head {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 900px) {
  .hero,
  .split,
  .grid-3,
  .event {
    grid-template-columns: 1fr;
  }

  .desk-head {
    padding: 0.75rem 4vw;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero-card {
    transform: none;
  }

  .dock {
    display: flex;
  }

  .mark small {
    display: none;
  }

  body {
    font-size: 16.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
