/* Shutter World. Design plan: _work/design-plan.md. Surfaces 8px, buttons 3px. */
@font-face { font-family: 'Castoro'; src: url('../fonts/castoro-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Castoro'; src: url('../fonts/castoro-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Castoro-fb'; src: local('Georgia'); size-adjust: 100.7%; }
@font-face { font-family: 'Castoro-fb'; src: local('Georgia Italic'), local('Georgia-Italic'); font-style: italic; size-adjust: 94.7%; }
@font-face { font-family: 'Instrument-fb'; src: local('Arial'); font-weight: 400; size-adjust: 101.4%; }
@font-face { font-family: 'Instrument-fb'; src: local('Arial'); font-weight: 500; size-adjust: 104.2%; }
@font-face { font-family: 'Instrument-fb'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 700; size-adjust: 97.6%; }
/* first-screen text waits for the web fonts (at most 1.5 s), so nothing jumps when they swap in */
.wf .nav, .wf .hdr__cta, .wf .hero__copy, .wf .tblock, .wf .ho-block, .wf .ct-open__copy, .wf .ct-card { visibility: hidden; }

:root {
  --graphite: #1C2125; --graphite-2: #252C31; --graphite-3: #2F373D;
  --ink: #15304A; --ink-2: #1C3C5B;
  --silver: #B7C0C6; --silver-hi: #E3E8EB; --silver-lo: rgba(183, 192, 198, .28);
  --paper: #F7F7F4; --mist: #E2E9ED; --white: #fff;
  --oak: #B5814F; --oak-hi: #C99668; --oak-deep: #7E5530; --oak-tint: #F2EADF;
  --text: #1A1F23; --muted: #4B555C; --muted-d: #AEB7BD;
  --r: 8px; --rb: 3px;
  --hdr: 96px;
  --wrap: 1320px; --gut: clamp(16px, 3.4vw, 48px);
  --f-d: 'Castoro', 'Castoro-fb', Georgia, serif;
  --f-b: 'Instrument Sans', 'Instrument-fb', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --media-cap: min(76vh, 760px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-b); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; display: flow-root; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--oak-deep); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--oak-hi); }
h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
h2 em { display: block; }
.state__h em { display: block; }
h3 { font-size: clamp(1.35rem, 1.7vw, 1.85rem); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.06rem, 1.2vw, 1.18rem); line-height: 1.6; color: var(--muted); }
.on-dark { color: var(--silver-hi); }
.on-dark .lede { color: var(--muted-d); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--oak); color: var(--graphite); padding: 10px 16px; border-radius: var(--rb); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; }
.sec { padding: clamp(72px, 9vw, 132px) 0; position: relative; overflow: clip; isolation: isolate; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec__head .lede { margin: 0; }
.sec__head--solo { grid-template-columns: 1fr; }

/* breadcrumbs sit above the padded line masks of the heading below them, so their links stay clickable */
nav[aria-label="Breadcrumb"] { position: relative; z-index: 3; }

/* heading line masks (frontend-design recipe; Castoro is modest, .2em top is enough) */
.ln-mask { padding: .2em .15em .5em; margin: -.7em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.2em; }

/* ---------- textures (every section carries one) ---------- */
.tex-grid { background-color: var(--paper); background-image:
  linear-gradient(rgba(21, 48, 74, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 48, 74, .07) 1px, transparent 1px),
  linear-gradient(rgba(21, 48, 74, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 48, 74, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.tex-grid--dark { background-color: var(--graphite); background-image:
  linear-gradient(rgba(183, 192, 198, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .07) 1px, transparent 1px),
  linear-gradient(rgba(183, 192, 198, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .03) 1px, transparent 1px); }
.tex-grid--ink { background-color: var(--ink); background-image:
  linear-gradient(rgba(183, 205, 225, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 205, 225, .1) 1px, transparent 1px),
  linear-gradient(rgba(183, 205, 225, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 205, 225, .045) 1px, transparent 1px); }
.tex-light { background-color: var(--mist); }
.tex-light::before, .tex-light-paper::before { content: ''; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-28deg, rgba(255, 255, 255, 0) 0 34px, rgba(255, 255, 255, .8) 34px 52px);
  -webkit-mask: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); mask: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  animation: louvreDrift 14s ease-in-out infinite alternate; }
.tex-light-paper { background-color: var(--paper); }
.tex-light-paper::before { background: repeating-linear-gradient(-28deg, rgba(181, 129, 79, 0) 0 34px, rgba(181, 129, 79, .1) 34px 52px); }
@keyframes louvreDrift { 0% { transform: translate3d(0, 0, 0); opacity: .7; } 100% { transform: translate3d(-8%, 5%, 0); opacity: 1; } }
.tex-plan { background-color: var(--oak-tint); }
.tex-plan .plan-wash { position: absolute; inset: -6%; z-index: -1; opacity: .13; mix-blend-mode: multiply; pointer-events: none; }
.tex-plan .plan-wash img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.tex-grid::after, .tex-grid--ink::after, .tex-light::after, .tex-light-paper::after { content: ''; position: absolute; inset: -4%; z-index: -1; pointer-events: none; background: center / cover no-repeat; animation: texBreathe 18s ease-in-out infinite alternate; }
.tex-grid::after { background-image: url('../img/tex/plan-drawings-light-1600.webp'); opacity: .1; mix-blend-mode: multiply; }
.tex-grid--dark::after { background-image: url('../img/tex/plan-drawings-dark-1600.webp'); opacity: .06; mix-blend-mode: screen; }
.tex-grid--ink::after { background-image: url('../img/tex/plan-drawings-dark-1600.webp'); opacity: .1; mix-blend-mode: screen; }
.tex-light::after, .tex-light-paper::after { background-image: url('../img/tex/sunlight-through-louvres-wall-1600.webp'); opacity: .32; mix-blend-mode: multiply; }
.tex-light-paper::after { opacity: .22; }
@keyframes texBreathe { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); } }
.rm .tex-grid::after, .rm .tex-grid--ink::after, .rm .tex-light::after, .rm .tex-light-paper::after { animation: none; }
.ftr { isolation: isolate; }
.drift { animation: gridDrift 40s linear infinite; }
@keyframes gridDrift { to { background-position: 120px 120px, 120px 120px, 24px 24px, 24px 24px; } }
.rm .drift, .rm .tex-light::before, .rm .tex-light-paper::before { animation: none; }

