/* Tanova public website, in the tsokatravel.com design language: warm ink, bronze and ivory; DM Sans headlines with one italic bronze phrase,
   Instrument Sans text, JetBrains Mono labels; hairline borders instead of shadows; full-bleed African photography. Loaded after site.css, so the old
   file stays as the structure and this one is the look. Logical properties kept so Arabic (right-to-left) mirrors by itself. */
:root {
    --ink: #0a0a0a; --ink-2: #1c1c1c; --mut: #5a5a5a; --mut-2: #8b8b8b; --line: rgba(10,10,10,.14); --line-2: rgba(10,10,10,.09);
    --soft: #f6f6f5; --bg: #ffffff; --ok: #15803d; --r: 6px; --r-sm: 4px; --max: 1320px;
    --paper: #ffffff; --bone: #f6f6f5; --bone-warm: #f0f0ee; --bone-deep: #e6e6e3; --bronze: #eea61a; --bronze-deep: #ca8715; --bronze-soft: #bc9b56;
    --font: "Instrument Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --display: "Cabin", "Inter", ui-sans-serif, system-ui, sans-serif;
    --serif: "Cabin", "Inter", ui-sans-serif, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.6; }
@media (min-width: 768px) { body { font-size: 17px; } }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.prog { background: var(--bronze); height: 2px; }

/* headlines: light, tight, big, with one italic bronze phrase */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
h3, h4 { font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font: italic 500 1em/1 var(--display); letter-spacing: -.02em; color: var(--bronze-deep); }
.dark h1 em, .dark h2 em, .final h2 em, .hero h1 em, .ft em { color: var(--bronze); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: "IBM Plex Sans Arabic", var(--display); font-weight: 600; }
[dir="rtl"] h1 em, [dir="rtl"] h2 em, [dir="rtl"] h3 em { font: inherit; font-style: normal; color: var(--bronze-deep); background: none; }
.wrap { width: min(var(--max), 100% - 48px); }
@media (min-width: 1024px) { .wrap { width: min(var(--max), 100% - 96px); } }

/* mono labels */
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--mut-2); gap: 10px; align-items: center; }
.eyebrow::before { width: 6px; height: 6px; margin-top: 0; background: var(--bronze); box-shadow: none; }
.dark .eyebrow { color: var(--bronze-soft); } .dark .eyebrow::before { background: var(--bronze); box-shadow: none; }

/* buttons: pills */
.btn { border-radius: 999px; padding: 13px 24px; font: 500 15px/1.2 var(--font); letter-spacing: 0; box-shadow: none; }
.btn.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; transition: background .3s, color .3s, border-color .3s, transform .25s; }
.btn-dark::after, .btn-white::after { display: none; }
.btn-dark:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ink); transform: none; box-shadow: none; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(10,10,10,.25); }
.btn-line:hover { background: transparent; border-color: var(--ink); transform: none; }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { background: var(--bronze); color: var(--ink); transform: none; box-shadow: none; }
.dark .btn-line, .final .btn-line, .hero .btn-line, .ft .btn-line { color: var(--paper); border-color: rgba(255,255,255,.35); }
.dark .btn-line:hover, .final .btn-line:hover, .hero .btn-line:hover { border-color: var(--paper); }

