:root {
  --bg: #090b13;
  --panel: rgba(12, 16, 26, 0.76);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: #b7c3d0;
  --cyan: #42b9e8;
  --teal: #3bc7d0;
  --violet: #4b4aae;
  --gradient: linear-gradient(135deg, var(--cyan), var(--teal) 48%, var(--violet));
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Poppins", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 14px; background: #fff; color: #09101a; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 20px 0 auto;
  z-index: 20;
}
.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border: 1px solid rgba(112, 157, 205, 0.3);
  background: rgba(6, 9, 16, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}
.brand img { width: 150px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 30px); }
.nav a { text-decoration: none; color: #dce7f2; font-size: 0.9rem; font-weight: 600; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(86, 218, 241, 0.52);
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 12px 36px rgba(56, 216, 242, 0.2);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(56, 216, 242, 0.25); }
.button.secondary { background: rgba(8, 13, 22, 0.72); }
.nav-toggle { display: none; }

.page-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: 152px 0 82px;
}
.page-hero::before, .page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.page-hero::before { z-index: -2; background-position: center; background-size: cover; transform: scale(1.015); }
.page-flow .page-hero::before { background-image: image-set(url("./studioflow-chapter-bw.webp") type("image/webp"), url("./studioflow-chapter-bw.jpg") type("image/jpeg")); background-position: center 42%; }
.page-vault .page-hero::before { background-image: image-set(url("./studiovault-chapter-bw.webp") type("image/webp"), url("./studiovault-chapter-bw.jpg") type("image/jpeg")); background-position: center 56%; }
.page-platform .page-hero::before { background-image: image-set(url("./studiogo-hero-photographer-bw.webp") type("image/webp"), url("./studiogo-hero-photographer-bw.jpg") type("image/jpeg")); background-position: center 48%; }
.page-about .page-hero::before { background-image: image-set(url("./studiogo-about-chapter-bw.webp") type("image/webp"), url("./studiogo-about-chapter-bw.jpg") type("image/jpeg")); background-position: center 46%; }
.page-demo .page-hero::before { background-image: image-set(url("./studiogo-packages-chapter-bw.webp") type("image/webp"), url("./studiogo-packages-chapter-bw.jpg") type("image/jpeg")); }
.page-hero::after { z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 14, 0.86), rgba(12, 16, 25, 0.48) 62%, rgba(7, 10, 17, 0.68)), linear-gradient(180deg, rgba(9, 11, 19, 0.18), rgba(9, 11, 19, 0.72)); }
.hero-content { max-width: 780px; }
.eyebrow { margin: 0 0 14px; color: #9ceaf5; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; font-size: 0.78rem; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); line-height: 1.08; }
h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5.4rem); letter-spacing: -0.045em; text-shadow: 0 3px 14px rgba(0,0,0,.72); }
.gradient-text { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-lede { max-width: 720px; margin: 0 0 30px; color: #eef6fb; font-size: clamp(1.08rem, 2vw, 1.32rem); text-shadow: 0 2px 8px rgba(0,0,0,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-soft { background: linear-gradient(180deg, #0d111c, #090b13); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 15px; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.03em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(23, 29, 43, 0.9), rgba(12, 16, 26, 0.8));
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.card-number { display: inline-flex; min-width: 36px; min-height: 30px; align-items: center; justify-content: center; margin-bottom: 34px; border: 1px solid rgba(66,185,232,.6); border-radius: 9px; color: #a9eff7; font-family: var(--display); font-size: .82rem; }
.card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(34px, 7vw, 90px); align-items: start; }
.split h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -0.035em; }
.prose { color: #d8e3ed; }
.prose p { margin: 0 0 20px; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 28px; color: #dce7ef; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 18px rgba(59,199,208,.55); }
.faq { display: grid; gap: 12px; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,22,34,.8); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 14px 0 0; color: var(--muted); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: clamp(30px, 5vw, 54px); border: 1px solid rgba(82,209,226,.4); border-radius: 28px; background: linear-gradient(125deg, rgba(22,54,72,.78), rgba(36,34,84,.72)); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.cta-panel h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.cta-panel p { margin: 0; color: #d4e5ef; }

.footer { padding: 44px 0 56px; color: #96a9bc; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 30px 60px; align-items: start; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-logo { width: 148px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-links a, .text-button { color: inherit; text-decoration: underline; text-decoration-color: rgba(150,169,188,.45); text-underline-offset: 4px; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }
.text-button { appearance: none; padding: 0; border: 0; background: transparent; cursor: pointer; }

.consent-banner, .privacy-dialog { position: fixed; z-index: 100; }
.consent-banner[hidden], .privacy-dialog[hidden] { display: none; }
.consent-banner { right: 20px; bottom: 20px; width: min(520px, calc(100% - 40px)); padding: 20px; border: 1px solid rgba(117,201,225,.4); border-radius: 18px; background: rgba(8,12,20,.97); box-shadow: 0 28px 90px rgba(0,0,0,.55); }
.consent-banner h2 { margin-bottom: 7px; font-size: 1.05rem; }
.consent-banner p { margin: 0; color: var(--muted); font-size: .88rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent-choice { padding: 9px 13px; border: 1px solid rgba(130,174,211,.38); border-radius: 999px; color: #edf7fb; background: rgba(30,39,54,.9); cursor: pointer; font-weight: 600; font-size: .82rem; }
.consent-choice[data-consent="granted"] { background: var(--gradient); }
.privacy-dialog { inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3,6,10,.78); backdrop-filter: blur(10px); }
.privacy-panel { width: min(680px, 100%); max-height: min(760px, calc(100svh - 40px)); overflow: auto; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #101622; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.privacy-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.privacy-header h2 { margin: 0; font-size: 1.45rem; }
.privacy-close { border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 2rem; }
.privacy-body { color: #c5d2de; font-size: .92rem; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

@media (max-width: 820px) {
  .site-header { inset: 10px 0 auto; }
  .nav-shell { min-height: 62px; }
  .brand img { width: 130px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; color: #fff; background: rgba(18,24,36,.9); cursor: pointer; }
  .nav-toggle::before { content: "Menu"; font-size: .72rem; font-weight: 700; }
  .nav { display: none; position: absolute; top: 68px; left: 18px; right: 18px; align-items: stretch; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,10,17,.98); box-shadow: 0 22px 60px rgba(0,0,0,.45); }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 11px 12px; }
  .nav .button { margin-top: 6px; }
  .page-hero { min-height: 78svh; padding: 128px 0 56px; }
  h1 { font-size: clamp(2.55rem, 12vw, 4.4rem); }
  .grid, .grid.two, .split { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { grid-column: auto; align-items: flex-start; flex-direction: column; }
}

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