:root {
  --pool: #0AA5E0;
  --pool-deep: #0786BA;
  --sky: #DDF4FF;
  --sun: #FFC233;
  --melon: #FF4F6D;
  --melon-deep: #E0284D;   /* white text passes 4.5:1 */
  --pool-hero: #0077B6;    /* white text passes 4.5:1 */
  --mint: #7FE0C2;
  --ink: #102A43;
  --white: #FFFFFF;

  --display: "Shrikhand", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 16px 28px;
  border-radius: 999px;
  border: 0;
  font: 700 1.0625rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-melon { background: var(--melon-deep); color: var(--white); box-shadow: 0 4px 0 #A51D3A; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 #D99A00; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(16,42,67,.08); }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav nav a { text-decoration: none; font-weight: 600; color: var(--white); transition: color .25s; }
.nav.scrolled nav a { color: var(--ink); }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.wordmark {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  transition: color .25s;
}
.wordmark span { font-family: var(--sans); font-weight: 700; font-size: .5em; margin-left: .35em; letter-spacing: .02em; vertical-align: .35em; }
.nav.scrolled .wordmark { color: var(--pool); }
.wordmark-light { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  --sunset: 0;
  background: radial-gradient(ellipse 60% 80% at 88% 38%, #4FCBF6 0%, #0A9BD8 28%, var(--pool-hero) 52%), var(--pool-hero);
  color: var(--white);
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 160px;
}
.sun {
  position: absolute;
  width: min(50vw, 680px); aspect-ratio: 1;
  right: -10vw; top: 50%;
  transform: translateY(-40%);
  will-change: transform;
}
.sun-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #FFF1B8 0%, color-mix(in srgb, #FF7A3D calc(var(--sunset) * 100%), var(--sun)) 45%, color-mix(in srgb, #FF4F6D calc(var(--sunset) * 100%), #FFAE1F) 100%);
  box-shadow: 0 0 0 28px rgba(255,194,51,.28), 0 0 0 60px rgba(255,194,51,.14), 0 0 160px 40px rgba(255,194,51,.45);
}
.sun-rays {
  position: absolute; inset: -38%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,224,130,.38) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 32%, transparent 70%);
          mask: radial-gradient(circle, #000 32%, transparent 70%);
  animation: spin 80s linear infinite;
}
.hero-night {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #0B1B3A 0%, #2A2366 55%, #6A2C6E 100%);
  opacity: calc(var(--sunset) * .92);
}
.hero-stars { position: absolute; inset: 0; pointer-events: none; opacity: calc(var(--sunset) * 1.4 - .2); }
.hero-stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; animation: twinkle 2.6s var(--d) ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
.cloud {
  position: absolute; height: 46px; border-radius: 999px; background: rgba(255,255,255,.88);
  opacity: calc(1 - var(--sunset) * 1.2); pointer-events: none; will-change: transform;
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud.c1 { width: 190px; top: 13%; left: 58%; }
.cloud.c1::before { width: 90px; height: 90px; left: 30px; top: -46px; }
.cloud.c1::after { width: 64px; height: 64px; left: 104px; top: -30px; }
.cloud.c2 { width: 130px; height: 34px; top: 72%; left: 52%; opacity: calc(.75 - var(--sunset)); }
.cloud.c2::before { width: 62px; height: 62px; left: 22px; top: -32px; }
.cloud.c2::after { width: 44px; height: 44px; left: 70px; top: -20px; }
.hero-mark .ch { display: inline-block; will-change: transform; }

.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero-mark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 13vw, 11.5rem);
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--white);
  text-shadow: 6px 6px 0 var(--melon);
}
.hero-line { margin-top: 28px; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.15; max-width: 18ch; }
.hero-sub { margin-top: 16px; max-width: 40ch; font-size: 1.125rem; text-shadow: 0 1px 14px rgba(0, 45, 90, .55); }
.hero-line { text-shadow: 0 1px 14px rgba(0, 45, 90, .45); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: #0B1B3A; }

/* Scroll cue into the solar system */
.scroll-cue {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.scroll-cue span {
  width: 26px; height: 42px; border: 2px solid var(--white); border-radius: 999px; position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--white); animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Nav over the night sky */
.nav.on-dark { background: rgba(11, 27, 58, .72); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav.on-dark nav a, .nav.on-dark .wordmark { color: var(--white); }

/* Example labelling */
.example-note { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--sky); font-size: 1rem; max-width: 50ch; }
.browser-bar > .example-tag { width: auto; height: auto; flex: none; margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .8rem; font-weight: 700; white-space: nowrap; }

/* ---------- Promises ---------- */
.promises {
  background: var(--sun);
  padding: 64px var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.promises > * { max-width: 34ch; }
.promises { justify-items: start; }
.promise strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: 8px; }
@media (min-width: 1328px) { .promises { padding-inline: calc((100vw - var(--max)) / 2); } }

.towel {
  height: 28px;
  background: repeating-linear-gradient(90deg,
    var(--melon) 0 60px, var(--white) 60px 90px, var(--pool) 90px 150px, var(--white) 150px 180px, var(--mint) 180px 240px, var(--white) 240px 270px);
}

/* ---------- Sections ---------- */
.showcase, .faq { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.showcase > *, .faq > * { max-width: var(--max); margin-inline: auto; }

.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.025em; }
.section-head p { max-width: 50ch; font-size: 1.125rem; }


/* Browser frame */
.browser {
  border-radius: 18px;
  border: 3px solid var(--ink);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--mint);
  background: var(--white);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ink); }
