/* NEETsirJEE — site styles
   Look: "midnight glass". Deep navy night, frosted glass panels with a bright top edge,
   DNA red and "sir" orange from the logo, and one accent colour per subject in the lab. */

@property --sc { syntax: '<color>'; inherits: true; initial-value: #5CC8FF; }

:root {
  --night: #070D1C;
  --navy: #14213D;
  --navy-2: #1C2B4F;
  --navy-3: #26385F;
  --cream: #FBEFD5;
  --paper: #FFF8E8;
  --muted: #AEB4C4;
  --muted-ink: #5B6276;
  --red: #E0302C;
  --orange: #F07A1A;
  --amber: #FFB45E;
  --green: #2FB774;
  --physics: #5CC8FF;
  --chemistry: #FF9A3D;
  --biology: #4BE3A0;
  --line: rgba(255, 255, 255, .1);
  --line-ink: rgba(20, 33, 61, .14);
  --glow: rgba(240, 122, 26, .35);

  /* glass */
  --glass: linear-gradient(155deg, rgba(255,255,255,.085), rgba(255,255,255,.02) 55%, rgba(255,255,255,.04));
  --glass-line: rgba(255, 255, 255, .11);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.06);
  --glass-shadow: 0 30px 70px -34px rgba(0, 0, 0, .75);
  --blur: blur(22px) saturate(1.5);

  --display: 'Fredoka', 'Baloo 2', ui-rounded, system-ui, sans-serif;
  --accent: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Nunito Sans', 'Baloo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --wrap: 1240px;
  --radius: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--night); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
.sir, em.sir { font-family: var(--accent); font-style: italic; font-weight: 800; color: var(--orange); letter-spacing: -.01em; }
.eyebrow { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* frosted glass: one recipe for every card and panel */
.glass, .scene, .device, .why-sir, .f-card, .faq details, .feat, .picker a, .side-card, .plan, .t-card, .flow li, .filters button, .btn-glass, .btn-ink, .btn-ghost {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--glass-edge), var(--glass-shadow);
}
/* film grain keeps the big gradients from banding */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-family: var(--display); font-weight: 600; font-size: 1.04rem; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; white-space: nowrap; }
.btn-primary { position: relative; overflow: hidden; background: linear-gradient(180deg, #FF9440, var(--orange) 55%, #D9620C); color: #1A0E04; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 34px -10px var(--glow); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 62%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 18px 44px -10px var(--glow); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass, .btn-ghost, .btn-ink { color: var(--cream); }
.btn-glass:hover, .btn-ghost:hover, .btn-ink:hover { transform: translateY(-2px); background: linear-gradient(155deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* ---------- nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.nav { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; transition: transform .5s var(--ease); padding-inline: var(--gutter); }
.nav.hide { transform: translateY(-140%); }
.nav .nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; max-width: calc(var(--wrap) - 40px); padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(10, 17, 36, .38); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--glass-edge), 0 20px 50px -26px rgba(0,0,0,.8); transition: background .4s; }
.nav.scrolled .nav-inner { background: rgba(10, 17, 36, .66); }
.nav-logo { display: block; flex: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 6px; margin: 0 auto 0 12px; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { text-decoration: none; font-weight: 600; color: var(--muted); padding: 8px 12px; }
.nav-login:hover { color: var(--cream); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255,255,255,.08); place-items: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--cream); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-sheet { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav .nav-inner { height: 58px; gap: 12px; border-radius: 20px; padding: 0 6px 0 16px; }
  .nav-logo img { height: 30px; }
  .nav-sheet { display: grid; position: fixed; inset: 0; z-index: 49; background: rgba(7,13,28,.84); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); align-content: space-between; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav-open .nav-sheet { opacity: 1; visibility: visible; }
  .nav-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .nav-sheet li a { display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 600; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .nav-sheet .btn { width: 100%; }
  .nav-sheet .sheet-cta { display: grid; gap: 12px; }
}

/* ---------- starry night backdrop ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(1100px 700px at 80% -10%, rgba(240,122,26,.12), transparent 60%),
  radial-gradient(900px 700px at -10% 40%, rgba(38,56,95,.7), transparent 60%),
  radial-gradient(800px 600px at 110% 90%, rgba(92,200,255,.07), transparent 60%),
  linear-gradient(180deg, #0A1328 0%, var(--night) 55%); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- lab: the particle stage at the top of the home page ---------- */
.lab { position: relative; height: calc((var(--scenes, 7) - 1) * 90svh + 100svh); --sc: var(--chemistry); }
.lab[data-subject="physics"] { --sc: var(--physics); }
.lab[data-subject="biology"] { --sc: var(--biology); }
.lab[data-subject="sir"] { --sc: var(--orange); }
.lab, .lab-stage { transition: --sc 1s var(--ease); }
.lab-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
#lab-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.lab-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(34% 44% at 66% 48%, color-mix(in oklab, var(--sc) 16%, transparent), transparent 72%),
  radial-gradient(70% 50% at 50% 120%, color-mix(in oklab, var(--sc) 9%, transparent), transparent 70%); }

/* the giant word behind each model, drawn as an outline that fills with the subject colour */
.lab-word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.lab-word span { font-family: var(--display); font-weight: 700; font-size: min(23vw, calc(150vw / var(--len, 7)), 25rem); line-height: .8; letter-spacing: -.045em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.075);
  background: linear-gradient(180deg, color-mix(in oklab, var(--sc) 22%, transparent), transparent 62%); -webkit-background-clip: text; background-clip: text;
  transform: translate(9%, -2%); }
.lab-word span.in { animation: wordIn 1.2s var(--ease) both; }
@keyframes wordIn { from { opacity: 0; letter-spacing: .06em; filter: blur(14px); } to { opacity: 1; letter-spacing: -.045em; filter: none; } }

/* sir's notes: handwritten labels pinned to the models */
.lab-notes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lab-notes svg { position: absolute; inset: 0; overflow: visible; }
.lab-notes .lead { fill: none; stroke: var(--amber); stroke-width: 1.3; stroke-dasharray: 3 4; opacity: 0; transition: opacity .25s; }
.lab-notes .pin { fill: var(--night); stroke: var(--amber); stroke-width: 2; opacity: 0; transition: opacity .25s; }
.lab-notes .note { position: absolute; left: 0; top: 0; font-family: 'Kalam', var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; color: var(--amber); white-space: nowrap; opacity: 0; transition: opacity .25s; text-shadow: 0 2px 14px rgba(7,13,28,.9); will-change: transform; }
.lab-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(90deg, rgba(7,13,28,.78), rgba(7,13,28,.35) 34%, transparent 58%),
  linear-gradient(0deg, rgba(7,13,28,.7), transparent 30%); }

