/* ============================================================
   Growthform Studio — design system
   Palette per brief: strictly black & white
   ============================================================ */
:root {
  --bg: #000000;
  --card: #090909;
  --border: #1E1E1E;
  --text: #FFFFFF;
  --text-2: #BDBDBD;
  --text-3: #7a7a7a;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max-w: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #ffffff; color: #000000; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 650; }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.lead { color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 46em; }
.muted { color: var(--text-2); }
.small { font-size: .85rem; color: var(--text-3); }
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--text-3); display: block; margin-bottom: 18px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav .wrap { width: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span i { font-style: normal; font-weight: 300; color: var(--text-2); }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-2); font-size: .92rem; transition: color .25s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-cta {
  color: #000 !important; background: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: .88rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 8px 30px rgba(255,255,255,.14); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background: url('../assets/hero.jpg') center 30% / cover no-repeat;
  opacity: .5;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 70%),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.92) 88%, #000 100%);
}
#stars { position: absolute; inset: 0; z-index: -1; }

.hero-inner { width: 100%; padding: 140px 0 120px; text-align: center; }
.hero .constellation { width: 150px; margin: 0 auto 34px; opacity: .95; }
.hero h1 { max-width: 15em; margin: 0 auto 22px; }
.hero .lead { margin: 0 auto 14px; }
.hero-note {
  max-width: 44em; margin: 26px auto 0; color: var(--text-2);
  font-size: .98rem; border-left: 2px solid var(--border);
  padding-left: 18px; text-align: left;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000; font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 14px; border: 1px solid #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 50px rgba(255,255,255,.16); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: #fff; box-shadow: 0 16px 50px rgba(255,255,255,.08); }

.rise { opacity: 0; transform: translateY(34px); animation: rise 1s var(--ease) forwards; }
.rise.d1 { animation-delay: .55s; }
.rise.d2 { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--text-3); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
}

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { margin-bottom: 56px; max-width: 46em; }

.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: #2e2e2e; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.card .h3 { margin: 18px 0 10px; }
.card p { color: var(--text-2); font-size: .95rem; }
.card .glyph { width: 40px; height: 40px; color: #fff; opacity: .9; }

.list-plain { list-style: none; color: var(--text-2); }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: baseline; }
.list-plain li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; flex: none; transform: translateY(-2px); }
.list-plain li:last-child { border-bottom: 0; }

/* band with galaxy image */
.band {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); padding: 90px 40px; text-align: center; isolation: isolate;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url('../assets/band.jpg') center/cover no-repeat; opacity: .38;
}
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.85)); }
.band .h2 { margin-bottom: 14px; }
.band .lead { margin: 0 auto 30px; }

/* process rail */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process .step { position: relative; padding: 26px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.process .step b { display: block; margin-bottom: 8px; font-weight: 600; }
.process .step p { color: var(--text-2); font-size: .9rem; }
.process .step .idx { color: var(--text-3); font-size: .75rem; letter-spacing: .2em; display: block; margin-bottom: 14px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 0; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--text-2); max-width: 60em; }

/* video placeholder (services) */
.video-frame {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); isolation: isolate;
  display: flex; align-items: center; justify-content: center;
}
.video-frame::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('../assets/band.jpg') center/cover; opacity: .45; }
.video-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.2), rgba(0,0,0,.85)); }
.video-frame .play {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s;
}
.video-frame .play:hover { transform: scale(1.06); background: rgba(255,255,255,.12); }
.video-frame .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.video-frame figcaption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; }

/* page hero (inner pages) */
.page-hero { padding: 170px 0 70px; border-bottom: 1px solid var(--border); }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-size: .78rem; color: var(--text-3); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: #000; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; font: inherit; font-size: .95rem;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #ffffff66; }
.field textarea { min-height: 110px; resize: vertical; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border); background: #000; color: var(--text-2);
  padding: 10px 14px; border-radius: 999px; font-size: .86rem; cursor: pointer;
  transition: all .22s var(--ease); font-family: inherit;
}
.chip:hover { border-color: #3a3a3a; color: #fff; }
.chip.active { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.chip:disabled { opacity: .35; cursor: not-allowed; }

.day-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.day-scroll .chip { flex: none; }

.confirm { text-align: center; padding: 70px 30px; }
.confirm .tick {
  width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; background: #000;
}
.confirm .tick svg { width: 30px; height: 30px; stroke: #fff; }
.summary { text-align: left; max-width: 420px; margin: 30px auto 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 18px; font-size: .9rem; border-bottom: 1px solid var(--border); }
.summary div:last-child { border-bottom: 0; }
.summary span { color: var(--text-3); }
.hidden { display: none !important; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 70px 0 50px; }
.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.foot img { width: 190px; opacity: .9; }
.foot .small a { color: var(--text-2); }
.foot .small a:hover { color: #fff; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .grid.c3 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: rgba(0,0,0,.92); backdrop-filter: blur(16px);
    padding: 26px 24px; gap: 20px; border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: 1px solid var(--border);
    color: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer;
  }
  .grid.c3, .grid.c2, .process { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- cookie consent ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; box-shadow: 0 18px 60px rgba(0,0,0,.7); max-width: 860px; margin: 0 auto;
}
.consent p { color: var(--text-2); font-size: .88rem; margin: 0; }
.consent a { text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn.consent-accept { padding: 10px 20px; font-size: .88rem; box-shadow: none; }