.browser-bar > span { width: 12px; height: 12px; border-radius: 50%; background: var(--melon); }
.browser-bar > span:nth-child(2) { background: var(--sun); }
.browser-bar > span:nth-child(3) { background: var(--mint); }
.url { margin-left: 12px; flex: 1; max-width: 420px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); font-size: .85rem; padding: 6px 14px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Design your website in 10 seconds ---------- */
.maker { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; gap: 28px; align-items: start; }
.maker-controls { position: sticky; top: 88px; background: var(--sky); border-radius: 24px; padding: 24px; }
.maker-controls .field { margin-bottom: 20px; }
.maker-controls .field input { background: var(--white); }
.maker-controls .chips span { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 4px 0 #000; width: 100%; }
.maker-cta {
  margin-top: 28px; padding: 22px 28px; border-radius: 24px;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.maker-cta p { font-size: 1.25rem; font-weight: 600; max-width: 44ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo { position: relative; height: clamp(520px, 72vh, 680px); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; background: #111318; }
.demo:focus-visible { outline-offset: -4px; }

@keyframes genIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes gmarq { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.06); } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes steam { to { stroke-dashoffset: -80; } }
@keyframes drift { to { transform: translateX(-50%); } }

.demo.rebuild .gen > * { animation: genIn .55s cubic-bezier(.2,.8,.2,1) backwards; }
.demo.rebuild .gen > :nth-child(2) { animation-delay: .07s; }
.demo.rebuild .gen > :nth-child(3) { animation-delay: .14s; }
.demo.rebuild .gen > :nth-child(4) { animation-delay: .21s; }
.demo.rebuild .gen > :nth-child(n+5) { animation-delay: .28s; }
.demo.rebuild .gen::after { animation: sweep .9s ease-out forwards; }

.gen {
  position: relative; overflow: hidden; min-height: 100%;
  background: var(--bg); color: var(--ink);
  font-size: 15px; line-height: 1.5;
  --btn-r: 999px; --card-r: 16px;
}
.gen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.3) 50%, transparent 65%);
  transform: translateX(-120%);
}
.gen > * { padding-inline: clamp(18px, 3.4vw, 40px); }
.gen h3, .gen h4, .g-logo, .g-price b, .g-services b {
  font-family: var(--font-h); font-weight: var(--hw); font-style: var(--hs, normal);
  text-transform: var(--case); letter-spacing: var(--track); margin: 0;
}
.gen button { font-family: inherit; cursor: pointer; }
.v-bold { --font-h: "Archivo Black", sans-serif; --hw: 400; --case: uppercase; --track: -.01em; --btn-r: 4px; --card-r: 4px; }
.v-calm { --font-h: "DM Serif Display", serif; --hw: 400; --case: none; --track: -.01em; --btn-r: 999px; --card-r: 22px; }
.v-luxury { --font-h: "Playfair Display", serif; --hw: 600; --hs: italic; --case: none; --track: 0; --btn-r: 0; --card-r: 0; }
.v-playful { --font-h: "Fraunces", serif; --hw: 600; --case: none; --track: -.03em; --btn-r: 999px; --card-r: 18px; }

