/*
  DeMarco Construction v2: the site's styles.
  Look: clear glass on cool icy whites (BUILD-BRIEF.md). The one scroll motion is the home scene
  (section 20 here, assets/js/scene.js): the Halo-style scroll the user chose on 2026-11-19.

  Contents
    1  Tokens            8  Promise, founder, facts  15 Lightbox
    2  Base              10 Quote section, form      17 Blank slots
    3  Layout, grounds   11 Footer                   18 Hover layer (fine pointers)
    4  Glass             12 Page heads               19 Reduced motion
    5  Pills and links   13 Services page            20 Home scene
    6  Nav and menu      14 Gallery, about, contact
    7  Hero (template)                               21 What makes us different
*/

/* ---------------------------------------------------------------- 1 Tokens */
:root {
  /* from the brief */
  --ice: #f3f6f9;
  --ice-2: #e6edf3;
  --ink: #0f1b26;
  --muted: #5a6977;
  --hair: rgba(90, 105, 119, .35);
  --glass: rgba(246, 249, 252, .58);
  --glass-strong: rgba(255, 255, 255, .72);
  --edge: rgba(255, 255, 255, .9);
  --blur: 26px;
  --shadow: 0 30px 80px rgba(15, 27, 38, .14);
  --gold: #a8873a;

  /* base build */
  --ink-2: #213447;                         /* pill hover: one step lighter than ink */
  --ink-text: #1c2b38;                      /* longer running text, 13:1 on ice */
  --hair-soft: rgba(90, 105, 119, .18);     /* row rules inside panels */
  --link-rest: rgba(15, 27, 38, .38);       /* the resting underline of a link */
  --error: #a3321f;
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .95);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* entrances, menu, lightbox (as Custom Spaces) */
  --ease-ui: cubic-bezier(.2, .8, .2, 1);    /* hover and press */
  --t-in: 150ms;
  --t-out: 120ms;
  --t-press: 90ms;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --nav: 68px;                              /* the fixed nav's height: 16 + 36 (logo) + 16 on phones */
  --gut: clamp(16px, 5vw, 80px);
  --wrap: 1280px;
  --r: 16px;                                /* photo frames */
  --r-lg: 22px;                             /* large frames, panels */
  --r-card: 28px;                           /* glass cards: 12px padding keeps the photo at 16px */
  --r-field: 12px;
  --pad-sec: clamp(72px, 9vw, 128px);
}
@media (min-width: 640px) {
  :root { --nav: 88px; }                    /* 20 + 48 (the logo) + 20 */
}
@media (min-width: 1024px) {
  :root { --nav: 96px; }                    /* 20 + 56 (the logo) + 20 */
}

/* ---------------------------------------------------------------- 2 Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--ice);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(15, 27, 38, .14); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--gut); top: 10px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.mono, .label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.h2 {
  font-size: clamp(30px, 2.2vw + 20px, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
}

/* ---------------------------------------------------------------- 3 Layout, grounds */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}
.sec { padding-block: var(--pad-sec); background: var(--ice); }
.sec--alt { background: var(--ice-2); }
[id] { scroll-margin-top: calc(var(--nav) + 16px); }

/* ---------------------------------------------------------------- 4 Glass */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.2);
  backdrop-filter: blur(var(--blur)) saturate(1.2);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), var(--highlight);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
}

/* ---------------------------------------------------------------- 5 Pills and links */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-out) var(--ease-ui), transform var(--t-out) var(--ease-ui);
}
.pill:active { transform: translateY(1px) scale(.985); transition-duration: var(--t-press); }

/* links are underlined ink: a resting line, and an ink line that draws left to right on hover */
.link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--link-rest), var(--link-rest));
  background-repeat: no-repeat;
  background-size: 0% 1px, 100% 1px;
  background-position: 100% 100%, 0 100%;
  transition: background-size var(--t-out) var(--ease-ui);
}
.link:focus-visible { background-size: 100% 1px, 100% 1px; background-position: 0 100%, 0 100%; }