/* header: a flat, hairline bar that is clear over the photo and ivory glass once you scroll */
.hd { position: sticky; top: 0; padding: 0; pointer-events: auto; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.hd-in { height: 68px; width: min(var(--max), 100% - 48px); padding-inline: 0; border-radius: 0; background: transparent; border: 0; box-shadow: none; }
@media (min-width: 1024px) { .hd-in { width: min(var(--max), 100% - 96px); } }
.hd.scrolled .hd-in { background: transparent; box-shadow: none; }
.logo .l-w { display: none; }
.nav a, .nav summary { font-size: 14px; font-weight: 500; color: var(--ink); border-radius: 999px; padding: 8px 14px; }
.nav a:hover, .nav summary:hover, .nav details[open] summary { background: rgba(10,10,10,.06); color: var(--ink); }
.nav a[aria-current="page"] { background: transparent; color: var(--bronze-deep); }
.menu { background: var(--bone); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px -28px rgba(10,10,10,.35); }
.menu a b { font-family: var(--display); font-weight: 500; }
.lang summary { background: transparent; border-color: var(--line); border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.signin:hover { background: rgba(10,10,10,.06); }
body.page-home .hd:not(.scrolled) { background: transparent; border-bottom-color: rgba(255,255,255,.14); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.page-home .hd:not(.scrolled) .nav > a, body.page-home .hd:not(.scrolled) .nav summary, body.page-home .hd:not(.scrolled) .lang summary { color: var(--paper); }
body.page-home .hd:not(.scrolled) .lang summary { border-color: rgba(255,255,255,.3); }
body.page-home .hd:not(.scrolled) .nav > a:hover, body.page-home .hd:not(.scrolled) .nav summary:hover { background: rgba(255,255,255,.12); color: var(--paper); }
body.page-home .hd:not(.scrolled) .btn-dark { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }
body.page-home .hd:not(.scrolled) .logo .l-b { display: none; }
body.page-home .hd:not(.scrolled) .logo .l-w { display: block; }
body.page-home .hd:not(.scrolled) .burger { background: transparent; border-color: rgba(255,255,255,.35); color: var(--paper); }
body.page-home { --hd-h: 68px; }
@media (max-width: 900px) { body.page-home .hd:not(.scrolled) .nav { background: var(--bone); } body.page-home .hd:not(.scrolled) .nav > a, body.page-home .hd:not(.scrolled) .nav summary { color: var(--ink); } }

/* sections: paper, bone and ink in turn, with hairlines between them */
.sec { padding: 72px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 768px) { .sec { padding: 120px 0; } }
.sec.tight { padding: 56px 0; }
.sec.soft { background: var(--bone); }
.sec.dark { background: var(--ink); color: var(--paper); border-bottom-color: rgba(255,255,255,.08); }
.sec.dark::after, .final::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.06'/></svg>"); }
.sec > .wrap { position: relative; z-index: 2; }
.sec-head { max-width: 860px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(34px, 5.2vw, 64px); letter-spacing: -.025em; }
.sec-head p { font-size: clamp(17px, 1.6vw, 20px); color: var(--mut); max-width: 640px; }
.dark .sec-head p { color: rgba(255,255,255,.62); }

/* cards: near-square, hairline, no lifted shadows */
.pain, .step, .box, .f-card, .card, .cards3 > * { border-radius: var(--r); box-shadow: none; }
.pain { background: var(--paper); border: 1px solid var(--line-2); }
.pain:hover, .step:hover { transform: none; box-shadow: none; border-color: var(--bronze); }
.pain .n { background: none; -webkit-text-fill-color: initial; color: var(--bronze-deep); font: 400 40px/1 var(--display); letter-spacing: -.025em; }
.pain h3 { font-size: 19px; }
.step { background: var(--paper); border: 1px solid var(--line-2); }
.step::before { background: transparent; color: var(--bronze-deep); border: 1px solid var(--bronze); font-family: var(--mono); font-weight: 500; font-size: 12px; }
.sec.soft .step, .sec.soft .pain { background: var(--paper); }
.box { background: var(--paper); border-color: var(--line-2); }

/* the numbers */
.stats { gap: 0; border-block: 1px solid var(--line-2); }
.stat { padding: 44px 18px; border-inline-end: 1px solid var(--line-2); text-align: start; }
.stat:last-child { border-inline-end: 0; }
.stat b { background: none; -webkit-text-fill-color: initial; color: var(--ink); font: 400 clamp(48px, 6.4vw, 92px)/.95 var(--display); letter-spacing: -.03em; }
.stat span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mut-2); margin-top: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-inline-end: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }

/* the closing call to action sits on a photograph */
.final { border-radius: 0; padding: 120px 24px; background: linear-gradient(180deg, rgba(10,10,10,.7), rgba(10,10,10,.9)), url(/site/img/photos/cta-wildlife.webp) center/cover no-repeat; border: 0; }
.final::before { background: radial-gradient(ellipse at center top, rgba(238,166,26,.2), transparent 60%); mask: none; -webkit-mask: none; opacity: 1; }
.final::after { z-index: 0; }
.final h2 { font-size: clamp(36px, 6vw, 84px); max-width: 980px; letter-spacing: -.025em; }
.final p { color: rgba(255,255,255,.72); font-size: clamp(16px, 1.5vw, 19px); max-width: 580px; }
.final small { color: rgba(255,255,255,.5); font-family: var(--mono); letter-spacing: .06em; }
section:has(> .wrap > .final), .sec:has(.final) { padding: 0; border: 0; }
.sec:has(.final) > .wrap { width: 100%; }

/* phero: the inner-page hero */
.phero { background: var(--paper); padding: 96px 0 64px; border-bottom: 1px solid var(--line-2); }
.phero::before, .phero::after { display: none; }
.phero h1 { font-size: clamp(38px, 6.4vw, 84px); letter-spacing: -.025em; line-height: 1.02; max-width: 1000px; }
.phero p { font-size: clamp(18px, 1.7vw, 22px); color: var(--mut); }

/* the footer */
.ft { background: var(--ink); color: rgba(255,255,255,.6); padding: 96px 0 0; margin-top: 0; }
.ft h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-soft); margin-bottom: 18px; }
.ft p, .ft li a { color: rgba(255,255,255,.6); } .ft a:hover { color: var(--bronze); }
.ft-bot { border-top: 1px solid rgba(255,255,255,.1); }
.ft-word { color: rgba(255,255,255,.04); }

