/* TAFA Media homepage (index-v3.html): the sections, tabs and sliders, on top of site.css. Named for version 2, where they started. */

/* ------------------------------------------------ tabs: larger than the kit's small ones, as these lead their sections */
.v2-tabs .tab { height: var(--btn-h); padding-inline: var(--s-5); font-size: var(--t-body); white-space: nowrap; }

/* All panels share one grid cell, so the section keeps the height of its tallest panel when the tab changes.
   A hidden panel stays laid out, which also loads its pictures before they're needed. */
.v2-panels { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1 0 auto; min-width: 0; margin-top: var(--s-5); }
.v2-panels > [role="tabpanel"] { grid-area: 1 / 1; min-width: 0; }
.v2-panels > [role="tabpanel"][hidden] { display: block; visibility: hidden; pointer-events: none; }
/* sideways swipes on the channels belong to the page's own swipe, never to the browser's back gesture */
.v2-panels[data-v2-swipe] { touch-action: pan-y; overscroll-behavior-x: none; }
.v2-channels > .wrap > .section-head, .v2-projects > .wrap > .section-head { margin-bottom: var(--s-5); }

/* ------------------------------------------------ channels: four large items; the chosen one changes the photo and content */
.v2-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.v2-choice { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 76px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: none; color: var(--ink); text-align: left; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), translate var(--dur) var(--ease); }
.v2-choice__title { font-size: var(--t-body); font-weight: 500; line-height: 1.3; }
.v2-choice__sub { font-size: var(--t-small); line-height: 1.3; color: var(--muted); transition: color var(--dur) var(--ease); }
.v2-choice:hover { border-color: var(--p-accent); translate: 0 -2px; }
.v2-choice[aria-selected="true"] { border-color: var(--p-action); background: var(--p-action); color: #fff; }
.v2-choice[aria-selected="true"] .v2-choice__sub { color: rgb(255 255 255 / .88); }
/* the chosen item already names the channel: the heading stays for search engines and screen readers */
.v2-channel__body h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------ channels: a large photo with its figures beside it */
.v2-channel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s-7); align-items: stretch; }
/* at least --p-h tall, and stretched to the words beside it so both end on one line */
/* 440px floor (2026-11-17, user's request): every tab's photo as tall as the first's (VUS, whose figures make its words
   about 420–440px tall), not shorter when a channel has fewer words */