/* ---------------------------------------------------------------- 6 Nav and menu
   The motionsites.ai "Custom Spaces" template, value for value (Tailwind steps: sm 640, md 768, lg 1024).
   Only the colours change: white -> --ice, neutral-900 -> --ink, neutral-800 -> --ink-2,
   neutral-500 -> --muted, neutral-100 -> --ice-2, black/50 -> ink at 50%. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;                                            /* px-4 py-4 */
}
@media (min-width: 640px) { .site-header { padding: 20px 24px; } }   /* sm:px-6 sm:py-5 */
@media (min-width: 768px) { .site-header { padding: 20px 40px; } }   /* md:px-10 */
/* transparent at the top; solid ice with a hairline once the page has scrolled 8px (site.js: .is-solid),
   or as the home scene lets go (scene.js scrubs --nav-solid). Without script it stays solid. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--ice);
  border-bottom: 1px solid var(--hair);
  opacity: var(--nav-solid, 0);
}
.site-header.is-solid::before, html:not(.js) .site-header::before { opacity: 1; }
html:not(.scene-nav) .site-header::before { transition: opacity 200ms var(--ease-out); }
.brand { display: inline-flex; align-items: center; border-radius: 4px; }
.brand img { height: 36px; width: auto; }                   /* the template's mark is 28px; his logo is larger (user, 2026-11-19) */
@media (max-width: 374px) { .brand img { height: 30px; } }    /* small phones: keeps the logo clear of the centred menu icon */
@media (max-width: 319px) { .brand img { height: 24px; } }    /* narrower than any phone (e.g. a side panel): same reason */
@media (min-width: 640px) { .brand img { height: 48px; } }
@media (min-width: 1024px) { .brand img { height: 56px; } }
/* the language switch (user, 2026-11-20): EN / ES at the right of the nav (where the template's w-7 spacer sat on
   phones), beside the pill from tablets up. site.js swaps in content.es.js and remembers the choice. */
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 9999px;
  background: var(--glass-strong);
  border: 1px solid var(--edge);
  box-shadow: var(--highlight), 0 1px 2px rgba(15, 27, 38, .06);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.lang__opt {
  position: relative;
  min-width: 34px; height: 28px; padding: 0 9px;              /* phones: 36px tall in all, the logo's height */
  border: 0; border-radius: 9999px; background: transparent;
  font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .06em;
  color: var(--muted);
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.lang__opt::before { content: ""; position: absolute; inset: -8px 0; }   /* 44px tall tap area */
.lang__opt:hover { color: var(--ink); }
.lang__opt[aria-pressed="true"] { background: var(--ink); color: #fff; cursor: default; }
@media (min-width: 640px) { .lang__opt { min-width: 38px; height: 32px; font-size: 13px; } }   /* 40px: the pill's height */
html:not(.js) .lang { display: none; }                      /* it needs script to switch */
/* a Spanish visit: the page stays hidden (2 s at most, the head script) until site.js has written the Spanish words */
html.lang-wait body { visibility: hidden; }

/* two lines, absolutely centred; each line shrinks to w-5 on hover */
.menu-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; gap: 5px;
  padding: 0; border: 0; background: none;
}
.menu-btn::before { content: ""; position: absolute; inset: -18px -10px; }   /* invisible 44px tap area */
.menu-btn span {
  display: block; width: 24px; height: 1.5px; border-radius: 9999px; background: var(--ink);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-btn:hover span { width: 20px; }

/* the pill: text-sm font-medium px-5 py-2.5 rounded-full; hidden on phones (the language switch holds the right side) */
.nav-pill, .drawer-pill {
  display: inline-block;
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: #fff; background: var(--ink);
  border-radius: 9999px;
  padding: 10px 20px;
  text-decoration: none; white-space: nowrap;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-pill:hover, .drawer-pill:hover { background: var(--ink-2); }
.site-header .nav-pill { display: none; }
@media (min-width: 640px) { .site-header .nav-pill { display: inline-block; } }
.drawer-pill { padding: 12px 24px; }                        /* px-6 py-3 */

.menu-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 27, 38, .5);                         /* bg-black/50, in ink */
  -webkit-backdrop-filter: blur(4px);                       /* backdrop-blur-sm */
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 500ms var(--ease-out);
}
html.menu-open .menu-overlay { opacity: 1; pointer-events: auto; }

/* phones: a full-screen panel from the bottom; sm+: max-w-sm from the right */
.drawer {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: 16px 16px calc(32px + env(safe-area-inset-bottom));
  background: var(--ice);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(100%); visibility: hidden;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s linear 500ms;
}
html.menu-open .drawer {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s;
}
@media (min-width: 640px) {
  .drawer {
    top: 0; right: 0; bottom: 0; left: auto; height: 100%; width: 100%; max-width: 384px;
    padding: 20px 24px 40px;
    transform: translateX(100%);
  }
}
.drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; }