/* photo bands */
.band { color: var(--silver-hi); background: var(--graphite); }
.band__bg { position: absolute; inset: -12% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 24, 27, .9) 0%, rgba(20, 24, 27, .72) 45%, rgba(20, 24, 27, .45) 100%); }

/* ---------- buttons ---------- */
.btn { --bg: var(--graphite); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.5em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: var(--rb); font: 600 1rem/1 var(--f-b); letter-spacing: .01em;
  text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn--oak { --bg: var(--oak); --fg: var(--graphite); }
.btn--oak:hover, .btn--oak:focus-visible { color: var(--oak-hi); }
.btn--oak::before { background: var(--graphite); }
.btn--ghost { --bg: transparent; --fg: var(--silver-hi); border-color: rgba(227, 232, 235, .45); }
.btn--ghost::before { background: var(--silver-hi); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--graphite); }
.btn--line { --bg: transparent; --fg: var(--text); border-color: rgba(26, 31, 35, .4); }
.btn--line::before { background: var(--graphite); }
.btn--line:hover, .btn--line:focus-visible { color: #fff; }
.btn .arr { width: 18px; height: 10px; flex: none; }
.btn .arr path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.link { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; text-decoration: none; padding: .3em 0; min-height: 44px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arr { width: 18px; height: 10px; } .link .arr path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(28, 33, 37, .97); color: var(--silver-hi); transition: transform .5s var(--ease), box-shadow .3s; border-bottom: 1px solid rgba(183, 192, 198, .14); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); padding: 0 clamp(16px, 2.6vw, 40px); transition: height .4s var(--ease); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { height: 70px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .hdr__in { height: 74px; }
.is-scrolled .hdr__logo img { height: 52px; }
.is-scrolled .hdr { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hdr--hide { transform: translateY(-100%); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 12px 10px; font-size: .97rem; font-weight: 500; text-decoration: none; color: var(--silver-hi); position: relative; }
.nav__link::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 1px; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__item:hover .nav__link::after, .nav__item.is-active .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__toggle { width: 24px; height: 44px; margin-left: -8px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.nav__toggle svg { width: 10px; height: 7px; fill: none; stroke: var(--silver); stroke-width: 1.6; transition: transform .3s; }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: -12px; padding-top: 14px; visibility: hidden; pointer-events: none; }
.nav__item.is-open > .sub { visibility: visible; pointer-events: auto; }
.sub__in { background: var(--graphite-2); border: 1px solid rgba(183, 192, 198, .18); border-radius: var(--r); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); padding: 10px; clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path .45s var(--ease); }
.nav__item.is-open .sub__in { clip-path: inset(0 0 0 0 round var(--r)); }
.sub__list { list-style: none; margin: 0; padding: 0; min-width: 250px; }
.sub__list a { white-space: nowrap; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 14px; border-radius: calc(var(--r) - 4px); text-decoration: none; font-size: .98rem; color: var(--silver-hi); }
.sub__list a small { color: var(--oak-hi); font-size: .875rem; font-variant-numeric: tabular-nums; }
.sub__list a:hover, .sub__list a:focus-visible, .mega__grid a:hover, .mega__grid a:focus-visible { background: rgba(183, 192, 198, .1); }
.sub__list a[aria-current], .mega__grid a[aria-current] { color: var(--oak-hi); }
.ext { color: var(--oak-hi); }
.is-mega .sub { left: 50%; transform: translateX(-50%); }
.mega { display: grid; grid-template-columns: 260px 1fr; gap: 14px; width: min(760px, 86vw); }
.mega__all { display: block; text-decoration: none; position: relative; border-radius: calc(var(--r) - 4px); overflow: hidden; min-height: 300px; }
.mega__fig, .mega__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__all::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(20, 24, 27, .92)); }
.mega__t, .mega__d { position: absolute; left: 16px; right: 16px; z-index: 1; }
.mega__t { bottom: 46px; font: 400 1.5rem/1.1 var(--f-d); color: #fff; }
.mega__d { bottom: 16px; font-size: .9rem; color: var(--silver-hi); line-height: 1.35; }
.mega__grid { list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; align-content: start; }
.mega__grid a { display: block; padding: 9px 12px; border-radius: calc(var(--r) - 4px); text-decoration: none; font-size: .96rem; color: var(--silver-hi); }
.hdr__cta { display: flex; align-items: center; gap: 18px; }
.hdr__tel { min-height: 44px; display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr__tel svg { width: 18px; height: 18px; fill: var(--oak); }
.hdr__book { min-height: 46px; min-width: 228px; }
/* the phone number keeps the web font's width while the fallback shows, so the nav never moves on the font swap */
.hdr__tel span { display: inline-block; min-width: 120px; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid rgba(183, 192, 198, .35); border-radius: var(--rb); background: transparent; position: relative; }
.burger__l, .burger__l::before, .burger__l::after { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--silver-hi); transition: transform .4s var(--ease), opacity .3s; }
.burger__l { top: 23px; } .burger__l::before { content: ''; left: 0; right: 0; top: -7px; } .burger__l::after { content: ''; left: 0; right: 0; top: 7px; }
.burger[aria-expanded="true"] .burger__l { background: transparent; }
.burger[aria-expanded="true"] .burger__l::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__l::after { transform: translateY(-7px) rotate(-45deg); }
.mnav { position: fixed; inset: var(--hdr) 0 0; z-index: 90; background: var(--graphite); color: var(--silver-hi); padding: 16px var(--gut) 32px; overflow-y: auto; overscroll-behavior: contain; }
.mnav[hidden] { display: none; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__item { border-bottom: 1px solid rgba(183, 192, 198, .16); }
.mnav__link, .mnav__acc { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 2px; font: 400 1.6rem/1.2 var(--f-d); text-decoration: none; background: none; border: 0; text-align: left; color: var(--silver-hi); }
.mnav__acc svg { width: 14px; height: 9px; fill: none; stroke: var(--oak); stroke-width: 1.6; transition: transform .3s; }
.mnav__acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0; padding: 0 0 14px; columns: 2; column-gap: 16px; }
.mnav__sub a { display: block; padding: 9px 0; text-decoration: none; color: var(--muted-d); font-size: 1rem; }
.mnav__foot { margin-top: 28px; display: grid; gap: 14px; }
.mnav__tel { display: flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.mnav__foot p { margin: 0; color: var(--muted-d); }
.menu-open { overflow: hidden; }
@media (max-width: 1320px) {
  .nav, .hdr__tel span { display: none; }
  .burger { display: block; }
  .hdr__cta { margin-left: auto; }
}
@media (max-width: 1400px) and (min-width: 1321px) { .hdr__tel span { display: none; } }
@media (max-width: 1400px) and (min-width: 600px) { .hdr__tel { width: 48px; height: 48px; justify-content: center; border: 1px solid rgba(183, 192, 198, .35); border-radius: var(--rb); } }
/* phones: Call and Book stay to hand at the foot of the screen once the visitor has scrolled past the first screen */
.mbar { display: none; }
@media (max-width: 600px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(28, 33, 37, .97); border-top: 1px solid rgba(183, 192, 198, .2);
    box-shadow: 0 -12px 30px rgba(14, 18, 21, .25); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .mbar.is-on, .no-js .mbar { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .rm .mbar { transition: none; }
  .mbar__tel { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(183, 192, 198, .35); border-radius: var(--rb); color: var(--silver-hi); font-weight: 600; text-decoration: none; }
  .mbar__tel svg { width: 18px; height: 18px; fill: var(--oak); }
  .mbar__book { min-height: 48px; padding-left: 12px; padding-right: 12px; justify-content: center; white-space: nowrap; font-size: clamp(.86rem, 3.9vw, 1rem); }
  body:not(.page-calculator) .ftr__base { padding-bottom: calc(var(--mbar-h, 68px) + 28px); }
  .ar-side { transition: bottom .45s var(--ease); }
  .mbar-on .ar-side { bottom: var(--mbar-h, 68px); }
}
@media (max-width: 600px) {
  :root { --hdr: 72px; }
  .hdr__logo img { height: 50px; }
  .is-scrolled .hdr__logo img { height: 46px; }
  .is-scrolled .hdr__in { height: 64px; }
  .hdr__book, .hdr__tel { display: none; }
}

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); }
.js .rv-img { clip-path: inset(0 0 100% 0 round var(--r)); }
.no-js .rv, .rm .rv, .reveal-safe .rv:not(.is-in) { opacity: 1; transform: none; }
.no-js .rv-img, .rm .rv-img, .reveal-safe .rv-img:not(.is-in) { clip-path: none; }

/* drawn frame around images: corner ticks + a dimension line */
.frame { position: relative; }
.tk { position: absolute; width: 18px; height: 18px; border: 0 solid var(--oak); pointer-events: none; z-index: 3; }
.on-dark .tk, .frame--silver .tk { border-color: var(--silver); }
.tk--tl { left: -9px; top: -9px; border-width: 1.5px 0 0 1.5px; }
.tk--tr { right: -9px; top: -9px; border-width: 1.5px 1.5px 0 0; }
.tk--bl { left: -9px; bottom: -9px; border-width: 0 0 1.5px 1.5px; }
.tk--br { right: -9px; bottom: -9px; border-width: 0 1.5px 1.5px 0; }
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--graphite-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- HERO (home) ---------- */
.hero { overflow: clip; isolation: isolate; min-height: 100svh; padding: calc(var(--hdr) + 22px) clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px); color: var(--silver-hi); display: flex; }
.hero__sheet { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid rgba(183, 192, 198, .22); border-radius: var(--r); }
.hero__sheet::before, .hero__sheet::after { content: ''; position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--oak); pointer-events: none; }
.hero__sheet::before { left: -6px; top: -6px; border-right: 0; border-bottom: 0; }
.hero__sheet::after { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }
.hero__copy { padding: clamp(28px, 3.4vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 0; }
.hero__h { font-size: clamp(2.5rem, 3.75vw, 4.6rem); line-height: 1.02; color: #fff; margin-bottom: .45em; }
.hero__h em { display: block; color: var(--oak-hi); }
.hero__lede { font-size: clamp(1.06rem, 1.18vw, 1.2rem); color: var(--muted-d); margin-bottom: 2em; }
.hero__proof { list-style: none; margin: clamp(28px, 3.4vw, 48px) 0 0; padding: 18px 0 0; border-top: 1px solid rgba(183, 192, 198, .2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hero__proof li { font-size: .9rem; line-height: 1.3; color: var(--muted-d); }
.hero__proof li span { display: block; min-height: 2.6em; }
.hero__proof b { display: block; font: 400 clamp(1.5rem, 1.9vw, 2rem)/1 var(--f-d); color: #fff; margin-bottom: 6px; font-variant-numeric: lining-nums; }
.hero__stage { position: relative; padding: 14px 14px 14px 0; display: flex; }
.hero__frame { position: relative; flex: 1; overflow: hidden; contain: paint; border-radius: var(--r); background: var(--graphite-2); min-height: 420px; }
.hs { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.hs.is-on { visibility: visible; }
.hs__veil { position: absolute; inset: 0; background-color: #1A2024; background-image:
  linear-gradient(rgba(183, 192, 198, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .09) 1px, transparent 1px),
  linear-gradient(rgba(183, 192, 198, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; }
.hs__fit { position: absolute; inset: 0; will-change: transform; }
.hs__fit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .hs__fit img { object-fit: fill; }
.hs__draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 1.5px rgba(10, 14, 17, .7)); }
.hs__draw path, .hs__draw line, .hs__draw ellipse { fill: none; stroke: var(--silver-hi); stroke-width: calc(var(--u, .8) * 1.5); stroke-linecap: round; }
.hs__draw .lv { stroke-width: calc(var(--u, .8) * .8); opacity: .55; }
.hs__draw .dim { stroke: var(--oak-hi); stroke-width: calc(var(--u, .8) * 1.3); }
.no-js .hs__draw, .rm .hs__draw { opacity: .7; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 24, 27, 0) 55%, rgba(20, 24, 27, .55)); z-index: 3; }
.xhair { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s; }
.xhair.is-on { opacity: 1; }
.xhair__h, .xhair__v { position: absolute; background: rgba(227, 232, 235, .55); }
.xhair__h { left: 0; right: 0; height: 1px; top: 0; }
.xhair__v { top: 0; bottom: 0; width: 1px; left: 0; }
.xhair__o { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1px solid var(--oak-hi); border-radius: 50%; left: 0; top: 0; }
.tblock { position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 5; width: min(520px, calc(100% - 28px)); background: rgba(28, 33, 37, .94); border: 1px solid rgba(183, 192, 198, .3); border-radius: var(--r); display: grid; grid-template-columns: auto 1fr auto; backdrop-filter: blur(6px); }
.tblock > * { padding: 12px 16px; }
.tblock__k { display: block; font-size: .875rem; font-weight: 600; font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); margin-bottom: 2px; }
.tblock__sheet { border-right: 1px solid rgba(183, 192, 198, .25); }
.tblock__n { font: 400 1.7rem/1 var(--f-d); color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.tblock__n small { font-size: .95rem; color: var(--silver); }
.tblock__cap { min-width: 0; }
.tblock__t { display: block; font: 400 1.18rem/1.2 var(--f-d); color: #fff; }
.tblock__d { display: block; font-size: .92rem; color: var(--muted-d); line-height: 1.35; margin-top: 2px; }
.tblock__ctl { display: flex; gap: 6px; align-items: center; border-left: 1px solid rgba(183, 192, 198, .25); }
.tblock__ctl button { width: 44px; height: 44px; border: 1px solid rgba(183, 192, 198, .35); border-radius: var(--rb); background: transparent; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.tblock__ctl button:hover, .tblock__ctl button:focus-visible { background: var(--oak); border-color: var(--oak); }
.tblock__ctl button:hover svg path, .tblock__ctl button:focus-visible svg path { stroke: var(--graphite); }
.tblock__ctl svg { width: 16px; height: 12px; } .tblock__ctl svg path { fill: none; stroke: var(--silver-hi); stroke-width: 1.6; }
.tblock__bar { grid-column: 1 / -1; padding: 0 !important; height: 3px; background: rgba(183, 192, 198, .14); overflow: hidden; border-radius: 0 0 var(--r) var(--r); }
.tblock__bar i { display: block; height: 100%; width: 100%; background: var(--oak); transform: scaleX(0); transform-origin: left; }
@media (max-width: 980px) {
  .hero { padding-top: calc(var(--hdr) + 12px); }
  .hero__sheet { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .hero__stage { order: -1; padding: 10px 10px 0; height: 50svh; min-height: 340px; }
  .hero__frame { min-height: 0; }
  .hero__copy { padding: 26px 18px 22px; }
  .hero__h { font-size: clamp(2.3rem, 9vw, 3.6rem); }
  .hero__lede { margin-bottom: 1.4em; }
  .hero__copy .btns { flex-direction: column; align-items: stretch; }
  .hero__proof { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .tblock { left: 10px; right: 10px; bottom: 10px; width: auto; grid-template-columns: auto 1fr auto; }
  .tblock > * { padding: 9px 11px; }
  .tblock__d, .tblock__cap .tblock__k { display: none; }
  .tblock__cap { display: flex; align-items: center; }
  .tblock__t { font-size: 1.02rem; line-height: 1.2; }
  .tblock__n { font-size: 1.35rem; }
  .tblock__ctl button { width: 44px; height: 44px; }
}

/* ---------- RANGES (home) ---------- */
.ranges__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; }
.rcard { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.rcard .frame, .rcard .ph, .rcard__body { display: block; }
.rcard .ph { aspect-ratio: 4 / 5; }
.sheen::after { content: ''; position: absolute; inset: -10% -60%; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(-28deg, transparent 0 22px, rgba(255, 255, 255, .16) 22px 30px, transparent 30px 52px);
  -webkit-mask: linear-gradient(90deg, transparent 30%, #000 45%, #000 55%, transparent 70%); mask: linear-gradient(90deg, transparent 30%, #000 45%, #000 55%, transparent 70%);
  transform: translateX(-60%); animation: sheen 4.6s var(--ease) infinite; animation-delay: var(--sd, 0s); }
@keyframes sheen { 0%, 10% { transform: translateX(-60%); } 90%, 100% { transform: translateX(60%); } }
.rm .sheen::after { animation: none; opacity: 0; }
.rcard .ph img { transition: transform 1.1s var(--ease); }
.rcard:hover .ph img, .rcard:focus-visible .ph img { transform: scale(1.06); }
.rcard__price { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(28, 33, 37, .9); color: #fff; padding: 7px 10px; border-radius: calc(var(--r) - 3px); font-size: .9rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.rcard__price b { color: var(--oak-hi); font-weight: 600; }
.rcard__body { padding: 18px 2px 0; }
.rcard__dim { display: block; height: 10px; margin: 0 0 14px; position: relative; }
.rcard__dim::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--oak); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.rcard__dim::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 9px; background: var(--oak); }
.rcard:hover .rcard__dim::before, .rcard:focus-visible .rcard__dim::before { transform: scaleX(1); }
.rcard h3 { font-size: clamp(1.45rem, 1.7vw, 1.8rem); margin-bottom: .35em; }
.rcard p { font-size: .97rem; color: var(--muted); margin: 0 0 .7em; line-height: 1.5; }
.rcard__for { font-size: .92rem !important; color: var(--oak-deep) !important; font-weight: 600; }
.ranges__foot { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(21, 48, 74, .14); padding-top: 24px; }
.ranges__foot p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .ranges__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .ranges__grid { grid-template-columns: 1fr; gap: 18px; }
  .rcard { display: grid; grid-template-columns: 38% 1fr; gap: 16px; align-items: start; }
  .rcard__price { left: 6px; top: 6px; font-size: .875rem; padding: 5px 7px; }
  .rcard__body { padding-top: 0; }
  .rcard__dim { margin-bottom: 8px; }
  .rcard h3 { font-size: 1.4rem; }
  .sec__head { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- STATEMENT (home) ---------- */
.state { min-height: 92vh; display: flex; align-items: center; }
.state__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
.state__h { font-size: clamp(2rem, 3.6vw, 3.8rem); line-height: 1.14; color: #fff; }
.state__h .w { color: rgba(227, 232, 235, .26); transition: color .2s; }
.state__h .w.is-lit { color: #fff; }
.state__h .w.is-oak { color: var(--oak-hi); }
.no-js .state__h .w, .rm .state__h .w { color: #fff; }
.state__row { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; border-top: 1px solid rgba(227, 232, 235, .25); padding-top: 28px; }
.state__row p { margin: 0; color: var(--muted-d); }
.stat b { display: block; font: 400 clamp(2.4rem, 3.6vw, 3.6rem)/1 var(--f-d); color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.stat span { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted-d); }
@media (max-width: 800px) { .state__row { grid-template-columns: 1fr 1fr; } .state__row p { grid-column: 1 / -1; } .state { min-height: 0; } }

/* ---------- SHAPES (home) ---------- */
.shapes__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.shapes__tabs { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(183, 205, 225, .2); }
.shapes__tab { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 10px 4px; background: none; border: 0; border-bottom: 1px solid rgba(183, 205, 225, .2); text-align: left; color: var(--muted-d); position: relative; }
.shapes__tab svg { width: 30px; height: 30px; } .shapes__tab svg path { fill: none; stroke: currentColor; stroke-width: 6; }
.shapes__tab span { font: 400 clamp(1.25rem, 1.6vw, 1.6rem)/1.1 var(--f-d); transition: color .3s, transform .4s var(--ease); }
.shapes__tab i { font-style: normal; font-size: .875rem; color: var(--silver); opacity: .55; transition: opacity .3s; }
.shapes__tab::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--oak); transform: scaleX(var(--p, 0)); transform-origin: left; }
.shapes__tab[aria-selected="true"] { color: #fff; }
.shapes__tab[aria-selected="true"] span { transform: translateX(6px); }
.shapes__tab[aria-selected="true"] i { opacity: 1; }
.shapes__tab:hover { color: #fff; }
.shapes__copy { min-height: 7.5em; }
.shapes__copy p { color: var(--muted-d); margin-bottom: 14px; }
.shapes__copy .link { color: var(--oak-hi); }
.shapes__stage { position: relative; height: min(66vh, 620px); }
#shapes, #reviews { padding: clamp(64px, 6.5vw, 96px) 0; }
.shapes__photo { position: absolute; right: 0; top: 0; width: 100%; height: 82%; }
.shapes__photo .ph { position: absolute; inset: 0; }
.shapes__photo .ph img { position: absolute; inset: 0; }
.shapes__pic { position: absolute; inset: 0; opacity: 0; }
.shapes__pic.is-on { opacity: 1; }
.no-js .shapes__pic:first-child { opacity: 1; }
.shapes__draw { position: absolute; left: -18px; bottom: 0; width: 40%; aspect-ratio: 1; background: rgba(21, 48, 74, .92); border: 1px solid rgba(183, 205, 225, .35); border-radius: var(--r); padding: 6%; z-index: 2; box-shadow: 0 30px 60px rgba(6, 18, 30, .4); }
.shapes__draw svg { width: 100%; height: 100%; overflow: visible; }
.shapes__draw .sh-out { fill: rgba(227, 232, 235, .04); stroke: var(--silver-hi); stroke-width: 1.7; }
.shapes__draw .sh-lv line { stroke: var(--silver); stroke-width: 1; opacity: .5; vector-effect: non-scaling-stroke; }
.shapes__draw .sh-dim { fill: none; stroke: var(--oak-hi); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.shapes__label { position: absolute; left: 6%; top: 5%; font-size: .875rem; font-weight: 600; font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
@media (max-width: 900px) {
  .shapes__grid { grid-template-columns: 1fr; }
  .shapes__stage { height: auto; aspect-ratio: 1 / 1; order: -1; }
}

/* ---------- PREVIEW / before-after (home) ---------- */
.pv__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ba { position: relative; aspect-ratio: 982 / 794; width: min(100%, calc(var(--media-cap) * 1.237)); border-radius: var(--r); overflow: hidden; background: var(--graphite-3); touch-action: pan-y; user-select: none; }
.ba 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(--x, 50%)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ba__handle { position: absolute; top: 50%; left: var(--x, 50%); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: var(--rb); background: #fff; border: 0; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: ew-resize; }
.ba__handle svg { width: 22px; height: 12px; } .ba__handle path { fill: none; stroke: var(--graphite); stroke-width: 1.8; }
.ba__tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: calc(var(--r) - 3px); background: rgba(28, 33, 37, .86); color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-stretch: 85%; }
.ba__tag--b { left: 14px; } .ba__tag--a { right: 14px; }
.ba__set { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.ba__set.is-on { opacity: 1; visibility: visible; }
.pv__rooms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.pv__rooms button { min-height: 44px; padding: 0 16px; border: 1px solid rgba(26, 31, 35, .25); border-radius: var(--rb); background: rgba(255, 255, 255, .6); font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.pv__rooms button[aria-selected="true"], .pv__rooms button:hover { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.pv__note { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .pv__grid { grid-template-columns: 1fr; } }

/* ---------- STEPS (home) ---------- */
.steps { position: relative; }
.steps { --sg: clamp(20px, 3vw, 44px); }
.steps__line { position: absolute; left: 20px; right: calc((100% - 2 * var(--sg)) / 3 - 20px); top: 8px; height: 24px; transform-origin: left center; }
.steps__line svg { width: 100%; height: 100%; overflow: visible; }
.steps__line path { fill: none; stroke: var(--oak-deep); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sg); position: relative; }
.step__n { font: 400 1rem/1 var(--f-b); font-weight: 600; color: var(--oak-deep); display: grid; justify-items: start; gap: 12px; margin-bottom: 18px; position: relative; z-index: 1; }
.step__n b { display: grid; place-items: center; width: 40px; height: 40px; border: 1.4px solid var(--oak-deep); border-radius: var(--rb); font-variant-numeric: tabular-nums; background: var(--oak-tint); }
.step .ph { aspect-ratio: 16 / 10; margin-bottom: 22px; }
.step h3 { margin-bottom: .45em; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps__grid { grid-template-columns: 1fr; } .steps__line { display: none; } }

/* ---------- REVIEWS (home) ---------- */
.rev__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; margin-bottom: clamp(36px, 4vw, 56px); }
.rev__feat { font: 400 clamp(1.3rem, 1.75vw, 1.75rem)/1.34 var(--f-d); margin: 0; color: var(--text); }
.rev__feat::before { content: '\201C'; display: block; font-size: 4.2em; line-height: .6; color: var(--oak); height: .42em; }
.rev__who { margin-top: 18px; font-size: .98rem; color: var(--muted); }
.rev__who b { color: var(--text); }
.score { background: var(--graphite); color: var(--silver-hi); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); position: relative; overflow: hidden; }
.score__n { font: 400 clamp(3.6rem, 6vw, 5.6rem)/1 var(--f-d); color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.score__n small { font-size: .4em; color: var(--silver); }
.score__stars { display: flex; gap: 4px; margin: 14px 0; }
.score__stars svg { width: 26px; height: 26px; fill: var(--oak); }
.score p { margin: 0 0 18px; color: var(--muted-d); }
.score .link { color: var(--oak-hi); }
.rev__track { overflow: hidden; margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 18px; cursor: grab; }
.rev__row { display: flex; gap: 18px; width: max-content; }
.no-js .rev__row, .rm .rev__row { flex-wrap: wrap; width: auto; justify-content: center; }
.no-js .rcd[aria-hidden], .rm .rcd[aria-hidden] { display: none; }
/* without the moving strip, six reviews sit in two rows; the rest are on Trustpilot, linked above */
.no-js .rcd:nth-child(n+7), .rm .rcd:nth-child(n+7) { display: none; }
.rcd__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.rcd__stars svg { width: 16px; height: 16px; fill: var(--oak); }
.score__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__proof a { display: block; color: inherit; text-decoration: none; }
.hero__proof a span { text-decoration: underline; text-decoration-color: rgba(183, 192, 198, .45); text-underline-offset: 4px; transition: text-decoration-color .3s, color .3s; }
.hero__proof a:hover span, .hero__proof a:focus-visible span { color: #fff; text-decoration-color: var(--oak-hi); }
a.stat--link { display: block; color: inherit; text-decoration: none; }
a.stat--link span { color: var(--silver-hi); text-decoration: underline; text-decoration-color: rgba(227, 232, 235, .35); text-underline-offset: 4px; transition: text-decoration-color .3s, color .3s; }
a.stat--link:hover span, a.stat--link:focus-visible span { color: #fff; text-decoration-color: var(--oak-hi); }
.no-js .rev__track, .rm .rev__track { padding-left: var(--gut); padding-right: var(--gut); }
.rcd { display: flex; flex-direction: column; width: min(400px, 78vw); flex: none; background: #fff; border: 1px solid rgba(21, 48, 74, .12); border-radius: var(--r); padding: 26px; box-shadow: 0 12px 30px rgba(21, 48, 74, .06); }
.rcd p { font-size: 1rem; line-height: 1.55; margin: 0 0 16px; color: var(--text); }
.rcd footer { margin-top: auto; font-size: .92rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.rcd footer b { color: var(--text); }
@media (max-width: 900px) { .rev__top { grid-template-columns: 1fr; } }

/* ---------- PRICE TEASER (home) ---------- */
.est__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.est__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.fld { display: grid; gap: 7px; }
.fld--full { grid-column: 1 / -1; }
.fld label, .fld .lbl { font-size: .92rem; font-weight: 600; }
.on-dark .fld label { color: var(--silver-hi); }
.inp { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r); border: 1px solid rgba(26, 31, 35, .25); background-color: #fff; color: var(--text); font: 400 1rem/1.3 var(--f-b); }
textarea.inp { min-height: 120px; resize: vertical; }
.on-dark .inp { background-color: rgba(255, 255, 255, .06); border-color: rgba(183, 205, 225, .35); color: #fff; }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23B5814F' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.on-dark select.inp option { color: var(--text); }
.inp:focus { outline: 2px solid var(--oak); outline-offset: 1px; }
.est__out { background: rgba(10, 26, 41, .55); border: 1px solid rgba(183, 205, 225, .28); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); }
.est__fig { font: 400 clamp(2.4rem, 4.4vw, 4.2rem)/1 var(--f-d); color: #fff; font-variant-numeric: tabular-nums lining-nums; margin: 6px 0 10px; }
.est__meta { color: var(--muted-d); font-size: .95rem; margin: 0 0 18px; }
.est__draw { height: clamp(220px, 32vh, 330px); margin-bottom: 20px; position: relative; }
.est__draw::after { content: ''; position: absolute; top: -6px; bottom: -6px; left: 0; width: 1px; background: linear-gradient(transparent, var(--oak-hi) 20%, var(--oak-hi) 80%, transparent); opacity: .75; animation: plot 5.5s cubic-bezier(.6, 0, .4, 1) infinite alternate; }
@keyframes plot { from { transform: translateX(0); } to { transform: translateX(calc(var(--pw, 400px) - 1px)); } }
.rm .est__draw::after { display: none; }
.est__draw svg { width: 100%; height: 100%; overflow: visible; }
.k { display: block; font-size: .875rem; font-weight: 600; font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
@media (max-width: 900px) { .est__grid { grid-template-columns: 1fr; } }

/* window drawing (shared: teaser + calculator) */
.wd-frame { fill: rgba(227, 232, 235, .04); stroke: var(--silver-hi); stroke-width: calc(var(--u, .5) * 1.6); }
.wd-panel { fill: none; stroke: var(--silver); stroke-width: calc(var(--u, .5) * 1.1); }
.wd-lv { fill: none; stroke: var(--silver); stroke-width: calc(var(--u, .5) * .7); opacity: .55; }
.wd-dim { fill: none; stroke: var(--oak-hi); stroke-width: calc(var(--u, .5) * 1.1); }
.wd-txt { fill: var(--oak-hi); font: 600 14px var(--f-b); font-variant-numeric: tabular-nums; }
.wd-sill { stroke: var(--silver-lo); stroke-width: calc(var(--u, .5) * 1); }

/* ---------- BOOK band + form ---------- */
.book__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.book__facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(227, 232, 235, .22); }
.book__facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(227, 232, 235, .22); }
.book__facts a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; color: #fff; font-weight: 600; text-decoration: none; }
.card-form { background: var(--paper); color: var(--text); border-radius: var(--r); padding: clamp(22px, 3vw, 44px); box-shadow: 0 40px 80px rgba(0, 0, 0, .3); position: relative; }
.card-form h3 { margin-bottom: 6px; color: var(--text); }
.card-form .fld label { color: var(--text); }
.card-form .inp { background-color: #fff; border-color: rgba(26, 31, 35, .25); color: var(--text); }
.card-form > p { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; scroll-margin-top: calc(var(--hdr) + 20px); }
.form .fld--full, .form .form-status, .form .form__go { grid-column: 1 / -1; }
.form[hidden] { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form__go p { margin: 0; font-size: .9rem; color: var(--muted); }
.form-status { margin: 0; padding: 14px 16px; border-radius: var(--r); font-weight: 500; }
.form-status--ok { background: #E3F0E6; color: #1E4A2A; }
.form-status--err { background: #F6E3E0; color: #6E2219; }
.fld .err { font-size: .92rem; font-weight: 600; color: #8A2A1E; }
.on-dark .fld .err { color: #F2B8AC; }
.card-form .fld .err { color: #8A2A1E; }
.inp[aria-invalid="true"] { border-color: #B0402E; box-shadow: 0 0 0 1px #B0402E; }
.form [aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } }
/* shared book band (inc/book.php): the form card's top edge is a dimension line that measures across */
.bk-card__dim { position: absolute; left: clamp(22px, 3vw, 44px); right: clamp(22px, 3vw, 44px); top: 14px; height: 9px; pointer-events: none; }
.bk-card__dim::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--oak); transform-origin: center; transform: scaleX(var(--d, 1)); }
.bk-card__dim::after { content: ''; position: absolute; inset: 0; border-left: 1px solid var(--oak); border-right: 1px solid var(--oak); }
.bk-card h3 { margin-top: 8px; }
@media (max-width: 560px) { .form, .est__form { grid-template-columns: 1fr; } .book__facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FOOTER ---------- */
.ftr { color: var(--silver-hi); padding: clamp(64px, 7vw, 104px) 0 0; position: relative; overflow: clip; }
.ftr.drift { animation-duration: 60s; }
.ftr__top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); }
.ftr__logo img { height: 70px; width: auto; }
.ftr__line { color: var(--muted-d); margin: 20px 0 24px; max-width: 26em; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 28px; }
.ftr__h { font: 600 .875rem/1 var(--f-b); font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-hi); margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr__col li { margin-bottom: 10px; line-height: 1.4; }
.ftr__col a { text-decoration: none; color: var(--silver-hi); background: linear-gradient(var(--oak), var(--oak)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.ftr__col a:hover, .ftr__col a:focus-visible { background-size: 100% 1px; }
.ftr__col a.ftr__big { padding: 8px 0; }
.ftr__contact li { color: var(--muted-d); }
.ftr__big { display: inline-block; padding: 8px 0; font: 400 1.6rem/1.1 var(--f-d) !important; color: #fff !important; font-variant-numeric: lining-nums; }
.ftr__note { color: var(--silver); font-size: .9rem; }
.ftr__social { display: flex; gap: 8px; margin-top: 16px !important; }
.ftr__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(183, 192, 198, .3); border-radius: var(--rb); transition: background .3s, border-color .3s; }
.ftr__social a:hover, .ftr__social a:focus-visible { background: var(--oak); border-color: var(--oak); }
.ftr__social svg { width: 18px; height: 18px; fill: var(--silver-hi); }
.ftr__rule { margin: clamp(48px, 5vw, 72px) auto 0; max-width: var(--wrap); padding: 0 var(--gut); height: 20px; }
.ftr__rule svg { width: 100%; height: 100%; }
.ftr__dim { fill: none; stroke: rgba(183, 192, 198, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ftr__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 22px; padding-bottom: 28px; font-size: .92rem; color: var(--muted-d); }
.ftr__base p { margin: 0; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ftr__legal a, .ftr__credit a { color: var(--silver-hi); text-decoration: none; }
.ftr__legal a:hover, .ftr__credit a:hover { text-decoration: underline; }
.ftr__credit a { color: var(--oak-hi); font-weight: 600; }
@media (max-width: 1000px) { .ftr__top { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ftr__cols { grid-template-columns: 1fr 1fr; } .ftr__contact { grid-column: 1 / -1; } }

/* reduced motion: no transforms on hover zooms */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } .rcard:hover .ph img { transform: none; } }

/* ---------- 404 ---------- */
.nf { min-height: 72vh; display: flex; align-items: center; padding: calc(var(--hdr) + 60px) 0 80px; }
.nf h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); color: #fff; margin-bottom: .4em; }
.nf h1 em { color: var(--oak-hi); display: block; }
.nf__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.nf__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(183, 192, 198, .2); }
.nf__links a { display: flex; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid rgba(183, 192, 198, .2); text-decoration: none; font: 400 1.35rem/1.2 var(--f-d); color: #fff; transition: color .3s, padding .4s var(--ease); }
.nf__links a:hover, .nf__links a:focus-visible { color: var(--oak-hi); padding-left: 10px; }
.nf__draw { width: 100%; max-width: 420px; }
.nf__draw path { fill: none; stroke: var(--silver); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.nf__draw .d { stroke: var(--oak-hi); }
@media (max-width: 800px) { .nf__grid { grid-template-columns: 1fr; } }
