/* ==========================================================================
   Atlantic Interiors — "Nailhead & Navy"
   Every colour, type, space, radius, shadow, motion and z value lives in :root.
   Palette sampled from the logo: navy #1E234C (block), orange #D57B45 (i-dot),
   ink #1B1819 (linework). No hex values appear below :root.
   ========================================================================== */

:root {
  /* Colour — logo-derived */
  --navy: #1E234C;          /* logo block: primary field */
  --navy-deep: #12152F;     /* shadowed layer under navy */
  --navy-soft: #2C335F;     /* raised navy surfaces */
  --tack: #D57B45;          /* logo i-dot: nailheads, accents */
  --tack-hi: #F2B489;       /* light catching a tack head */
  --tack-lo: #8E4A22;       /* tack shadow side / orange text on light */
  --ink: #1B1819;           /* logo linework: body text */
  --ticking: #F4F5F8;       /* cool cotton-ticking field */
  --ticking-2: #E9EBF1;     /* alternate band */
  --white: #FCFCFD;
  --muted: #565A6E;         /* 6.4:1 on ticking */
  --muted-on-navy: #B9BDD4; /* 8.2:1 on navy */
  --rule: #D5D8E2;
  --rule-on-navy: rgba(244, 245, 248, 0.16);
  --glass: rgba(252, 252, 253, 0.74);
  --glass-navy: rgba(30, 35, 76, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);
  --scrim: rgba(18, 21, 47, 0.72);
  --shadow-rgb: 18, 21, 47;
  --star: #D57B45;
  --ok: #2E6B4E;
  --err: #A3321C;

  /* Type */
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Karla", "Segoe UI", system-ui, sans-serif;
  --fs-body: 1.125rem;                          /* 18px */
  --fs-small: 0.9375rem;                        /* 15px */
  --fs-micro: 0.8125rem;                        /* 13px eyebrow */
  --fs-h3: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 2.6vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 6rem);
  --fs-mega: clamp(2.75rem, 1.5rem + 4vw, 5.75rem);
  --lh-body: 1.7;
  --lh-tight: 1.02;
  --track-display: -0.03em;
  --track-eyebrow: 0.18em;
  --measure: 66ch;

  /* Space — 8px base */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem;
  --s-6: 4rem; --s-7: 6rem; --s-8: 8rem; --s-9: 10.5rem;
  --section: clamp(5rem, 3rem + 7vw, 10.5rem);  /* 80px → 168px */
  --gutter: clamp(1.25rem, 0.5rem + 3.4vw, 3.5rem);
  --container: 1320px;

  /* Corners — soft 4px held everywhere; tacks are circles by nature */
  --r: 4px;

  /* Depth — tight contact shadow + wide ambient, stacked */
  --sh-1: 0 1px 2px rgba(var(--shadow-rgb), .10), 0 4px 12px rgba(var(--shadow-rgb), .06);
  --sh-2: 0 1px 2px rgba(var(--shadow-rgb), .12), 0 8px 20px rgba(var(--shadow-rgb), .08), 0 24px 48px rgba(var(--shadow-rgb), .08);
  --sh-3: 0 2px 3px rgba(var(--shadow-rgb), .14), 0 14px 28px rgba(var(--shadow-rgb), .12), 0 40px 80px rgba(var(--shadow-rgb), .16), 0 70px 120px rgba(var(--shadow-rgb), .10);

  /* Motion language: heavy and physical — fabric pulled taut, then tacked.
     One curve family; durations are multiples of 120ms. */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-micro: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-mask: cubic-bezier(0.76, 0, 0.24, 1);
  --t-micro: 240ms;
  --t-reveal: 960ms;
  --t-mask: 1200ms;

  /* Layers */
  --z-base: 0; --z-raise: 10; --z-dropdown: 100; --z-sticky: 200;
  --z-mobilebar: 250; --z-overlay: 300; --z-modal: 400; --z-toast: 500;

  --head-h: 84px;
  --top-h: 40px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--ticking); color: var(--ink);
  font: 400 var(--fs-body)/var(--lh-body) var(--f-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: var(--track-display); line-height: var(--lh-tight); margin: 0 0 var(--s-3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-3); max-width: var(--measure); text-wrap: pretty; }
