/* =========================================================
   Euro Construction Services — site styles
   ========================================================= */

:root {
  --ink: #0c0c0a;
  --ink-2: #171714;
  --ink-3: #24231f;
  --bone: #efebe3;
  --bone-2: #e3ddd1;
  --paper: #f7f4ee;
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --line-dark: rgba(239, 235, 227, 0.14);
  --line-light: rgba(12, 12, 10, 0.12);
  --muted-dark: rgba(239, 235, 227, 0.62);
  --muted-light: rgba(12, 12, 10, 0.6);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --hdr-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* scrollbar: hidden — the top progress bar shows scroll position instead */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
[data-theme="light"] { background: var(--bone); color: var(--ink); }
[data-theme="dark"] { background: var(--ink); color: var(--bone); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .85;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

.h2 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 6rem);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin-top: 18px;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 44ch; color: var(--muted-dark); }
[data-theme="light"] .lead { color: var(--muted-light); }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 1px; }
.ulink:hover { background-size: 0 1px; background-position: 100% 100%; }

.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* split text helpers */
.split-line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover-bg, var(--bone));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { height: 44px; padding: 0 18px; font-size: .85rem; }
.btn--sm svg { width: 17px; height: 17px; }
.btn--accent { --bg: var(--accent); --fg: var(--ink); --bd: var(--accent); --hover-bg: var(--bone); }
.btn--glass { --bg: rgba(255, 255, 255, .08); --fg: var(--bone); --bd: rgba(255, 255, 255, .28); --hover-bg: var(--bone); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { color: var(--ink); }
.btn--line { --fg: var(--bone); --bd: var(--line-dark); --hover-bg: var(--bone); }
.btn--line:hover { color: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: var(--bone); --bd: var(--ink); --hover-bg: var(--accent); }
.btn--dark:hover { color: var(--ink); }
.btn--line-dark { --fg: var(--ink); --bd: var(--line-light); --hover-bg: var(--ink); }
.btn--line-dark:hover { color: var(--bone); }
.btn:disabled { opacity: .55; pointer-events: none; }

.round {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); transition: background .3s, color .3s, border-color .3s;
}
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 800; background: var(--accent);
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(100%); visibility: hidden;
}
.is-transitioning .curtain { transform: translateY(0); visibility: visible; }
.curtain__logo { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 12vw, 9rem); color: var(--ink); letter-spacing: -.04em; }

