/* ==========================================================================
   CONTRACTOR TEMPLATE: styles
   1. Tokens + themes   2. Base   3. Utilities   4. Header + logo   5. Hero + quote
   6. Proof   7. Sections   8. Services   9. Recent work   10. Promise   11. About
   12. Reviews   13. Contact   14. Footer   15. Mobile bar   16. Motion
   17. Scroll-driven animations (run on the GPU, in sync with scrolling)
   ========================================================================== */

/* 1. TOKENS + THEMES -----------------------------------------------------------
   Pick the theme in config.js → theme. Each theme only sets colors.
   Add your own: copy a block, rename it, change the values, use the name in config.js.
     --accent              brand color (buttons, highlights)
     --accent-deep         hover state of accent buttons
     --accent-text         accent as text/icons on LIGHT backgrounds (must be readable)
     --on-accent           text on accent buttons and badges
     --on-accent-surface   text on big accent areas (contact section, "Your home" card)
     --ink*                dark sections and text      --paper*  light backgrounds
     --shade-rgb           dark photo overlays          --deep    footer             */
:root, [data-theme="orange"] {          /* Safety Orange: remodeling, kitchens & baths */
  --accent: #f26a21; --accent-rgb: 242, 106, 33; --accent-deep: #d4560f; --accent-text: #c2500c;
  --on-accent: #fff; --on-accent-surface: #15171b;
  --ink: #15171b; --ink-2: #1e2126; --ink-3: #2a2e35; --ink-rgb: 21, 23, 27;
  --shade-rgb: 13, 15, 18; --deep: #0d0f12;
  --paper: #f3efe7; --paper-2: #ebe5d9; --paper-rgb: 243, 239, 231; --white: #fffdf9;
  --muted: #5f6168;
}
[data-theme="yellow"] {                 /* Hi-Vis Yellow: general contractors, concrete, commercial */
  --accent: #f5b301; --accent-rgb: 245, 179, 1; --accent-deep: #e2a300; --accent-text: #8a6000;
  --on-accent: #16150f; --on-accent-surface: #16150f;
  --ink: #161614; --ink-2: #201f1c; --ink-3: #2d2c28; --ink-rgb: 22, 22, 20;
  --shade-rgb: 12, 12, 10; --deep: #0c0c0b;
  --paper: #f2f0ea; --paper-2: #e7e4db; --paper-rgb: 242, 240, 234; --white: #fdfcf8;
  --muted: #5f5e57;
}
[data-theme="blue"] {                   /* Blueprint Blue: roofing, plumbing, HVAC, windows */
  --accent: #3175f5; --accent-rgb: 49, 117, 245; --accent-deep: #1f5fd8; --accent-text: #1f5bd2;
  --on-accent: #fff; --on-accent-surface: #fff;
  --ink: #0e1726; --ink-2: #152036; --ink-3: #213049; --ink-rgb: 14, 23, 38;
  --shade-rgb: 8, 14, 26; --deep: #08101d;
  --paper: #eef1f6; --paper-2: #e1e6ee; --paper-rgb: 238, 241, 246; --white: #fbfcff;
  --muted: #586274;
}
[data-theme="green"] {                  /* Timber Green: decks, fencing, landscaping, custom homes */
  --accent: #2f9e5c; --accent-rgb: 47, 158, 92; --accent-deep: #258450; --accent-text: #22753f;
  --on-accent: #fff; --on-accent-surface: #fff;
  --ink: #111a14; --ink-2: #18241c; --ink-3: #243328; --ink-rgb: 17, 26, 20;
  --shade-rgb: 9, 15, 11; --deep: #0a110c;
  --paper: #f1efe5; --paper-2: #e6e2d4; --paper-rgb: 241, 239, 229; --white: #fcfbf5;
  --muted: #5b6158;
}
[data-theme="mtz"] {                    /* MTZ Solutions: black & brushed gold, matched to the client's logo */
  --accent: #c39d63; --accent-rgb: 195, 157, 99; --accent-deep: #ae8750; --accent-text: #85653a;
  --on-accent: #121110; --on-accent-surface: #121110;
  --ink: #131211; --ink-2: #1c1a18; --ink-3: #2a2723; --ink-rgb: 19, 18, 17;
  --shade-rgb: 12, 11, 10; --deep: #0b0a09;
  --paper: #f5f1e7; --paper-2: #ebe4d4; --paper-rgb: 245, 241, 231; --white: #fffdf8;
  --muted: #625d55;
}
:root {
  --text: var(--ink);
  --line: rgba(var(--ink-rgb), .12);
  --line-light: rgba(255, 255, 255, .12);
  --ok: #2f9e5b;
  --star: #fbbc04;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 78px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 3. UTILITIES ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 9px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 6px) left bottom / 100% 5px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 1px 9px no-repeat;
  color: var(--accent-text);
}
.eyebrow--light { color: rgba(255,255,255,.6); }
.eyebrow--light::before { color: var(--accent); }
.eyebrow--ink { color: inherit; opacity: .78; }
.eyebrow--ink::before { color: currentColor; }