/* relative w-10 h-10 rounded-full hover:bg-(ice-2); two w-5 lines that turn into an X */
.menu-close {
  position: relative; width: 40px; height: 40px; padding: 0; margin-right: -8px;
  background: transparent; border: 0; border-radius: 9999px;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-close:hover { background: var(--ice-2); }
.menu-close span {
  position: absolute; left: 10px; top: calc(50% - .75px); width: 20px; height: 1.5px; border-radius: 9999px; background: var(--ink);
  transition: all 500ms var(--ease-out);
}
.menu-close span:first-child { transform: translateY(-3px); }
.menu-close span:last-child { transform: translateY(3px); }
html.menu-open .menu-close span:first-child { transform: rotate(45deg); }
html.menu-open .menu-close span:last-child { transform: rotate(-45deg); }

/* links: text-3xl font-medium py-3, in from 32px to the right, 150 + i x 60 ms apart */
.drawer__nav { margin-top: 48px; }
.drawer__links a {
  --i: 0;
  display: block; padding: 12px 0;
  font-size: 30px; line-height: 36px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateX(32px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer__links a:hover { color: var(--muted); }
html.menu-open .drawer__links a {
  opacity: 1; transform: none;
  transition-delay: calc(150ms + var(--i) * 60ms), calc(150ms + var(--i) * 60ms), 0s;
}

/* the pill below the links (pt-12), in at 400 ms; the phone number under it */
.drawer__cta {
  padding-top: 48px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
html.menu-open .drawer__cta { opacity: 1; transform: none; transition-delay: 400ms; }

/* ---------------------------------------------------------------- 7 Hero (Custom Spaces, value for value) */
.hero { background: var(--ice); }

/* HeroContent: pt-24 sm:pt-28 pb-1 text-center px-4 sm:px-6 */
.hero__content { padding: 96px 16px 4px; text-align: center; }
@media (min-width: 640px) { .hero__content { padding: 112px 24px 4px; } }
/* H1: text-4xl sm:text-5xl md:text-7xl lg:text-[5.5rem] font-semibold tracking-tight leading-[1.05] max-w-3xl mx-auto */
.hero__title {
  max-width: 768px; margin: 0 auto;
  font-size: 36px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  color: var(--ink);
}
.hero__title .line { display: block; }                      /* the line break after "wall," */
/* Tailwind v3 order: sm:text-5xl and md:text-7xl carry line-height 1 and come after leading-[1.05], so from
   640px the line-height is 1 (the template's preview measures 88px a line at 88px) */
@media (min-width: 640px) { .hero__title { font-size: 48px; line-height: 1; } }
@media (min-width: 768px) { .hero__title { font-size: 72px; } }
@media (min-width: 1024px) { .hero__title { font-size: 88px; } }
/* subhead: mt-4 sm:mt-6 text-base sm:text-lg md:text-xl max-w-xl mx-auto leading-relaxed */
.hero__sub { max-width: 576px; margin: 16px auto 0; font-size: 16px; line-height: 1.625; color: var(--ink); }
/* the same order: sm:text-lg / md:text-xl carry line-height 1.75rem over leading-relaxed (preview: 28px) */
@media (min-width: 640px) { .hero__sub { margin-top: 24px; font-size: 18px; line-height: 28px; } }
@media (min-width: 768px) { .hero__sub { font-size: 20px; } }
html[lang="es"] .hero__sub { text-wrap: balance; }          /* the Spanish line runs longer: two even lines, no lone word */

/* ImageMarquee: relative py-4 overflow-hidden; curved masks h-[80px] sm:h-[100px] in the page colour */
.strip { position: relative; padding: 16px 0; overflow: hidden; }
.strip__mask { position: absolute; left: 0; right: 0; z-index: 10; height: 80px; pointer-events: none; }
.strip__mask--top { top: 0; }
.strip__mask--bottom { bottom: 0; }
.strip__mask svg { display: block; width: 100%; height: 100%; }
.strip__mask path { fill: var(--ice); }
@media (min-width: 640px) { .strip__mask { height: 100px; } }
/* track: flex w-max gap-3 sm:gap-4 py-4 select-none cursor-grab */
.strip__track {
  display: flex; width: max-content; gap: 12px; padding: 16px 0;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  cursor: grab; touch-action: pan-y; will-change: transform;
}
.strip.is-dragging .strip__track { cursor: grabbing; }
@media (min-width: 640px) { .strip__track { gap: 16px; } }
/* slides: w-60 h-80 sm:w-80 sm:h-[32rem] rounded-2xl overflow-hidden */
.strip__item { flex: none; width: 240px; height: 320px; border-radius: 16px; overflow: hidden; }
@media (min-width: 640px) { .strip__item { width: 320px; height: 512px; } }
.strip__item a { display: block; height: 100%; cursor: inherit; -webkit-user-drag: none; }
.strip__item .ph { height: 100%; border-radius: 16px; }
.strip__item img { -webkit-user-drag: none; pointer-events: none; }

/* BottomSection: text-center px-4 sm:px-6 pt-2 pb-12 sm:pb-16 max-w-2xl mx-auto */
.hero__bottom { max-width: 672px; margin: 0 auto; padding: 8px 16px 48px; text-align: center; }
@media (min-width: 640px) { .hero__bottom { padding: 8px 24px 64px; } }
/* body copy: text-base sm:text-lg md:text-xl leading-relaxed */
.hero__body { font-size: 16px; line-height: 1.625; color: var(--ink); }
@media (min-width: 640px) { .hero__body { font-size: 18px; line-height: 28px; } }
@media (min-width: 768px) { .hero__body { font-size: 20px; } }
/* CTA row: mt-6 sm:mt-8 flex flex-col sm:flex-row items-center justify-center gap-4 sm:gap-8 */
.hero__links { margin-top: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
@media (min-width: 640px) { .hero__links { margin-top: 32px; flex-direction: row; gap: 32px; } }

/* text links: font-semibold underline underline-offset-4 decoration-(hair) hover:decoration-(ink) */
.cs-link {
  font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink);
  text-decoration-line: underline; text-underline-offset: 4px; text-decoration-color: var(--hair);
  transition: text-decoration-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-link:hover { text-decoration-color: var(--ink); }

/* without script the strip stands still and the drawer cannot open: hide the menu icon (footer links remain) */
html:not(.js) .menu-btn { display: none; }

/* ---------------------------------------------------------------- photo frames (every page) */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ice-2);
  isolation: isolate;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-ui); }
.ph--lg { border-radius: var(--r-lg); }
.ph.is-empty { background: transparent; border: 1px dashed var(--hair); }
.ph.is-empty img { display: none; }
a.ph-open { display: block; text-decoration: none; border-radius: var(--r); }

/* ---------------------------------------------------------------- 8 Promise, founder and facts (About)
   The home page's trust and services sections were replaced by the home scene (section 20). */
.statement {
  margin-top: 20px;
  font-size: clamp(44px, 6.6vw + 8px, 112px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.0;
  color: var(--ink);
}
.statement .line { display: block; }
.statement .w { display: inline-block; }
.founder__name { margin-top: 20px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.founder__role { margin-top: 4px; font-size: 16px; color: var(--muted); }
.founder__lines { margin-top: 14px; font-size: 17px; color: var(--ink-text); }

.facts { padding: 8px 28px 28px; display: flex; flex-direction: column; }
.facts dl { margin: 0; }
.facts__row { padding: 18px 0; border-bottom: 1px solid var(--hair-soft); }
.facts dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.facts__check { align-self: flex-start; margin-top: 24px; font-size: 16px; }
@media (max-width: 639px) { .facts { padding: 4px 20px 22px; } }

/* ---------------------------------------------------------------- 10 Quote section and form */
.quote { position: relative; isolation: isolate; padding-block: clamp(72px, 10vw, 144px); background: var(--ice-2); }
.quote__bg { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.quote__bg img { object-position: 50% 35%; }
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}
.quote-form { padding: clamp(24px, 3.4vw, 44px); }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid rgba(90, 105, 119, .42); border-radius: var(--r-field);
  background: rgba(255, 255, 255, .8);
  font-size: 16px; line-height: 1.4;
  transition: border-color 140ms var(--ease-ui), box-shadow 140ms var(--ease-ui);
}
.field textarea { min-height: 132px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 27, 38, .08); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 14px; line-height: 1.4; color: var(--error); }
.field__error:empty { display: none; }
.form__actions { margin-top: 24px; }
.form__actions .pill { min-height: 48px; padding: 0 28px; font-size: 16px; }
.form__status { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form__status a { font-weight: 600; }

.call { padding: 8px 28px 24px; }
.call dl { margin: 0; }
.call__row { padding: 18px 0; border-bottom: 1px solid var(--hair-soft); }
.call__row:last-child { border-bottom: 0; }
.call dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.call dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; }
.call__phone {
  display: inline-block; margin-top: 2px;
  font-size: clamp(30px, 1.6vw + 18px, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15;
  text-decoration: none; white-space: nowrap;
}
.call__more { margin-top: 18px; }

@media (max-width: 1023px) { .quote__grid { grid-template-columns: 1fr; max-width: 720px; } }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } .call { padding: 4px 20px 18px; } }

/* ---------------------------------------------------------------- 11 Footer */
.site-footer { background: var(--ice-2); padding-block: 64px 96px; font-size: 16px; }
.site-footer.on-ice { background: var(--ice); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px 32px; align-items: start; }
.footer__brand img { height: 56px; width: auto; }
.footer__license { margin-top: 18px; font-size: 15px; color: var(--muted); }
.footer__links { display: grid; gap: 8px; }
.footer__links a, .footer__phone {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-size: 0% 1px; background-position: 100% 100%;
  padding-bottom: 2px;
  transition: background-size var(--t-out) var(--ease-ui);
}
.footer__links a:focus-visible, .footer__phone:focus-visible { background-size: 100% 1px; background-position: 0 100%; }
.footer__contact { display: grid; gap: 10px; justify-items: start; }
.footer__phone { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.footer__note { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair-soft); font-size: 14px; color: var(--muted); }
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- 12 Page heads (inner pages) */
.page-head { padding-top: calc(var(--nav) + clamp(48px, 7vw, 104px)); padding-bottom: clamp(36px, 5vw, 72px); background: var(--ice); }
.page-title {
  font-size: clamp(42px, 5vw + 18px, 92px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------------------------------------------------------------- 13 Services page */
.svc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.svc__text { grid-column: 1 / span 5; }
.svc__photos { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc__photos .ph { aspect-ratio: 2 / 3; }
.svc__desc { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink-text); max-width: 34em; }
.svc__covers { margin-top: 36px; }
.svc__covers h3 { font-size: 16px; font-weight: 600; letter-spacing: -.005em; }
.svc__covers p { margin-top: 8px; font-size: 17px; color: var(--ink-text); }
.svc__action { margin-top: 36px; }
@media (max-width: 1023px) {
  .svc__text { grid-column: 1 / -1; }
  .svc__photos { grid-column: 1 / -1; margin-top: 16px; }
}
@media (max-width: 639px) { .svc__photos { gap: 12px; } }

/* ---------------------------------------------------------------- 14 Gallery, about, contact */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; grid-auto-flow: row dense; }
.gallery__item .ph { aspect-ratio: 2 / 3; }
.gallery__item.is-wide { grid-column: span 2; }
.gallery__item.is-wide a, .gallery__item.is-wide .ph { height: 100%; }
.gallery__item.is-wide .ph { aspect-ratio: auto; min-height: 100%; }
.gallery__item.is-wide img { position: absolute; inset: 0; }
@media (max-width: 1023px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item.is-wide { grid-column: auto; }
  .gallery__item.is-wide .ph { aspect-ratio: 2 / 3; height: auto; }
  .gallery__item.is-wide img { position: static; }
}
@media (max-width: 639px) { .gallery { gap: 10px; } }

.about-founder__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.about-founder__frame { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.about-founder__text { grid-column: 6 / span 7; }
.about-founder__text .founder__name { margin-top: 0; font-size: 28px; }
.story { margin-top: 56px; }
.story__text { margin-top: 16px; font-size: 18px; color: var(--ink-text); }
.about-license__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.about-license__grid .statement { grid-column: 1 / span 7; margin-top: 0; text-align: left; font-size: clamp(44px, 5vw + 8px, 96px); }
.about-license__grid .facts { grid-column: 8 / span 5; }
.about-license .label { margin-bottom: 32px; }
@media (max-width: 1023px) {
  .about-founder__frame { grid-column: 1 / span 5; }
  .about-founder__text { grid-column: 7 / span 6; }
  .about-license__grid .statement, .about-license__grid .facts { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .about-founder__frame, .about-founder__text { grid-column: 1 / -1; }
  .about-founder__frame { max-width: 260px; }
  .about-founder__text { margin-top: 8px; }
}

.contact-quote { padding-block: clamp(56px, 8vw, 120px); }

/* ---------------------------------------------------------------- 15 Lightbox */
.lb {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  overflow: hidden;
}
.lb:not([open]) { display: none; }
.lb::backdrop {
  background: rgba(230, 237, 243, .55);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.2);
  backdrop-filter: blur(var(--blur)) saturate(1.2);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.lb.is-open::backdrop { opacity: 1; }
.lb__stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 72px var(--gut) 40px;
}
.lb__figure {
  position: relative; max-width: 100%; max-height: 100%;
  opacity: 0; transform: scale(.98);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.lb.is-open .lb__figure { opacity: 1; transform: none; }
.lb__img {
  display: block; width: auto; height: auto;
  max-width: min(100%, 1400px); max-height: calc(100dvh - 112px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.lb__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--edge); border-radius: 50%;
  background: var(--glass-strong);
  box-shadow: 0 10px 30px rgba(15, 27, 38, .12), var(--highlight);
  transition: background-color var(--t-out) var(--ease-ui);
}
.lb__close span { position: absolute; left: 14px; top: 23px; width: 19px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.lb__close span:first-child { transform: rotate(45deg); }
.lb__close span:last-child { transform: rotate(-45deg); }

/* before/after slider (built, used once a slot has a `before` photo) */
.ba { --pos: 50%; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); touch-action: pan-y; }
.ba .lb__img { box-shadow: none; border-radius: 0; }
.ba__before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(15, 27, 38, .12); pointer-events: none;
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 27, 38, .18);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__handle::after { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- 17 Blank slots
   A field we do not have yet stays empty in content.js. It keeps its space as a faint dashed line
   (or a few lines for text), with no words in it, so the gap is visible during review. */
:is([data-c], [data-c-link]):empty {
  display: block;
  min-height: 1.6em;
  width: min(100%, 12em);
  border-bottom: 1px dashed var(--hair);
}
:is([data-c], [data-c-link])[data-blank="lines"]:empty {
  width: 100%;
  min-height: calc(3 * 1.6em);
  border-bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='32' preserveAspectRatio='none'%3E%3Crect y='31' width='3' height='1' fill='%23a1abb5'/%3E%3C/svg%3E") 0 0 / 6px 1.6em repeat;
}

/* ---------------------------------------------------------------- 18 Hover layer (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--ink-2); transform: translateY(-1px); transition-duration: var(--t-in); }
  .pill:active { transform: translateY(1px) scale(.985); transition-duration: var(--t-press); }
  .link:hover { background-size: 100% 1px, 100% 1px; background-position: 0 100%, 0 100%; transition-duration: var(--t-in); }
  .footer__links a:hover, .footer__phone:hover { background-size: 100% 1px; background-position: 0 100%; transition-duration: var(--t-in); }
  .lb__close:hover { background-color: #fff; }

  /* a photo in a linked frame zooms 1.03 inside its frame */
  a:hover .ph img { transform: scale(1.03); transition-duration: 600ms; }
  .film__svc-link:hover { color: var(--ink); }
}
a:focus-visible .ph img { transform: scale(1.03); }
/* the template's strip has no hover zoom */
.strip a:hover .ph img, .strip a:focus-visible .ph img { transform: none; }

/* ---------------------------------------------------------------- 19 Reduced motion: everything rests, nothing stays hidden */
@media (prefers-reduced-motion: reduce) {
  .ph img, a:focus-visible .ph img { transition: none; transform: none !important; }
  .pill, .pill:hover, .pill:active { transform: none !important; }
  .pill:active { background: #000; }
  .menu-btn span, .menu-close span { transition: none; }
  .drawer, html.menu-open .drawer { transform: none; }
  .drawer { transition: opacity 200ms linear, visibility 0s linear 200ms; }
  html.menu-open .drawer { transition: opacity 200ms linear, visibility 0s; }
  .drawer__links a, .drawer__cta, html.menu-open .drawer__links a, html.menu-open .drawer__cta { transform: none; opacity: 1; transition: color var(--t-out) linear; transition-delay: 0s; }
  .menu-overlay { transition: opacity 200ms linear; }
  .lb__figure { transform: none; transition: opacity 200ms linear; }
  .lb::backdrop { transition: opacity 200ms linear; }
  .link, .footer__links a, .footer__phone, .cs-link, .menu-btn span, .film__svc-link { transition: none; }
}

/* ---------------------------------------------------------------- 20 Home scene (index.html, assets/js/scene.js)
   One block structure, two layouts.
   Flow (phones, screens under 1024 x 640, reduced motion, no script): the hero, then "Why trust us", then the
   services filmstrip as a row that scrolls sideways (snap), or a calm grid under reduced motion.
   Live (.scene.is-live, set by scene.js on a desktop screen with motion): one pinned stage. The hero's own 12
   strip cards rise into an arch around the promise, flatten into a filmstrip and slide sideways, then the stage
   lets go. Positions follow the approved sketch (demarco-review/halo-concept/motion-halo.html, 1440 x 900),
   scaled by --s about the middle of the stage (--oy = the top of the sketch's frame on this screen). */

/* flow: the promise */
.scene__tone { display: none; }
.promise { background: var(--ice-2); padding-block: var(--pad-sec); text-align: center; }
.promise__label {
  font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; line-height: normal;
  text-transform: uppercase; color: var(--muted);
}
.promise__words {
  margin-top: 14px;
  font-size: clamp(36px, 2.6vw + 26px, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.06;
  color: var(--ink);
}
.promise__words .line { display: block; }
.promise__words .w { display: inline-block; margin: 0 .0308em; }   /* a space plus this = the sketch's 14px gap at 52px */
@media (min-width: 768px) {
  .promise__words .line { display: inline; }                          /* "Quality work. On time." / "Within budget." */
  .promise__words .line:last-child { display: block; }
}
.promise__license { margin-top: 25px; font-size: 16px; line-height: normal; }
.promise__check {
  margin-top: 10px; font-size: 16px; line-height: normal;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
@media (min-width: 640px) { .promise__check { flex-direction: row; justify-content: center; gap: 32px; } }   /* as the hero's two links */
.promise__check .cs-link { line-height: inherit; }

/* flow: the services filmstrip */
.film { background: var(--ice); padding-block: var(--pad-sec); }
.film__head { text-align: center; }
.film__title { font-size: clamp(30px, 2.2vw + 20px, 50px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.film__title .line { display: block; }
@media (min-width: 1024px) { .film__title .line { display: inline; } }
.film__hint { margin-top: 12px; font-size: 18px; line-height: normal; color: #24323f; }
.film__services { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.film__services > li { display: flex; }                              /* no line box of its own: the row is as tall as its links */
.film__svc-link {
  display: inline-block; padding-bottom: 3px;
  font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -.005em;
  color: var(--muted); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0% 1px;
  transition: color 200ms var(--ease-ui), background-size 360ms var(--ease-out);
}
.film__svc-link[aria-current] { color: var(--ink); background-size: 100% 1px; background-position: 0 100%; }
.film__svc-link:focus-visible { color: var(--ink); }
.film__list {
  margin-top: 40px; padding: 4px var(--gut) 20px;
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  scrollbar-width: thin;
}
.film__item { flex: none; width: clamp(180px, 56vw, 240px); scroll-snap-align: start; }
.film__link { display: block; color: var(--ink); text-decoration: none; border-radius: var(--r); }
.film__ph { aspect-ratio: 5 / 8; }                                    /* the strip cards' 320 x 512 */
.film__label { display: block; margin-top: 14px; }
.film__svc { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: normal; }
.film__what {
  display: block; margin-top: 5px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; line-height: normal;
  text-transform: uppercase; color: var(--muted);
}
/* a calm grid under reduced motion, and on a desktop screen without script */
@media (prefers-reduced-motion: reduce) {
  .film__list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px;
    max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding: 0 var(--gut); overflow: visible;
  }
  .film__item { width: auto; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 640px) { .film__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) { .film__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1024px) {
  html:not(.js) .film__list {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px;
    max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding: 0 var(--gut); overflow: visible;
  }
  html:not(.js) .film__item { width: auto; }
}

/* live: the pinned stage */
.scene.is-live { height: calc(100vh * 6); }                          /* 5 screens pinned + 1 screen of hand-off */
.scene.is-live .scene__stage {
  --s: 1; --oy: 0px;
  position: sticky; top: 0; height: 100vh; overflow: clip;
  background: var(--ice); isolation: isolate;
}
.scene.is-live .scene__tone {
  display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #d6e3ee; opacity: 0;                                    /* ice -> crystal blue as the arch forms */
}
.scene.is-live .hero { background: transparent; }                    /* the tone shows through; at rest it is the same ice */
.scene.is-hero-gone .hero__content, .scene.is-hero-gone .hero__bottom { pointer-events: none; }

/* live: the hero's cards in flight (only the 12 originals travel; the loop copies hide) */
.scene.is-flying .strip { overflow: visible; }
.scene.is-flying .strip__mask { opacity: 0; }
.scene.is-flying .strip__track { transform: none !important; will-change: auto; cursor: default; }
.scene.is-flying .strip__item.is-clone { visibility: hidden; }
.scene.is-flying .strip__item:not(.is-clone) { position: relative; overflow: visible; will-change: transform; }
/* the sketch's lift shadow (0 18px 44px at 14%, in screen px) on cards that scale: one copy sized for the arch,
   one for the filmstrip, crossfaded by scene.js (--sh-a, --sh-f) */
.scene.is-flying .strip__item:not(.is-clone)::before,
.scene.is-flying .strip__item:not(.is-clone)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; pointer-events: none;
}
.scene.is-flying .strip__item:not(.is-clone)::before { box-shadow: 0 42.35px 103.5px rgba(15, 27, 38, .14); opacity: var(--sh-a, 0); }
.scene.is-flying .strip__item:not(.is-clone)::after { box-shadow: 0 27.17px 66.4px rgba(15, 27, 38, .14); opacity: var(--sh-f, 0); }

/* live: the promise inside the arch */
.scene.is-live .promise { position: absolute; inset: 0; z-index: 6; padding: 0; background: none; opacity: 0; pointer-events: none; }
.scene.is-live .promise__wrap { max-width: none; height: 100%; padding: 0; }
.scene.is-live .promise__label,
.scene.is-live .promise__words,
.scene.is-live .promise__license,
.scene.is-live .promise__check { position: absolute; left: 0; right: 0; margin: 0; }
.scene.is-live .promise__label { top: calc(var(--oy) + 472px * var(--s)); font-size: calc(12px * var(--s)); }
.scene.is-live .promise__words { top: calc(var(--oy) + 502px * var(--s)); font-size: calc(52px * var(--s)); }
.scene.is-live .promise__words .line { display: inline; }
.scene.is-live .promise__words .line:last-child { display: block; }
.scene.is-live .promise__words .w { opacity: .48; }
.scene.is-live .promise__license { top: calc(var(--oy) + 637px * var(--s)); font-size: calc(16px * var(--s)); }
.scene.is-live .promise__check { top: calc(var(--oy) + 668px * var(--s)); font-size: calc(16px * var(--s)); flex-direction: row; gap: calc(32px * var(--s)); }
.scene.is-live .promise__check .cs-link { font-size: inherit; text-underline-offset: calc(4px * var(--s)); pointer-events: none; }
.scene.is-promise .promise__check .cs-link { pointer-events: auto; }

/* live: the filmstrip. .film makes no stacking context, so its links sit over the cards they label */
.scene.is-live .film { position: absolute; inset: 0; padding: 0; background: none; pointer-events: none; }
.scene.is-live .film__head { position: absolute; left: 0; right: 0; top: calc(var(--oy) + 133px * var(--s)); z-index: 6; max-width: none; padding: 0; opacity: 0; }
.scene.is-live .film__title { font-size: calc(50px * var(--s)); line-height: normal; text-wrap: nowrap; }
.scene.is-live .film__title .line { display: inline; }
.scene.is-live .film__hint { margin-top: calc(12px * var(--s)); font-size: calc(18px * var(--s)); }
.scene.is-live .film__services { margin-top: calc(12px * var(--s)); flex-wrap: nowrap; gap: calc(28px * var(--s)); }
.scene.is-live .film__svc-link { font-size: calc(15px * var(--s)); line-height: calc(20px * var(--s)); padding-bottom: calc(3px * var(--s)); pointer-events: none; }
.scene.is-film-head .film__svc-link { pointer-events: auto; }
.scene.is-live .film__list { display: block; margin: 0; padding: 0; overflow: visible; }
.scene.is-live .film__item { position: absolute; left: 0; top: 0; width: auto; }
.scene.is-live .film__link {
  position: absolute; left: 0; top: 0; z-index: 20;
  width: calc(212px * var(--s)); height: calc(401px * var(--s));     /* the card (212 x 339), 18 of air, the label */
  border-radius: calc(10.6px * var(--s));
  pointer-events: none;
}
.scene.is-film .film__link { pointer-events: auto; }
.scene.is-live .film__ph { display: none; }                           /* the hero's own cards are the photos here */
.scene.is-live .film__label { position: absolute; left: 0; top: calc(357px * var(--s)); width: calc(225px * var(--s)); margin: 0; opacity: 0; }
.scene.is-live .film__svc { font-size: calc(18px * var(--s)); }
.scene.is-live .film__what { margin-top: calc(5px * var(--s)); font-size: calc(12px * var(--s)); }

/* ---------------------------------------------------------------- 21 What makes us different (home, after the scene)
   His four points (2 x 2, about 60%) beside the review card (about 40%), equal heights; stacked on phones.
   The card holds several reviews, one at a time (site.js: reviews).
   Descriptions and the review are blanks until he sends them (FILL-IN.md). Ice after the scene's blue hand-off,
   ice-2 in the plain column (after the ice filmstrip), so the grounds alternate either way. */
.diff { background: var(--ice-2); padding-block: var(--pad-sec); }
.scene.is-live + .diff { background: var(--ice); }
.diff__grid {
  margin-top: 48px;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px;
  align-items: stretch;
}
.diff__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; align-content: start; padding-block: 8px; }
.diff__icon {
  display: block; width: 32px; height: 32px;
  fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.diff__name { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.diff__text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-text); }

/* the reviews: one glass card; each review fades in place (the old one out, then the new one in), so the card
   never moves. The slides share one grid cell, so the card is as tall as the longest review. */
.reviews { position: relative; display: flex; min-width: 0; }
.reviews > .review { flex: 1 1 auto; min-width: 0; }
.review { position: relative; display: flex; flex-direction: column; padding: 32px 36px 32px; overflow: hidden; }
.review__slides { flex: 1 1 auto; display: grid; }
.review__slide {
  grid-area: 1 / 1; margin: 0; min-width: 0;
  display: flex; flex-direction: column;
  opacity: 0; filter: blur(6px); visibility: hidden;
  transition: opacity 350ms ease, filter 350ms ease, visibility 0s linear 350ms;
}
.review__slide.is-on {
  opacity: 1; filter: none; visibility: visible;
  transition: opacity 650ms var(--ease-out) 250ms, filter 650ms var(--ease-out) 250ms, visibility 0s;
}
.review__dots { position: absolute; right: 26px; bottom: 25px; display: flex; }
.review__dot {
  position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.review__dot::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 999px; background: var(--hair);
  transition: width 400ms var(--ease-out), margin 400ms var(--ease-out), background-color 400ms var(--ease-out);
}
.review__dot[aria-current="true"]::before { width: 16px; margin-left: -8px; background: var(--ink); }
.review__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 6px; }

/* the arrows: small glass discs on the card's two side edges, half on the card, half off */
.reviews__arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 44px; height: 44px; margin-top: -22px; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%; color: var(--ink); cursor: pointer;
  background: var(--glass-strong); border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 27, 38, .14);
  transition: background-color var(--t-out) var(--ease-ui), transform var(--t-out) var(--ease-ui);
}
.reviews__arrow[hidden] { display: none; }
.reviews__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reviews__arrow--prev { left: -22px; }
.reviews__arrow--next { right: -22px; }
.reviews__arrow:active { transform: scale(.94); transition-duration: var(--t-press); }
.reviews__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .reviews__arrow:hover { background-color: #fff; transition-duration: var(--t-in); }
}
@media (prefers-reduced-motion: reduce) {
  .review__slide, .review__slide.is-on, .review__dot::before { transition: none; }
  .review__slide { filter: none; }
  .reviews__arrow:active { transform: none; }
}
.review__mark {
  display: block; height: 64px;
  font-size: 120px; line-height: 1; font-weight: 600; letter-spacing: -.04em;
  color: var(--ink); opacity: .16;
}
.review__quote { margin: 8px 0 0; font-size: 20px; line-height: 1.6; letter-spacing: -.01em; }
.review__by { margin-top: auto; padding-top: 28px; display: grid; gap: 6px; justify-items: start; }
.review__name { font-size: 17px; font-weight: 600; }
.review__city { font-size: 15px; color: var(--muted); }
.review__source {
  margin-top: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 1023px) {
  .diff__grid { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .diff__grid { margin-top: 32px; gap: 40px; }
  .diff__points { grid-template-columns: 1fr; gap: 36px; }
  .review { padding: 24px 22px; }
  /* phones: the gutter is narrow, so the arrows sit closer in and the card's side padding makes room for them */
  .reviews.is-carousel .review { padding-inline: 32px; }
  .reviews__arrow { width: 40px; height: 40px; margin-top: -20px; }
  .reviews__arrow--prev { left: -12px; }
  .reviews__arrow--next { right: -12px; }
  .review__dots { right: 18px; bottom: 17px; }
}