/* ---------- progress & cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--accent);
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
  }
  .has-cursor .cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255, 90, 31, .18); border: 1px solid var(--accent); }
  .has-cursor .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border: 0; }
  .has-cursor .cursor.is-hidden { opacity: 0; }
  .cursor__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
  .cursor.is-label .cursor__label { opacity: 1; }
}

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px var(--gutter) 0;
  transition: transform .6s var(--ease);
  color: var(--bone);
}
.hdr.is-hidden { transform: translateY(-120%); }
.hdr__inner {
  max-width: calc(var(--max) - 2 * var(--gutter) + 40px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px; padding: 0 10px 0 20px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), color .4s;
}
.hdr.is-scrolled .hdr__inner { background: rgba(12, 12, 10, .62); border-color: var(--line-dark); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.hdr.is-light { color: var(--ink); }
.hdr.is-light.is-scrolled .hdr__inner { background: rgba(239, 235, 227, .72); border-color: var(--line-light); }

.brand img { width: 168px; height: auto; filter: brightness(0) invert(1); transition: filter .4s; }
.hdr.is-light .brand img { filter: none; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; height: 40px; align-items: center; padding: 0 16px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; border-radius: 999px;
}
.nav__link span { display: block; transition: transform .5s var(--ease); }
.nav__link::after {
  content: attr(data-hover); position: absolute; left: 16px; top: 50%; transform: translateY(150%);
  transition: transform .5s var(--ease); color: var(--accent);
}
.nav__link:hover span, .nav__drop.is-open > .nav__link span { transform: translateY(-150%); }
.nav__link:hover::after, .nav__drop.is-open > .nav__link::after { transform: translateY(-50%); }
.nav__link.is-active::before { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }

.nav__drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(760px, 80vw);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; padding: 10px;
  background: var(--ink-2); color: var(--bone); border: 1px solid var(--line-dark); border-radius: 22px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.drop__list { display: flex; flex-direction: column; padding: 6px; }
.drop__list a {
  display: grid; grid-template-columns: 32px 1fr 18px; align-items: center; gap: 8px;
  padding: 11px 12px; border-radius: 12px; font-weight: 500; font-size: .95rem;
  transition: background .25s, color .25s, padding .35s var(--ease);
}
.drop__list em { font-style: normal; font-size: .72rem; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.drop__list svg { width: 16px; height: 16px; opacity: 0; transform: translate(-6px, 6px); transition: .35s var(--ease); }
.drop__list a:hover { background: rgba(255, 255, 255, .06); padding-left: 18px; }
.drop__list a:hover svg { opacity: 1; transform: none; color: var(--accent); }
.drop__preview { border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.drop__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform 1.2s var(--ease); }
.drop__preview img.is-swapping { opacity: 0; transform: scale(1.06); }

.hdr__actions { display: flex; align-items: center; gap: 10px; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; padding: 0 12px; }
.hdr__phone svg { width: 18px; height: 18px; color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; transition: visibility 0s .9s; }
.menu-open .menu { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0% at calc(100% - 52px) 46px); transition: clip-path .7s var(--ease-in-out) .2s; }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 52px) 46px); transition: clip-path .9s var(--ease-in-out); }
.menu__inner {
  position: relative; height: 100%; overflow-y: auto; color: var(--bone);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.menu__main a {
  display: flex; align-items: baseline; gap: 14px; overflow: hidden;
  font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 13vw, 5rem); line-height: 1.02; letter-spacing: -.03em;
}
.menu__main a em { font-family: var(--body); font-style: normal; font-size: .8rem; font-weight: 500; color: var(--accent); letter-spacing: .05em; }
/* closing: links drop away quickly, last link first */
.menu__main a > * { transform: translateY(110%); transition: transform .38s cubic-bezier(.55, 0, .75, 0); }
.menu__main a:nth-child(3) > * { transition-delay: .04s; }
.menu__main a:nth-child(2) > * { transition-delay: .08s; }
.menu__main a:nth-child(1) > * { transition-delay: .12s; }
.menu-open .menu__main a > * { transform: none; transition: transform .8s var(--ease); }
.menu-open .menu__main a:nth-child(1) > * { transition-delay: .25s; }
.menu-open .menu__main a:nth-child(2) > * { transition-delay: .31s; }
.menu-open .menu__main a:nth-child(3) > * { transition-delay: .37s; }
.menu-open .menu__main a:nth-child(4) > * { transition-delay: .43s; }
.menu__side { opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .35s cubic-bezier(.55, 0, .75, 0); }
.menu-open .menu__side { opacity: 1; transform: none; transition: opacity .6s .45s, transform .8s .45s var(--ease); }
.menu__side ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-bottom: 26px; }
.menu__side ul a { font-size: .92rem; color: var(--muted-dark); }
.menu__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-weight: 600; }
.menu__contact { display: block; font-size: 1.1rem; font-weight: 600; }

/* ---------- marquee ---------- */
.marquee { background: var(--accent); color: var(--ink); overflow: hidden; padding: 22px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -.02em; white-space: nowrap; padding: 0 28px;
}
.marquee i { font-style: normal; font-size: 1.4rem; }
.no-motion .marquee__track, html:not(.motion) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- HOME: hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 12, 10, .55) 0%, rgba(12, 12, 10, .15) 35%, rgba(12, 12, 10, .55) 65%, rgba(12, 12, 10, .92) 100%); }
.hero__content { padding-top: calc(var(--hdr-h) + 60px); padding-bottom: 28px; }
.hero__eyebrow { margin-bottom: clamp(18px, 3vw, 32px); }
.hero__title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 10.6vw, 12rem); line-height: .84; letter-spacing: -.045em;
}
.hero__row { display: block; overflow: clip; padding-bottom: .04em; white-space: nowrap; }
.hero__row .word { white-space: nowrap; }
.hero__row--indent { padding-left: .7em; }
.hero__row sup { font-size: .14em; vertical-align: top; position: relative; top: .9em; margin-left: .2em; font-stretch: 100%; color: var(--accent); }
.hero__row .char { display: inline-block; will-change: transform; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.hero__lead { max-width: 38ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(239, 235, 227, .82); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line-dark);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 235, 227, .7);
  max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding-left: 0; padding-right: 0;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { position: relative; width: 1px; height: 34px; background: var(--line-dark); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: scrollcue 1.8s var(--ease-in-out) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- HOME: intro ---------- */
.intro { padding: clamp(90px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.intro__grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.intro__grid .eyebrow { margin-top: .9em; }
.intro__statement {
  font-family: var(--display); font-stretch: 105%; font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em;
}
.intro__statement .word { transition: none; }
.intro__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: clamp(48px, 7vw, 100px) 0 0 252px; max-width: 900px; color: var(--muted-light); font-size: 1.05rem; }
.intro__cols strong { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 9vw, 120px); border-top: 1px solid var(--line-light); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line-light); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .85rem; color: var(--muted-light); }