em.serif, .h-ital { font-style: italic; }
::selection { background: var(--tack); color: var(--ink); }
:focus-visible { outline: 2px solid var(--tack); outline-offset: 3px; border-radius: var(--r); }
.skip-link { position: absolute; left: var(--s-2); top: -100px; z-index: var(--z-toast); background: var(--ink); color: var(--white); padding: var(--s-1) var(--s-2); border-radius: var(--r); }
.skip-link:focus { top: var(--s-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--ticking-2); }
.section--navy { background: var(--navy); color: var(--ticking); }
.section--navy p { color: var(--muted-on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-1); font: 600 var(--fs-micro)/1.2 var(--f-body); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--tack-lo); margin-bottom: var(--s-3); }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .footer .eyebrow { color: var(--tack-hi); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--tack-hi) 0 18%, var(--tack) 45%, var(--tack-lo) 100%); box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .4); flex: none; }
.lede { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); line-height: 1.6; color: var(--muted); }
.section--navy .lede { color: var(--muted-on-navy); }

/* ---------- Signature: nailhead trim ----------
   A row of domed tacks. Static by default (works with JS off); when it enters
   the viewport the row is tacked in left to right, one nail per step. */
.trim {
  --gap: 22px; --size: 11px;
  display: block; height: var(--size); width: 100%;
  background: radial-gradient(circle at 36% 34%, var(--tack-hi) 0 1.4px, var(--tack) 2.6px, var(--tack-lo) calc(var(--size) / 2 - 0.5px), transparent calc(var(--size) / 2)) 0 50% / var(--gap) var(--size) repeat-x;
  filter: drop-shadow(0 1px 1px rgba(var(--shadow-rgb), .35));
}
.trim--short { width: min(260px, 60%); }
.trim--center { margin-inline: auto; }
.js .trim[data-reveal] { clip-path: inset(0 100% 0 0); }
.js .trim[data-reveal].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1440ms steps(18, end); }
.trim--vertical { width: var(--size); height: 100%; background-size: var(--size) var(--gap); background-repeat: repeat-y; background-position: 50% 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.6rem; border: 1px solid transparent; border-radius: var(--r);
  background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; box-shadow: var(--sh-1);
  transition: transform var(--t-micro) var(--ease-micro), background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro), border-color var(--t-micro) var(--ease-micro);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after { /* stitched seam that appears on hover */
  content: ""; position: absolute; inset: 4px; border: 1px dashed currentColor; border-radius: 2px; opacity: 0; transform: scale(1.04);
  transition: opacity var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro); pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { opacity: .55; transform: scale(1); }
.btn:hover { background: var(--navy-soft); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn--tack { --bg: var(--tack); --fg: var(--ink); }
.btn--tack:hover { background: var(--tack-hi); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); border-color: var(--rule-on-navy); box-shadow: none; }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--lg { min-height: 60px; padding: 0 2rem; font-size: 1.0625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow svg { width: 18px; transition: transform var(--t-micro) var(--ease-micro); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--tack-hi); }

/* ---------- Site head: sticky top bar + shrinking glass header ---------- */
.site-head { position: sticky; top: 0; z-index: var(--z-sticky); }
.topbar { background: var(--navy-deep); color: var(--muted-on-navy); font-size: var(--fs-small); height: var(--top-h); transition: margin-top 360ms var(--ease); }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-3); }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: .45em; min-height: 40px; transition: color var(--t-micro) var(--ease-micro); }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; color: var(--tack); }
.topbar .social a { width: 36px; justify-content: center; }
.topbar .social svg { color: currentColor; width: 16px; height: 16px; }
.header { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--rule); transition: box-shadow 360ms var(--ease), background-color 360ms var(--ease); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .header { background: var(--white); } }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--head-h); transition: height 360ms var(--ease); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 58px; width: auto; transition: height 360ms var(--ease); }
.is-scrolled .header { box-shadow: var(--sh-2); }
.is-scrolled .header .container { height: 64px; }
.is-scrolled .brand img { height: 42px; }
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-1); }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 .8rem; font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; }
.nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 8px; height: 1px; background: var(--tack); transform: scaleX(0); transform-origin: left; transition: transform var(--t-micro) var(--ease-micro); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--open > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 14px; transition: transform var(--t-micro) var(--ease-micro); }
.nav__item { position: relative; }
.nav__item--open > .nav__link svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; list-style: none; margin: 0; padding: var(--s-1); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--sh-3); z-index: var(--z-dropdown); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro), visibility 0s linear var(--t-micro); }
.nav__item--open .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: block; padding: .75rem 1rem; border-radius: var(--r); text-decoration: none; font-size: 1rem; }
.dropdown a small { display: block; color: var(--muted); font-size: var(--fs-micro); }
.dropdown a:hover { background: var(--ticking); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--t-micro) var(--ease-micro), opacity var(--t-micro); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu sheet */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--navy); color: var(--white); padding: calc(var(--top-h) + 84px) var(--gutter) var(--s-6); overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 720ms var(--ease-mask), visibility 0s linear 720ms; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.mobile-menu a { display: block; padding: .55rem 0; font: 400 clamp(1.75rem, 1rem + 4vw, 2.5rem)/1.15 var(--f-display); text-decoration: none; }
.mobile-menu .sub a { font: 400 1.0625rem/1.4 var(--f-body); color: var(--muted-on-navy); padding: .45rem 0 .45rem 1rem; }
.mobile-menu .btn { width: 100%; margin-bottom: var(--s-2); }
.mobile-menu__close { position: absolute; top: calc(var(--top-h) + 18px); right: var(--gutter); width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--rule-on-navy); background: transparent; color: var(--white); cursor: pointer; }
.menu-open { overflow: hidden; }

