:root,
[data-theme="dark"] {
  --bg: #000000;
  --text: #f7f3ee;
  --muted: #c9c2b8;
  --emerald: #3dffc0;
  --pink: #ff4d9a;
  --line: rgba(255, 255, 255, 0.12);
  --slot: #050505;
  --header: rgba(0, 0, 0, 0.42);
  --header-solid: rgba(0, 0, 0, 0.82);
  --band: rgba(0, 0, 0, 0.55);
  --card: rgba(8, 8, 8, 0.88);
  --input: rgba(255, 255, 255, 0.04);
  --halo: rgba(0, 0, 0, 0.75);
  --ink: #1a1014;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f1ea;
  --text: #1c1614;
  --muted: #5c534c;
  --emerald: #0c8f62;
  --pink: #d42a78;
  --line: rgba(28, 22, 20, 0.14);
  --slot: #fbf7f2;
  --header: rgba(246, 241, 234, 0.72);
  --header-solid: rgba(246, 241, 234, 0.92);
  --band: rgba(246, 241, 234, 0.74);
  --card: rgba(255, 252, 249, 0.92);
  --input: rgba(255, 255, 255, 0.72);
  --halo: rgba(246, 241, 234, 0.88);
  --ink: #1a1014;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea,
output {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, p, ul, figure, blockquote, dl {
  margin: 0;
}

h1, h2, h3, .logo, .pull p, .highlights strong, .num {
  font-family: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.05rem, 7.6vw, 6.15rem);
  line-height: 0.92;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  line-height: 1.02;
  text-wrap: balance;
  margin: 0.35rem 0 0.8rem;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

a {
  color: inherit;
}

::selection {
  background: #ff4d9a;
  color: #1a1014;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--emerald);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

#sky,
.static-glow,
.vignette {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#sky {
  z-index: 0;
  display: block;
}

.static-glow {
  display: none;
  z-index: 0;
}

.vignette {
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.5) 100%);
}

[data-theme="light"] .vignette {
  background: radial-gradient(ellipse at center, transparent 50%, rgba(90, 40, 55, 0.1) 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 70;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--emerald), var(--pink));
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(to bottom, var(--header), transparent);
}

.site-header.is-scrolled {
  background: var(--header-solid);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
  font-size: clamp(0.92rem, 2vw, 1.22rem);
  font-style: italic;
  white-space: nowrap;
}

.logo-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--pink));
  box-shadow: 0 0 14px color-mix(in srgb, var(--pink) 70%, transparent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--text);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-sun,
.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun,
[data-theme="light"] .icon-moon {
  display: block;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }

.menu-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  display: none;
}

