/* ==========================================================================
   NEXT HAVEN INTERIORS — site stylesheet
   Layout concept: a 1240px measure on a 12-column grid; graphite bands
   alternate with white and warm-gray; the copper accent and open-frame crop
   marks come from the owner logo; mono spec labels carry the drawing detail. One committed look.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-variable-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* color */
  --ink: #121416;
  --graphite: #1c1f22;
  --graphite-2: #272b2f;
  --graphite-3: #363b40;
  --paper: #ffffff;
  --stone: #f2f0ed;
  --stone-2: #e5e2dd;
  --line: #d5d1cb;
  --line-dark: #3b4045;
  --text: #1c1f22;
  --muted: #565c61;
  --on-dark: #f4f3f1;
  --on-dark-muted: #b4b9bd;
  --copper: #965634;      /* sampled from the owner logo */
  --copper-hi: #c98458;   /* copper for dark backgrounds */
  --copper-deep: #7a4227;
  --ok: #1d6a44;
  --ok-bg: #e7f3ec;
  --warn: #7a5200;
  --warn-bg: #fbf1d9;
  --err: #a3261b;
  --err-bg: #fbe9e6;
  /* type */
  --font-display: "Archivo", "Arial Narrow", Arial, "Helvetica Neue", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.2rem;
  --fs-lg: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2.1vw, 2.75rem);
  --fs-h1: clamp(2rem, 1.2rem + 3.6vw, 3.9rem);
  /* layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 112px);
  --radius: 2px;
  --header-h: 72px;
  --bar-h: 62px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site { background: var(--paper); color: var(--text); min-height: 100%; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
p, ul, ol, dl, figure, blockquote, h1, h2, h3, h4 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 1px; }
.on-dark :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .mobile-nav :focus-visible, .actionbar :focus-visible, .lightbox :focus-visible { outline-color: #e2a47c; }
::selection { background: var(--copper); color: #fff; }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--copper); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; text-wrap: balance; letter-spacing: -0.012em; }
h1, .h1 { font-size: var(--fs-h1); font-stretch: 118%; text-transform: uppercase; }
h2, .h2 { font-size: var(--fs-h2); font-stretch: 116%; text-transform: uppercase; }
h3, .h3 { font-size: var(--fs-h3); font-stretch: 108%; line-height: 1.15; font-weight: 750; letter-spacing: -0.005em; }
h4, .h4 { font-size: 1.05rem; font-stretch: 105%; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.lede { font-size: var(--fs-lg); line-height: 1.45; max-width: 44ch; }
.prose > * + * { margin-top: 1.05em; }
.prose p, .prose li { max-width: 68ch; }
.prose a, .link { color: var(--copper-deep); font-weight: 600; }
.on-dark .prose a, .on-dark .link { color: var(--copper-hi); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--on-dark-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 9px; border-left: 2px solid var(--copper); border-right: 2px solid var(--copper); background: linear-gradient(var(--copper), var(--copper)) center / 100% 2px no-repeat; }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.on-dark .eyebrow::before { border-color: var(--copper-hi); background-image: linear-gradient(var(--copper-hi), var(--copper-hi)); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--stone { background: var(--stone); }
.section--dark, .on-dark { background: var(--graphite); color: var(--on-dark); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 56px); max-width: 60rem; }
.section-head p { max-width: 62ch; color: var(--muted); font-size: var(--fs-md); line-height: 1.5; }
.on-dark .section-head p { color: var(--on-dark-muted); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; column-gap: clamp(24px, 5vw, 80px); }
.grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.split--wide-right { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.stack { display: grid; gap: 18px; align-content: start; }
.stack--lg { gap: 28px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
@media (max-width: 1100px) { .cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left, .split--wide-right, .section-head--split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: minmax(0, 1fr); }
  .cols-2--keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* hatch + rule details */
.hatch { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 9px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-dark .rule { background: var(--line-dark); }
.ticks { height: 10px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px), linear-gradient(var(--line), var(--line)) bottom / 100% 1px no-repeat; }
.on-dark .ticks { background: repeating-linear-gradient(90deg, var(--line-dark) 0 1px, transparent 1px 12px), linear-gradient(var(--line-dark), var(--line-dark)) bottom / 100% 1px no-repeat; }