/* ---------- Home hero: split 7/5, navy field, layered parallax ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__tufting { position: absolute; inset: -10% 0 -10% 0; z-index: -1; opacity: .5; color: var(--navy-soft); will-change: transform; }
.hero__tufting svg { width: 100%; height: 100%; }
.hero .container { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6); align-items: end; min-height: calc(100svh - var(--top-h) - var(--head-h)); padding-block: var(--s-7) var(--s-7); }
.hero__copy { padding-bottom: var(--s-4); }
.hero h1 { font-size: var(--fs-mega); color: var(--white); margin-bottom: var(--s-4); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: italic; color: var(--tack-hi); }
.hero .lede { color: var(--muted-on-navy); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.hero__media { position: relative; align-self: stretch; min-height: 520px; }
.hero__frame { position: absolute; inset: 0 0 var(--s-5) 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); }
.hero__frame img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.hero__frame::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.45); border-radius: 2px; pointer-events: none; }
.hero__inset { position: absolute; left: -18%; bottom: 0; width: 46%; aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); border: 6px solid var(--ticking); will-change: transform; }
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--ink); color: var(--white); font-size: var(--fs-micro); letter-spacing: var(--track-eyebrow); text-transform: uppercase; padding: 4px 8px; border-radius: var(--r); }
.rating-chip { position: absolute; right: -14px; top: 12%; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-radius: var(--r); background: var(--glass-navy); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border: 1px solid rgba(255,255,255,.22); box-shadow: var(--sh-2); color: var(--white); text-decoration: none; animation: float 7.2s var(--ease-micro) infinite alternate; }
.rating-chip strong { font: 400 2rem/1 var(--f-display); }
.rating-chip .chip-label { font-size: var(--fs-micro); color: var(--muted-on-navy); display: block; margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.hero__scroll { position: absolute; left: 50%; bottom: var(--s-3); translate: -50% 0; width: 1px; height: 54px; background: linear-gradient(var(--tack), transparent); }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

/* Load orchestration (html.js only; content visible without JS) */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero__frame { clip-path: inset(100% 0 0 0); }
.js .hero .eyebrow, .js .hero .lede, .js .hero__actions, .js .hero__inset, .js .rating-chip { opacity: 0; }
.is-loaded .hero h1 .line > span { transform: none; transition: transform var(--t-reveal) var(--ease); }
.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: 80ms; }
.is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: 160ms; }
.is-loaded .hero__frame { clip-path: inset(0 0 0 0); transition: clip-path var(--t-mask) var(--ease-mask) 120ms; }
.is-loaded .hero .eyebrow, .is-loaded .hero .lede, .is-loaded .hero__actions, .is-loaded .hero__inset, .is-loaded .rating-chip { opacity: 1; transition: opacity var(--t-reveal) var(--ease) 480ms; }
.is-loaded .hero__inset { transition-delay: 840ms; }
.is-loaded .rating-chip { transition-delay: 1080ms; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; padding-block: var(--s-7) var(--s-6); }
.page-hero .hero__tufting { opacity: .45; }
.page-hero h1 { color: var(--white); max-width: 20ch; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.75rem); }
.page-hero .lede { color: var(--muted-on-navy); max-width: 54ch; }
.page-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6); align-items: end; }
.page-hero__img { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 4/3; position: relative; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__img::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.45); border-radius: 2px; }
.breadcrumbs { font-size: var(--fs-small); color: var(--muted-on-navy); margin-bottom: var(--s-4); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ticking); border-block: 1px solid var(--rule); overflow: hidden; padding-block: var(--s-3); }
.marquee__track { display: flex; gap: var(--s-5); width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font: italic 400 clamp(1.5rem, 1rem + 1.6vw, 2.25rem)/1 var(--f-display); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s-5); color: var(--navy); }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--tack-hi) 0 18%, var(--tack) 45%, var(--tack-lo)); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.s-head { display: grid; grid-template-columns: 8fr 4fr; gap: var(--s-5); align-items: end; margin-bottom: var(--s-6); }
.s-head h2 { margin: 0; }
.s-head p { margin: 0; }
.s-head--stack { grid-template-columns: 1fr; gap: var(--s-2); max-width: 60rem; }

