/* Clearline Solutions — minimal.
   Warm paper, near-black ink, hairline rules and one accent: film blue, used only for actions.
   One neutral, highly readable sans (Geist) for everything. The film slider is the one loud
   thing on the site; everything else stays quiet around it. */

:root {
  --paper: #f3f1ec;
  --ink: #141413;
  --muted: rgba(20, 20, 19, .6);
  --line: rgba(20, 20, 19, .16);
  --white: #ffffff;
  --action: #1747e6;
  --action-hover: #0f35b8;
  --action-rgb: 23, 71, 230;
  --error: #b3410a;

  --headerH: 72px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --gutter: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); /* left edge of the content column */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--headerH) + 8px); }
body {
  margin: 0; display: flex; flex-direction: column; min-height: 100vh; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-weight: 500; letter-spacing: -.03em; line-height: 1.06; }
h1 { font-size: clamp(40px, 5.2vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
h1 em, h2 em { font-style: normal; color: var(--muted); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 50%; z-index: 90; padding: 8px 12px; background: var(--ink); color: var(--paper); font-size: 14px; transform: translate(-50%, -150%); }
.skip-link:focus { transform: translate(-50%, 0); }

.eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 44ch; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: scale(.98); }
.btn.is-action { background: var(--action); border-color: var(--action); color: var(--white); }
.btn.is-action:hover { background: var(--action-hover); border-color: var(--action-hover); }
.btn.is-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(0, 0, 0, .15); backdrop-filter: blur(6px); }
.btn.is-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.is-block { display: flex; width: 100%; min-height: 54px; font-size: 16px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--headerH); padding: 0 var(--gutter); background: rgba(243, 241, 236, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.logo__name { font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__link { font-size: 15px; transition: color .2s; }
.header__link:hover { color: var(--action); }
.header .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- layout ---------- */
.section { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--pad); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { max-width: 16ch; }
.section--hero { padding-bottom: clamp(40px, 6vw, 72px); }
.section--hero h1 { max-width: 15ch; margin-bottom: 24px; }
.section--slim { padding-top: 28px; padding-bottom: 28px; }

/* ---------- hero: the film comparison slider ---------- */
.hero {
  position: relative; display: grid; overflow: hidden; background: #000; color: var(--white);
  min-height: clamp(560px, calc(100svh - var(--headerH)), 920px);
}
.pane { --pos: 50%; user-select: none; touch-action: pan-y; }
.pane__layer { position: absolute; inset: 0; }
.pane__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.pane__glare {
  position: absolute; inset: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at 87% 22%, rgba(255, 246, 215, .75), rgba(255, 214, 150, .35) 16%, rgba(255, 200, 130, .12) 34%, transparent 55%);
  animation: shimmer 5s ease-in-out infinite alternate;
}
@keyframes shimmer { to { opacity: .8; transform: scale(1.04); } }
.pane__layer--film { clip-path: inset(0 0 0 var(--pos)); }
.pane__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 1px; background: var(--white); pointer-events: none; }
.pane__knob {
  position: absolute; top: 68%; left: 0; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.pane__knob b { color: var(--action); font-weight: 600; }
.pane__knob i { font-style: normal; font-size: 22px; line-height: 1; margin-top: -2px; }
.pane__knob::before { /* pulsing ring until first use */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--white);
  animation: knob-ring 1.8s var(--ease) infinite;
}
@keyframes knob-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.35, 1.8); opacity: 0; } }
.pane__hint {
  position: absolute; top: calc(68% + 44px); left: 0; transform: translateX(-50%); white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); font-size: 12px; letter-spacing: .04em; transition: opacity .4s;
}
.pane.is-touched .pane__knob::before { animation: none; opacity: 0; }
.pane.is-touched .pane__hint { opacity: 0; }
.pane__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.pane:has(.pane__range:focus-visible) .pane__knob { outline: 2px solid var(--white); outline-offset: 4px; }