/* ---------- buttons ---------- */
.btn { --bg: var(--copper); --fg: #fff; --bd: var(--copper); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: var(--radius); font-family: var(--font-display); font-stretch: 108%; font-weight: 750; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1.1; text-align: center; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.btn:hover { --bg: var(--copper-deep); --bd: var(--copper-deep); }
.btn:active { transform: translateY(1px); }
.btn .arr { display: inline-block; width: 18px; height: 10px; flex: none; background: linear-gradient(currentColor, currentColor) left center / 100% 2px no-repeat; position: relative; transition: transform .22s var(--ease); }
.btn .arr::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--text); }
.btn--ghost:hover { --bg: var(--text); --fg: #fff; --bd: var(--text); }
.on-dark .btn--ghost { --fg: var(--on-dark); --bd: rgba(255,255,255,.55); }
.on-dark .btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: var(--text); padding-block: 6px; border-bottom: 2px solid var(--copper); transition: gap .2s var(--ease), color .2s var(--ease); }
.textlink:hover { gap: 15px; color: var(--copper-deep); }
.on-dark .textlink { color: var(--on-dark); border-color: var(--copper-hi); }
.on-dark .textlink:hover { color: var(--copper-hi); }
.phone-link { font-family: var(--font-mono); font-weight: 500; text-decoration: none; white-space: nowrap; letter-spacing: 0.01em; }
.phone-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 8px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--copper-hi); }
.topbar__r { display: flex; gap: 22px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; margin-right: auto; }
.brand__logo { display: block; height: 50px; width: auto; }
.brand--footer { margin-right: 0; justify-self: start; }
.brand--footer .brand__logo { height: 128px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: static; }
.nav__link { display: flex; align-items: center; gap: 7px; height: var(--header-h); padding: 0 13px; font-family: var(--font-display); font-stretch: 104%; font-weight: 650; font-size: 0.86rem; letter-spacing: 0.055em; text-transform: uppercase; text-decoration: none; color: var(--text); position: relative; white-space: nowrap; background: none; border: 0; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(225deg) translateY(-1px); }
.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: grid; line-height: 1.15; text-decoration: none; text-align: right; }
.header-phone small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.header-phone span { font-family: var(--font-mono); font-weight: 500; font-size: 0.98rem; white-space: nowrap; }
.header-phone:hover span { color: var(--copper-deep); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--graphite); color: var(--on-dark); border-top: 3px solid var(--copper); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.nav__item.is-open > .mega, .no-js .nav__item--menu:focus-within > .mega, .no-js .nav__item--menu:hover > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 34px; padding-block: 36px 40px; align-items: start; min-height: 0; }
.mega__group h3 { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-hi); padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); margin-bottom: 8px; }
.mega__group a { display: block; padding: 8px 0; text-decoration: none; font-weight: 550; font-size: 0.98rem; line-height: 1.3; color: var(--on-dark); transition: color .15s, padding-left .2s var(--ease); }
.mega__group a:hover { color: var(--copper-hi); padding-left: 6px; }
.mega__group a.sub { font-size: 0.88rem; font-weight: 400; color: var(--on-dark-muted); padding: 5px 0 5px 14px; border-left: 1px solid var(--line-dark); }
.mega__group a.sub:hover { color: var(--copper-hi); padding-left: 20px; }
.mega__aside { background: var(--graphite-2); padding: 22px; display: grid; gap: 14px; }
.mega__aside p { font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.5; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); align-items: center; justify-content: center; flex: none; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1199px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: flex; }
  .header-phone span { font-size: 0.92rem; }
  .mobile-nav { display: block; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--graphite); color: var(--on-dark); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px var(--gutter) calc(40px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; z-index: 99; }
  .nav-open .mobile-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mobile-nav details { border-bottom: 1px solid var(--line-dark); }
  .mobile-nav summary, .mobile-nav > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line-dark); }
  .mobile-nav summary { border-bottom: 0; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--copper-hi); border-bottom: 2px solid var(--copper-hi); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
  .mobile-nav details[open] summary::after { transform: rotate(225deg); }
  .mobile-nav .mgroup { padding: 0 0 16px; display: grid; gap: 2px; }
  .mobile-nav .mgroup h3 { font-family: var(--font-mono); font-size: 0.68rem; font-stretch: 100%; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-hi); margin: 12px 0 2px; }
  .mobile-nav .mgroup a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1rem; color: var(--on-dark); }
  .mobile-nav .mgroup a.sub { padding-left: 14px; color: var(--on-dark-muted); border-left: 1px solid var(--line-dark); min-height: 40px; font-size: 0.94rem; }
  .mobile-nav__contact { margin-top: 26px; display: grid; gap: 12px; }
}
.header-phone svg { display: none; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 10px; }
  .header-phone { width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
  .header-phone span, .header-phone small { display: none; }
  .header-phone svg { display: block; width: 22px; height: 22px; }
}
@media (max-width: 1199px) { .brand__logo { height: 44px; } }
@media (max-width: 380px) { .brand__logo { height: 38px; } }

