/* =========================================================================
   IOUSTEK — cinematic orange & black theme
   One continuous dark canvas with soft orange light, glass tiles with depth.
   Type: Manrope (headings) + Inter (text), both self-hosted.
   Edit the tokens in :root to retheme the whole site.

   IMPORTANT: content is visible by default. Animations only switch on once
   main.js is running (it adds the "js" class), so a blocked script can never
   leave the page blank.
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  /* colour */
  --bg: #070708;
  --bg-2: #0e0f11;
  --text: #f4f1ec;
  --muted: #a9a59d;                 /* 7.9:1 on --bg */
  --orange: #ff6a1a;                /* 7.0:1 on --bg; use DARK text on orange fills */
  --amber: #ffb26b;
  --on-orange: #140a03;
  --line: rgb(255 255 255 / 0.1);
  --line-2: rgb(255 255 255 / 0.18);
  --glass: linear-gradient(155deg, rgb(255 255 255 / 0.085), rgb(255 255 255 / 0.025));
  --glass-solid: rgb(18 19 22 / 0.72);
  --shadow: 0 44px 80px -44px rgb(0 0 0 / 0.95), 0 14px 28px -18px rgb(0 0 0 / 0.85);
  --shadow-lift: 0 60px 100px -46px rgb(0 0 0 / 1), 0 0 0 1px rgb(255 106 26 / 0.28), 0 24px 60px -30px rgb(255 106 26 / 0.35);

  /* type */
  --f-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* spacing scale (use these, not ad-hoc numbers) */
  --s-1: 8px; --s-2: 12px; --s-3: 16px; --s-4: 24px; --s-5: 32px; --s-6: 48px; --s-7: 64px;
  --section: clamp(72px, 9vw, 128px);
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1240px;
  --header-h: 68px;
  --r: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-h);
  overflow-x: clip; /* clip, not hidden: hidden turns <body> into a scroll container and makes scrolling feel wrong */
}
/* Lenis smooth scrolling (mouse / trackpad only; see main.js) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
/* One fixed layer of soft orange light behind everything, so sections blend instead of changing colour. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 55vh at 88% 8%, rgb(255 106 26 / 0.14), transparent 70%),
    radial-gradient(55vw 55vh at 0% 55%, rgb(255 150 70 / 0.08), transparent 70%),
    radial-gradient(70vw 60vh at 75% 105%, rgb(255 106 26 / 0.12), transparent 70%);
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--on-orange); }

.container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.display em { font-style: normal; color: var(--orange); }
.h-xl { font-size: clamp(2.5rem, 6.2vw, 5.6rem); }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* Section label: "01  Services". The numbers give the page its sequence. */
.chapter { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-3); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.chapter span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; letter-spacing: 0; font-size: 12px; }

/* ---------- Layout ---------- */
.section { padding-block: var(--section); position: relative; }
.section-head { display: grid; gap: var(--s-2); margin-bottom: clamp(28px, 4vw, 52px); }

/* ---------- Glass tile: translucent block with depth ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / 0.08);
}
/* 3D tilt (pointer devices). main.js feeds --rx / --ry; without it the tile simply sits flat. */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.tilt:hover { box-shadow: var(--shadow-lift), inset 0 1px 0 rgb(255 255 255 / 0.12); border-color: rgb(255 106 26 / 0.4); }
.tilt > * { transform: translateZ(18px); }

