/* dianshi.ca — stone and seal.
   One typeface (Archivo, variable in weight and width): wide and heavy for headings, normal for text.
   Cool stone neutrals, graphite ink, and one accent: the cinnabar red of a seal. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  --stone: #eceeea; --slab: #f8f8f5; --ink: #1b1f1d; --ink-2: #4c544f; --ink-3: #687069; --line: #d2d6cf; --line-2: #b9c0b8;
  --seal: #b3261e; --seal-d: #8f1d17; --dark: #1f2422; --on-dark: #eceeea; --on-dark-2: #aab1ab; --dark-line: #3a413d;
  --sans: "Archivo", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1240px; --pad: clamp(20px, 4.4vw, 60px); --sec: clamp(64px, 8.5vw, 128px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--stone); color: var(--ink); font: 400 17px/1.6 var(--sans); font-stretch: 100%; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--seal); color: #fff; }

h1, h2, h3 { font-stretch: 112%; font-weight: 640; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
h3 { font-stretch: 106%; font-weight: 620; letter-spacing: -.012em; line-height: 1.2; }
p { text-wrap: pretty; }
.zh { line-height: 1.8; }
.zh h1, .zh h2, .zh h3 { letter-spacing: 0; font-weight: 700; line-height: 1.28; }
.zh h3 { font-weight: 650; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap.narrow { max-width: calc(820px + 2 * var(--pad)); }
main > section { padding-block: var(--sec); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 1.5px solid var(--seal); border-radius: 4px; background: var(--seal); color: #fff; font-weight: 600; font-stretch: 104%; text-decoration: none; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--seal-d); border-color: var(--seal-d); }
.btn.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.btn-quiet:hover { background: var(--ink); color: var(--stone); }
.btn.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn.btn-big { min-height: 60px; padding: 16px 32px; font-size: 19px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--seal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { color: var(--seal); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.more { margin-top: 36px; }
.kind { font-size: 14.5px; font-weight: 560; color: var(--seal); margin-bottom: 10px; }
.note { color: var(--ink-2); font-size: 15.5px; }

/* ---------- header ---------- */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .seal { flex: none; }
.brand-name { font-size: 22px; font-weight: 700; font-stretch: 116%; letter-spacing: -.02em; }
.brand-zh { font-size: 15px; color: var(--ink-3); padding-left: 11px; border-left: 1px solid var(--line-2); line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 16px; }
.nav > a:not(.btn):not(.lang) { text-decoration: none; font-weight: 520; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):not(.lang):hover, .nav > a[aria-current="page"] { border-bottom-color: var(--seal); }
.lang { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 560; color: var(--ink-3); }
.lang .on { color: var(--ink); }
.lang i { position: relative; width: 34px; height: 20px; border-radius: 20px; background: var(--ink); }
.lang i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--stone); transition: transform .2s; }
.zh .lang i::after { transform: translateX(14px); }
.menu { display: none; border: 1.5px solid var(--ink); background: none; border-radius: 4px; padding: 8px 14px; font-weight: 600; font-size: 15px; }

