/* =========================================================
   Bharat Creative Lab — main stylesheet
   Look: black & gold "screening room" (matches the logo)
   Fonts: Bricolage Grotesque (display), Instrument Serif (accent),
          Manrope (body), JetBrains Mono (camera/timecode labels)
   ========================================================= */

:root {
  color-scheme: dark;
  --ink: #0a0806;          /* page background, warm black */
  --ink-2: #14100b;        /* raised panels */
  --ink-3: #1d1810;        /* inputs, chips */
  --line: rgba(214, 165, 72, .18);
  --line-strong: rgba(214, 165, 72, .42);
  --gold: #d6a548;
  --gold-hi: #f4d98e;
  --gold-lo: #8a6424;
  --paper: #f3ecdf;        /* main text */
  --mute: #a3977f;         /* secondary text */
  --rec: #e0442c;          /* camera REC red */
  --ok: #6fbf73;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.02; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

/* film grain overlay */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.gold { color: var(--gold); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.shine {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 25%, var(--gold-hi) 45%, var(--gold) 60%, var(--gold-lo) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -220% 0; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; border: 1px solid var(--gold);
  background: var(--bg); color: var(--fg);
  font: 700 .92rem/1 var(--f-body); letter-spacing: .02em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { box-shadow: 0 10px 40px -10px rgba(214,165,72,.7); transform: translateY(-2px); }
.btn.ghost { --bg: transparent; --fg: var(--paper); border-color: var(--line-strong); }
.btn.ghost:hover { --fg: var(--ink); --bg: var(--gold); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,8,6,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand b { font: 800 1.02rem/1 var(--f-display); letter-spacing: .01em; display: block; }
.brand small { display: block; font: 500 .62rem/1.4 var(--f-mono); color: var(--gold); letter-spacing: .22em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-size: .9rem; color: var(--mute); position: relative; transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--paper); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .75em 1.2em; font-size: .85rem; }
.burger { display: none; background: none; border: 1px solid var(--line-strong); width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--paper); transition: transform .35s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.nav.open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.cart-pill { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--rec); color: #fff; font: 700 .7rem/20px var(--f-body); text-align: center; padding-inline: 5px; }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(10,8,6,.97); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease), opacity .3s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { font: 700 1.6rem/1 var(--f-display); color: var(--paper); padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 18px; }
  .nav.open { background: rgba(10,8,6,.97); }
}

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader img { width: min(200px, 50vw); animation: pulse 1.6s ease-in-out infinite; }
.preloader .count { margin-top: 18px; text-align: center; color: var(--gold); }
@keyframes pulse { 50% { filter: drop-shadow(0 0 28px rgba(214,165,72,.55)); transform: scale(1.03); } }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.section { padding-block: clamp(80px, 11vw, 150px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(2.6rem, 7.4vw, 6.4rem); }
.h-lg { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lead { color: var(--mute); font-size: clamp(1rem, 1.3vw, 1.14rem); max-width: 58ch; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lead { max-width: 44ch; }

/* reveal: visible at rest, animates only once JS marks the page ready */
.js-ready .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-ready .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- HERO: camera viewfinder ---------- */
.hero { padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .5; }
.glow.g1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(214,165,72,.45), transparent 65%); top: -120px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.glow.g2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(224,68,44,.22), transparent 65%); bottom: -120px; left: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.15); } }

.viewfinder { position: relative; padding: clamp(28px, 5vw, 64px); border-radius: 6px; }
.vf-corner { position: absolute; width: 38px; height: 38px; border: 2px solid var(--gold); }
.vf-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf-top, .vf-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute); }
.vf-top { margin-bottom: clamp(28px, 5vw, 56px); }
.vf-bottom { margin-top: clamp(28px, 5vw, 56px); align-items: center; }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 12px var(--rec); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.tc { font-variant-numeric: tabular-nums; color: var(--gold); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 6.8rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.hero h1 .serif { font-weight: 400; letter-spacing: -.01em; }
.rotator { display: inline-grid; vertical-align: bottom; height: 1.02em; overflow: hidden; }
.rotator span { grid-area: 1 / 1; transform: translateY(105%); transition: transform .9s var(--ease); white-space: nowrap; }
.rotator span.on { transform: none; }
.rotator span.off { transform: translateY(-105%); }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.hero-emblem { position: relative; aspect-ratio: 1; width: 100%; max-width: 400px; justify-self: center; }
.hero-emblem img { position: absolute; inset: 0; width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
.hero-emblem .ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed var(--line-strong); animation: spin 40s linear infinite; }
.hero-emblem .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 18px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 70px); }
.hero-stats div { padding: 22px 18px 0 0; }
.hero-stats b { display: block; font: 800 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--f-display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--mute); font-size: .86rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-emblem { max-width: 260px; order: -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}

/* ---------- film-strip marquee ---------- */
.strip { position: relative; background: var(--gold); color: var(--ink); padding-block: 22px; transform: rotate(-1.6deg); margin-block: 30px; overflow: hidden; }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 28px); }
.strip::before { top: 6px; } .strip::after { bottom: 6px; }
.strip-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.strip-track span { font: 800 clamp(1.3rem, 2.6vw, 2.1rem)/1 var(--f-display); text-transform: uppercase; padding-inline: 26px; display: inline-flex; align-items: center; gap: 52px; white-space: nowrap; }
.strip-track span::after { content: "✦"; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services: viewfinder cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: svc; }
.svc { --c: var(--gold); position: relative; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; isolation: isolate;
  background: linear-gradient(165deg, rgba(214,165,72,.07), transparent 38%), var(--ink-2);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(214,165,72,.17), transparent 45%); opacity: 0; transition: opacity .4s; }