.nav-panel a {
  text-decoration: none;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-panel a:hover {
  color: var(--text);
}

.nav-book {
  color: var(--ink) !important;
  background: linear-gradient(110deg, #12c48a 0%, #1ec9a0 42%, #ff4d9a 100%);
  font-weight: 600;
}

.nav-panel.is-open {
  display: grid;
  position: absolute;
  top: 4.35rem;
  left: 0.8rem;
  right: 0.8rem;
  padding: 0.55rem;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.nav-panel.is-open a {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
}

.nav-panel.is-open .nav-book {
  text-align: center;
  margin-top: 0.2rem;
  padding: 0.75rem 0.85rem;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  min-height: calc(100svh - 4.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.35rem 1.2rem 1.2rem;
  text-align: center;
}

.hero-copy {
  width: min(52rem, 100%);
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.hero h1 {
  width: min(100%, 12.6em);
  max-width: 100%;
  margin: 0;
  color: var(--text);
  text-shadow: none;
}

.name-outline {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.name-outline text {
  font-family: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 520;
  letter-spacing: -0.03em;
}

.stop-emerald { stop-color: #3dffc0; }
.stop-pink { stop-color: #ff4d9a; }

[data-theme="light"] .stop-emerald { stop-color: #0c8f62; }
[data-theme="light"] .stop-pink { stop-color: #d42a78; }

.hero .lede,
.hero .kicker,
.hero .hero-promise {
  text-shadow: 0 2px 24px var(--halo);
}

.portrait {
  margin: 1.2rem 0 1.45rem;
}

.portrait-ring {
  width: min(228px, 46vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  filter: drop-shadow(0 0 22px rgba(61, 255, 192, 0.22)) drop-shadow(0 0 28px rgba(255, 77, 154, 0.2));
}

.portrait-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #3dffc0, #ff4d9a, #8dffe0, #ff8ec4, #3dffc0);
  animation: spin 18s linear infinite;
}

.portrait-slot {
  position: relative;
  z-index: 1;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(61, 255, 192, 0.16), transparent 46%),
    radial-gradient(circle at 62% 68%, rgba(255, 77, 154, 0.16), transparent 42%),
    var(--slot);
  display: grid;
  place-items: center;
}

.portrait-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kicker {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
}

.kicker.pink {
  color: var(--pink);
}

.hero-promise {
  font-family: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 16em;
  text-wrap: balance;
}

.lede {
  color: var(--text);
  font-size: 1.12rem;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(110deg, #12c48a 0%, #1ec9a0 40%, #ff4d9a 100%);
  color: var(--ink);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--pink);
  color: var(--pink);
}

.scroll-cue {
  margin-top: auto;
  padding-top: 1.6rem;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
  animation: bob 2.4s ease-in-out infinite;
}

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding-right: 1.15rem;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.green-word { color: var(--emerald); }
.pink-word { color: var(--pink); }

.marquee-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.marquee-note {
  width: 0.82em;
  height: 0.78em;
  flex: none;
  overflow: visible;
}

section[id] {
  scroll-margin-top: 5rem;
}

.band {
  padding: clamp(4.2rem, 8vw, 6.4rem) 0;
  background: var(--band);
}

.intro {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.intro p:not(.kicker) {
  color: var(--muted);
  text-shadow: 0 1px 14px var(--halo);
}

.intro h2 {
  text-shadow: 0 1px 16px var(--halo);
}

.deposit-intro {
  margin-bottom: 0;
}

.deposit-intro .btn {
  margin-top: 0.35rem;
}

.deposit-intro .form-help {
  margin-top: 1rem;
  max-width: 36rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}

.about-grid .intro p:not(.kicker) {
  margin-top: 0.8rem;
}

.pull {
  margin-top: 1.6rem;
  padding-top: 0.2rem;
}

.pull p {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.2;
  text-shadow: 0 1px 16px var(--halo);
}

.key-word {
  white-space: nowrap;
}

.key-note {
  display: inline-block;
  width: 0.72em;
  height: 0.7em;
  margin-left: 0.08em;
  vertical-align: -0.02em;
}

.pull footer {
  margin-top: 0.55rem;
  color: var(--pink);
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highlights {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.highlights li,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.highlights li {
  padding: 0.95rem 1rem 1rem 1.05rem;
  display: grid;
  gap: 0.2rem;
  border-left: 2px solid var(--emerald);
}

.highlights li:nth-child(even) {
  border-left-color: var(--pink);
}

.highlights strong {
  font-size: 1.2rem;
}

.highlights span,
.service-card p,
.stage-card p,
.reel p,
.book-aside li,
.contact-bits dd,
.form-help {
  color: var(--muted);
}

.services,
.stages,
.reels {
  display: grid;
  gap: 0.9rem;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1rem 1.2rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--pink));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3,
.stage-card h3,
.reel h3 {
  margin-top: 0.15rem;
}

.service-card p,
.stage-card p,
.reel p {
  font-size: 0.96rem;
}

.icon-gem {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--emerald);
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pink) 45%, transparent);
}

.icon-gem svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(even) .icon-gem {
  color: var(--pink);
  background: color-mix(in srgb, var(--pink) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--emerald) 45%, transparent);
}

.also {
  margin-top: 1.2rem;
  color: var(--muted);
}

.also span:nth-child(odd) { color: var(--emerald); }
.also span:nth-child(even) { color: var(--pink); }

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

.stage-card {
  padding: 1.15rem 1rem 1.25rem;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.num {
  font-size: 2.4rem;
  font-style: italic;
  line-height: 1;
  background: linear-gradient(120deg, var(--emerald), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.reel {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 1.15rem;
  display: grid;
  align-items: end;
}

.reel-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(61, 255, 192, 0.38), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(255, 77, 154, 0.42), transparent 38%);
}

.reel:nth-child(2) .reel-glow {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 77, 154, 0.42), transparent 34%),
    radial-gradient(circle at 24% 78%, rgba(61, 255, 192, 0.34), transparent 38%);
}

.reel:nth-child(3) .reel-glow {
  background:
    radial-gradient(circle at 50% 18%, rgba(61, 255, 192, 0.3), transparent 32%),
    radial-gradient(circle at 70% 80%, rgba(255, 77, 154, 0.4), transparent 40%);
}

.reel-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
}

.play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  color: var(--ink);
  background: linear-gradient(140deg, #3dffc0, #ff4d9a);
}

.play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.book-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 0.95rem;
  align-items: start;
}

.book-card,
.book-aside {
  padding: 1.15rem;
}

.book-card {
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--input);
  padding: 0.78rem 0.85rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--emerald) 50%), linear-gradient(135deg, var(--emerald) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  color-scheme: light;
  color: #1c1614;
  background-color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
}

.book-card .btn {
  width: 100%;
}

.form-help,
.form-status {
  font-size: 0.92rem;
}

.form-status {
  display: block;
  margin: 0;
  color: var(--emerald);
}

.book-aside h3 {
  margin-bottom: 0.8rem;
}

.book-aside ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.contact-bits {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.contact-bits div {
  display: grid;
  gap: 0.1rem;
}

.contact-bits dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

.contact-bits dd {
  margin: 0;
}

.contact-bits a,
.form-help a {
  color: var(--text);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-bits a:hover,
.form-help a:hover {
  color: var(--emerald);
}

.site-footer {
  background: var(--band);
  border-top: 1px solid var(--line);
}

.footer-bar {
  min-height: 4.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding: 1rem 0 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-role {
  color: var(--text);
}

.footer-bar a {
  color: var(--emerald);
  text-decoration: none;
}

.footer-bar a:hover {
  color: var(--pink);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bob {
  50% { transform: translateY(6px); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .nav-panel,
  .nav-panel.is-open {
    display: flex;
    position: static;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-book {
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
  }

  body.menu-open {
    overflow: auto;
  }

  .highlights {
    position: sticky;
    top: 6rem;
  }
}

@media (max-width: 1040px) {
  .services,
  .stages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .about-grid,
  .book-grid,
  .reels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services,
  .stages,
  .form-row {
    grid-template-columns: 1fr;
  }

  .portrait-ring {
    width: min(168px, 44vw);
  }
}

@media (max-height: 760px) and (min-width: 700px) {
  .portrait-ring {
    width: min(168px, 26vh);
  }
}

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

  #sky {
    display: none;
  }

  .static-glow {
    display: block;
    background:
      radial-gradient(circle at 18% 20%, rgba(61, 255, 192, 0.2), transparent 26%),
      radial-gradient(circle at 80% 16%, rgba(255, 77, 154, 0.18), transparent 24%),
      radial-gradient(circle at 72% 74%, rgba(61, 255, 192, 0.12), transparent 22%),
      radial-gradient(circle at 20% 80%, rgba(255, 77, 154, 0.14), transparent 26%),
      var(--bg);
  }

  .marquee-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.4rem;
    transform: none !important;
    animation: none !important;
  }

  .marquee-group + .marquee-group {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