.g-nav { display: flex; align-items: center; gap: 18px; padding-block: 16px; position: relative; z-index: 2; }
.g-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; min-width: 0; }
.g-logo > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-logo b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--btn-r); background: var(--acc); color: var(--on-acc); font: 800 13px/1 var(--sans); font-style: normal; letter-spacing: 0; text-transform: none; }
.g-links { display: flex; gap: 18px; margin-left: auto; font-size: 14px; opacity: .75; }
.g-btn, .g-cta { display: inline-block; background: var(--acc); color: var(--on-acc); border-radius: var(--btn-r); font-weight: 700; white-space: nowrap; }
.g-btn { padding: 8px 14px; font-size: 13px; }
.g-cta { margin-top: 22px; padding: 13px 22px; }
.g-cart { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.g-cart b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 12px; }
.g-cart.bump b { animation: bump .4s ease; }

.g-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding-block: 24px 48px; }
.g-kicker { color: var(--acc); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.g-hero h3 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1; max-width: 15ch; }
.v-bold .g-hero h3 { font-size: clamp(34px, 5vw, 64px); line-height: .92; }
.g-sub { margin-top: 14px; max-width: 40ch; opacity: .8; }
.g-art { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.g-art::before { content: ""; position: absolute; }
.g-art svg { position: relative; z-index: 1; width: 86%; height: auto; }
.gen .a1 { fill: var(--acc); } .gen .a2 { fill: var(--ink); } .gen .a3 { fill: var(--soft); }
.gen .s1 { stroke: var(--acc); } .gen .s2 { stroke: var(--ink); }
.steam path { stroke-dasharray: 10 70; opacity: .55; animation: steam 2.6s linear infinite; }
.steam path:nth-child(2) { animation-delay: -.9s; } .steam path:nth-child(3) { animation-delay: -1.7s; }

/* Bold: dark, loud, a ticker */
.v-bold .g-art::before { inset: 4%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 45%, transparent), transparent 70%); }
.v-bold .g-services article { border-left: 4px solid var(--acc); }
.g-marq { background: var(--acc); color: var(--on-acc); font-family: "Archivo Black", sans-serif; text-transform: uppercase; font-size: 16px; overflow: hidden; white-space: nowrap; transform: rotate(-1.5deg); margin-inline: -14px; padding-inline: 0; }
.g-marq > div { display: inline-flex; gap: 26px; padding: 12px 0; animation: gmarq 20s linear infinite; }
.g-marq i { font-style: normal; opacity: .6; }

/* Calm: centred, soft shapes, lots of air */
.v-calm .g-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 8px; }
.v-calm .g-art { order: -1; max-width: 200px; }
.v-calm .g-art::before { inset: 0; background: var(--soft); border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; }
.v-calm .g-sub { margin-inline: auto; }
.v-calm .g-hero h3 { margin-inline: auto; }

/* Luxury: gold on black, an arch, thin lines */
.v-luxury .g-hero { grid-template-columns: 1fr 1.15fr; }
.v-luxury .g-art { order: -1; aspect-ratio: 3 / 4; max-width: 260px; }
.v-luxury .g-art::before { inset: 0 6%; border: 1px solid var(--acc); border-radius: 999px 999px 0 0; }
.v-luxury .g-art svg { width: 70%; }
.v-luxury .g-kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }
.v-luxury .g-kicker::after { content: ""; display: block; width: 48px; height: 1px; background: var(--acc); margin-top: 12px; }
.v-luxury .g-cta { background: transparent; color: var(--acc); border: 1px solid var(--acc); }
.v-luxury .g-services article, .v-luxury .g-price, .v-luxury .g-thumb { background: transparent; border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); }