/* ---------- Service swatch cards (3D tilt) ---------- */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); perspective: 1200px; }
.swatch { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); box-shadow: var(--sh-2); text-decoration: none; color: inherit; transform-style: preserve-3d; transition: transform 480ms var(--ease), box-shadow 480ms var(--ease); }
.swatch-wrap { display: flex; }
.swatch-wrap > .swatch { flex: 1; }
.swatches > .swatch-wrap:nth-child(2) { margin-top: var(--s-6); }
.swatch__type, .swatch__type.tufted { position: absolute; inset: 0; background: var(--navy); color: var(--navy-soft); display: grid; place-items: center; }
.swatch__type span { position: relative; font: 400 clamp(2.25rem, 1.6rem + 2vw, 3.25rem)/1 var(--f-display); letter-spacing: var(--track-display); color: var(--white); text-align: center; }
.swatch__type em { color: var(--tack-hi); }
.swatch__img { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 960ms var(--ease); }
.swatch:hover .swatch__img img { transform: scale(1.05); }
.swatch__tag { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink); font-size: var(--fs-micro); letter-spacing: var(--track-eyebrow); text-transform: uppercase; font-weight: 600; padding: 6px 10px 6px 22px; border-radius: var(--r); box-shadow: var(--sh-1); }
.swatch__tag::before { content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--tack); }
.swatch__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; transform: translateZ(30px); }
.swatch__body p { color: var(--muted); font-size: 1rem; margin: 0; }
.swatch__body .link-arrow { margin-top: auto; }
.swatch .trim { --gap: 18px; --size: 9px; position: absolute; left: 16px; right: 16px; bottom: 10px; width: auto; opacity: 0; transition: opacity var(--t-micro); }
.swatch:hover .trim { opacity: 1; }
.swatch__glare { position: absolute; inset: 0; border-radius: var(--r); pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 55%); opacity: 0; transition: opacity var(--t-micro); }
.swatch:hover .swatch__glare { opacity: 1; }

/* ---------- Before / After (set piece) ---------- */
.ba { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-6); align-items: center; }
.ba__stage { position: relative; aspect-ratio: 3/4; max-height: 82vh; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); user-select: none; touch-action: pan-y; --pos: 50%; justify-self: end; width: min(100%, 560px); }
.ba__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: var(--white); box-shadow: 0 0 0 1px rgba(var(--shadow-rgb), .2); }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--tack-hi) 0 12%, var(--tack) 45%, var(--tack-lo) 100%); box-shadow: var(--sh-2); display: grid; place-items: center; color: var(--ink); }
.ba__knob svg { width: 26px; }
.ba__label { position: absolute; top: 14px; padding: 5px 10px; border-radius: var(--r); font-size: var(--fs-micro); letter-spacing: var(--track-eyebrow); text-transform: uppercase; font-weight: 600; background: var(--ink); color: var(--white); }
.ba__label--before { left: 14px; } .ba__label--after { right: 14px; background: var(--white); color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + .ba__handle .ba__knob { outline: 3px solid var(--white); outline-offset: 3px; }
.ba blockquote { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); border-left: 3px solid var(--tack); background: var(--white); box-shadow: var(--sh-1); border-radius: 0 var(--r) var(--r) 0; font: italic 400 1.25rem/1.5 var(--f-display); }
.ba blockquote cite { display: block; margin-top: var(--s-2); font: 600 var(--fs-small)/1.3 var(--f-body); font-style: normal; color: var(--muted); }