.v2-channel__photo { --p-h: clamp(440px, 100svh - 460px, 600px); height: auto; min-height: var(--p-h); aspect-ratio: auto; border-radius: var(--r-lg); }
/* on narrow desktops Brand Activation's words (four forms in a narrow column) need about 500px, so all go to 500 */
@media (min-width: 1024px) and (max-width: 1199px) { .v2-channel__photo { --p-h: clamp(500px, 100svh - 460px, 600px); } }
.v2-channel__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); min-width: 0; }
.v2-channel__body h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.v2-channel__body p { margin: 0; color: var(--muted); }
.v2-channel__body .link { margin-top: auto; }
.v2-figures { display: grid; gap: var(--s-4); width: 100%; margin: 0; }
.v2-figures > div { display: grid; gap: var(--s-1); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.v2-figures dd { margin: 0; }
.v2-figures dt { font-size: var(--t-small); color: var(--muted); }

/* ------------------------------------------------ projects: tabs and arrows on one line, the slider under them */
.v2-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.v2-arrows { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.v2-arrows[hidden] { display: none; }
.v2-count { min-width: 3.5em; font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; margin-right: var(--s-2); }
.v2-arrow.v2-arrow { width: var(--btn-h); height: var(--btn-h); padding: 0; display: inline-grid; place-items: center; }
.v2-arrow:disabled { opacity: .35; cursor: default; }

.v2-track {
  display: flex; gap: var(--s-5); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.v2-track::-webkit-scrollbar { display: none; }
.v2-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.v2-track.is-dragging a { pointer-events: none; }
.v2-track img { -webkit-user-drag: none; }
.v2-slide { flex: none; min-width: 0; scroll-snap-align: start; }
.v2-slide > .panel { flex: none; height: var(--p-h); min-height: 0; aspect-ratio: auto; }
.v2-slide > h3, .v2-slide > h4 { margin: 0; font-size: var(--t-card); font-weight: 500; line-height: 1.35; }
.v2-slide > h4 { font-size: var(--t-body); }
.v2-slide > p { margin: var(--s-1) 0 0; color: var(--muted); font-size: var(--t-small); }
.v2-slide.card--open > .panel--top { margin-bottom: var(--s-3); }

/* the next card always peeks in, so it's clear there's more */
.v2-slider--projects .v2-slide { width: calc((100% - 3 * var(--s-5)) / 3.3); }
.v2-slider--projects .panel { --p-h: clamp(170px, 100svh - 660px, 300px); }
.v2-slide[hidden] { display: none; }
.v2-filters .tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.v2-slide > .v2-slide__tag { margin: 0 0 var(--s-1); font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--p-accent); }
/* "Xem tất cả dự án" sits at the heading's bottom right */
.v2-projects .section-head--split > .v2-more { flex: none; }

/* ------------------------------------------------ tablets: the channel's words go under its photo */
@media (max-width: 1023px) {
  .v2-channel { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .v2-channel__photo { --p-h: clamp(240px, 100svh - 640px, 480px); height: var(--p-h); min-height: 0; }
  .v2-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
  .v2-figures > div { padding-bottom: 0; border-bottom: 0; align-content: start; }
  .v2-channel__body .link { margin-top: 0; }
  .v2-slider--projects .v2-slide { width: calc((100% - 2 * var(--s-5)) / 2.4); }
}

/* ------------------------------------------------ phones: swipe; one card and the edge of the next */
@media (max-width: 639px) {
  .v2-tabs .tab { padding-inline: var(--s-4); font-size: var(--t-small); }
  .v2-channel__photo { --p-h: clamp(190px, 26svh, 260px); }
  /* these two sections are only as tall as their content here, which keeps the page short */
  html body main > section.section.v2-channels:not(.hero), html body main > section.section.v2-projects:not(.hero) { min-height: 0; }
  /* columns fit their numbers, so a long one such as 1.100.000+ still fits at 320px */
  .v2-figures { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: var(--s-3); }
  .v2-figures .t-stat { font-size: clamp(20px, 6.2vw, 24px); }
  .v2-figures dt { font-size: 13px; line-height: 1.35; }
  .v2-panels { margin-top: var(--s-4); }
  .v2-track { gap: var(--s-3); }
  /* swiping replaces the arrows here; the count stays */
  .v2-arrow.v2-arrow { display: none; }
  .v2-count { margin-right: 0; }
  .v2-slider--projects .v2-slide { width: 78%; }
  .v2-slider--projects .panel { --p-h: clamp(170px, 26svh, 230px); }
  /* the four filters scroll sideways in one row */
  .v2-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .v2-filters::-webkit-scrollbar { display: none; }
  .v2-projects .v2-bar { flex-wrap: wrap; row-gap: var(--s-2); }
  /* figures: the two tabs stay on one row, the network link goes under them */
  .v2-stats .v2-bar { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .v2-stats .v2-tabs { flex-wrap: nowrap; }

}

/* ================================================ second round: hero, about, figures, partners, dots */

/* ------------------------------------------------ hero: heading sized so each .v2-line stays on one line
   (the longest Vietnamese line, "Tiếp cận đúng người", is about 9.2em wide; the kit's 14ch cap would break it) */
.v2-hero h1 { max-width: none; font-size: min(var(--ly-h1-xl), 9vw); }
@media (min-width: 1024px) {
  .v2-hero h1 { font-size: clamp(48px, 5.4vw, 80px); }
  /* a strong warm light panel behind the words, fading out before the billboard and the bus, so dark text reads on the bright sky */
  .v2-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, rgb(255 255 255 / .94) 0%, rgb(255 255 255 / .86) 36%, rgb(255 255 255 / .4) 54%, rgb(255 255 255 / 0) 66%);
    -webkit-mask-image: linear-gradient(180deg, #000 56%, transparent 76%); mask-image: linear-gradient(180deg, #000 56%, transparent 76%); }
  .v2-hero > .wrap { position: relative; z-index: 1; }
  .v2-hero .hero__lead { font-weight: 500; max-width: 60ch; }
}

/* ------------------------------------------------ about: the points on the left open one at a time */
.v2-about__grid { display: grid; flex: 1 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr); column-gap: var(--s-8); grid-template-areas: "head photo" "points photo"; }
.v2-about__grid > .section-head { grid-area: head; margin-bottom: var(--s-5); }
.v2-points { grid-area: points; align-self: end; border-top: 1px solid var(--line); }
.v2-point { border-bottom: 1px solid var(--line); }
.v2-point h3 { margin: 0; font: inherit; }
.v2-point__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); width: 100%; min-height: 72px; padding: var(--s-3) 0; border: 0; background: none; color: var(--muted); font: 500 clamp(18px, 1.5vw, 22px)/1.35 var(--font-text); text-align: left; cursor: pointer; transition: color var(--dur) var(--ease); }
.v2-point__head:hover, .v2-point.is-open .v2-point__head { color: var(--ink); }
.v2-point__head svg { flex: none; transition: transform var(--dur) var(--ease); }
.v2-point.is-open .v2-point__head svg { transform: rotate(45deg); }
.v2-point__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .28s var(--ease), visibility .28s; }
.v2-point__body > p { overflow: hidden; min-height: 0; margin: 0; }
.v2-point.is-open .v2-point__body { grid-template-rows: 1fr; visibility: visible; }
.v2-point.is-open .v2-point__body > p { padding-bottom: var(--s-4); }

