/* Designtime Residential - site.css
   Concept: a drawing set. Blueprint ground, vellum sheets, yellow-trace mark-ups.
   Tokens first; components after. One radius scale, one button pair, one link look. */

:root {
  --blueprint: #163458;
  --blueprint-2: #1b3d66;
  --ink: #0f2238;
  --ink-2: #1d3047;
  --vellum: #eef1f0;
  --vellum-2: #e3e8e7;
  --paper: #ffffff;
  --line: #dce8f5;
  --line-dim: rgba(220, 232, 245, .68);
  --line-faint: rgba(220, 232, 245, .14);
  --grid-major: rgba(220, 232, 245, .075);
  --grid-minor: rgba(220, 232, 245, .032);
  --trace: #f2c94c;
  --trace-hi: #f6d673;
  --trace-press: #e2b632;
  --graphite: #56616c;
  --rule: #d2d9dd;
  --rule-strong: #b9c3c9;
  --focus: #f2c94c;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --maxw: 1280px;
  --gut: clamp(20px, 5.6vw, 80px);
  --nav-base: 76px;
  --promo-h: 0px;
  --nav-h: calc(var(--nav-base) + var(--promo-h));
  --sec: clamp(76px, 8.6vw, 124px);

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;

  --t-h1: clamp(42px, 5.7vw, 84px);
  --t-h2: clamp(32px, 3.6vw, 54px);
  --t-h3: clamp(21px, 1.75vw, 26px);
  --t-lead: clamp(18px, 1.4vw, 20.5px);
  --t-body: 17px;
  --t-small: 14.5px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-1: 0 1px 2px rgba(15, 34, 56, .06), 0 6px 18px -8px rgba(15, 34, 56, .18);
  --shadow-2: 0 2px 4px rgba(15, 34, 56, .06), 0 18px 40px -16px rgba(15, 34, 56, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--vellum); color: var(--ink);
  font-family: var(--f-sans); font-size: var(--t-body); line-height: 1.62; font-weight: 400;
  font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--trace); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: inherit; text-wrap: balance; }
.h1, h1 { font-size: var(--t-h1); line-height: .98; letter-spacing: -.028em; font-stretch: 118%; font-weight: 520; }
.h2, h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.022em; font-stretch: 114%; font-weight: 500; }
.h3, h3 { font-size: var(--t-h3); line-height: 1.18; letter-spacing: -.01em; font-stretch: 106%; font-weight: 560; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--graphite); max-width: 60ch; text-wrap: pretty; }
.small { font-size: var(--t-small); }
.annot { font-stretch: 72%; font-weight: 520; font-size: 13.5px; letter-spacing: .02em; line-height: 1.35; }
.muted { color: var(--graphite); }
strong { font-weight: 600; }

/* links: underline draws on hover */
.link, .prose a, .faq a, .crumbs a, .tblock a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.link:hover, .prose a:hover, .faq a:hover, .crumbs a:hover { background-size: 0 1px; background-position: 100% 100%; }
.tblock a, .foot__cta a:not(.btn) { background-size: 0 1px; background-position: 100% 100%; }
.tblock a:hover { background-size: 100% 1px; background-position: 0 100%; color: #fff; }
.link--draw { background-size: 0 1px; background-position: 100% 100%; }
.link--draw:hover { background-size: 100% 1px; background-position: 0 100%; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; position: relative; }
.sec { padding-block: var(--sec); position: relative; }
.sec--paper { background: var(--paper); }
.sec--vellum { background: var(--vellum); }
.sec--tint { background: var(--vellum-2); }
.sec--blue { background-color: var(--blueprint); color: var(--line); }
.sec--ink { background: var(--ink); color: var(--line); }
.sec--blue .lead, .sec--ink .lead { color: var(--line-dim); }
.sec--tight { padding-block: clamp(64px, 7vw, 96px); }
.grid-bg {
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 240px 240px, 240px 240px, 48px 48px, 48px 48px;
  background-position: -1px -1px;
}
.head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.head > h2, .head > .h2 { grid-column: 1 / span 7; }
.head > .lead, .head > .head__side { grid-column: 8 / -1; margin: 0; }
.head--stack > * { grid-column: 1 / span 8 !important; }
@media (max-width: 900px) {
  .head > h2, .head > .h2, .head > .lead, .head > .head__side { grid-column: 1 / -1; }
  .head > .lead { margin-top: 18px; }
}
.head--stack > .lead { margin-top: 18px; }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; }
.stack > * + * { margin-top: var(--gap, 16px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--trace); --fg: var(--ink); --bd: var(--trace);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-s); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 15.5px; font-stretch: 104%; letter-spacing: .005em; line-height: 1;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, border-color .18s, color .18s;
  box-shadow: 0 1px 0 rgba(15, 34, 56, .18);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--trace-hi); box-shadow: 0 8px 18px -8px rgba(15, 34, 56, .45); }
