/* Syntheva site layer on top of kit-base.css (web kit 1.0: palette Quiet, Stencil S logo, Archivo).
   Maps the Markdown-generated content (sections, tables, FAQ, forms, placeholders) to kit components.
   Rule: pink is the "core" only (logo middle, focus ring, current menu item, button hover line). */

/* Archivo, hosted on our own server (SIL Open Font License 1.1, see fonts/OFL.txt). Variable: width 100-125, weight 400-800. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* header extras: drawer for phones */
.burger .ic { width: 22px; height: 22px; }
.site-drawer { position: fixed; z-index: 45; top: 68px; right: 0; bottom: 0; width: min(380px, 100%); background: var(--bg); border-left: 1px solid var(--line);
  padding: 12px 18px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); visibility: hidden; transition: transform var(--t-mid) var(--ease), visibility 0s linear var(--t-mid); }
.nav-open .site-drawer { transform: none; visibility: visible; transition: transform var(--t-mid) var(--ease); }
.site-drawer a.row { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 20px; letter-spacing: -.01em; }
.site-drawer a.row[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); padding-left: 12px; }
.site-drawer .ic { width: 18px; height: 18px; color: var(--ink-3); }
.site-drawer .btn { margin-top: auto; width: 100%; }
.scrim { position: fixed; inset: 68px 0 0; z-index: 44; background: color-mix(in srgb, var(--ink) 30%, transparent); opacity: 0; pointer-events: none; transition: opacity var(--t-mid); }
.nav-open .scrim { opacity: 1; pointer-events: auto; }
@media (min-width: 901px) { .site-drawer, .scrim { display: none; } }

/* page frame */
.page { padding-block: 28px 80px; }
.crumbs .sep { opacity: .5; }
.page-head { max-width: 46rem; margin-top: 28px; }
.page-head h1, .hero-text h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; }
.tpl-home .hero-text h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.updated { margin-top: 14px; }
.updated, .hero-text > p.updated { font-size: 14px; line-height: 1.4; }
.updated .mono { color: var(--ink-3); font: inherit; }

/* content typography */
.content { margin-top: 28px; }
.content > *, .blk > * { max-width: 46rem; }
.content h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.02em; margin: 64px 0 16px; }
.content h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; margin: 32px 0 8px; }
.content p, .content li { color: var(--ink-2); }
.content p + p, .content p + ul, .content ul + p, .content p + ol, .content ol + p { margin-top: 14px; }
.content ul, .content ol { margin: 14px 0 0; padding-left: 22px; }
.content li + li { margin-top: 6px; }
.content strong { color: var(--ink); font-weight: 500; }
.content a:not(.btn):not(.acard) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color var(--t-fast); }
.content a:not(.btn):not(.acard):hover { text-decoration-color: var(--ink); }
.content > p:first-child, .blk-hero .hero-text > p:first-of-type, .blk-intro > p:first-child, .blk-short-answer > p:first-child { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.content blockquote { margin: 24px 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--ink); }
.content blockquote p { font-size: 20px; line-height: 1.45; color: var(--ink); }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.content code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* tables: spec table look */
.tbl-wrap { margin: 20px 0 8px; max-width: 46rem; }
.content table.spec td:first-child { color: var(--ink-3); }
.blk > .tbl-wrap:has(th:nth-child(3)) { max-width: none; }
table.spec:has(th:nth-child(3)) { table-layout: fixed; min-width: 40rem; }
table.spec:has(th:nth-child(3)) td:first-child { width: auto; }
table.spec th { line-height: 1.35; }

/* hero block */
.blk-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px 56px; align-items: center; padding-block: 24px 40px; max-width: none; }
.blk-hero > * { grid-column: 1; }
.blk-hero > .hero-visual { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 520px; justify-self: end; }
.blk-hero > .hero-text { grid-row: 1; }
.hero-text > p { margin-top: 22px; max-width: 34em; }
.blk-hero > p { margin-top: 16px; }
.blk-hero p.cta { margin-top: 28px; }
.media-ph.has-img { aspect-ratio: auto; background: none; }
.media-ph.has-img img { width: 100%; height: auto; display: block; }
/* images inside the text column: photos are cropped to a sensible height, graphics and small images are never stretched */
.media-ph.has-img:not(.hero-visual):not(.blk-product-card > *):not(.blk-business-card > *) { justify-items: start; }
.media-ph.has-img:not(.hero-visual):not(.blk-product-card > *):not(.blk-business-card > *) img { width: auto; max-width: 100%; max-height: 720px; object-fit: contain; }
.media-ph.has-img:not(.hero-visual):not(.blk-product-card > *):not(.blk-business-card > *) img[src*="/img/photos/"] { width: 100%; max-height: 520px; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .media-ph.has-img:not(.hero-visual):not(.blk-product-card > *):not(.blk-business-card > *) img[src*="/img/photos/"] { max-height: 420px; } }
.blk-hero:has(> .hero-visual.has-img) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 48px; }
.blk-hero > .hero-visual.has-img { max-width: 660px; }
.hv-cap .mono { max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) { .blk-hero { grid-template-columns: minmax(0, 1fr); } .blk-hero > .hero-visual { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: none; aspect-ratio: 4/3; } .blk-hero:has(> .hero-visual.has-img) { grid-template-columns: minmax(0, 1fr); } .blk-hero > .hero-visual.has-img { aspect-ratio: auto; max-width: none; } }