/* ---------- HOME: horizontal services ---------- */
.hs { position: relative; overflow: hidden; }
.hs__pin { padding: calc(var(--hdr-h) + 24px) 0 36px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.hs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px); }
.hs__sub { max-width: 36ch; color: var(--muted-dark); }
.hs__track {
  display: flex; gap: 20px; padding: 0 var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: max-content; will-change: transform;
}
.scard {
  position: relative; flex: none; width: clamp(300px, 30vw, 440px); height: clamp(400px, 54vh, 580px);
  border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
  display: flex; flex-direction: column; isolation: isolate;
}
.scard__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85) brightness(.85); }
.scard:hover .scard__media img { transform: scale(1); filter: saturate(1) brightness(.95); }
.scard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 10, .05) 30%, rgba(12, 12, 10, .9)); }
.scard__body { margin-top: auto; padding: 26px; display: grid; gap: 10px; }
.scard__num { font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--accent); }
.scard h3 { font-family: var(--display); font-stretch: 110%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1; letter-spacing: -.02em; max-width: 14ch; }
.scard p { font-size: .92rem; color: rgba(239, 235, 227, .75); max-width: 32ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.scard:hover p, .scard:focus-visible p { max-height: 80px; opacity: 1; }
.scard__go { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--bone); color: var(--ink); display: grid; place-items: center; transform: scale(.0); transition: transform .5s var(--ease); }
.scard__go svg { width: 20px; height: 20px; }
.scard:hover .scard__go { transform: scale(1); }
.scard--cta { background: var(--accent); color: var(--ink); justify-content: space-between; padding: 30px; }
.scard--cta h3 { font-size: clamp(2rem, 3vw, 2.8rem); max-width: 10ch; }
.scard--cta .btn { --bg: var(--ink); --fg: var(--bone); --bd: var(--ink); align-self: flex-start; }
.scard--cta:hover .btn { color: var(--ink); }
.scard--cta:hover .btn::before { transform: translateY(0); }
.scard--cta .dot { background: var(--ink); animation: none; }
.hs__progress { margin-top: 32px; }
.hs__progress::before { content: ""; display: block; height: 1px; background: var(--line-dark); }
.hs__progress span { display: block; height: 2px; margin-top: -1.5px; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- HOME: why ---------- */
.why { padding: clamp(90px, 12vw, 170px) 0; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.why__media { position: sticky; top: 110px; }
.why__frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bone-2); }
.why__frame img { width: 100%; height: 120%; object-fit: cover; }
.why__badge { position: absolute; right: -28px; bottom: 40px; width: 130px; height: 130px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.why__badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.why__badge text { fill: var(--ink); stroke: none; font: 600 10.6px var(--body); letter-spacing: 2.2px; }
.why__badge span svg { width: 28px; height: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
.why__list { margin-top: clamp(36px, 5vw, 60px); counter-reset: why; }
.why__list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 26px 0;
  border-top: 1px solid var(--line-light); position: relative;
}
.why__list li:last-child { border-bottom: 1px solid var(--line-light); }
.why__list li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.why__list li:hover::after { transform: scaleX(1); }
.why__n { grid-row: span 2; font-size: .8rem; font-weight: 600; color: var(--accent); padding-top: 8px; }
.why__t { font-family: var(--display); font-stretch: 110%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; transition: transform .5s var(--ease); }
.why__list li:hover .why__t { transform: translateX(10px); }
.why__d { color: var(--muted-light); }

/* ---------- HOME: steps ---------- */
.steps { padding: 0 0 clamp(90px, 12vw, 170px); }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--paper);
  min-height: 300px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .5s var(--ease);
}
.step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); }
.step:hover { color: var(--bone); transform: translateY(-6px); }
.step:hover::before { transform: none; }
.step__n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 4.5rem; line-height: 1; letter-spacing: -.05em; color: var(--accent); margin-bottom: auto; }
.step h3 { font-family: var(--display); font-stretch: 110%; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; letter-spacing: -.02em; margin: 30px 0 10px; }
.step p { color: var(--muted-light); font-size: .95rem; transition: color .5s; }
.step:hover p { color: var(--muted-dark); }