/* ---------- hero ---------- */
main > .hero { padding-block: clamp(52px, 8vw, 116px) clamp(40px, 5vw, 72px); }
.hero h1 { font-size: clamp(38px, 6.3vw, 86px); line-height: 1.01; letter-spacing: -.034em; font-weight: 660; max-width: 15.5em; }
.zh .hero h1 { font-size: clamp(33px, 5.1vw, 68px); line-height: 1.22; max-width: 13em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: end; margin-top: clamp(28px, 4vw, 52px); }
.lead { font-size: clamp(18px, 1.55vw, 21.5px); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.zh .lead { line-height: 1.85; }
.hero-row .actions { justify-content: flex-end; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px 56px; align-items: end; margin-bottom: clamp(32px, 4.4vw, 60px); }
.sec-head h2 { font-size: clamp(29px, 3.7vw, 50px); }
.sec-head p { color: var(--ink-2); font-size: 18px; max-width: 34em; }
.sec-head h2:only-child { grid-column: 1 / -1; }

/* ---------- work ---------- */
main > .work { padding-top: clamp(40px, 5vw, 72px); }
.frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: 6px; background: var(--slab); container-type: inline-size; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame.is-pan img { height: auto; object-fit: fill; transition: transform 1.1s ease; }
.frame.is-video { background: #0d2233; border-color: #0d2233; }
.case-media .frame.is-video, .long .frame.is-video { aspect-ratio: 16 / 9; }
.case-media .frame { aspect-ratio: 16 / 10; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature:hover .frame.is-pan img, .card:hover .frame.is-pan img, .frame.is-pan:focus-within img { transform: translateY(calc(-100% + 62.5cqw)); transition: transform 9s linear; }
}
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-bottom: clamp(40px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.feature-text h3, .feature-text h2 { font-size: clamp(26px, 2.9vw, 40px); font-stretch: 112%; font-weight: 640; letter-spacing: -.022em; line-height: 1.1; margin-bottom: 16px; }
.feature-text h3 a, .card h3 a { text-decoration: none; }
.feature-text h3 a:hover, .card h3 a:hover { color: var(--seal); }
.feature-text > p { color: var(--ink-2); }
.feature-text .ticks { margin-top: 20px; }
.feature-text .actions { margin-top: 26px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4.6vw, 64px) clamp(24px, 3vw, 44px); }
.card { position: relative; }
.card-text { padding-top: 18px; }
.card h3 { font-size: clamp(22px, 2vw, 27px); margin-bottom: 8px; }
.card p { color: var(--ink-2); }
.card .kind { color: var(--seal); }
.card .domain { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card.card-data { grid-column: 1 / -1; background: var(--dark); color: var(--on-dark); border-radius: 6px; padding: clamp(26px, 3.6vw, 48px); }
.card.card-data .kind { color: #f0a59f; }
.card.card-data > p { color: var(--on-dark-2); max-width: 46em; }
.card.card-data h3 a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--seal); text-underline-offset: 6px; }
.card.card-data .nums { margin-top: 30px; border-top: 1px solid var(--dark-line); padding-top: 26px; }
.card.card-data .nums dd { color: var(--on-dark-2); }

.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 26px 36px; }
.nums dt { font-size: clamp(34px, 4.1vw, 58px); font-weight: 620; font-stretch: 110%; letter-spacing: -.03em; line-height: 1; }
.nums dt small { font-size: .55em; font-weight: 500; margin-right: 2px; vertical-align: .22em; }
.nums dd { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 17em; }

/* ---------- services: situations ---------- */
main > .services { background: var(--slab); border-block: 1px solid var(--line); }
.tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line-2); }
.tablist button { text-align: left; background: none; border: 0; border-bottom: 4px solid transparent; padding: 18px 20px 18px 0; margin-bottom: -1px; font-size: clamp(17px, 1.55vw, 21px); font-weight: 600; font-stretch: 106%; line-height: 1.25; color: var(--ink-3); }
.tablist button:hover { color: var(--ink); }
.tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--seal); }
.panel { padding-top: 30px; }
.panel-lead { color: var(--ink-2); font-size: 18px; max-width: 44em; margin-bottom: 22px; }
.panel-lead strong { color: var(--ink); font-weight: 620; }
.panel-plan { margin-top: 22px; font-weight: 600; }
.rows li { border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2.4fr); gap: 6px 28px; align-items: baseline; padding: 20px 0; text-decoration: none; transition: padding .15s, background-color .15s; }
.rows a:hover { background: var(--stone); padding-inline: 14px; }
.row-name { font-size: 20px; font-weight: 620; font-stretch: 106%; letter-spacing: -.01em; }
.rows a:hover .row-name { color: var(--seal); }
.row-text { color: var(--ink-2); }
.row-price { text-align: right; font-weight: 560; font-size: 15.5px; white-space: nowrap; }
main > .service-list { padding-top: 0; }
main > .service-list .rows a:hover { background: var(--slab); }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 18px; font-size: 30px; font-weight: 620; font-stretch: 110%; color: var(--seal); line-height: 1.2; letter-spacing: -.02em; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); max-width: 40em; }
.steps.steps-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); }
.steps.steps-row > li { padding: 62px 0 0; border-top: 2px solid var(--ink); }
.steps.steps-row > li::before { top: 14px; }