/* sections: no extra chrome by default */
.blk { max-width: none; }

/* CTA lines generated from "[Join the waitlist](/waitlist) · text" */
p.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; color: var(--ink-3); font-size: 15px; max-width: none; }
.cta-final { margin-top: 64px; padding: 32px; border-radius: var(--r-l); background: var(--surface); max-width: 46rem; }
.cta-final h2 { margin-top: 0; }
.cta-final p.cta { margin-top: 20px; }
.cta-final > p.cta:first-child { margin-top: 0; }

/* why cards: runs of paragraphs that start with bold text */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; max-width: none; }
.cards3 > p { margin: 0 !important; padding: 26px; border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.cards3 > p strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: minmax(0, 1fr); } }

/* home page cards: text on the left sets the height, the picture fills the right half */
.blk-product-card, .blk-business-card { position: relative; display: block; padding: 4px 50% 28px 0; min-height: 320px; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; margin-top: 24px; transition: box-shadow var(--t-mid) var(--ease), border-color var(--t-mid); }
.blk-product-card:hover, .blk-business-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.blk-product-card > *, .blk-business-card > * { padding-inline: 28px; max-width: none; }
.blk-product-card > h2, .blk-business-card > h2 { margin-top: 24px; font-size: 30px; }
.blk-product-card > ul, .blk-business-card > ul { padding-left: 50px; }
.blk-product-card > .media-ph, .blk-business-card > .media-ph { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; max-width: none; margin: 0; padding: 0; border-radius: 0; aspect-ratio: auto; }
.blk-product-card > .media-ph img, .blk-business-card > .media-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .blk-product-card, .blk-business-card { display: flex; flex-direction: column; padding: 0 0 24px; min-height: 0; }
  .blk-product-card > .media-ph, .blk-business-card > .media-ph { order: -1; position: relative; width: 100%; aspect-ratio: 16/10; }
}

/* image and video slots: oat plate with the S mark */
.media-ph { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; margin: 24px 0; border-radius: var(--r-l); background: var(--surface); overflow: hidden; max-width: 46rem; }
.media-ph .mk { width: 22%; max-width: 120px; height: auto; opacity: .9; }
.media-ph .mk .mk-shell { fill: color-mix(in srgb, var(--ink) 86%, var(--surface)); }
.media-ph .hv-cap { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); }
.media-ph .hv-cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* FAQ: open list, question left, answer right */
.faq-item h4, .faq-item .faq-q { font-weight: 500; }
.faq-item > div > p + p { margin-top: 10px; }
.faq-item p { max-width: none; }

/* limits: "What Synthia does not do" */
.blk-limits ul { list-style: none; padding: 20px 24px; border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--line); }
.blk-limits li { padding: 10px 0; border-top: 1px solid var(--line); margin: 0 !important; }
.blk-limits li:first-child { border-top: 0; }

/* numbered steps */
.blk-steps ol, .blk-next-steps ol, .blk-pilot ol, .blk-ordering ol { list-style: none; padding: 0; counter-reset: s; }
.blk-steps ol > li, .blk-next-steps ol > li, .blk-pilot ol > li, .blk-ordering ol > li { position: relative; min-height: 78px; padding: 18px 0 18px 68px; border-top: 1px solid var(--line); counter-increment: s; margin: 0 !important; }
.blk-steps ol > li::before, .blk-next-steps ol > li::before, .blk-pilot ol > li::before, .blk-ordering ol > li::before { content: counter(s); position: absolute; top: 18px; left: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font: 500 16px/1 var(--f); color: var(--ink); }