/* ---------- Heritage stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-on-navy); margin-top: var(--s-6); }
.stat { padding: var(--s-4) var(--s-3) 0 0; border-right: 1px solid var(--rule-on-navy); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: var(--s-3); }
.stat__num { font: 400 clamp(2.75rem, 1.8rem + 3vw, 4.5rem)/1 var(--f-display); color: var(--white); letter-spacing: var(--track-display); }
.stat__num sup { font-size: .45em; color: var(--tack-hi); }
.stat p { font-size: var(--fs-small); margin-top: var(--s-1); }
.heritage { display: grid; grid-template-columns: 6fr 6fr; gap: var(--s-6); align-items: center; }
.heritage__img { position: relative; }
.heritage__img .layer-a { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 4/3; }
.heritage__img .layer-a img { width: 100%; height: 100%; object-fit: cover; }
.heritage__img .layer-b { position: absolute; width: 48%; right: -6%; bottom: -14%; border-radius: var(--r); overflow: hidden; border: 6px solid var(--navy); box-shadow: var(--sh-3); aspect-ratio: 16/9; will-change: transform; }
.heritage__img .layer-b img { width: 100%; height: 100%; object-fit: cover; }

/* Tufted pattern background for navy sections */
.tufted { position: relative; isolation: isolate; overflow: hidden; }
.tufted > .tufting-bg { position: absolute; inset: 0; z-index: -1; color: var(--navy-soft); opacity: .55; pointer-events: none; }
.tufted > .tufting-bg svg { width: 100%; height: 100%; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 1px; border-top: 1px dashed var(--rule); }
.step { position: relative; counter-increment: step; }
.step__dot { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--rule); box-shadow: var(--sh-1); font: 400 1.25rem/1 var(--f-display); color: var(--navy); margin-bottom: var(--s-3); }
.step__dot::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.3rem; margin-bottom: var(--s-1); }
.step p { font-size: 1rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.score { display: flex; align-items: center; gap: var(--s-3); }
.score__num { font: 400 4.5rem/1 var(--f-display); color: var(--white); }
.score .stars svg { width: 20px; height: 20px; }
.score small { display: block; color: var(--muted-on-navy); font-size: var(--fs-small); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-4); }
.tab { min-height: 44px; padding: 0 1.1rem; border-radius: var(--r); border: 1px solid var(--rule-on-navy); background: transparent; color: var(--muted-on-navy); cursor: pointer; font-weight: 500; transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro); }
.tab:hover { color: var(--white); border-color: var(--muted-on-navy); }
.tab[aria-selected="true"] { background: var(--tack); color: var(--ink); border-color: var(--tack); }
.tab .count { opacity: .7; margin-left: .35em; font-size: .85em; }
.section--light .tab { border-color: var(--rule); color: var(--muted); }
.section--light .tab:hover { color: var(--ink); border-color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.review { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid var(--rule-on-navy); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--sh-2); color: var(--ticking); }
.review[hidden] { display: none; }
.review p { color: var(--ticking); font-size: 1.0625rem; margin: 0; }
.review__meta { display: flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-2); border-top: 1px dashed var(--rule-on-navy); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-soft); color: var(--tack-hi); font: 400 1.1rem/1 var(--f-display); flex: none; }
.review__name { font-weight: 600; color: var(--white); line-height: 1.2; }
.review__date { font-size: var(--fs-micro); color: var(--muted-on-navy); }
.review__cat { align-self: flex-start; font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--tack-hi); }
.review__more { background: none; border: 0; padding: 0; color: var(--tack-hi); cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; align-self: flex-start; min-height: 32px; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.section--light .review { background: var(--white); color: var(--ink); border-color: var(--rule); }
.section--light .review p { color: var(--ink); }
.section--light .review__name { color: var(--ink); }
.section--light .review__date { color: var(--muted); }
.section--light .review__avatar { background: var(--ticking-2); color: var(--navy); }
.section--light .review__cat, .section--light .review__more { color: var(--tack-lo); }
.section--light .review__meta { border-top-color: var(--rule); }
.reviews-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 300px; column-gap: var(--s-3); }
.gallery figure { break-inside: avoid; margin: 0 0 var(--s-3); position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform 960ms var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-4) var(--s-3) var(--s-2); color: var(--white); font-size: var(--fs-small); background: linear-gradient(transparent, var(--scrim)); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-4); }
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: var(--scrim); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; padding: var(--s-4); border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--r); box-shadow: var(--sh-3); }
.lightbox p { color: var(--white); text-align: center; margin: var(--s-2) auto 0; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-on-navy); background: var(--glass-navy); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox__btn svg { width: 22px; }
.lightbox__close { top: var(--s-3); right: var(--s-3); }
.lightbox__prev { left: var(--s-3); top: 50%; translate: 0 -50%; }
.lightbox__next { right: var(--s-3); top: 50%; translate: 0 -50%; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-deep); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: var(--fs-mega); max-width: 14ch; margin-inline: auto; }
.cta-band h2 em { color: var(--tack-hi); }
.cta-band p { margin-inline: auto; color: var(--muted-on-navy); }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-5); }
.cta-band .trim { margin-block: var(--s-5); }