/* ---------- Buttons, icon buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--orange { background: var(--orange); color: var(--on-orange); box-shadow: 0 14px 34px -14px rgb(255 106 26 / 0.75); }
.btn--orange:hover { background: var(--amber); }
.btn--line { border-color: var(--line-2); color: var(--text); background: rgb(255 255 255 / 0.04); }
.btn--line:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { min-height: 62px; padding: 0 36px; font-size: 17px; }
.btn--block { width: 100%; }
.ibtn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgb(255 255 255 / 0.05); color: var(--text); text-decoration: none; transition: border-color .3s, color .3s, background-color .3s, transform .3s var(--ease); }
.ibtn:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.ibtn svg { width: 19px; height: 19px; }
.ibtn--orange { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.ibtn--orange:hover { background: var(--amber); border-color: var(--amber); color: var(--on-orange); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--orange); transition: gap .3s var(--ease); }
.link-arrow svg { width: 18px; height: 18px; flex: none; }
.link-arrow:hover { gap: 16px; }

/* ---------- Header: one full-width glass tile, always visible ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); display: flex; align-items: center; background: rgb(9 9 10 / 0.93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgb(0 0 0 / 0.9); }
.site-header__inner { width: min(100% - 2 * var(--pad), 1480px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--amber)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: 0.14em; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.nav { display: none; gap: 2px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 15px; border-radius: 999px; color: var(--muted); transition: color .25s, background-color .25s; }
.nav a:hover { color: var(--text); }
.nav a.is-active, .nav a[aria-current="page"] { color: var(--text); background: rgb(255 255 255 / 0.09); }
.handles { display: flex; align-items: center; gap: 8px; }
.handles .h-mail { display: none; }
.header-book { min-height: 42px; min-width: 42px; padding: 0; font-size: 14px; }
.header-book span { display: none; }
.header-book.is-nudge { animation: nudgeBtn .9s var(--ease); }
@keyframes nudgeBtn { 0%, 100% { box-shadow: 0 14px 34px -14px rgb(255 106 26 / .75); } 50% { box-shadow: 0 0 0 7px rgb(255 106 26 / .25), 0 0 44px -4px rgb(255 106 26 / .95); } }
.menu-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgb(255 255 255 / 0.05); cursor: pointer; display: grid; place-items: center; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 480px) { .handles .h-mail { display: inline-grid; } }
@media (min-width: 620px) { .header-book { padding: 0 18px; } .header-book span { display: inline; } }
@media (min-width: 1000px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (max-width: 359px) { .brand span { display: none; } }

.menu { position: fixed; inset: 0; z-index: 85; background: rgb(7 7 8 / 0.97); padding: calc(var(--header-h) + 16px) var(--pad) 32px; display: flex; flex-direction: column; gap: var(--s-5); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu nav { display: grid; }
.menu nav a { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.15; text-decoration: none; border-bottom: 1px solid var(--line); padding-block: 14px; display: flex; justify-content: space-between; align-items: center; }
.menu nav a small { font: 600 12px var(--f-body); letter-spacing: .16em; color: var(--orange); }
body.menu-open { overflow: hidden; }

/* ---------- Hero: cinematic, like a live camera feed ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -3; background: #000; }
/* The clip is a camera on pure black, so it can be moved without showing an edge: right of the headline on
   wide screens, above it on phones. */
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: translate(0, -19%) scale(1.05); }
@media (min-width: 900px) { .hero__media img, .hero__media video { transform: translate(21%, -6%) scale(1.08); } }
/* the clip fades in over the poster frame once it is actually playing */
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
/* darkening + fade into the page so the hero blends into the next section */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(55% 60% at 70% 38%, rgb(255 106 26 / .2), transparent 70%),
  linear-gradient(90deg, rgb(7 7 8 / .82) 0%, rgb(7 7 8 / .35) 55%, rgb(7 7 8 / 0) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgb(7 7 8 / .6) 24%, rgb(7 7 8 / 0) 52%); }