/* TBC marks (kit .tbc) */
mark.tbc { display: inline; padding: 1px 7px; border-radius: 6px; border: 1px dashed var(--tbc-line); background: var(--tbc-bg); color: var(--tbc-fg); font: 500 .78em/1.7 var(--mono); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tbc-list { margin-top: 64px; padding: 20px 22px; border-radius: var(--r-l); border: 1px dashed var(--tbc-line); background: var(--tbc-bg); color: var(--tbc-fg); max-width: 46rem; font-size: 14.5px; }
.tbc-list .label { color: var(--tbc-fg); }
.tbc-list ol { margin: 10px 0 0; padding-left: 20px; }

/* forms from the generator */
.form { margin-top: 24px; max-width: 46rem; }
.form .panel { margin: 0; }
.form .success p { color: var(--ink); }
.form .check { margin-top: 12px; }
.form > .field:first-of-type, .form > .two:first-of-type > .field { margin-top: 0; }
.form textarea.input { height: auto; min-height: 132px; padding: 14px 16px; line-height: 1.5; resize: vertical; }

/* index cards (news, articles): kit article cards */
.cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; max-width: none; }
.cards .acard { margin: 0 !important; }
.cards .acard p { color: var(--ink-2); }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.cards .acard { border-top: 0; padding-top: 0; text-decoration: none; }
.cards .acard h3 { margin: 0; font-size: 21px; }
.cards .acard p { margin: 0; }
.acard .thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16/10; border-radius: var(--r-m); background: var(--surface); overflow: hidden; margin-bottom: 4px; }
.acard .thumb img { width: 100%; height: 100%; object-fit: contain; }
.acard .thumb .mk { width: 64px; height: 64px; opacity: .9; }
.acard .thumb .mk .mk-shell { fill: color-mix(in srgb, var(--ink) 86%, var(--surface)); }

/* footer extras */
.foot-legal .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* cookie banner (kit) as a fixed panel */
.cookie.fixed { position: fixed; z-index: 70; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 32px)); }
.cookie[hidden] { display: none; }
.cookie .set { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 640px) {
  .page { padding-block: 16px 56px; }
  .content h2 { margin-top: 48px; }
  .cta-final { padding: 24px 20px; }
}