.lab-meta { position: absolute; top: calc(96px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.lab-subject { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sc);
  background: rgba(10,17,36,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--glass-edge); }
.lab-subject b { font-weight: 500; }
.lab-subject i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 12px 2px color-mix(in oklab, var(--sc) 60%, transparent); }
.lab-count { font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.lab-count b { font-family: var(--display); font-size: 2.2rem; font-weight: 600; color: var(--cream); letter-spacing: -.02em; margin-right: 4px; vertical-align: -6px; }

.lab-ui { position: relative; z-index: 3; height: 100%; display: grid; align-items: end; padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.lab-panels { display: grid; max-width: 600px; }
.lab-panel { grid-area: 1 / 1; align-self: end; display: grid; gap: 18px; pointer-events: auto;
  opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .9s; }
.lab-panel > * { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.lab-panel:not(.is-on) > * { opacity: 0; transform: translateY(18px); }
.lab-panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
.lab-panel.is-on > :nth-child(2) { transition-delay: .08s; } .lab-panel.is-on > :nth-child(3) { transition-delay: .16s; } .lab-panel.is-on > :nth-child(4) { transition-delay: .24s; }
.lab-panel .eyebrow { color: var(--sc); }
.lab-panel h1 { font-size: clamp(3.2rem, 7.6vw, 7rem); font-weight: 700; line-height: .92; letter-spacing: -.035em; }
.lab-panel h1 .line { display: block; }
.lab-panel h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.lab-panel h2 .sir { display: block; }
.lab-panel p { color: var(--muted); font-size: 1.08rem; max-width: 31rem; }
.lab-panel .lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 34rem; }
.lab-panel .tip { display: grid; gap: 4px; font-family: 'Kalam', var(--body); font-size: 1.15rem; line-height: 1.3; color: var(--cream); padding-left: 16px; border-left: 2px solid var(--sc); max-width: 28rem; }
.lab-panel .tip span { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sc); }

/* the scale along the bottom, like the ruler on a physics practical bench */
.lab-ruler { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 4; }
.ruler { position: relative; height: 62px; margin-inline: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px calc(100% / 60)) left 30px / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px calc(100% / 180)) left 34px / 100% 4px no-repeat,
    linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) left 38px / 100% 1px no-repeat; }