/* About: the billboard (client's request, 2026-11-11). A product render of a wide roadside billboard
   (assets/objects/product-render/specs/billboard.json -> assets/img/billboard.webp, 1463x1674, a 16:9 screen, its own floor shadow) standing
   straight on the section's ground, as tall as the words beside it (the grid row); the client's video plays on its screen. The screen's place in the image and its corners
   come from tools/measure-billboard.mjs: run it after a new render and copy its numbers here. */
.v2-about__board { grid-area: photo; display: flex; justify-content: center; align-items: flex-end; min-height: 320px; container-type: size; }
.bb { position: relative; width: min(100cqw, 100cqh * 1463 / 1674); aspect-ratio: 1463 / 1674; }
.bb__img { display: block; width: 100%; height: 100%; }
.bb__screen {
  position: absolute; left: 4.375%; top: 7.527%; width: 85.578%; height: 45.102%; overflow: hidden; background: #111;
  clip-path: polygon(0% 0%, 100% 1.722%, 99.681% 100%, 0.319% 94.967%);
}
.bb__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
/* or a YouTube video (Umbraco's Billboard YouTube Link): the poster stays under the player until it plays. The player is a little
   larger than the screen, which hides YouTube's title bar and corner marks; it takes no clicks (the pause button does). */
.bb__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb__yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; transform: scale(1.18); opacity: 0; transition: opacity .6s var(--ease); }
.bb__yt.is-playing { opacity: 1; }
/* the four lamps' light falling on the screen, and a faint glare */
.bb__light {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(13% 34% at 6.6% -6%, rgb(255 248 230 / .42), transparent 72%),
    radial-gradient(13% 34% at 33.6% -6%, rgb(255 248 230 / .42), transparent 72%),
    radial-gradient(13% 34% at 62% -6%, rgb(255 248 230 / .42), transparent 72%),
    radial-gradient(13% 34% at 90.2% -6%, rgb(255 248 230 / .42), transparent 72%),
    linear-gradient(115deg, rgb(255 255 255 / .08), transparent 40%);
}
/* the pause button: only once a video plays (js/site-v2.js) */
.bb__toggle {
  position: absolute; right: 10px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid rgb(255 255 255 / .35); border-radius: 50%; background: rgb(20 20 20 / .55); color: #fff; cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bb__toggle:hover { background: rgb(20 20 20 / .8); }
.bb__toggle:active { transform: scale(.94); }
.bb__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bb__toggle .bb__play { display: none; }
.bb__toggle[data-paused] .bb__play { display: block; }
.bb__toggle[data-paused] .bb__pause { display: none; }

/* ------------------------------------------------ figures and map: two tabs, each with the section's full width */
.v2-stats > .wrap > .section-head { margin-bottom: var(--s-4); }
.v2-stats .tab[aria-selected="false"] { color: rgb(255 255 255 / .8); border-color: rgb(255 255 255 / .32); }
.v2-stats .tab[aria-selected="false"]:hover { color: #fff; border-color: rgb(255 255 255 / .6); }
.v2-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(120px, 1fr); gap: var(--s-3); height: 100%; margin: 0; }
.v2-tile { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: rgb(255 255 255 / .08); grid-column: span 2; min-width: 0; }
.v2-tile dd { margin: 0; font-variant-numeric: tabular-nums; }
.v2-tile dt { font-size: var(--t-body); line-height: 1.4; color: rgb(255 255 255 / .78); }
.v2-tile--lead { grid-row: span 2; background: var(--p-action); }
.v2-tile--lead dd { font-size: clamp(72px, 10vw, 152px); line-height: .95; letter-spacing: -0.03em; }
.v2-tile--lead dt { color: #fff; }
.v2-tile--wide { grid-column: span 6; flex-direction: row; align-items: center; justify-content: flex-start; gap: var(--s-5); }
.v2-tile--wide dd { font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }

.v2-explore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: var(--s-7); align-items: center; }
/* as tall as the section allows: the picture's own width, about 1.26 times its height */
.v2-map { position: relative; width: min(100%, calc(clamp(300px, 100svh - 514px, 680px) * 1.264)); aspect-ratio: 1000 / 791; margin-inline: auto; }
.v2-map img { display: block; width: 100%; height: 100%; }
/* the Mekong region of this picture; the pins on it aren't real locations, so no province is marked */
.v2-map__ring { position: absolute; left: 37%; top: 86%; width: 24%; aspect-ratio: 1; translate: -50% -50%; border: 2px solid var(--p-inv-accent); border-radius: 50%; background: rgb(255 90 79 / .16); pointer-events: none; }
.v2-map__ring.is-pulsing { animation: v2-ring .6s var(--ease); }
@keyframes v2-ring { 40% { scale: 1.16; } }
.v2-explore__side { display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.v2-readout { display: grid; gap: var(--s-1); margin: 0; font-size: var(--t-body); color: rgb(255 255 255 / .85); }
.v2-readout strong { font: var(--display-weight) clamp(56px, 6vw, 88px)/1 var(--font-display); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.v2-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-1) var(--s-5); }
.v2-area { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-2); min-height: 44px; align-content: center; padding: 4px 0; border: 0; background: none; color: rgb(255 255 255 / .72); font-size: var(--t-small); text-align: left; cursor: pointer; transition: color var(--dur) var(--ease); }
.v2-area:hover, .v2-area.is-active { color: #fff; }
.v2-area__num { font-variant-numeric: tabular-nums; }
.v2-area__bar { grid-column: 1 / -1; position: relative; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .16); }
.v2-area__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: rgb(255 255 255 / .55); transition: background-color var(--dur) var(--ease); }
.v2-area.is-active .v2-area__bar::after { background: var(--p-inv-accent); }