/* ---------- breadcrumbs ---------- */
.crumbs { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--line-dark); }
.crumbs a { text-decoration: none; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--copper-hi); }
.crumbs [aria-current] { color: var(--on-dark); }

/* ---------- photos ---------- */
.ph { position: relative; margin: 0; background: var(--ph, var(--stone-2)); overflow: hidden; }
.ph picture, .ph img { width: 100%; height: 100%; }
.ph img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.ph--r32 { aspect-ratio: 3 / 2; } .ph--r43 { aspect-ratio: 4 / 3; } .ph--r45 { aspect-ratio: 4 / 5; } .ph--r11 { aspect-ratio: 1 / 1; } .ph--r169 { aspect-ratio: 16 / 9; } .ph--r219 { aspect-ratio: 21 / 9; } .ph--r34 { aspect-ratio: 3 / 4; }
.ph figcaption { position: absolute; left: 0; bottom: 0; max-width: 100%; background: rgba(18,20,22,.86); color: var(--on-dark); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; line-height: 1.35; padding: 7px 12px; }
.ph figcaption b { color: var(--copper-hi); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-right: 6px; }
.ph--zoom img { transition: transform .9s var(--ease); }
@media (hover: hover) and (min-width: 900px) { a:hover .ph--zoom img, .ph--zoom:hover img { transform: scale(1.035); } }
.crop { position: relative; padding: 14px; }
.crop::before, .crop::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--copper); pointer-events: none; }
/* Mirrors the logo frame: copper bracket top-right, ink bracket bottom-left. */
.crop::before { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.crop::after { left: 0; bottom: 0; border-right: 0; border-top: 0; border-color: var(--ink); }
.on-dark .crop::before { border-color: var(--copper-hi); }
.on-dark .crop::after { border-color: rgba(255,255,255,.7); }
.img-note { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.01em; line-height: 1.5; color: var(--muted); }
.on-dark .img-note { color: var(--on-dark-muted); }

/* ---------- hero ---------- */
.hero { background: var(--graphite); color: var(--on-dark); position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 84px); }
.hero__copy { display: grid; gap: 24px; align-content: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--copper-hi); }
.hero .lede { color: var(--on-dark-muted); max-width: 46ch; }
.hero__contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 0.98rem; color: var(--on-dark-muted); padding-top: 18px; border-top: 1px solid var(--line-dark); }
.hero__contact a { color: #fff; font-size: 1.12rem; }
.hero__media { display: grid; gap: 14px; }
.hero__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hero__strip li { border-top: 2px solid var(--copper-hi); padding-top: 10px; font-size: 0.88rem; line-height: 1.35; color: var(--on-dark-muted); }
.hero__strip b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); padding-block: clamp(28px, 4vw, 52px) clamp(40px, 5vw, 68px); }
.hero--simple .hero__grid { grid-template-columns: minmax(0, 1fr); padding-block: clamp(28px, 4vw, 52px) clamp(36px, 5vw, 60px); }
.hero--simple .hero__copy { max-width: 58rem; }
.hero--simple .lede { max-width: 60ch; }
.hero__area { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__area span { color: var(--copper-hi); }
.hero__area a { white-space: nowrap; color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-block: 4px; }
.hero__area a:hover { color: var(--copper-hi); border-color: var(--copper-hi); }
.hero__area i { font-style: normal; color: var(--line-dark); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips li { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; border: 1px solid var(--line-dark); padding: 7px 11px; color: var(--on-dark); background: rgba(255,255,255,.03); }
.spec-chips li b { color: var(--copper-hi); font-weight: 500; }
@media (max-width: 900px) {
  .hero__grid, .hero--page .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { order: 2; }
}
@media (max-width: 620px) { .hero__strip { grid-template-columns: minmax(0, 1fr); gap: 10px; } .hero .btn { width: 100%; } }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) { .js .hero__media .ph img { animation: settle 1.4s var(--ease) both; } }
@keyframes settle { from { transform: scale(1.045); } to { transform: none; } }

/* ---------- service cards ---------- */
.card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); position: relative; }
.card__body { display: grid; gap: 10px; padding: 20px 20px 22px; align-content: start; }
.cols-5 .card__body, .cols-4 .card__body { padding: 16px 16px 18px; }
.cols-5 .card h3, .cols-4 .card h3 { font-size: 1.08rem; }
.card--area { grid-template-rows: 1fr; border-top: 3px solid var(--ink); }
.card--area .card__body { padding: 26px 24px 26px; gap: 14px; }
.card__k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-deep); }
.card p { font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.card__more { margin-top: 6px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; color: var(--text); }
.card__more::after { content: "→"; transition: transform .2s var(--ease); }
a.card:hover { border-color: var(--ink); box-shadow: 0 18px 40px -26px rgba(18,20,22,.5); transform: translateY(-3px); }
a.card:hover .card__more::after { transform: translateX(5px); }
.on-dark .card { background: var(--graphite-2); border-color: var(--line-dark); color: var(--on-dark); }
.on-dark .card p { color: var(--on-dark-muted); }
.on-dark .card__k { color: var(--copper-hi); }
.on-dark .card__more { color: var(--on-dark); }
.on-dark a.card:hover { border-color: var(--copper-hi); }

.svc-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.svc-group:last-child { border-bottom: 1px solid var(--line); }
.svc-group__head { display: grid; gap: 12px; align-content: start; }
.svc-group__head p { color: var(--muted); font-size: 0.98rem; }
.svc-group__n { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--copper-deep); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); align-content: start; }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; align-content: start; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .22s var(--ease); }
.svc-list a b { font-family: var(--font-display); font-stretch: 106%; font-weight: 720; font-size: 1.08rem; line-height: 1.2; }
.svc-list a span { grid-column: 1; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.svc-list a i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--copper); transition: transform .22s var(--ease); }
.svc-list a:hover { padding-left: 8px; }
.svc-list a:hover b { color: var(--copper-deep); }
.svc-list a:hover i { transform: translateX(5px); }
@media (max-width: 900px) { .svc-group { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- lists ---------- */
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.5; }
.checks li::before { content: ""; width: 14px; height: 8px; margin-top: 0.42em; border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(-45deg); }
.on-dark .checks li::before { border-color: var(--copper-hi); }
.dashes { display: grid; gap: 11px; }
.dashes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; line-height: 1.5; }
.dashes li::before { content: ""; width: 14px; height: 2px; background: var(--muted); margin-top: 0.78em; }
.on-dark .dashes li::before { background: var(--on-dark-muted); }
.panel { border: 1px solid var(--line); padding: clamp(20px, 3vw, 34px); background: var(--paper); display: grid; gap: 18px; align-content: start; }
.panel--stone { background: var(--stone); border-color: var(--stone-2); }
.on-dark .panel { background: var(--graphite-2); border-color: var(--line-dark); }
.panel__k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-deep); }
.on-dark .panel__k { color: var(--copper-hi); }