.ruler .mark { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; padding: 0 6px 30px; border: 0; background: none; color: rgba(174,180,196,.7); cursor: pointer; transition: color .4s; }
.ruler .mark::after { content: ""; position: absolute; bottom: 14px; left: 50%; width: 1.5px; height: 18px; margin-left: -.75px; background: currentColor; border-radius: 2px; }
.ruler .mark:first-of-type { transform: none; justify-items: start; padding-left: 0; }
.ruler .mark:first-of-type::after { left: 0; }
.ruler .mark:last-of-type { transform: translateX(-100%); justify-items: end; padding-right: 0; }
.ruler .mark:last-of-type::after { left: auto; right: 0; }
.ruler .mark b { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; }
.ruler .mark span { font-family: var(--body); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.ruler .mark:hover, .ruler .mark.on { color: var(--cream); }
.ruler .mark.on b { color: var(--sc); }
.ruler .needle { position: absolute; bottom: 8px; left: 0; width: 2px; height: 34px; margin-left: -1px; border-radius: 2px; background: var(--sc); box-shadow: 0 0 14px 2px color-mix(in oklab, var(--sc) 70%, transparent); pointer-events: none; }
/* a little vernier that rides with the needle */
.ruler .needle::after { content: ""; position: absolute; left: -26px; bottom: -6px; width: 54px; height: 6px;
  background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--sc) 80%, transparent) 0 1px, transparent 1px 6px); opacity: .8; }

.lab.no-gl .lab-word span { -webkit-text-stroke-color: rgba(255,255,255,.12); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .lab { height: calc((var(--scenes, 7) - 1) * 80svh + 100svh); }
  .lab-shade { background: linear-gradient(180deg, transparent 34%, rgba(7,13,28,.72) 58%, rgba(7,13,28,.94) 80%); }
  .lab-glow { background: radial-gradient(70% 34% at 50% 30%, color-mix(in oklab, var(--sc) 18%, transparent), transparent 72%); }
  .lab-word { place-items: start center; padding-top: 22svh; }
  .lab-word span { font-size: min(34vw, calc(128vw / var(--len, 7))); transform: none; }
  .lab-meta { top: calc(80px + env(safe-area-inset-top, 0px)); }
  .lab-count b { font-size: 1.5rem; vertical-align: -3px; }
  .lab-ui { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .lab-panel { gap: 13px; }
  .lab-panel h1 { font-size: clamp(2.7rem, 12.5vw, 4.4rem); }
  .lab-panel h2 { font-size: clamp(2.1rem, 9.6vw, 3.2rem); }
  .lab-panel p, .lab-panel .lede { font-size: .98rem; }
  .lab-panel .tip { font-size: 1.02rem; }
  .lab-panel:first-child .tip { display: none; }
  .lab-panel .hero-actions .btn { flex: 1 1 160px; }
  .lab-notes .note { font-size: 1rem; }
  .lab-ruler { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .ruler { height: 46px; }
  .ruler .mark { padding-bottom: 22px; }
  .ruler .mark span { display: none; }
  .ruler .mark::after { bottom: 12px; height: 12px; }
  .ruler .needle { height: 26px; }
  .ruler { background-position: left 22px, left 26px, left 30px; }
}
@media (max-width: 960px) and (max-height: 760px) {
  .lab-panel p:not(.tip):not(.lede) { display: none; }
  .lab-panel { gap: 11px; }
  .lab-panel h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .lab-panel h2 { font-size: clamp(1.9rem, 8.6vw, 2.7rem); }
  .lab-panel .lede { font-size: .9rem; line-height: 1.45; }
  .lab-panel .btn { min-height: 46px; }
  .lab-ui { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 400px) {
  .lab-panel .eyebrow { font-size: .66rem; letter-spacing: .1em; }
  .lab-panel .hero-actions { gap: 8px; }
  .lab-meta .lab-subject { font-size: .64rem; padding: 6px 10px; }
}

/* ---------- the logo builds itself (Blender frames) ---------- */
.sirseq { position: relative; height: 260svh; }
.sirseq-pin { position: sticky; top: 0; height: 100svh; min-height: 600px; display: grid; align-items: center; overflow: hidden; }
.sirseq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.sirseq-copy { display: grid; gap: 22px; }
.sirseq h2 { font-size: clamp(2.6rem, 5.8vw, 5.2rem); font-weight: 700; line-height: .98; letter-spacing: -.03em; }
.sirseq p { color: var(--muted); font-size: 1.12rem; max-width: 30rem; }
.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 660px; justify-self: center; }
.hero-stage canvas { width: 100%; height: 100%; }
.hero-stage::before { content: ""; position: absolute; inset: 12% 10% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,122,26,.26), rgba(224,48,44,.08) 60%, transparent); filter: blur(20px); z-index: -1; }
.hero-stage .fallback { position: absolute; inset: 10%; width: 80%; opacity: 0; }
.hero-stage.no-seq .fallback { opacity: 1; }
@media (max-width: 960px) {
  .sirseq { height: 200svh; }
  .sirseq-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: 0; padding-top: 60px; }
  .sirseq-copy { justify-items: center; gap: 14px; }
  .sirseq h2 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .sirseq p { font-size: 1rem; }
  .hero-stage { order: -1; width: min(86%, 420px); margin-bottom: -10px; }
}