/* camera viewfinder corners */
.svc::after { content: ""; position: absolute; inset: 12px; pointer-events: none; opacity: 0; transform: scale(1.05); transition: opacity .4s, transform .6s var(--ease);
  --g: linear-gradient(var(--gold), var(--gold));
  background: var(--g) top left / 20px 1.5px, var(--g) top left / 1.5px 20px, var(--g) top right / 20px 1.5px, var(--g) top right / 1.5px 20px,
              var(--g) bottom left / 20px 1.5px, var(--g) bottom left / 1.5px 20px, var(--g) bottom right / 20px 1.5px, var(--g) bottom right / 1.5px 20px;
  background-repeat: no-repeat; }
.svc:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(214,165,72,.08) inset; }
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc:hover::after { transform: scale(1); }
.svc-num { position: absolute; right: -4px; bottom: -.18em; z-index: -1; font: italic 400 clamp(8rem, 12vw, 11rem)/1 var(--f-serif); color: transparent; -webkit-text-stroke: 1px rgba(214,165,72,.16); letter-spacing: -.04em; transition: transform .8s var(--ease), -webkit-text-stroke-color .4s; pointer-events: none; user-select: none; }
.svc:hover .svc-num { transform: translate(-8px, -10px); -webkit-text-stroke-color: rgba(214,165,72,.38); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; color: var(--mute); font-size: .72rem; letter-spacing: .08em; }
.svc-idx { display: flex; flex-direction: column; gap: 8px; }
.svc-idx em { font-style: normal; color: var(--gold); opacity: .85; }
.svc-rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); margin-right: 8px; vertical-align: 1px; opacity: .35; transition: opacity .3s; }
.svc:hover .svc-rec { opacity: 1; animation: rec-blink 1.1s steps(1) infinite; }
@keyframes rec-blink { 50% { opacity: .15; } }
.svc-icon { flex: none; width: 54px; height: 54px; border-radius: 16px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); background: rgba(214,165,72,.05); transition: transform .6s var(--ease), background .4s, color .4s, border-radius .6s var(--ease); }
.svc-icon svg { width: 25px; height: 25px; }
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.06); background: var(--gold); color: var(--ink); border-radius: 50%; }
.svc h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); margin: 44px 0 12px; line-height: 1.08; }
.svc p { color: var(--mute); font-size: .95rem; max-width: 34ch; }
.svc ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.svc li { font: 500 .7rem/1 var(--f-mono); letter-spacing: .05em; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); background: rgba(10,8,6,.55); transition: border-color .3s, color .3s; }
.svc:hover li { border-color: var(--line-strong); }
.svc-cta { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: var(--paper); text-decoration: none; font: 600 .78rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.svc-cta span { background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease), color .3s; }
.svc-cta svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold); transition: transform .5s var(--ease), background .3s, color .3s; }
.svc:hover .svc-cta span, .svc-cta:focus-visible span { background-size: 100% 1px; color: var(--gold-hi); }
.svc:hover .svc-cta svg { transform: translateX(6px); background: var(--gold); color: var(--ink); }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; gap: 12px; } .svc { min-height: 0; } .svc h3 { margin-top: 32px; } }
@media (hover: none) { .svc-cta span { background-size: 100% 1px; } }
@media (prefers-reduced-motion: reduce) { .svc, .svc-num, .svc-icon, .svc-cta svg { transition: none; } .svc:hover { transform: none; } .svc:hover .svc-rec { animation: none; } }