/* ------------------------------------------------ partners: part of a screen; the words on the left, six logos on the right */
html body main > section.section.v2-partners:not(.hero) { min-height: 0; }
.v2-partners__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; }
.v2-partners__grid .section-head { margin-bottom: 0; }
.v2-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.v2-logo { display: grid; place-items: center; height: 112px; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.v2-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 48px; object-fit: contain; }
.v2-logo img[src$=".svg"] { max-height: 56px; }

/* ------------------------------------------------ section labels and the brief's English headlines */
.v2-eyebrow, .section-head .v2-eyebrow { margin: 0 0 var(--s-3); font-size: var(--t-label); font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accent); }
/* the heading grid's gap already spaces it */
.section-head .v2-eyebrow { margin-bottom: calc(-1 * var(--s-2)); }
.ground-inverse .v2-eyebrow.v2-eyebrow, .footer--dark .v2-eyebrow.v2-eyebrow { color: var(--p-inv-accent); }
.v2-line { display: block; }
.v2-about .section-head > p + p { margin-top: calc(-1 * var(--s-2)); }
@media (min-width: 1024px) {
  .v2-about h2 { font-size: clamp(40px, 3.6vw, 52px); line-height: 1.05; }
  .v2-about .section-head > p:not(.v2-eyebrow) { font-size: var(--t-body); }
  .v2-point__head { min-height: 60px; }
}
.v2-choice__num, .v2-point__num { font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; color: var(--p-accent); font-variant-numeric: tabular-nums; }
.v2-choice[aria-selected="true"] .v2-choice__num { color: rgb(255 255 255 / .8); }
.v2-point__num { margin-right: var(--s-3); }
.v2-stats .v2-bar__link { color: #fff; }

/* ------------------------------------------------ close: two buttons and the contacts on one row */
.v2-close__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-6); }
.v2-close .btn-row { flex-wrap: wrap; gap: var(--s-3); }
.v2-close .btn--xl { width: auto; padding-inline: var(--s-7); gap: var(--s-3); }
.v2-close .btn--secondary { background: none; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.v2-close .btn--secondary:hover { box-shadow: inset 0 0 0 1px #fff; }
.v2-contact { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); margin: 0; }
.v2-contact dt { font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .6); margin-bottom: var(--s-1); }
.v2-contact dd { margin: 0; line-height: 1.6; }
.v2-contact a { color: inherit; text-underline-offset: 4px; }
.v2-footer__tag { margin: 0; font-weight: 600; letter-spacing: .04em; }

