/* ==========================================================================
   54ka Color Dream – Lightroom Presets
   ========================================================================== */

:root {
  --bg: #0e0d10;
  --bg-2: #15131a;
  --bg-3: #1d1a22;
  --line: rgba(255, 255, 255, .09);
  --text: #f3ede4;
  --muted: #a69d92;
  --cream: #f5efe6;
  --ink: #18161b;
  --gold: #c9a36a;
  --gold-2: #e6c48d;
  --rose: #d98a7a;
  --teal: #3fa7a0;
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.08; letter-spacing: -.01em;
  margin: 16px 0 18px;
}
.h2 em, .hero h1 em { font-style: italic; color: var(--gold-2); }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 640px; margin: 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a140b;
  box-shadow: 0 14px 34px -12px rgba(201, 163, 106, .65);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(201, 163, 106, .8); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(14, 13, 16, .78);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: conic-gradient(from 200deg, #e6c48d, #d98a7a, #7f6bd1, #3fa7a0, #e6c48d);
  box-shadow: inset 0 0 0 3px var(--bg), 0 0 0 1px rgba(255,255,255,.2);
}
.logo small { display: block; font: 600 10px/1 var(--sans); letter-spacing: .26em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: #d8cfc4; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .3s; }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; transition: transform .3s, opacity .3s; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto; flex-direction: column; gap: 0;
    background: rgba(14, 13, 16, .97); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .35s;
  }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { padding: 130px 0 70px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 50% at 15% 30%, rgba(201, 163, 106, .18), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(127, 107, 209, .16), transparent 70%),
    radial-gradient(40% 40% at 70% 80%, rgba(63, 167, 160, .12), transparent 70%);
  filter: blur(10px);
}
.hero-grid > *, .studio > *, .install > *, .bundle > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.02em;
  margin: 18px 0 22px;
}
.hero .lead { font-size: clamp(16px, 1.5vw, 19px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 30px; justify-content: start; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1; }
.stat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual .ba { aspect-ratio: 4 / 4.4; border-radius: 28px; box-shadow: var(--shadow); }
.hero-tag {
  position: absolute; z-index: 3; left: -22px; bottom: 34px;
  background: var(--cream); color: var(--ink); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: 12px; min-width: 210px;
}
.hero-tag i { width: 40px; height: 40px; border-radius: 12px; flex: none; background-size: cover; background-position: center; }
.hero-tag small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8a7f74; font-weight: 600; }
.hero-tag strong { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.hero-switch { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.hero-switch button {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); transition: all .25s;
}
.hero-switch button:hover { color: var(--text); }
.hero-switch button.active { background: var(--text); color: var(--ink); border-color: var(--text); }

@media (max-width: 920px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .hero-tag { left: 12px; top: 12px; bottom: auto; min-width: 0; padding: 10px 14px; }
  .hero-tag i { width: 32px; height: 32px; }
  .hero-tag strong { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 22px 40px; }
}

/* ---------- before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize; background: var(--bg-3);
  border-radius: var(--radius); isolation: isolate;
}
.ba img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none;
}
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 2;
  background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, .45);
}
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 3;
  width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.ba-handle svg { width: 26px; height: 26px; }
.ba:hover .ba-handle, .ba.dragging .ba-handle { transform: scale(1.08); }
.ba-label {
  position: absolute; bottom: 16px; z-index: 2;
  padding: 7px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: opacity .25s;
}
.ba-label.before { left: 16px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.ba-label.after { right: 16px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.ba.hide-before .ba-label.before, .ba.hide-after .ba-label.after { opacity: 0; }
.ba-hint {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 12px; padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .5); backdrop-filter: blur(8px); color: #fff;
  pointer-events: none; transition: opacity .5s; white-space: nowrap;
}
.ba.touched .ba-hint { opacity: 0; }
.ba.loading::after {
  content: ""; position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%) var(--bg-3);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 10px 0 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; position: relative; height: 230px; border-radius: 16px; overflow: hidden; flex: none; }
.marquee img { height: 100%; width: auto; transition: transform .6s; }
.marquee figure:hover img { transform: scale(1.06); }
.marquee figcaption {
  position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- studio (big before/after) ---------- */
.studio { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.studio-styles {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; max-height: 640px; overflow: auto; scrollbar-width: thin;
}
.studio-styles button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 8px 10px; border-radius: 14px; transition: background .2s;
  font-size: 15px;
}
.studio-styles button img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.studio-styles button span { flex: 1; }
.studio-styles button small { color: var(--muted); font-size: 12px; }
.studio-styles button:hover { background: rgba(255, 255, 255, .05); }
.studio-styles button.active { background: var(--cream); color: var(--ink); }
.studio-styles button.active small { color: #7d7266; }
.studio-main { min-width: 0; }
.studio-stage { display: flex; justify-content: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(10px, 2vw, 20px); }
.studio-stage .ba { width: 100%; max-height: 68vh; }
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.studio-title { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.studio-title small { display: block; font: 500 13px var(--sans); color: var(--muted); letter-spacing: .02em; }
.studio-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.studio-thumbs button {
  width: 66px; height: 66px; border-radius: 12px; overflow: hidden; opacity: .55;
  outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s;
}
.studio-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.studio-thumbs button:hover { opacity: .9; }
.studio-thumbs button.active { opacity: 1; outline-color: var(--gold); }

@media (max-width: 920px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio-styles { display: flex; overflow-x: auto; max-height: none; gap: 6px; padding: 8px; }
  .studio-styles button { flex: none; width: auto; padding: 6px 12px 6px 6px; }
  .studio-styles button img { width: 34px; height: 34px; }
  .studio-styles button small { display: none; }
}

/* ---------- collections ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 42px; }
.filters button {
  padding: 10px 18px; border-radius: 999px; font-size: 14px; color: #d8cfc4;
  border: 1px solid var(--line); transition: all .25s;
}
.filters button:hover { border-color: rgba(255,255,255,.3); }
.filters button.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.filters button sup { font-size: 10px; margin-left: 4px; opacity: .6; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,163,106,.4); }
.card.hidden { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media img.main { transform: scale(1.04); }
.card:hover .card-media .alt { opacity: 1; }
.card-media .peek {
  position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 10px); opacity: 0;
  background: rgba(14,13,16,.8); backdrop-filter: blur(8px);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: all .35s; z-index: 2;
}
.card:hover .peek { opacity: 1; transform: translate(-50%, 0); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.price { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold-2); }
.price small { font: 500 12px var(--sans); color: var(--muted); }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.card-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-actions { display: flex; gap: 10px; margin-top: 14px; }
.card-actions .btn { flex: 1; padding: 11px 14px; font-size: 14px; }

/* ---------- mega bundle ---------- */
.bundle {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(201,163,106,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid rgba(201, 163, 106, .25); border-radius: 34px;
  padding: clamp(24px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.bundle-cover { position: relative; }
.bundle-cover img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); transform: rotate(-2deg); transition: transform .6s; }
.bundle-cover:hover img { transform: rotate(0) scale(1.01); }
.bundle-cover .ribbon {
  position: absolute; top: -14px; right: -10px; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--rose); color: #fff; font-weight: 800; line-height: 1;
  box-shadow: 0 16px 30px -10px rgba(217,138,122,.7); transform: rotate(10deg);
}
.ribbon b { display: block; font-size: 30px; }
.ribbon span { font-size: 11px; letter-spacing: .14em; }
.price-row { display: flex; align-items: baseline; gap: 18px; margin: 26px 0 8px; flex-wrap: wrap; }
.price-big { font-family: var(--serif); font-size: clamp(56px, 7vw, 84px); font-weight: 600; line-height: 1; color: var(--gold-2); }
.price-old { font-size: 22px; color: var(--muted); text-decoration: line-through; }
.price-note { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.bundle-styles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.bundle-styles span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.06); color: #cfc6bb; }
@media (max-width: 920px) {
  .bundle { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
}

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color .3s, transform .3s;
}
.feature:hover { border-color: rgba(201,163,106,.35); transform: translateY(-3px); }
.feature .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(230,196,141,.18), rgba(201,163,106,.05));
  color: var(--gold-2); border: 1px solid rgba(201,163,106,.25);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--bg-2); border: 1px solid var(--line); padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%; }