.h2 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 76;
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  line-height: .92;
  letter-spacing: -.012em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
}
.btn::after { /* sweep shine */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn .ic { transition: transform .35s var(--ease-out); }
.btn:hover .ic { transform: translateX(4px); }
.btn--accent { --bg: var(--accent); --fg: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb),.7); }
.btn--accent:hover { --bg: var(--accent-deep); box-shadow: 0 16px 40px -12px rgba(var(--accent-rgb),.85); }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* Stars (fill via --r rating, 0–5) */
.stars { --r: 5; --s: 18px; display: inline-flex; gap: 2px; position: relative; }
.stars i {
  width: var(--s); height: var(--s); display: block;
  background: var(--star);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.53L12 17.5l-5.87 3.07 1.12-6.53L2.5 9.41l6.56-.95z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.56.95-4.75 4.63 1.12 6.53L12 17.5l-5.87 3.07 1.12-6.53L2.5 9.41l6.56-.95z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.stars i.off { background: #d6d0c4; }
.stars--sm { --s: 13px; }

/* 4. TAPE MEASURE PROGRESS + HEADER --------------------------------------- */
.tape {
  position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 60; pointer-events: none;
}
.tape__fill {
  height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); will-change: transform;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.55) 0 1px, transparent 1px 8px) bottom / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, rgba(0,0,0,.7) 0 1px, transparent 1px 40px) bottom / 100% 5px no-repeat,
    #f7c21a;
}
.tape__pos { position: absolute; left: 0; top: 0; width: 100%; height: 0; transform: translateX(calc(var(--p, 0) * 100%)); will-change: transform; }
.tape__read {
  position: absolute; top: 7px; left: 0;
  transform: translateX(-50%);
  font: 600 10px/1 var(--f-mono); color: var(--ink);
  background: #f7c21a; padding: 3px 5px; border-radius: 3px;
  opacity: 0; transition: opacity .3s;
}
.tape.is-moving .tape__read { opacity: 1; }

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h);
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.hdr.is-solid {
  background: rgba(var(--paper-rgb), .97); color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }

/* Logo: 5 layouts, chosen in config.js → logo
   .logo--icon  built-in icon + name     .logo--image  logo image + name     .logo--full  one wide image
   .logo__word--2 = name on two lines.   Dark backgrounds: header over the hero, open menu, footer. */
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.logo__mark { width: 38px; height: 38px; flex: none; fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.hdr.is-solid .logo__mark { stroke: var(--accent-text); }
body.menu-open .hdr .logo__mark { stroke: var(--accent); }
.logo__word { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.logo__word b { display: flex; flex-direction: column; font-family: var(--f-display); font-variation-settings: "wdth" 82; font-weight: 800; font-size: 21px; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.logo__word small { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 5px; white-space: nowrap; }
.logo__word--2 b { font-size: 19px; line-height: .96; }
.logo__word--2 b span + span { font-size: .66em; letter-spacing: .1em; font-variation-settings: "wdth" 100; font-weight: 700; opacity: .85; margin-top: 3px; }
.logo__word--2 small { margin-top: 4px; }
.logo__img { width: 46px; height: 46px; flex: none; object-fit: cover; background: #fff; }
.logo__img--round { border-radius: 50%; }
.logo__img--square { border-radius: 11px; }
.logo__full { display: block; height: var(--logo-h, 44px); width: auto; max-width: min(260px, 52vw); object-fit: contain; object-position: left center; }
.logo__full--dark { display: none; }
/* on dark backgrounds: swap to the light logo, or put the normal logo on a white plate */
.hdr:not(.is-solid) .logo--has-dark .logo__full--light, body.menu-open .hdr .logo--has-dark .logo__full--light, .ftr .logo--has-dark .logo__full--light { display: none; }
.hdr:not(.is-solid) .logo--has-dark .logo__full--dark, body.menu-open .hdr .logo--has-dark .logo__full--dark, .ftr .logo--has-dark .logo__full--dark { display: block; }
.logo--plate .logo__full { box-sizing: content-box; border-radius: 10px; transition: padding .3s, background .3s; }
.hdr:not(.is-solid) .logo--plate .logo__full, body.menu-open .hdr .logo--plate .logo__full, .ftr .logo--plate .logo__full { background: #fff; padding: 6px 12px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; font-weight: 500; font-size: 15px; opacity: .85;
  transition: opacity .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover, .nav a.is-current { opacity: 1; }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.hdr__cta { display: flex; align-items: center; gap: 18px; }
.hdr__phone { display: flex; align-items: center; gap: 10px; }
.hdr__phone small { display: block; font: 500 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.hdr__phone b { font-family: var(--f-display); font-variation-settings: "wdth" 90; font-size: 18px; font-weight: 700; letter-spacing: .01em; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff;
  padding: calc(var(--hdr-h) + 30px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease-out);
}
.mnav[hidden] { display: flex; visibility: hidden; }
.mnav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a {
  font-family: var(--f-display); font-variation-settings: "wdth" 76; font-weight: 800;
  font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.12; text-transform: uppercase;
  border-bottom: 1px solid var(--line-light); padding: 6px 0;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out);
}
.mnav.is-open nav a { opacity: 1; transform: none; }
.mnav.is-open nav a:nth-child(2) { transition-delay: .05s; }
.mnav.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mnav.is-open nav a:nth-child(4) { transition-delay: .15s; }
.mnav.is-open nav a:nth-child(5) { transition-delay: .2s; }
.mnav.is-open nav a:nth-child(6) { transition-delay: .25s; }
body.menu-open .hdr { color: #fff; background: transparent; box-shadow: none; }

/* 5. HERO + QUOTE CARD ---------------------------------------------------- */
.hero {
  position: relative; color: #fff; background: var(--ink);
  min-height: 100svh; display: flex; flex-direction: column;
  isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; animation: heroIn 2.4s var(--ease-out) both; }
@keyframes heroIn { from { transform: scale(1.14); } to { transform: none; } }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  transform: scale(1.02); will-change: transform;
}
.hero__bg::before { /* intro: photo fades up from dark */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgb(var(--shade-rgb)); animation: heroDim 2s var(--ease) both;
}
@keyframes heroDim { from { opacity: .55; } to { opacity: 0; } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--shade-rgb),.92) 0%, rgba(var(--shade-rgb),.72) 38%, rgba(var(--shade-rgb),.25) 70%, rgba(var(--shade-rgb),.45) 100%),
    linear-gradient(180deg, rgba(var(--shade-rgb),.55) 0%, transparent 22%, transparent 70%, rgba(var(--shade-rgb),.9) 100%);
}
.hero__grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-top: calc(var(--hdr-h) + clamp(30px, 6vh, 70px));
  padding-bottom: clamp(40px, 6vh, 70px);
}
.rating-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  background-color: rgba(var(--shade-rgb),.35);
  font-size: 14px; margin-bottom: 28px; transition: background .3s;
}
.rating-pill:hover { background: rgba(255,255,255,.16); }
.rating-pill__ic { width: 20px; height: 20px; flex: none; background: #fff; border-radius: 50%; padding: 3px; }
[data-rv="facebook"] .rating-pill__ic { padding: 0; background: none; }
[data-rating="off"] .rating-pill { display: none; }
.rating-pill b { font-weight: 700; }
.rating-pill__sep { width: 1px; height: 14px; background: rgba(255,255,255,.3); }

.hero__title {
  font-family: var(--f-display); font-variation-settings: "wdth" 74; font-weight: 850;
  font-size: clamp(3.1rem, min(6.1vw, 10.5vh), 6.6rem); line-height: .88; letter-spacing: -.015em;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: .15s; }
.hero__title .line:nth-child(2) > span { animation-delay: .25s; }
.hero__title .line:nth-child(3) > span { animation-delay: .35s; }
.hero__title .line:nth-child(4) > span { animation-delay: .45s; }
@keyframes lineUp { to { transform: none; } }

.hero__sub { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }

.callcard {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 26px 10px 10px; border-radius: 999px;
  background: #fff; color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.callcard:hover { box-shadow: 0 26px 60px -18px rgba(0,0,0,.7); }
.callcard__ic {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-size: 22px; position: relative;
}
.callcard__ic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.callcard__ic .ic { animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
.callcard__txt small { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 500; }
.callcard__txt b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 88; font-size: 26px; font-weight: 800; letter-spacing: .005em; line-height: 1.15; }

.hero__ticks { display: grid; gap: 8px; font-size: 15px; color: rgba(255,255,255,.85); }
.hero__ticks li { display: flex; align-items: center; gap: 10px; }
.hero__ticks .ic { color: var(--accent); stroke-width: 3; width: 16px; height: 16px; }

/* Quote card */
.qcard {
  position: relative; color: var(--ink);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06);
  width: 100%; max-width: 470px; justify-self: end;
}
.qcard::before { /* corner bracket like a framing square */
  content: ""; position: absolute; top: -10px; right: -10px; width: 70px; height: 70px;
  border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); border-top-right-radius: 34px;
  pointer-events: none;
}
.qcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mono-label { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.qcard__title {
  font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800;
  font-size: clamp(26px, 2.3vw, 32px); line-height: 1.05; text-transform: uppercase; margin-top: 10px;
  transition: opacity .25s;
}
.qcard__step { font-size: 12px; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.qcard__ruler {
  position: relative; height: 12px; margin: 18px 0 20px;
  background:
    repeating-linear-gradient(90deg, rgba(var(--ink-rgb),.25) 0 1px, transparent 1px 10px) bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(var(--ink-rgb),.35) 0 1px, transparent 1px 50px) bottom / 100% 10px no-repeat,
    linear-gradient(rgba(var(--ink-rgb),.15), rgba(var(--ink-rgb),.15)) bottom / 100% 1px no-repeat;
}
.qcard__ruler span {
  position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 4px; width: 50%;
  background: var(--accent); transition: width .7s var(--ease-out);
}

.qform { position: relative; display: grid; }
.qstep { grid-area: 1 / 1; border: 0; margin: 0; padding: 0; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .45s var(--ease), transform .6s var(--ease-out), visibility 0s .6s; }
.qstep.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .1s, transform .7s var(--ease-out) .1s, visibility 0s; }
.qstep.is-left { transform: translateX(-30px); }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  height: 100%; padding: 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 15.5px; line-height: 1.15;
  transition: border-color .25s, background .25s, color .25s, transform .35s var(--ease-out), box-shadow .35s;
}
.chip .ic { width: 26px; height: 26px; color: var(--accent-text); stroke-width: 1.7; transition: transform .45s var(--ease-out); }
.chip:hover span { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
.chip:hover .ic { transform: scale(1.12) rotate(-6deg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.qform__hint { font-size: 13.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.qform__proof {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.qform__proof .g { width: 30px; height: 30px; flex: none; padding: 5px; border-radius: 50%; background: var(--paper); }
.qform__proof p { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.qform__proof .stars { --s: 12px; margin-bottom: 4px; }
.qform__proof small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

.qform__back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--paper);
  font-size: 14px; font-weight: 600;
}
.qform__back em { font-style: normal; color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.qform__back .ic { width: 16px; height: 16px; }

.field { position: relative; margin-bottom: 10px; }
.field input, .field select {
  width: 100%; height: 58px; padding: 22px 16px 6px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: 500 16px/1 var(--f-body); outline: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field--sel select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315171b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field label {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left;
  transition: transform .25s var(--ease-out), top .25s var(--ease-out), color .2s;
}
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field select + label {
  top: 17px; transform: translateY(-50%) scale(.75); color: var(--muted);
}
.field.is-error input { border-color: #d93b2b; box-shadow: 0 0 0 4px rgba(217,59,43,.12); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qform .btn--lg { margin-top: 6px; }
.qform__fine { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.qform__fine .ic { width: 14px; height: 14px; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading span::after { content: "…"; }

.qdone { text-align: center; padding: 18px 4px 8px; align-self: center; }
.qdone__check { width: 76px; height: 76px; margin: 0 auto 18px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qdone__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.qdone__check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.qdone.is-active .qdone__check circle { animation: draw .7s var(--ease-out) .15s forwards; }
.qdone.is-active .qdone__check path { animation: draw .45s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.qdone h3 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; margin-bottom: 12px; }
.qdone p { color: var(--muted); font-size: 15.5px; }
.qdone p b { color: var(--ink); }
.qdone__alt { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.qdone__alt a { color: var(--accent-text); font-weight: 700; }
.form-err { color: #d93b2b; font-size: 14px; margin-top: 10px; text-align: center; font-weight: 600; }

/* 6. PROOF STRIP ----------------------------------------------------------- */
.proof { position: relative; border-top: 1px solid var(--line-light); background: rgba(var(--shade-rgb),.82); }
.proof__in { display: grid; grid-template-columns: repeat(4, auto) 1.3fr; align-items: center; }
.proof__item { padding: 22px 26px; border-right: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 2px; }
.proof__item:first-child { padding-left: 0; }
.proof__item > b { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.01em; }
.proof__item > b i { font-style: normal; font-size: .5em; color: var(--accent); margin-left: 3px; }
.proof__item > span { font-size: 13.5px; color: rgba(255,255,255,.6); }
.proof__lic { flex-direction: row; align-items: center; gap: 14px; border-right: 0; }
.proof__lic .ic { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.5; }
.proof__lic span { display: flex; flex-direction: column; font-size: 13.5px; color: rgba(255,255,255,.6); }
.proof__lic span b { color: #fff; font-size: 15px; font-weight: 600; }

/* 7. SECTIONS -------------------------------------------------------------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.sec__lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 470px; }

/* 8. SERVICES -------------------------------------------------------------- */
.svcs { display: flex; gap: 10px; height: clamp(520px, 64vh, 640px); }
.svc {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden;
  background: var(--ink); color: #fff; cursor: pointer; outline-offset: 4px;
  transition: flex-grow .8s var(--ease-out); contain: layout paint;
}
.svc.is-active { flex-grow: 4.2; cursor: default; }
.svc img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease-out);
}
.svc.is-active img { transform: scale(1); }
.svc::before { /* dims closed panels */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(var(--shade-rgb), .5); transition: opacity .8s var(--ease);
}
.svc.is-active::before { opacity: 0; }
.svc::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--shade-rgb),.35) 0%, transparent 22%, rgba(var(--shade-rgb),.25) 42%, rgba(var(--shade-rgb),.72) 62%, rgba(var(--shade-rgb),.95) 100%);
}
.svc__num { position: absolute; z-index: 2; top: 22px; left: 22px; font-size: 13px; font-weight: 600; letter-spacing: .1em; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.svc.is-active .svc__num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.svc__v {
  position: absolute; z-index: 2; left: 50%; bottom: 28px;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800;
  font-size: 26px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
  transition: opacity .35s var(--ease);
}
.svc.is-active .svc__v { opacity: 0; }
.svc__body {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 3vw, 40px); width: min(100%, 640px);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease-out);
}
.svc.is-active .svc__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .35s; }
.svc__body h3 { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: .95; text-transform: uppercase; margin-bottom: 12px; }
.svc__body p { color: rgba(255,255,255,.82); max-width: 470px; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.svc__meta small { display: block; font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.svc__meta b { font-family: var(--f-display); font-variation-settings: "wdth" 85; font-size: 22px; font-weight: 700; }
.svc__cta { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; transition: background .3s, color .3s; }
.svc__cta:hover { background: var(--accent); color: var(--on-accent); }
.svc__cta .ic { transition: transform .3s var(--ease-out); }
.svc__cta:hover .ic { transform: translateX(4px); }

/* 9. RECENT WORK — pinned horizontal showcase ----------------------------- */
.work { position: relative; background: var(--ink); color: #fff; }
.work::before { /* faint blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 120px 120px;
}
.work__pin { position: relative; }
.work__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 3.5vh, 40px);
  padding: calc(var(--hdr-h) + 10px) 0 clamp(20px, 3vh, 34px);
}
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.work__head .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.work__head .eyebrow { margin-bottom: 16px; }
.work__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.work__count { font-size: 15px; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.work__count b { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 54px; line-height: 1; color: #fff; letter-spacing: -.01em; margin-right: 2px; }
.work__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.work__hint .ic { color: var(--accent); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.work__track {
  --h: clamp(280px, 49vh, 580px);
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px);
  width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  will-change: transform;
}
.wk { position: relative; flex: none; margin: 0; }
.wk--wide { height: calc(var(--h) * .86); aspect-ratio: 3 / 2; }
.wk--tall { height: var(--h); aspect-ratio: 4 / 5; }
.wk--high { transform: translateY(-3vh); }
.wk--low { transform: translateY(3vh); }
.wk__btn { display: block; width: 100%; height: 100%; border-radius: var(--r); overflow: hidden; position: relative; }
.wk__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.has-cursor .wk__btn { cursor: none; }
.wk__img { position: absolute; inset: 0 -9%; display: block; will-change: transform; }
.wk__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.wk__btn:hover img { transform: scale(1.06); }
.wk figcaption {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: 14px;
  display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 15px;
}
.wk figcaption .mono { font-size: 11.5px; color: var(--accent); letter-spacing: .08em; }
.wk figcaption b { font-weight: 600; }
.wk figcaption em { font-style: normal; color: rgba(255,255,255,.5); }
.wk figcaption em::before { content: "— "; }

.wk-end {
  flex: none; height: var(--h); aspect-ratio: 4 / 5; border-radius: var(--r);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.4vw, 34px);
  background: var(--accent); color: var(--on-accent-surface); transition: transform .5s var(--ease-out), background .3s;
}
.wk-end:hover { background: var(--accent-deep); transform: translateY(-6px); }
.wk-end .mono { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.wk-end b { font-family: var(--f-display); font-variation-settings: "wdth" 74; font-weight: 850; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .86; text-transform: uppercase; }
.wk-end__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.wk-end__cta .ic { transition: transform .35s var(--ease-out); }
.wk-end:hover .wk-end__cta .ic { transform: translateX(6px); }

.work__rule { position: relative; height: 14px; margin-top: 52px; }
.work__rule::before {
  content: ""; position: absolute; inset: 0 var(--gutter);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 12px) bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 120px) bottom / 100% 12px no-repeat,
    linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) bottom / 100% 1px no-repeat;
}
.work__rule span {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 3px;
  background: var(--accent); transform-origin: left; transform: scaleX(var(--wp, 0)); border-radius: 3px;
}

/* "View" cursor (desktop only) */
.view-cursor {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center;
  font: 700 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0);
  transition: transform .35s var(--ease-out); will-change: transform;
}
.view-cursor.is-on { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 80; background: rgba(var(--shade-rgb),.96);
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.lb[hidden] { display: grid; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lb__fig { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lb__fig img {
  max-width: 100%; max-height: 80vh; width: auto; border-radius: 12px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
  transform: scale(.97); opacity: 0; transition: transform .6s var(--ease-out), opacity .35s var(--ease);
}
.lb.is-open .lb__fig img.is-ready { transform: none; opacity: 1; }
.lb figcaption { display: flex; gap: 12px; align-items: baseline; color: #fff; font-size: 15px; }
.lb figcaption .mono { color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.lb figcaption em { font-style: normal; color: rgba(255,255,255,.55); }
.lb figcaption em:not(:empty)::before { content: "— "; }
.lb__nav { width: 56px; height: 56px; border-radius: 50%; justify-self: center; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); transition: background .3s; font-size: 20px; }
.lb__nav:hover { background: var(--accent); color: var(--on-accent); }
.lb__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.lb__close:hover { background: var(--accent); color: var(--on-accent); transform: rotate(90deg); }
.lb__close span { position: absolute; left: 16px; right: 16px; top: 25px; height: 2px; background: currentColor; transform: rotate(45deg); }
.lb__close span + span { transform: rotate(-45deg); }

/* 10. PROMISE -------------------------------------------------------------- */
.promise { background: var(--ink); color: #fff; overflow: hidden; }
.promise::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); mask: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
}
.promise__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.promise .h2 { font-size: clamp(2.4rem, 4.3vw, 4rem); }
.promise .sec__lede { color: rgba(255,255,255,.66); margin: 28px 0 36px; }

.contract { perspective: 1600px; }
.contract__paper {
  position: relative; color: var(--ink); border-radius: 6px;
  background:
    linear-gradient(transparent 0 calc(100% - 1px), rgba(var(--ink-rgb),.035) 0) 0 0 / 100% 32px,
    var(--white);
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.2);
  transform: rotateX(8deg) rotateZ(-1.2deg) translateY(30px); opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity 1s var(--ease);
}
.contract.is-in .contract__paper { transform: rotateZ(-1.2deg); opacity: 1; }
.contract__paper::before { /* paper clip tab */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
  background: linear-gradient(#3a3f47, #2a2e35); border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.contract__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.contract__head .mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contract__head h3 { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; text-transform: uppercase; margin-top: 8px; }
.contract__mark { flex: none; display: grid; place-items: center; }
.contract__mark svg { width: 40px; height: 40px; fill: none; stroke: var(--accent-text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.contract__logo-img { width: 48px; height: 48px; object-fit: cover; }
.contract__logo-full { height: 40px; width: auto; max-width: 150px; object-fit: contain; }

.clause { display: grid; grid-template-columns: 30px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px dashed rgba(var(--ink-rgb),.2); opacity: .35; transition: opacity .5s var(--ease); }
.clause.is-checked { opacity: 1; }
.clause b { display: block; font-size: 17px; line-height: 1.3; margin-bottom: 3px; }
.clause p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.clause__n { font-size: 12px; color: var(--muted); padding-top: 3px; }
.box { width: 28px; height: 28px; border-radius: 6px; border: 2px solid var(--ink); display: grid; place-items: center; margin-top: 1px; transition: background .3s, border-color .3s; }
.box svg { width: 18px; height: 18px; fill: none; stroke: var(--on-accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease-out) .15s; }
.clause.is-checked .box { background: var(--accent); border-color: var(--accent); }
.clause.is-checked .box svg { stroke-dashoffset: 0; }

.contract__sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 22px; }
.sig { flex: 1; max-width: 300px; }
.sig__svg { width: 100%; height: 72px; display: block; fill: none; stroke: #1d3a8a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sig__svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.contract.is-signed .sig__svg path:first-child { transition: stroke-dashoffset 1.6s cubic-bezier(.6,.1,.4,1); stroke-dashoffset: 0; }
.contract.is-signed .sig__svg path:last-child { transition: stroke-dashoffset .5s var(--ease) 1.5s; stroke-dashoffset: 0; }
.sig__line { display: block; height: 1.5px; background: var(--ink); margin: 2px 0 8px; }
.sig .mono { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.stamp { width: 124px; height: 124px; flex: none; color: var(--accent-text); opacity: 0; transform: scale(2.2) rotate(-30deg); }
.contract.is-signed .stamp { animation: stamp .55s cubic-bezier(.5, 0, .75, 0) 2s forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: scale(2.2) rotate(-30deg); }
  70% { opacity: .95; transform: scale(.94) rotate(-12deg); }
  100% { opacity: .9; transform: scale(1) rotate(-12deg); }
}
.contract.is-stamped .contract__paper { animation: thud .35s var(--ease) ; }
@keyframes thud { 40% { transform: rotateZ(-1.2deg) scale(.992) translateY(2px); } }
.stamp svg { width: 100%; height: 100%; fill: none; stroke: currentColor; }
.stamp circle:first-of-type { stroke-width: 3; }
.stamp circle:last-of-type { stroke-width: 1.5; }
.stamp text { fill: currentColor; stroke: none; font: 700 9.6px var(--f-mono); letter-spacing: .14em; }
.stamp .stamp__big { font: 800 17px var(--f-display); font-variation-settings: "wdth" 75; letter-spacing: .04em; }
.stamp .stamp__sm { font: 700 7.5px var(--f-mono); letter-spacing: .12em; }
.stamp svg { mix-blend-mode: multiply; }

/* 11. ABOUT ---------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding-left: 44px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.dim { position: absolute; left: 6px; top: 0; height: 100%; width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.4; overflow: visible; }
.dim path { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.about__media.is-in .dim path { stroke-dashoffset: 0; }
.dim__label {
  position: absolute; left: 16px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg);
  background: var(--paper); padding: 4px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity .6s 1.3s;
}
.about__media.is-in .dim__label { opacity: 1; }
.about__badge {
  position: absolute; right: -22px; bottom: 36px; background: var(--accent); color: var(--on-accent);
  padding: 18px 22px; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(var(--accent-rgb),.8);
  transform: rotate(3deg);
}
.about__badge .mono { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.about__badge b { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }

.about__lead { font-family: var(--f-display); font-variation-settings: "wdth" 92; font-weight: 500; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.3; margin: 30px 0 20px; color: var(--ink); }
.about__copy > p:not(.about__lead) { color: var(--muted); }
.about__sig { display: flex; align-items: center; gap: 18px; margin: 28px 0 34px; }
.about__sig svg { width: 150px; height: 46px; fill: none; stroke: #1d3a8a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.about__sig b { display: block; }
.about__sig small { color: var(--muted); font-size: 14px; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.creds .ic { width: 22px; height: 22px; color: var(--accent-text); margin-top: 1px; }
.creds b { display: block; font-size: 15px; line-height: 1.3; }
.creds small { font-size: 13px; color: var(--muted); }

/* 12. REVIEWS -------------------------------------------------------------- */
.reviews { background: var(--paper-2); overflow: hidden; }
.reviews__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.gsum {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "g score" "btns btns";
  gap: 20px 18px; padding: 26px; border-radius: var(--r); background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); border: 1px solid var(--line);
}
.gsum__g { grid-area: g; width: 54px; height: 54px; }
.gsum__score { grid-area: score; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.gsum__score b { grid-row: span 2; font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 56px; line-height: .9; }
.gsum__score .stars { --s: 22px; }
.gsum__score small { color: var(--muted); font-size: 14px; }
.gsum__btns { grid-area: btns; display: flex; gap: 10px; flex-wrap: wrap; }
.gsum__btns .btn { flex: 1; }

.rv-rows { position: relative; display: grid; gap: 18px; }
.rv-rows::before, .rv-rows::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7vw; z-index: 2; pointer-events: none; }
.rv-rows::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.rv-rows::after { right: 0; background: linear-gradient(-90deg, var(--paper-2), transparent); }
.rv-rows.is-paused .rv-row { animation-play-state: paused; }
.rv-row { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 60s) linear infinite; will-change: transform; }
.rv-row--rev { animation-direction: reverse; }
.rv-rows:hover .rv-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.rv {
  width: 380px; flex: none; display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.rv:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.45); }
.rv__top { display: flex; align-items: center; gap: 12px; }
.rv__av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; overflow: hidden; background: var(--c, #5b6cff); }
.rv__av img { width: 100%; height: 100%; object-fit: cover; }
.rv__who { flex: 1; min-width: 0; line-height: 1.25; }
.rv__who b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv__who small { font-size: 13px; color: var(--muted); }
.rv__g { width: 22px; height: 22px; flex: none; }
.rv__q { width: 26px; height: 26px; flex: none; fill: var(--accent-text); stroke: none; opacity: .9; }
.rv-rec { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: #1877f2; background: rgba(24,119,242,.09); padding: 5px 11px 5px 9px; border-radius: 999px; white-space: nowrap; }
.rv-rec .ic { width: 15px; height: 15px; }
.rv-rec--sm { padding: 3px 9px 3px 7px; font-size: 12.5px; background: rgba(255,255,255,.92); }
[data-rv="custom"] .qform__proof .g { padding: 7px; fill: var(--accent-text); stroke: none; }
.gsum__score .rv-rec { justify-self: start; }
.gsum--links-only { grid-template-areas: "g btns"; grid-template-columns: auto 1fr; align-items: center; }
.reviews__head--solo { grid-template-columns: 1fr; }
[data-rv="custom"] .gsum__g { fill: var(--accent-text); stroke: none; }
.gsum__btns:empty { display: none; }
.rv .stars { --s: 16px; }
.rv__text { font-size: 15.5px; line-height: 1.55; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv__more { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: auto; }
.rv__more:hover { color: var(--ink); }
.rv-note { margin-top: 28px; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-align: center; }
.rv-skel { width: 380px; height: 220px; border-radius: var(--r); background: linear-gradient(90deg, var(--white) 0%, var(--paper) 50%, var(--white) 100%) 0 0 / 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }

/* 13. CONTACT -------------------------------------------------------------- */
.contact { background: var(--accent); color: var(--on-accent-surface); overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(0,0,0,.05) 22px 44px);
  -webkit-mask: linear-gradient(180deg, #000, transparent 60%); mask: linear-gradient(180deg, #000, transparent 60%);
}
.contact .wrap { position: relative; }
.contact__top { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.contact__title { font-family: var(--f-display); font-variation-settings: "wdth" 74; font-weight: 850; font-size: clamp(2.8rem, 6.8vw, 6.4rem); line-height: .9; text-transform: uppercase; letter-spacing: -.012em; }
.bigphone {
  display: inline-flex; align-items: center; gap: .3em; margin-top: 32px;
  font-family: var(--f-display); font-variation-settings: "wdth" 84; font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -.01em;
  padding: .3em .7em; border-radius: 999px; background: var(--ink); color: #fff;
  transition: transform .4s var(--ease-out), box-shadow .4s;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
.bigphone .ic { width: .7em; height: .7em; color: var(--accent); }
.bigphone:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 40px 70px -25px rgba(0,0,0,.7); }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; }
.contact__card, .contact__info { padding: 30px; border-radius: var(--r); }
.contact__card { background: var(--ink); color: #fff; }
.contact__card h3 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.contact__card p { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 20px; }
.field--dark input { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.field--dark input:focus { border-color: var(--accent); }
.field--dark label { color: rgba(255,255,255,.5); }
.field--dark input:focus + label, .field--dark input:not(:placeholder-shown) + label { color: rgba(255,255,255,.5); }
.cb-form .btn { margin-top: 6px; }
.cb-form__done { margin-top: 14px; text-align: center; font-weight: 600; color: #7ee2a8; }

.contact__info { background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 22px; }
.info-row { display: flex; gap: 14px; }
.info-row > .ic { width: 22px; height: 22px; margin-top: 3px; color: var(--accent-text); }
.info-row small { display: block; font: 600 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-row b, .info-row a { font-weight: 600; font-size: 16.5px; }
.info-row a:hover { color: var(--accent-text); }
.info-row__more { display: block; font-size: 13.5px; color: var(--muted); }
.info-row b { display: block; }
.open-badge { display: inline-flex; align-items: center; margin: 6px 0 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(47,158,91,.12); color: var(--ok); vertical-align: 2px; }
.open-badge.is-closed { background: rgba(var(--ink-rgb),.07); color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.areas li { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--paper); }
.contact__map { border-radius: var(--r); overflow: hidden; min-height: 320px; background: var(--ink-2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* 14. FOOTER --------------------------------------------------------------- */
.ftr { background: var(--deep); color: rgba(255,255,255,.65); padding: 56px 0 34px; font-size: 14.5px; }
.ftr .logo { color: #fff; }
.ftr__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ftr__nav a:hover, .ftr__bottom a:hover { color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; padding-top: 26px; }

/* Social links (config.js → social): round icon buttons, or labeled chips in the contact card */
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.socials[hidden] { display: none; }
.soc {
  position: relative; isolation: isolate; overflow: hidden;
  width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-light);
  transition: color .3s, box-shadow .3s, transform .45s var(--ease-out);
}
.soc::before { /* accent fill that rises from the bottom on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.soc svg { width: 18px; height: 18px; fill: currentColor; transition: transform .45s var(--ease-out); }
.soc:hover { color: var(--on-accent); box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-3px); }
.soc:hover::before { transform: none; }
.soc:hover svg { transform: scale(1.1); }

.socials--chips { gap: 6px; margin-top: 8px; }
.socials--chips .soc {
  width: auto; height: auto; border-radius: 999px; display: inline-flex; gap: 7px;
  padding: 6px 13px 6px 10px; font-size: 13px; font-weight: 600; line-height: 1.3;
  color: var(--ink); background: var(--paper); box-shadow: none;
}
.socials--chips .soc svg { width: 15px; height: 15px; }
.socials--chips .soc:hover { color: var(--on-accent); transform: translateY(-2px); }

.ftr__top .socials { gap: 8px; }
.ftr__top .soc { width: 42px; height: 42px; }

.mnav__foot { display: flex; flex-direction: column; gap: 22px; }
.mnav .socials { opacity: 0; transform: translateY(16px); transition: opacity .5s .3s, transform .6s var(--ease-out) .3s; }
.mnav.is-open .socials { opacity: 1; transform: none; }
.mnav .btn { align-self: stretch; }

.work__more {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 4px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  box-shadow: inset 0 0 0 1px var(--line-light); transition: background .3s, color .3s, box-shadow .3s;
}
.work__more svg { width: 16px; height: 16px; fill: currentColor; }
.work__more .ic { fill: none; width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.work__more:hover { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1px var(--accent); }
.work__more:hover .ic { transform: translate(2px, -2px); }

/* 15. MOBILE BAR ----------------------------------------------------------- */
.mbar { display: none; }

/* 16. MOTION (scroll reveals) --------------------------------------------- */
[data-anim] { opacity: 0; animation: fadeUp 1s var(--ease-out) var(--d, 0s) forwards; }
[data-anim="rise"] { animation-name: rise; animation-duration: 1.2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(50px) scale(.97); } to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
[data-split].is-in .w > span { transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .burger { display: block; }
  .proof__in { grid-template-columns: repeat(4, 1fr); }
  .proof__lic { display: none; }
  .proof__item:nth-child(4) { border-right: 0; }
}
@media (max-width: 980px) {
  :root { --hdr-h: 68px; }
  body { font-size: 16.5px; padding-bottom: 76px; }
  .hdr__phone, .hdr__cta > .btn { display: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-top: calc(var(--hdr-h) + 28px); gap: 34px; }
  .hero__bg img { object-position: 62% 50%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(var(--shade-rgb),.72) 0%, rgba(var(--shade-rgb),.55) 40%, rgba(var(--shade-rgb),.92) 75%, var(--ink) 100%); }
  .qcard { justify-self: stretch; max-width: none; }
  .qcard::before { display: none; }
  .hero__actions { display: grid; gap: 18px; }
  .callcard { width: 100%; }
  .proof__in { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .proof__item { padding: 18px var(--gutter); border-bottom: 1px solid var(--line-light); }
  .proof__item:nth-child(2n) { border-right: 0; }
  .proof__item:first-child { padding-left: var(--gutter); }

  .sec__head, .reviews__head { grid-template-columns: 1fr; gap: 18px; }

  .svcs { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; gap: 12px; }
  .svcs::-webkit-scrollbar { display: none; }
  .svc, .svc.is-active { flex: 0 0 min(84vw, 400px); height: 540px; scroll-snap-align: start; cursor: default; }
  .svc img { transform: none; filter: none; }
  .svc__v { display: none; }
  .svc__body { opacity: 1; transform: none; pointer-events: auto; padding: 24px; }
  .svc__num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .svc::before { display: none; }
  .svc::after { background: linear-gradient(180deg, rgba(var(--shade-rgb),.3) 0%, rgba(var(--shade-rgb),.15) 22%, rgba(var(--shade-rgb),.8) 48%, rgba(var(--shade-rgb),.96) 100%); }

  .work__pin { height: auto !important; }
  .work__sticky { position: relative; height: auto; padding: clamp(80px, 11vw, 120px) 0 clamp(50px, 8vw, 90px); gap: 30px; }
  .work__head { flex-direction: column; align-items: flex-start; }
  .work__meta { flex-direction: row; align-items: center; text-align: left; gap: 16px; }
  .work__count b { font-size: 34px; }
  .work__track { --h: clamp(340px, 60vh, 460px); transform: none !important; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: 44px; align-items: flex-start; scrollbar-width: none; overscroll-behavior-x: contain; }
  .work__track::-webkit-scrollbar { display: none; }
  .wk, .wk-end { scroll-snap-align: start; }
  .work__track { align-items: center; }
  .wk--wide { height: auto; width: 86vw; }
  .wk--tall, .wk-end { height: auto; width: 72vw; }
  .wk--high, .wk--low { transform: none; }
  .wk__img { inset: 0; transform: none !important; }
  .work__rule { display: none; }
  .lb { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  .lb__fig { grid-column: 1; }
  .lb__nav { position: absolute; bottom: 28px; }
  .lb__nav--prev { left: calc(50% - 68px); }
  .lb__nav--next { right: calc(50% - 68px); }
  .promise__grid, .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__badge { right: 12px; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__map { grid-column: 1 / -1; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
    position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 999px; background: var(--ink-2);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
    transform: translateY(150%); transition: transform .6s var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar a { height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; }
  .mbar__call { color: #fff; background: var(--ink-3); }
  .mbar__call .ic { color: var(--accent); }
  .mbar__quote { background: var(--accent); color: var(--on-accent); }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.9rem, 15vw, 4.4rem); margin-bottom: 18px; }
  .hero__grid { padding-top: calc(var(--hdr-h) + 14px); gap: 26px; }
  .hero__sub { font-size: 16px; margin-bottom: 22px; }
  .hero__ticks { display: none; }
  .callcard { padding-right: 16px; }
  .callcard__ic { width: 48px; height: 48px; }
  .callcard__txt b { font-size: 23px; }
  .rating-pill { font-size: 13px; margin-bottom: 20px; }
  .creds { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card, .contact__info { padding: 24px; }
  .rv, .rv-skel { width: 300px; }
  .logo__word--2 small { display: none; }
  .logo__word b { font-size: 19px; }
  .logo__word--2 b { font-size: 17px; }
  .logo__img { width: 42px; height: 42px; }
  .about__media { padding-left: 34px; }
  .dim { left: 0; }
  .dim__label { left: 10px; }
  .contract__sign { flex-direction: row; }
  .stamp { width: 96px; height: 96px; }
  .clause { grid-template-columns: 28px 1fr; }
  .clause__n { display: none; }
  .gsum { padding: 20px; }
  .gsum__score b { font-size: 46px; }
  .bigphone { font-size: clamp(1.7rem, 8.6vw, 2.6rem); }
  .ftr__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv-row { animation: none !important; }
  .rv-rows { overflow-x: auto; }
}

/* Elements that JS hides with the hidden attribute */
:where(.rating-pill, .gsum, .gsum__score, .rv-row, .rv-note, .info-row, .sec, .stars)[hidden] { display: none !important; }

/* 17. SCROLL-DRIVEN ANIMATIONS ----------------------------------------------------
   These run on the browser's compositor (GPU), perfectly in sync with scrolling, even
   when the page is busy. Browsers without support get the same effects from main.js. */
@keyframes sx-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sx-pos { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes hero-par { from { transform: translate3d(0, 0, 0) scale(1.02); } to { transform: translate3d(0, 22vh, 0) scale(1.02); } }
@keyframes wk-track { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--dist, 0) * -1px), 0, 0); } }
@keyframes wk-par { from { transform: translate3d(calc(var(--p0, 0) * 1px), 0, 0); } to { transform: translate3d(calc(var(--p1, 0) * 1px), 0, 0); } }

@supports (animation-timeline: scroll()) {
  .tape__fill { animation: sx-fill linear both; animation-timeline: scroll(root); }
  .tape__pos { animation: sx-pos linear both; animation-timeline: scroll(root); }

  @media (prefers-reduced-motion: no-preference) {
    .hero__bg img { animation: hero-par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
  @media (min-width: 981px) {
    .work__pin { view-timeline: --work block; view-timeline-inset: 0px; }
    .work__track { animation: wk-track linear both; animation-timeline: --work; animation-range: contain 0% contain 100%; }
    .work__rule span { animation: sx-fill linear both; animation-timeline: --work; animation-range: contain 0% contain 100%; }
  }
  @media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
    .wk__img { animation: wk-par linear both; animation-timeline: --work; animation-range: contain 0% contain 100%; }
  }
}