/* the plans: the same finder, in this palette */
body .pf { --pf-ink: var(--ink); --pf-mut: var(--mut); --pf-line: var(--line-2); --pf-card: var(--paper); --pf-acc: var(--bronze); --pf-tint: rgba(238,166,26,.14); --pf-pos: var(--ok); font-family: var(--font); }
body .pf-card, body .pf-size, body .pf-rec, body .pf-ask, body .pf-os { border-radius: var(--r); }
body .pf-card { box-shadow: none; } body .pf-card:hover { box-shadow: none; border-color: var(--bronze); } body .pf-card.is-best { border-color: var(--ink); box-shadow: none; }
body .pf-card h4 { font-family: var(--display); font-weight: 500; }
body .pf-price { font: 400 clamp(32px, 3.2vw, 44px)/1.05 var(--display); letter-spacing: -.025em; }
body .pf-rec { background: var(--ink); } body .pf-rec b { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.03em; }
body .pf-rec small, body .pf-seg, body .pf-tag { font-family: var(--mono); }
body .pf-seg, body .pf-cta, body .pf-tag { border-radius: 999px; }
body .pf-cta { background: var(--ink); border-color: var(--ink); } body .pf-cta:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ink); opacity: 1; }
body .pf-alt { background: transparent; color: var(--ink); border-color: rgba(10,10,10,.25); } body .pf-alt:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
body .pf-rec .pf-cta { background: var(--bronze); border-color: var(--bronze); color: var(--ink); } body .pf-rec .pf-cta:hover { background: var(--paper); border-color: var(--paper); }
body .pf-seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
body .pf-tag.dark { background: var(--ink); color: var(--bronze); }
body .pf-size input[type=range] { accent-color: var(--bronze-deep); }
body .pf-size output { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; }
body .pf-ask { background: var(--bone-warm); }

/* the home hero: a full-bleed photograph under ink, the headline big and to the start */
.hero.hero-photo { display: flex; align-items: flex-end; min-height: min(94vh, 980px); margin-top: -69px; padding: 150px 0 72px; text-align: start; color: var(--paper); background: var(--ink); isolation: isolate; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/site/img/photos/hero-serengeti-dawn.webp) center 35% / cover no-repeat; transform: scale(1.04); animation: kb 22s ease-out forwards; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.55) 0, rgba(10,10,10,.35) 38%, rgba(10,10,10,.88) 100%), linear-gradient(90deg, rgba(10,10,10,.5), transparent 70%); }
@keyframes kb { to { transform: scale(1); } }
.hero-photo .wrap { width: min(var(--max), 100% - 48px); }
.hero-photo .badge-new { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
.hero-photo .badge-new b { background: var(--bronze); color: var(--ink); }
.hero-photo h1 { font-size: clamp(42px, 7vw, 100px); line-height: .98; letter-spacing: -.03em; max-width: 1100px; margin: 26px 0 0; color: var(--paper); }
.hero-photo .sub { font-size: clamp(18px, 1.8vw, 23px); color: rgba(255,255,255,.78); max-width: 620px; margin: 28px 0 34px; }
.hero-photo .hero-cta { justify-content: flex-start; }
.hero-photo .btn-dark { background: var(--bronze); border-color: var(--bronze); color: var(--ink); } .hero-photo .btn-dark:hover { background: var(--paper); border-color: var(--paper); }
.hero-photo .hero-note { justify-content: flex-start; color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 30px; }
.hero-photo .hero-note .ic { color: var(--bronze); }
[dir="rtl"] .hero-photo::after { background: linear-gradient(180deg, rgba(10,10,10,.55) 0, rgba(10,10,10,.35) 38%, rgba(10,10,10,.88) 100%), linear-gradient(270deg, rgba(10,10,10,.5), transparent 70%); }
.stage-sec { background: var(--bone); padding: 0 0 8px; border-bottom: 1px solid var(--line-2); }
.stage-sec .stage-wrap { margin-top: 0; padding-top: 56px; }
.stage-sec .stage::after { background: linear-gradient(transparent, var(--bone) 92%); }
.stage-sec .frame { border-radius: 10px; border-color: var(--line-2); box-shadow: 0 40px 90px -50px rgba(10,10,10,.5); }
@media (max-width: 760px) { .hero.hero-photo { min-height: 88vh; padding: 120px 0 48px; } .hero-photo h1 { font-size: clamp(40px, 12.6vw, 64px); } }
@media (prefers-reduced-motion: reduce) { .hero-photo::before { animation: none; transform: none; } }

/* the capability strip */
.marq { overflow: hidden; background: var(--bone); border-block: 1px solid var(--line-2); padding: 22px 0; }
.marq-track { display: flex; width: max-content; align-items: center; gap: 56px; animation: marq 55s linear infinite; font: italic 400 22px/1 var(--display); color: rgba(10,10,10,.55); white-space: nowrap; }
.marq-track i { font-style: normal; color: var(--bronze); font-size: 14px; }
@keyframes marq { to { transform: translateX(-50%); } }
[dir="rtl"] .marq-track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .marq-track { animation: none; } }
.stats-sec { background: var(--paper); }