/* Playful: wobbly blob, a sticker, tilted cards */
.v-playful .g-hero h3 { transform: rotate(-1.5deg); }
.v-playful .g-art::before { inset: 2%; background: var(--soft); border-radius: 38% 62% 55% 45% / 50% 40% 60% 50%; animation: spin 26s linear infinite; }
.g-sticker { position: absolute; top: 2%; right: 0; z-index: 2; width: 84px; height: 84px; border-radius: 50%; background: #FF4F6D; color: #fff; display: grid; place-items: center; text-align: center; font: 800 14px/1.05 var(--sans); transform: rotate(12deg); animation: wobble 3s ease-in-out infinite; }
.v-playful .g-services article { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.v-playful .g-services article:nth-child(odd) { transform: rotate(-1.2deg); }
.v-playful .g-services article:nth-child(even) { transform: rotate(1.2deg); }

.g-services { padding-block: 36px; }
.g-services h4, .g-book h4, .g-shop h4, .g-quote h4 { font-size: 26px; line-height: 1.1; margin-bottom: 14px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-services article { background: var(--soft); border-radius: var(--card-r); padding: 18px; }
.g-services b { display: block; font-size: 18px; line-height: 1.15; }
.g-services p { margin-top: 6px; font-size: 14px; opacity: .78; }

.g-book, .g-shop, .g-quote { padding-block: 8px 36px; }
.g-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.g-pick button { border: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); background: transparent; color: inherit; padding: 9px 14px; border-radius: var(--btn-r); font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.g-pick button.on { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.g-booked { margin-top: 12px; opacity: .75; }
.g-booked.done { opacity: 1; font-weight: 700; color: var(--acc); }
.g-shop article b { display: block; margin-top: 10px; }
.g-thumb { aspect-ratio: 1 / .8; background: var(--soft); border-radius: var(--card-r); display: grid; place-items: center; }
.g-thumb svg { width: 56%; height: auto; }
.g-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.g-row button { border: 0; background: var(--acc); color: var(--on-acc); border-radius: var(--btn-r); padding: 7px 12px; font-weight: 700; font-size: 13px; }
.g-row button.added { background: var(--ink); color: var(--bg); }
.g-q { display: grid; gap: 10px; font-weight: 600; max-width: 520px; }
.g-q input { width: 100%; accent-color: var(--acc); }
.g-price { margin-top: 16px; max-width: 520px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--soft); border-radius: var(--card-r); padding: 16px 20px; }
.g-price b { font-size: 34px; line-height: 1; }
.g-price em { font: 500 14px var(--sans); opacity: .7; }
.g-foot { border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); padding-block: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; opacity: .8; }

@media (max-width: 960px) {
  .maker { grid-template-columns: 1fr; gap: 20px; }
  .maker-controls { position: static; }
  /* Keep the preview on screen while tapping through the controls */
  .maker-preview { order: -1; position: sticky; top: 68px; z-index: 3; box-shadow: 6px 6px 0 var(--mint); }
  .maker-preview .demo { height: 46vh; height: 46svh; }
}
@media (max-width: 720px) {
  .g-links { display: none; }
  .g-nav .g-btn, .g-nav .g-cart { margin-left: auto; }
  .g-hero, .v-luxury .g-hero { grid-template-columns: 1fr; }
  .g-art { max-width: 220px; }
  .v-luxury .g-art { order: 0; }
  .g-grid { grid-template-columns: 1fr; }
  .g-shop .g-grid { grid-template-columns: 1fr 1fr; }
}

/* What we build */
.builds { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; align-items: start; }
.builds h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--melon); }
.builds-intro p { margin-top: 16px; max-width: 38ch; font-size: 1.1rem; }
.builds-intro p + p { font-weight: 700; }
.builds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.builds li { padding: 18px 0; border-top: 2px solid var(--sky); max-width: 44ch; }
.builds li b { display: block; font-size: 1.2rem; margin-bottom: 4px; }