/* viewfinder: corner brackets + a slow scan line */
.hud { position: absolute; inset: calc(var(--header-h) + 18px) var(--pad) 18px; z-index: -1; pointer-events: none; }
.hud i { position: absolute; width: 26px; height: 26px; border: 1.5px solid rgb(255 255 255 / .55); }
.hud i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hud i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.hud__rec { position: absolute; left: 40px; top: 4px; display: flex; align-items: center; gap: 10px; font: 500 12px var(--f-mono); letter-spacing: .12em; color: rgb(255 255 255 / .85); }
.hud__rec b { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hud__time { position: absolute; right: 40px; top: 4px; font: 500 12px var(--f-mono); letter-spacing: .12em; color: rgb(255 255 255 / .7); }
.hud__scan { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, transparent, rgb(255 140 60 / .07), transparent); opacity: 0; }
.hero__body { padding-top: calc(var(--header-h) + 70px); padding-bottom: clamp(28px, 4vw, 56px); display: grid; gap: clamp(16px, 2vw, 24px); }
.hero .h-xl { font-size: clamp(2.5rem, min(6.4vw, 10.5svh), 5.8rem); max-width: 13ch; }
.hero__areas { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hero .lead { color: #d8d4cc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgb(12 12 13 / .55); font-size: 14px; font-weight: 500; }
.chip svg { width: 15px; height: 15px; color: var(--orange); flex: none; }

/* Headline words rise in. Pure CSS, so it plays even if scripts are blocked. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .rise .w > span { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
  .hero__areas, .hero .lead, .hero__actions, .hero .chips { animation: fadeUp .9s var(--ease) both; }
  .hero__areas { animation-delay: .05s; } .hero .lead { animation-delay: .55s; } .hero__actions { animation-delay: .7s; } .hero .chips { animation-delay: .85s; }
  .hud__scan { animation: scan 7s linear infinite; }
  .hud__rec b { animation: rec 2s ease-in-out infinite; }
}
.hero.is-paused .hud__scan, .hero.is-paused .hud__rec b { animation-play-state: paused; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scan { 0% { transform: translateY(-140px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(100svh); opacity: 0; } }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- 01 Services: three panels across the full width ---------- */
.panels { display: flex; flex-direction: column; gap: 10px; padding-inline: 10px; }
.panel { position: relative; flex: 1 1 0; min-height: 68svh; color: inherit; text-decoration: none; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r); isolation: isolate; border: 1px solid var(--line); box-shadow: var(--shadow); transition: flex-grow .7s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.panel__bg { position: absolute; inset: 0; z-index: -2; }
.panel__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(7 7 8 / .96) 0%, rgb(7 7 8 / .55) 45%, rgb(7 7 8 / .18) 100%); }
.panel__body { width: 100%; padding: clamp(20px, 2.4vw, 34px); display: grid; gap: var(--s-2); }
.panel__n { font: 600 13px var(--f-display); letter-spacing: .16em; color: var(--orange); }
.panel h3 { font-family: var(--f-display); font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.02; }
.panel p { color: #d5d1c9; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 var(--s-2); }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(12 12 13 / .6); font-size: 13.5px; font-weight: 500; }
.panel .btn { justify-self: start; }
.panel__cta { min-height: 46px; padding: 0 22px; }
/* Sized from the screen height so the heading and all three services fit in one view, at any window size. */
@media (min-width: 900px) {
  .panels { flex-direction: row; }
  .panel { min-height: clamp(300px, calc(100svh - var(--header-h) - 300px), 480px); }
  .panel h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
  .panel:hover, .panel:focus-within { flex-grow: 1.35; border-color: rgb(255 106 26 / .5); box-shadow: var(--shadow-lift); }
  .panel:hover .panel__bg img, .panel:focus-within .panel__bg img { transform: scale(1.06); }
}
@media (max-width: 899px) {
  /* three slim rows: title, one line, the three points as a single line, and an arrow to book */
  #services .section-head { margin-bottom: 14px; }
  .panels { gap: 8px; }
  .panel { min-height: clamp(108px, calc((100svh - var(--header-h) - var(--dock-h) - 152px) / 3), 200px); align-items: center; }
  .panel::before { background: linear-gradient(90deg, rgb(7 7 8 / .94) 0%, rgb(7 7 8 / .72) 55%, rgb(7 7 8 / .35) 100%); }
  .panel__body { gap: 2px; padding: 11px 70px 11px 16px; }
  .panel h3 { font-size: 1.4rem; }
  .panel p { font-size: 15px; line-height: 1.35; }
  .tags { gap: 0 6px; margin: 1px 0 0; }
  .tags li { padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.35; color: var(--muted); }
  .tags li + li::before { content: "·"; margin-right: 6px; }
  .panel__cta { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 46px; min-width: 46px; padding: 0; font-size: 0; gap: 0; }
  .panel__cta:hover { transform: translateY(-50%); }
}

/* ---------- 02 Process: four steps on a line that fills as you scroll ---------- */
.steps { position: relative; display: grid; gap: var(--s-3); }
.steps__track { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--orange), var(--amber)); transform-origin: 50% 0; transform: scaleY(var(--sp, 1)); }
.step { position: relative; }
.step__tile { display: grid; grid-template-columns: 44px 1fr; gap: 4px var(--s-3); padding: 18px 20px 20px 10px; align-items: start; }
.step__dot { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--f-display); background: var(--orange); color: var(--on-orange); border: 1px solid var(--orange); position: relative; z-index: 1; transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); box-shadow: 0 0 0 6px rgb(255 106 26 / .14); }
.step h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; padding-top: 8px; }
.step p { grid-column: 2; color: var(--muted); }
/* Only when the script is driving the animation do later steps start "off". */
.steps.is-live .step:not(.is-on) .step__dot { background: #141517; color: var(--orange); box-shadow: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
  .steps__track { left: 44px; right: calc((100% - 3 * var(--s-3)) / 4 - 44px); top: 42px; bottom: auto; width: auto; height: 2px; }
  .steps__fill { background: linear-gradient(90deg, var(--orange), var(--amber)); transform-origin: 0 50%; transform: scaleX(var(--sp, 1)); }
  .step__tile { display: block; padding: 20px 22px 26px; height: 100%; }
  .step__dot { margin-bottom: var(--s-4); }
  .step h3 { padding-top: 0; margin-bottom: 6px; }
}