/* ------------------------------------------------ position dots: large screens only */
.v2-dots { display: none; }
@media (min-width: 1280px) {
  .v2-dots { position: fixed; z-index: 40; right: 16px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; padding: 6px 4px; border-radius: 999px; background: rgb(20 20 20 / .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .v2-dots a { position: relative; display: grid; place-items: center; width: 20px; height: 20px; }
  .v2-dots a::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: rgb(255 255 255 / .55); transition: height var(--dur) var(--ease), background-color var(--dur) var(--ease); }
  .v2-dots a:hover::before { background: #fff; }
  .v2-dots a[aria-current="true"]::before { height: 14px; background: #fff; }
  .v2-dots span { position: absolute; right: calc(100% + 10px); padding: 4px 10px; border-radius: 6px; background: rgb(20 20 20 / .88); color: #fff; font-size: 13px; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); }
  .v2-dots a:hover span, .v2-dots a:focus-visible span { opacity: 1; visibility: visible; }
}

/* ------------------------------------------------ tablets: stacked; the picture comes before the choices it answers to */
@media (max-width: 1023px) {
  .v2-about__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "photo" "points"; }
  .v2-about__board { min-height: 0; width: min(100%, 460px); margin: 0 auto var(--s-5); aspect-ratio: 1463 / 1674; }
  /* the map takes the full width, with the areas under it in two columns */
  .v2-explore { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .v2-map { width: min(100%, calc(clamp(240px, 100svh - 560px, 560px) * 1.264)); }
  .v2-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
  .v2-readout { display: flex; align-items: baseline; gap: var(--s-3); }
  .v2-readout strong { font-size: clamp(36px, 6vw, 48px); }
  .v2-partners__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .v2-contact { gap: var(--s-4) var(--s-6); }
}
@media (max-width: 639px) {
    html body main > section.section.v2-about:not(.hero), html body main > section.section.v2-stats:not(.hero) { min-height: 0; }
  .v2-point__head { min-height: 56px; font-size: var(--t-body); }
  /* all four items stay in view: two rows of two */
  .v2-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .v2-choice { min-height: 64px; padding: var(--s-2) var(--s-3); }
  .v2-choice__title { font-size: var(--t-small); }
  .v2-choice__sub { font-size: 12px; }
  .v2-map { width: 100%; }
  .v2-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); grid-auto-rows: minmax(104px, auto); height: auto; }
  .v2-tile { padding: var(--s-3); }
  .v2-tile dt { font-size: var(--t-small); }
  .v2-tile--wide { grid-column: span 4; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .v2-tile--lead dd { font-size: 72px; }
  .v2-tile--wide dd { font-size: 44px; }
  .v2-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .v2-logo { height: 80px; padding: var(--s-3); }
  .v2-logo img { max-height: 36px; }
  .v2-close .btn-row, .v2-close .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-map__ring.is-pulsing { animation: none; }
}

/* ------------------------------------------------ scroll-in animation (AOS, started in js/site-v2.js): a shorter rise than AOS's 100px */
[data-aos][data-aos^="fade-up"] { transform: translate3d(0, 32px, 0); }
[data-aos][data-aos^="fade-up"].aos-animate { transform: translate3d(0, 0, 0); }

/* the floating glass bar in navy rather than css/site.css's warm black (site.css is shared with version 1, so it stays) */
.nav--float .nav__bar::before { background: rgb(20 20 20 / .74); }