/* ---------- trust (dark band) ---------- */
main > .trust { background: var(--dark); color: var(--on-dark); }
.trust .sec-head p { color: var(--on-dark-2); }
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); }
.trust-list li { border-top: 1px solid var(--dark-line); padding-top: 22px; }
.trust-list h3 { font-size: 20px; margin-bottom: 10px; }
.trust-list h3::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 2px; background: var(--seal); margin-bottom: 16px; }
.trust-list p { color: var(--on-dark-2); }

/* ---------- about teaser ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 56px; }
.about-grid h2 { font-size: clamp(29px, 3.7vw, 50px); }
.big { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.5; max-width: 33em; }
.zh .big { line-height: 1.8; }

/* ---------- pricing ---------- */
main > .pricing { background: var(--slab); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.plan { background: var(--stone); border: 1px solid var(--line-2); border-top: 4px solid var(--ink); border-radius: 6px; padding: clamp(22px, 2.6vw, 34px); }
.plan.is-main { border-top-color: var(--seal); background: #fff; }
.plan h3 { font-size: 22px; }
.plan-price { margin: 18px 0 14px; }
.plan-price b, .plan-price span { display: block; }
.plan-price span { margin-top: 8px; }
.plan-price b { font-size: clamp(38px, 4vw, 54px); font-weight: 620; font-stretch: 110%; letter-spacing: -.03em; line-height: 1; }
.plan-price span { font-size: 14.5px; color: var(--ink-2); }
.plan-fit { color: var(--ink-2); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); min-height: 5.2em; }
.plan li, .ticks li { position: relative; padding-left: 22px; margin-top: 10px; }
.plan li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 1.5px; background: var(--seal); }
.zh .plan li::before, .zh .ticks li::before { top: .72em; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(16px, 2vw, 28px); }
.extra { border: 1px solid var(--line-2); border-radius: 6px; padding: clamp(20px, 2.4vw, 30px); }
.extra h3 { font-size: 19px; }
.extra-price { font-size: 22px; font-weight: 620; font-stretch: 108%; margin: 10px 0 8px; }
.extra p:last-child { color: var(--ink-2); }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; font-stretch: 104%; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 26px; line-height: 1; color: var(--seal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 42em; }

.faq-all h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 56px 0 16px; }
.faq-all h2:first-child { margin-top: 0; }
main > .faq-all { padding-top: 0; }
.faq-sec .more { margin-top: 28px; }