/* ---------- work / portfolio ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-strong); background: transparent; padding: .6em 1.1em; border-radius: 999px; font-size: .85rem; color: var(--mute); transition: all .3s; }
.chip:hover { color: var(--paper); }
.chip.on { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work { grid-column: span 4; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--ink-2); cursor: pointer; transition: opacity .4s, transform .4s; }
.work.wide { grid-column: span 8; aspect-ratio: auto; }
.work.hide { display: none; }
.work .art { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.work:hover .art { transform: scale(1.06); }
.work .meta { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.work h4 { font-size: 1.25rem; }
.work .meta .mono { color: var(--gold); font-size: .66rem; margin-bottom: 6px; display: block; }
.work .play { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; transform: scale(.7); opacity: 0; transition: all .45s var(--ease); }
.work:hover .play { transform: none; opacity: 1; }
.work .ratio { position: absolute; top: 16px; left: 16px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .1em; padding: 6px 9px; border-radius: 4px; background: rgba(0,0,0,.55); color: var(--paper); backdrop-filter: blur(6px); }
/* placeholder frames — replace .art backgrounds with your real project images */
.art.a1 { background: radial-gradient(circle at 70% 30%, #f4d98e 0 6%, transparent 7%), radial-gradient(ellipse at 30% 110%, #c8452d, transparent 55%), linear-gradient(160deg, #1d1307, #6b3a13 60%, #d6a548); }
.art.a2 { background: repeating-linear-gradient(115deg, #1a140c 0 18px, #221a10 18px 36px), radial-gradient(circle at 50% 40%, rgba(214,165,72,.6), transparent 50%); background-blend-mode: screen; }
.art.a3 { background: conic-gradient(from 200deg at 60% 55%, #0a0806, #3c2a12, #d6a548, #f3ecdf, #0a0806); }
.art.a4 { background: linear-gradient(0deg, rgba(10,8,6,.2), rgba(10,8,6,.2)), radial-gradient(circle at 20% 20%, #e0442c, transparent 40%), radial-gradient(circle at 80% 70%, #d6a548, transparent 45%), #150f09; }
.art.a5 { background: linear-gradient(90deg, #f3ecdf 0 38%, #0a0806 38% 40%, #d6a548 40% 100%); }
.art.a6 { background: radial-gradient(circle at 50% 120%, #d6a548, transparent 60%), repeating-radial-gradient(circle at 50% 120%, transparent 0 22px, rgba(244,217,142,.12) 22px 23px), #0f0b07; }
.art.a7 { background: linear-gradient(135deg, #2a1a0a 0%, #0a0806 50%), radial-gradient(circle at 75% 25%, #f4d98e, transparent 30%); background-blend-mode: screen; }
.art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .work, .work.wide { grid-column: span 6; aspect-ratio: 4/5; } }
@media (max-width: 560px) { .work, .work.wide { grid-column: span 12; aspect-ratio: 4/3; } }

/* ---------- process ---------- */
.process { background: var(--ink-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { padding: 26px 22px 6px 0; border-top: 1px solid var(--line-strong); position: relative; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(214,165,72,.15); }
.step .mono { color: var(--gold); }
.step h4 { font-size: 1.35rem; margin: 12px 0 8px; }
.step p { color: var(--mute); font-size: .92rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.portrait { position: relative; max-width: 480px; width: 100%; }
.portrait .frame { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; border: 1px solid var(--line-strong); position: relative; }
.portrait .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.92) contrast(1.04); transition: transform 1.4s var(--ease); }
.portrait:hover .frame img { transform: scale(1.04); }
.portrait .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.55), transparent 45%); }
.portrait .badge { position: absolute; right: -18px; bottom: 40px; background: var(--gold); color: var(--ink); padding: 16px 18px; border-radius: 12px; font-weight: 800; line-height: 1.1; box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); transform: rotate(4deg); }
.portrait .badge b { display: block; font: 800 2rem/1 var(--f-display); }
.portrait .badge span { font-size: .75rem; }
.portrait .spin-text { position: absolute; top: -34px; left: -34px; width: 130px; height: 130px; animation: spin 22s linear infinite; }
.portrait .spin-text text { fill: var(--gold); font: 600 11px var(--f-mono); letter-spacing: 3px; }
.quote { font: 400 clamp(1.5rem, 2.8vw, 2.35rem)/1.2 var(--f-serif); font-style: italic; color: var(--paper); margin: 26px 0; }
.quote::before { content: "“"; color: var(--gold); }
.quote::after { content: "”"; color: var(--gold); }
.sign { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.sign b { font: 700 1.2rem/1.2 var(--f-display); display: block; }
.sign span { color: var(--gold); }
.founder-grid .lead + .lead { margin-top: 14px; }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } .portrait { margin-inline: auto; } .portrait .badge { right: 8px; } .portrait .spin-text { left: -10px; } }

/* ---------- ebook teaser ---------- */
.teaser { border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: radial-gradient(circle at 90% 10%, rgba(214,165,72,.18), transparent 50%), var(--ink-2); overflow: hidden; }
.teaser .books { display: flex; justify-content: center; perspective: 1200px; min-height: 280px; align-items: center; }
.teaser .books .cover { width: 150px; margin-left: -40px; transition: transform .6s var(--ease); box-shadow: -18px 20px 40px -10px rgba(0,0,0,.8); }
.teaser .books .cover:first-child { margin-left: 0; transform: rotate(-9deg) translateY(10px); }
.teaser .books .cover:nth-child(2) { transform: translateY(-14px); z-index: 2; }
.teaser .books .cover:nth-child(3) { transform: rotate(9deg) translateY(10px); }
.teaser:hover .books .cover:first-child { transform: rotate(-14deg) translate(-20px, 10px); }
.teaser:hover .books .cover:nth-child(3) { transform: rotate(14deg) translate(20px, 10px); }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } .teaser .books .cover { width: 120px; } }

/* ---------- eBook cover (generated in CSS; swap for real cover image) ---------- */
.cover { position: relative; aspect-ratio: 2/3; border-radius: 4px 10px 10px 4px; overflow: hidden; padding: 12% 11%; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); background: var(--c-bg, #1a120a); isolation: isolate; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.08), transparent); z-index: 2; }
.cover .c-art { position: absolute; inset: 0; z-index: -1; background: var(--c-art); }
.cover .c-top { font: 600 .5em/1.3 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--c-acc, var(--gold)); }
.cover .c-title { font: 800 1.15em/.98 var(--f-display); overflow-wrap: break-word; letter-spacing: -.02em; text-wrap: balance; }
.cover .c-title em { font: 400 1.05em/1 var(--f-serif); font-style: italic; color: var(--c-acc, var(--gold)); display: block; }
.cover .c-foot { font: 600 .48em/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; opacity: .8; display: flex; justify-content: space-between; }
.cover img.c-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--mute); font-size: .78rem; }
.contact-list b { font-weight: 600; word-break: break-word; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.4vw, 40px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; background: var(--ink-3); border: 1px solid var(--line); border-radius: 10px; color: var(--paper); padding: 14px 16px; font: 500 .95rem/1.4 var(--f-body); transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,165,72,.14); }
.form-note { grid-column: 1 / -1; font-size: .9rem; min-height: 1.4em; }
.form-note.ok { color: var(--ok); } .form-note.err { color: var(--rec); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- big CTA + footer ---------- */
.big-cta { text-align: center; padding-block: clamp(80px, 12vw, 160px); overflow: hidden; }
.big-cta h2 { font-size: clamp(3rem, 11vw, 10rem); font-weight: 800; letter-spacing: -.045em; line-height: .88; }
.big-cta .btn { margin-top: 40px; }
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--mute); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h5 { margin: 0 0 16px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--gold-hi); }
.foot-logo { width: 120px; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: var(--gold); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- custom cursor (desktop only) ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99; border-radius: 50%; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--gold); transition: width .3s, height .3s, margin .3s, background .3s; }
.cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(214,165,72,.12); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-hi); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.7); transition: transform .3s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }

/* =========================================================
   eBOOK STORE
   ========================================================= */
.store-hero { padding-top: calc(130px + env(safe-area-inset-top, 0px)); padding-bottom: 50px; overflow: hidden; }
.store-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.035em; }
.store-hero .trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--mute); font-size: .88rem; }
.store-hero .trust span { display: inline-flex; gap: 8px; align-items: center; }
.store-hero .trust svg { width: 18px; height: 18px; color: var(--gold); }

.store-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; color: var(--paper); padding: 12px 18px 12px 44px; font: 500 .92rem var(--f-body); }
.search input:focus { outline: none; border-color: var(--gold); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--mute); }

.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.book { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.book:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(214,165,72,.35); }
.book .cover-wrap { background: radial-gradient(circle at 50% 30%, rgba(214,165,72,.15), transparent 70%), var(--ink-3); border-radius: 12px; padding: 26px 16% 22px; perspective: 900px; position: relative; }
.book .cover { font-size: clamp(15px, 1.5vw, 19px); box-shadow: -14px 18px 30px -8px rgba(0,0,0,.75); transition: transform .7s var(--ease); transform: rotateY(-14deg); }
.book:hover .cover { transform: rotateY(0) scale(1.03); }
.book .tag { position: absolute; top: 12px; left: 12px; font: 600 .62rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 6px 8px; border-radius: 4px; }
.book .body { padding: 18px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.book .cat { color: var(--gold); }
.book h3 { font-size: 1.28rem; margin: 8px 0 8px; line-height: 1.12; }
.book p { color: var(--mute); font-size: .88rem; }
.book .specs span { white-space: nowrap; }
.book .specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; color: var(--mute); font: 500 .7rem/1 var(--f-mono); letter-spacing: .06em; }
.book .buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.price { font: 800 1.45rem/1 var(--f-display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.price s { font: 500 .85rem var(--f-body); color: var(--mute); margin-left: 6px; }
.book .actions { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; color: var(--paper); transition: all .3s; flex: none; }
.icon-btn:hover, .icon-btn.added { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }
.book .btn { padding: .8em 1.1em; font-size: .85rem; }
.empty { text-align: center; color: var(--mute); padding: 60px 0; grid-column: 1 / -1; }

.bundle { margin-top: 70px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; border-radius: 24px; padding: clamp(26px, 4vw, 52px); background: linear-gradient(120deg, var(--gold) 0%, var(--gold-hi) 55%, var(--gold) 100%); color: var(--ink); }
.bundle h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.bundle p { margin-top: 12px; max-width: 50ch; }
.bundle .price { color: var(--ink); font-size: 2.4rem; }
.bundle .price s { color: rgba(10,8,6,.6); }
.bundle .btn { --bg: var(--ink); --fg: var(--gold-hi); border-color: var(--ink); margin-top: 16px; }
.bundle-side { text-align: right; }
@media (max-width: 760px) { .bundle { grid-template-columns: 1fr; } .bundle-side { text-align: left; } }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font: 700 1.12rem/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); margin-top: 12px; max-width: 65ch; }