/* ---------- story: follow one enquiry ---------- */
.story { position: relative; padding-block: 40px 120px; }
.story-intro { display: grid; gap: 18px; max-width: 46rem; margin-bottom: 72px; }
.story-intro h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.story-intro p { color: var(--muted); font-size: 1.1rem; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: start; }
.story-track { position: relative; display: grid; gap: 0; }
.lead-path { position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; }
.lead-path .fill { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--red), var(--orange)); border-radius: 2px; }
.lead-path .spark { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin-left: -8px; margin-top: -8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(255,180,94,.18), 0 0 26px 6px var(--glow); }

.act-head { position: relative; padding: 56px 0 28px 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.act-head:first-child { padding-top: 0; }
.act-head .label { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.act-head h3 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
.act-head img { width: clamp(110px, 16vw, 180px); height: auto; margin-bottom: -12px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }

.scene { position: relative; margin: 11vh 0 11vh 58px; padding: 30px 34px 32px; border-radius: 28px; display: grid; align-content: center; gap: 14px; opacity: .5; transition: opacity .6s var(--ease), box-shadow .6s var(--ease); }
.scene.is-active { opacity: 1; box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(240,122,26,.28), 0 30px 80px -34px rgba(240,122,26,.4); }
.scene::before { content: ""; position: absolute; left: -46px; top: 38px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--navy-3); transition: box-shadow .4s, background .4s; }
.scene.is-active::before { background: var(--orange); box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 6px rgba(240,122,26,.18), 0 0 20px 4px var(--glow); }
.scene .num { font-family: var(--mono); font-size: .84rem; color: var(--red); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.scene h4 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; position: relative; padding-bottom: 14px; }
.scene h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--orange)); transform-origin: left; transform: scaleX(.35); transition: transform .8s var(--ease); }
.scene.is-active h4::after { transform: scaleX(1); }
.scene p { color: var(--muted); font-size: 1.08rem; max-width: 32rem; }
.scene .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.scene .ui-slot { display: none; }

