/* Inner pages and the home sections that summarise them. Same tokens as core.css. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

body { overflow-x: clip; }
.wrap { max-width: 1600px; margin: 0 auto; padding-inline: 6vw; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.sq { clip-path: var(--sq); }

/* Page head */
.page-head { padding-block: clamp(130px, 16vw, 200px) clamp(40px, 5vw, 72px); }
.page-head h1 { margin-top: 12px; font-size: clamp(42px, 6vw, 96px); font-weight: 750; letter-spacing: -.045em; line-height: .95; text-wrap: balance; }
.page-head p.sub { margin-top: 20px; max-width: 52ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.crumb { font-size: 14px; color: var(--soft); }
.crumb a:hover { color: var(--fg); }

/* Blocks */
.block { padding-bottom: clamp(56px, 7vw, 110px); }
.card { position: relative; padding: clamp(20px, 2.2vw, 30px); background: var(--card); clip-path: var(--sq); }
.muted { color: var(--muted); }

/* Intro: lede + body + aside card */
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.intro .lede { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.22; text-wrap: pretty; }
.intro .body { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.intro .aside .quote { font-size: clamp(20px, 1.7vw, 26px); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.intro .aside p + p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.facts { display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--soft); }
.facts dd { font-weight: 600; text-align: right; }
.score { margin-top: 18px; font-size: 44px; font-weight: 750; letter-spacing: -.04em; }
.score span { color: var(--heart); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps-grid.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step .num { font-size: 13px; font-weight: 700; color: var(--heart-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 26px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Two-column items and chips */
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.items h3 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.items p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 12px 18px; border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 550; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gallery figure { grid-column: span 2; }
.gallery figure.b3 { grid-column: span 3; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; clip-path: var(--sq); background: var(--card-2); }
.gallery figcaption { margin-top: 8px; font-size: 13px; color: var(--soft); }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--card); clip-path: var(--sq); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.8px solid var(--soft); border-bottom: 1.8px solid var(--soft); rotate: 45deg; translate: 0 -3px; transition: rotate .35s, translate .35s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 72ch; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); background: var(--heart); color: #fff; clip-path: var(--sq); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 52px); font-weight: 750; letter-spacing: -.04em; line-height: 1; max-width: 16ch; }
.cta-band p { margin-top: 10px; max-width: 44ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--heart); color: #fff; font-size: 16px; font-weight: 600; transition: background-color .25s, color .25s; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.white { background: #fff; color: #0A0A0A; }
.btn.white:hover { background: #0A0A0A; color: #fff; }
.btn.ghost { background: none; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.btn svg, .link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--soft); transition: color .3s; }
.link:hover { color: var(--fg); }

/* Service cards (services index + home) */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc { display: flex; flex-direction: column; gap: 12px; min-height: 300px; transition: background-color .3s; }
.svc .num { font-size: 13px; font-weight: 700; color: var(--heart-ink); }
.svc h3 { margin-top: clamp(40px, 4vw, 64px); font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.svc p { font-size: 15px; line-height: 1.5; color: var(--muted); min-height: 4.5em; }   /* three lines, so every title sits at the same height */
.svc .meta { margin-top: auto; }
.svc .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.svc .meta b { color: var(--fg); font-weight: 600; }
.svc:hover .link { color: var(--fg); }

/* Case cards — minimal: the site moving in a squircle window, then logo, year and one line */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.case { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 18px; background: var(--card); clip-path: var(--sq); }
.case > .case-top, .case > .case-idea { margin-inline: 8px; }
.window { position: relative; display: block; clip-path: var(--sq); background: var(--card-2); }
.page { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.case .page { opacity: 0; transition: opacity .35s; }
.case:hover .page, .case.live .page, .case:focus-visible .page { opacity: 1; }
.page img { display: block; width: 100%; height: auto; transition: transform .9s cubic-bezier(.4,0,.2,1); will-change: transform; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; margin-top: 4px; }
.logo-face { position: absolute; inset: 0; display: grid; place-items: center; padding: 16%; background: var(--card-2); transition: opacity .5s ease, scale .6s cubic-bezier(.2,.8,.2,1); }
.logo-face img { width: 100%; max-height: 46%; object-fit: contain; filter: brightness(0) invert(var(--night)); }
.logo-face.gray img { filter: grayscale(1) invert(calc(1 - var(--night))) contrast(1.1); }
.case:hover .logo-face, .case.live .logo-face, .case:focus-visible .logo-face { opacity: 0; scale: 1.04; }   /* the big logo gives way to the site, which then scrolls */
.logo-chip { display: inline-grid; place-items: center; height: 34px; }
.logo-chip img { height: 18px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(var(--night)); }
.logo-chip.gray img { filter: grayscale(1) invert(calc(1 - var(--night))) contrast(1.1); }   /* white-lettered logos with a box: inverted in light mode so they read */
.case-meta { display: inline-flex; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.case-meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case-name { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.case-idea { margin-top: -8px; font-size: 14px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case:focus-visible { outline: 2px solid var(--heart); outline-offset: 3px; }
.invite-in { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3; padding: clamp(18px, 1.8vw, 26px); background: var(--heart); color: #fff; }
.invite-in .kicker { color: #fff; }
.invite-t { font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.case.invite:hover .invite-in { background: var(--fg); color: var(--bg); }
.case.invite:hover .invite-in .kicker { color: var(--bg); }
@media (width < 1100px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 700px) { .cases { grid-template-columns: minmax(0, 1fr); } }

/* Section heads: a hairline with number and name, then the title. Alternate home sections sit on a faint band. */
.sec-head { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: clamp(26px, 3vw, 44px); }
.sec-head h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.sec-k { display: flex; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: clamp(18px, 2.4vw, 34px); }
.sec-k span { color: var(--heart-ink); font-variant-numeric: tabular-nums; }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.sec-head.home h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; }
.hsec { padding-block: clamp(80px, 9vw, 140px); }
.hsec.band { background: color-mix(in oklab, #EBEBED, #0B0B0C var(--mix)); }
.hsec.band .sec-head { border-top-color: transparent; padding-top: 0; }
.cta-t { font-size: clamp(24px, 2.6vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.05; }

/* Case study page */
.case-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: start; }
.case-hero .window .page { aspect-ratio: auto; height: clamp(360px, 42vw, 640px); }
.case-quote { font-size: clamp(22px, 2.2vw, 34px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.case-quote + p { margin-top: 14px; color: var(--soft); }
.story3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.story3 h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--heart); }
.story3 p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.next-prev a { display: grid; gap: 6px; }
.next-prev a:last-child { text-align: right; }
.next-prev span { font-size: 13px; color: var(--soft); }
.next-prev b { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 22px; }
.post img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; clip-path: var(--sq); background: var(--card-2); }
.post .pm, .post h3, .post p, .post .link { margin-inline: 8px; }
.post .pm { font-size: 13px; color: var(--soft); }
.post h3 { font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.post p { font-size: 15px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .link { margin-top: auto; }
.post:hover .link { color: var(--fg); }
.article { max-width: 720px; margin: 0 auto; }
.article-hero { max-width: 1100px; margin: 0 auto clamp(32px, 4vw, 56px); padding: 1px; background: var(--line); }   /* hairline so a light cover never melts into the page */
.article-hero img { width: 100%; height: auto; display: block; clip-path: var(--sq); }
.prose { font-size: 18px; line-height: 1.7; color: color-mix(in oklab, var(--fg), transparent 12%); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--fg); }
.prose h3 { margin-top: 1.6em; font-size: 21px; font-weight: 650; color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--heart-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose blockquote { margin: 1.8em 0; padding: 24px 28px; background: var(--card); clip-path: var(--sq); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--fg); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose figure img { width: 100%; clip-path: var(--sq); }

/* Contact / brief */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: start; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; color: var(--fg); background: var(--card-2); border: 0; border-radius: 14px; padding: 14px 16px; outline: none; transition: box-shadow .2s; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { box-shadow: 0 0 0 2px var(--heart); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.pick legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pick label { display: block; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; padding: 11px 16px; border-radius: 999px; background: var(--card-2); font-size: 15px; font-weight: 550; cursor: pointer; transition: background-color .2s, color .2s; }
.pick input:checked + span { background: var(--fg); color: var(--bg); }
.pick input:focus-visible + span { box-shadow: 0 0 0 2px var(--heart); }
.form-note { font-size: 14px; color: var(--soft); }
.form-done { display: none; font-size: 18px; font-weight: 600; }
.form.sent .form-done { display: block; }
.form.sent > :not(.form-done) { display: none; }
.ways { display: grid; gap: 8px; }
.ways a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--card); clip-path: var(--sq); font-weight: 600; }
.ways a span { color: var(--soft); font-weight: 500; font-size: 14px; }
.ways a:hover { color: var(--heart); }
.ways a.ways-brief { background: var(--heart); color: #fff; }
.ways a.ways-brief span { color: #fff; }
.ways a.ways-brief:hover { background: var(--fg); color: var(--bg); }

/* Footer */
.foot { margin-top: clamp(60px, 8vw, 120px); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot .mark-s { width: min(100%, 320px); height: auto; display: block; color: var(--fg); }
.foot h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--fg); }
.foot .legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.foot .legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (width < 1100px) {
  .svc-grid, .steps-grid, .steps-grid.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-hero, .intro, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .story3 { grid-template-columns: minmax(0, 1fr); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
}
@media (width < 700px) {
  .svc-grid, .steps-grid, .steps-grid.n5, .items, .posts, .form .two { grid-template-columns: minmax(0, 1fr); }
  .gallery figure, .gallery figure.b3 { grid-column: span 6; }
  .page-head { padding-block-start: 96px; }
  .foot { padding-bottom: 120px; }
  .next-prev { grid-template-columns: minmax(0, 1fr); }
  .next-prev a:last-child { text-align: left; }
}

/* ── Semantics & accessibility helpers ── */
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--fg); color: var(--bg); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.foot .fh { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); margin-bottom: 12px; }
.chips { list-style: none; }
.chips li { padding: 12px 18px; border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 550; }
.svc-t { margin-top: clamp(40px, 4vw, 64px); font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.post-t { font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; margin-inline: 8px; }
.story3 h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--heart-ink); }
.case-quote { font-size: clamp(22px, 2.2vw, 34px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
figure.card figcaption { margin-top: 14px; color: var(--soft); }
.price-line { margin-top: 22px; font-size: 14px; }
.price-line b { color: var(--fg); }
.intro h2.lede { margin: 0; }
.btn.white.outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn.white.outline:hover { background: #fff; color: #0A0A0A; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Project brief (js/brief.js) ── */
.glass-lite { background: color-mix(in oklab, var(--card), transparent 22%); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px var(--line); }
.b-bar { position: fixed; z-index: 40; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); translate: -50% 0; display: flex; align-items: center; gap: 22px; padding: 12px 12px 12px 22px; min-width: min(520px, calc(100vw - 24px)); justify-content: space-between; }
.b-bar-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.b-bar-v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-rush { white-space: nowrap; margin-left: 10px; padding: 3px 8px; border-radius: 999px; background: var(--heart); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 3px; }
.b-cur { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card-2); }
.b-cur button { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--soft); cursor: pointer; }
.b-cur button.on { background: var(--fg); color: var(--bg); }
.b-form { display: grid; gap: 12px; padding-bottom: 110px; }
.b-step h2 { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.b-num { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--heart-ink); }
.b-req { color: var(--heart-ink); }
.b-sub { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 62ch; }
.b-body { margin-top: 20px; display: grid; gap: 14px; }
.b-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-gap { margin-top: 6px; }
.b-field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.b-field input, .b-area { font: inherit; font-size: 16px; font-weight: 400; color: var(--fg); background: var(--card-2); border: 0; border-radius: 14px; padding: 14px 16px; outline: none; width: 100%; transition: box-shadow .2s; }
.b-area { min-height: 96px; resize: vertical; }
.b-field input:focus, .b-area:focus { box-shadow: 0 0 0 2px var(--heart); }
[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--heart) !important; }
.b-err { display: block; color: var(--heart-ink); font-size: 13px; font-style: normal; font-weight: 600; margin-top: 4px; }
.b-big { display: grid; justify-items: center; gap: 6px; padding: 26px 18px; background: var(--card-2); clip-path: var(--sq); cursor: pointer; transition: background-color .25s, color .25s; }
.b-big svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.b-big b { font-size: 18px; }
.b-big small { color: var(--soft); font-size: 13px; }
.b-list { display: grid; gap: 8px; }
.b-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 14px 18px; text-align: left; background: var(--card-2); clip-path: var(--sq); cursor: pointer; transition: background-color .25s, color .25s; }
.b-row b { display: block; font-size: 15px; }
.b-row small { display: block; margin-top: 3px; font-size: 13px; color: var(--soft); line-height: 1.4; }
.b-row .b-ideal { font-style: italic; }
.b-row .b-inc { margin-top: 8px; color: inherit; opacity: .85; }
.b-price { flex: none; text-align: right; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.b-price small { margin: 0; }
.b-row.on, .b-big.on, .b-pill.on, .b-u.on { background: var(--fg); color: var(--bg); }
.b-row.on small, .b-big.on small, .b-pill.on small { color: color-mix(in oklab, var(--bg), transparent 30%); }
.b-check .b-tick, .b-radio .b-dot { flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--line); position: relative; }
.b-radio .b-dot { border-radius: 50%; }
.b-row.on .b-tick, .b-row.on .b-dot { box-shadow: inset 0 0 0 2px var(--bg); }
.b-row.on .b-tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--bg); border-width: 0 2px 2px 0; rotate: 45deg; }
.b-row.on .b-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.b-sub-box { padding: 16px; background: var(--card-2); clip-path: var(--sq); }
.b-sub-box .b-row { background: var(--card); }
.b-sub-box .b-row.on { background: var(--fg); }
.b-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: -4px; }
.b-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.b-pill { padding: 11px 16px; border-radius: 999px; background: var(--card-2); font-size: 14px; font-weight: 550; cursor: pointer; transition: background-color .2s, color .2s; }
.b-pill small { color: var(--soft); font-weight: 600; }
.b-urg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.b-u { display: grid; gap: 4px; justify-items: center; padding: 16px 6px; background: var(--card-2); clip-path: var(--sq); cursor: pointer; }
.b-u b { font-size: 22px; }
.b-u span { font-size: 13px; font-weight: 600; }
.b-u small { font-size: 11px; color: var(--heart-ink); font-weight: 700; }
.b-u.rush.on { background: var(--heart); color: #fff; }
.b-u.on small { color: inherit; }
.b-foot { font-size: 13px; color: var(--soft); }
.b-summary { padding: 14px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--heart); color: var(--heart-ink); font-size: 14px; }
.b-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.b-review { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--bg); padding: 110px 6vw 60px; }
.b-review-in { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.b-review h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 750; letter-spacing: -.04em; }
.b-dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.b-dl div:last-child { border-bottom: 0; }
.b-dl dt { color: var(--soft); }
.b-dl dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.b-total { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; background: var(--heart); color: #fff; font-weight: 600; }
.b-total b { font-size: 26px; font-variant-numeric: tabular-nums; }
.b-locked, .b-locked body { overflow: hidden; }
.b-done { display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; }
.b-done svg { width: 44px; height: 44px; fill: var(--heart); }
.b-done h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; }
.b-done p { color: var(--muted); max-width: 44ch; }
.brief-wrap { max-width: 900px; }
@media (width < 700px) {
  .b-two, .b-dl div { grid-template-columns: minmax(0, 1fr); }
  .b-bar { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 76px); padding: 10px 10px 10px 16px; gap: 10px; }
  .b-bar-v { font-size: 17px; }
  .b-rush { display: inline-block; margin: 2px 0 0; }
  .b-bar > div:first-child { min-width: 0; }
  .b-cur button { padding: 6px 9px; font-size: 12px; }
  .b-urg { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .b-u span { font-size: 11px; }
  .b-form { padding-bottom: 190px; }
}

/* Articles: room after the text, then previous / next, then the call to action */
.article-more { margin-top: clamp(56px, 7vw, 110px); }
.next-prev b { display: block; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.2; text-wrap: balance; }

/* Newsletter (blog) */
.nl-card { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.nl-card h2 { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.nl-card p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 46ch; }
.nl { display: flex; flex-wrap: wrap; gap: 10px; }
.nl input[type=email] { flex: 1; min-width: 200px; font: inherit; font-size: 16px; color: var(--fg); background: var(--card-2); border: 0; border-radius: 999px; padding: 0 20px; height: 52px; outline: none; }
.nl input[type=email]:focus { box-shadow: 0 0 0 2px var(--heart); }
.nl .nl-msg { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 600; }
.nl.sent input, .nl.sent button { display: none; }
@media (width < 900px) { .nl-card { grid-template-columns: minmax(0, 1fr); } }