/* drawer + modal */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 75; width: min(440px, 100%); background: var(--ink-2); border-left: 1px solid var(--line-strong); transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; padding: calc(22px + env(safe-area-inset-top, 0px)) 22px calc(22px + env(safe-area-inset-bottom, 0px)); }
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.5rem; }
.cart-items { flex: 1; overflow-y: auto; padding-block: 12px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .cover { font-size: 7px; border-radius: 2px 4px 4px 2px; }
.cart-item b { display: block; font-size: .95rem; line-height: 1.25; }
.cart-item span { color: var(--gold-hi); font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-item button { background: none; border: 0; color: var(--mute); font-size: .8rem; text-decoration: underline; }
.cart-item button:hover { color: var(--rec); }
.cart-foot { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; color: var(--mute); font-variant-numeric: tabular-nums; }
.row.total { color: var(--paper); font: 800 1.3rem/1 var(--f-display); margin-top: 6px; }
.cart-foot .btn { justify-content: center; width: 100%; margin-top: 8px; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity .35s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-box { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 22px; padding: clamp(22px, 4vw, 36px); transform: translateY(20px) scale(.98); transition: transform .45s var(--ease); }
.modal.show .modal-box { transform: none; }
.modal-box h3 { font-size: 1.7rem; margin-bottom: 6px; }
.modal-box .lead { font-size: .94rem; }
.modal-box .form { background: none; border: 0; padding: 0; margin-top: 22px; }
.close { background: none; border: 1px solid var(--line-strong); width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; line-height: 1; flex: none; }
.close:hover { background: var(--gold); color: var(--ink); }
.modal-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.secure { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: .8rem; margin-top: 4px; grid-column: 1 / -1; justify-content: center; }
.secure svg { width: 15px; height: 15px; color: var(--ok); }
.success-ic { width: 72px; height: 72px; border-radius: 50%; background: rgba(111,191,115,.14); color: var(--ok); display: grid; place-items: center; margin-bottom: 18px; }
.success-ic svg { width: 36px; height: 36px; }
.dl-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.dl-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.dl-list a { color: var(--gold-hi); font-weight: 700; white-space: nowrap; }
.demo-flag { margin-top: 16px; font-size: .82rem; color: var(--mute); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 12px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95; transform: translate(-50%, calc(100% + 80px)); visibility: hidden; background: var(--paper); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: transform .45s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* real cover images */
.cover.has-img { aspect-ratio: 1055 / 1491; padding: 0; background: var(--ink-3); }
.cover.has-img::before { z-index: 2; }
.teaser .books .cover:only-child { width: min(250px, 70%); margin: 0; transform: rotate(-4deg); box-shadow: -24px 30px 60px -12px rgba(0,0,0,.85), 0 0 80px -20px rgba(214,165,72,.45); }
.teaser:hover .books .cover:only-child { transform: rotate(0) scale(1.03); }

/* single featured eBook */
.featured { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.feat-cover { position: relative; perspective: 1400px; max-width: 440px; width: 100%; justify-self: center; }
.feat-cover::before { content: ""; position: absolute; inset: 10% -8% -6%; background: radial-gradient(circle, rgba(29,78,216,.45), rgba(214,165,72,.2) 45%, transparent 70%); filter: blur(40px); z-index: -1; }
.feat-cover .cover { transform: rotateY(-12deg) rotateX(3deg); transition: transform .9s var(--ease); box-shadow: -30px 40px 70px -20px rgba(0,0,0,.9); }
.feat-cover:hover .cover { transform: none; }
.feat-cover .tag { position: absolute; top: -12px; right: -12px; z-index: 3; background: var(--rec); color: #fff; font: 700 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border-radius: 6px; transform: rotate(6deg); }
.feat-info h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 10px 0 14px; }
.feat-info .sub { color: var(--paper); font-size: 1.08rem; max-width: 50ch; }
.feat-info .desc { color: var(--mute); margin-top: 10px; max-width: 58ch; }
.feat-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.feat-specs span { font: 500 .74rem/1 var(--f-mono); letter-spacing: .06em; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.learn { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.learn li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--mute); }
.learn li b { color: var(--paper); display: block; font-size: .98rem; }
.learn li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0806' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }
.feat-buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.feat-buy .price { font-size: 3rem; }
.feat-buy .price small { display: block; font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.feat-buy .actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .feat-cover { max-width: 300px; } }
@media (max-width: 520px) { .learn { grid-template-columns: 1fr; } }

/* work tile videos */
.art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.art video.ready { opacity: 1; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,.25), transparent 30%); pointer-events: none; }
.work .meta, .work .ratio { z-index: 2; }
.work-note { color: var(--mute); margin-top: 18px; font-size: .64rem; }
.video-modal .vl-box { position: relative; width: min(1100px, 100%); }
.video-modal video { width: 100%; max-height: 80vh; border-radius: 14px; background: #000; border: 1px solid var(--line-strong); display: block; }
.video-modal .close { position: absolute; top: -52px; right: 0; background: var(--ink-2); }
.vl-title { margin-top: 12px; color: var(--mute); font-size: .9rem; }
.video-modal img[data-vl-img] { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; background: #000; border: 1px solid var(--line-strong); display: block; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Thank-you page ===== */

  .ty { position: relative; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 90px; overflow: hidden; min-height: 70vh; }
  .ty-head { text-align: center; max-width: 760px; margin-inline: auto; }
  .ty-check { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(111,191,115,.25), rgba(111,191,115,.06)); border: 1px solid rgba(111,191,115,.5); color: var(--ok); }
  .ty-check svg { width: 44px; height: 44px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .3s var(--ease) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .ty-head h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; }
  .ty-head .lead { margin: 18px auto 0; text-align: center; }

  .ty-card { margin: clamp(40px, 6vw, 70px) auto 0; max-width: 980px; display: grid; grid-template-columns: 280px 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; padding: clamp(22px, 4vw, 44px); border-radius: 26px; border: 1px solid var(--line-strong); background: radial-gradient(circle at 0% 0%, rgba(29,78,216,.22), transparent 55%), radial-gradient(circle at 100% 100%, rgba(214,165,72,.16), transparent 50%), var(--ink-2); }
  .ty-cover { perspective: 1200px; }
  .ty-cover .cover { transform: rotateY(-10deg); box-shadow: -24px 30px 60px -18px rgba(0,0,0,.9); transition: transform .8s var(--ease); }
  .ty-cover:hover .cover { transform: none; }
  .ty-info h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 8px 0 12px; }
  .ty-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; }
  .ty-meta span { font: 500 .72rem/1 var(--f-mono); letter-spacing: .06em; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
  .dl-btn { font-size: 1.05rem; padding: 1.1em 1.8em; }
  .dl-btn svg { width: 1.3em; height: 1.3em; }
  .ty-receipt { margin-top: 24px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; padding-top: 20px; border-top: 1px solid var(--line); }
  .ty-receipt small { display: block; font: 500 .66rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  .ty-receipt b { font-variant-numeric: tabular-nums; word-break: break-all; }
  .ty-more { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
  .ty-more a { color: var(--gold-hi); font-weight: 700; }

  .ty-steps { max-width: 980px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ty-step { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
  .ty-step .mono { color: var(--gold); }
  .ty-step h4 { font-size: 1.2rem; margin: 10px 0 6px; }
  .ty-step p { color: var(--mute); font-size: .92rem; }
  .ty-step a { color: var(--gold-hi); font-weight: 700; }

  .ty-state { text-align: center; max-width: 620px; margin: 40px auto 0; padding: 30px; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--mute); }
  .ty-state b { color: var(--paper); }
  .ty-state .btn { margin-top: 18px; }
  .spinner { width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }

  #confetti { position: fixed; inset: 0; pointer-events: none; z-index: 85; width: 100%; height: 100%; }
  @media (max-width: 760px) {
    .ty-card { grid-template-columns: 1fr; text-align: center; }
    .ty-cover { max-width: 220px; margin-inline: auto; }
    .ty-meta, .ty-receipt { justify-content: center; }
    .ty-receipt { grid-template-columns: 1fr; }
    .ty-steps { grid-template-columns: 1fr; }
  }


/* ===== Checkout: payment methods + UPI ===== */
.gw-list { display: grid; gap: 8px; }
.gw-opt { flex-direction: row !important; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font: 500 .92rem var(--f-body) !important; color: var(--paper) !important; }
.gw-opt:has(input:checked) { border-color: var(--gold); background: rgba(214,165,72,.08); }
.gw-opt input { width: 18px !important; height: 18px; accent-color: var(--gold); flex: none; padding: 0 !important; }
.gw-opt span { display: flex; flex-direction: column; }
.gw-opt small { color: var(--mute); font-size: .76rem; }
.upi-pay { display: grid; gap: 14px; text-align: center; margin-top: 16px; }
.upi-qr { width: min(240px, 80%); margin: 0 auto; background: #fff; padding: 10px; border-radius: 12px; }
.upi-amt { font: 800 2rem/1 var(--f-display); color: var(--gold-hi); }
.upi-id { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.upi-pay .field { text-align: left; }
.btn.small { padding: .6em 1em; font-size: .8rem; }
.muted { color: var(--mute); } .small { font-size: .85rem; } .red { color: var(--rec); }

/* ===== Thank-you extras ===== */
.ty-bad { border-color: rgba(224,68,44,.5); }
.ty-bad .hero-cta { justify-content: center; }
.ty-check.pending { background: rgba(214,165,72,.14); border-color: var(--line-strong); color: var(--gold); }
.ty-check.pending svg { stroke-dasharray: none; animation: none; }
.ty-course-cover img { width: 100%; border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; border: 1px solid var(--line-strong); }
.ty-card.course { grid-template-columns: 320px 1fr; }
.cred { margin: 18px 0; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 14px; background: rgba(214,165,72,.06); display: grid; gap: 10px; }
.cred-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cred-row small { color: var(--mute); }
.cred-row b { font-size: 1.05rem; word-break: break-all; }
@media (max-width: 760px) { .ty-card.course { grid-template-columns: 1fr; } }

/* ===== Courses list ===== */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.course-card { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
a.course-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(214,165,72,.35); }
.cc-img { position: relative; aspect-ratio: 16/9; background: radial-gradient(circle at 70% 30%, rgba(214,165,72,.35), transparent 50%), var(--ink-3); display: grid; place-items: center; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.course-card:hover .cc-img img { transform: scale(1.05); }
.cc-img > span { font: 800 3rem var(--f-display); color: var(--gold); }
.cc-img .tag { position: absolute; top: 12px; left: 12px; font: 600 .62rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 6px 8px; border-radius: 4px; }
.cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cc-body h3 { font-size: 1.3rem; line-height: 1.15; }
.cc-body p { color: var(--mute); font-size: .9rem; }
.cc-meta { display: flex; gap: 14px; color: var(--mute); font-size: .7rem; letter-spacing: .06em; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.cc-foot .price small { font: 500 .72rem var(--f-body); color: var(--mute); }
.progress { height: 6px; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }

/* ===== Course detail ===== */
.course-hero { position: relative; overflow: hidden; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 30px; }
.course-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.course-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; }
.course-media img, .ratio-16x9 { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
.ratio-16x9 { position: relative; overflow: hidden; background: #000; }
.ratio-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose { color: var(--mute); font-size: 1.02rem; max-width: 68ch; }
.prose h2, .prose h3 { color: var(--paper); margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--gold-hi); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.curriculum details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--ink-2); overflow: hidden; }
.curriculum summary { cursor: pointer; list-style: none; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; font: 700 1.02rem var(--f-display); }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum ol { list-style: none; margin: 0; padding: 0 18px 12px; }
.curriculum li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.curriculum li > svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.curriculum li .lock { width: 14px; height: 14px; color: var(--mute); }
.curriculum li small { margin-left: auto; }
.curriculum li a { color: var(--gold-hi); text-decoration: underline; }
.pill-mini { font: 600 .6rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; background: rgba(111,191,115,.16); color: var(--ok); font-style: normal; }
.instructor { display: flex; gap: 18px; align-items: center; margin-top: 44px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.instructor img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; }
.plan-box { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 22px; padding: 22px; display: grid; gap: 14px; }
.plan-box h3 { font-size: 1.3rem; }
.plans { display: grid; gap: 10px; }
.plan { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .3s, background .3s; }
.plan:has(input:checked) { border-color: var(--gold); background: rgba(214,165,72,.08); }
.plan input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.plan-body { display: flex; flex-direction: column; flex: 1; }
.plan-body small { color: var(--mute); font-size: .8rem; }
.plan-body em { font: 600 .6rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 4px 6px; border-radius: 4px; width: max-content; margin-top: 4px; font-style: normal; }
.plan-price { font: 800 1.3rem/1 var(--f-display); color: var(--gold-hi); text-align: right; font-variant-numeric: tabular-nums; }
.plan-price s { display: block; font: 500 .78rem var(--f-body); color: var(--mute); margin-top: 3px; }
.wide-btn { width: 100%; justify-content: center; padding: 1.05em; font-size: 1rem; }
.plan-note { display: flex; gap: 8px; align-items: flex-start; }
.plan-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold); }
@media (max-width: 960px) { .course-hero-grid, .course-layout { grid-template-columns: minmax(0, 1fr); } .plan-box { position: static; } }

/* ===== Student area ===== */
.learn-main { padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: 80px; min-height: 70vh; }
.auth-box { max-width: 440px; margin: 0 auto; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 22px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 16px; }
.auth-box.wide { max-width: none; margin: 0; }
.auth-box h1 { font-size: 1.9rem; }
.auth-box .field { display: flex; flex-direction: column; gap: 8px; }
.auth-box label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.auth-box input { width: 100%; background: var(--ink-3); border: 1px solid var(--line); border-radius: 10px; color: var(--paper); padding: 14px 16px; font: 500 .95rem var(--f-body); }
.auth-box input:focus { outline: none; border-color: var(--gold); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: 1fr; } }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.player { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); margin-top: 12px; user-select: none; -webkit-user-select: none; }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.locked { display: grid; place-items: center; text-align: center; padding: 20px; background: radial-gradient(circle, rgba(214,165,72,.12), transparent 60%), #000; }
.player.locked svg { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 10px; }
.player.locked h3 { margin-bottom: 14px; font-size: 1.2rem; }
.wm { position: absolute; z-index: 3; pointer-events: none; font: 600 .78rem var(--f-mono); color: rgba(255,255,255,.28); text-shadow: 0 1px 2px rgba(0,0,0,.5); transition: top 1.5s ease, left 1.5s ease; white-space: nowrap; }
.watch-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.watch-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lesson-notes { padding: 18px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; }
.watch-side { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px; max-height: calc(100vh - 130px); overflow-y: auto; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.side-mod { color: var(--gold); font-size: .68rem; margin: 16px 0 6px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 10px; font-size: .9rem; color: var(--mute); }
.side-list a:hover { background: var(--ink-3); color: var(--paper); }
.side-list li.on a { background: rgba(214,165,72,.12); color: var(--paper); }
.side-list li.done .dot { color: var(--ok); }
.side-list .dot { width: 20px; text-align: center; flex: none; font-size: .75rem; color: var(--gold); }
.side-list small { margin-left: auto; }
@media (max-width: 960px) { .watch { grid-template-columns: minmax(0, 1fr); } .watch-side { position: static; max-height: none; } }

/* ===== Custom pages ===== */
.page-hero { position: relative; overflow: hidden; padding-top: calc(130px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(2.4rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; }
.page-hero img.hero-img { margin-top: 30px; width: 100%; max-height: 520px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line-strong); }
.blocks { display: grid; gap: clamp(30px, 5vw, 60px); padding-bottom: clamp(60px, 8vw, 110px); }
.blk-text { max-width: 74ch; }
.blk-text .prose { color: var(--paper); opacity: .92; }
.blk-img figure { margin: 0; }
.blk-img img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.blk-img figcaption { color: var(--mute); font-size: .88rem; margin-top: 10px; }
.blk-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.blk-split.flip > :first-child { order: 2; }
.blk-split img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
@media (max-width: 800px) { .blk-split { grid-template-columns: 1fr; } .blk-split.flip > :first-child { order: 0; } }
.blk-cta { text-align: center; padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line-strong); border-radius: 24px; background: radial-gradient(circle at 50% 0%, rgba(214,165,72,.16), transparent 60%), var(--ink-2); }
.blk-cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.blk-cta .btn { margin-top: 20px; }
.blk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.blk-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); }
.blk-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.blk-card p { color: var(--mute); }
.courses-teaser .ct-media { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; background: radial-gradient(circle at 70% 30%, rgba(214,165,72,.35), transparent 50%), var(--ink-3); border: 1px solid var(--line-strong); }
.courses-teaser .ct-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.courses-teaser .ct-media:hover img { transform: scale(1.05); }
.ct-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(214,165,72,.2); }
.ct-play svg { width: 28px; height: 28px; margin-left: 4px; }
.ct-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font: 700 1.1rem var(--f-display); }
.gw-card { position: relative; }
.cred b, [data-cpass] { text-transform: none !important; letter-spacing: .06em; }
@media (max-width: 960px) { .plan-box { order: -1; } }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; }
.legal-links a { color: var(--mute); } .legal-links a:hover { color: var(--gold-hi); }
.footer .foot-bottom + .legal-links { margin-top: 14px; }
.co-agree { grid-column: 1 / -1; font-size: .8rem; color: var(--mute); text-align: center; }
.co-agree a { color: var(--gold-hi); text-decoration: underline; }
.blk-text .prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 1.8em 0 .5em; }
.blk-text .prose li { margin: .35em 0; }

/* ===== Rate card (rates.php) ===== */
.rate-filters { margin-bottom: 26px; }
.rate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.rate-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 26px; transition: transform .5s var(--ease), border-color .4s; }
.rate-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.rate-card.hot { border: 1.5px solid var(--gold); background: linear-gradient(180deg, rgba(214,165,72,.08), var(--ink-2) 40%); }
.rate-card[hidden] { display: none !important; }
.rate-badge { position: absolute; top: -13px; left: 24px; background: var(--gold); color: #1a1206; font: 700 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.rate-top { display: flex; justify-content: space-between; gap: 10px; }
.rate-card h3 { font-size: 1.55rem; }
.rate-price { font: 800 2.3rem/1 var(--f-display); color: var(--gold-hi); font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.rate-price s { font: 500 1rem var(--f-body); color: var(--mute); }
.rate-price small { font: 500 .85rem var(--f-body); color: var(--mute); }
.rate-feat { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rate-feat li { position: relative; padding-left: 24px; font-size: .95rem; line-height: 1.45; color: var(--paper); }
.rate-feat li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.rate-feat li.plus { padding-left: 0; font-weight: 700; color: var(--gold-hi); }
.rate-feat li.plus::before { display: none; }
.rate-for { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--mute); }
.rate-book { justify-content: center; width: 100%; }
.rate-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; margin-top: 56px; }
.rate-extra .h-md { margin-bottom: 8px; }
.rate-addons { margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rate-addons div { display: flex; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.rate-addons div:last-child { border-bottom: 0; }
.rate-addons b { color: var(--gold-hi); white-space: nowrap; }
.rate-terms { margin: 16px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--mute); }
.bk-modal .modal-box { width: min(560px, 100%); }
.bk-modal fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-modal fieldset[hidden] { display: none; }
.bk-legend { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; padding: 0; }
.bk-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-3); cursor: pointer; font-size: .93rem; line-height: 1.4; text-transform: none; letter-spacing: 0; font-family: inherit; color: var(--paper); }
.bk-opt input { margin-top: 3px; accent-color: var(--gold); }
.bk-opt b { color: var(--gold-hi); }
.bk-sum { border-top: 1px solid var(--line); padding-top: 12px; gap: 6px; }
.bk-sum .row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.bk-sum .row.total b { font: 800 1.5rem/1 var(--f-display); color: var(--gold-hi); }
.ty-svc-items { list-style: none; padding: 0; margin: 6px 0 0; color: var(--mute); font-size: .95rem; }
.bk-modal .field label.bk-opt, .bk-modal label.bk-opt { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 10px; text-align: left; font: 500 .93rem/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--paper); }
.bk-modal label.bk-opt span { flex: 1; }
.bk-modal label.bk-opt input { flex: 0 0 auto; width: auto; }
.bk-modal label.bk-opt:has(input:checked) { border-color: var(--gold); }

/* ===== Hero H1 kicker (keyword line inside the H1) ===== */
.hero h1 .hero-kicker { display: flex; font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; color: var(--gold); }

/* ===== Reviews ===== */
.reviews .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.review .stars { display: flex; gap: 3px; color: var(--gold); }
.review .stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--paper); flex: 1; }
.review blockquote::before { content: "“"; display: block; font: 800 2.6rem/0.6 var(--f-display); color: var(--gold); margin-bottom: 6px; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; }
.review figcaption small { display: block; color: var(--mute); font-size: .85rem; }
.review figcaption small.gold { color: var(--gold); }
.review .avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--gold-hi); font: 800 1.05rem/1 var(--f-display); }

/* ===== Map (contact) ===== */
.map-box { position: relative; margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-2); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map-link { position: absolute; right: 10px; bottom: 10px; background: rgba(12,10,8,.85); color: var(--gold-hi); padding: 8px 11px; border-radius: 999px; font-size: .68rem; text-decoration: none; }