.hero__overlay {
  position: relative; z-index: 4; pointer-events: none;
  background: linear-gradient(105deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 50%, transparent 70%);
}
.hero__content { padding: clamp(48px, 9vh, 112px) var(--gutter) 0; }
.hero__content .eyebrow { color: rgba(255, 255, 255, .8); }
.hero__content h1 { max-width: 14ch; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__content h1 em { color: rgba(255, 255, 255, .78); }
.hero__content p { max-width: 34ch; font-size: clamp(17px, 1.5vw, 20px); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; pointer-events: auto; }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.pane__readout {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter); background: rgba(0, 0, 0, .5); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .18); pointer-events: none;
}
.pane__tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.pane__tag.is-film { color: #9bb3ff; opacity: 1; }
.pane__stats { display: flex; gap: clamp(20px, 4vw, 56px); margin: 0; }
.pane__stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; }
.pane__stats dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.pane__stats dd { margin: 0; font-size: 26px; font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- stats band ---------- */
.band { border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 calc(var(--gutter) - var(--pad)); }
.stats li { display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 4vw, 48px) var(--pad); }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); }
.stats .stats__pre { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- services: two columns of rows ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.rows { border-top: 1px solid var(--ink); }
.rows a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; transition: color .2s, padding .35s var(--ease);
}
.rows__go { font-size: 20px; transition: transform .35s var(--ease); }
.rows a:hover { color: var(--action); padding-left: 8px; }
.rows a:hover .rows__go { transform: translateX(4px); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps--three { grid-template-columns: repeat(3, 1fr); margin-bottom: 40px; }
.steps li { padding-top: 20px; border-top: 1px solid var(--ink); }
.steps__n { display: block; margin-bottom: 24px; font-size: 15px; font-weight: 500; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- split: copy | form ---------- */
.split { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__copy h2 { max-width: 12ch; margin-bottom: 24px; }
.split__copy > p { max-width: 40ch; color: var(--muted); }
.split--top { padding-top: clamp(40px, 6vw, 80px); }
.split--top h1 { font-size: clamp(38px, 4.6vw, 64px); max-width: 13ch; margin-bottom: 24px; }
.back { display: inline-block; margin-bottom: 36px; font-size: 14px; color: var(--muted); transition: color .2s; }
.back:hover { color: var(--action); }
.bigcall { display: inline-flex; flex-direction: column; margin-top: 40px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.02em; line-height: 1; transition: color .2s; }
.bigcall span { margin-bottom: 10px; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bigcall:hover { color: var(--action); }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.specs li { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 0 0; }
.specs b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.specs span { font-size: 14px; color: var(--muted); }

.also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; margin: 0; font-size: 15px; }
.also span { color: var(--muted); }
.also a { border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.also a:hover { color: var(--action); border-color: currentColor; }

/* ---------- form ---------- */
.quote { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--white); border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(20, 20, 19, .35); }
.quote__toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--paper); }
.quote__toggle label { position: relative; }
.quote__toggle input { position: absolute; inset: 0; z-index: 1; opacity: 0; cursor: pointer; }
.quote__toggle span { display: block; padding: 10px 0; border-radius: 999px; text-align: center; font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.quote__toggle input:checked + span { background: var(--ink); color: var(--paper); }
.quote__toggle input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.control { display: flex; flex-direction: column; gap: 6px; }
.control.is-wide { grid-column: 1 / -1; }
.control > span { font-size: 13px; color: var(--muted); }
.control input, .control select, .control textarea {
  width: 100%; appearance: none; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  color: var(--ink); font: 400 16px/1.3 var(--sans); transition: border-color .2s, box-shadow .2s;
}
.control select {
  padding-right: 40px; background-repeat: no-repeat; background-size: 5px 5px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%;
}
.control select:invalid { color: var(--muted); }
.control textarea { resize: vertical; min-height: 64px; }
.control input:focus, .control select:focus, .control textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(var(--action-rgb), .15); }
.control--pot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__error { margin: 0; padding: 12px 14px; border: 1px solid var(--error); border-radius: 10px; color: var(--error); font-size: 14px; }
.quote__consent { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.quote__consent a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- booking calendar (thank-you) ---------- */
.book h2 { margin-bottom: 28px; }
.book__cal { min-height: 620px; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }

/* ---------- legal + rich content ---------- */
.rc { max-width: 72ch; }
.rc h4 { margin: 40px 0 12px; font-size: 20px; font-weight: 600; }
.rc p, .rc li { color: rgba(20, 20, 19, .8); }
.rc ul { margin: 0 0 24px; display: grid; gap: 8px; }
.rc li { position: relative; padding-left: 20px; }
.rc li::before { content: "–"; position: absolute; left: 0; }
.rc a { text-decoration: underline; text-underline-offset: 2px; }
.rc strong { font-weight: 600; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px var(--gutter) 28px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer__row--small { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__area { margin: 0; color: var(--muted); }
.footer__row--small p { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; }
.footer__row--small a:hover { color: var(--ink); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 939px) {
  .split, .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .header__phone { display: none; }
}
@media (max-width: 767px) {
  :root { --headerH: 60px; }
  .header__nav { gap: 16px; }
  .header__link:not(.header__phone) { display: none; }
  .logo__name { font-size: 19px; }
  .header .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
  .hero { min-height: 640px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1) 55%, transparent 70%); }
  .pane__knob { top: 66%; height: 46px; }
  .pane__hint { top: calc(66% + 38px); }
  .pane__tag { display: none; }
  .pane__readout { justify-content: center; padding: 14px 12px; }
  .pane__stats dd { font-size: 24px; }
  .stats { grid-template-columns: 1fr; }
  .stats li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 16px; padding: 22px var(--pad); }
  .stats .stats__pre { grid-column: 1 / -1; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .stats b { font-size: 44px; min-width: 2.4em; }
  .steps, .steps--three { grid-template-columns: 1fr; gap: 24px; }
  .steps__n { margin-bottom: 12px; }
  .specs { grid-template-columns: 1fr; }
  .specs li { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .control-grid { grid-template-columns: 1fr; }
  .quote { border-radius: 14px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