/* ---------- testimonials ---------- */
.quotes { padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; }
.quotes__stage { position: relative; }
.quotes__slides { position: relative; }
.quotes__mark { position: absolute; top: -.42em; right: 0; font-family: Georgia, serif; font-size: clamp(14rem, 28vw, 26rem); line-height: 1; color: var(--accent); opacity: .16; pointer-events: none; }
.quote { position: absolute; top: 0; left: 0; right: 0; visibility: hidden; opacity: 0; }
.quote.is-active { position: relative; visibility: visible; opacity: 1; }
.quote .stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 26px; }
.stars svg { width: 20px; height: 20px; }
.quote blockquote p {
  font-family: var(--display); font-stretch: 100%; font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; max-width: 38ch;
}
.quote--short blockquote p { font-size: clamp(1.6rem, 3.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.03em; max-width: 30ch; }
.quote--long blockquote p { font-size: clamp(1.15rem, 1.9vw, 1.85rem); line-height: 1.3; max-width: 52ch; }
.quote figcaption { margin-top: 28px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.quotes__controls { display: flex; align-items: center; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.quotes__count { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9rem; min-width: 64px; text-align: center; }
.quotes__bar { flex: 1; min-width: 120px; height: 1px; background: var(--line-dark); margin-left: 16px; }
.quotes__bar span { display: block; height: 2px; margin-top: -.5px; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- HOME: areas ---------- */
.areas { padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 10vw, 140px); overflow: hidden; }
.areas__head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.areas__copy { max-width: 32ch; color: var(--muted-light); font-size: 1.05rem; }
.areas__words { display: flex; flex-direction: column; align-items: center; }
.areas__words span {
  display: flex; align-items: center; gap: .25em; white-space: nowrap;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.2rem, 14vw, 15rem); line-height: .9; letter-spacing: -.05em;
}
.areas__words em { font-style: normal; color: var(--accent); }
.areas__words em svg { width: .6em; height: .6em; stroke-width: 2.2; }
.areas__words span:nth-child(2) { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.areas__words span:nth-child(2) em { -webkit-text-stroke: 0; }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: calc(var(--hdr-h) + clamp(70px, 10vw, 140px)) 0 0; overflow: hidden; }
.phero__title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.8rem, 9.5vw, 10.5rem); line-height: .88; letter-spacing: -.045em;
  margin: 22px 0 0; max-width: 14ch;
}
.phero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(50px, 7vw, 90px); }
.phero__media { padding-bottom: 0; }
.phero__frame { position: relative; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; height: clamp(320px, 70vh, 760px); background: var(--ink-2); }
.phero__frame img, .why__frame img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; }

/* ---------- service detail ---------- */
.detail { padding: clamp(80px, 10vw, 150px) 0; }
.detail__grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 7vw, 110px); }
.detail__aside { position: sticky; top: 110px; align-self: start; }
.detail__facts { margin-top: 26px; display: grid; gap: 12px; }
.detail__facts li { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .95rem; }
.detail__facts svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--ink); stroke-width: 2.6; flex: none; }
.detail__big { font-family: var(--display); font-stretch: 105%; font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 36px; }
.detail__body > p:not(.detail__big) { max-width: 56ch; color: var(--muted-light); font-size: 1.08rem; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- gallery ---------- */
.gallery { padding: 0 0 clamp(90px, 12vw, 160px); }
.gallery__count { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.gallery__grid { columns: 3 280px; column-gap: 14px; }
.gallery__item { display: block; margin-bottom: 14px; border-radius: 14px; overflow: hidden; break-inside: avoid; background: var(--bone-2); position: relative; }
.gallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 10, .0); transition: background .4s; }
.gallery__item:hover::after { background: rgba(12, 12, 10, .15); }

/* ---------- next service ---------- */
.next { padding: 0; }
.next__link { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; padding-top: clamp(70px, 10vw, 140px); padding-bottom: clamp(70px, 10vw, 140px); position: relative; }
.next__link .eyebrow { grid-column: 1 / -1; }
.next__title { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 8vw, 8.5rem); line-height: .9; letter-spacing: -.045em; transition: color .5s var(--ease), transform .7s var(--ease); }
.next__link:hover .next__title { color: var(--accent); transform: translateX(14px); }
.next__arrow { width: clamp(64px, 8vw, 110px); height: clamp(64px, 8vw, 110px); border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.next__arrow svg { width: 40%; height: 40%; }
.next__link:hover .next__arrow { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }
.next__img { position: absolute; right: 22%; top: 50%; width: 260px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-40%) rotate(-6deg) scale(.8); transition: opacity .4s, transform .7s var(--ease); }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next__link:hover .next__img { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }

/* ---------- reviews page ---------- */
.rlist { padding: clamp(80px, 10vw, 140px) 0; }
.rcard { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line-light); }
.rcard:last-child { border-bottom: 1px solid var(--line-light); }
.rcard__n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.rcard .stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 18px; }
.rcard blockquote p { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.28; letter-spacing: -.015em; max-width: 46ch; }
.rcard figcaption { margin-top: 20px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- contact ---------- */
.contact { padding: clamp(70px, 9vw, 130px) 0 clamp(90px, 12vw, 160px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__info { display: grid; }
.cinfo { position: relative; padding: 28px 0; border-top: 1px solid var(--line-light); }
.cinfo:last-child { border-bottom: 1px solid var(--line-light); }
.cinfo__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 10px; font-weight: 600; }
.cinfo__value { font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.03em; line-height: 1; transition: color .3s; word-break: break-word; }
.cinfo__value--sm { font-size: clamp(1.05rem, 2vw, 1.6rem); font-stretch: 100%; }
.cinfo__value:hover { color: var(--accent); }
.cinfo__text { font-size: 1.15rem; font-weight: 500; }
.cinfo__social { display: flex; gap: 20px; flex-wrap: wrap; }
.cinfo__social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cinfo__social svg { width: 20px; height: 20px; }
.copy { position: absolute; right: 0; top: 26px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-light); transition: background .3s, color .3s; }
.copy:hover { background: var(--ink); color: var(--bone); }
.copy.is-done { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.cform { background: var(--ink); color: var(--bone); border-radius: 24px; padding: clamp(28px, 4vw, 52px); position: relative; }
.cform__title { font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.cform__sub { color: var(--muted-dark); margin: 14px 0 30px; max-width: 46ch; }
.bot-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px;
  background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--bone);
  font: inherit; font-size: 1rem; resize: vertical; transition: border-color .3s, background .3s;
}
.field textarea { min-height: 160px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted-dark); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--ink-3); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff4d4d; }
.cform__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.cform__status { font-size: .92rem; color: #ff8a7a; }
.cform__note { margin-top: 22px; font-size: .82rem; color: var(--muted-dark); }

.modal { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: 20px; background: rgba(12, 12, 10, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal__card { background: var(--bone); color: var(--ink); border-radius: 24px; padding: 48px 36px; max-width: 460px; width: 100%; text-align: center; animation: pop .6s var(--ease); }
.modal__icon { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.modal__icon svg { width: 36px; height: 36px; stroke-width: 2.4; color: var(--ink); }
.modal h2 { font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 2.2rem; letter-spacing: -.03em; }
.modal p { color: var(--muted-light); margin: 12px 0 28px; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* ---------- prose ---------- */
.prose { padding: clamp(70px, 9vw, 130px) 0 clamp(90px, 12vw, 160px); font-size: 1.12rem; }
.prose p, .prose ul { margin-bottom: 1.2em; max-width: 64ch; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li::marker { color: var(--accent); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 750; background: rgba(12, 12, 10, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lb.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb__img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 12px; object-fit: contain; transform: scale(.94); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.lb.is-open .lb__img.is-loaded { transform: none; opacity: 1; }
.lb__close, .lb__prev, .lb__next { position: absolute; color: var(--bone); border-color: rgba(255, 255, 255, .2); }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; margin-top: -27px; }
.lb__next { right: 20px; top: 50%; margin-top: -27px; }
.lb__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted-dark); font-size: .85rem; font-variant-numeric: tabular-nums; letter-spacing: .1em; }

/* ---------- footer ---------- */
.ftr { position: relative; overflow: hidden; padding-top: clamp(90px, 12vw, 170px); }
.ftr__cta { padding-bottom: clamp(70px, 9vw, 120px); }
.ftr__big { display: block; margin: 26px 0 40px; font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 10vw, 11rem); line-height: .88; letter-spacing: -.05em; }
.ftr__line { display: block; overflow: clip; padding-bottom: .04em; transition: transform .8s var(--ease); }
.ftr__line > span { display: inline-block; }
.ftr__big em { font-style: normal; color: var(--accent); }
.ftr__big:hover .ftr__line:first-child { transform: translateX(2vw); }
.ftr__big:hover .ftr__line:last-child { transform: translateX(-1vw); }
.ftr__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 50px; border-top: 1px solid var(--line-dark); }
.ftr__logo { width: 180px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.ftr__muted { color: var(--muted-dark); max-width: 36ch; font-size: .95rem; }
.ftr__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.ftr__list { display: grid; gap: 8px; margin-bottom: 28px; }
.ftr__list a { color: var(--muted-dark); transition: color .3s, padding .4s var(--ease); font-size: .95rem; }
.ftr__list a:hover { color: var(--bone); padding-left: 6px; }
.ftr__social { display: flex; gap: 10px; }
.ftr__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.ftr__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ftr__social svg { width: 18px; height: 18px; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--muted-dark); }
.ftr__legal a:hover { color: var(--bone); }
.ftr__top { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; }
.ftr__top svg { width: 16px; height: 16px; transform: rotate(180deg); }
.ftr__mega { overflow: hidden; line-height: .76; margin-bottom: -.12em; pointer-events: none; user-select: none; }
.ftr__mega span { display: block; text-align: center; white-space: nowrap; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 6.9vw; letter-spacing: -.05em; color: var(--ink-2); -webkit-text-stroke: 1px rgba(239, 235, 227, .07); }

/* ---------- reveal initial states (only when motion JS is running) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.motion [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.motion [data-hero-fade] { opacity: 0; }
.motion [data-split] { visibility: hidden; }
.motion [data-hero-title] { visibility: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .hdr__phone { display: none; }
  .burger { display: block; }
  .hdr__inner { height: 60px; padding: 0 8px 0 18px; }
  .brand img { width: 150px; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .next__img { display: none; }
}
@media (max-width: 1023px) {
  .hs__pin { min-height: 0; padding: clamp(90px, 12vw, 150px) 0 60px; }
  .hs__track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
  .scard { width: 100%; height: clamp(360px, 90vw, 520px); }
  .scard p { max-height: 80px; opacity: 1; }
  .scard__go { transform: scale(1); width: 44px; height: 44px; }
  .hs__progress { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why__media { position: relative; top: 0; }
  .why__frame { aspect-ratio: 4 / 3; }
  .why__badge { right: 16px; bottom: -40px; width: 110px; height: 110px; }
  .detail__grid { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 74px; }
  .hdr { padding-top: 10px; }
  .hdr .btn--sm { display: none; }
  .hero__row--indent { padding-left: 0; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__meta span:first-child, .hero__meta span:last-child { display: none; }
  .hero__meta { justify-content: center; }
  .intro__grid { grid-template-columns: 1fr; gap: 20px; }
  .intro__cols { grid-template-columns: 1fr; margin-left: 0; gap: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 0 24px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-light); }
  .stat:nth-child(even) { padding-left: 16px; }
  .steps__grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step__n { font-size: 3rem; }
  .areas__words span:nth-child(2) { -webkit-text-stroke-width: 1px; }
  .rcard { grid-template-columns: 1fr; gap: 10px; }
  .rcard__n { font-size: 2rem; }
  .ftr__grid { grid-template-columns: 1fr; gap: 10px; }
  .ftr__legal { flex-direction: column; align-items: flex-start; }
  .ftr__top { margin-left: 0; }
  .btn { height: 52px; padding: 0 22px; }
  .quotes__bar { display: none; }
  .copy { position: static; margin-top: 12px; }
  .next__link { grid-template-columns: 1fr; }
  .next__arrow { justify-self: start; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; margin: 0; }
  .lb__count { bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* header while the mobile menu is open */
.menu-open .hdr { color: var(--bone); }
.menu-open .hdr .hdr__inner { background: transparent !important; border-color: transparent !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .hdr .brand img { filter: brightness(0) invert(1); }

/* ---------- ratings: partial stars, scores, chips ---------- */
.stars { display: inline-flex; gap: 3px; color: var(--accent); vertical-align: middle; }
.star { position: relative; display: block; width: 18px; height: 18px; }
.star > svg { width: 100%; height: 100%; color: currentColor; opacity: .22; }
.star__fill { position: absolute; inset: 0; width: var(--fill); overflow: hidden; }
.star__fill svg { width: 18px; height: 18px; max-width: none; }
.score { font-family: var(--display); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.score small, .stat__num small, .rsum__score small { font-size: .5em; font-weight: 600; opacity: .55; margin-left: 2px; }
.src-tag { color: var(--accent); font-weight: 600; }
.src-tag:hover { text-decoration: underline; }
.src-tag__v { color: #57c27a; font-weight: 600; letter-spacing: .08em; }

.quotes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.rating-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.rating-chip { display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: 16px; transition: border-color .3s, background .3s; }
.rating-chip:hover { border-color: var(--accent); background: rgba(255, 90, 31, .06); }
.rating-chip[hidden] { display: none; }
.rating-chip__src { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); font-weight: 600; }
.rating-chip__row { display: flex; align-items: center; gap: 12px; }
.rating-chip__row .score { font-size: 1.8rem; line-height: 1; }
.rating-chip__n { font-size: .8rem; color: var(--muted-dark); }
.quote__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.quote__top .stars { margin: 0; }
.quote__top .score { font-size: 1.2rem; }
.quote__title { font-weight: 600; color: var(--accent); margin-bottom: 14px; font-size: 1rem; }
.quote .stars .star { width: 22px; height: 22px; }
.quote .stars .star__fill svg { width: 22px; height: 22px; }

.rsum { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: clamp(60px, 8vw, 110px); }
.rsum__card { display: grid; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--bone); transition: transform .5s var(--ease); }
.rsum__card:hover { transform: translateY(-4px); }
.rsum__card[hidden] { display: none; }
.rsum__src { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.rsum__score { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.rsum__card .star { width: 24px; height: 24px; }
.rsum__card .star__fill svg { width: 24px; height: 24px; }
.rsum__n { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-dark); font-size: .9rem; }
.rsum__n svg { width: 16px; height: 16px; }
.rgroup { margin-bottom: clamp(60px, 8vw, 110px); }
.rgroup[hidden] { display: none; }
.rgroup__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.rgroup__note { margin-top: 18px; font-size: .82rem; color: var(--muted-light); }
.rcard__side { display: grid; gap: 8px; align-content: start; }
.rcard__side .score { font-size: 2.6rem; line-height: 1; color: var(--accent); }
.rcard__title { font-weight: 700; margin-bottom: 10px; font-size: 1.05rem; }
.rcard__author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; }
.rcard__author img { width: 32px; height: 32px; border-radius: 50%; }
.rcard { grid-template-columns: 160px 1fr; }
@media (max-width: 760px) { .rcard { grid-template-columns: 1fr; } }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.mark { width: 40px; height: 40px; flex: none; }
.mark__bg { fill: var(--accent); }
.mark__bricks rect { fill: var(--ink); }
.mark-bare { width: 30px; height: 30px; flex: none; fill: var(--accent); overflow: visible; }
.mark-bare rect { transition: transform .5s var(--ease); transform-box: fill-box; }
.brand:hover .mark-bare rect:nth-child(2), .brand:hover .mark-bare rect:nth-child(5) { transform: translateX(2px); }
.brand:hover .mark-bare rect:nth-child(3) { transform: translateX(3px); }
.brand__rule { width: 1px; align-self: stretch; margin: 2px 2px; background: currentColor; opacity: .25; }
.brand__word { display: flex; flex-direction: column; justify-content: space-between; height: 30px; padding: 1px 0; line-height: 1; }
.brand__name { font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__sub { display: flex; align-items: center; gap: 7px; font-size: .6rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.brand__sub i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 1; }
.ftr__brand { margin-bottom: 22px; }
.ftr__brand .mark-bare { width: 36px; height: 36px; }
.ftr__brand .brand__word { height: 36px; }
.ftr__brand .brand__name { font-size: 1.2rem; }
.curtain__mark { width: clamp(72px, 10vw, 120px); height: auto; }
.curtain__mark .mark__bg { fill: var(--ink); }
.curtain__mark .mark__bricks rect { fill: var(--accent); }
@media (max-width: 420px) {
  .mark-bare { width: 26px; height: 26px; }
  .brand__word { height: 26px; }
  .brand__name { font-size: .82rem; }
  .brand__sub { font-size: .52rem; letter-spacing: .28em; }
}

/* contact form: optional email + service select */
.field__opt { opacity: .6; font-size: .9em; }
.field--select select {
  width: 100%; padding: 26px 44px 10px 18px; border-radius: 14px; appearance: none; -webkit-appearance: none;
  background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  border: 1px solid var(--line-dark); color: var(--bone); font: inherit; font-size: 1rem; cursor: pointer; transition: border-color .3s, background-color .3s;
}
.field--select select:focus { outline: none; border-color: var(--accent); background-color: var(--ink-3); }
.field--select select option { background: var(--ink-2); color: var(--bone); }
.field--select label { transform: translateY(-10px) scale(.74); color: var(--accent); }

/* message box: the frame lives on the wrapper so text scrolls below the label, never under it */
.field--area {
  padding-top: 30px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: border-color .3s, background .3s;
}
.field--area textarea, .field--area textarea:focus {
  display: block; height: 150px; min-height: 0; padding: 0 18px 14px; resize: none;
  border: 0; border-radius: 0 0 14px 14px; background: transparent;
}
.field--area:focus-within { border-color: var(--accent); background: var(--ink-3); }
.field--area.is-invalid { border-color: #ff4d4d; }

/* scroll areas: native bars hidden; site.js draws a thin overlay bar where one is wanted */
.field--area textarea, .cselect__list, .menu__inner { scrollbar-width: none; }
.field--area textarea::-webkit-scrollbar, .cselect__list::-webkit-scrollbar, .menu__inner::-webkit-scrollbar { display: none; width: 0; }

.sbar { position: absolute; z-index: 6; width: 14px; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.sbar.is-visible { opacity: 1; pointer-events: auto; }
.sbar::before { content: ""; position: absolute; top: 0; bottom: 0; right: 3px; width: 7px; border-radius: 7px; background: rgba(239, 235, 227, .06); opacity: 0; transition: opacity .25s; }
.sbar__thumb { position: absolute; top: 0; right: 4px; width: 3px; min-height: 24px; border-radius: 3px; background: var(--accent); opacity: .7; cursor: grab; transition: width .25s var(--ease), right .25s var(--ease), opacity .25s; }
.sbar:hover::before, .sbar.is-dragging::before { opacity: 1; }
.sbar:hover .sbar__thumb, .sbar.is-dragging .sbar__thumb { width: 7px; right: 3px; opacity: 1; }
.sbar.is-dragging .sbar__thumb { cursor: grabbing; }
.has-sbar-drag { user-select: none; }


/* custom dropdown (replaces the native select once JS runs) */
.cselect { position: relative; }
.cselect__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cselect__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 26px 18px 10px; border-radius: 14px; text-align: left;
  background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--bone); font-size: 1rem;
  transition: border-color .3s, background .3s;
}
.cselect__btn:focus-visible, .cselect.is-open .cselect__btn { outline: none; border-color: var(--accent); background: var(--ink-3); }
.cselect__btn svg { width: 18px; height: 18px; color: var(--accent); flex: none; transition: transform .45s var(--ease); }
.cselect.is-open .cselect__btn svg { transform: rotate(180deg); }
.cselect__panel {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  clip-path: inset(0 0 100% 0 round 16px);
  transition: clip-path .5s var(--ease), opacity .3s, transform .5s var(--ease), visibility 0s .5s;
}
.cselect.is-open .cselect__panel {
  visibility: visible; opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 16px);
  transition: clip-path .5s var(--ease), opacity .2s, transform .5s var(--ease), visibility 0s;
}
.cselect__list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; margin: 0; list-style: none; outline: none; }
/* solid fades in the panel colour hint at more options (no scrollbar shown) */
.cselect__panel::before, .cselect__panel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 44px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .25s;
}
.cselect__panel::before { top: 0; background: linear-gradient(var(--ink-2), rgba(23, 23, 20, 0)); }
.cselect__panel::after { bottom: 0; background: linear-gradient(rgba(23, 23, 20, 0), var(--ink-2)); }
.cselect__panel.more-above::before, .cselect__panel.more-below::after { opacity: 1; }
.cselect__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 10px; cursor: pointer; color: rgba(239, 235, 227, .82);
  opacity: 0; transform: translateY(-6px);
  transition: background .2s, color .2s, opacity .35s var(--ease), transform .45s var(--ease);
}
.cselect.is-open .cselect__opt { opacity: 1; transform: none; transition-delay: 0s, 0s, var(--d, 0s), var(--d, 0s); }
.cselect__opt.is-active { background: rgba(255, 90, 31, .12); color: var(--bone); }
.cselect__opt[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.cselect__opt svg { width: 16px; height: 16px; opacity: 0; stroke-width: 2.4; }
.cselect__opt[aria-selected="true"] svg { opacity: 1; }
.field--select .cselect + label { transform: translateY(-10px) scale(.74); color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .cselect__panel, .cselect__opt { transition: none !important; clip-path: none; }
}