/* the photograph reel */
.reel { background: var(--bone-warm); padding: 12px 0; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.reel-track { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.reel-track::-webkit-scrollbar { display: none; }
.reel figure { position: relative; flex: none; height: clamp(220px, 28vw, 330px); margin: 0; overflow: hidden; border-radius: 3px; scroll-snap-align: start; }
.reel figure.w { width: clamp(300px, 36vw, 520px); } .reel figure.n { width: clamp(220px, 24vw, 340px); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--ease); }
.reel figure:hover img { transform: scale(1.05); }
.reel figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10,10,10,.75)); pointer-events: none; }
.reel figcaption { position: absolute; z-index: 2; inset-inline: 16px; bottom: 14px; display: flex; flex-direction: column; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.reel figcaption b { color: rgba(255,255,255,.9); font-weight: 500; } .reel figcaption span { color: rgba(238,166,26,.85); }

/* the manifesto */
.manifesto { background: var(--paper); overflow: hidden; }
.manifesto::before { content: "Tanova"; position: absolute; inset-inline-end: -4vw; bottom: -6vw; font: 700 28vw/1 var(--display); letter-spacing: -.06em; color: rgba(10,10,10,.035); pointer-events: none; }
.manif { max-width: 1080px; font: 400 clamp(30px, 4.6vw, 62px)/1.12 var(--display); letter-spacing: -.025em; text-wrap: pretty; margin: 0; }
.manif em { color: var(--bronze-deep); }
.manif-tail { margin: 28px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut-2); }

/* the six operating systems: one hairline grid */
.osgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.os-cell { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 30px 30px; min-height: 270px; text-decoration: none; color: inherit; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .3s; }
.os-cell:hover { background: var(--bone); }
.os-cell .n { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--mut-2); }
.os-cell .ic { width: 28px; height: 28px; stroke-width: 1.5; color: var(--bronze-deep); margin-top: 8px; }
.os-cell b { font: 400 clamp(26px, 2.6vw, 34px)/1.05 var(--display); letter-spacing: -.03em; margin-top: 6px; }
.os-cell .d { color: var(--mut); font-size: 15.5px; max-width: 320px; }
.os-cell em { margin-top: auto; font: normal 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; transition: color .3s; }
.os-cell:hover em { color: var(--bronze-deep); } .os-cell:hover .arr { transform: translateX(4px); }
@media (max-width: 900px) { .osgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .osgrid { grid-template-columns: 1fr; } .os-cell { min-height: 0; } }
.manifesto .manif { color: var(--ink); }