/* ---------- How it works: scroll-driven solar system ---------- */
.orbit { position: relative; height: 560vh; background: #0B1B3A; color: var(--white); }
.orbit-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: radial-gradient(130% 85% at 50% 115%, #6A2C6E 0%, #2A2366 38%, #0B1B3A 72%);
}
#orbit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orbit-head { position: absolute; top: clamp(88px, 13vh, 130px); left: var(--gutter); max-width: 34ch; z-index: 1; }
.orbit-head h2 { color: var(--white); font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 7vw, 6rem); line-height: .95; letter-spacing: 0; text-shadow: 5px 5px 0 var(--melon); }
.orbit-head p { margin-top: 12px; opacity: .8; }
.orbit-steps {
  list-style: none; margin: 0; padding: 0;
  position: absolute; right: var(--gutter); bottom: clamp(32px, 10vh, 96px);
  width: min(380px, calc(100% - 2 * var(--gutter)));
  display: grid;
}
.orbit-step {
  grid-area: 1 / 1;
  padding: 24px;
  border-radius: 22px;
  background: rgba(11, 27, 58, .6);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .2s ease, transform .2s ease;
}
.orbit-step.on { opacity: 1; transform: none; transition: opacity .4s .2s ease, transform .4s .2s ease; }
.orbit-step h3 { font-size: 1.6rem; margin-bottom: 8px; }
.orbit-step p { opacity: .85; }
.step-n {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c); color: var(--ink);
  font-family: var(--display); font-size: 1.6rem; line-height: 1;
  margin-bottom: 14px;
}
.orbit-dots { position: absolute; left: var(--gutter); bottom: clamp(40px, 11vh, 104px); display: flex; gap: 8px; }
.orbit-dots span { width: 10px; height: 10px; border-radius: 999px; border: 2px solid var(--c); transition: width .3s ease, background .3s ease; }
.orbit-dots span.on { width: 30px; background: var(--c); }

@media (max-width: 720px) {
  .orbit { height: 420vh; }
  .orbit-head { top: 78px; }
  .orbit-head p { display: none; }
  .orbit-steps { left: var(--gutter); right: var(--gutter); width: auto; bottom: 24px; }
  .orbit-step { padding: 18px; }
  .orbit-dots { left: auto; right: var(--gutter); top: 92px; bottom: auto; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.faq > * { margin-inline: 0; }
@media (min-width: 1328px) { .faq { padding-inline: calc((100vw - var(--max)) / 2); } }
.faq-list details { border-bottom: 2px solid var(--sky); }
.faq-list details:first-child { border-top: 2px solid var(--sky); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: 1.15rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sun); font-size: 1.4rem; font-weight: 600; transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--mint); }
.faq-list details p { padding: 0 0 22px; max-width: 60ch; }

/* ---------- Enquire ---------- */
.enquire {
  position: relative;
  background: var(--melon-deep);
  color: var(--white);
  padding: clamp(120px, 14vw, 180px) var(--gutter) clamp(72px, 10vw, 120px);
}
.enquire > * { max-width: var(--max); margin-inline: auto; }
.wave-top { top: -1px; bottom: auto; fill: var(--white); }
.enquire-mark {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4.5rem, 16vw, 14rem); line-height: .85;
  color: var(--sun);
  text-shadow: 6px 6px 0 #A51D3A;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.enquire-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.enquire-lead { font-size: 1.3rem; font-weight: 500; max-width: 30ch; margin-bottom: 32px; }
.contact-big {
  display: block; text-decoration: none;
  font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.15;
  padding: 18px 0; border-top: 2px solid rgba(255,255,255,.4);
  overflow-wrap: anywhere;
}
.contact-big small { display: block; font-size: .95rem; font-weight: 500; opacity: .85; margin-bottom: 4px; }
.contact-big:hover { color: var(--sun); }

.enquire-form {
  background: var(--white); color: var(--ink);
  border-radius: 24px; padding: clamp(22px, 4vw, 40px);
  box-shadow: 10px 10px 0 var(--sun);
}
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.field input, .field textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 13px 14px; border-radius: 12px;
  border: 2px solid #C9DCE8; background: #F7FBFE;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pool); background: var(--white); }