/* ---------- Ticker: moves with your scroll, always pointing at booking ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; background: rgb(255 106 26 / 0.06); }
.ticker__track { display: flex; width: max-content; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.03em; white-space: nowrap; }
.ticker__group span:nth-child(4n+3) { color: var(--orange); }
.ticker__group i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- 03 Free estimator: one clear tile, two small alternatives ---------- */
.est { display: grid; gap: var(--s-5); align-items: center; padding: clamp(24px, 3.4vw, 48px); border-color: rgb(255 106 26 / .4); background: linear-gradient(140deg, rgb(255 106 26 / .16), rgb(255 255 255 / .03) 55%); }
@media (min-width: 860px) { .est { grid-template-columns: 1.3fr auto; gap: var(--s-7); } }
.est__main { display: grid; gap: var(--s-3); justify-items: start; }
.est__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgb(255 106 26 / .16); color: var(--orange); border: 1px solid rgb(255 106 26 / .35); }
.est__icon svg { width: 28px; height: 28px; }
.est__alt { display: grid; gap: var(--s-2); justify-items: start; }
.est__alt p { font-size: 14px; color: var(--muted); }
.est__alt div { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--sm svg { width: 16px; height: 16px; }

/* ---------- 04 Questions ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { padding-inline: clamp(18px, 2vw, 26px); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; flex: none; position: relative; transition: background-color .3s, color .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details[open] { border-color: rgb(255 106 26 / .35); }
.faq details p { color: var(--muted); max-width: 60ch; padding: 0 50px 22px 0; }

/* ---------- 05 Book: the one clear action ---------- */
.book { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .book { grid-template-columns: 0.85fr 1.15fr; } .book__intro { position: sticky; top: calc(var(--header-h) + 28px); } }
.book__intro { display: grid; gap: var(--s-3); }
.book__list { display: grid; gap: 10px; margin-block: var(--s-2); }
.book__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.book__list svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.book__alt { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cal { padding: 8px; border-color: rgb(255 106 26 / .4); box-shadow: var(--shadow), 0 40px 120px -50px rgb(255 106 26 / .55); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 14px 16px 16px; }
.cal__head h3 { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.02em; }
.cal__head span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--orange); }
.cal__head span b { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.cal-embed { min-width: 280px; height: 720px; border-radius: 16px; overflow: hidden; position: relative; background: #0d0e10; }
.cal-embed iframe { width: 100%; height: 100%; border: 0; }
.cal-fallback { padding: 12px 16px 8px; font-size: 14px; color: var(--muted); }
.cal-fallback a { color: var(--orange); }

/* ---------- 06 Reach out: every way to get in touch ---------- */
.reach { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .reach { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reach { grid-template-columns: repeat(4, 1fr); } }
.reach__item { display: flex; flex-direction: column; gap: var(--s-2); padding: clamp(20px, 2.2vw, 28px); height: 100%; }
.reach__item h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.03em; line-height: 1.15; margin-top: var(--s-1); }
.reach__val { color: var(--muted); overflow-wrap: anywhere; }
.reach__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s-2); }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(44px, 6vw, 88px)) 0 clamp(28px, 4vw, 52px); }
.page-hero .display { max-width: 16ch; }
.page-hero .lead { margin-top: var(--s-3); }