/* ---------- Content blocks (inner pages) ---------- */
.prose h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); margin-top: var(--s-6); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-4); }
.prose ul { padding-left: 0; list-style: none; max-width: var(--measure); }
.prose li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--tack-hi) 0 18%, var(--tack) 45%, var(--tack-lo)); }
.split { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: start; }
.split--rev { grid-template-columns: 5fr 7fr; }
.sticky-aside { position: sticky; top: 140px; }
.card { background: var(--white); border-radius: var(--r); padding: var(--s-4); box-shadow: var(--sh-2); border: 1px solid var(--rule); }
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--muted); font-size: 1rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.icon-tack { width: 44px; height: 44px; margin-bottom: var(--s-2); color: var(--tack); }
.figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { font-size: var(--fs-small); color: var(--muted); padding: var(--s-2) 0 0; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding: var(--s-4); background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); box-shadow: var(--sh-1); text-decoration: none; font: 400 1.5rem/1.2 var(--f-display); transition: transform var(--t-micro) var(--ease-micro), box-shadow var(--t-micro) var(--ease-micro); }
.related a:hover { transform: translateY(-3px); }
.related svg { width: 22px; color: var(--tack); flex: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; font: 400 clamp(1.25rem, 1rem + .8vw, 1.625rem)/1.3 var(--f-display); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--tack-hi) 0 18%, var(--tack) 45%, var(--tack-lo)); transition: transform var(--t-micro) var(--ease-micro); }
.faq details[open] summary::after { transform: scale(1.4); }
.faq details > div { padding: 0 0 var(--s-3); }
.faq details > div p { color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-3); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.field .req { color: var(--tack-lo); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.0625rem; box-shadow: inset 0 1px 2px rgba(var(--shadow-rgb), .05); transition: border-color var(--t-micro) var(--ease-micro), box-shadow var(--t-micro) var(--ease-micro); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(213, 123, 69, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__error { min-height: 1.2em; font-size: var(--fs-small); color: var(--err); margin: 0; }
.field__hint { font-size: var(--fs-micro); color: var(--muted); margin: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); font-size: 1rem; transition: background-color var(--t-micro), border-color var(--t-micro); }
.choice input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--tack); outline-offset: 2px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-small); color: var(--muted); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; margin: 0; padding: var(--s-2) var(--s-3); border-radius: var(--r); font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { background: rgba(46, 107, 78, .1); color: var(--ok); border: 1px solid var(--ok); }
.form__status.is-err { background: rgba(163, 50, 28, .08); color: var(--err); border: 1px solid var(--err); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 720ms linear infinite; display: none; }
.btn.is-busy .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-7); align-items: start; }
.form-card { background: var(--white); padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-radius: var(--r); box-shadow: var(--sh-3); position: relative; }
.form-card > .trim { position: absolute; left: var(--s-4); right: var(--s-4); top: -6px; width: auto; }