.field input[aria-invalid="true"] { border-color: var(--melon); }
.field textarea { resize: vertical; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 2px solid #C9DCE8; transition: all .15s; }
.chips input:checked + span { background: var(--pool-hero); border-color: var(--pool-hero); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.req { font-weight: 500; color: #52677A; }
.field-error { margin-top: 6px; color: #B3163A; font-weight: 600; font-size: .95rem; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form-success.is-fallback { background: #FFF4D6; color: #6B4A00; }
.form-success { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #E3F8F0; color: #0E5A44; font-weight: 600; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 200; }
.orbit-cta { margin-top: 18px; }

/* Big ticker */
.mega { overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(18px, 3vw, 34px) 0; }
.mega-track { display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 56px); white-space: nowrap; will-change: transform; }
.mega-track span { font-family: var(--display); font-size: clamp(2.6rem, 8vw, 7rem); line-height: 1.1; }
.mega-track .mega-outline { color: transparent; -webkit-text-stroke: 2px var(--sun); }
.mega-track .mega-star { color: var(--melon); font-family: var(--sans); font-size: clamp(2rem, 5vw, 4.5rem); }
.form-note { margin-top: 12px; font-size: .9rem; color: #52677A; text-align: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--white);
  padding: 48px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer p { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--sun); }
.footer .small { opacity: .7; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sun { width: 90vw; right: -42vw; top: 14%; }
  .cloud.c2 { display: none; }
  .hero { align-items: flex-end; }
  .section-head, .builds, .faq, .enquire-grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 720px) {
  .promises { grid-template-columns: 1fr; gap: 24px; }
  .builds ul { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .scroll-cue { bottom: 76px; }
}
@media (max-width: 480px) {
  .wordmark span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Accent text stays readable on the light vibes */
.v-calm .g-kicker, .v-playful .g-kicker, .v-calm .g-booked.done, .v-playful .g-booked.done { color: color-mix(in srgb, var(--acc) 60%, var(--ink)); }

/* ---------- Intro: the match strike (drawn frame by frame in app.js) ---------- */
.intro-lock, .intro-lock body { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 300; overflow: hidden;
  background: #07060A;
  animation: intro-failsafe .4s 7s forwards; /* never strand anyone in the dark */
}
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.intro.running, .intro-skip.running { animation: none; }
.intro-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.intro-front { z-index: 4; }
.intro-word { position: absolute; z-index: 3; font-family: var(--display); white-space: nowrap; margin: 0; }
.intro-word .ch { display: inline-block; color: #160F0A; }
.intro-skip {
  position: fixed; right: 20px; bottom: 20px; z-index: 301;
  background: rgba(255, 255, 255, .12); color: var(--white); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; padding: 12px 20px; font: 600 14px var(--sans); cursor: pointer;
  animation: intro-failsafe .4s 7s forwards;
}
.intro-skip:focus-visible { outline-color: var(--sun); }
@media (prefers-reduced-motion: reduce) { .intro, .intro-skip { display: none; } }

/* ---------- The intern gags ---------- */
.chip-lock {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 11px 18px; border-radius: 999px; border: 2px dashed #9DB4C6; background: transparent;
  font: 500 1rem var(--sans); color: var(--ink); cursor: pointer;
}
.chip-lock svg { width: 16px; height: 16px; fill: var(--ink); stroke: var(--ink); }
.chip-lock:hover { border-color: var(--melon-deep); color: var(--melon-deep); }
.chip-lock:hover svg { fill: var(--melon-deep); stroke: var(--melon-deep); }
.m-meter { margin: 4px 0 18px; }
.m-meter-top { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.m-meter-top b { color: var(--melon-deep); }
.m-bar { height: 10px; border-radius: 999px; background: var(--white); margin: 6px 0; overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 1.5%; border-radius: 999px; background: var(--melon-deep); transition: width .4s ease; }
.m-meter small { color: #52677A; font-size: .9rem; }
.fine-print { flex-basis: 100%; font-size: .85rem; opacity: .75; max-width: 90ch; }

.g-wild {
  position: absolute; left: 0; right: 0; height: 100%; z-index: 10;
  display: grid; place-items: center; padding: 20px;
  background: rgba(7, 6, 10, .72); backdrop-filter: blur(4px);
  animation: genIn .35s cubic-bezier(.2, .8, .2, 1);
}
.g-wild-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 26px; max-width: 420px; box-shadow: 8px 8px 0 var(--sun); }
.g-wild-kicker { font-weight: 700; color: var(--melon-deep); font-size: .9rem; }
.g-wild-card h4 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin: 6px 0 10px; outline: none; }
.g-wild-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.g-wild-close { background: var(--sky); color: var(--ink); }