.btn:active { transform: translateY(1px); background: var(--trace-press); box-shadow: none; transition-duration: .06s; }
.btn--line { --bg: transparent; --fg: currentColor; --bd: currentColor; box-shadow: none; }
.btn--line:hover { background: rgba(127, 150, 175, .14); box-shadow: none; }
.btn--line:active { background: rgba(127, 150, 175, .24); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ink:active { background: #08182a; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header / nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  color: var(--ink); transition: background-color .3s, box-shadow .3s, color .3s, height .3s;
}
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(238, 241, 240, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(15, 34, 56, .08); transition: opacity .3s; }
body.dark-top .nav:not(.is-solid) { color: var(--line); }
body.dark-top .nav:not(.is-solid)::before { opacity: 0; }
.nav .wrap { height: calc(100% - var(--promo-h)); margin-top: var(--promo-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand .on-dark { display: none; }
body.dark-top .nav:not(.is-solid) .brand .on-dark { display: block; }
body.dark-top .nav:not(.is-solid) .brand .on-light { display: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-weight: 620; font-stretch: 120%; font-size: 15.5px; letter-spacing: .01em; }
.brand__name span { font-stretch: 80%; font-size: 13px; opacity: .74; letter-spacing: .02em; margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--r-s);
  text-decoration: none; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; color: inherit;
  transition: background-color .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: rgba(127, 150, 175, .16); }
.menu > li > a[aria-current="page"], .menu > li > button.is-current { box-shadow: inset 0 -2px 0 var(--trace); border-radius: var(--r-s) var(--r-s) 0 0; }
.menu svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.menu li.open > button svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; padding: 10px; margin: 0; list-style: none;
  background: var(--paper); color: var(--ink); border-radius: var(--r-m); box-shadow: var(--shadow-2); border: 1px solid rgba(15, 34, 56, .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu li.open > .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 12px; border-radius: var(--r-s); text-decoration: none; transition: background-color .15s; }
.drop a:hover { background: var(--vellum); }
.drop a b { display: block; font-weight: 600; font-size: 15px; }
.drop a span { display: block; font-size: 13.5px; color: var(--graphite); line-height: 1.4; margin-top: 2px; }
.nav__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__tel { text-decoration: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: var(--r-s); background: none; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav__tel { display: none; }
  .menu > li > a, .menu > li > button { padding: 0 9px; font-size: 14.5px; }
}
@media (max-width: 1023px) {
  :root { --nav-base: 68px; }
  .burger { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 89; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); color: var(--line); padding: 16px var(--gut) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
  body.menu-open .nav { color: var(--line); }
  body.menu-open .nav::before { opacity: 1; background: var(--ink); }
  body.menu-open .brand .on-dark { display: block; } body.menu-open .brand .on-light { display: none; }
  .menu > li { border-bottom: 1px solid var(--line-faint); }
  .menu > li > a, .menu > li > button { width: 100%; height: 60px; font-size: 21px; font-stretch: 112%; justify-content: space-between; padding: 0; }
  .menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: none; }
  .drop { position: static; min-width: 0; padding: 0 0 14px; background: none; color: var(--line); box-shadow: none; border: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .menu li.open > .drop { display: block; }
  .drop a:hover { background: rgba(220, 232, 245, .08); }
  .drop a span { color: var(--line-dim); }
  .menu__extra { display: block !important; padding-top: 28px; border: 0 !important; }
  body.menu-open { overflow: hidden; }
}
.menu__extra { display: none; }

/* ---------- home hero ---------- */
.hero {
  --tw: min(540px, 40vw);
  --hl: calc(max(var(--gut), (100vw - var(--maxw)) / 2) + var(--tw) + 28px);
  position: relative; min-height: max(100svh, 680px); background-color: var(--blueprint); color: var(--line); overflow: hidden;
  display: flex; align-items: stretch;
}
.hero > .wrap { display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + clamp(32px, 6vh, 72px)); padding-bottom: 36px; z-index: 2; pointer-events: none; }
.hero > .wrap > * { pointer-events: auto; }
.hero__text { max-width: var(--tw); }
.hero h1 { color: #f4f8fc; font-size: clamp(38px, 4.15vw, 64px); font-stretch: 110%; line-height: 1; }
.hero__lead { color: var(--line-dim); font-size: var(--t-lead); line-height: 1.55; margin: 24px 0 30px; max-width: 44ch; }
.hero .btn--line { color: var(--line); }
.hero__facts {
  margin: auto 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  border-top: 1px solid rgba(220, 232, 245, .3); padding-top: 4px; max-width: var(--tw);
}
.hero__facts div { padding: 12px 22px 0 0; margin-right: 22px; border-right: 1px solid rgba(220, 232, 245, .22); }
.hero__facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts dt { color: var(--line-dim); }
.hero__facts dd { margin: 3px 0 0; font-weight: 560; font-stretch: 108%; color: #f4f8fc; font-size: 17px; white-space: nowrap; }

.compare {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  width: min(calc(100vw - var(--hl) + 90px), calc((100svh - var(--nav-h) - 24px) * 1.339), 1240px);
  aspect-ratio: 1800 / 1344; --pos: 100%;
  touch-action: pan-y;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.compare__draw { clip-path: inset(0 0 0 0); }
.compare__render {
  clip-path: inset(0 0 0 var(--pos));
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 15%, #000 86%, transparent 99%), linear-gradient(to right, transparent 0, #000 7%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 2%, #000 15%, #000 86%, transparent 99%), linear-gradient(to right, transparent 0, #000 7%, #000 96%, transparent 100%);
  mask-composite: intersect;
}
.compare__dims { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: var(--line); }
.compare__dims path, .compare__dims line { stroke: currentColor; stroke-width: 1.2; fill: none; vector-effect: non-scaling-stroke; }
.compare__dims text { fill: currentColor; font-family: var(--f-sans); font-stretch: 72%; font-weight: 520; font-size: 29px; letter-spacing: .03em; }
@media (max-width: 640px) { .compare__dims text { display: none; } }
.compare__bar { position: absolute; top: 9%; bottom: 7%; left: var(--pos); width: 0; pointer-events: none; }
.compare__bar::before { content: ""; position: absolute; inset: 0 auto 0 -1px; width: 2px; background: var(--trace); box-shadow: 0 0 0 1px rgba(15, 34, 56, .18); }
.compare__knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%;
  background: var(--trace); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .55);
  transition: transform .2s var(--ease);
}
.compare__knob svg { width: 26px; height: 26px; }
.compare:hover .compare__knob { transform: translate(-50%, -50%) scale(1.06); }
.compare__tag {
  position: absolute; top: calc(50% + 40px); padding: 5px 10px; border-radius: 4px; background: rgba(15, 34, 56, .78); color: var(--line); white-space: nowrap;
  transition: opacity .3s;
}
.compare__tag--l { right: 14px; } .compare__tag--r { left: 14px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare input[type=range]:focus-visible ~ .compare__bar .compare__knob { outline: 3px solid #fff; outline-offset: 3px; }
.compare__block { position: absolute; right: 2.5%; bottom: 5%; text-align: right; color: var(--line-dim); pointer-events: none; }
.compare__block b { display: block; color: #f4f8fc; font-weight: 600; font-stretch: 112%; font-size: 15px; letter-spacing: .01em; }

/* load sequence (one orchestrated moment) */
.js .compare.is-pre .compare__draw { clip-path: inset(0 100% 0 0); }
.js .compare.is-pre .compare__bar, .js .compare.is-pre .compare__tag { opacity: 0; }
.js .compare.is-pre .compare__dims .dim { stroke-dashoffset: var(--len, 1200); }
.js .compare.is-pre .compare__dims text { opacity: 0; }
.compare.is-drawing .compare__draw { clip-path: inset(0 0 0 0); transition: clip-path 1.6s cubic-bezier(.6, .05, .25, 1); }
.compare__dims .dim { stroke-dasharray: var(--len, 1200); stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s .5s var(--ease); }
.compare__dims text { transition: opacity .5s 1.3s; }
.compare__bar, .compare__tag { transition: opacity .4s; }
.compare.is-sliding .compare__render, .compare.is-sliding .compare__bar { transition: clip-path 1.25s cubic-bezier(.65, 0, .25, 1), left 1.25s cubic-bezier(.65, 0, .25, 1), opacity .4s; }

@media (max-width: 1023px) {
  .hero { min-height: 0; flex-direction: column; --tw: 640px; }
  .hero > .wrap { padding-bottom: 0; }
  .hero h1 { font-size: clamp(36px, 6.4vw, 56px); }
  .compare { position: relative; right: auto; width: 100%; margin-top: 8px; }
  .hero__after { width: min(100% - 2 * var(--gut), var(--maxw)); margin: 0 auto 32px; position: relative; z-index: 2; max-width: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hero__lead { margin: 18px 0 24px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts div { padding-right: 10px; margin-right: 10px; }
  .hero__facts dd { font-size: 14.5px; white-space: normal; }
  .compare__knob { width: 46px; height: 46px; }
  .compare__block { display: none; }
  .compare__tag { top: calc(50% + 32px); font-size: 12px; }
}
@media (min-width: 1024px) { .hero__after { display: none; } }
@media (max-width: 1023px) { .hero .wrap .hero__facts { display: none; } }

/* ---------- inner page head ---------- */
.phead { position: relative; background-color: var(--blueprint); color: var(--line); padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.phead h1 { color: #f4f8fc; max-width: 16ch; }
.phead h1.long { max-width: 22ch; font-size: clamp(36px, 4.4vw, 64px); }
.phead .lead { color: var(--line-dim); margin-top: 24px; }
.phead .actions { margin-top: 32px; }
.phead .btn--line { color: var(--line); }
.phead__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.phead__grid > :first-child { grid-column: 1 / span 7; }
.phead__grid > .phead__fig { grid-column: 8 / -1; }
.phead__fig { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--blueprint-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.phead__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.phead__fig--sheet { background: #fff; }
.phead__fig--sheet img { object-fit: contain; padding: 4%; }
.phead__grid { align-items: center; }
.phead--light { background: var(--vellum); color: var(--ink); }
.phead--light h1 { color: var(--ink); }
.phead--light .lead { color: var(--graphite); }
.phead--light .crumbs { color: var(--graphite); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--line-dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.crumbs a { text-decoration: none; }
@media (max-width: 1023px) {
  .phead__grid > :first-child, .phead__grid > .phead__fig { grid-column: 1 / -1; }
  .phead__fig { margin-top: 40px; }
}

/* ---------- media frames + hover ---------- */
.frame { display: block; position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--vellum-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
a:hover > .frame img, a:hover .frame img, .frame:hover img { transform: scale(1.03); }
.lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.lift:hover, .lift:has(a:hover) { transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* ---------- services duo (home) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--paper); box-shadow: var(--shadow-1); min-height: 100%;
}
.svc__fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc__fig img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.svc:hover .svc__fig img { transform: scale(1.03); }
.svc--trace .svc__fig { background: #f7e7a6; }
.svc--trace .svc__fig img { mix-blend-mode: multiply; padding: 6% 5%; }
.svc--blue .svc__fig { background: var(--paper); }
.svc--blue .svc__fig img { padding: 4%; }
.svc__body { padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc__body p { color: var(--graphite); margin: 0; max-width: 54ch; }
.svc__list { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 15px; }
.svc__list li { padding-left: 18px; position: relative; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--blueprint); }
.svc__go { margin-top: auto; padding-top: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.svc__go span { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.svc:hover .svc__go span { background-size: 100% 1.5px; }
.svc.lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.types { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-strong); }
.types a { display: block; padding: 22px 24px 24px 0; text-decoration: none; border-bottom: 1px solid var(--rule); transition: background-color .2s; }
.types a + a { padding-left: 24px; border-left: 1px solid var(--rule); }
.types a:hover { background: rgba(255, 255, 255, .6); }
.types b { display: block; font-weight: 600; font-stretch: 108%; font-size: 18px; margin-bottom: 6px; }
.types span { display: block; color: var(--graphite); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 900px) { .duo, .types { grid-template-columns: 1fr; } .types a + a { padding-left: 0; border-left: 0; } .svc__list { grid-template-columns: 1fr; } }

/* ---------- featured build ---------- */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.feature__main { grid-column: 1 / span 8; aspect-ratio: 3 / 2; }
.feature__side { grid-column: 9 / -1; display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.feature__side .frame { min-height: 0; }
.feature__info { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; margin-top: 8px; }
.feature__info > div:first-child { grid-column: 1 / span 6; }
.feature__info > .actions { grid-column: 9 / -1; justify-content: flex-end; }
.feature__info h3 { margin-bottom: 10px; }
@media (max-width: 900px) {
  .feature__main, .feature__side, .feature__info > div:first-child, .feature__info > .actions { grid-column: 1 / -1; }
  .feature__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .feature__side .frame { aspect-ratio: 4 / 3; }
  .feature__info > .actions { justify-content: flex-start; }
}

/* ---------- project tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.tile { display: block; text-decoration: none; color: inherit; }
.tile .frame { aspect-ratio: 4 / 3; }
.tile__meta { padding-top: 16px; }
.tile__meta h3 { font-size: 20px; font-stretch: 108%; }
.tile__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tile__facts li { font-size: 13px; font-stretch: 86%; font-weight: 520; letter-spacing: .01em; padding: 3px 9px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--graphite); }
.sec--blue .tile__facts li, .sec--ink .tile__facts li { border-color: rgba(220, 232, 245, .28); color: var(--line-dim); }
.tile:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
@media (max-width: 1023px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* elevation wall */
.wall { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.wall a { display: block; border-radius: var(--r-s); overflow: hidden; background: var(--vellum-2); position: relative; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.wall a:hover img { transform: scale(1.03); }
.wall .w-6 { grid-column: span 6; aspect-ratio: 16 / 9.5; }
.wall .w-4 { grid-column: span 4; aspect-ratio: 4 / 3; }
.wall .w-3 { grid-column: span 3; aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .wall .w-6, .wall .w-4, .wall .w-3 { grid-column: span 12; } .wall .w-3 { grid-column: span 6; } }

/* ---------- plan ruler ---------- */
.ruler-wrap { position: relative; }
.ruler-stage { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; margin-bottom: 36px; }
.ruler-peek { grid-column: 1 / span 7; position: relative; background: var(--paper); border-radius: var(--r-m); box-shadow: var(--shadow-1); aspect-ratio: 1400 / 960; overflow: hidden; }
.ruler-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3%; opacity: 0; transition: opacity .35s; }
.ruler-peek img.on { opacity: 1; }
.ruler-info { grid-column: 9 / -1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.ruler-info .num { font-stretch: 72%; font-weight: 500; font-size: clamp(64px, 7vw, 104px); line-height: .9; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--blueprint); }
.ruler-info .num small { font-size: .28em; font-stretch: 90%; margin-left: 8px; letter-spacing: 0; color: var(--graphite); font-weight: 500; }
.ruler-info h3 { font-size: clamp(26px, 2.4vw, 34px); font-stretch: 116%; }
.ruler-info p { margin: 0; color: var(--graphite); }
.ruler-info .actions { margin-top: 10px; }
.ruler { position: relative; height: 158px; margin: 0 6px; user-select: none; }
.ruler__body { position: absolute; left: -6px; right: -6px; top: 44px; height: 46px; border: 1.5px solid var(--ink); border-radius: 4px; background:
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc(100% / var(--ticks, 32))),
  linear-gradient(var(--paper), var(--paper));
  background-size: 100% 14px, 100% 100%; background-repeat: no-repeat; background-position: 0 0, 0 0; }
.ruler__major { position: absolute; top: 44px; height: 24px; width: 1.5px; background: var(--ink); transform: translateX(-50%); }
.ruler__lab { position: absolute; top: 72px; transform: translateX(-50%); font-stretch: 72%; font-weight: 520; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--graphite); white-space: nowrap; }
.ruler__pin {
  position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink);
  padding: 0; background: none; border: 0; cursor: pointer;
}
.ruler__pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); transition: background-color .2s, transform .2s var(--ease); }
.ruler__pin::after { content: ""; width: 2px; height: var(--stem, 38px); background: var(--ink); opacity: .4; margin-top: 0; transition: opacity .2s; }
.ruler__pin span { position: absolute; bottom: calc(100% + 4px); font-size: 13px; font-weight: 560; font-stretch: 90%; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; background: var(--ink); color: var(--paper); padding: 3px 8px; border-radius: 4px; }
.ruler__pin.lane0 { top: 0; --stem: 44px; }
.ruler__pin.lane2 { top: 22px; --stem: 22px; }
.ruler__pin.lane1, .ruler__pin.lane3 { top: 90px; flex-direction: column-reverse; }
.ruler__pin.lane1 { --stem: 44px; }
.ruler__pin.lane3 { --stem: 20px; }
.ruler__pin.lane1 span, .ruler__pin.lane3 span { bottom: auto; top: calc(100% + 4px); }
.ruler__pin.lane2 span { bottom: calc(100% + 26px); }
.ruler__pin.lane3 span { top: calc(100% + 28px); }
.ruler__pin:hover i, .ruler__pin.is-on i { background: var(--trace); transform: scale(1.25); }
.ruler__pin:hover::after, .ruler__pin.is-on::after { opacity: 1; }
.ruler__pin:hover span, .ruler__pin.is-on span, .ruler__pin:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .ruler-peek, .ruler-info { grid-column: 1 / -1; }
  .ruler__lab:nth-of-type(even) { display: none; }
}
@media (max-width: 600px) { .ruler { display: none; } .ruler-stage { margin-bottom: 8px; } }

/* plan cards */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.plan__sheet { aspect-ratio: 4 / 3; background: var(--paper); border-radius: var(--r-s); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan__sheet img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .7s var(--ease); }
.plan:hover .plan__sheet { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.plan:hover .plan__sheet img { transform: scale(1.03); }
.plan__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; }
.plan__row h3 { font-size: 19px; font-stretch: 110%; }
.plan__row .annot { color: var(--graphite); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__note { color: var(--graphite); font-size: 15px; margin-top: 2px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .plans, .plans--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .plans, .plans--3 { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--rule-strong); background: transparent; cursor: pointer; font-weight: 500; font-size: 14.5px; transition: background-color .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- process (sheet index) ---------- */
.steps { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid currentColor; counter-reset: step; }
.step { display: grid; grid-template-columns: 96px 4fr 6fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.sec--blue .step, .sec--ink .step { border-color: var(--line-faint); }
.step__n { font-stretch: 72%; font-weight: 500; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--trace); }
.sec--vellum .step__n, .sec--paper .step__n { color: var(--blueprint); }
.step h3 { font-size: clamp(21px, 1.8vw, 26px); }
.step p { margin: 0; color: var(--graphite); }
.sec--blue .step p, .sec--ink .step p { color: var(--line-dim); }
.step ul { margin: 12px 0 0; padding-left: 18px; color: var(--graphite); font-size: 15.5px; }
.sec--blue .step ul, .sec--ink .step ul { color: var(--line-dim); }
@media (max-width: 760px) { .step { grid-template-columns: 56px 1fr; } .step > div:last-child { grid-column: 2; } .step__n { font-size: 32px; } }

/* ---------- people / quote ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.about__fig { grid-column: 1 / span 6; aspect-ratio: 4 / 3; }
.about__txt { grid-column: 8 / -1; }
.quote { margin: 0; font-family: var(--f-serif); font-size: clamp(24px, 2.2vw, 31px); line-height: 1.3; font-weight: 400; letter-spacing: -.005em; text-wrap: pretty; }
.quote::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .6; height: .38em; color: var(--trace); font-family: var(--f-serif); }
.sec--vellum .quote::before, .sec--paper .quote::before { color: var(--blueprint); }
.cite { display: block; margin-top: 18px; font-style: normal; font-size: 15px; }
.cite b { font-weight: 600; }
@media (max-width: 900px) { .about__fig, .about__txt { grid-column: 1 / -1; } }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review { margin: 0; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-family: var(--f-serif); font-size: 19px; line-height: 1.55; }
.review figcaption { margin-top: auto; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.review figcaption i { width: 38px; height: 38px; border-radius: 50%; background: var(--blueprint); color: var(--line); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; font-stretch: 110%; flex: none; }
.review figcaption span { color: var(--graphite); display: block; font-size: 14px; }
.sec--blue .review { background: var(--blueprint-2); box-shadow: none; border: 1px solid var(--line-faint); }
.sec--blue .review figcaption span { color: var(--line-dim); }
.sec--blue .review figcaption i { background: var(--trace); color: var(--ink); }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq__head { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / -1; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 560; font-stretch: 104%; font-size: 18.5px; line-height: 1.4; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blueprint); }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; margin-top: -1px; transition: transform .3s var(--ease), background-color .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary i { background: var(--trace); border-color: var(--trace); color: var(--ink); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 52px 24px 0; color: var(--graphite); max-width: 68ch; }
.faq .ans p:last-child { margin: 0; }
@media (max-width: 900px) { .faq__head, .faq__list { grid-column: 1 / -1; } }

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.post { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post .frame { aspect-ratio: 3 / 2; }
.post__meta { margin-top: 16px; color: var(--graphite); }
.post h3 { font-size: 21px; font-stretch: 106%; margin-top: 8px; line-height: 1.25; }
.post p { color: var(--graphite); margin: 10px 0 0; font-size: 15.5px; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.posts--lead .post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.posts--lead .post:first-child .frame { grid-column: 1 / span 7; }
.posts--lead .post:first-child > div { grid-column: 8 / -1; }
.posts--lead .post:first-child h3 { font-size: clamp(26px, 2.4vw, 36px); font-stretch: 112%; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .posts--lead .post:first-child .frame, .posts--lead .post:first-child > div { grid-column: 1 / -1; } }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.article__body { grid-column: 1 / span 8; }
.article__aside { grid-column: 10 / -1; }
.article__aside .sticky { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.prose { font-family: var(--f-serif); font-size: 19.5px; line-height: 1.68; max-width: 68ch; }
.prose h2 { font-family: var(--f-sans); font-size: clamp(26px, 2.3vw, 32px); margin: 1.8em 0 .55em; }
.prose h3 { font-family: var(--f-sans); font-size: 22px; margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose li { margin-bottom: .45em; }
.prose ul { padding-left: 1.1em; }
.prose strong { font-weight: 600; }
.prose > p:first-child { font-size: 1.12em; line-height: 1.6; }
.aside-card { padding: 26px; border-radius: var(--r-l); background: var(--blueprint); color: var(--line); }
.aside-card h3 { font-size: 21px; color: #f4f8fc; margin-bottom: 10px; }
.aside-card p { color: var(--line-dim); font-size: 15.5px; }
.aside-card .btn { width: 100%; }
.toc { font-size: 15px; }
.toc b { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; color: var(--graphite); }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.hero-img { margin: 0 0 clamp(36px, 4vw, 56px); aspect-ratio: 21 / 10; border-radius: var(--r-l); }
@media (max-width: 1000px) { .article__body, .article__aside { grid-column: 1 / -1; } .prose { font-size: 18.5px; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--r-s); background: var(--vellum-2); grid-column: span 4; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery a:nth-child(7n + 1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery a, .gallery a:nth-child(7n + 1) { grid-column: span 6; grid-row: auto; aspect-ratio: 4 / 3; } .gallery a:nth-child(5n + 1) { grid-column: span 12; } }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); margin: 0; }
.specs div { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule); }
.specs div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.specs dt { color: var(--graphite); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-stretch: 108%; font-size: 19px; }
.phead .specs { border-color: rgba(220, 232, 245, .5); }
.phead .specs div { border-color: var(--line-faint); }
.phead .specs dt { color: var(--line-dim); }
.phead .specs dd { color: #f4f8fc; }
@media (max-width: 700px) { .specs { grid-template-columns: 1fr 1fr; } .specs div:nth-child(3) { border-left: 0; padding-left: 0; } }

.feats { columns: 2; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.feats li { break-inside: avoid; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule); position: relative; font-size: 16px; }
.feats li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1.5px; background: var(--blueprint); }
@media (max-width: 700px) { .feats { columns: 1; } }

/* split blocks */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.split__txt { grid-column: 1 / span 6; }
.split__fig { grid-column: 8 / -1; }
.split--mid { align-items: center; }
.split__txt > h2 { margin-bottom: 22px; }
.split__txt .lead + .lead { margin-top: -6px; }
@media (max-width: 900px) { .split__txt, .split__fig { grid-column: 1 / -1; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-1); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--graphite); margin: 0; font-size: 16px; }
.card__ico { width: 44px; height: 44px; margin-bottom: 20px; color: var(--blueprint); }
.sec--blue .card { background: var(--blueprint-2); box-shadow: none; border: 1px solid var(--line-faint); }
.sec--blue .card p { color: var(--line-dim); }
.sec--blue .card__ico { color: var(--trace); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

.note { padding: 24px 28px; border-radius: var(--r-m); border: 1.5px dashed var(--rule-strong); color: var(--graphite); }
.note b { color: var(--ink); }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #0b1a2b; }
.yt button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; opacity: .92; }
.yt button:hover img { transform: scale(1.03); opacity: 1; }
.yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--trace); color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); transition: transform .2s var(--ease); }
.yt button:hover .play { transform: translate(-50%, -50%) scale(1.07); }
.yt .play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { font-size: 20px; margin-top: 14px; }
.video p { color: var(--graphite); margin: 6px 0 0; font-size: 15.5px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* ---------- contact / form ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.contact__txt { grid-column: 1 / span 5; }
.contact__form { grid-column: 7 / -1; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: clamp(24px, 3vw, 40px); background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-2); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 560; }
.field label em { font-style: normal; font-weight: 400; color: var(--graphite); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--rule-strong); border-radius: var(--r-s);
  background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blueprint); box-shadow: 0 0 0 3px rgba(242, 201, 76, .55); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 13.5px; min-height: 0; }
.form .actions { grid-column: 1 / -1; justify-content: space-between; margin-top: 6px; }
.form__fine { font-size: 13.5px; color: var(--graphite); margin: 0; max-width: 36ch; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-s); font-size: 15px; display: none; }
.form__status.ok { display: block; background: #e7f2ea; color: #1d5a33; }
.form__status.bad { display: block; background: #fbeae9; color: #8c1d18; }
.hp { position: absolute; left: -9999px; }
.reach { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.reach li { border-bottom: 1px solid var(--rule); }
.reach li > a, .reach li > div { display: flex; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; }
.reach svg { width: 22px; height: 22px; color: var(--blueprint); flex: none; }
.reach b { display: block; font-weight: 600; font-size: 17px; }
.reach span { display: block; font-size: 14px; color: var(--graphite); }
.reach a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.sec--blue .reach, .sec--blue .reach li { border-color: var(--line-faint); }
.sec--blue .reach svg { color: var(--trace); }
.sec--blue .reach span { color: var(--line-dim); }
@media (max-width: 900px) { .contact__txt, .contact__form { grid-column: 1 / -1; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form .actions .btn { width: 100%; } }

/* ---------- footer (title block) ---------- */
.foot { background: var(--ink); color: var(--line); padding: clamp(72px, 9vw, 120px) 0 96px; }
.foot__cta { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); }
.foot__cta h2 { grid-column: 1 / span 7; color: #f4f8fc; }
.foot__cta > div { grid-column: 9 / -1; }
.foot__cta p { color: var(--line-dim); }
.foot__cta .btn--line { color: var(--line); }
.tblock { display: grid; grid-template-columns: 3fr 2fr 2fr 2fr 3fr; border: 1px solid rgba(220, 232, 245, .24); border-radius: var(--r-s); }
.tblock > div { padding: 24px; border-left: 1px solid rgba(220, 232, 245, .24); }
.tblock > div:first-child { border-left: 0; }
.tblock h3 { font-size: 13.5px; font-stretch: 72%; font-weight: 520; letter-spacing: .04em; color: var(--line-dim); margin-bottom: 14px; }
.tblock ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; }
.tblock a { text-decoration: none; }
.tblock__logo img { width: 210px; max-width: 100%; }
.tblock__logo p { color: var(--line-dim); font-size: 14.5px; margin: 16px 0 0; max-width: 30ch; }
.tblock__contact b { display: block; font-size: 19px; font-weight: 600; color: #f4f8fc; font-variant-numeric: tabular-nums; }
.tblock__contact a { display: inline-block; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(220, 232, 245, .3); display: grid; place-items: center; transition: background-color .2s, transform .2s var(--ease), border-color .2s; background-image: none !important; }
.social a:hover { background: var(--trace) !important; color: var(--ink); border-color: var(--trace); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.tblock__strip { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-left: 0 !important; border-top: 1px solid rgba(220, 232, 245, .24); padding: 14px 24px !important; font-size: 13.5px; color: var(--line-dim); }
.tblock__strip span { font-stretch: 80%; letter-spacing: .02em; }
@media (max-width: 1100px) { .tblock { grid-template-columns: 1fr 1fr 1fr; } .tblock__logo { grid-column: 1 / -1; border-bottom: 1px solid rgba(220, 232, 245, .24); } .tblock > div:nth-child(2) { border-left: 0; } .tblock__contact { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgba(220, 232, 245, .24); } }
@media (max-width: 900px) { .foot__cta h2, .foot__cta > div { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .tblock { grid-template-columns: 1fr 1fr; }
  .tblock > div { border-left: 0 !important; border-top: 1px solid rgba(220, 232, 245, .24); }
  .tblock > div:first-child { border-top: 0; }
  .tblock > div:nth-child(3) { border-left: 1px solid rgba(220, 232, 245, .24) !important; }
  .tblock__strip { flex-direction: column; gap: 6px; }
}

/* ---------- chat ---------- */
body.at-top .chat-btn:not([aria-expanded="true"]) { opacity: 0; transform: translateY(12px); pointer-events: none; }
.chat-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 95; transition: opacity .3s, transform .3s var(--ease), background-color .2s; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  border: 0; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(15, 34, 56, .6);
  transition: opacity .3s, transform .25s var(--ease), background-color .2s;
}
.chat-btn:hover { transform: translateY(-2px); background: var(--ink-2); }
.chat-btn:active { transform: translateY(1px); }
.chat-btn svg { width: 22px; height: 22px; color: var(--trace); }
.chat-btn .dot { width: 9px; height: 9px; border-radius: 50%; background: #47c47a; box-shadow: 0 0 0 3px rgba(71, 196, 122, .25); }
.chat {
  position: fixed; right: 20px; bottom: 86px; z-index: 96; width: min(390px, calc(100vw - 24px)); max-height: min(640px, calc(100svh - 120px));
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: var(--r-l); box-shadow: 0 30px 70px -20px rgba(15, 34, 56, .55);
  overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .3s var(--ease), visibility .22s;
}
body.chat-open .chat { opacity: 1; visibility: visible; transform: none; }
.chat__top { background: var(--blueprint); color: var(--line); padding: 18px 18px 16px; display: flex; gap: 12px; align-items: flex-start; }
.chat__top img { width: 40px; height: 40px; flex: none; }
.chat__top b { display: block; color: #f4f8fc; font-size: 16px; font-weight: 600; }
.chat__top span { display: block; font-size: 13.5px; color: var(--line-dim); }
.chat__x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(220, 232, 245, .12); color: var(--line); cursor: pointer; display: grid; place-items: center; flex: none; }
.chat__x:hover { background: rgba(220, 232, 245, .22); }
.chat__log { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; background: var(--vellum); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.msg--them { background: var(--paper); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(15, 34, 56, .08); }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.msg a { color: var(--blueprint); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1.5px solid var(--rule-strong); background: var(--paper); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; cursor: pointer; transition: border-color .2s, transform .15s; text-align: left; }
.chips button:hover { border-color: var(--ink); transform: translateY(-1px); }
.chat__acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px; border-top: 1px solid var(--rule); background: var(--paper); }
.chat__acts a, .chat__acts button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: var(--r-s); text-decoration: none; font-size: 12.5px; font-weight: 560; border: 0; background: none; cursor: pointer; transition: background-color .15s; }
.chat__acts a:hover, .chat__acts button:hover { background: var(--vellum); }
.chat__acts svg { width: 20px; height: 20px; color: var(--blueprint); }
.chat__in { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule); background: var(--paper); }
.chat__in input { flex: 1; min-height: 44px; border: 1.5px solid var(--rule-strong); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 15px; }
.chat__in input:focus { outline: none; border-color: var(--blueprint); box-shadow: 0 0 0 3px rgba(242, 201, 76, .5); }
.chat__in button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--trace); color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .15s; }
.chat__in button:hover { transform: translateY(-1px); } .chat__in button:active { transform: translateY(1px); }
.chat__in svg { width: 18px; height: 18px; }
.chat form.mini { display: grid; gap: 8px; margin-top: 4px; }
.chat form.mini input, .chat form.mini textarea { border: 1.5px solid var(--rule-strong); border-radius: var(--r-s); padding: 9px 11px; font: inherit; font-size: 14.5px; width: 100%; }
.chat form.mini textarea { min-height: 72px; resize: vertical; }
.chat form.mini .btn { min-height: 42px; }
@media (max-width: 560px) { .chat-btn { right: 14px; bottom: 14px; height: 50px; padding: 0 16px 0 14px; } .chat-btn .lbl { display: none; } .chat-btn { width: 50px; padding: 0; justify-content: center; } .chat-btn .dot { position: absolute; top: 9px; right: 9px; } .chat { right: 12px; bottom: 74px; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(9, 21, 36, .94); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; color: var(--line); }
.lb.on { opacity: 1; visibility: visible; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; }
.lb__fig { position: relative; display: grid; place-items: center; padding: 0 72px; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 4px; background: #fff; }
.lb button { border: 0; background: rgba(220, 232, 245, .12); color: var(--line); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .15s; }
.lb button:hover { background: rgba(220, 232, 245, .24); }
.lb button:active { transform: scale(.96); }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 14px; } .lb__next { right: 14px; }
.lb__prev:active, .lb__next:active { transform: translateY(-50%) scale(.96); }
.lb svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .lb__fig { padding: 0 8px; } .lb__prev, .lb__next { top: auto; bottom: -64px; } }

/* site map */
.smap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.smap h2 { font-size: 22px; font-stretch: 108%; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); margin-bottom: 4px; }
.smap ul { margin: 0; padding: 0; list-style: none; }
.smap li { border-bottom: 1px solid var(--rule); }
.smap a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; text-decoration: none; font-size: 16px; }
.smap a span { color: var(--graphite); font-stretch: 80%; font-size: 13.5px; white-space: nowrap; }
.smap a:hover { color: var(--blueprint); }
.smap a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.smap b { font-weight: 500; }
@media (max-width: 900px) { .smap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .smap { grid-template-columns: 1fr; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1.5px solid var(--ink); }
.pager a { display: block; padding: 22px 0; text-decoration: none; }
.pager a:last-child { text-align: right; }
.pager span { display: block; color: var(--graphite); font-size: 14px; }
.pager b { font-size: 20px; font-weight: 560; font-stretch: 108%; }
.pager a:hover b { text-decoration: underline; text-underline-offset: 5px; }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.area { display: block; padding: 24px; border-radius: var(--r-l); text-decoration: none; background: var(--paper); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.area:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.area b { display: block; font-size: 20px; font-weight: 560; font-stretch: 110%; margin-bottom: 6px; }
.area span { color: var(--graphite); font-size: 15px; display: block; }
@media (max-width: 1000px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

.mt-0 { margin-top: 0 !important; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: clamp(48px, 6vw, 80px); }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
@media print { .nav, .chat, .chat-btn, .foot__cta { display: none !important; } .phead, .hero { background: #fff; color: #000; } }

/* ---------- year-end promotion (bar + band). Shown only while html.has-offer / html.has-promo (set by the inline head script until 2026-12-31) ---------- */
html.has-promo { --promo-h: 40px; }
.promo { position: absolute; inset: 0 0 auto 0; height: var(--promo-h); z-index: 2; display: none; background: var(--trace); color: var(--ink); }
html.has-promo .promo { display: block; }
.promo__in { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 14.5px; font-weight: 560; line-height: 1.2; text-align: center; padding-right: 36px; }
.promo__in a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat; font-weight: 700; white-space: nowrap; transition: background-size .35s var(--ease); }
.promo__in a:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.promo__short { display: none; }
.promo__x { position: absolute; right: max(10px, calc((100vw - var(--maxw)) / 2 - 8px)); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.promo__x:hover { background: rgba(15, 34, 56, .14); }
.promo__x svg { width: 14px; height: 14px; }
@media (max-width: 700px) { html.has-promo { --promo-h: 44px; } .promo__long { display: none; } .promo__short { display: inline; } .promo__in { font-size: 13.5px; gap: 10px; justify-content: flex-start; text-align: left; } }
.offer-sec, .offer-note { display: none; }
html.has-offer .offer-sec { display: block; }
html.has-offer .offer-note { display: block; }
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); border-radius: var(--r-l); background: var(--trace); color: var(--ink); box-shadow: var(--shadow-1); }
.offer__n { font-stretch: 72%; font-weight: 520; font-size: clamp(72px, 8vw, 120px); line-height: .85; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.offer__n small { display: block; font-size: .3em; font-stretch: 100%; font-weight: 620; letter-spacing: .02em; margin-top: 6px; }
.offer__t h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 10px; }
.offer__t p { margin: 0; max-width: 56ch; font-size: 17px; }
.offer .btn--line { color: var(--ink); }
.offer .actions { flex-direction: column; align-items: stretch; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } .offer .actions { flex-direction: row; } }
.sec--offer { padding-block: clamp(40px, 5vw, 64px); }