/* ---------- process steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 36px); padding-block: 26px; border-top: 1px solid var(--line); counter-increment: step; position: relative; }
.step:last-child { border-bottom: 1px solid var(--line); }
.on-dark .step { border-color: var(--line-dark); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--copper); padding-top: 3px; }
.on-dark .step::before { color: var(--copper-hi); }
.step__body { display: grid; gap: 8px; }
.step__body p { color: var(--muted); max-width: 66ch; }
.on-dark .step__body p { color: var(--on-dark-muted); }
.steps--row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.steps--row .step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 22px 6px 0; border-top: 2px solid var(--line-dark); border-bottom: 0; }
.steps--row .step::after { content: ""; position: absolute; left: 0; top: -6px; width: 2px; height: 10px; background: var(--copper-hi); }
.steps--row .step__body p { font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 1023px) { .steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; } }
@media (max-width: 620px) { .steps--row { grid-template-columns: minmax(0, 1fr); } .step { grid-template-columns: 52px minmax(0, 1fr); } .step::before { font-size: 1.2rem; } }

/* ---------- rate table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.rates { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 480px; background: var(--paper); }
.rates caption { text-align: left; }
.rates th, .rates td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates tr:last-child td { border-bottom: 0; }
.rates thead th { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: var(--stone); white-space: nowrap; }
.rates td.num, .rates th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates td small { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; margin-top: 2px; }
.rates td.num b { font-weight: 500; font-size: 1.05rem; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; background: linear-gradient(var(--copper), var(--copper)) center / 16px 2px no-repeat, linear-gradient(var(--copper), var(--copper)) center / 2px 16px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--copper-deep); }
.faq .faq__a { padding: 0 46px 24px 0; color: var(--muted); display: grid; gap: 12px; max-width: 72ch; }
.faq .faq__a a { color: var(--copper-deep); font-weight: 600; }
.on-dark .faq, .on-dark .faq details { border-color: var(--line-dark); }
.on-dark .faq .faq__a { color: var(--on-dark-muted); }
.on-dark .faq summary:hover { color: var(--copper-hi); }
@media (prefers-reduced-motion: no-preference) { .faq details[open] .faq__a { animation: fadeup .3s var(--ease) both; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- options / swatches ---------- */
.option { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.on-dark .option { border-color: var(--copper-hi); }
.option p { color: var(--muted); font-size: 0.97rem; }
.on-dark .option p { color: var(--on-dark-muted); }
.swatch { display: grid; gap: 10px; }
.swatch .ph { aspect-ratio: 1 / 1; border: 1px solid var(--line-dark); }
.swatch b { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.swatches--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swatches--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .swatches--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .swatches, .swatches--3, .swatches--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.gal > * { grid-column: span 4; }
.gal > .w6 { grid-column: span 6; } .gal > .w8 { grid-column: span 8; } .gal > .w3 { grid-column: span 3; } .gal > .w12 { grid-column: span 12; }
@media (max-width: 900px) { .gal > *, .gal > .w3, .gal > .w8 { grid-column: span 6; } .gal > .w12 { grid-column: span 12; } }
@media (max-width: 560px) { .gal > *, .gal > .w6, .gal > .w3, .gal > .w8 { grid-column: span 12; } }
.ph--fill { aspect-ratio: auto; height: 100%; min-height: 220px; }
.gal--flat > * { grid-column: span 4 !important; }
.gal--flat .ph { aspect-ratio: 4 / 3 !important; height: auto; min-height: 0; }
@media (max-width: 900px) { .gal .ph { aspect-ratio: 4 / 3; height: auto; min-height: 0; } .gal--flat > * { grid-column: span 6 !important; } }
@media (max-width: 560px) { .gal--flat > * { grid-column: span 12 !important; } }
.gal button.gal__item { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.gal__item { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gal__item.is-out { opacity: 0; transform: scale(.97); }
.gal__item[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius); transition: background .18s, color .18s, border-color .18s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lightbox { border: 0; padding: 0; background: rgba(12,13,14,.96); color: var(--on-dark); width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; }
.lightbox::backdrop { background: rgba(12,13,14,.9); }
.lightbox__in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; padding: 14px var(--gutter) 18px; gap: 12px; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .28s var(--ease); }
.lightbox__stage img.is-swap { opacity: 0; }
.lightbox__cap { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 0.95rem; }
.lightbox button { min-width: 48px; min-height: 48px; background: none; border: 1px solid var(--line-dark); color: #fff; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0 14px; }
.lightbox button:hover { border-color: var(--copper-hi); color: var(--copper-hi); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); position: relative; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 54ch; font-size: var(--fs-md); line-height: 1.5; }
.cta-band__actions { display: grid; gap: 12px; }
.cta-band__phone { font-family: var(--font-mono); font-size: 0.86rem; color: var(--on-dark-muted); text-align: center; }
.cta-band__phone a { color: #fff; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- notices / forms ---------- */
.note { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 0 16px; background: var(--stone); padding: 16px 18px 16px 0; font-size: 0.96rem; line-height: 1.5; }
.note::before { content: ""; background: var(--copper); }
.note b { display: block; font-family: var(--font-display); font-stretch: 105%; font-weight: 720; margin-bottom: 3px; }
.note--info::before { background: var(--graphite-3); }
.note--ok { background: var(--ok-bg); } .note--ok::before { background: var(--ok); }
.note--warn { background: var(--warn-bg); } .note--warn::before { background: var(--warn); }
.note--err { background: var(--err-bg); } .note--err::before { background: var(--err); }
.on-dark .note { background: var(--graphite-2); color: var(--on-dark); }
.label-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border: 1px solid currentColor; }

.form { display: grid; gap: clamp(26px, 3.5vw, 40px); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.fieldset > legend { padding: 0; margin-bottom: 4px; display: flex; align-items: baseline; gap: 14px; width: 100%; font-family: var(--font-display); font-stretch: 110%; font-weight: 780; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.01em; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.fieldset > legend .n { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--copper-deep); letter-spacing: 0.1em; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.frow--3 { grid-template-columns: 1.4fr 0.6fr 1fr; }
@media (max-width: 620px) { .frow, .frow--3 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field > .label { font-weight: 650; font-size: 0.95rem; line-height: 1.3; }
.field .opt { font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.field .hint { font-size: 0.87rem; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #8e9499; background: var(--paper); border-radius: var(--radius); font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 132px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; border-color: var(--ink); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .field.has-error .choices { border-color: var(--err); box-shadow: inset 4px 0 0 var(--err); }
.field .error { color: var(--err); font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.field .error:empty { display: none; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 1px solid transparent; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .choices, .choices--3, .choices--4 { grid-template-columns: minmax(0, 1fr); } .choices--keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 11px 14px; border: 1px solid #8e9499; background: var(--paper); border-radius: var(--radius); font-size: 0.97rem; line-height: 1.3; transition: border-color .15s, background .15s, color .15s; }
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--ink); background: var(--paper); transition: background .15s, box-shadow .15s; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: var(--stone); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span::before { background: var(--copper); box-shadow: inset 0 0 0 3px var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: grid; gap: 12px; }
.form-status:empty { display: none; }
.form-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
@media (max-width: 900px) { .form-aside { position: static; } }
.upload-list { display: grid; gap: 8px; }
.upload-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; font-size: 0.92rem; padding: 10px 12px; background: var(--stone); }
.upload-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-list li em { font-style: normal; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }
.upload-list li.is-err { background: var(--err-bg); }
.upload-list button { border: 0; background: none; text-decoration: underline; font-size: 0.88rem; min-height: 32px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 1023px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc__builder { display: grid; gap: 22px; }
.calc__step { border: 1px solid var(--line); background: var(--paper); }
.calc__step > header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--stone); }
.calc__step > header .n { font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; color: var(--copper-deep); letter-spacing: 0.1em; }
.calc__step > header h2 { font-size: 1.08rem; font-stretch: 110%; }
.calc__step > .body { padding: 20px; display: grid; gap: 18px; }
@media (prefers-reduced-motion: no-preference) { .calc__panel { animation: panelin .32s var(--ease) both; } }
@keyframes panelin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.svc-pick { display: grid; gap: 14px; }
.svc-pick__group { display: grid; gap: 8px; }
.svc-pick__group > h3 { font-family: var(--font-mono); font-size: 0.7rem; font-stretch: 100%; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.svc-pick__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 620px) { .svc-pick__opts { grid-template-columns: minmax(0, 1fr); } }
.svc-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; text-align: left; min-height: 56px; padding: 10px 14px; border: 1px solid #8e9499; background: var(--paper); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.svc-opt b { font-weight: 650; font-size: 0.96rem; line-height: 1.25; }
.svc-opt small { grid-column: 1; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.svc-opt i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--font-mono); font-size: 0.8rem; white-space: nowrap; }
.svc-opt:hover { border-color: var(--ink); background: var(--stone); }
.svc-opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.svc-opt[aria-pressed="true"] small { color: var(--on-dark-muted); }
.qty { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.qty .input { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font-family: var(--font-mono); font-size: 1.1rem; }
.qty__unit { display: flex; align-items: center; padding: 0 14px; border: 1px solid #8e9499; background: var(--stone); font-family: var(--font-mono); font-size: 0.82rem; white-space: nowrap; }
.cx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 620px) { .cx { grid-template-columns: minmax(0, 1fr); } }
.cx .choice span { display: grid; gap: 4px; align-content: start; min-height: 100%; padding: 12px 14px; }
.cx .choice span::before { display: none; }
.cx .choice b { font-family: var(--font-display); font-stretch: 106%; font-weight: 720; display: flex; justify-content: space-between; gap: 8px; }
.cx .choice b i { font-style: normal; font-family: var(--font-mono); font-weight: 400; font-size: 0.8rem; }
.cx .choice small { font-size: 0.82rem; line-height: 1.4; color: var(--muted); }
.cx .choice input:checked + span { background: var(--ink); color: #fff; }
.cx .choice input:checked + span small { color: var(--on-dark-muted); }
.line-preview { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; padding: 14px 16px; background: var(--stone); font-family: var(--font-mono); font-size: 0.86rem; }
.line-preview b { font-size: 1.15rem; font-weight: 500; }
.scope-box { font-size: 0.93rem; line-height: 1.5; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; }
.scope-box ul { margin-top: 8px; display: grid; gap: 4px; }
.scope-box li::before { content: "+ "; font-family: var(--font-mono); color: var(--ok); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--graphite); color: var(--on-dark); display: grid; }
@media (max-width: 1023px) { .summary { position: static; } }
.summary__head { padding: 20px 22px 16px; display: grid; gap: 8px; border-bottom: 1px solid var(--line-dark); }
.summary__head h2 { font-size: 1.15rem; color: #fff; }
.summary__label { font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.5; letter-spacing: 0.03em; color: var(--copper-hi); }
.summary__body { padding: 6px 22px 22px; display: grid; gap: 16px; }
.summary__empty { padding: 26px 0 8px; color: var(--on-dark-muted); font-size: 0.96rem; }
.lines { display: grid; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.line__t { font-weight: 650; line-height: 1.3; }
.line__t small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: 0.84rem; }
.line__amt { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.line__calc { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.76rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; line-height: 1.5; }
.line__act { grid-column: 1 / -1; display: flex; gap: 16px; }
.line__act button { background: none; border: 0; padding: 0; min-height: 32px; color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; font-size: 0.84rem; }
.line__act button:hover { color: var(--copper-hi); }
.totals { display: grid; gap: 8px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals .grand { font-size: 1.05rem; padding-top: 12px; border-top: 2px solid var(--copper-hi); color: #fff; align-items: baseline; }
.totals .grand b { font-size: 1.6rem; font-weight: 500; }
.summary .note { font-size: 0.88rem; }
.summary .note--review::before { background: var(--copper-hi); }
.summary .note--check::before { background: #e3b341; }
.summary .note b { font-size: .95rem; }
.summary__fine { font-size: 0.82rem; line-height: 1.5; color: var(--on-dark-muted); }
.mat-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto; gap: 10px; align-items: end; }
@media (max-width: 620px) { .mat-row { grid-template-columns: minmax(0, 1fr); } }
.helper { border: 1px dashed var(--line); padding: 14px 16px; display: grid; gap: 12px; }
.helper summary { cursor: pointer; font-weight: 650; font-size: 0.93rem; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--copper-deep); font-weight: 600; min-height: 32px; }
.calc-chip { border: 1px solid var(--line); padding: 16px 18px; background: var(--paper); display: grid; gap: 8px; font-size: 0.93rem; }
.calc-chip pre { margin: 0; white-space: pre-wrap; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.55; color: var(--text); max-height: 260px; overflow: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--copper-hi); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); padding-block: clamp(44px, 6vw, 76px) 36px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { max-width: 34ch; line-height: 1.55; }
.footer__col h2 { font-family: var(--font-mono); font-size: 0.7rem; font-stretch: 100%; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-hi); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 2px; }
.footer__col a { display: inline-block; padding: 5px 0; line-height: 1.35; }
.footer__col a.sub { padding-left: 12px; border-left: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 0.9rem; }
.footer__contact { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 0.9rem; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 20px calc(22px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 0.82rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 1199px) {
  .actionbar { display: grid; grid-template-columns: 1fr 1.35fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom, 0px); transition: transform .25s var(--ease); }
  .actionbar a { display: grid; place-items: center; align-content: center; gap: 3px; min-height: var(--bar-h); padding: 6px 4px; color: #fff; text-decoration: none; font-family: var(--font-display); font-stretch: 104%; font-weight: 720; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; line-height: 1.15; }
  .actionbar a + a { border-left: 1px solid var(--line-dark); }
  .actionbar a.is-primary { background: var(--copper); }
  .actionbar svg { width: 20px; height: 20px; }
  .actionbar.is-hidden, .nav-open .actionbar { transform: translateY(110%); }
  .site { padding-bottom: calc(var(--bar-h) + 2px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- misc blocks ---------- */
.kv { display: grid; gap: 0; }
.kv > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; }
.on-dark .kv > div { border-color: var(--line-dark); }
.on-dark .kv dt { color: var(--on-dark-muted); }
.zip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zip-list li { white-space: nowrap; font-family: var(--font-mono); font-size: 0.9rem; border: 1px solid var(--line); padding: 6px 12px; background: var(--paper); }
.feature { display: grid; gap: 14px; align-content: start; }
.feature .n { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--copper-deep); }
.on-dark .feature .n { color: var(--copper-hi); }
.feature p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 620px) { .feature .ph--r45 { aspect-ratio: 3 / 2; } }
.on-dark .feature p { color: var(--on-dark-muted); }
.calc-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .calc-teaser { grid-template-columns: minmax(0, 1fr); } }
.sheet { background: var(--paper); color: var(--text); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 0; font-family: var(--font-mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; box-shadow: 14px 14px 0 rgba(255,255,255,.06); }
.sheet__h { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.sheet__r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet__r small { grid-column: 1 / -1; color: var(--muted); font-size: 0.76rem; }
.sheet__t { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-size: 0.8rem; }
.sheet__t b { font-size: 1.5rem; font-weight: 500; }
.sheet__f { margin-top: 12px; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.legal h2 { font-size: 1.35rem; font-stretch: 110%; margin-top: 2.2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.6em; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.draft-banner { background: var(--warn-bg); color: #4d3400; border-bottom: 1px solid #e6cf94; font-size: 0.92rem; }
.draft-banner .wrap { padding-block: 12px; }
.preview-banner { background: var(--copper); color: #fff; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-align: center; padding: 7px var(--gutter); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (max-width: 720px) { .js .reveal { transform: translateY(10px); transition-duration: .45s; transition-delay: 0s; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .topbar, .actionbar, .cta-band, .site-footer, .mobile-nav, .preview-banner { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .summary { position: static; background: #fff; color: #000; }
}