/* sticky phone on desktop */
.device-col { position: sticky; top: calc(50vh - 340px); height: 680px; display: grid; place-items: center; }
.device { position: relative; width: 340px; height: 680px; border-radius: 52px; padding: 12px; box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -20px rgba(0,0,0,.7), 0 0 120px -30px var(--glow) !important; }
.device::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #050A16; z-index: 3; }
.device-screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: var(--paper); }
.device-screen .ui { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.device-screen .ui.on { opacity: 1; transform: none; }
.device-glow { position: absolute; inset: auto -40px -40px; height: 120px; background: radial-gradient(closest-side, rgba(240,122,26,.35), transparent); filter: blur(10px); z-index: -1; }

@media (max-width: 960px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-track, .scene { min-width: 0; }
  .scene .ui-slot, .scene .ui-slot .ui { max-width: 100%; }
  .ui .cal { grid-template-columns: 26px repeat(5, minmax(0, 1fr)); }
  .device-col { display: none; }
  .scene { margin: 18px 0 18px 44px; padding: 22px 20px; opacity: 1; }
  .scene::before { left: -32px; top: 28px; }
  .lead-path { left: 18px; }
  .act-head { padding-left: 46px; grid-template-columns: minmax(0, 1fr); }
  .act-head h3 { font-size: clamp(2rem, 10vw, 3rem); }
  .act-head img { width: 120px; justify-self: start; order: -1; margin-bottom: 0; }
  .scene .ui-slot { display: block; margin-top: 14px; }
  .scene .ui-slot .ui { position: relative; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 24px 50px -18px rgba(0,0,0,.7); height: auto; max-width: 400px; }
}

/* ---------- the in-app screens (shared by sticky phone + mobile inline) ---------- */
.ui { color: var(--navy); font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; background: var(--paper); }
.ui-top { padding: 54px 20px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui-slot .ui-top { padding-top: 22px; }
.ui-top h5 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.28rem; }
.ui-top .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--red)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; flex: none; }
.ui-body { padding: 4px 16px 20px; display: grid; gap: 10px; align-content: start; flex: 1; }
.u-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 1px 0 var(--line-ink), 0 8px 20px -14px rgba(20,33,61,.35); display: grid; gap: 8px; }
.u-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.u-k { color: var(--muted-ink); font-size: .78rem; font-weight: 600; }
.u-v { font-weight: 800; }
.u-h { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.u-sub { color: var(--muted-ink); font-size: .8rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #F3EBD8; font-weight: 700; font-size: .78rem; }
.chip.on { background: var(--navy); color: var(--cream); }
.chip.ok { background: rgba(47,183,116,.14); color: #17784A; }
.chip.warn { background: rgba(240,122,26,.16); color: #A04C06; }
.chip.bad { background: rgba(224,48,44,.12); color: #A61F1B; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.switch { width: 46px; height: 28px; border-radius: 999px; background: #D6D2C6; position: relative; flex: none; transition: background .4s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .45s var(--ease); }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(18px); }
.u-btn { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 14px; font-weight: 800; font-size: .88rem; background: var(--navy); color: var(--cream); }
.u-btn.alt { background: #F3EBD8; color: var(--navy); }
.u-btn.go { background: var(--orange); color: #fff; }
.u-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.u-profile { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.u-photo { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(160deg, #F6C58E, #D9844A); position: relative; overflow: hidden; }
.u-photo::before { content: ""; position: absolute; left: 50%; top: 22%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: #7A3E1D; }
.u-photo::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 44px; height: 30px; margin-left: -22px; border-radius: 50% 50% 0 0; background: var(--navy); }
.u-photo.masked { filter: blur(5px) saturate(.4); }
.u-bubble { max-width: 82%; padding: 10px 12px; border-radius: 16px; font-size: .86rem; background: #fff; box-shadow: 0 1px 0 var(--line-ink); }
.u-bubble.me { justify-self: end; background: var(--navy); color: var(--cream); border-bottom-right-radius: 6px; }
.u-bubble.them { border-bottom-left-radius: 6px; }
.u-alert { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -14px rgba(20,33,61,.45); }
.u-alert .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; }
.u-alert .ic.wa { background: #22B35E; }
.u-alert .ic.app { background: var(--orange); }
.u-stamp { justify-self: center; transform: rotate(-8deg); border: 3px solid var(--green); color: #17784A; padding: 6px 16px; border-radius: 12px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; }
.cal { display: grid; grid-template-columns: 30px repeat(5, 1fr); gap: 4px; font-size: .7rem; }
.cal .d { text-align: center; font-weight: 800; color: var(--muted-ink); padding-bottom: 2px; }
.cal .d.today { color: var(--orange); }
.cal .t { color: var(--muted-ink); font-size: .64rem; padding-top: 2px; }
.cal .c { height: 30px; border-radius: 8px; background: #F3EBD8; }
.cal .c.b { background: var(--navy); }
.cal .c.r { background: var(--red); }
.cal .c.o { background: var(--orange); }
.cal .c.g { background: var(--green); }
.u-bar { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 6px; }
.u-bar i { flex: 1; border-radius: 8px 8px 4px 4px; background: #E9DEC4; transform-origin: bottom; }
.u-bar i.hi { background: linear-gradient(var(--orange), var(--red)); }
.u-bar-l { display: flex; gap: 8px; font-size: .66rem; color: var(--muted-ink); }
.u-bar-l span { flex: 1; text-align: center; }
.big-n { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.u-meter { height: 8px; border-radius: 8px; background: #EFE6D2; overflow: hidden; }
.u-meter i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--red), var(--orange)); }
.u-list { display: grid; gap: 8px; }
.u-li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; }
.u-ini { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .78rem; color: #fff; background: var(--navy-3); }
.u-ini.r { background: var(--red); } .u-ini.o { background: var(--orange); } .u-ini.g { background: #3F7FD9; }
.u-dots { display: flex; gap: 6px; align-items: center; color: var(--muted-ink); font-size: .74rem; }
.u-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.u-chart { width: 100%; height: 96px; }

/* ---------- close / course picker ---------- */
.close { position: relative; padding-block: 120px; text-align: center; overflow: hidden; }
.close .wrap { display: grid; justify-items: center; gap: 26px; }
.close h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 700; max-width: 14ch; }
.close p { color: var(--muted); font-size: 1.15rem; max-width: 38rem; }
.picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.picker a { display: grid; gap: 2px; min-width: 160px; padding: 18px 24px; border-radius: 22px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s; }
.picker a:hover { transform: translateY(-3px); box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(240,122,26,.6), 0 20px 50px -20px var(--glow); }
.picker b { font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.picker span { font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.replay { background: none; border: 0; color: var(--muted); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; }
.replay:hover { color: var(--cream); }

/* ---------- quieter sections (once cream paper, now deep glass) ---------- */
.paper { position: relative; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(20,33,61,.32) 30%, rgba(20,33,61,.32) 70%, transparent); }
.paper > * { position: relative; }
.paper .muted { color: var(--muted); }

.about { padding-block: 120px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.about-copy { display: grid; gap: 20px; }
.about-copy p { font-size: 1.1rem; max-width: 34rem; }
.why-sir { display: grid; gap: 14px; padding: 32px; border-radius: 30px; box-shadow: var(--glass-edge), var(--glass-shadow), 0 0 100px -40px var(--glow) !important; }
.why-sir .big { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.why-sir p { color: var(--muted); }
.founders { margin-top: 72px; display: grid; gap: 22px; }
.founders-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.founders-head h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.f-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.f-card { border-radius: var(--radius); padding: 12px 12px 18px; display: grid; gap: 10px; }
.f-photo { aspect-ratio: 4/5; max-width: 100%; border-radius: 16px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,.02) 12px 24px); display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.f-card h4 { font-size: 1.2rem; }
.f-card p { font-size: .9rem; color: var(--muted); }
.placeholder-note { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--amber); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq { padding-block: 110px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-side { display: grid; gap: 20px; position: sticky; top: 120px; }
.faq-side h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 20px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(240,122,26,.25), var(--glass-shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #FF9440, #D9620C); color: #1A0E04; font-family: var(--body); font-weight: 800; transition: transform .35s var(--ease); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 44rem; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } .faq-side { position: static; } }

/* sign-off + footer */
.signoff { padding-block: 130px 90px; text-align: center; position: relative; overflow: hidden; }
.signoff .wrap { display: grid; justify-items: center; gap: 30px; }
.signoff h2 { font-size: clamp(2.8rem, 9vw, 8rem); font-weight: 700; line-height: .92; letter-spacing: -.035em; }
.signoff .mark { width: clamp(140px, 22vw, 240px); }
.footer { border-top: 1px solid var(--line); padding-block: 64px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { height: 40px; width: auto; }
.footer h5 { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-hero { padding-block: calc(150px + env(safe-area-inset-top, 0px)) 70px; position: relative; }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 700; line-height: .98; letter-spacing: -.03em; max-width: 16ch; }
.page-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: 28px; overflow: hidden; position: relative; aspect-ratio: 4/3; max-width: 100%; background: linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: var(--glass-edge), 0 40px 80px -30px rgba(0,0,0,.8); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.photo img + .ph { display: none; }

.feature-block { padding-block: 90px; border-top: 1px solid var(--line); }
.feature-block .head { display: grid; gap: 14px; max-width: 44rem; margin-bottom: 40px; }
.feature-block h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.feature-block .head p { color: var(--muted); font-size: 1.1rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 24px; border-radius: var(--radius); display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease), box-shadow .4s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(240,122,26,.3), 0 30px 60px -30px var(--glow); }
.feat h3 { font-size: 1.25rem; }
.feat p { color: var(--muted); font-size: .98rem; }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -10px var(--glow); }
.feat .ic svg { width: 22px; height: 22px; }
.feat .soon { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--amber); text-transform: uppercase; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.flow li { list-style: none; padding: 22px; border-radius: 22px; display: grid; gap: 8px; align-content: start; }
.flow li::before { counter-increment: step; content: "Step " counter(step); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.flow li b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.flow li span { color: var(--muted); font-size: .94rem; }
.flow { padding: 0; margin: 0; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* find a sir */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { border: 0; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--cream); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(251,239,213,.5); }
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.t-card { border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .4s var(--ease); }
.t-card:hover { transform: translateY(-4px); }
.t-card .t-photo { aspect-ratio: 1; max-width: 100%; background: linear-gradient(160deg, var(--navy-2), var(--navy)); position: relative; overflow: hidden; }
.t-card .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-card .t-photo .chip { position: absolute; top: 12px; left: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.t-card .chip.ok { background: rgba(20,60,40,.6); color: #7DF0B4; }
.t-card .chip.warn { background: rgba(70,36,8,.6); color: var(--amber); }
.t-card .t-body { padding: 18px; display: grid; gap: 10px; align-content: start; }
.t-card h3 { font-size: 1.35rem; }
.t-card .meta { color: var(--muted); font-size: .9rem; }
.t-card .fee { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.t-card .fee small { font-family: var(--body); font-weight: 600; color: var(--muted); font-size: .78rem; }
.t-card .rating { display: flex; gap: 10px; align-items: center; font-size: .86rem; color: var(--muted); }
.t-card .rating b { color: var(--amber); }
.t-card .btn { width: 100%; min-height: 46px; margin-top: 4px; }
.sample-flag { font-family: var(--mono); font-size: .74rem; color: var(--amber); letter-spacing: .06em; }

/* enquiry dialog */
.enquiry { border: 0; padding: 0; border-radius: 30px; width: min(560px, calc(100vw - 32px)); background: rgba(14, 22, 44, .84); -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5); color: var(--cream); box-shadow: var(--glass-edge), 0 50px 120px -30px rgba(0,0,0,.9); }
.enquiry::backdrop { background: rgba(5,10,22,.72); backdrop-filter: blur(6px); }
.enquiry form { padding: 28px; display: grid; gap: 16px; }
.enquiry h3 { font-size: 1.7rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); color: var(--cream); width: 100%; }
.field select option { background: var(--navy); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,122,26,.18); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } }
.enquiry .done { padding: 40px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.x-btn { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); box-shadow: var(--glass-edge); color: var(--cream); font-size: 1.3rem; }

/* plans */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: stretch; }
.plan { border-radius: 32px; padding: 34px; display: grid; gap: 22px; align-content: start; position: relative; overflow: hidden; box-shadow: var(--glass-edge), inset 0 0 0 1px rgba(240,122,26,.3), 0 40px 100px -30px var(--glow) !important; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 2px; }
.plan .ribbon { position: absolute; top: 22px; right: -42px; transform: rotate(35deg); background: var(--orange); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 50px; letter-spacing: .06em; }
.side-card { border-radius: 32px; padding: 30px; display: grid; gap: 18px; align-content: start; }
.fees-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fees-table th, .fees-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fees-table th { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.fees-table td:last-child { text-align: right; font-weight: 700; }
@media (max-width: 960px) { .plan-wrap { grid-template-columns: 1fr; } }

/* reveal motion (content is visible by default; JS adds .rv before animating) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* very small phones: the mini calendar's day names stay inside their columns */
@media (max-width: 360px) {
  .ui .cal .d { font-size: .56rem; letter-spacing: -.02em; }
  .ui .cal .t { font-size: .56rem; }
}
@media (max-width: 380px) {
  .scene { margin-left: 36px; padding: 20px 16px; }
  .scene::before { left: -28px; }
  .act-head { padding-left: 36px; }
  .ui-top { padding: 18px 14px 10px; }
  .ui-top h5 { font-size: 1.08rem; white-space: nowrap; }
  .ui-top .chip, .ui .chip { white-space: nowrap; }
  .ui-body { padding: 4px 10px 14px; }
  .u-card { padding: 12px; }
}