/* the finder: slim tracks, a bronze thumb, and numbers that are not squeezed */
body .pf-size input[type=range] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; }
body .pf-size input[type=range]::-webkit-slider-runnable-track { height: 3px; background: rgba(10,10,10,.18); border-radius: 3px; }
body .pf-size input[type=range]::-moz-range-track { height: 3px; background: rgba(10,10,10,.18); border-radius: 3px; }
body .pf-size input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: var(--bronze); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(10,10,10,.25); }
body .pf-size input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bronze); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(10,10,10,.25); }
body .pf-price { letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
body .pf-rec b { letter-spacing: -.02em; }

/* section heads that read like the tsokatravel.com ones: the label, the headline at the start, the line beside it */
.sec-head.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px 72px; align-items: end; max-width: none; text-align: start; margin: 0 0 56px; }
.sec-head.split .eyebrow { grid-column: 1 / -1; margin: 0; }
.sec-head.split h2 { font-size: clamp(34px, 4.8vw, 62px); }
.sec-head.split p { margin: 0; max-width: 480px; justify-self: end; font-size: clamp(16px, 1.5vw, 19px); }
@media (max-width: 900px) { .sec-head.split { grid-template-columns: 1fr; gap: 14px; } .sec-head.split p { justify-self: start; } }
.sec-head.split ~ .osgrid { margin-top: 0; }

/* what a travel business does in a day: hairline cards with the product peeking in from the bottom */
.bento { gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.bc { min-height: 470px; padding: 34px 0 0; border: 0; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: var(--paper); box-shadow: none; transition: background .3s; }
.bc:hover { transform: none; box-shadow: none; background: var(--paper); }
.bc .txt { padding-inline: 34px; }
.bc .kick { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--mut-2); margin-bottom: 16px; }
.bc .kick .ic { color: var(--bronze-deep); width: 18px; height: 18px; stroke-width: 1.6; }
.bc h3 { font: 500 clamp(24px, 2.4vw, 33px)/1.08 var(--display); letter-spacing: -.02em; margin-bottom: 14px; max-width: 520px; }
.bc p { font-size: 16px; line-height: 1.55; margin-bottom: 18px; max-width: 520px; -webkit-line-clamp: 3; }
.bc .link { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.bc:hover .link { color: var(--bronze-deep); border-color: var(--bronze); }
.bc-img { margin: auto 0 0 34px; height: 230px; border-radius: 6px 0 0 0; border-color: var(--line-2); box-shadow: none; }
.bc:hover .bc-img { transform: none; }
.bc.dk { background: var(--ink); }
@media (max-width: 900px) { .bc { min-height: 0; } .bc .txt { padding-inline: 24px; } .bc-img { margin-inline-start: 24px; } }

/* the film behind the hero: the photograph shows first, the film fades in over it once it plays */
.hero-vid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-vid.on { opacity: 1; }
.hero-photo:has(.hero-vid.on)::before { animation: none; }
.hero-photo:has(.hero-vid)::after { background: linear-gradient(180deg, rgba(10,10,10,.6) 0, rgba(10,10,10,.42) 38%, rgba(10,10,10,.9) 100%), linear-gradient(90deg, rgba(10,10,10,.5), transparent 75%); }

/* ───────────────────────── motion, touch and phones ───────────────────────── */
html { scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; } ::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; } } @keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
.hd { view-transition-name: tnv-header; transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s; }
.hd.away { transform: translateY(-101%); }
.hd.open, .hd:focus-within { transform: none; }

