@font-face { font-family: "Jost"; src: url("jost.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #1d1d1f;
  --text: #3a3a3c;
  --muted: #6e6e73;
  --tile: #f5f5f7;
  --line: #d2d2d7;
  --red: #ec2824;
  --orange: #f06030;
  --deep: #ec4820;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --hp: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 90; background: var(--ink); color: #fff;
  padding: .6em 1em; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }

/* pill buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em;
  font: 500 .9375rem/1.1 "Jost", system-ui, sans-serif;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 980px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn:active { transform: scale(.97); }

/* ---------------- mini header (appears after the hero) ---------------- */
.mini {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  padding-top: env(safe-area-inset-top);
  transform: translateY(-105%);
  transition: transform .5s var(--ease);
}
.mini.show { transform: none; }
.mini { transition: transform .5s var(--ease), background-color .35s ease, border-color .35s ease; }
.mini .lg-w { display: none; }
.mini.dark { background: rgba(16, 18, 22, .34); border-bottom-color: rgba(255, 255, 255, .1); }
.mini.dark .lg-d { display: none; } .mini.dark .lg-w { display: block; }
.mini.dark nav a { color: #f5f5f7; } .mini.dark nav a:hover { color: rgba(255, 255, 255, .65); }
.mini.dark .btn-primary { background: #f5f5f7; border-color: #f5f5f7; color: #1d1d1f; }
.mini .wrap { display: flex; align-items: center; gap: 28px; height: 54px; }
.mini img { height: 19px; width: auto; }
.mini nav { display: flex; gap: 24px; margin-left: auto; }
.mini nav a { text-decoration: none; font-size: .875rem; color: var(--ink); }
.mini nav a:hover { color: var(--muted); }
.mini .btn { padding: .45em 1em; font-size: .8125rem; }

/* ---------------- hero: the business card ---------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(56px + env(safe-area-inset-top)) var(--gutter) 88px;
  text-align: center;
  overflow: hidden;
}
.hero-card {
  width: 100%; max-width: 820px;
  transform: translateY(calc(var(--hp) * -56px)) scale(calc(1 - var(--hp) * .07));
  opacity: calc(1 - var(--hp) * 1.15);
  will-change: transform, opacity;
}
.logo-wrap { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }
.logo-wrap img { width: 100%; height: auto; }
.logo-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tri { transform-box: fill-box; transform-origin: 50% 62%; }
.tri polygon { transform-box: fill-box; transform-origin: center; }
.rule { height: 1px; background: var(--ink); max-width: 760px; margin: 28px auto 18px; transform-origin: center; }
.tag { font-size: clamp(.9375rem, 1.8vw, 1.25rem); color: var(--text); letter-spacing: .01em; }
.tag .w { display: inline-block; }
.info { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; font-size: .9375rem; }
.info p span { display: block; font-size: .8125rem; color: var(--muted); }
.info a { text-decoration: none; color: var(--ink); }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .08em; color: var(--muted);
  opacity: calc(1 - var(--hp) * 4);
}
.hint i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--muted), transparent); }

/* load sequence (only with JS, only when ready) */
.js .logo-wrap { opacity: 0; clip-path: inset(0 50% 0 50%); filter: blur(10px); transform: scale(1.05); }
.js .tri { opacity: 0; transform: scale(0) rotate(-120deg); }
.js .rule { transform: scaleX(0); }
.js .tag .w, .js .info > p, .js .hero .cta .btn { opacity: 0; transform: translateY(14px); }
.js .hint { visibility: hidden; }
.ready .logo-wrap { animation: logoIn 1.4s var(--ease) .1s forwards; }
.ready .tri { animation: triIn 1.2s var(--spring) .8s forwards; }
.ready .tri .f-l { animation: facetL 1.3s var(--ease) .95s both; }
.ready .tri .f-r { animation: facetR 1.3s var(--ease) .95s both; }
.ready .tri .f-b { animation: facetB 1.3s var(--ease) .95s both; }
.ready .rule { animation: ruleIn 1.1s var(--ease) 1.05s forwards; }
.ready .tag .w { animation: up .9s var(--ease) calc(1.25s + var(--i) * 60ms) forwards; }
.ready .info > p { animation: up .9s var(--ease) calc(1.75s + var(--i) * 90ms) forwards; }
.ready .hero .cta .btn { animation: up .9s var(--ease) calc(2.05s + var(--i) * 90ms) forwards; }
.ready .hint { visibility: visible; animation: fadeIn 1s ease 2.6s both; }
.ready .hint i { animation: drip 2.2s var(--ease) 2.8s 3; transform-origin: top; }

@keyframes logoIn { to { opacity: 1; clip-path: inset(0 0 0 0); filter: blur(0); transform: none; } }
@keyframes triIn { 0% { opacity: 0; transform: scale(0) rotate(-120deg); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes facetL { from { transform: translate(-90px, 40px); } to { transform: none; } }
@keyframes facetR { from { transform: translate(90px, 30px); } to { transform: none; } }
@keyframes facetB { from { transform: translate(0, 90px); } to { transform: none; } }
@keyframes ruleIn { to { transform: scaleX(1); } }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------- scene 1: services on a 3D wireframe model (dark section) ---------------- */
.scene-3d { position: relative; background: #f5f4f0; color: #1d1d1f; }
.s3-stage { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; }
.js:not(.static) .scene-3d { height: 640vh; }
.js:not(.static) .s3-stage { position: sticky; top: 0; }
.s3-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.s3-photos { position: absolute; inset: 0; z-index: 0; transform-origin: 60% 52%; will-change: transform; background: linear-gradient(#fbfaf7, #f1efe9); }
.s3-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 52%; opacity: 0; will-change: opacity; }
.s3-photos img:nth-child(1) { z-index: 4; mix-blend-mode: multiply; }
.s3-photos img:nth-child(2) { z-index: 1; } .s3-photos img:nth-child(3) { z-index: 2; } .s3-photos img:nth-child(4) { z-index: 3; }
.s3-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.s3-lb { position: absolute; left: 0; top: 0; margin: -8px 0 0 7px; font-size: 11px; font-weight: 500; letter-spacing: .03em;
  color: rgba(29, 29, 31, .62); white-space: nowrap; opacity: 0; will-change: transform, opacity; font-variant-numeric: tabular-nums; }
.s3-lb.red { color: #ff3b30; }

.s3-text { position: absolute; z-index: 3; left: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))); top: 50%;
  transform: translateY(-50%); width: min(38%, 500px); transition: text-shadow .5s ease; }
.is-photo .s3-text { text-shadow: 0 2px 26px rgba(8, 28, 56, .42); }
.s3-text::before, .s3-text::after { content: ""; position: absolute; z-index: -1; inset: -90px -120px -90px -160px; pointer-events: none; transition: opacity .6s ease; }
.s3-text::before { background: radial-gradient(closest-side, rgba(250, 249, 246, .92), rgba(250, 249, 246, 0)); }
.s3-text::after { background: radial-gradient(closest-side, rgba(8, 24, 44, .42), rgba(8, 24, 44, 0)); opacity: 0; }
.is-photo .s3-text::before { opacity: 0; } .is-photo .s3-text::after { opacity: 1; }
.hs-bar, .hs-steps { display: none; }
.js:not(.static) .hs-bar { display: flex; gap: 6px; max-width: 300px; margin-bottom: clamp(22px, 4vh, 40px); opacity: var(--bv, 1); }
.hs-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(29, 29, 31, .12); position: relative; overflow: hidden; transition: background-color .5s ease; }
.hs-bar i::after { content: ""; position: absolute; inset: 0; background: #1d1d1f; transform-origin: left; transform: scaleX(var(--b, 0)); transition: background-color .5s ease; }
.is-photo .hs-bar i { background: rgba(255, 255, 255, .2); } .is-photo .hs-bar i::after { background: #fff; }
.hs-bar i:nth-child(1) { --b: var(--b1, 0); } .hs-bar i:nth-child(2) { --b: var(--b2, 0); } .hs-bar i:nth-child(3) { --b: var(--b3, 0); }
.hs-bar i:nth-child(4) { --b: var(--b4, 0); } .hs-bar i:nth-child(5) { --b: var(--b5, 0); }
.hs-slot { display: grid; }
.hs-slot > * { grid-area: 1 / 1; align-self: center; }
.js:not(.static) .hs-steps { display: grid; }
.hs-step { grid-area: 1 / 1; opacity: var(--a, 0); transform: translateY(calc(var(--o, 1) * 26px)); }
.hs-step:nth-child(1) { --a: var(--a1, 0); --o: var(--o1, 1); } .hs-step:nth-child(2) { --a: var(--a2, 0); --o: var(--o2, 1); }
.hs-step:nth-child(3) { --a: var(--a3, 0); --o: var(--o3, 1); } .hs-step:nth-child(4) { --a: var(--a4, 0); --o: var(--o4, 1); }
.hs-step:nth-child(5) { --a: var(--a5, 0); --o: var(--o5, 1); }
.hs-n { display: block; margin-bottom: 14px; font-size: .9375rem; font-weight: 500; letter-spacing: .06em; color: #ff5a4a; font-variant-numeric: tabular-nums; }
.hs-t { font-size: clamp(2.3rem, 4.3vw, 4rem); line-height: 1.04; letter-spacing: -.035em; color: #1d1d1f; font-weight: 500; text-wrap: balance; transition: color .5s ease; }
.is-photo .hs-t { color: #f5f5f7; }
.hs-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hs-legend li { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.2; letter-spacing: -.012em; color: #1d1d1f; }
.is-photo .hs-legend li { color: #f5f5f7; }
.hs-legend li span { flex: none; width: 1.9em; font-size: .875rem; font-weight: 500; letter-spacing: .04em; color: #ff5a4a; font-variant-numeric: tabular-nums; }
.js:not(.static) .hs-legend li { --v: clamp(0, calc(var(--l, 0) * 2.4 - var(--i) * .28), 1); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 14px)); }

/* glass cards with live readouts */
.s3-cards { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hs-card { position: absolute; right: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))); bottom: 11%;
  display: flex; flex-direction: column; gap: 9px; width: max-content; max-width: 250px; padding: 14px 16px 15px; border-radius: 16px;
  background: rgba(10, 30, 54, .5); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 24px 60px rgba(6, 22, 44, .35);
  font-size: 12px; line-height: 1.3; color: #f5f5f7;
  opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 16px)) scale(calc(.95 + var(--a, 0) * .05)); transform-origin: bottom right; }
.hs-card.c1 { --a: var(--a1, 0); } .hs-card.c2 { --a: var(--a2, 0); } .hs-card.c3 { --a: var(--a3, 0); }
.hs-card.lt { background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(29, 29, 31, .08), 0 22px 56px rgba(40, 40, 50, .14); color: #1d1d1f; }
.hs-card.lt .hc-t, .hs-card.lt .hc-sub { color: rgba(29, 29, 31, .55); }
.hs-card.lt .hc-chips b { border-color: rgba(29, 29, 31, .14); background: rgba(29, 29, 31, .035); }
.hs-card.lt .hc-row svg { stroke: #1d1d1f; }
.hs-card.c4 { --a: calc(var(--a4, 0) * var(--ph, 0)); } .hs-card.c5 { --a: var(--a5, 0); }
.hc-t { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 500; }
.hc-sub { font-size: 11px; color: rgba(255, 255, 255, .55); }
.hc-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 220px; }
.hc-chips b { font-weight: 500; padding: .32em .8em; border-radius: 980px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); white-space: nowrap; }
.s3-pt { transition: background-color .3s ease, border-color .3s ease; }
.s3-pt.on { background: #ff3b30; border-color: #ff3b30; }
.hc-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; padding-right: 30px; }
.hc-row svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #f5f5f7; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.hc-row svg path { stroke: #30d158; stroke-width: 2.2; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - clamp(0, calc(var(--q2, 0) * 1.7 - var(--k, 0) * .55), 1)); }
.hc-stamp { position: absolute; right: 14px; bottom: 13px; width: 18px; height: 17px; }
.hc-pct { font-size: 28px; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.hc-track { display: block; width: 170px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.hc-track i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--pc, 0)); }
.hc-ape { display: grid; gap: 3px; width: 150px; }
.hc-ape i { display: block; height: 10px; width: var(--w); background: var(--c); color: #fff; font: 600 8px/10px "Jost", sans-serif;
  padding-left: 6px; border-radius: 2px 6px 6px 2px; opacity: .55; transition: opacity .25s ease, box-shadow .25s ease; }
.hc-ape i.on { opacity: 1; box-shadow: 0 0 0 1.5px rgba(10, 30, 54, .9), 0 0 0 3px #fff; }

@media (max-width: 860px) {
  .s3-text { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: calc(78px + env(safe-area-inset-bottom)); transform: none; }
  .s3-text::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    top: -90px; bottom: -110px; background: linear-gradient(to top, rgba(250, 249, 246, .94) 45%, rgba(250, 249, 246, 0)); }
  .s3-text::after { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -90px; bottom: -110px; background: linear-gradient(to top, rgba(10, 26, 46, .8) 45%, rgba(10, 26, 46, 0)); }
  .s3-photos, .s3-photos img { object-position: 50% 40%; transform-origin: 50% 40%; }
  .hs-t { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .hs-n { margin-bottom: 6px; font-size: .8125rem; }
  .js:not(.static) .hs-bar { margin-bottom: 14px; max-width: none; }
  .hs-legend { gap: 7px; } .hs-legend li { font-size: 1.0625rem; gap: 10px; }
  .hs-card { right: 12px; top: calc(64px + env(safe-area-inset-top)); bottom: auto; transform-origin: top right; padding: 10px 12px 11px; gap: 7px; border-radius: 13px; font-size: 11px; }
  .hc-chips { max-width: 170px; gap: 4px; } .hc-row { font-size: 11px; }
  .hc-ape { width: 110px; gap: 2px; } .hc-ape i { height: 8px; font-size: 6.5px; line-height: 8px; }
  .hc-pct { font-size: 22px; } .hc-track { width: 120px; }
  .s3-lb { font-size: 10px; }
}

/* ---------------- services: bento tiles ---------------- */
.sect { padding: clamp(88px, 11vw, 150px) 0; }
.sect-title { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -.025em; }
.sect-lead { margin-top: 16px; max-width: 30em; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--muted); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile {
  background: var(--tile);
  border-radius: 28px;
  padding: 34px 32px 30px;
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  overflow: hidden;
}
.tile h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.012em; }
.tile p { margin-top: 10px; font-size: .9875rem; color: var(--muted); max-width: 30em; }
.t-big { grid-column: span 2; }
.t-wide { grid-column: span 3; min-height: 0; flex-direction: row; align-items: center; }
.t-wide .art { flex: none; }
.art { width: 100%; }
.art svg { width: 100%; height: auto; max-height: 190px; }

/* illustration styles */
.ink-s { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.soft-f { fill: #e6e6eb; }
.ink-f { fill: var(--ink); }
.paper { fill: #fff; }
.lbl { font-family: "Jost", sans-serif; font-size: 12.5px; font-weight: 500; fill: var(--ink); }
.lbl-s { font-family: "Jost", sans-serif; font-size: 10px; fill: var(--muted); }
.sel { fill: var(--red); fill-opacity: .14; }

/* reveal on view */
.js [data-reveal] { opacity: 0; transform: translateY(36px) scale(.985);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) calc(var(--d, 0s) + .35s + var(--k, 0) * .18s); }
.js .pop { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.js .in .pop { opacity: 1; transform: none; transition: opacity .4s ease calc(var(--d, 0s) + var(--t, 1.4s)), transform .7s var(--spring) calc(var(--d, 0s) + var(--t, 1.4s)); }
.js .fadein { opacity: 0; }
.js .in .fadein { opacity: 1; transition: opacity .9s ease calc(var(--d, 0s) + var(--t, 1.2s)); }

/* document tile */
.doc .row { opacity: 1; }
.js .doc .row { opacity: 0; transform: translateX(-10px); }
.js .in .doc .row { opacity: 1; transform: none; transition: opacity .7s ease calc(.45s + var(--k) * .4s), transform .8s var(--ease) calc(.45s + var(--k) * .4s); }

/* energy classes */
.ape { display: grid; gap: 5px; }
.ape span {
  display: block; height: 17px; width: var(--w);
  background: var(--c); color: #fff;
  font: 600 10.5px/17px "Jost", sans-serif; padding-left: 9px;
  border-radius: 3px 9px 9px 3px;
  transform-origin: left center;
}
.js .ape span { transform: scaleX(0); }
.js .in .ape span { transform: none; transition: transform .8s var(--ease) calc(.25s + var(--k) * 70ms); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: .5em 1em; border-radius: 980px; background: #fff; border: 1px solid var(--line); font-size: .875rem; color: var(--ink); }
.js .chips span { opacity: 0; transform: translateY(12px) scale(.94); }
.js .in .chips span { opacity: 1; transform: none; transition: opacity .6s ease calc(.3s + var(--k) * 90ms), transform .8s var(--spring) calc(.3s + var(--k) * 90ms); }

/* progress */
.prog .top { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); margin-bottom: 10px; }
.prog .top b { font-weight: 500; color: var(--ink); }
.prog .track { height: 8px; border-radius: 4px; background: #e3e3e8; overflow: hidden; }
.prog .fill { height: 100%; width: 100%; background: var(--ink); border-radius: 4px; transform-origin: left; }
.prog .ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.js .prog .fill { transform: scaleX(0); }
.js .in .prog .fill { transform: none; transition: transform 2.2s var(--ease) .4s; }

/* ---------------- studio + rating ---------------- */
.studio { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: 48px; }
.studio .txt p { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); letter-spacing: -.005em; }
.studio .txt p + p { margin-top: 20px; color: var(--text); }
.rate { background: var(--tile); border-radius: 28px; padding: 36px 32px; text-align: center; }
.rate .num { font-size: clamp(4rem, 8vw, 5.75rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.rate .stars { display: flex; justify-content: center; gap: 4px; margin: 16px 0 14px; }
.rate .stars svg { width: 22px; height: 22px; fill: var(--red); }
.js .rate .stars svg { opacity: 0; transform: scale(.3); }
.js .rate.in .stars svg { opacity: 1; transform: none; transition: opacity .3s ease calc(.5s + var(--k) * .14s), transform .6s var(--spring) calc(.5s + var(--k) * .14s); }
.rate p { color: var(--muted); font-size: .9375rem; }
.rate a { display: inline-block; margin-top: 12px; color: var(--ink); font-size: .9375rem; text-underline-offset: 4px; }

/* ---------------- contact: the card again ---------------- */
.contact { text-align: center; }
.card {
  max-width: 760px; margin: 52px auto 0;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 70px rgba(0,0,0,.10);
  padding: clamp(32px, 5vw, 56px);
  text-align: left;
}
.js .card[data-reveal] { transform: perspective(1400px) rotateX(16deg) translateY(60px) scale(.96); transform-origin: center top; }
.js .card[data-reveal].in { transform: none; transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.card .c-logo { width: min(100%, 420px); height: auto; margin: 0 auto; }
.card .c-rule { height: 1px; background: var(--ink); width: min(100%, 420px); margin: 18px auto 12px; }
.card .c-tag { text-align: center; font-size: .9375rem; color: var(--text); }
.card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; margin: 40px 0 0; }
.card dt { font-size: .8125rem; color: var(--muted); margin-bottom: 3px; }
.card dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.card dd a { text-decoration: none; }
.card dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card .maps { display: flex; gap: 14px; margin-top: 4px; font-size: .875rem; }
.card .maps a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.contact .cta { margin-top: 32px; }

.foot { padding: 30px 0 40px; font-size: .8125rem; color: var(--muted); text-align: center; border-top: 1px solid #ececf0; }
.foot .wrap { display: flex; flex-direction: column; gap: 4px; }

/* mobile action bar */
.actionbar { display: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .mini nav { display: none; } .mini .btn { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-big, .t-wide { grid-column: span 2; }
  .studio { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .actionbar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
    border-top: 1px solid rgba(0,0,0,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .actionbar .btn { padding: .8em .5em; }
  .actionbar { transition: background-color .35s ease, border-color .35s ease; }
  .actionbar.dark { background: rgba(16, 18, 22, .42); border-top-color: rgba(255, 255, 255, .12); }
  .actionbar.dark .btn-primary { background: #f5f5f7; border-color: #f5f5f7; color: #1d1d1f; }
  .actionbar.dark .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #f5f5f7; }
  .mini .btn { display: none; }
  .hero { padding-bottom: 72px; }
  .info { flex-direction: column; gap: 14px; margin-top: 34px; }
  .hero .cta { display: none; }
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .t-big, .t-wide { grid-column: auto; }
  .tile { min-height: 0; padding: 28px 24px 26px; border-radius: 24px; }
  .t-wide { flex-direction: column; align-items: stretch; }
  .card dl { grid-template-columns: 1fr; gap: 16px; }
  .contact .cta .btn { flex: 1 1 calc(50% - 6px); }
}
@media (max-height: 640px) and (min-width: 721px) {
}

/* fallback when the page cannot scroll by itself (e.g. shown inside an auto-height frame) */
.static .hero-card { transform: none; opacity: 1; }
.static .hint { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .scene-3d { height: auto !important; }
  .js .s3-stage { position: relative !important; }
  .js .hs-bar, .js .hs-steps, .js .hs-card { display: none !important; }
  .js .hs-legend li { opacity: 1 !important; transform: none !important; }
  .js [data-reveal], .js .card[data-reveal], .js .logo-wrap, .js .tri, .js .rule,
  .js .tag .w, .js .info > p, .js .hero .cta .btn, .js .doc .row, .js .ape span, .js .chips span,
  .js .prog .fill, .js .pop, .js .fadein, .js .rate .stars svg { opacity: 1 !important; transform: none !important;
    clip-path: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .js .draw { stroke-dashoffset: 0; }
  .hero-card { transform: none; opacity: 1; }
  .js .hint { display: none; }
}

/* =====================================================================
   Additions: hero eyebrow, linked tiles, reviews, articles, zone map,
   FAQ, footer, inner pages (services, articles), 404
   ===================================================================== */

/* hero: keyword line above the logo, part of the h1 */
.hcard-h1 { margin: 0; font-weight: 500; }
.hcard-h1 .logo-wrap { display: block; }
.eyebrow-h { display: block; font-size: clamp(.8125rem, 1.35vw, 1rem); font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: clamp(18px, 2.6vw, 30px); }
.js .eyebrow-h { opacity: 0; transform: translateY(10px); letter-spacing: .42em; }
.ready .eyebrow-h { animation: eyebrowIn 1.3s var(--ease) .15s forwards; }
@keyframes eyebrowIn { to { opacity: 1; transform: none; letter-spacing: .16em; } }

/* service tiles that link to their page */
.tile { position: relative; }
.tile h3 { padding-right: 52px; }
.tl { text-decoration: none; color: inherit; }
.tl::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 28px; background: rgba(0, 0, 0, 0); transition: background-color .35s ease; }
.tl:hover::after { background: rgba(0, 0, 0, .025); }
.tl::before { content: ""; position: absolute; z-index: 2; top: 26px; right: 26px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.5 3.8 12.7 8l-4.2 4.2' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: transform .5s var(--ease), background-color .3s ease; }
.tl:hover::before, .tl:focus-visible::before { transform: translateX(4px); background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.5 3.8 12.7 8l-4.2 4.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* small shared bits */
.sect-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.more-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.stars-s { display: flex; gap: 3px; }
.stars-s svg { width: 15px; height: 15px; fill: var(--red); }

/* ---------------- reviews: two rows drifting with the scroll ---------------- */
.reviews { overflow: hidden; }
.rv-rows { margin-top: 56px; display: grid; gap: 18px; }
.rv-row { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.rv { flex: 0 1 360px; display: flex; background: var(--tile); border-radius: 26px; padding: 28px 28px 24px; }
.rv figure { margin: 0; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.rv blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.rv figcaption { margin-top: auto; font-size: .875rem; color: var(--muted); }
.rv figcaption b { font-weight: 500; color: var(--ink); }
.js:not(.static) .rv-row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0;
  margin-left: var(--m); transform: translate3d(calc((var(--p, .5) - .5) * var(--s)), 0, 0); will-change: transform; }
.js:not(.static) .rv { flex: none; width: clamp(300px, 26vw, 440px); }
.r1 { --m: -14vw; --s: -26vw; }
.r2 { --m: -28vw; --s: 26vw; }
.rv-note { margin-top: 20px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* ---------------- articles ---------------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 30px 28px 28px;
  background: var(--tile); border-radius: 28px; }
.post-card time { font-size: .8125rem; color: var(--muted); letter-spacing: .02em; }
.post-card h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.post-card p { color: var(--muted); font-size: .9375rem; }
.post-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--ink); }
.post-card .go i { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.post-card .go i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.post-card:hover .go i { width: 30px; }
.post-card .tri-s { position: absolute; right: 26px; top: 28px; width: 16px; height: 15px; opacity: .9; }

/* ---------------- zone map ---------------- */
.zone { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 48px; }
.zone h3 { margin: 30px 0 12px; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.zone .sect-lead { margin-top: 0; }
.townlist { color: var(--text); font-size: .9875rem; }
.map { position: relative; background: #fbfbfd; border: 1px solid #ececf0; border-radius: 32px; overflow: hidden; }
.map svg { display: block; width: 100%; height: auto; }
.map .ring { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.map .net { fill: none; stroke: #b9b9c0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .dot { fill: var(--ink); }
.map .ping { fill: none; stroke: var(--red); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.js .map.in .ping, .map .ping { animation: ping 2.8s var(--ease) 1.2s infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.2); } }
.map .lb { position: absolute; z-index: 1; white-space: nowrap; font-size: 12px; line-height: 1; color: var(--ink); pointer-events: none; }
.map .lb.r { transform: translate(8px, -50%); }
.map .lb.l { transform: translate(calc(-100% - 8px), -50%); }
.map .lb.t { transform: translate(-50%, calc(-100% - 8px)); }
.map .lb.b { transform: translate(-50%, 9px); }
.map .lb.main { font-size: 14px; font-weight: 500; transform: translate(-50%, 14px); }
.map .lb.fraz { color: var(--muted); font-size: 11px; }
.map .lb.km { font-size: 10.5px; color: var(--muted); transform: translate(4px, -50%); }
.map .farline { fill: none; stroke: var(--red); stroke-width: 1.3; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.map .lb { text-shadow: 0 0 2px #fbfbfd, 0 0 4px #fbfbfd, 0 0 6px #fbfbfd; }
.map .lb.fardir { font-weight: 500; }
.map .lb.fl { transform: translate(0, calc(-100% - 9px)); }
.map .lb.fr { transform: translate(-100%, 9px); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 880px; margin-top: 44px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.3; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tile);
  transition: transform .5s var(--ease), background-color .3s ease; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--ink); transform: translate(-50%, -50%); transition: background-color .3s ease; }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open]:not(.closing) summary i { transform: rotate(135deg); background: var(--ink); }
.qa[open]:not(.closing) summary i::before, .qa[open]:not(.closing) summary i::after { background: #fff; }
.qa summary:hover i { background: #e8e8ed; }
.qa .a { overflow: hidden; }
.qa .a > div { padding: 0 56px 26px 0; color: var(--text); max-width: 46em; }
.qa .a p + p { margin-top: .8em; }
.qa .a a { color: var(--ink); text-underline-offset: 3px; }

/* ---------------- footer ---------------- */
.foot { padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .875rem; color: var(--muted); text-align: left; border-top: 1px solid #ececf0; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.foot .f-logo { height: 18px; width: auto; margin-bottom: 18px; }
.foot h2 { margin: 0 0 12px; font-size: .8125rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.foot p { line-height: 1.6; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 22px; border-top: 1px solid #ececf0; font-size: .8125rem; }

/* ---------------- inner pages ---------------- */
.inner main { padding-top: calc(54px + env(safe-area-inset-top)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.eyebrow { display: block; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ihero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.ihero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ihero .crumbs { margin-bottom: 26px; }
.ihero h1 { margin-top: 14px; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.03; letter-spacing: -.032em; text-wrap: balance; }
.ihero h1 .w { display: inline-block; }
.ihero .lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.5; color: var(--text); }
.ihero .cta { justify-content: flex-start; margin-top: 30px; }
.art-box { background: var(--tile); border-radius: 32px; padding: clamp(28px, 4vw, 52px); min-height: 300px; display: grid; place-items: center; }
.art-box .art { width: 100%; max-width: 420px; }
.art-box .art svg { max-height: 260px; }
.art-box .chips { justify-content: center; }
.js .ihero h1 .w { opacity: 0; transform: translateY(.45em); }
.js .ihero .lead, .js .ihero .cta, .js .ihero .eyebrow, .js .ihero .crumbs { opacity: 0; transform: translateY(12px); }
.ready .ihero h1 .w { animation: up .9s var(--ease) calc(.1s + var(--i) * 55ms) forwards; }
.ready .ihero .crumbs { animation: up .8s var(--ease) 0s forwards; }
.ready .ihero .eyebrow { animation: up .8s var(--ease) .05s forwards; }
.ready .ihero .lead { animation: up .9s var(--ease) .45s forwards; }
.ready .ihero .cta { animation: up .9s var(--ease) .6s forwards; }

.isect { padding: clamp(64px, 9vw, 120px) 0; }
.isect + .isect { padding-top: 0; }
.isect h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.022em; }
.isect .sub { margin-top: 12px; color: var(--muted); max-width: 36em; }
.incl { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.incl li { background: var(--tile); border-radius: 22px; padding: 26px 24px 24px; }
.incl svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.incl svg path { stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .incl svg path { stroke-dashoffset: 1; }
.js .in .incl svg path, .js .incl.in svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease) calc(.35s + var(--k, 0) * .12s); }
.incl h3 { margin-top: 16px; font-size: 1.1875rem; line-height: 1.25; }
.incl p { margin-top: 6px; font-size: .96875rem; color: var(--muted); }
.note { margin-top: 28px; max-width: 46em; padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px solid #e6e6eb; color: var(--text); }

.steps { list-style: none; margin: 48px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--line); }
.steps::after { background: var(--ink); transform-origin: left; transform: scaleX(var(--fl, 1)); }
.js:not(.static) .steps { --fl: clamp(0, calc((var(--p, 1) - .22) / .36), 1); }
.steps li { position: relative; z-index: 1; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.js:not(.static) .steps .n { --on: clamp(0, calc((var(--p, 1) - .22 - var(--k) * .12) * 30), 1);
  background: color-mix(in srgb, var(--ink) calc(var(--on) * 100%), #fff); color: color-mix(in srgb, #fff calc(var(--on) * 100%), var(--ink));
  border-color: color-mix(in srgb, var(--ink) calc(var(--on) * 100%), var(--line)); }
.steps h3 { margin-top: 18px; font-size: 1.125rem; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }

.quote { margin: 0; padding: clamp(32px, 5vw, 60px); border-radius: 32px; background: var(--ink); color: #fff; }
.quote .stars-s { margin-bottom: 20px; }
.quote blockquote { margin: 0; font-size: clamp(1.375rem, 2.6vw, 2.125rem); line-height: 1.3; letter-spacing: -.012em; }
.quote figcaption { margin-top: 20px; color: rgba(255, 255, 255, .68); font-size: .9375rem; }
.quote figcaption a { color: #fff; }

.rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.rel a { display: block; padding: 24px 24px 22px; border-radius: 22px; background: var(--tile); text-decoration: none; transition: background-color .3s ease, transform .5s var(--ease); }
.rel a:hover { background: #ebebf0; transform: translateY(-3px); }
.rel strong { display: block; font-weight: 500; font-size: 1.125rem; color: var(--ink); }
.rel span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.links-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 880px; }
.links-list li { border-bottom: 1px solid var(--line); }
.links-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.links-list time { flex: none; color: var(--muted); font-size: .875rem; }

.cta-band { text-align: center; padding: clamp(72px, 10vw, 130px) 0; border-top: 1px solid #ececf0; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -.025em; line-height: 1.06; }
.cta-band p { margin: 14px auto 0; max-width: 32em; color: var(--muted); }
.cta-band .cta { margin-top: 30px; }

/* article page */
.readbar { position: fixed; z-index: 49; left: 0; right: 0; top: calc(54px + env(safe-area-inset-top)); height: 2px; pointer-events: none; }
.readbar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--read, 0)); }
.post { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 90px); }
.post .wrap { max-width: 820px; }
.post h1 { margin-top: 16px; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
.post .subtitle { margin-top: 14px; font-size: clamp(1.125rem, 2vw, 1.375rem); color: var(--muted); line-height: 1.4; }
.post .meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .875rem; color: var(--muted); }
.prose { margin-top: 36px; font-size: 1.1875rem; line-height: 1.68; color: var(--ink); }
.prose p + p, .prose p + ul, .prose ul + p, .prose h2 + p { margin-top: 1.05em; }
.prose h2 { margin: 1.7em 0 .2em; font-size: 1.5rem; letter-spacing: -.012em; }
.prose ul { margin: 1.05em 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: .7em; }
.prose strong { font-weight: 500; }
.pnote { margin-top: 30px; padding: 16px 20px; border-radius: 16px; background: #fff5f1; border: 1px solid #f6d3c6; color: #6d2b1a; font-size: .9375rem; line-height: 1.5; }
.source { margin-top: 30px; font-size: .9375rem; color: var(--muted); }
.source a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.author { margin-top: 48px; display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 24px; background: var(--tile); }
.author img { width: 34px; height: 32px; flex: none; }
.author p { font-size: .9375rem; color: var(--text); }
.author b { font-weight: 500; color: var(--ink); }

/* articles index */
.tl-list { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tl-list li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; }
.tl-list time { color: var(--muted); font-size: .9375rem; padding-top: 4px; }
.tl-list h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.012em; }
.tl-list h2 a { text-decoration: none; }
.tl-list h2 a::after { content: ""; position: absolute; inset: 0; }
.tl-list p { margin-top: 10px; color: var(--muted); max-width: 40em; }
.tl-list li:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.arch-note { margin-top: 18px; max-width: 46em; color: var(--muted); }
.arch .qa .a > div h3 { font-size: 1rem; margin: 0 0 8px; color: var(--muted); font-weight: 400; }
.arch .qa time { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.arch .qa summary span { display: block; }

.e404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.e404 h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.04em; }
.e404 p { margin-top: 12px; color: var(--muted); }

/* ---------------- responsive additions ---------------- */
@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .posts .post-card:nth-child(3) { display: none; }
  .zone { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .f-main { grid-column: 1 / -1; }
  .ihero .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before, .steps::after { display: none; }
  .rel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .tl::before { top: 22px; right: 22px; width: 34px; height: 34px; }
  .tl::after { border-radius: 24px; }
  .r1 { --m: -40vw; --s: -80vw; }
  .r2 { --m: -120vw; --s: 80vw; }
  .rv { padding: 24px 22px 20px; border-radius: 22px; }
  .rv blockquote { font-size: 1rem; }
  .posts { grid-template-columns: 1fr; }
  .posts .post-card:nth-child(3) { display: flex; }
  .post-card { min-height: 0; }
  .map .lb { font-size: 10.5px; }
  .map .lb.main { font-size: 12.5px; }
  .map .lb.fraz, .map .lb.km { display: none; }
  .qa .a > div { padding-right: 0; }
  .foot .wrap { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { padding-left: 64px; min-height: 44px; }
  .steps .n { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 0; padding-top: 10px; }
  .rel { grid-template-columns: 1fr; }
  .tl-list li { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .author { align-items: flex-start; }
  .art-box { min-height: 0; padding: 28px 22px; }
}

/* reduced motion and static fallbacks for the additions */
@media (prefers-reduced-motion: reduce) {
  .js .eyebrow-h, .js .ihero h1 .w, .js .ihero .lead, .js .ihero .cta, .js .ihero .eyebrow, .js .ihero .crumbs { opacity: 1 !important; transform: none !important; letter-spacing: .16em; }
  .js .ihero .eyebrow, .js .ihero .crumbs, .js .ihero .lead, .js .ihero .cta, .js .ihero h1 .w { letter-spacing: normal; }
  .js .ihero .eyebrow { letter-spacing: .08em; }
  .js:not(.static) .rv-row { flex-wrap: wrap !important; justify-content: center !important; width: auto !important; margin-left: 0 !important;
    padding: 0 var(--gutter) !important; transform: none !important; }
  .js:not(.static) .rv { flex: 0 1 360px !important; width: auto !important; }
  .js .incl svg path { stroke-dashoffset: 0 !important; }
  .map .ping { animation: none !important; }
  .js:not(.static) .steps { --fl: 1; }
  .js:not(.static) .steps .n { background: var(--ink); color: #fff; border-color: var(--ink); }
}