/* YouTube embed: poster + play button, player loads on click */
.yt-embed { margin: 28px 0; max-width: 46rem; }
.blk-hero > .photo-placeholder { max-width: 660px; aspect-ratio: 3 / 2; }
.blk-hero:has(> .photo-placeholder) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 48px; }
@media (max-width: 860px) {
  .blk-hero:has(> .photo-placeholder) { grid-template-columns: minmax(0, 1fr); }
  .blk-hero > .photo-placeholder { max-width: none; }
}
.slide-placeholder { display: grid; height: 100%; place-items: center; }
.yt-embed .yt { display: block; position: relative; aspect-ratio: 16/9; border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.yt-embed .yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; display: block; }
.yt-embed .yt-play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.yt-embed .yt-play svg { width: 68px; height: 48px; }
.yt-embed .yt-play .yt-bg { fill: #212121; fill-opacity: .82; transition: fill var(--t-fast), fill-opacity var(--t-fast); }
.yt-embed .yt:hover .yt-bg, .yt-embed .yt:focus-visible .yt-bg { fill: #f00; fill-opacity: 1; }
.yt-embed .yt-play .yt-tri { fill: #fff; }
.yt-embed figcaption { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* footer: social links */
.foot-brand .social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-brand .social a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.foot-brand .social a:hover { color: var(--ink); border-color: var(--ink-3); }

/* home hero: facts row under the subheadline (.facts is defined in kit-base.css) */
.content .facts { margin-top: 20px; }
.hero-text > p.updated + p { font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 30em; }

/* cards3 with 4 or 5 cards: no hole in the last row */
.cards3:has(> p:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards3:has(> p:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards3:has(> p:nth-child(5):last-child) > p { grid-column: span 2; }
.cards3:has(> p:nth-child(5):last-child) > p:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 860px) { .cards3:has(> p:nth-child(4):last-child), .cards3:has(> p:nth-child(5):last-child) { grid-template-columns: minmax(0, 1fr); } .cards3:has(> p:nth-child(5):last-child) > p { grid-column: auto !important; } }

/* long code lines and long placeholder marks must not widen the page on phones */
.content pre { max-width: 100%; overflow-x: auto; }
.content pre code { white-space: pre; }
mark.tbc { overflow-wrap: anywhere; }

/* Photo notes and galleries */
.ph-cap { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(20, 28, 40, .62); color: #fff; font-size: 11px; line-height: 1.4; pointer-events: none; }
.media-ph.has-img > a { display: block; width: 100%; height: 100%; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 24px 0; max-width: 46rem; }
.ph-grid a { position: relative; display: block; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--surface); }
.ph-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }

/* Carousels (kit .car-track / .slide / .car-btn), built from "carousel:" comments */
.carousel { margin: 28px 0; max-width: 46rem; }
.car-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.car-title { margin: 0 !important; font-size: 15px; font-weight: 500; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.car-nav { display: flex; gap: 8px; flex: none; }
.carousel .car-track { grid-auto-columns: minmax(220px, calc((100% - 32px) / 2.4)); }
.car-tall .car-track { grid-auto-columns: minmax(200px, calc((100% - 32px) / 2.8)); }
.slide-media { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.car-tall .slide-media { aspect-ratio: 4 / 5; }
.slide-media img, .slide-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.slide-media a { display: block; width: 100%; height: 100%; }
.slide figcaption { line-height: 1.4; }
@media (max-width: 640px) { .carousel .car-track, .car-tall .car-track { grid-auto-columns: 78%; } }
@media (hover: hover) { .slide-media img { transition: transform var(--t-slow) var(--ease); } .slide-media a:hover img { transform: scale(1.03); } }

/* Generation labels: one style on every photo note and carousel title */
.gen-badge, .ph-cap { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(20, 28, 40, .72); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
.gen-badge { position: static; background: var(--ink); }

/* Two photos side by side: Synthia 1 next to Synthia 2 */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; max-width: 46rem; }
.pair .slide-media { aspect-ratio: 4 / 5; }
@media (max-width: 520px) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* Proof strip under the hero: dated milestones in a quiet row, not pills */
.blk-proof-strip { margin-top: 8px; }
.blk-proof-strip ul { list-style: none; padding: 0 !important; margin: 0 !important; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blk-proof-strip li { margin: 0 !important; }
.blk-proof-strip li + li { border-left: 1px solid var(--line); }
.blk-proof-strip li a { display: block; height: 100%; padding: 18px 20px; font-size: 15px; line-height: 1.4; color: var(--ink) !important; text-decoration: none !important; transition: background var(--t-fast); }
.blk-proof-strip li a strong { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); }
.blk-proof-strip li a:hover { background: var(--surface); }
.blk-proof-strip li:first-child a { padding-left: 0; }
@media (max-width: 860px) {
  .blk-proof-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blk-proof-strip li:nth-child(3) { border-left: 0; }
  .blk-proof-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .blk-proof-strip li:first-child a, .blk-proof-strip li:nth-child(3) a { padding-left: 0; }
  .blk-proof-strip li a { padding: 14px 14px; font-size: 14px; }
}

/* Dated milestones as a vertical timeline */
.blk-timeline ul { list-style: none; padding: 0 0 0 28px !important; position: relative; }
.blk-timeline ul::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 20px; width: 1px; background: var(--ink-3); }
.blk-timeline li { position: relative; padding: 4px 0 14px; margin: 0 !important; }
.blk-timeline li::before { content: ""; position: absolute; left: -27px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }

/* Photo viewer */
dialog.lb { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lb::backdrop { background: rgba(12, 16, 24, .9); }
.lb-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px 64px; }
.lb-in img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lb-cap { position: absolute; left: 16px; right: 16px; bottom: 20px; text-align: center; color: #fff; font-size: 14px; }
.lb .car-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .92); }
.lb .lb-prev { left: 16px; } .lb .lb-next { right: 16px; }
.lb .lb-close { position: absolute; top: 12px; right: 16px; transform: none; }

/* Sections rise in gently while scrolling (only when scripts run and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .content > .blk:not(.blk-hero) { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .js-reveal .content > .blk.in { opacity: 1; transform: none; }
  .js-reveal .cards3.in > p { animation: rise 600ms var(--ease) both; }
  .js-reveal .cards3.in > p:nth-child(2) { animation-delay: 80ms; } .js-reveal .cards3.in > p:nth-child(3) { animation-delay: 160ms; }
  .js-reveal .cards3.in > p:nth-child(4) { animation-delay: 240ms; } .js-reveal .cards3.in > p:nth-child(5) { animation-delay: 320ms; }
}

/* Cookie banner: a compact bar that leaves the hero visible */
.cookie.fixed { left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: 980px; margin-inline: auto; display: flex; align-items: center; gap: 12px 20px; padding: 12px 16px; }
.cookie.fixed h4 { display: none; }
.cookie.fixed p { margin: 0; font-size: 14px; line-height: 1.45; flex: 1 1 auto; }
.cookie.fixed .row { margin: 0; flex: none; flex-wrap: nowrap; }
@media (max-width: 720px) { .cookie.fixed { flex-direction: column; align-items: stretch; } .cookie.fixed .row { justify-content: stretch; } .cookie.fixed .row .btn { flex: 1; } }
.blk-timeline li strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; }
.car-contain .slide-media { aspect-ratio: 16 / 9; }
.car-contain .slide-media img { object-fit: contain; }
.car-contain .car-track { grid-auto-columns: minmax(260px, calc((100% - 16px) / 1.6)); }
.cookie.fixed[hidden] { display: none; }