/* a press is felt */
.btn, .pf-cta, .pf-seg button, .os-cell, .pain, .step, .bc { -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.btn { transition: background .3s, color .3s, border-color .3s, transform .2s cubic-bezier(.2,.7,.2,1); }
.btn:active, .pf-cta:active { transform: scale(.965); }
.btn .rip, .pf-cta .rip { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: rip .6s ease-out forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
.pf-cta { position: relative; overflow: hidden; }
.mag { transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, border-color .3s; }
.os-cell:active { background: var(--bone-warm); }

/* headlines, word by word */
.wr-on .wr { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.wr-on .wr > span { display: inline-block; transform: translateY(112%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 55ms); }
.wr-on.wr-in .wr > span { transform: none; }
.manif.wr-on { opacity: 1 !important; transform: none !important; }

/* the hero moves with the page */
.hero-photo::before, .hero-photo .hero-vid { transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.08); will-change: transform; }
.hero-photo .wrap { opacity: var(--fade, 1); transform: translate3d(0, calc(var(--py, 0) * -.18px), 0); }
.hero-photo::before { animation: none; }

/* the reel can be dragged */
.reel-track { cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.reel-track.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.reel-track.drag img { pointer-events: none; }

/* the cards come up a little as they arrive */
.js-motion .rv { transform: translateY(22px); transition-duration: .8s; }
.js-motion .rv.in { transform: none; }
.os-cell, .bc, .pain, .step { transition: background .3s, border-color .3s, transform .35s cubic-bezier(.2,.7,.2,1); }

/* below the first screen the browser may skip drawing what is far away */
@supports (content-visibility: auto) { .sec:not(:first-of-type), .reel, .ft { content-visibility: auto; contain-intrinsic-size: auto 720px; } }

/* phones: real touch targets, the first screen sized to the visible screen, the plans as a swipeable row */
@media (max-width: 760px) {
    .hero.hero-photo { min-height: 100svh; padding-bottom: 44px; }
    .btn, .btn.btn-lg, .btn.btn-sm { min-height: 48px; }
    .nav a, .nav summary { min-height: 46px; display: flex; align-items: center; }
    .hero-photo .hero-cta { flex-direction: column; align-items: stretch; } .hero-photo .hero-cta .btn { width: 100%; }
    .sec { padding: 64px 0; } .sec-head { margin-bottom: 36px; }
    .stat { padding: 30px 14px; } .stat b { font-size: clamp(44px, 14vw, 64px); }
    .reel figure.w { width: 78vw; } .reel figure.n { width: 62vw; } .reel figure { height: 58vw; max-height: 300px; }
    .reel-track { scroll-snap-type: x mandatory; padding-inline: 16px; scroll-padding-inline: 16px; } .reel figure { scroll-snap-align: center; }
    .manif { font-size: clamp(28px, 8.2vw, 40px); }
    .final { padding: 84px 20px; } .final .row { flex-direction: column; } .final .row .btn { width: 100%; }
    .osgrid .os-cell { padding: 26px 22px; }
    body .pf-grid { display: flex; overflow-x: auto; gap: 12px; margin-inline: -24px; padding: 6px 24px 14px; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    body .pf-grid::-webkit-scrollbar { display: none; }
    body .pf-card { flex: 0 0 82%; scroll-snap-align: center; }
    body .pf-size input[type=range] { height: 40px; }
    body .pf-size input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12.5px; }
    body .pf-size input[type=range]::-moz-range-thumb { width: 22px; height: 22px; }
    body .pf-bar { gap: 10px; } body .pf-seg { width: 100%; } body .pf-seg button { flex: 1; min-height: 42px; }
    body .pf-rec { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; border-radius: 14px; box-shadow: 0 16px 40px -18px rgba(10,10,10,.6); }
    body .pf-size { padding: 18px; }
}
@media (hover: none) { .os-cell:hover { background: var(--paper); } .reel figure:hover img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .hd, .btn, .mag, .wr-on .wr > span, .js-motion .rv { transition: none; } .wr-on .wr > span { transform: none; } .js-motion .rv { transform: none; }
    .hero-photo::before, .hero-photo .hero-vid, .hero-photo .wrap { transform: none; } @view-transition { navigation: none; }
}

/* tablets: two columns where the desktop has three or more, and a header that has room */
@media (min-width: 761px) and (max-width: 1100px) {
    .wrap, .hero-photo .wrap, .hd-in { width: min(var(--max), 100% - 56px); }
    .hero.hero-photo { min-height: min(86vh, 820px); padding-bottom: 56px; }
    .hero-photo h1 { font-size: clamp(46px, 8.2vw, 84px); }
    .sec { padding: 84px 0; }
    .osgrid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); } .bc.s5, .bc.s6, .bc.s7 { grid-column: span 1; } .bc { min-height: 440px; }
    .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 34px 12px; } .stat b { font-size: clamp(40px, 6.6vw, 64px); }
    .ft-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; } .ft-grid > div:last-child { grid-column: auto; }
    .final { padding: 100px 28px; }
    body .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    body .pf-rec { position: sticky; bottom: 14px; z-index: 40; box-shadow: 0 16px 40px -18px rgba(10,10,10,.6); }
    .reel figure.w { width: 46vw; } .reel figure.n { width: 32vw; }
    .manif { font-size: clamp(34px, 5.6vw, 52px); }
    .phero { padding: 80px 0 52px; }
    .btn { min-height: 46px; }
}
@media (min-width: 761px) and (max-width: 900px) { .nav a, .nav summary { min-height: 44px; } .hd-in { gap: 12px; } }
/* nothing may push the page sideways */
html, body { max-width: 100%; overflow-x: clip; }
img, video, svg { max-width: 100%; }

@media (max-width: 760px) { body.page-home .pf-rec { bottom: calc(74px + env(safe-area-inset-bottom)); } }
