/* =========================================================
   SolaraX Energy — v3 styles
   Direction: "Sky & Sun" — bold electric-blue sky, sun yellow,
   ink and cream. Variable Bricolage Grotesque (weight + width axes)
   for kinetic type, JetBrains Mono for data.
   Animation start states apply only under <html class="js">.
   ========================================================= */
:root {
  --sky: #2D3CFF;
  --sky-2: #5A66FF;
  --sun: #FFD23F;
  --cream: #F5F2EA;
  --cream-2: #EAE5D8;
  --ink: #0D0D1A;
  --ink-2: #1A1A2E;
  --muted: #5E5E73;
  --line: rgba(13, 13, 26, .12);
  --alert: #FF4D2E;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.02rem/1.55 var(--display); font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
main, footer { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: min(1400px, 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font: 500 .74rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(255,210,63,.7); animation: ping 2s var(--ease) infinite; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 500; background: var(--sun); color: var(--ink); display: grid; place-items: center; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__sun { width: clamp(120px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); transform: translateY(40vh) scale(.6); animation: rise 1.4s var(--ease) forwards; }
.loader__count { position: absolute; left: var(--gutter); bottom: var(--gutter); font-size: 1rem; }
.loader__word { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) - .12em); font: 800 clamp(3rem, 9vw, 8rem)/.8 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.02em; }
.loader__word b { color: var(--sky); }

.scroll-progress { position: fixed; top: 0; left: 0; z-index: 210; height: 3px; width: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05em 1.65em; border-radius: 99px; border: 0; cursor: pointer;
  font: 650 .98rem/1 var(--display); font-variation-settings: "wdth" 96; letter-spacing: -.005em;
  transition: color .45s var(--ease), transform .5s var(--ease);
}
.btn span { position: relative; display: inline-block; transition: transform .5s var(--ease); }
.btn::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; z-index: -1; transform: translate(-50%, 0) scale(0); transition: transform .7s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -60%) scale(1); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun::before { background: var(--ink); }
.btn--sun:hover { color: var(--sun); }
.btn--line { color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line::before { background: currentColor; }
.btn--line:hover span { color: var(--sky); }
.footer .btn--line:hover span { color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 14px var(--gutter) auto; z-index: 200; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.nav > * { pointer-events: auto; }
/* scrolled: full-width bar slides in behind the floating pieces; colour follows the section under it */
.nav::before { content: ""; position: absolute; z-index: -1; top: -14px; bottom: -14px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: var(--ink); border-bottom: 1px solid rgba(245,242,234,.08); box-shadow: 0 12px 34px -18px rgba(13,13,26,.55); transform: translateY(-101%); opacity: 0; pointer-events: none; transition: transform .6s var(--ease), opacity .4s, background-color .4s, border-color .4s; }
.nav--scrolled::before { transform: none; opacity: 1; pointer-events: auto; }
.nav--scrolled.nav--light::before { background: var(--cream); border-color: var(--line); box-shadow: 0 12px 34px -20px rgba(13,13,26,.3); }
.nav--scrolled.nav--sun::before { background: var(--sun); border-color: var(--line); box-shadow: 0 12px 34px -20px rgba(13,13,26,.3); }
@media (min-width: 1025px) { .nav--scrolled:not(.nav--light):not(.nav--sun) .nav__pill { box-shadow: 0 0 0 1px rgba(245,242,234,.14); } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; transition: color .4s; }
.nav--light .brand, .nav--sun .brand { color: var(--ink); }
.nav--sun .nav__cta { background: var(--ink); color: var(--sun); }
.nav--sun .nav__cta::before { background: var(--sky); }
.brand__mark { width: 34px; height: 34px; transition: transform 1.2s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__word { font: 800 1.5rem/1 var(--display); font-variation-settings: "wdth" 80, "opsz" 48; letter-spacing: -.02em; }
.nav__pill { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 5px; border-radius: 99px; background: var(--ink); box-shadow: 0 10px 30px -10px rgba(13,13,26,.5); }
.nav__pill a { position: relative; z-index: 1; padding: .72em 1.05em; border-radius: 99px; color: rgba(245,242,234,.72); font: 550 .88rem/1 var(--display); transition: color .35s; white-space: nowrap; }
.nav__pill a:hover { color: var(--cream); }
.nav__pill a.is-active { color: var(--ink); }
.nav__blob { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 99px; background: var(--sun); opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; }
.nav__m-only { display: none; }
.nav__cta { padding: .9em 1.35em; font-size: .9rem; }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 27px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; background: #2B3AFF; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero__fallback { position: absolute; inset: 0; display: none; background: url("https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=2000&q=80&auto=format&fit=crop") center / cover; opacity: .55; mix-blend-mode: luminosity; }
.no-webgl .hero__fallback { display: block; }
.hero__content { position: absolute; left: var(--gutter); bottom: clamp(28px, 6vh, 72px); width: min(760px, 100% - var(--gutter) * 2); pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.chip { display: inline-flex; align-items: center; padding: .7em 1em; border-radius: 99px; background: rgba(13,13,26,.35); margin-bottom: 22px; }
.hero__title { font: 800 clamp(4.2rem, 12.5vw, 13rem)/.84 var(--display); font-variation-settings: "wdth" 100, "opsz" 96; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__lead { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255,255,255,.86); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint { position: absolute; right: calc(var(--gutter) + 20px); top: 96px; color: rgba(255,255,255,.7); animation: bob 2.4s ease-in-out infinite; }
.readout { position: absolute; right: var(--gutter); bottom: clamp(28px, 6vh, 72px); width: 290px; padding: 20px; border-radius: 24px; background: var(--ink); color: var(--cream); box-shadow: 0 30px 60px -20px rgba(13,13,26,.55); }
.readout__row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(245,242,234,.1); }
.readout__row .mono { color: rgba(245,242,234,.55); }
.readout__row b { font: 600 1.05rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.readout__big { border: 0; padding-top: 12px; }
.readout__big b { font: 800 2.4rem/1 var(--display); font-variation-settings: "wdth" 80, "opsz" 96; color: var(--sun); }
.readout__meter { height: 6px; border-radius: 6px; background: rgba(245,242,234,.1); overflow: hidden; margin: 6px 0 16px; }
.readout__meter i { display: block; height: 100%; width: 90%; background: var(--sun); border-radius: 6px; transition: width .25s linear; }
.toggle { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; color: rgba(245,242,234,.8); }
.toggle__knob { position: relative; width: 40px; height: 22px; border-radius: 99px; background: rgba(245,242,234,.2); transition: background .3s; }
.toggle__knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); transition: transform .4s var(--ease); }
.toggle[aria-pressed="true"] .toggle__knob { background: var(--sun); }
.toggle[aria-pressed="true"] .toggle__knob::after { transform: translateX(18px); background: var(--ink); }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 170px) 0; }
.head { margin-bottom: clamp(48px, 6vw, 88px); }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow { color: var(--muted); margin-bottom: 18px; }
.h2 { font: 780 clamp(2.7rem, 6.6vw, 6.8rem)/.9 var(--display); font-variation-settings: "wdth" 100, "opsz" 96; letter-spacing: -.035em; max-width: 15ch; }
.h2--xl { font-size: clamp(3.2rem, 8vw, 8.4rem); }

/* services: bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "res res stat com" "res res care com" "bat bat cta com"; grid-auto-rows: minmax(230px, auto); gap: 16px; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .6s var(--ease); }
.tile h3 { font: 750 clamp(1.5rem, 2.3vw, 2.2rem)/1 var(--display); font-variation-settings: "wdth" 88, "opsz" 48; letter-spacing: -.02em; margin-bottom: 10px; }
.tile p:not(.mono):not(.tile__num) { color: var(--muted); font-size: .96rem; max-width: 42ch; }
.tag { display: inline-block; width: fit-content; padding: .5em .8em; border-radius: 99px; background: var(--cream); margin-bottom: 14px; }
.tile--res { grid-area: res; padding: 0; }
.tile--res .tile__img { flex: 1; min-height: 260px; }
.tile--res .tile__body { padding: 26px; }
.tile__img { position: relative; overflow: hidden; }
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile--stat { grid-area: stat; background: var(--sky); color: #fff; }
.tile--stat p:not(.tile__num) { color: rgba(255,255,255,.8) !important; }
.tile__num { font: 800 clamp(3rem, 5.5vw, 5.4rem)/.9 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.03em; margin-bottom: 10px; }
.tile--com { grid-area: com; padding: 0; color: #fff; }
.tile--com .tile__img { position: absolute; inset: 0; }
.tile--com .tile__body { position: relative; margin: 14px; padding: 18px 20px; border-radius: 18px; background: var(--ink); }
.tile--com .tag { background: var(--sun); color: var(--ink); }
.tile--com h3 { margin: 0; }
.tile--bat { grid-area: bat; background: var(--ink); color: var(--cream); flex-direction: row; align-items: flex-end; gap: 28px; }
.tile--bat p:not(.mono) { color: rgba(245,242,234,.65) !important; }
.tile--bat .tag { background: rgba(245,242,234,.1); }
.battery { flex: none; position: relative; width: 150px; height: 74px; border: 3px solid var(--cream); border-radius: 14px; padding: 5px; margin-bottom: 6px; }
.battery::after { content: ""; position: absolute; right: -12px; top: 22px; width: 7px; height: 24px; border-radius: 0 4px 4px 0; background: var(--cream); }
.battery i { display: block; height: 100%; border-radius: 8px; background: var(--sun); animation: charge 4.5s var(--ease-io) infinite; }
.battery span { position: absolute; left: 0; top: calc(100% + 10px); color: var(--sun); }
.tile--care { grid-area: care; background: var(--cream-2); }
.tile--cta { grid-area: cta; background: var(--sun); cursor: pointer; }
.tile--cta h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.tile--cta .mono { margin-bottom: auto; }
.tile__arrow { position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sun); font-size: 1.3rem; transition: transform .6s var(--ease); }
.tile--cta:hover .tile__arrow { transform: rotate(-45deg) scale(1.1); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* a day on your roof */
.day { position: relative; height: 420vh; color: #fff; }
.day__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.day__sky { position: absolute; inset: 0; background: #FF9A76; }
.day__arc { position: absolute; left: 6%; right: 6%; top: 16%; height: 28vh; border-top: 1.5px dashed rgba(255,255,255,.35); border-radius: 50% 50% 0 0; }
.day__arc i { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 60px 20px rgba(255,210,63,.45); }
.day__head { position: absolute; left: var(--gutter); right: var(--gutter); top: 96px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.day__head .eyebrow { color: rgba(255,255,255,.8); margin: 0; }
.day__clock { font-size: 1rem; padding: .5em .9em; border-radius: 99px; background: rgba(13,13,26,.3); }
.day__track { position: absolute; left: 0; bottom: 10vh; display: flex; will-change: transform; }
.day__panel { width: 100vw; padding: 0 var(--gutter); flex: none; }
.day__panel > * { max-width: 46vw; }
.day__time { font: 800 clamp(5rem, 13vw, 13.5rem)/.8 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: 0; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.day__panel h3 { font: 750 clamp(1.6rem, 2.6vw, 2.6rem)/1 var(--display); margin-bottom: 10px; }
.day__panel p:not(.day__time) { max-width: 36ch; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.flow { position: absolute; right: var(--gutter); bottom: 12vh; width: min(40vw, 520px); height: auto; overflow: visible; z-index: 2; }
.flow__path { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2.5; stroke-linecap: round; transition: stroke .5s, opacity .5s; }
.flow__path.on { stroke: var(--sun); stroke-dasharray: 6 10; animation: flow .8s linear infinite; }
.flow__path.weak { stroke-width: 1.5; }
.flow__node circle { fill: rgba(13,13,26,.35); stroke: rgba(255,255,255,.6); stroke-width: 1.5; }
.flow__node--home circle { fill: var(--ink); stroke: var(--sun); }
.flow__node text { fill: #fff; font: 600 12px var(--display); text-anchor: middle; }
.flow__stats text { fill: rgba(255,255,255,.65); font: 500 11px var(--mono); letter-spacing: .08em; }
.flow__stats .flow__val { fill: #fff; font: 700 20px var(--mono); letter-spacing: -.02em; }

/* process: stacking cards */
.stack { display: grid; gap: 7vh; padding-bottom: 4vh; }
.card { --top: 110px; position: sticky; top: calc(var(--top) + var(--i, 0) * 22px); display: grid; grid-template-columns: .5fr 1.2fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: stretch; min-height: min(62vh, 560px); padding: clamp(24px, 3.5vw, 48px); border-radius: 36px; transform-origin: 50% 0; will-change: transform; }
.card--1 { --i: 0; background: var(--sky); color: #fff; }
.card--2 { --i: 1; background: var(--sun); }
.card--3 { --i: 2; background: var(--ink); color: var(--cream); }
.card--4 { --i: 3; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.card__no { font: 800 clamp(4rem, 9vw, 9rem)/.8 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.04em; }
.card__text { display: flex; flex-direction: column; justify-content: flex-end; }
.card__text .mono { opacity: .7; margin-bottom: 14px; }
.card__text h3 { font: 780 clamp(2rem, 4vw, 3.8rem)/.95 var(--display); letter-spacing: -.03em; margin-bottom: 16px; }
.card__text p:not(.mono) { max-width: 40ch; opacity: .85; font-size: 1.05rem; }
.card__img { position: relative; border-radius: 22px; overflow: hidden; min-height: 240px; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* work: drag rail */
.work { background: var(--ink); color: var(--cream); }
.work .eyebrow { color: rgba(245,242,234,.55); }
.work__hint { color: var(--sun); }
.rail { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rail.is-dragging { cursor: grabbing; }
.rail__track { display: flex; align-items: flex-start; gap: 20px; width: max-content; padding: 0 var(--gutter); will-change: transform; }
.shot { width: clamp(280px, 40vw, 600px); flex: none; }
.shot--tall { width: clamp(220px, 26vw, 400px); }
.shot__img { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: var(--ink-2); }
.shot--tall .shot__img { aspect-ratio: 3 / 4; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.05); }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 14px; }
.shot figcaption b { font: 700 1.25rem/1.2 var(--display); }
.shot figcaption .mono { color: rgba(245,242,234,.55); }
.cursor-bubble { position: fixed; left: 0; top: 0; z-index: 300; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font: 700 .8rem/1 var(--mono); text-transform: uppercase; pointer-events: none; transform: scale(0); transition: transform .45s var(--ease); }
.cursor-bubble.is-on { transform: scale(1); }

/* savings */
.savings { background: var(--sun); }
.savings .eyebrow { color: rgba(13,13,26,.6); }
.calc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.calc__controls { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--cream); }
.calc__controls label { color: var(--muted); }
.calc__bill { display: block; font: 800 clamp(4rem, 8vw, 7.5rem)/.9 var(--display); font-variation-settings: "wdth" 80, "opsz" 96; letter-spacing: -.04em; margin: 10px 0 22px; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; margin: 8px 0 12px; cursor: pointer; background: linear-gradient(var(--sky), var(--sky)) 0 0 / var(--fill, 13%) 100% no-repeat, var(--cream-2); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); border: 5px solid var(--sun); box-shadow: 0 6px 16px rgba(13,13,26,.3); transition: transform .3s var(--ease); }
.calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 5px solid var(--sun); }
.calc__ticks { display: flex; justify-content: space-between; color: var(--muted); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 0; }
.calc__out div { padding: 16px; border-radius: 18px; background: #fff; }
.calc__out dt { color: var(--muted); margin-bottom: 8px; }
.calc__out dd { margin: 0; font: 780 clamp(1.5rem, 2.4vw, 2.2rem)/1 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.02em; }
.calc__out dd.tick { animation: tick .45s var(--ease); }
.chart { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--cream); display: flex; flex-direction: column; }
.chart figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(245,242,234,.6); margin-bottom: 24px; }
.chart__key { display: inline-flex; align-items: center; gap: 8px; }
.chart__key i { width: 10px; height: 10px; border-radius: 3px; background: var(--sun); }
.chart__key i.neg { background: var(--sky-2); margin-left: 8px; }
.chart__svg { flex: 1; width: 100%; min-height: 260px; overflow: visible; }
.chart__svg rect { transition: y .6s var(--ease), height .6s var(--ease), fill .4s; }
.chart__svg .zero { stroke: rgba(245,242,234,.35); stroke-width: 1; stroke-dasharray: 3 4; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 14px; color: rgba(245,242,234,.6); }
#chartBe { color: var(--sun); }
.calc__note { margin-top: 22px; font-size: .9rem; color: rgba(13,13,26,.7); }

/* reviews: dual marquee */
.reviews { overflow: hidden; }
.lanes { display: grid; gap: 16px; }
.lane { overflow: hidden; }
.lane__track { display: flex; gap: 16px; width: max-content; animation: lane 60s linear infinite; }
.lane[data-dir="1"] .lane__track { animation-direction: reverse; animation-duration: 70s; }
.lane:hover .lane__track { animation-play-state: paused; }
.review { width: clamp(280px, 30vw, 420px); padding: 28px; border-radius: 24px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: transform .5s var(--ease); }
.review:hover { transform: rotate(-1.5deg) translateY(-4px); }
.review p { font: 560 clamp(1.1rem, 1.4vw, 1.3rem)/1.35 var(--display); letter-spacing: -.01em; }
.review footer { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review footer .mono { color: var(--muted); }
.review--sun { background: var(--sun); }
.review--blue { background: var(--sky); color: #fff; }
.review--blue footer .mono { color: rgba(255,255,255,.7); }

/* contact */
.contact { background: var(--sky); color: #fff; }
.contact .eyebrow { color: rgba(255,255,255,.7); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact__copy > p:not(.eyebrow) { max-width: 42ch; margin-top: 24px; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.contact__info { list-style: none; padding: 0; margin: 40px 0 0; }
.contact__info li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); font-weight: 550; }
.contact__info li .mono { width: 76px; flex: none; color: rgba(255,255,255,.6); }
.contact__vals { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.contact__info a:hover { color: var(--sun); }
.appts { display: grid; gap: 14px; }
.appts__label { color: rgba(255,255,255,.7); }
.appt { position: relative; display: grid; gap: 10px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); background: var(--ink); color: var(--cream); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.appt--online { background: var(--sun); color: var(--ink); }
.appt__meta { display: flex; gap: 14px; color: rgba(245,242,234,.6); }
.appt--online .appt__meta { color: rgba(13,13,26,.6); }
.appt h3 { font: 750 clamp(1.6rem, 2.4vw, 2.2rem)/1.05 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.02em; }
.appt > p:not(.appt__meta) { max-width: 46ch; color: rgba(245,242,234,.8); }
.appt--online > p:not(.appt__meta) { color: rgba(13,13,26,.78); }
.appt__go { margin-top: 6px; font-weight: 650; }
.appt__go span { display: inline-block; transition: transform .5s var(--ease); }
.appt:hover, .appt:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(13,13,26,.6); }
.appt:hover .appt__go span, .appt:focus-visible .appt__go span { transform: translateX(6px); }
.appt:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.appt--online:focus-visible { outline-color: var(--cream); }

/* footer */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 32px; }
.footer__h { color: rgba(245,242,234,.5); margin-bottom: 16px; }
.footer__cols a:not(.btn) { display: block; width: fit-content; margin-bottom: 8px; transition: color .3s; }
.footer__cols a:not(.btn):hover { color: var(--sun); }
.footer__back { justify-self: end; }
.footer__back .btn { white-space: nowrap; }
.footer__cols a:not(.btn) { overflow-wrap: anywhere; }
.footer__word { font: 800 clamp(5rem, 22vw, 24rem)/.78 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.03em; text-align: center; margin-top: clamp(56px, 8vw, 110px); white-space: nowrap; color: var(--sky-2); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 26px; border-top: 1px solid rgba(245,242,234,.12); color: rgba(245,242,234,.5); }

/* =========================================================
   REVEAL + KINETIC TYPE (only with JS)
   ========================================================= */
.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-anim="up"] { transform: translateY(32px); }
.js [data-anim="img"] { opacity: 1; clip-path: inset(0 0 100% 0); transform: scale(1.2); }
.js [data-anim].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* kinetic headings: letters rise and "inflate" from thin+condensed to bold+wide */
.kinetic .kw { display: inline-block; white-space: nowrap; }
.kinetic .ch { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.kinetic .ch > span { display: inline-block; }
.js .kinetic .ch > span { transform: translateY(108%); font-variation-settings: "wght" 200, "wdth" 75, "opsz" 96; transition: transform 1.1s var(--ease), font-variation-settings 1.4s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.js .kinetic.in .ch > span { transform: none; font-variation-settings: "wght" var(--w, 780), "wdth" var(--wd, 100), "opsz" 96; }
.js .kinetic.is-live .ch > span { transition: font-variation-settings .35s var(--ease), transform .35s var(--ease), color .35s; transition-delay: 0ms; }
.hero__title { --w: 800; }
.footer__word { --wd: 75; --w: 800; }
.footer__word .ch > span { transition: color .4s; }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: translateY(0) scale(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,210,63,.65); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,210,63,0); } }
@keyframes bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -6px); } }
@keyframes charge { 0% { width: 12%; } 70%, 100% { width: 100%; } }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes lane { to { transform: translateX(-50%); } }
@keyframes tick { 0% { transform: translateY(8px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- floating actions (book bottom-left, WhatsApp bottom-right) ---------- */
.fabs { --fab-side: var(--gutter); --fab-base: 24px; }
.fab { position: fixed; bottom: calc(var(--fab-base) + env(safe-area-inset-bottom)); z-index: 150; display: flex; align-items: center; gap: 10px; color: var(--ink); opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.fab--book { left: var(--fab-side); }
.fab--wa { right: var(--fab-side); transition-delay: .12s; }
/* shown once the hero is mostly scrolled past (js/main.js toggles .is-on); colours follow the section behind them (data-theme) */
body:not(.is-loading) .fabs.is-on .fab { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
body:not(.is-loading) .fabs.is-on .fab--wa { transition-delay: .08s; }
body:not(.is-loading) .nav.menu-open ~ .fabs .fab { opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; transition-delay: 0s; }
.fab__btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--cream); box-shadow: 0 12px 28px -10px rgba(13,13,26,.45), 0 0 0 1px rgba(13,13,26,.08); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fab__btn svg { width: 32px; height: 32px; }
.fab--book .fab__btn { background: var(--sun); }
.fab--book .fab__btn svg { width: 26px; height: 26px; }
.fab__tag { padding: .62em 1em; border-radius: 99px; background: var(--ink); color: var(--cream); font: 600 .84rem/1 var(--display); white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(13,13,26,.5), 0 0 0 1px rgba(245,242,234,.18); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.fab:hover .fab__btn, .fab:focus-visible .fab__btn { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 18px 34px -12px rgba(13,13,26,.55), 0 0 0 1px rgba(13,13,26,.08); }
.fab--book:hover .fab__tag, .fab--book:focus-visible .fab__tag { transform: translateX(4px); background: var(--sun); color: var(--ink); }
.fab--wa:hover .fab__tag, .fab--wa:focus-visible .fab__tag { transform: translateX(-4px); background: var(--sun); color: var(--ink); }
.fabs[data-theme="sun"] .fab--book .fab__btn { background: var(--ink); color: var(--sun); }
.fabs[data-theme="sun"] .fab:hover .fab__tag, .fabs[data-theme="sun"] .fab:focus-visible .fab__tag { background: var(--sky); color: #fff; }
.fab:focus-visible { outline: none; }
.fab:focus-visible .fab__btn { outline: 2px solid var(--sun); outline-offset: 3px; }
.fabs[data-theme="sun"] .fab:focus-visible .fab__btn { outline-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .fab .fab__btn { animation: fab-nudge 7s ease-in-out 4s infinite; }
  .fab--book .fab__btn { animation-delay: 7.5s; }
  .fab:hover .fab__btn { animation: none; }
}
@keyframes fab-nudge { 0%, 86%, 100% { transform: none; } 89% { transform: rotate(-10deg) scale(1.06); } 92% { transform: rotate(8deg) scale(1.06); } 95% { transform: rotate(-4deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__pill a { padding: .7em .8em; font-size: .84rem; }
}
@media (max-width: 1024px) {
  .nav__pill { position: fixed; inset: 0; transform: none; border-radius: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; padding: 90px var(--gutter) 40px; background: var(--sky); box-shadow: none; clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease-io); visibility: hidden; }
  .nav.menu-open .nav__pill { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
  .nav__pill a { font: 800 clamp(2.6rem, 11vw, 4.4rem)/1.05 var(--display); font-variation-settings: "wdth" 80; color: #fff; padding: 4px 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease), color .3s; }
  .nav.menu-open .nav__pill a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 250ms); }
  .nav__pill a.is-active, .nav__pill a:hover { color: var(--sun); }
  .nav__blob { display: none; }
  .nav__m-only { display: block; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; z-index: 2; }
  .nav.menu-open .nav__toggle { background: var(--sun); }
  .nav.menu-open .nav__toggle span { background: var(--ink); top: 23px; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { transform: rotate(-45deg); }
  .brand { z-index: 2; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "res res" "stat com" "care com" "bat bat" "cta cta"; }
  .card { grid-template-columns: 1fr 1fr; }
  .card__no { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fabs { --fab-side: 16px; --fab-base: 16px; }
  .fab__tag { display: none; }
  .fab__btn { width: 52px; height: 52px; }
  .hero { min-height: 720px; }
  .hero__content { bottom: 214px; }
  .hero__title { font-size: clamp(3.6rem, 18vw, 6rem); }
  .hero__lead { font-size: .98rem; margin-bottom: 20px; }
  .hero__hint { display: none; }
  .readout { left: var(--gutter); right: var(--gutter); width: auto; bottom: 16px; padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .readout__big, .readout__meter, .toggle { grid-column: 1 / -1; }
  .readout__big b { font-size: 1.9rem; }
  .readout__meter { margin-bottom: 10px; }
  .head--split { display: block; }
  .work__hint { margin-top: 16px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "res" "stat" "com" "bat" "care" "cta"; }
  .tile--com { min-height: 360px; }
  .tile--bat { flex-direction: column; align-items: flex-start; }
  .day__panel > * { max-width: none; }
  .day__track { bottom: auto; top: 24vh; }
  .day__time { font-size: clamp(4rem, 24vw, 7rem); }
  .day__arc { top: 12%; height: 14vh; }
  .flow { left: var(--gutter); right: var(--gutter); width: auto; bottom: 4vh; }
  .card { grid-template-columns: 1fr; min-height: 0; --top: 84px; }
  .card__img { min-height: 180px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__back { justify-self: start; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