.tabs button { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: all .25s; }
.tabs button.active { background: var(--cream); color: var(--ink); }
.tab-panel { display: none; margin-top: 26px; }
.tab-panel.active { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: s; position: relative; padding: 18px 20px 18px 70px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; color: #ddd4c9;
}
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 16px;
  font-family: var(--serif); font-size: 24px; color: var(--gold);
}
.steps code, .req code { font-family: inherit; background: rgba(255,255,255,.07); padding: 2px 8px; border-radius: 6px; font-size: .92em; color: var(--text); }
.req { margin-top: 30px; padding: 22px 24px; border-radius: 18px; border: 1px dashed rgba(201,163,106,.35); color: var(--muted); font-size: 15px; }
.req strong { color: var(--text); }
@media (max-width: 920px) { .install { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(201,163,106,.35); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-family: var(--serif); font-size: 20px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- final cta ---------- */
.cta {
  position: relative; border-radius: 34px; overflow: hidden; text-align: center;
  padding: clamp(60px, 9vw, 110px) 24px;
}
.cta-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; opacity: .55; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 90% at 50% 50%, rgba(14,13,16,.75), rgba(14,13,16,.95)); }
.cta > *:not(.cta-bg) { position: relative; z-index: 2; }
.cta .lead { margin: 0 auto 32px; }
.cta .hero-cta { justify-content: center; margin: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 40px; color: var(--muted); font-size: 14px; margin-top: 80px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8, 7, 10, .82); backdrop-filter: blur(10px);
  padding: clamp(0px, 3vw, 40px); overflow-y: auto;
}
.modal.open { display: block; animation: fade .3s; }
.modal-box {
  position: relative; max-width: 1180px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 30px;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.8);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15);
}
.modal-close svg { width: 20px; height: 20px; }
.modal-media { background: #09080b; padding: 18px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.modal-media .ba { width: 100%; max-height: 70vh; border-radius: 18px; }
.modal-media .studio-thumbs { justify-content: center; }
.modal-info { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; }
.modal-info h3 { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 500; margin: 12px 0 10px; line-height: 1.05; }
.modal-info p { color: var(--muted); margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.chips span { font-size: 12px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: #cfc6bb; }
.modal-price { display: flex; align-items: baseline; gap: 10px; margin: auto 0 18px; padding-top: 10px; }
.modal-price .price { font-size: 46px; line-height: 1; }
.modal-info .btn { width: 100%; }
.upsell {
  margin-top: 14px; padding: 16px 18px; border-radius: 16px; font-size: 14px; color: #d8cfc4;
  background: rgba(201,163,106,.08); border: 1px solid rgba(201,163,106,.25);
}
.upsell a { color: var(--gold-2); font-weight: 600; }
.modal-cover { width: 100%; border-radius: 14px; margin-top: 18px; }
@media (max-width: 920px) {
  .modal { padding: 0; }
  .modal-box { grid-template-columns: 1fr; border-radius: 0; min-height: 100%; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 600px) {
  .hero-tag { display: none; }
  .ba-handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}
