/* Bucher Digital: alternating full-bleed black and white bands, Lake Erie wave lines in each page hero, one 1240px content column. */
:root {
  --ink: #0A0A0A;
  --paper: #F4F3EF;
  --gray: #8C8B86;
  --gray-dark: #5B5A56;
  --line-dark: rgba(255,255,255,0.16);
  --line-light: rgba(10,10,10,0.14);
  --display: "Bricolage Grotesque", "Arial Black", Helvetica, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 70; background: var(--paper); color: var(--ink); padding: 12px 18px; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.dark { background: var(--ink); color: var(--paper); }
.light { background: var(--paper); color: var(--ink); }
.band { padding-block: clamp(80px, 11vw, 150px); }
.band.tight { padding-top: 0; }
.label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.sub { font-size: 1.15rem; max-width: 52ch; color: var(--gray-dark); }
.dark .sub { color: #B8B7B1; }
.head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.head-row .head { margin-bottom: 0; }

/* buttons */
.btn { --bg: var(--paper); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid var(--bg); cursor: pointer; overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--fg); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn.outline { --bg: transparent; background: transparent; color: currentColor; border-color: currentColor; }
.dark .btn.outline::before { background: var(--paper); }
.light .btn.outline::before { background: var(--ink); }
.dark .btn.outline:hover { color: var(--ink); }
.light .btn.outline:hover { color: var(--paper); }
.light .btn { --bg: var(--ink); --fg: var(--paper); }
.light .btn:hover { color: var(--ink); }
.light .btn.outline { --bg: transparent; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header and menu */
header.site { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; mix-blend-mode: difference; color: #fff; pointer-events: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.nav a, .nav button { pointer-events: auto; text-decoration: none; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo i { font-family: var(--serif); font-weight: 400; font-style: italic; }
.nav ul { display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; font-weight: 500; }
.nav ul a { position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .pill { border: 1px solid currentColor; border-radius: 999px; padding: 10px 18px; font-size: 0.92rem; font-weight: 600; }
.menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: 10px 18px; font: 600 0.92rem var(--body); cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: calc(env(safe-area-inset-top, 0px) + 22px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 30px) max(20px, env(safe-area-inset-left, 0px)); transform: translateY(-100%); visibility: hidden; transition: transform .7s var(--ease), visibility 0s .7s; overflow-y: auto; }
.menu.open { transform: none; visibility: visible; transition: transform .7s var(--ease), visibility 0s; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 13vw, 5rem); letter-spacing: -0.045em; line-height: 1.02; text-decoration: none; transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.menu.open nav a { transform: none; opacity: 1; }
.menu.open nav a:nth-child(2) { transition-delay: .05s; } .menu.open nav a:nth-child(3) { transition-delay: .1s; } .menu.open nav a:nth-child(4) { transition-delay: .15s; } .menu.open nav a:nth-child(5) { transition-delay: .2s; } .menu.open nav a:nth-child(6) { transition-delay: .25s; }
.menu nav a[aria-current="page"] { font-family: var(--serif); font-style: italic; font-weight: 400; }
.menu-foot { font-family: var(--mono); font-size: 0.8rem; color: #9C9B95; display: grid; gap: 6px; }

/* page curtain */
.curtain { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper); pointer-events: none; display: grid; place-items: center; transform: translateY(-101%); }
.curtain span { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -0.04em; }
.curtain span i { font-family: var(--serif); font-weight: 400; }
.curtain.enter { animation: curtainUp .95s var(--ease) .1s both; }
.curtain.leave { animation: curtainIn .5s var(--ease) both; }
@keyframes curtainUp { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes curtainIn { from { transform: translateY(101%); } to { transform: translateY(0); } }

/* hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(130px, 16vw, 190px); padding-bottom: clamp(70px, 9vw, 120px); }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 34px; }
.hero h1 { font-size: clamp(3rem, 8.6vw, 8.4rem); max-width: 13ch; }
.hero.page h1 { font-size: clamp(3rem, 9vw, 8rem); max-width: 14ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) .35s both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .43s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .51s; }
.rot-line em { display: inline-block; font-size: 1.08em; }
.rot { display: inline-block; transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease); }
.rot.out { transform: translateY(-70%); opacity: 0; filter: blur(6px); }
.rot.in { transform: translateY(70%); opacity: 0; filter: blur(6px); transition: none; }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; animation: fade 1s .8s var(--ease) both; }
.hero-foot .sub { color: #C9C8C2; }
.hero-foot .btns { margin-top: 26px; }
.coords { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: #9C9B95; display: grid; gap: 6px; text-align: right; }
.coords b { color: var(--paper); font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 80%,100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.crumbs { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: #9C9B95; display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--ink); background: var(--paper); padding-block: 22px; }
.track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.track span { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.02em; white-space: nowrap; padding-right: 34px; display: inline-flex; align-items: center; gap: 34px; }
.track span::after { content: "✳"; font-size: 0.7em; }
.track span.us { font-family: var(--serif); font-style: italic; font-weight: 400; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* problems */
.probs { border-top: 1px solid var(--line-light); }
.prob { display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: baseline; padding-block: 36px; border-bottom: 1px solid var(--line-light); }
.prob .n { font-family: var(--mono); font-size: 0.85rem; color: var(--gray); }
.strike { display: inline; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -0.025em; background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-position: 0 58%; background-size: 100% 3px; transition: background-size 1s var(--ease) .15s, color 1s var(--ease) .15s; color: var(--gray); }
.prob .fix { font-size: 1.08rem; transition: opacity .8s var(--ease) .7s, transform .8s var(--ease) .7s; }
.prob .fix b { font-weight: 600; }
.is-pre .strike { background-size: 0% 3px; color: var(--ink); }
.is-pre .fix { opacity: 0; transform: translateY(12px); }

/* service rows */
.svc { border-top: 1px solid var(--line-dark); }
.svc-row { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 0.9fr) 60px; gap: 28px; align-items: center; padding-block: 38px; border-bottom: 1px solid var(--line-dark); text-decoration: none; isolation: isolate; overflow: hidden; }
.svc-row::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover { color: var(--ink); }
.svc-row .n { font-family: var(--mono); font-size: 0.85rem; color: var(--gray); padding-left: 12px; }
.svc-row h3 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); transition: transform .55s var(--ease); }
.svc-row:hover h3 { transform: translateX(14px); }
.svc-row p { color: #B8B7B1; transition: color .4s; }
.svc-row:hover p { color: var(--gray-dark); }
.go { width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; transition: transform .55s var(--ease), background .4s, color .4s; }
.svc-row .go { margin-right: 12px; }
.svc-row:hover .go { transform: rotate(-45deg); background: var(--ink); color: var(--paper); }

/* service detail */
.detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); padding-block: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line-light); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail-head { position: sticky; top: 110px; align-self: start; display: grid; gap: 18px; }
.detail-head .n { font-family: var(--mono); font-size: 0.85rem; color: var(--gray); }
.detail-head h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.detail-head .from { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.04em; }
.detail-body { display: grid; gap: 28px; min-width: 0; }
.detail-body > p { font-size: 1.15rem; color: var(--gray-dark); }
.inc { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-light); }
.inc li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line-light); font-size: 1.05rem; }
.inc li::before { content: "+"; font-family: var(--mono); color: var(--gray); }
.inc b { font-weight: 600; }
.good-for { display: flex; flex-wrap: wrap; gap: 8px; }
.good-for span { border: 1px solid var(--line-light); border-radius: 99px; padding: 6px 14px; font-size: 0.9rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--ink); border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; gap: 22px; background: var(--paper); transition: transform .5s var(--ease); }
.plan:hover { transform: translateY(-8px); }
.plan.feat { background: var(--ink); color: var(--paper); }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan .kind { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.plan .badge { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 99px; padding: 4px 10px; }
.plan h3 { font-size: 1.9rem; letter-spacing: -0.03em; }
.price { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--gray); }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 12px; font-size: 0.98rem; }
.plan.feat ul { border-color: var(--line-dark); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.plan li::before { content: "+"; font-family: var(--mono); }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan.feat .btn { --bg: var(--paper); --fg: #2A2A2A; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan.feat .btn:hover { color: var(--paper); }
.bundle { margin-top: 18px; border: 1px dashed var(--ink); border-radius: 24px; padding: 24px 30px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.bundle p { min-width: 0; font-size: 1.05rem; }
.bundle em { font-size: 1.25em; }

/* process */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 44px 0 0; list-style: none; margin: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 9px; left: 0; height: 1px; }
.steps::before { right: 0; background: var(--line-light); }
.steps::after { width: 100%; background: var(--ink); transform-origin: left; transition: transform 1.8s var(--ease); }
.steps.is-pre::after { transform: scaleX(0); }
.steps li { position: relative; display: grid; gap: 14px; align-content: start; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.steps li::before { content: ""; position: absolute; top: -44px; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.steps li:nth-child(2) { transition-delay: .5s; }
.steps li:nth-child(3) { transition-delay: 1s; }
.steps li:nth-child(4) { transition-delay: 1.5s; }
.steps.is-pre li { opacity: 0; transform: translateY(16px); }
.steps .k { font-family: var(--mono); font-size: 0.78rem; color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase; }
.steps h3 { font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.05; }
.steps p { color: var(--gray-dark); }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.frame { grid-column: span 6; perspective: 1000px; text-decoration: none; display: grid; gap: 16px; align-content: start; }
.frame.wide { grid-column: 2 / span 10; }
.screen { border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden; background: #141414; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.light .screen { border-color: var(--line-light); background: #E9E8E3; }
.bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); }
.light .bar { border-color: var(--line-light); }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3A3A; }
.light .bar i { background: #C9C8C2; }
.ph { aspect-ratio: 16 / 10; max-width: 100%; display: grid; place-items: center; text-align: center; padding: 20px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: #9C9B95; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.05) 14px 15px); }
.light .ph { color: var(--gray-dark); background-color: #E9E8E3; background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(0,0,0,.06) 14px 15px); }
.frame .cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 0.98rem; }
.frame .cap span { color: #9C9B95; font-family: var(--mono); font-size: 0.8rem; }
.frame .note { font-size: 0.98rem; color: #B8B7B1; max-width: 60ch; }
.next-card { grid-column: span 6; border: 1px dashed var(--line-dark); border-radius: 16px; padding: 34px; display: grid; gap: 18px; align-content: center; min-height: 280px; }
.next-card h3 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* local */
.local { position: relative; overflow: hidden; }
.big716 { position: absolute; right: -2vw; top: 50%; font-family: var(--display); font-weight: 800; font-size: clamp(12rem, 34vw, 32rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(10,10,10,.16); pointer-events: none; user-select: none; will-change: transform; transform: translateY(-50%); }
.local-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.portrait { position: relative; border-radius: 24px; overflow: visible; aspect-ratio: 4 / 5; max-width: 100%; }
.portrait .ph { aspect-ratio: auto; height: 100%; border-radius: 24px; }
.stamp { position: absolute; right: -10px; bottom: 26px; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.stamp svg text { font-family: var(--mono); font-size: 9.5px; letter-spacing: 2.4px; fill: var(--paper); text-transform: uppercase; }
.stamp b { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.04em; }
@keyframes spin { to { transform: rotate(360deg); } }
.local-copy { display: grid; gap: 22px; min-width: 0; }
.local-copy p { font-size: 1.12rem; color: var(--gray-dark); max-width: 54ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); margin-top: 10px; }
.facts div { padding: 18px 16px 0 0; display: grid; gap: 4px; }
.facts b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.03em; }
.facts span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); }

/* values */
.values { border-top: 1px solid var(--line-dark); }
.value { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-block: 40px; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.value .n { font-family: var(--mono); font-size: 0.85rem; color: var(--gray); }
.value h3 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.value p { color: #B8B7B1; font-size: 1.08rem; }

/* story */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); }
.story .big-quote { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -0.01em; }
.story-body { display: grid; gap: 20px; font-size: 1.15rem; color: var(--gray-dark); min-width: 0; }
.story-body p:first-child::first-letter { font-family: var(--display); font-weight: 800; float: left; font-size: 4.4em; line-height: 0.8; padding: 6px 12px 0 0; color: var(--ink); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.quote { border: 1px dashed var(--line-dark); border-radius: 24px; padding: 34px; display: grid; gap: 22px; align-content: space-between; min-height: 260px; }
.quote p { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.quote .who { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em; color: #9C9B95; }

/* blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { border: 1px solid var(--ink); border-radius: 99px; padding: 9px 18px; background: transparent; font: 500 0.92rem var(--body); cursor: pointer; color: var(--ink); transition: background .3s, color .3s; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: var(--paper); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { position: relative; border: 1px solid var(--line-light); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; min-height: 330px; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), transform .5s var(--ease), border-color .5s; }
.post-card::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.post-card:hover { color: var(--paper); transform: translateY(-6px); border-color: var(--ink); }
.post-card:hover::before { transform: none; }
.post-card .cat { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.post-card h3 { font-size: 1.65rem; letter-spacing: -0.03em; line-height: 1.04; }
.post-card p { color: var(--gray-dark); transition: color .5s; font-size: 1rem; }
.post-card:hover p { color: #B8B7B1; }
.post-card .meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.75rem; color: var(--gray); }
.post-card.feature { grid-column: span 2; }
.post-card.feature h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 18ch; }
.dark .post-card { border-color: var(--line-dark); }
.dark .post-card::before { background: var(--paper); }
.dark .post-card:hover { color: var(--ink); border-color: var(--paper); }
.dark .post-card p { color: #B8B7B1; }
.dark .post-card:hover p { color: var(--gray-dark); }

/* article */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; background: #fff; mix-blend-mode: difference; transform-origin: left; transform: scaleX(0); z-index: 25; pointer-events: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: #9C9B95; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.prose { max-width: 720px; font-size: 1.14rem; line-height: 1.75; min-width: 0; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 2em 0 0.55em; line-height: 1.04; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.45rem; margin: 1.7em 0 0.45em; letter-spacing: -0.02em; line-height: 1.15; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose li::marker { font-family: var(--mono); color: var(--gray); }
.prose strong { font-weight: 600; }
.prose a { text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line-light); border-radius: 16px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-light); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; background: rgba(10,10,10,0.04); }
.aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.aside-card { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 28px; display: grid; gap: 16px; }
.aside-card h3 { font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.04; }
.aside-card p { color: #B8B7B1; font-size: 0.98rem; }
.aside-card .btn { --bg: var(--paper); --fg: #2A2A2A; background: var(--paper); color: var(--ink); justify-content: space-between; }
.aside-card .btn:hover { color: var(--paper); }
.back { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-decoration: none; color: var(--gray-dark); }
.back:hover { color: var(--ink); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; position: relative; transition: transform .45s var(--ease), background .3s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: background .3s; }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--ink); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--paper); }
.faq details p { padding-bottom: 26px; color: var(--gray-dark); max-width: 60ch; }

/* cta and contact */
.cta h2.huge { font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: 0.92; }
.cta .btns { margin-top: clamp(36px, 5vw, 60px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.cta-info { display: grid; gap: 26px; min-width: 0; }
.cta-info .row { display: grid; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.cta-info .row span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9C9B95; }
.cta-info .row b { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cta-info .row a { text-decoration: none; }
form.call { display: grid; gap: 22px; }
form.call label { display: grid; gap: 8px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9C9B95; }
form.call input, form.call select, form.call textarea { font: inherit; font-family: var(--body); font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; padding: 10px 0; width: 100%; transition: border-color .3s; }
form.call select option { color: var(--ink); }
form.call input::placeholder, form.call textarea::placeholder { color: #6F6E69; }
form.call input:focus, form.call select:focus, form.call textarea:focus { outline: none; border-bottom-color: var(--paper); }
form.call textarea { min-height: 90px; resize: vertical; }
form.call .btn { justify-self: start; margin-top: 8px; }
.msg { font-size: 0.95rem; min-height: 1.4em; }

/* footer */
footer.site-foot { padding-block: 60px 34px; border-top: 1px solid var(--line-dark); }
.foot-big { font-family: var(--display); font-size: clamp(3rem, 15vw, 14rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; margin-bottom: 50px; }
.foot-big i { font-family: var(--serif); font-weight: 400; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.foot-cols h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9C9B95; font-weight: 500; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-cols p { color: #B8B7B1; font-size: 0.98rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: #9C9B95; }

/* reveal */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-pre { opacity: 0; transform: translateY(40px); }
.prob[data-reveal].is-pre, .steps[data-reveal].is-pre { opacity: 1; transform: none; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 50; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; opacity: 0; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

@media (max-width: 1060px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; max-width: 720px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 60px; }
}
@media (max-width: 960px) {
  .nav ul, .nav .pill { display: none; }
  .menu-btn { display: inline-block; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .coords { text-align: left; }
  .live { justify-content: flex-start; }
  .prob, .value { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 52px; gap: 14px; }
  .svc-row .n { display: none; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .plans, .quotes, .local-grid, .faq-grid, .cta-grid, .detail, .story { grid-template-columns: minmax(0, 1fr); }
  .detail-head { position: static; }
  .steps, .steps.four { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 0 0 0 36px; }
  .steps::before, .steps::after { top: 0; bottom: 0; left: 9px; width: 1px; height: auto; right: auto; }
  .steps::after { transform-origin: top; }
  .steps.is-pre::after { transform: scaleY(0); }
  .steps li::before { top: 4px; left: -36px; }
  .frame, .frame.wide, .next-card { grid-column: 1 / -1; }
  .portrait { max-width: 420px; }
  .stamp { right: 10px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post-card.feature { grid-column: auto; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding-right: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
  .btn { padding: 16px 22px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .track { animation: none; }
  .curtain { display: none; }
}