/* Contact detail list */
.contact-list { list-style: none; padding: 0; margin: var(--s-4) 0; display: grid; gap: var(--s-3); }
.contact-list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--tack); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font-size: var(--fs-micro); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); font-weight: 600; }
.section--navy .contact-list strong { color: var(--muted-on-navy); }
.contact-list a { text-decoration: none; } .contact-list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours td { padding: .45rem 0; border-bottom: 1px dashed var(--rule); }
.hours td:last-child { text-align: right; }
.map { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: var(--r); box-shadow: var(--sh-2); background: var(--ticking-2); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--muted-on-navy); padding-top: var(--s-8); font-size: 1rem; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: var(--s-5); padding-bottom: var(--s-6); }
.label-tag { display: inline-block; background: var(--white); padding: 14px 18px; border-radius: var(--r); box-shadow: var(--sh-2); position: relative; margin-bottom: var(--s-3); }
.label-tag::after { content: ""; position: absolute; inset: 5px; border: 1px dashed var(--rule); border-radius: 2px; pointer-events: none; }
.label-tag img { height: 56px; width: auto; }
.footer h2 { font: 600 var(--fs-micro)/1.2 var(--f-body); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--white); margin: 0 0 var(--s-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer address { font-style: normal; line-height: 1.7; }
.footer .social { display: flex; gap: var(--s-1); margin-top: var(--s-3); }
.footer .social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule-on-navy); border-radius: var(--r); color: var(--white); }
.footer .social a:hover { background: var(--tack); color: var(--ink); border-color: var(--tack); text-decoration: none; }
.footer .social svg { width: 18px; height: 18px; }
.footer .hours td { border-bottom-color: var(--rule-on-navy); }
.footer__bottom { border-top: 1px solid var(--rule-on-navy); padding-block: var(--s-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); font-size: var(--fs-small); }
.footer__bottom a { color: var(--tack-hi); }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Demo popup ---------- */
.demo-pop { width: min(560px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--white); overflow: visible; }
.demo-pop::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.demo-pop__card { position: relative; overflow: hidden; padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r); background: var(--glass-navy); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid rgba(255,255,255,.22); box-shadow: var(--sh-3); }
.demo-pop__card::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(255,255,255,.28); border-radius: 2px; pointer-events: none; }
.demo-pop h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.demo-pop p { color: var(--ticking); }
.demo-pop .eyebrow { color: var(--tack-hi); }
.demo-pop__badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 var(--s-4); }
.demo-pop__badges li { font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); }
.demo-pop__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.demo-pop__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.demo-pop__close svg { width: 18px; }
.demo-pop[open] .demo-pop__card { animation: pop-in 720ms var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveals ---------- */
.js [data-reveal]:not(.trim) { opacity: 0; transform: translateY(28px); }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.js [data-reveal].is-in:not(.trim) { opacity: 1; transform: none; transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); transition: clip-path var(--t-mask) var(--ease-mask); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { max-width: 14ch; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero .container { grid-template-columns: 1fr; gap: var(--s-5); padding-block: var(--s-6); }
  .hero__media { min-height: 0; aspect-ratio: 4/3; margin-left: 14%; }
  .hero__inset { left: -18%; width: 40%; }
  .rating-chip { right: 8px; top: -26px; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .swatches > .swatch-wrap:nth-child(2) { margin-top: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-5); }
  .steps::before { display: none; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .split--rev, .form-wrap, .ba, .heritage, .page-hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .ba__stage { justify-self: start; }
  .sticky-aside { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --head-h: 68px; --fs-body: 1.0625rem; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand img { height: 44px; }
  .is-scrolled .brand img { height: 38px; }
  .is-scrolled .header .container { height: 58px; }
  .s-head { grid-template-columns: 1fr; gap: var(--s-2); margin-bottom: var(--s-5); }
  .swatches, .review-grid, .cards, .cards--2, .related { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__media { margin-left: 18%; }
  .heritage__img .layer-b { right: 0; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(var(--shadow-rgb), .10); }
  .mobile-bar a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: var(--r); font-weight: 600; text-decoration: none; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mobile-bar__call { background: var(--navy); color: var(--white); }
  .mobile-bar__wa { background: var(--tack); color: var(--ink); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Device tiering: touch / low-power drop tilt and parallax (set by JS) */
.tier-reduced .rating-chip { animation: none; }

/* Minimal tier: no motion at all, final state immediately */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="mask"], .js .trim[data-reveal], .js .hero h1 .line > span, .js .hero__frame,
  .js .hero .eyebrow, .js .hero .lede, .js .hero__actions, .js .hero__inset, .js .rating-chip { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}
@media print { .site-head, .mobile-bar, .demo-pop, .footer, .cta-band { display: none !important; } }