/* ---------- Estimator ---------- */
.calc { display: grid; gap: var(--s-5); padding-bottom: var(--section); align-items: start; }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.45fr 1fr; gap: var(--s-6); } }
.calc-form { display: grid; gap: 10px; }
.cgroup { padding: 22px clamp(18px, 2vw, 26px) 24px; margin: 0; min-width: 0; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.cgroup legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em; font-size: 1.25rem; }
.cgroup .hint { clear: both; color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.cgroup .opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cgroup .hint + .opts, .cgroup .hint + .grid-2 { margin-top: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: grid; gap: 1px; min-height: 50px; align-content: center; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; transition: background-color .3s, color .3s, border-color .3s; font-weight: 500; font-size: 15px; }
.opt span small { font-weight: 400; font-size: 12px; color: var(--muted); transition: color .3s; }
.opt:hover span { border-color: var(--orange); }
.opt input:checked + span { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.opt input:checked + span small { color: rgb(20 10 3 / .75); }
.opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.opt--box span { border-radius: 14px; }
.grid-2 { display: grid; gap: 8px; clear: both; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.range-wrap { display: flex; justify-content: space-between; align-items: baseline; clear: both; margin-top: 12px; }
.range-wrap output, .stepper output { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; font-size: 1.5rem; color: var(--orange); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin-top: 4px; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--line-2); border-radius: 3px; }
input[type="range"]::-moz-range-track { height: 3px; background: var(--line-2); border-radius: 3px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 5px solid #17181b; box-shadow: 0 0 0 1px var(--orange); margin-top: -12px; transition: transform .3s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 5px solid #17181b; box-shadow: 0 0 0 1px var(--orange); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; }
.stepper > span { font-weight: 500; }
.stepper div { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 22px; line-height: 1; transition: background-color .3s, color .3s, border-color .3s; }
.stepper button:hover:not(:disabled) { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; color: var(--text); }
.calc-reset { background: none; border: 0; padding: 12px 4px; cursor: pointer; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.calc-reset:hover { color: var(--text); }
.result { padding: clamp(24px, 2.6vw, 36px); border-color: rgb(255 106 26 / .4); box-shadow: var(--shadow), 0 40px 120px -50px rgb(255 106 26 / .5); }
@media (min-width: 1000px) { .result { position: sticky; top: calc(var(--header-h) + 20px); } }
.result__num { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.045em; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1; margin: 18px 0 6px; word-break: break-word; }
.result__num small { color: var(--muted); font-size: .5em; font-weight: 500; letter-spacing: 0; margin-inline: .2em; }
.result__sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.bar { display: flex; height: 6px; gap: 3px; border-radius: 99px; overflow: hidden; background: rgb(255 255 255 / .08); }
.bar i { display: block; height: 100%; transition: flex-grow .6s var(--ease); flex-basis: 0; }
.rows { margin: 20px 0 0; display: grid; font-size: 15px; }
.rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.rows dt i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; }
.rows dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.result .note { color: var(--muted); font-size: 13px; margin-top: 16px; line-height: 1.55; }
.result .btn { width: 100%; margin-top: 22px; white-space: normal; text-align: center; padding: 14px 22px; line-height: 1.35; }
.result .empty { color: var(--muted); margin-top: 16px; }
.alert { padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 15px; margin-bottom: var(--s-6); }
.alert a { color: var(--orange); }

/* ---------- Prose (privacy) & credits ---------- */
.prose { max-width: 740px; padding-bottom: var(--section); display: grid; gap: var(--s-3); }
.prose h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(1.35rem, 2vw, 1.7rem); margin-top: var(--s-4); }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.prose a, .credits a { color: var(--orange); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.credits { display: grid; gap: 10px; padding-bottom: var(--section); }
.credits li { padding: 18px 22px; border-radius: 16px; display: grid; gap: 4px 24px; }
@media (min-width: 800px) { .credits li { grid-template-columns: 1fr 1fr; } }
.credits small { color: var(--muted); }

/* ---------- Footer: one thin line ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgb(9 9 10 / .6); }
.site-footer__inner { width: min(100% - 2 * var(--pad), 1480px); margin-inline: auto; min-height: 64px; padding-block: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px var(--s-4); font-size: 13px; color: var(--muted); }
.site-footer a:not(.ibtn) { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.site-footer a:not(.ibtn):hover { color: var(--text); }
.site-footer .ibtn { width: 38px; height: 38px; }
.site-footer .handles .h-mail { display: inline-grid; }
.site-footer .ibtn svg { width: 17px; height: 17px; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }

/* ---------- Floating contact dock ---------- */
.dock {
  position: fixed; z-index: 95; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgb(14 14 15 / .96);
  border: 1px solid rgb(255 106 26 / .5); border-radius: 999px;
  box-shadow: 0 24px 60px -18px rgb(0 0 0 / .9), 0 0 40px -12px rgb(255 106 26 / .5), inset 0 1px 0 rgb(255 255 255 / .06);
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .45s var(--ease);
}
.dock.is-visible { transform: none; opacity: 1; }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 999px; padding: 0 20px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.dock svg { width: 20px; height: 20px; flex: none; }
.dock__wa { color: var(--text); }
.dock__wa svg { color: #3ddc84; }
.dock__wa:hover { background: rgb(255 255 255 / .1); }
.dock__cta { background: var(--orange); color: var(--on-orange); }
.dock__cta:hover { background: var(--amber); }
/* a soft pulse each time you reach a new section, to keep the free consultation in view */
.dock.is-nudge { animation: nudge .9s var(--ease); }
@keyframes nudge { 0%, 100% { box-shadow: 0 24px 60px -18px rgb(0 0 0 / .9), 0 0 40px -12px rgb(255 106 26 / .5); } 50% { box-shadow: 0 24px 60px -18px rgb(0 0 0 / .9), 0 0 0 8px rgb(255 106 26 / .22), 0 0 60px -6px rgb(255 106 26 / .9); } }
@media (max-width: 640px) {
  :root { --dock-h: 86px; }
  .dock { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); border-radius: 22px; }
  .dock a { flex: 1; padding: 0 12px; min-height: 52px; border-radius: 17px; }
  .hero__actions .btn--line { display: none; }
  .hero__body { padding-bottom: calc(var(--dock-h) + 12px); }
  .hud__time { display: none; }
}

/* ---------- Toast: feedback after tapping call or email ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 24px); z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(92vw, 460px); padding: 14px 20px; border-radius: 14px; background: rgb(20 21 24 / .98); border: 1px solid rgb(255 106 26 / .5); box-shadow: var(--shadow); font-size: 15px; text-align: center; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--orange); font-weight: 600; }

/* ---------- Reveal on scroll (only once main.js is running) ---------- */
.js .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 22px, 0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .btn:hover, .ibtn:hover { transform: none; }
  .tilt { transform: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: var(--s-4); padding: var(--pad); }
.nf .display { max-width: 14ch; margin-inline: auto; }
.nf .eyebrow, .nf > div { justify-self: center; }
