html[data-version] { --anchor-offset: 1rem; }
.concept-v1 { --surface: #fbfcf9; --ink: #153e4b; --muted: #526a70; --accent: #bed8c5; --focus: #bd8427; }
.v1-page { --surface: #fbfcf9; background: var(--surface); --focus: #174d5d; font-family: inherit; font-size: 1.05rem; line-height: 1.85; }
/* Keep content gutters from consuming extra width when users enlarge text. */
.v1-wrap { width: min(1080px, calc(100% - min(5rem, 80px))); margin-inline: auto; }
.v1-page h1, .v1-page h2, .v1-page h3 { font-family: inherit; color: inherit; font-weight: 650; letter-spacing: -.025em; }
.v1-page mark { background: transparent; color: #386454; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.v1-header { position: relative; z-index: 30; background: #fbfcf9; color: #153e4b; backdrop-filter: blur(14px); border-bottom: 1px solid #d5e1db; }
.v1-header__inner { display: grid; grid-template-columns: minmax(220px, 288px) minmax(0, 1fr); grid-template-areas: "brand tools" "navigation navigation"; align-items: center; gap: .3rem 2rem; padding-block: .65rem; }
.v1-brand { grid-area: brand; min-width: 0; display: block; text-decoration: none; }
.v1-logo { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.v1-brand__identity { display: grid; gap: .4rem; width: 100%; max-width: 288px; }
.v1-logo--header { overflow: hidden; }
.v1-brand__subtitle { display: block; font-size: .75rem; font-weight: 500; line-height: 1.45; text-align: center; text-wrap: balance; }
.v1-navigation { grid-area: navigation; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding-top: .5rem; border-top: 1px solid var(--palette-header-border, #d5e1db); font-size: .85rem; font-weight: 600; line-height: 1.5; }
.v1-navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #153e4b; border-bottom: 1px solid transparent; white-space: nowrap; }
.v1-navigation a:hover { border-color: currentColor; }
.v1-navigation .v1-nav-contact { margin-inline-start: auto; padding: .5rem 1rem; border-radius: 6px; background: #174d5d; color: #ffffff; gap: .7rem; }
.v1-header .site-language-shell { margin: 0; padding: 0; width: auto; }
.v1-header .site-language-switcher { display: inline-flex; padding: 0; border: 1px solid var(--palette-header-border, #d5e1db); border-radius: 6px; background: transparent; gap: 0; }
.v1-header .site-language-button { padding: .35rem .65rem; min-width: 56px; min-height: 44px; border: 0; border-radius: 5px; background: transparent; color: #4c666c; font-size: .78rem; font-weight: 600; opacity: 1; box-shadow: none; }
.v1-header .site-language-button[aria-pressed="true"] { color: #153e4b; background: #edf3e9; box-shadow: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.v1-header .site-language-button::after { display: none; }
.v1-nav-toggle { display: none; }
.v1-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 5.5vw, 5rem) 6rem; text-align: center; background: #dfedf2; color: #153e4b; }
.v1-hero__inner { position: relative; z-index: 1; }
.v1-site-title { margin-bottom: 1.1rem; font-size: 1.07rem; font-weight: 600; color: #386454; }
.v1-professional-name { margin-bottom: .75rem; font-size: 1.25rem; font-weight: 600; }
.v1-contact-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 2rem; }
.v1-contact-links a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-width: 0; max-width: 100%; min-height: 44px; color: inherit; text-underline-offset: .25em; }
.v1-contact-links bdi { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-weight: 600; }
.v1-contact-links a span { font-size: .85em; }
.v1-hero h1 { max-width: 830px; margin: 0 auto 1.5rem; font-size: clamp(2.5rem, 4.25vw, 4.3rem); line-height: 1.18; }
.v1-hero__intro { margin-bottom: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; }
.v1-hero__intro p { margin: 0; }
.v1-featured-video { max-width: 800px; margin: 1.5rem auto 2rem; }
.v1-featured-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 200px; border: 0; background: #071c24; }
.v1-featured-video figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding-top: .6rem; font-size: .75rem; line-height: 1.6; }
.v1-featured-video a { color: #153e4b; text-underline-offset: 3px; }
.v1-enable-sound { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem .9rem; border: 2px solid var(--palette-ink, #112456); border-radius: 4px; background: var(--palette-header-selected, #ffe54a); color: var(--palette-ink, #112456); font: inherit; font-weight: 700; cursor: pointer; }
.v1-enable-sound[hidden] { display: none; }
.v1-course-eyebrow { margin-bottom: .6rem; font-weight: 600; }
.v1-course-register { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .6rem; max-width: 100%; min-height: 44px; color: #153e4b; font-weight: 650; text-underline-offset: 4px; }
.v1-down-link { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; max-width: 100%; min-height: 44px; color: #153e4b; font-size: .88rem; text-underline-offset: 5px; }
.v1-waves { position: absolute; bottom: -1px; width: 100%; height: 90px; }
.v1-waves path:nth-child(1) { fill: #b9d9cc; }
.v1-waves path:nth-child(2) { fill: #edf3e9; }
.v1-waves path:nth-child(3) { fill: #fbfcf9; }
.v1-introduction { padding-block: .8rem 4.5rem; background: #fbfcf9; color: #153e4b; }
#case-videos:focus-visible { outline-offset: -3px; box-shadow: inset 0 0 0 6px #071317 !important; }
.v1-introduction > .v1-wrap { max-width: 960px; }
.v1-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.v1-case-video { min-width: 0; margin: 0; }
.v1-case-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 200px; border: 0; background: #071c24; }
.v1-case-video figcaption { padding-block: .75rem; font-size: .8rem; line-height: 1.6; color: #4c666c; }
.v1-case-video a { width: fit-content; color: #153e4b; font-size: .72rem; text-underline-offset: 3px; }
@media (max-width: 799.98px) {
  .v1-video-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
}
.v1-introduction__copy { max-width: 740px; margin: 3.1rem auto; text-align: center; font-size: 1.1rem; }
.v1-consultation-question { font-size: clamp(1.12rem, 2vw, 1.55rem); font-weight: 650; }
.v1-call-recommendation { display: inline-block; padding: .4rem .5rem; color: #153e4b; text-decoration: none; font-weight: 700; min-height: 44px; }
.v1-call-recommendation:hover { text-decoration: underline; text-underline-offset: 5px; }
.v1-time-limit { width: fit-content; margin: -.45rem auto 0; color: #153e4b; border-bottom: 1px solid currentColor; font-weight: 650; font-size: .95rem; }
.v1-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.v1-section-heading { display: flex; align-items: flex-start; gap: 1.3rem; margin-bottom: 2.5rem; }
.v1-section-index { flex: 0 0 auto; padding-top: .45rem; border-top: 1px solid #386454; color: #386454; font-size: .75rem; font-weight: 600; font-family: inherit; }
.v1-section-heading h2 { margin: 0; max-width: 850px; font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1.35; }
.v1-when { background: #edf3e9; color: #153e4b; }
.v1-situations { list-style: none; padding: 0; margin-bottom: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.v1-situations li { padding: 1rem 0; border-top: 1px solid #d5e1db; font-size: 1rem; }
.v1-callout { border-inline-start: 3px solid #386454; padding: .2rem 1.5rem; margin-block: 2rem 3.5rem; }
.v1-callout a { color: #153e4b; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 650; text-decoration: none; }
.v1-callout a:hover { text-decoration: underline; text-underline-offset: 5px; }
.v1-gallery { display: grid; gap: .9rem; }
.v1-gallery-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; align-items: start; }
/* Share frame dimensions; gallery previews fill them while course documents stay complete. */
.v1-when > .v1-wrap, .v1-course > .v1-wrap { container-type: inline-size; --photo-width: calc((100cqw - 1.8rem) / 3); }
.v1-photo { margin: 0; min-width: 0; width: min(100%, var(--photo-width)); justify-self: center; }
.v1-photo button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: transparent; overflow: hidden; cursor: zoom-in; }
.v1-photo img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.v1-gallery .v1-photo img { object-fit: cover; }
.v1-photo button:hover img { opacity: .9; }
.v1-course { background: #e4edf0; color: #153e4b; }
.v1-audiences { max-width: 900px; margin-bottom: 2.5rem; color: #153e4b; line-height: 1.95; font-size: 1.06rem; }
.v1-page .v1-small-heading { color: #153e4b; font-size: 1.12rem; margin-bottom: 1rem; }
/* Three columns at ordinary text sizes; fewer when enlarged text needs room. */
.v1-standards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(5rem, 33.3333%)), 1fr)); list-style: none; padding: 0; color: #153e4b; border-block: 1px solid #d5e1db; }
.v1-standards-grid li { padding: .75rem 1rem; border-bottom: 1px solid #d5e1db; font-size: .95rem; }
.v1-standards-grid li:nth-child(n+19) { border-bottom: 0; }
.v1-challenge { text-align: center; margin: 3.5rem auto 2rem; }
.v1-challenge p { font-size: 1.13rem; font-weight: 650; }
.v1-page .v1-challenge h3 { margin-top: 1.8rem; color: #153e4b; font-size: clamp(1.4rem, 2.25vw, 1.95rem); }
.v1-thermal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.v1-examples { margin-top: 4rem; }
.v1-example { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-block: 2.5rem; border-top: 1px solid #d5e1db; }
.v1-example h3 { max-width: 450px; margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.6; }
.v1-page .v1-example:nth-child(1) h3 { color: #153e4b; }
.v1-page .v1-example:nth-child(2) h3 { color: #153e4b; }
.v1-knowledge { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid #d5e1db; }
.v1-page .v1-knowledge > h3 { color: #153e4b; font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1.4; margin-bottom: 1.25rem; }
.v1-knowledge ol { counter-reset: v1-question; list-style: none; padding: 0; margin: 0; }
.v1-knowledge li { counter-increment: v1-question; position: relative; padding: 1.2rem 0; padding-inline-start: 3rem; color: #153e4b; border-bottom: 1px solid #d5e1db; font-size: 1.03rem; }
.v1-knowledge li::before { content: counter(v1-question, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 1.4rem; color: #386454; font-family: inherit; font-size: .8rem; }
.v1-knowledge li:last-child { border-bottom: 0; }
.v1-pressure-range { white-space: nowrap; }
.v1-contact { padding-block: 4rem 3rem; background: #174b5d; color: #f4f7ef; text-align: start; }
.v1-contact__main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.v1-contact__message, .v1-contact__actions { min-width: 0; }
.v1-contact__invitation { margin: 0 0 1rem; color: var(--section-accent, #ffe54a); font-size: 1rem; font-weight: 600; }
.v1-contact h2 { max-width: 22ch; margin: 0 0 1.25rem; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.25; text-wrap: balance; }
.v1-contact__instructions { max-width: 52ch; margin: 0; font-size: 1.05rem; line-height: 1.8; }
.v1-contact__actions { padding-inline-start: 2rem; border-inline-start: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.v1-contact__actions .v1-professional-name { margin: 0 0 .8rem; font-size: 1.15rem; }
.v1-contact .v1-contact-links { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: .6rem; margin: 0; }
.v1-contact .v1-contact-links a { justify-content: flex-start; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.v1-contact .v1-contact-links [data-contact-phone] { justify-content: space-between; gap: .25rem .75rem; min-height: 72px; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 6px; background: var(--palette-contact-button, #ffe54a); color: var(--palette-contact-button-text, #112456); text-decoration: none; }
.v1-contact .v1-contact-links [data-contact-phone] bdi { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.4; }
.v1-contact .v1-contact-links [data-contact-phone]:hover bdi { text-decoration: underline; text-underline-offset: .2em; }
.v1-contact .v1-contact-links bdi { overflow-wrap: anywhere; }
.v1-contact .v1-contact-hint { margin: 0; font-size: .85rem; line-height: 1.6; }
.v1-contact__details { display: grid; gap: 1.1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.v1-contact__signoff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.v1-contact__signoff p { margin: 0; }
.v1-signature { color: #f4f7ef; font-size: .95rem; }
@media (max-width: 899.98px) {
  .v1-contact__main { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .v1-contact__actions { padding-inline-start: 0; border-inline-start: 0; }
  .v1-contact__actions .v1-contact-links { max-width: 26rem; }
}
.v1-footer { background: #fbfcf9; color: #4c666c; font-size: .9rem; line-height: 1.6; }
.v1-footer__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 2rem 3rem; padding-block: 3rem 2.5rem; }
.v1-footer__brand, .v1-footer__contact, .v1-footer__navigation { min-width: 0; }
.v1-footer__logo-link { display: inline-block; max-width: 100%; margin-bottom: 1rem; }
.v1-footer .v1-logo { width: 220px; max-width: 100%; }
.v1-footer__name { margin: 0 0 .2rem; font-size: 1.2rem; font-weight: 650; }
.v1-footer__role { margin: 0; }
.v1-footer .v1-footer__heading { margin: 0 0 .8rem; font-size: 1rem; line-height: 1.5; font-weight: 650; letter-spacing: normal; }
.v1-footer .v1-contact-links { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: start; gap: .9rem; }
.v1-footer .v1-contact-links a { display: grid; justify-items: start; gap: .15rem; min-height: 44px; max-width: 100%; text-decoration: none; }
.v1-footer .v1-contact-links a span { font-size: .8rem; }
.v1-footer .v1-contact-links bdi { font-size: 1rem; text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
.v1-footer .v1-contact-links [data-contact-phone] bdi { font-size: 1.5rem; font-weight: 650; }
.v1-footer-links { list-style: none; margin: 0; padding: 0; }
.v1-footer-links a { display: flex; align-items: center; gap: .5rem; min-width: 44px; min-height: 44px; max-width: 100%; padding-block: .35rem; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.v1-footer-links a:hover, .v1-footer-links a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.v1-footer-links .v1-footer__back-top { font-weight: 650; }
.v1-lightbox { position: fixed; padding: 3.25rem min(1rem, 16px) 1rem; border: 0; width: min(1000px, calc(100vw - min(2rem, 32px))); max-height: calc(100dvh - min(2rem, 32px)); background: transparent; color: var(--palette-canvas, #ffffff); --focus: var(--palette-canvas, #ffffff); overflow: auto; }
.v1-lightbox::backdrop { background: color-mix(in srgb, #112456 45%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.v1-lightbox figure { margin: 0; }
.v1-lightbox img { display: block; margin: auto; max-height: calc(100dvh - min(10rem, 160px)); width: auto; height: auto; max-width: 100%; object-fit: contain; }
.v1-lightbox figcaption { width: fit-content; max-width: 100%; margin: .75rem auto 0; padding: .5rem .75rem; border-radius: 4px; background: var(--palette-ink, #112456); text-align: center; font-size: .85rem; line-height: 1.6; }
.v1-lightbox__close { position: absolute; top: .25rem; inset-inline-end: .25rem; width: 44px; height: 44px; padding: 0; border: 1px solid var(--palette-canvas, #ffffff); border-radius: 50%; background: var(--palette-ink, #112456); color: var(--palette-canvas, #ffffff); font-size: 32px; line-height: 1; }
.v1-contact-dialog { position: fixed; width: min(420px, calc(100vw - min(2rem, 32px))); max-height: calc(100dvh - min(2rem, 32px)); padding: 3.5rem min(1.5rem, 24px) 1.5rem; border: 0; border-radius: 12px; background: var(--palette-lightbox, #fbfcf9); color: var(--palette-lightbox-text, #153e4b); box-shadow: 0 20px 70px #102f3b40; text-align: center; overflow: auto; }
.v1-contact-dialog::backdrop { background: #102f3b66; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v1-contact-dialog__close { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; font-size: 32px; line-height: 1; cursor: pointer; }
.v1-contact-dialog__close:hover { background: #80999820; }
.v1-contact-dialog h2 { margin: 0 0 .5rem; font-size: 1.7rem; line-height: 1.3; }
.v1-contact-dialog p { margin: 0; }
.v1-contact-dialog__number { display: block; margin: .25rem 0 1.5rem; font-size: 1.25rem; font-weight: 600; }
.v1-contact-dialog__actions { display: grid; gap: .75rem; }
.v1-contact-dialog__actions a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem; min-width: 0; min-height: 48px; padding: .75rem; border: 1px solid currentColor; border-radius: 5px; color: inherit; font-weight: 600; text-decoration: none; line-height: 1.5; }
.v1-contact-dialog__actions [data-contact-dial] { background: var(--palette-header-button); border-color: var(--palette-header-button); color: var(--palette-header-button-text); }
.v1-contact-dialog__actions svg { flex: 0 0 24px; }
.v1-contact-dialog [hidden] { display: none; }
/* Only the navigation row stays visible; short/zoomed views keep normal flow. */
@media (min-width: 1100px) and (min-height: 500px) {
  html[data-version] { --anchor-offset: 5rem; }
  .v1-header { position: sticky; top: var(--header-sticky-top, 0px); }
}
@media (min-width: 700px) and (max-width: 899.98px) {
  .v1-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v1-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 2rem; }
  .v1-footer__logo-link { margin-bottom: 0; flex-shrink: 0; }
}
@media (max-width: 1099.98px) {
  .v1-header__inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand toggle" "tools tools" "navigation navigation"; gap: .55rem .75rem; }
  .v1-nav-toggle { grid-area: toggle; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: .6rem; border: 1px solid #386454; border-radius: 6px; background: transparent; }
  .v1-nav-toggle[aria-expanded="true"] { background: var(--palette-header-selected, #edf3e9); }
  .v1-navigation { display: none; width: 100%; gap: .25rem; padding-top: .65rem; }
  .v1-navigation.is-open { display: grid; justify-content: stretch; }
  .v1-navigation a { padding: .6rem .75rem; white-space: normal; border-radius: 6px; }
  .v1-navigation .v1-nav-contact { margin-inline-start: 0; justify-content: space-between; }
}
@media (max-width: 699.98px) {
  .v1-wrap { width: calc(100% - min(2.5rem, 40px)); }
  .v1-header__inner { padding-block: .6rem; }
  .v1-brand__identity { width: 100%; max-width: 225px; }
  .v1-brand__subtitle { font-size: .7rem; }
  .v1-header .site-language-button { padding-inline: .45rem; font-size: .75rem; }
  .v1-navigation { padding-bottom: .25rem; font-size: .9rem; }
  .v1-hero { padding-block: 2.4rem 4.5rem; }
  .v1-site-title { font-size: .95rem; margin-bottom: 1rem; }
  .v1-hero h1 { font-size: clamp(2rem, 7.7vw, 3.2rem); margin-bottom: 1.3rem; }
  .v1-hero__intro { font-size: .95rem; }
  .v1-down-link { font-size: .78rem; gap: .4rem; }
  .v1-waves { height: 55px; }
  .v1-video-grid { grid-template-columns: 1fr; gap: .5rem; }
  .v1-introduction { padding-bottom: 3rem; }
  .v1-introduction__copy { margin-block: 2.4rem; font-size: 1rem; }
  .v1-section-heading { gap: .8rem; margin-bottom: 1.8rem; }
  .v1-section-heading h2 { font-size: 1.8rem; }
  .v1-situations { grid-template-columns: 1fr; }
  .v1-situations li { font-size: .95rem; }
  .v1-callout { padding-inline: 1rem; margin-bottom: 2.6rem; }
  .v1-gallery, .v1-gallery-row { gap: .6rem; }
  .v1-when > .v1-wrap, .v1-course > .v1-wrap { --photo-width: calc((100cqw - .6rem) / 2); }
  .v1-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v1-gallery-row { display: contents; }
  .v1-audiences { font-size: .98rem; }
  .v1-standards-grid li { padding: .7rem .4rem; font-size: .73rem; }
  .v1-challenge { margin-top: 2.6rem; }
  .v1-challenge p { font-size: 1rem; }
  .v1-thermal-grid { grid-template-columns: 1fr; }
  .v1-examples { margin-top: 2.5rem; }
  .v1-example { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 2rem; }
  .v1-example h3 { font-size: 1.5rem; }
  .v1-knowledge { margin-top: 2rem; padding-top: 2rem; }
  .v1-knowledge li { font-size: .95rem; padding-inline-start: 2.1rem; }
  .v1-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-block: 2rem; }
  .v1-footer__brand { padding-bottom: 1.5rem; border-bottom: 1px solid var(--palette-header-border, #d5e1db); }
  .v1-footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .25rem 1rem; }
}
@media (max-width: 479.98px) {
  .v1-gallery { grid-template-columns: 1fr; }
  .v1-when > .v1-wrap, .v1-course > .v1-wrap { --photo-width: 100cqw; }
}
@media (prefers-reduced-motion: no-preference) {
  .v1-site-title, .v1-hero h1 { animation: v1-arrive .6s both; }
  .v1-hero__intro { animation: v1-arrive .7s .08s both; }
  .v1-down-link { animation: v1-arrive .7s .16s both; }
  .v1-lightbox[open] { animation: v1-arrive .18s both; }
  @keyframes v1-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { .v1-page *, .v1-page *::before, .v1-page *::after { animation: none !important; transition: none !important; } }

/* Keep utilities together and secondary to the page navigation. */
.site-preferences { grid-area: tools; position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; min-width: 0; }
.v1-header .site-preferences .site-language-shell { flex-basis: auto; width: auto; margin: 0; border: 0; }
.site-preferences .site-language-switcher { width: auto; }
@media (max-width: 1099.98px) {
  .site-preferences { justify-content: flex-end; padding-top: .45rem; border-top: 1px solid var(--palette-header-border, #d5e1db); }
  .v1-header .site-preferences .site-language-shell { margin-inline-end: auto; }
}
@media (max-width: 359.98px) {
  .site-preferences { gap: .25rem; }
}

/* Standard YouTube controls remain inside each complete video viewport. */
.v1-player { min-width: 200px; max-width: 100%; text-align: start; }
.v1-player-frame { width: 100%; min-width: 200px; min-height: 200px; aspect-ratio: 16 / 9; background: #071c24; }
.v1-player-frame iframe { display: block; width: 100%; height: 100%; min-width: 200px; min-height: 200px; border: 0; aspect-ratio: auto; }
.v1-player-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-top: .6rem; font-size: .75rem; line-height: 1.5; }
.v1-player-controls .v1-enable-sound { min-width: 44px; min-height: 44px; max-width: 100%; padding: .45rem .75rem; }
.v1-player-controls [data-sound-icon] { flex: 0 0 24px; width: 24px; height: 24px; }
.v1-player-controls .v1-enable-sound:disabled { cursor: default; }
.v1-player-status { margin: 0; font-size: .75rem; line-height: 1.6; }
.v1-player-status:empty { display: none; }

/* Legal documents are centralized in the footer. */
.v1-accessibility-shortcut { max-width: calc(100vw - 1.5rem); border: 0; text-align: start; }
.text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: .35rem .15rem; border: 0; border-radius: 3px; background: transparent; color: inherit; font: inherit; line-height: 1.5; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.v1-footer-legal { padding-block: 1rem 1.25rem; border-top: 1px solid var(--palette-header-border, #d5e1db); font-size: .8rem; line-height: 1.6; }
.v1-footer-legal nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.5rem; margin-bottom: .75rem; }
.v1-footer-legal .text-button { justify-content: flex-start; text-align: start; }
.v1-footer-legal__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 2rem; }
.v1-footer-legal__bottom p { margin: 0; }
.v1-footer-rights { flex: 1 1 30rem; max-width: 78ch; }
.v1-developer-credit { flex: 0 1 auto; }
.v1-developer-credit a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: inherit; font-weight: 650; text-underline-offset: .2em; }
.v1-policy-dialog { width: min(720px, calc(100vw - min(2rem, 32px))); max-height: calc(100dvh - min(2rem, 32px)); padding: 1rem min(1.5rem, 24px) 1.5rem; border: 0; border-radius: 12px; overflow: auto; background: var(--palette-lightbox, #ffffff); color: var(--palette-lightbox-text, #112456); --focus: var(--palette-lightbox-text, #112456); box-shadow: 0 20px 70px #102f3b40; font-size: 1rem; line-height: 1.75; text-align: start; }
.v1-policy-dialog::backdrop { background: #102f3b66; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v1-policy-close { position: sticky; top: 0; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-inline-start: auto; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: var(--palette-lightbox, #ffffff); color: inherit; font: inherit; font-size: 32px; line-height: 1; }
.v1-policy-dialog h2 { margin: .25rem 0 1rem; font-size: 1.65rem; line-height: 1.25; }
.v1-policy-dialog p { margin-bottom: 1rem; overflow-wrap: anywhere; }
.v1-policy-dialog p:last-child { margin-bottom: 0; }
.v1-policy-dialog a { text-underline-offset: .2em; }
@media (max-width: 699.98px) {
  .v1-footer-legal nav { gap: .15rem 1rem; }
  .v1-policy-dialog { padding: .75rem min(1rem, 16px) 1.25rem; }
}
