/* ============================================================================
   CAROLINA GLOSS — stylesheet

   Dark by intent: interior photography is shot in low light and dies on a
   white page. The accent is a brushed silver rather than the red-and-black
   every other detailer uses.

   Colour is not defined here — every value comes from BRAND.theme, written
   onto :root by site.js. The fallbacks in the var() calls below only matter
   if JS fails, and they match brand.js exactly.
   ========================================================================= */

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg, #08090b);
  color: var(--text, #eceef1);
  font: 400 16px/1.65 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* --- Type scale -------------------------------------------------------- */
.display, .h1, .h2, .h3 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.h1      { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.h2      { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.h3      { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.25; }

/* The metallic wordmark / accent word. Falls back to a flat accent colour
   where background-clip:text isn't supported. */
.plat {
  color: var(--accent, #d5dce4);
  background: linear-gradient(168deg, #ffffff 6%, #cfd7e0 34%, #8b949f 58%, #eef2f6 92%);
  -webkit-background-clip: text;
  background-clip: text;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .plat { color: transparent; }
}

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dim, #8d96a1);
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft, #98a0aa); }
.mono { font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace; }
.muted { color: var(--text-soft, #98a0aa); }
.dim { color: var(--text-dim, #646c76); }
p + p { margin-top: 0.9em; }

/* --- Layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 780px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.band { background: var(--bg-2, #0e1013); border-block: 1px solid var(--line-soft, #181b20); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; max-width: none;
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent, #d5dce4);
  --btn-fg: var(--accent-ink, #0a0c0e);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 2px;
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(213, 220, 228, .45); }
.btn:active { transform: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text, #eceef1);
  border-color: var(--line, #23272d);
}
.btn--ghost:hover { background: var(--bg-3, #15181c); box-shadow: none; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  color: var(--text, #eceef1);
  border-bottom: 1px solid var(--line, #23272d);
  padding-bottom: 3px;
  transition: border-color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-color: var(--accent, #d5dce4); gap: 13px; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--steel, #5f7d94);
  outline-offset: 3px;
}

/* --- Announcement strip ------------------------------------------------ */
.strip {
  background: var(--bg-2, #0e1013);
  border-bottom: 1px solid var(--line-soft, #181b20);
  font-size: 0.78rem; color: var(--text-dim, #646c76);
  text-align: center; padding: 9px 24px;
  overflow: hidden;
}
.strip span { display: block; animation: stripIn .5s ease both; }
@keyframes stripIn { from { opacity: 0; transform: translateY(6px); } }

/* --- Header ------------------------------------------------------------ */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg, #08090b) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
/* Fallback for engines without color-mix() */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .hdr { background: rgba(8, 9, 11, .88); }
}
.hdr.is-stuck { border-bottom-color: var(--line, #23272d); }
.hdr__inner { display: flex; align-items: center; gap: 32px; height: 74px; }

.logo {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
}
.logo__mark { flex: none; width: 26px; height: 26px; align-self: center; }

/* The badge logo. It stands alone as the wordmark — the badge already spells
   out the business name, so no text sits beside it. Height is set inline from
   brand.js; width follows the aspect ratio. */
.logo--img { display: inline-flex; align-items: center; }
.logo--img img {
  flex: none; width: auto; max-width: 100%; display: block;
  transition: opacity .18s ease;
}
.logo--img:hover img { opacity: .85; }

/* Phones: shrink the badge to fit the narrower bar, but never hide it — with no
   text wordmark beside it, it is the only thing naming the business up there. */
@media (max-width: 720px) {
  .hdr__inner .logo--img img { height: 50px !important; }
}
@media (max-width: 400px) {
  .hdr__inner .logo--img img { height: 44px !important; }
}

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 0.88rem; text-decoration: none; color: var(--text-soft, #98a0aa);
  padding: 6px 0; position: relative; transition: color .18s ease;
}
.nav a:hover { color: var(--text, #eceef1); }
.nav a[aria-current='page'] { color: var(--text, #eceef1); }
.nav a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent, #d5dce4);
}
.hdr .btn { padding: 11px 20px; font-size: 0.82rem; }
.hdr__tel {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.84rem; text-decoration: none; color: var(--text-soft, #98a0aa);
}
.hdr__tel:hover { color: var(--text, #eceef1); }

.burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; padding: 0;
  background: none; border: 1px solid var(--line, #23272d); border-radius: 2px;
  cursor: pointer;
}
.burger i {
  display: block; width: 17px; height: 1.5px; margin: 4px auto;
  background: var(--text, #eceef1); transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded='true'] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 24px 28px;
    background: var(--bg, #08090b);
    border-bottom: 1px solid var(--line, #23272d);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft, #181b20); font-size: 1rem; }
  .nav a[aria-current='page']::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .hdr__tel { margin-top: 14px; }
}

/* --- Hero -------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; display: grid; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 42%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,9,11,.94) 0%, rgba(8,9,11,.78) 44%, rgba(8,9,11,.35) 100%),
    linear-gradient(to top, var(--bg, #08090b) 2%, rgba(8,9,11,.1) 42%);
}
/* padding-BLOCK, not the `padding` shorthand. This element is also a .wrap, and
   the shorthand reset .wrap's `padding-inline: 24px` to 0 — so on a phone the
   headline, the lede and both buttons sat flush against both screen edges.
   Same trap as any shorthand written over a longhand set elsewhere. */
.hero__inner { padding-block: clamp(88px, 15vh, 168px) clamp(64px, 10vh, 104px); max-width: 780px; }
.hero__inner .display { margin: 18px 0 24px; }
.hero__inner .lede { max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Spec row under the hero copy */
.hero__specs {
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  margin-top: clamp(40px, 6vw, 64px); padding-top: 26px;
  border-top: 1px solid var(--line, #23272d);
}
.hero__specs div { min-width: 118px; }
.hero__specs dt {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim, #646c76); margin-bottom: 5px;
}
.hero__specs dd {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: 1.28rem; font-weight: 600; margin: 0;
}

/* --- Cards & grids ----------------------------------------------------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  padding: 28px 26px;
  background: var(--bg-2, #0e1013);
  border: 1px solid var(--line, #23272d); border-radius: 3px;
}
.card__n {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--accent-dim, #8d96a1); margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft, #98a0aa); font-size: 0.95rem; }

/* --- Process ----------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--line, #23272d); border: 1px solid var(--line, #23272d); }
.step {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) 210px;
  align-items: center; gap: 28px;
  padding: 26px 28px; background: var(--bg, #08090b);
  transition: background-color .25s ease;
}
.step:hover { background: var(--bg-2, #0e1013); }
.step__n {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 1.6rem; color: var(--text-dim, #646c76);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft, #98a0aa); font-size: 0.94rem; max-width: 60ch; }
.step__img { width: 210px; aspect-ratio: 16/10; object-fit: cover; border-radius: 2px; filter: saturate(.9); }
@media (max-width: 860px) {
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 24px 20px; }
  .step__img { display: none; }
  .step__n { font-size: 1.2rem; }
}

/* --- Package cards ----------------------------------------------------- */
.pkgs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--bg-2, #0e1013);
  border: 1px solid var(--line, #23272d); border-radius: 3px;
}
.pkg--popular { border-color: var(--accent-dim, #8d96a1); background: var(--bg-3, #15181c); }
.pkg__ribbon {
  position: absolute; top: -1px; right: 20px;
  padding: 5px 12px 6px;
  background: var(--accent, #d5dce4); color: var(--accent-ink, #0a0c0e);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.pkg__sub {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dim, #8d96a1); margin-bottom: 12px;
}
.pkg h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.pkg__price {
  display: flex; align-items: baseline; gap: 8px;
  padding: 16px 0; margin-bottom: 18px;
  border-block: 1px solid var(--line, #23272d);
}
.pkg__price b {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: 1.85rem; font-weight: 600; letter-spacing: -0.02em;
}
.pkg__price span { font-size: 0.82rem; color: var(--text-dim, #646c76); }
.pkg > p { color: var(--text-soft, #98a0aa); font-size: 0.95rem; margin-bottom: 20px; }
.pkg .btn { margin-top: auto; }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.ticks li {
  position: relative; padding-left: 26px;
  font-size: 0.92rem; color: var(--text-soft, #98a0aa); line-height: 1.5;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--accent, #d5dce4);
  border-bottom: 1.5px solid var(--accent, #d5dce4);
  transform: rotate(-45deg);
}
.pkg__best {
  font-size: 0.82rem; color: var(--text-dim, #646c76);
  padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line-soft, #181b20);
}

/* Subscription plans reuse .pkgs / .pkg — only the price unit and the saving
   line are different. */
.pkg__price em { font-style: normal; font-size: 0.95rem; color: var(--text-soft, #98a0aa); }
.pkg__save {
  font-size: 0.8rem; color: var(--good, #7fc9a6);
  margin: -12px 0 18px; letter-spacing: 0.01em;
}

/* The mirror of .ticks: the list of things we honestly cannot do. */
.crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.crosses li {
  position: relative; padding-left: 26px;
  font-size: 0.92rem; color: var(--text-soft, #98a0aa); line-height: 1.55;
}
.crosses li::before, .crosses li::after {
  content: ''; position: absolute; left: 1px; top: 11px;
  width: 12px; height: 1.5px; background: var(--text-dim, #646c76);
}
.crosses li::before { transform: rotate(45deg); }
.crosses li::after  { transform: rotate(-45deg); }

/* "What we need from you" — numbered, because it is a checklist not prose. */
.needs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: need; }
.needs li {
  position: relative; padding-left: 42px;
  color: var(--text-soft, #98a0aa); font-size: 0.95rem; line-height: 1.55;
}
.needs li::before {
  counter-increment: need; content: counter(need);
  position: absolute; left: 0; top: -2px; width: 27px; height: 27px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line, #23272d); background: var(--bg-3, #15181c);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem; color: var(--accent, #d5dce4);
}

/* Disclosure under the before/after sliders while they hold stock examples.
   Deliberately visible rather than buried in a comment — see COMPARISONS. */
.demo-note {
  margin-top: 20px; padding: 13px 16px;
  border: 1px dashed var(--line, #23272d); border-radius: 10px;
  font-size: 0.82rem; color: var(--text-dim, #646c76); line-height: 1.6;
}

/* --- Quote builder ----------------------------------------------------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .quote { grid-template-columns: minmax(0, 1fr); } }

.qstep { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line, #23272d); }
.qstep:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.qstep__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.qstep__n {
  flex: none; width: 26px; height: 26px; align-self: center;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line, #23272d);
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.7rem;
  color: var(--accent-dim, #8d96a1);
}
.qstep__head h3 { font-size: 1.15rem; }
.qstep__head p { font-size: 0.85rem; color: var(--text-dim, #646c76); margin-left: auto; }

/* Selectable option tiles — one component for radios and checkboxes. */
.opts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }
.opts--wide { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt__box {
  display: flex; flex-direction: column; gap: 5px; height: 100%;
  padding: 16px 18px;
  background: var(--bg-2, #0e1013);
  border: 1px solid var(--line, #23272d); border-radius: 3px;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.opt:hover .opt__box { border-color: var(--accent-dim, #8d96a1); transform: translateY(-1px); }
.opt input:checked + .opt__box {
  border-color: var(--accent, #d5dce4);
  background: var(--bg-4, #1d2126);
  box-shadow: inset 0 0 0 1px var(--accent, #d5dce4);
}
.opt input:focus-visible + .opt__box { outline: 2px solid var(--steel, #5f7d94); outline-offset: 2px; }
.opt input:disabled + .opt__box { opacity: .5; cursor: not-allowed; }
.opt__box b {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: 0.97rem; font-weight: 600;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.opt__box b i {
  font-style: normal; font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.82rem; font-weight: 400; color: var(--accent-dim, #8d96a1);
  white-space: nowrap;
}
.opt__box small { font-size: 0.82rem; color: var(--text-dim, #646c76); line-height: 1.45; }
.opt__box .tag {
  align-self: flex-start; margin-top: 3px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--good, #7fc9a6);
}

/* Sticky quote summary */
.qsum {
  position: sticky; top: 98px;
  padding: 26px 24px;
  background: var(--bg-3, #15181c);
  border: 1px solid var(--line, #23272d); border-radius: 3px;
}
@media (max-width: 1000px) { .qsum { position: static; } }
.qsum h3 { font-size: 1.05rem; margin-bottom: 20px; }
.qsum__lines { display: grid; gap: 9px; margin-bottom: 20px; font-size: 0.88rem; }
.qsum__line { display: flex; justify-content: space-between; gap: 16px; color: var(--text-soft, #98a0aa); }
.qsum__line b { font-weight: 500; color: var(--text, #eceef1); }
.qsum__line--free b { color: var(--good, #7fc9a6); }
.qsum__total {
  padding-top: 20px; margin-top: 4px;
  border-top: 1px solid var(--line, #23272d);
}
.qsum__figure {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.1; margin: 6px 0 4px;
}
.qsum__meta {
  display: flex; justify-content: space-between; gap: 16px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.78rem; color: var(--text-dim, #646c76);
  padding: 14px 0; margin: 16px 0;
  border-block: 1px solid var(--line-soft, #181b20);
}
.qsum__note { font-size: 0.78rem; color: var(--text-dim, #646c76); margin-top: 14px; }
.qsum .btn { margin-top: 18px; }

/* --- Before / after comparison ---------------------------------------- */
.cmp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  padding: 9px 17px;
  background: var(--bg-2, #0e1013);
  border: 1px solid var(--line, #23272d); border-radius: 100px;
  font-size: 0.84rem; color: var(--text-soft, #98a0aa);
  cursor: pointer; transition: all .18s ease;
}
.chip:hover { color: var(--text, #eceef1); border-color: var(--accent-dim, #8d96a1); }
.chip[aria-selected='true'] {
  background: var(--accent, #d5dce4); border-color: var(--accent, #d5dce4);
  color: var(--accent-ink, #0a0c0e); font-weight: 500;
}

.cmp__stage { display: grid; grid-template-columns: minmax(0, 1fr) 328px; gap: 28px; align-items: start; }
@media (max-width: 940px) { .cmp__stage { grid-template-columns: minmax(0, 1fr); } }

/* The slider itself. `--x` is the split position in percent, set by compare.js.
   The AFTER image sits underneath at full size; the BEFORE image is clipped to
   the left of the handle. Clipping (not resizing) is what keeps the two frames
   registered against each other. */
.cmp {
  --x: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 2; border-radius: 3px;
  border: 1px solid var(--line, #23272d);
  background: var(--bg-2, #0e1013);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
}
.cmp img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.cmp__before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }

.cmp__handle {
  position: absolute; top: 0; bottom: 0; left: var(--x);
  width: 2px; margin-left: -1px;
  background: var(--accent, #d5dce4);
  box-shadow: 0 0 22px rgba(0, 0, 0, .6);
  pointer-events: none;
}
.cmp__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent, #d5dce4); color: var(--accent-ink, #0a0c0e);
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}
.cmp__grip svg { width: 20px; height: 20px; }

.cmp__tag {
  position: absolute; top: 14px;
  padding: 6px 13px;
  background: rgba(8, 9, 11, .74);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line, #23272d); border-radius: 2px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft, #98a0aa);
  pointer-events: none;
}
.cmp__tag--b { left: 14px; }
.cmp__tag--a { right: 14px; }

/* Keyboard access: a real range input laid over the stage, visually hidden but
   focusable, so the slider works without a pointer. */
.cmp__range {
  position: absolute; inset: auto 0 0 0; width: 100%; height: 44px;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.cmp__range:focus-visible { opacity: 1; }

.cmp__info { padding-top: 4px; }
.cmp__info .eyebrow { margin-bottom: 12px; }
.cmp__info h3 { margin-bottom: 12px; }
.cmp__info p { color: var(--text-soft, #98a0aa); font-size: 0.95rem; }
.cmp__hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim, #646c76);
}

/* --- Gallery grid ------------------------------------------------------ */
.gal { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gal figure { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--bg-2, #0e1013); }
.gal img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
  filter: saturate(.92);
}
.gal figure:hover img { transform: scale(1.045); filter: saturate(1.02); }
.gal figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 13px;
  background: linear-gradient(to top, rgba(8, 9, 11, .9), transparent);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft, #98a0aa);
}
@media (min-width: 800px) { .gal figure.span2 { grid-column: span 2; } }
@media (min-width: 800px) { .gal figure.span2 img { aspect-ratio: 16 / 10; } }

/* --- Testimonials ----------------------------------------------------- */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.quote-card {
  display: flex; flex-direction: column;
  padding: 28px 26px;
  background: var(--bg-2, #0e1013);
  border: 1px solid var(--line, #23272d); border-radius: 3px;
}
.quote-card blockquote { margin: 0 0 20px; font-size: 1rem; line-height: 1.6; }
.quote-card blockquote::before { content: '\201C'; }
.quote-card blockquote::after { content: '\201D'; }
.quote-card footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft, #181b20); }
.quote-card cite {
  display: block; font-style: normal; font-weight: 500; font-size: 0.9rem;
}
.quote-card small {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-dim, #646c76);
}

/* --- FAQ (details/summary — no JS needed) ----------------------------- */
.faq { border-top: 1px solid var(--line, #23272d); }
.faq details { border-bottom: 1px solid var(--line, #23272d); }
.faq summary {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: 1.02rem; font-weight: 500;
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent, #d5dce4); }
.faq summary::after {
  content: ''; flex: none; margin-left: auto; align-self: center;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--accent-dim, #8d96a1);
  border-bottom: 1.5px solid var(--accent-dim, #8d96a1);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details > div { padding: 0 60px 24px 0; color: var(--text-soft, #98a0aa); font-size: 0.95rem; }

/* --- Forms ------------------------------------------------------------ */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim, #646c76);
}
.field > span em { font-style: normal; color: var(--warn, #d9a76c); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg-3, #15181c);
  border: 1px solid var(--line, #23272d); border-radius: 2px;
  font-size: 0.95rem;
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--accent-dim, #8d96a1); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent, #d5dce4); background: var(--bg-4, #1d2126);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim, #646c76); }
.field select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-dim, #8d96a1) 50%),
                    linear-gradient(135deg, var(--accent-dim, #8d96a1) 50%, transparent 50%);
  background-position: calc(100% - 21px) 21px, calc(100% - 16px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent, #d5dce4); }
.field--check span {
  font-family: inherit; font-size: 0.9rem; letter-spacing: 0; text-transform: none;
  color: var(--text-soft, #98a0aa);
}
.form__hp { position: absolute; left: -9999px; }

.note {
  padding: 15px 18px; border-radius: 2px;
  font-size: 0.88rem; line-height: 1.55;
  border: 1px solid var(--line, #23272d); background: var(--bg-3, #15181c);
  color: var(--text-soft, #98a0aa);
}
.note--good { border-color: color-mix(in srgb, var(--good, #7fc9a6) 40%, transparent); color: var(--text, #eceef1); }
.note--warn { border-color: color-mix(in srgb, var(--warn, #d9a76c) 40%, transparent); }
.note strong { color: var(--text, #eceef1); }

/* --- Form handoff panel ------------------------------------------------
   Shown when no form backend is configured: the request is composed and the
   visitor sends it from their own text or mail app. Two big targets, with a
   copy-it-yourself fallback folded away for anyone whose device does neither. */
.handoff__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
/* Full width on a phone: these are the two targets the whole form leads to, and
   buttons of different widths stacked on top of each other look accidental. */
@media (max-width: 520px) {
  .handoff__acts .btn { flex: 1 1 100%; }
}
.handoff__copy { margin-top: 16px; }
.handoff__copy summary {
  cursor: pointer; font-size: 0.84rem; color: var(--text-dim, #646c76);
  padding: 4px 0;
}
.handoff__copy summary:hover { color: var(--text-soft, #98a0aa); }
.handoff__copy textarea {
  width: 100%; margin-top: 12px; padding: 12px 14px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.78rem; line-height: 1.6; resize: vertical;
  color: var(--text, #eceef1); background: var(--bg-2, #0e1013);
  border: 1px solid var(--line, #23272d); border-radius: 2px;
}
.handoff__copy [data-handoff-copy] { margin-top: 10px; }
.handoff__to { margin-top: 12px; font-size: 0.82rem; color: var(--text-dim, #646c76); }

/* --- Split feature (image + copy) ------------------------------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media { position: relative; border-radius: 3px; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--flip .split__media { order: 2; }
@media (max-width: 700px) { .split--flip .split__media { order: 0; } }

/* --- Stat strip ------------------------------------------------------- */
.stats { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: var(--line, #23272d); border: 1px solid var(--line, #23272d); }
.stats div { padding: 28px 24px; background: var(--bg, #08090b); }
.stats dt {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stats dd { margin: 0; font-size: 0.86rem; color: var(--text-soft, #98a0aa); }

/* --- CTA band --------------------------------------------------------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 10vw, 116px) 0; text-align: center;
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,9,11,.9), rgba(8,9,11,.82));
}
.cta .h1 { margin: 16px auto 20px; max-width: 22ch; }
.cta p { max-width: 56ch; margin-inline: auto; }
.cta .hero__cta { justify-content: center; }

/* --- Footer ----------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line, #23272d); background: var(--bg-2, #0e1013); }
/* Explicit breakpoints rather than auto-fit: mixing repeat(auto-fit, …) with an
   `fr` track makes the auto-repeat degenerate to a single column, and the fixed
   minimums then overflow the viewport. */
.ftr__top {
  display: grid; gap: 36px 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(48px, 7vw, 80px) 0 48px;
}
.ftr__brand { grid-column: 1 / -1; }
@media (min-width: 720px) { .ftr__top { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .ftr__top { gap: 40px; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
  .ftr__brand { grid-column: auto; }
}
.ftr__brand p { margin-top: 16px; font-size: 0.92rem; color: var(--text-soft, #98a0aa); max-width: 40ch; }
.ftr h4 {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim, #646c76); margin-bottom: 18px;
}
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
/* The email address is one 25-character unbreakable token. In the two-column
   footer at 390px its column is 161px wide, so it ran 15px past the viewport
   and every page could be dragged sideways on a phone. `anywhere` rather than
   `break-word`: break-word will not split a token that has no break
   opportunity at all, which is exactly this case. */
.ftr li, .ftr a, .ftr dl { overflow-wrap: anywhere; }
.ftr a { font-size: 0.92rem; text-decoration: none; color: var(--text-soft, #98a0aa); transition: color .18s ease; }
.ftr a:hover { color: var(--text, #eceef1); }
.ftr dl { display: grid; gap: 7px; font-size: 0.88rem; color: var(--text-soft, #98a0aa); }
.ftr dl div { display: flex; justify-content: space-between; gap: 14px; }
.ftr__bot {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  padding: 22px 0 28px; border-top: 1px solid var(--line, #23272d);
  font-size: 0.8rem; color: var(--text-dim, #646c76);
}
.ftr__bot ul { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__bot a { font-size: 0.8rem; }

/* --- Reveal on scroll -------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].in { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .gal figure:hover img { transform: none; }
}
/* Nothing should stay invisible if the observer never runs. */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --- Utilities -------------------------------------------------------- */
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.stack > * + * { margin-top: 20px; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.prose h2 { font-family: 'Sora', 'Inter', system-ui, sans-serif; font-size: 1.4rem; font-weight: 600; margin: 40px 0 14px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.05rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-soft, #98a0aa); font-size: 0.95rem; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border: 1px solid var(--line, #23272d); }
.prose th { background: var(--bg-3, #15181c); font-weight: 500; }
.prose td { color: var(--text-soft, #98a0aa); }
.scroll-x { overflow-x: auto; }