/* ---------- call to action: the one red band ---------- */
main > .cta { background: var(--seal); color: #fff; }
.cta h2 { font-size: clamp(32px, 5vw, 68px); max-width: 13em; letter-spacing: -.03em; }
.cta p { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; margin-top: 18px; color: #fbe9e7; }
.cta .actions { margin-top: 34px; }
.cta .btn { background: #fff; border-color: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta .btn.btn-quiet { background: transparent; border-color: #fff; color: #fff; }
.cta .btn.btn-quiet:hover { background: #fff; color: var(--ink); }
.cta :focus-visible { outline-color: #fff; }

/* ---------- inner pages ---------- */
main > .page-head { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(34px, 5.2vw, 68px); letter-spacing: -.03em; max-width: 16em; }
.zh .page-head h1 { font-size: clamp(31px, 4.4vw, 56px); }
.page-head .lead { margin-top: 22px; }
.page-head .actions { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--seal); }
.crumbs i { font-style: normal; color: var(--line-2); }
main > .case-media, main > .case-nums { padding-block: 0 clamp(36px, 4.4vw, 60px); }
main > .case-body, main > .service-body, main > .about-body { padding-top: clamp(20px, 3vw, 40px); }
.case-nums .nums { border-block: 1px solid var(--line-2); padding-block: 30px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.case-grid aside { position: sticky; top: 100px; }
.case-grid aside:has(.mini) { position: static; }
.aside-h { font-size: 15px; font-stretch: 100%; font-weight: 620; letter-spacing: 0; color: var(--ink-3); margin: 0 0 12px; }
.aside-h:not(:first-child) { margin-top: 34px; }
.facts > div { border-top: 1px solid var(--line); padding: 12px 0; }
.facts dt { font-size: 14px; color: var(--ink-3); }
.facts dd { font-weight: 520; }
.facts.facts-wide { margin-top: 44px; max-width: 760px; }
.facts.facts-wide > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: baseline; }
.price-note { font-size: 19px; font-weight: 520; line-height: 1.45; }
.plain li { margin-top: 8px; }
aside .actions { margin-top: 30px; }
.prose > h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 52px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose > p { font-size: 18.5px; max-width: 38em; }
.prose > p + p { margin-top: 16px; }
.prose > .ticks { max-width: 42em; font-size: 18px; }
.prose > .ticks li { margin-top: 14px; }
.prose.legal > p { font-size: 17px; color: var(--ink-2); }
.prose.legal > h2 { font-size: 21px; margin: 34px 0 10px; }
.meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px; margin-top: 52px; }
.meter figcaption { font-weight: 600; margin-bottom: 12px; }
.meter-bar { height: 16px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: 4px 0 0 4px; background: var(--ink); border-right: 2px solid var(--stone); }
.meter-val { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.meter-val b { font-size: 34px; font-weight: 620; font-stretch: 110%; letter-spacing: -.03em; line-height: 1; }
.meter-val span, .meter-note { font-size: 14.5px; color: var(--ink-2); }
.tbl { margin-top: 52px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
caption { text-align: left; font-size: clamp(22px, 2.2vw, 28px); font-weight: 640; font-stretch: 112%; letter-spacing: -.02em; padding-bottom: 16px; }
thead th { font-size: 14px; font-weight: 560; color: var(--ink-3); text-align: left; padding: 8px 14px 8px 0; border-bottom: 2px solid var(--ink); }
tbody th { text-align: left; font-weight: 400; }
tbody th, tbody td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
tbody td { color: var(--ink-2); font-size: 15px; }
.r { text-align: right; }
tbody td.r { font-variant-numeric: tabular-nums; font-weight: 640; font-size: 18px; color: var(--ink); padding-right: 28px; }
thead th.r { padding-right: 28px; }
.tbl-note { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); max-width: 46em; }
main > .gallery { padding-top: 0; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.shots figure img { border: 1px solid var(--line-2); border-radius: 6px; background: var(--slab); width: 100%; }
.shots figcaption { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.shots .phone { max-width: 250px; }
main > .next { padding-block: 0 var(--sec); }
.next p { font-size: 14.5px; color: var(--ink-3); margin-bottom: 8px; }
.next a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 26px 0; border-block: 2px solid var(--ink); text-decoration: none; }
.next a span { font-size: clamp(26px, 3.6vw, 48px); font-weight: 640; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.1; }
.next a small { font-size: 15.5px; color: var(--ink-2); }
.next a:hover span { color: var(--seal); }
.timeline > div { display: grid; grid-template-columns: 124px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline dt { font-weight: 640; font-stretch: 108%; font-variant-numeric: tabular-nums; color: var(--seal); }
.timeline dd { max-width: 44em; }
p, li, dd { text-wrap: pretty; }
.seal-big .seal { width: clamp(120px, 14vw, 176px); height: auto; }
.motto { margin-top: 16px; font-weight: 600; }
main > .long { padding-top: 0; }
main > .long .feature { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.contact .note { margin-top: 18px; }
.extra-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.facts.about-facts { margin: 0 0 8px; max-width: none; }
.facts.about-facts > div { grid-template-columns: 124px 1fr; gap: 20px; padding: 14px 0; }
.about-facts dt { font-size: 15px; font-weight: 560; color: var(--ink-3); }
.about-facts dd { font-weight: 400; color: var(--ink); max-width: 44em; }
.faq .work-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: -12px; padding-bottom: 24px; }
.faq .work-links .link { font-weight: 520; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.timeline dd .link { display: inline-block; margin-top: 8px; font-size: 15.5px; }
.prose .faq { max-width: 42em; }
.prose .updated { margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.nf-zh { margin-top: 56px; font-size: 28px; }
.nf-zh + p { margin: 12px 0 18px; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 72px); font-size: 15.5px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: start; }
.foot-brand { display: flex; gap: 22px; align-items: flex-start; }
.foot-brand .seal { flex: none; }
.foot-line { max-width: 30em; color: var(--ink-2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.foot-nav a { text-decoration: none; font-weight: 520; }
.foot-nav a:hover { color: var(--seal); }
.foot-note { grid-column: 1 / -1; color: var(--ink-3); font-size: 14.5px; }
.foot-note + .foot-note { margin-top: -18px; }
.foot-note a { color: var(--ink-2); margin-left: 10px; }

/* ---------- one moment of motion: the seal is stamped when the page opens ---------- */
@media (prefers-reduced-motion: no-preference) {
  .brand .seal { animation: stamp .5s cubic-bezier(.2, .9, .3, 1.2) .15s both; transform-origin: 50% 60%; }
  @keyframes stamp { from { transform: scale(1.5) rotate(-9deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .steps.steps-row, .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .plans { grid-template-columns: 1fr; }
  .plan-fit { min-height: 0; }
  .rows a { grid-template-columns: minmax(0, 1fr) auto; }
  .row-text { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 860px) {
  .hero-row, .sec-head, .feature, .about-grid, .case-grid, .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-row .actions, .foot-nav { justify-content: flex-start; }
  .case-grid aside { position: static; }
  .js .menu { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 77px; z-index: 10; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px var(--pad) 30px; background: var(--stone); border-bottom: 1px solid var(--line-2); font-size: 19px; }
  .js .nav.open { display: flex; }
  .top { position: relative; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  html { font-size: 16.5px; }
  .cards, .shots, .extras, .meters, .tablist, .steps.steps-row, .trust-list { grid-template-columns: minmax(0, 1fr); }
  .tablist { border-bottom: 0; }
  .tablist button { border-bottom: 1px solid var(--line); border-left: 4px solid transparent; padding: 14px 0 14px 14px; margin: 0; }
  .tablist button[aria-selected="true"] { border-left-color: var(--seal); border-bottom-color: var(--line); }
  .brand-zh { display: none; }
  .timeline > div, .facts.facts-wide > div { grid-template-columns: 1fr; gap: 2px; }
  .steps > li { padding-left: 46px; }
  .steps.steps-row > li { padding: 56px 0 0; }
  .foot-brand { flex-direction: column; }
  .btn.btn-big { width: 100%; }
  tbody td.r, thead th.r { padding-right: 14px; }
}

/* ---------- pricing: the cost calculator band ---------- */
.calc-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-top: clamp(16px, 2vw, 28px); padding: clamp(22px, 2.6vw, 34px); background: var(--dark); color: var(--on-dark); border-radius: 6px; }
.calc-cta h2 { font-size: clamp(22px, 2.2vw, 28px); }
.calc-cta p { color: var(--on-dark-2); margin-top: 6px; max-width: 40em; }

/* =================== site-wide flow (2026-10-18): every page leads somewhere =================== */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* header stays in reach while reading */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--stone) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.is-scrolled .top { box-shadow: 0 8px 24px -18px rgba(27, 31, 29, .45); }
.nav .btn.nav-check { border-width: 1.5px; }
@media (min-width: 861px) and (max-width: 1180px) { .nav .nav-check { display: none; } }

/* closing band: one line under the buttons */
.cta-note { font-size: 15px !important; margin-top: 18px !important; color: #f6cfcb !important; }

/* footer: brand, pages, free tools, services */
.foot .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2.2fr)) minmax(0, 3fr); gap: 32px 40px; align-items: start; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col p { font-size: 13px; font-weight: 640; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.zh .foot-col p { letter-spacing: .04em; text-transform: none; }
.foot-col a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.foot-col a:hover { color: var(--seal); }
.foot-mail { margin-top: 14px; }
.foot-mail a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--seal); text-underline-offset: 4px; }
.foot .foot-note { margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid var(--line); }

/* home hero: the words on the left, a working check on the right */
.hero-flow .wrap { display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(320px, 4.4fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-flow h1 { font-size: clamp(36px, 5.4vw, 76px); }
.zh .hero-flow h1 { font-size: clamp(31px, 4.4vw, 60px); }
.hero-flow .lead { margin-top: clamp(22px, 2.6vw, 32px); }
.hero-flow .actions { margin-top: 30px; }

/* the embedded tools */
.mini { background: var(--slab); border: 1px solid var(--line-2); border-radius: 8px; padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 18px 40px -32px rgba(27, 31, 29, .5); }
.mini-h { font-size: 20px; font-weight: 640; font-stretch: 108%; letter-spacing: -.012em; line-height: 1.2; }
.mini-p { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
.mini-row { display: flex; gap: 8px; margin-top: 16px; }
.mini-row input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 4px; background: #fff; color: var(--ink); }
.mini-row input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.mini-row .btn { min-height: 0; padding: 12px 18px; }
.mini-check.is-compact { box-shadow: none; padding: 16px; margin-top: 16px; background: #fff; }
.mini-check.is-compact .mini-h, .mini-check.is-compact .mini-p { display: none; }
.mini-check.is-compact .mini-row { margin-top: 0; }
.hero-tool .mini { border-top: 4px solid var(--seal); }
.mini-calc fieldset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.mini-calc legend { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; padding: 0; }
.mc-types, .mc-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-calc label { position: relative; cursor: pointer; }
.mini-calc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mini-calc label span { display: block; padding: 7px 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 560; transition: all .15s; }
.mini-calc input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.mini-calc input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.mc-feats { font-size: 14px; color: var(--seal-d); margin-top: 10px; }
.mc-out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mc-out b { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 640; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-out span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.mc-more { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.mc-more span { font-size: 14px; color: var(--ink-3); }

/* problems: four entries, each with its fix */
.probs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.prob { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.prob:hover { border-color: var(--line-2); box-shadow: 0 16px 36px -28px rgba(27, 31, 29, .5); transform: translateY(-2px); }
.prob h3 { font-size: clamp(21px, 1.9vw, 25px); margin-bottom: 10px; }
.prob > p:not(.kind):not(.prob-links):not(.prob-tool) { color: var(--ink-2); }
.prob-tool { margin-top: 16px; }
.prob-links { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15.5px; }
.prob .mini-check { margin-top: 16px; }
main > .problems-sec { background: var(--slab); border-block: 1px solid var(--line); }

/* Lab demos as tiles */
.demo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.demo-strip.is-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.demo-tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.demo-tile-img { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: var(--slab); }
.demo-tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.demo-tile:hover .demo-tile-img img { transform: scale(1.035); }
.demo-tile-k { margin-top: 12px; font-size: 13.5px; font-weight: 560; color: var(--seal); }
.demo-tile-n { margin-top: 3px; font-size: 18px; font-weight: 640; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.25; }
.demo-tile:hover .demo-tile-n { color: var(--seal); }
.demo-tile-p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

/* services page: three groups with a small drawing each */
.svc-head .actions { margin-top: 30px; }
main > .groups-sec { padding-top: 0; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.group { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; }
.group-art { margin: -4px -4px 18px; border-radius: 6px; background: var(--stone); padding: 10px; }
.group-art svg { width: 100%; height: auto; }
.group h3 { font-size: clamp(22px, 2vw, 27px); }
.group > p { color: var(--ink-2); margin-top: 8px; }
.group .group-from { color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 12px; }
.group ul { margin-top: 18px; border-top: 1px solid var(--line); }
.group li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 560; }
.group li a i { font-style: normal; color: var(--ink-3); transition: transform .2s, color .2s; }
.group li a:hover { color: var(--seal); }
.group li a:hover i { color: var(--seal); transform: translateX(4px); }
.a-panel { fill: #fff; stroke: var(--line-2); }
.a-bar { fill: var(--slab); }
.a-dot { fill: var(--line-2); }
.a-ink { fill: var(--ink); }
.a-soft { fill: var(--line); }
.a-seal { fill: var(--seal); }
.a-card { fill: var(--slab); stroke: var(--line-2); }
.a-bars { fill: var(--line); }
.a-line { fill: none; stroke: var(--seal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .a-float { animation: afloat 5s ease-in-out infinite; }
  .a-row-0 { animation: arise 6s ease-in-out infinite; }
  .a-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: adraw 3.2s ease-out .3s forwards; }
}
@keyframes afloat { 50% { transform: translateY(-4px); } }
@keyframes arise { 0%, 30% { transform: translateY(66px); opacity: .5; } 55%, 100% { transform: none; opacity: 1; } }
@keyframes adraw { to { stroke-dashoffset: 0; } }

/* a price you can work out on the page */
.budget-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(320px, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.budget-grid h2 { font-size: clamp(29px, 3.7vw, 50px); margin-bottom: 14px; }
.calc-band { margin-top: clamp(18px, 2vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.pricing-calc { margin-top: clamp(28px, 3vw, 44px); padding: clamp(24px, 3vw, 40px); background: var(--slab); border: 1px solid var(--line); border-radius: 10px; }
.pricing-calc .mini { box-shadow: none; background: #fff; }
.cards.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
main > .lab-band { padding-top: clamp(48px, 6vw, 96px); }

/* service pages: the aside carries the next step and a tool */
.case-grid aside .mini { margin-top: 22px; box-shadow: none; }
.case-grid aside .actions { flex-direction: column; align-items: flex-start; gap: 12px; }

@media (max-width: 1100px) {
  .demo-strip, .demo-strip.is-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groups, .cards.cards-3 { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-flow .wrap, .budget-grid { grid-template-columns: minmax(0, 1fr); }
  .probs { grid-template-columns: minmax(0, 1fr); }
  .top { position: sticky; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .mini-row { flex-direction: column; }
  .demo-strip, .demo-strip.is-small { grid-template-columns: minmax(0, 1fr); }
}
.demo-strip.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-strip.n-1, .demo-strip.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .demo-strip.n-1, .demo-strip.n-2, .demo-strip.n-3 { grid-template-columns: minmax(0, 1fr); } }

/* "Try it live" voice desk button (service page, pricing) */
.try-live { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 10px 20px 10px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.try-live:hover { border-color: var(--seal); box-shadow: 0 10px 24px -18px rgba(179, 38, 30, .6); transform: translateY(-1px); }
.try-live:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.try-live svg { width: 20px; height: 20px; fill: none; stroke: var(--seal); stroke-width: 1.8; stroke-linecap: round; }
.try-live.is-big { font-size: clamp(16px, 1.4vw, 19px); padding: 13px 26px 13px 20px; }
.try-live.is-big svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .try-live svg path { animation: tlw 1.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  .try-live svg path:nth-child(2), .try-live svg path:nth-child(4) { animation-delay: .15s; }
  .try-live svg path:nth-child(3) { animation-delay: .3s; }
}
@keyframes tlw { 50% { transform: scaleY(.55); } }
.h1-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 3vw, 36px); }
.live-note { margin-top: 14px; font-size: 15px; color: var(--ink-3); max-width: 46em; }
.extra-live { margin-top: 14px; }

/* =================== polish (2026-10-19): one card system, calmer rhythm, phone layouts =================== */
:root { --r: 8px; }
.plan, .extra, .prob, .group, .mini, .side-box, .brief, .pricing-calc { border-radius: var(--r); }
.plan, .extra, .prob, .group { transition: border-color .2s, box-shadow .2s, transform .2s; }
.extra:hover, .group:hover { border-color: var(--line-2); box-shadow: 0 16px 36px -30px rgba(27, 31, 29, .5); }
/* the calculator band: one frame, not a card inside a card */
.pricing-calc { border: 0; background: var(--slab); }
main > .pricing .pricing-calc { background: var(--stone); }
.pricing-calc .mini { border-color: var(--line); }
/* sections that share a background should not stack two full paddings */
main > .lab-band + .how { padding-top: clamp(8px, 2vw, 32px); }
/* section heads: the lead sits on the heading's last line, and never runs wider than a comfortable line */
.sec-head p { max-width: 30em; }
.zh .sec-head p { max-width: 26em; }
/* Chinese reading: a touch more air between lines, headings a touch tighter */
.zh .lead, .zh .sec-head p, .zh .prob p, .zh .group > p, .zh .extra p { line-height: 1.8; }
.zh h1, .zh h2 { letter-spacing: -.01em; }
/* the home hero: the check sits level with the headline block, not floating */
.hero-flow .wrap { align-items: center; }
@media (max-width: 860px) { .hero-flow .hero-tool { margin-top: 8px; } }
/* phones: demos scroll sideways instead of four tall tiles; the four steps stay a 2x2 grid */
@media (max-width: 640px) {
  .demo-strip, .demo-strip.n-3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; scrollbar-width: none; }
  .demo-strip::-webkit-scrollbar { display: none; }
  .demo-strip .demo-tile { flex: 0 0 78%; scroll-snap-align: start; }
  .demo-strip.n-1 .demo-tile { flex-basis: 100%; }
  .steps.steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .steps.steps-row > li { padding-top: 48px; }
}
/* home "who you work with": words left, the Oakville photo right, both columns the same height */
.about-grid.about-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-copy h2 { margin-bottom: clamp(18px, 2vw, 26px); }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.about-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 860px) { .about-grid.about-split { grid-template-columns: minmax(0, 1fr); } }

/* =================== polish round 2 (2026-10-19) =================== */
/* service pages: price, what you get and the next step sit in one card; the tool follows */
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.2vw, 28px); }
.svc-card .aside-h:first-child { margin-top: 0; }
.case-grid aside .svc-card .actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.case-grid aside .svc-card .actions .btn { min-height: 0; padding: 12px 20px; }
.prose .faq { max-width: none; }
.prose h2 { margin-top: clamp(40px, 5vw, 64px); }
.prose > h2:first-child { margin-top: 0; }
/* tablets: the card and the tool side by side instead of one long column */
@media (min-width: 641px) and (max-width: 1000px) {
  .case-grid aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .case-grid aside .mini { margin-top: 0; }
}
/* FAQ bands: heading on the left, questions on the right, on the same grid as every other section */
.faq-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 56px; align-items: start; }
.faq-split > .sec-head { grid-column: 1; grid-row: 1 / span 2; display: block; margin: 0; position: sticky; top: 110px; }
.faq-split > .faq, .faq-split > .more { grid-column: 2; }
@media (max-width: 860px) { .faq-split { grid-template-columns: minmax(0, 1fr); } .faq-split > .sec-head { grid-row: auto; position: static; margin-bottom: 20px; } .faq-split > .faq, .faq-split > .more { grid-column: 1; } }
/* pricing: no double gap under the page head; extra cards keep their links on one baseline */
main > .page-head + .pricing { padding-top: clamp(28px, 3.5vw, 48px); }
.extra { display: flex; flex-direction: column; }
.extra p { max-width: none; text-wrap: wrap; }
.extra .extra-links, .extra .extra-live { margin-top: auto; padding-top: 16px; }
.extra .extra-live + .extra-links { margin-top: 0; }
.extra-price { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .pricing-calc { padding: 20px 16px; } .plan { padding: 22px 20px; } }
@media (min-width: 641px) and (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans .plan:last-child { grid-column: 1 / -1; } }
/* the brief form: a quiet custom arrow instead of the browser default */
.brief select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1f1d' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
