/* ==========================================================================
   PULS FØRDE — HYROX page (inc/hyrox.php)
   Same tokens, same bands. New here: the yellow band, the YouTube facade,
   the station grid.
   ========================================================================== */

/* --- the yellow band: the one place a whole band is the CTA colour -------- */
.puls-band--gul { background: var(--gul); color: var(--ink-900); }
.puls-band--gul .puls-lede { color: var(--ink-800); max-width: 60ch; }
.puls-hycta__h { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; margin-bottom: 14px; max-width: 18ch; }
.puls-hyroutes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 30px; }
.puls-hyroute { background: rgba(248, 245, 240, .55); border: 1px solid rgba(11, 13, 14, .12); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.puls-hyroute h3 { font-size: 21px; font-weight: 700; }
.puls-hyroute p { font-size: 15.5px; color: var(--ink-600); flex: 1; }
.puls-hyroute .puls-btn { align-self: flex-start; margin-top: 8px; }
.puls-band--gul .puls-btn--primary { background: var(--ink-900); color: var(--paper); }
.puls-band--gul .puls-btn--primary:hover, .puls-band--gul .puls-btn--primary:focus-visible { background: var(--ink-600); color: var(--paper); }
.puls-band--gul .puls-btn--ghost { color: var(--ink-900); border-color: var(--ink-900); }
.puls-band--gul .puls-btn--ghost:hover, .puls-band--gul .puls-btn--ghost:focus-visible { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }

/* --- hero ------------------------------------------------------------------- */
.puls-hyhero .puls-ihero__bg { object-position: 65% 40%; }
.puls-hyhero__g { display: grid; gap: 28px 56px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .puls-hyhero__g { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.puls-hyhero .puls-ihero__s { max-width: 34ch; }
.puls-hyhero__b p { color: var(--grey-lo); font-size: 17px; max-width: 48ch; }
.puls-hycta { margin-top: 26px; }
.puls-hybadge { display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0; padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid var(--hair-d); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); max-width: none; }
.puls-hybadge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gul); flex: none; }
.puls-hybadge--ink { color: var(--ink-800); border-color: var(--ink-100); margin: 0 0 14px; }
.puls-hysign { font-family: var(--fd); font-variation-settings: 'wdth' 118; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; color: inherit; margin-top: 8px; }
.puls-band--ink .puls-hysign { color: var(--gul); }
.puls-band--paper .puls-hysign, .puls-band--alt .puls-hysign { color: var(--ink-900); }
.puls-hykick { font-family: var(--fd); font-variation-settings: 'wdth' 118; font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1; color: var(--ink-900); margin: 0 0 14px; }

/* --- YouTube facade -------------------------------------------------------------
   A local thumbnail and a real button. The iframe is built on click
   (puls.js, initYouTube), from youtube-nocookie.com, with autoplay=1. */
.puls-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: var(--ink-800); }
.puls-yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.puls-yt:hover img { transform: scale(1.03); }
.puls-yt__play { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(180deg, rgba(11, 13, 14, 0) 45%, rgba(11, 13, 14, .78)); color: var(--paper); cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; padding: clamp(16px, 3vw, 28px); text-align: left; font: inherit; }
.puls-yt__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--gul); display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.puls-yt__ico::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--ink-900); margin-left: 5px; }
.puls-yt__play:hover .puls-yt__ico, .puls-yt__play:focus-visible .puls-yt__ico { transform: scale(1.08); background: var(--oransje); }
/* Hover tint in Puls yellow, translucent so the film still shows through. */
.puls-yt__play { background-color: transparent; transition: background-color .25s var(--ease); }
.puls-yt__play:hover, .puls-yt__play:focus-visible { background-color: rgba(241, 221, 46, .2); }
.puls-yt__play:focus-visible { outline: 3px solid var(--bla); outline-offset: -3px; }
.puls-yt__t { font-family: var(--fd); font-variation-settings: 'wdth' 118; font-weight: 700; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.15; text-shadow: 0 1px 2px rgba(11, 13, 14, .4); }
.puls-yt--card .puls-yt__ico { width: 48px; height: 48px; }
.puls-yt--card .puls-yt__ico::before { border-width: 9px 0 9px 15px; margin-left: 4px; }
.puls-yt--card .puls-yt__t { font-size: 16px; }
.puls-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.puls-yt--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed var(--ink-100); background: repeating-linear-gradient(45deg, #EFEAE2, #EFEAE2 10px, #E6E0D6 10px, #E6E0D6 20px); padding: 24px; text-align: center; }
.puls-yt--ph p { font-size: 14px; color: var(--ink-400); margin: 0; }

/* --- video + text (kva er, springing) ---------------------------------------------- */
.puls-hyvid { display: grid; gap: 26px 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .puls-hyvid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.puls-hyvid__t h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-bottom: 14px; }
.puls-hyvid__t p { color: var(--ink-600); }

/* --- the testimonial film, emphasised ----------------------------------------------- */
.puls-hyvoice__head { max-width: 64ch; margin-bottom: 28px; }
.puls-hyvoice__head h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; margin-bottom: 16px; }
.puls-hyvoice .puls-yt { box-shadow: 0 0 0 3px var(--gul), 0 30px 80px rgba(0, 0, 0, .5); }
.puls-hyvoice__ans { display: grid; gap: 14px 48px; grid-template-columns: 1fr; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--hair-d); }
@media (min-width: 900px) { .puls-hyvoice__ans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.puls-hyvoice__ans h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.puls-hyvoice__ans p { color: var(--grey-lo); }

/* --- stations ------------------------------------------------------------------------ */
.puls-hystations { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: st; }
@media (min-width: 800px) { .puls-hystations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.puls-hystation { background: var(--paper-3); border: 1px solid var(--ink-100); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.puls-hystation .puls-yt { border-radius: 0; }
.puls-hystation__b { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.puls-hystation__n { font-family: var(--fd); font-variation-settings: 'wdth' 118; font-weight: 800; font-size: 15px; color: var(--int-gul-ink); font-variant-numeric: tabular-nums; }
.puls-hystation h3 { font-size: 24px; font-weight: 700; }
.puls-hystation p { font-size: 15.5px; color: var(--ink-600); max-width: none; }
.puls-hyfit { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); border-left: 4px solid var(--gul); color: var(--ink-800) !important; }
.puls-hyfit strong { color: var(--ink-900); }

/* --- "du treng ikkje kunne dette" --------------------------------------------------------- */
.puls-hyhelp { display: grid; gap: 26px 56px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .puls-hyhelp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.puls-hyhelp h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; margin-bottom: 14px; }
.puls-hyhelp p { color: var(--ink-600); }
.puls-hyhelp__c { background: var(--paper-3); border: 2px solid var(--ink-900); border-radius: 22px; padding: 26px; }
.puls-hyhelp__c .puls-check { margin-bottom: 16px; }

/* --- front-page teaser ---------------------------------------------------------------------- */
.puls-hyteaser { display: grid; gap: 26px 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .puls-hyteaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.puls-hyteaser__t h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; margin-bottom: 14px; }
.puls-hyteaser .puls-copy__cta { margin-top: 20px; }

/* Numerals in the yellow band and ink hero already have contrast; the 'HYROX'
   menu item gets a small marker so the new page is findable in the nav. */
.puls-nav > li.puls-nav--ny > a::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gul); margin-left: 7px; vertical-align: middle; }
