/* Public site refinement: typography, useful content, and consistent mobile media. */
:root { --public-text: #4b5563; --public-light-text: #d0d5df; }
body { font-size: 16px; }
main h1, main h2, main h3 { overflow-wrap: anywhere; }
.section { padding-block: 76px; }
.section h2, .portal-intro h2, body[data-page="home"] .upgrade-heading h2,
.join h2, .page-cta h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.14; letter-spacing: -.04em; }
.section h2 em, .join h2 em, .page-cta h2 em,
body[data-page="home"] .upgrade-heading h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.section-heading, body[data-page="home"] .upgrade-heading { gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin-top: 12px; }
.eyebrow { font-size: 10px; letter-spacing: .13em; }
.intro, .page-hero>div>p:last-child { font-size: 16px; line-height: 1.7; color: #e2e5eb; }
.portal-intro>div:last-child>p, .section-heading>p, .section-heading>div:last-child>p,
.news-body small, .story-copy div { color: var(--public-text); font-size: 15px; line-height: 1.7; }
.text-link, .quiet-link { min-height: 44px; font-size: 12px; line-height: 1.4; letter-spacing: .035em; }
.text-link { margin-top: 12px; color: #a84410; }
.text-link.light-link { color: #fbbf24; }
.button { min-height: 48px; font-size: 12px; letter-spacing: .045em; }
.button:focus-visible, .text-link:focus-visible, .quiet-link:focus-visible,
.spotlight-nav:focus-visible, .spotlight-dots button:focus-visible,
.filter-row button:focus-visible, .schedule-tabs button:focus-visible {
  outline: 3px solid #f97316; outline-offset: 4px;
}
.stats article>span { font-size: 11px; line-height: 1.5; }
.page-hero { min-height: 440px; padding-top: 164px; padding-bottom: 58px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.08; }
.page-hero h1 em { font-style: normal; font-weight: 600; }
.page-hero:before, .page-hero:after { display: none; }
.page-cta { min-height: 0; padding-block: 56px; background: #111827; }
.page-cta h2 { margin-top: 14px; }
.page-transition { display: none !important; }
.toast { visibility: hidden; opacity: 0; pointer-events: none; }
.toast.show { visibility: visible; opacity: 1; }

/* One clear carousel control row, independent of image height. */
.athlete-spotlight-shell { display: block; }
.spotlight-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.spotlight-controls .spotlight-dots { margin: 0; gap: 2px; flex-wrap: wrap; }
.spotlight-controls .spotlight-dots button { position: relative; width: 22px; height: 44px; border-radius: 0; background: transparent; }
.spotlight-controls .spotlight-dots button:after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 99px; background: #b3b8bd; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.spotlight-controls .spotlight-dots button.selected:after { width: 18px; background: #c65513; }
body[data-page="home"] .spotlight-controls .spotlight-nav { position: static !important; top: auto !important; width: 46px; height: 46px; flex: 0 0 46px; color: #111827; background: transparent; border-color: #8b9199; }
.spotlight-copy h3 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.14; }
.spotlight-copy .meta { font-size: 15px; line-height: 1.6; color: var(--public-light-text); }
.spotlight-photo small { font-size: 11px; letter-spacing: .06em; }

/* Schedule metadata must not inherit the large global page footer spacing. */
.schedule-card { min-height: 0; padding: 24px; }
.schedule-card h3 { margin-top: 18px; font-size: 23px; line-height: 1.25; }
.schedule-card p { font-size: 15px; line-height: 1.7; color: var(--public-light-text); }
.schedule-card footer { display: block; margin-top: auto; padding: 20px 0 0; width: 100%; border: 0; background: none; font-size: 15px; line-height: 1.6; }
.schedule-card footer strong, .schedule-card footer span { display: block; padding: 0; margin: 0; }
.schedule-card footer span { margin-top: 6px; }
.schedule-tabs button { min-height: 44px; font-size: 13px; padding: 12px 14px; letter-spacing: 0; }
.schedule-empty { font-size: 15px; line-height: 1.65; }
.program-card { min-height: 0; }
.program-card p { font-size: 15px; line-height: 1.7; color: var(--public-light-text); }
.program-card .schedule { font-size: 14px; line-height: 1.6; }
.light-heading>p, .light-heading>div:last-child>p { color: var(--public-light-text); }

/* Medal has its own place in the layout; it cannot cover a title or date. */
.achievement-showcase.single-achievement { grid-template-columns: minmax(0, 1fr); }
.home-achievement-card, .home-achievement-card:first-child { min-height: 0; padding: 30px; display: block; }
.home-achievement-card .medal { position: static; width: 36px; height: 36px; margin-bottom: 18px; box-shadow: none; font-size: 16px; }
.home-achievement-card .achievement-meta { font-size: 11px; line-height: 1.6; letter-spacing: .045em; }
.home-achievement-card h3 { max-width: 850px; font-size: clamp(25px, 3vw, 38px); line-height: 1.2; }
.home-achievement-card p:last-child { max-width: 780px; font-size: 15px; line-height: 1.7; white-space: pre-line; }
.home-achievement-card:first-child p:last-child { color: var(--public-light-text); }
.home-achievements { background: #f5edcf; }

/* Practical first-visit information replaces inferred history from database dates. */
.first-training { background: #fffdf6; }
.first-training-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.first-training-grid article { padding-top: 18px; border-top: 1px solid #c9c4b7; }
.step-number { font-size: 12px; font-weight: 700; color: #a84410; }
.first-training-grid h3 { margin: 14px 0 10px; font-family: var(--font-heading); font-size: 21px; line-height: 1.3; }
.first-training-grid p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--public-text); }
.home-agenda.is-empty { padding-block: 40px; }
.home-agenda.is-empty .section-heading { margin-bottom: 16px; }
.home-agenda.is-empty h2 { font-size: 28px; }
.agenda-empty { margin: 0; color: var(--public-light-text); font-size: 15px; line-height: 1.7; }
.agenda-empty a { display: inline-block; color: #fbbf24; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }

/* Editorial cards use readable dates and summaries; image-free news stays compact. */
.news-card { box-shadow: none; }
.news-body, .archive-grid .news-body { min-height: 0; padding: 24px; }
.news-body h3 { font-size: 23px; line-height: 1.32; font-weight: 600; }
.news-body p { font-size: 11px; line-height: 1.5; color: #a84410; letter-spacing: .04em; }
.news-body small { padding-right: 14px; white-space: pre-line; }
.news-tag { font-size: 10px; letter-spacing: .055em; }
.news-card.without-image .news-art { display: none; }
.filter-row button { min-height: 44px; font-size: 12px; letter-spacing: .025em; }
.news-search span { font-size: 12px; letter-spacing: .035em; }
.news-search input { font-size: 16px; }
.story-copy { padding: 36px; }
.story-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.22; font-weight: 600; }
.story-copy p { font-size: 11px; line-height: 1.5; letter-spacing: .06em; color: #a84410; }
.story-copy div { font-size: 16px; }
.content-modal.without-image .story-image { display: none; }
.content-modal.without-image .story-sheet { grid-template-columns: 1fr; max-width: 760px; }

/* Form and footer copy remain readable without zooming. */
.registration-form label>span { font-size: 12px; line-height: 1.4; letter-spacing: .035em; }
.registration-form input, .registration-form select, .registration-form textarea { font-size: 16px; }
.registration-form .form-status { font-size: 13px; }
.join-copy>p:last-of-type { font-size: 15px; line-height: 1.7; color: var(--public-light-text); }
.registration-points span { font-size: 14px; color: var(--public-light-text); }
.registration-points b { font-size: 11px; }
body>footer h3 { font-size: 12px; letter-spacing: .08em; }
body>footer nav { gap: 0; font-size: 14px; color: var(--public-light-text); }
body>footer nav a { min-height: 40px; display: flex; align-items: center; }
body>footer>div:last-of-type { font-size: 14px; color: var(--public-light-text); }
body>footer .footer-brand>p { font-family: var(--font-body); font-style: normal; font-size: 15px; color: var(--public-light-text); }
body>footer>small { font-size: 11px; line-height: 1.6; letter-spacing: .02em; text-transform: none; opacity: .75; }
body.modal-open .whatsapp-float, body.modal-open .back-to-top { visibility: hidden; }
@media(min-width:821px) {
  .site-header { gap: 22px; padding-inline: 5vw; }
  .inner-header nav { gap: 15px; }
  .inner-header nav>a, .inner-header nav a { font-size: 10px; }
  .header-cta { font-size: 10px; }
}
@media(max-width:1050px) and (min-width:821px) {
  .site-header { gap: 12px; padding-inline: 3vw; }
  .inner-header nav { gap: 10px; }
  .inner-header nav a { font-size: 9px; }
  .brand strong { font-size: 13px; }
}
@media(max-width:820px) {
  .section { padding: 52px 21px; }
  .section h2, .portal-intro h2, body[data-page="home"] .upgrade-heading h2,
  .join h2, .page-cta h2 { font-size: clamp(28px, 8vw, 34px); line-height: 1.16; }
  .section-heading, body[data-page="home"] .upgrade-heading { gap: 14px; margin-bottom: 24px; }
  .section-heading .text-link, body[data-page="home"] .upgrade-heading .text-link { margin-top: 0; }
  .first-training-grid { grid-template-columns: 1fr; gap: 24px; }
  .first-training-grid h3 { margin-top: 10px; }
  .portal-intro { gap: 20px; }
  .page-hero { min-height: 0; padding: 142px 21px 42px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 44px); line-height: 1.08; margin-block: 18px; }
  .page-hero>div>p:last-child { font-size: 15px; }
  .registration-hero { padding-bottom: 32px; }
  .page-cta { min-height: 0; gap: 22px; padding: 42px 21px; }
  .page-cta h2 { margin-top: 12px; }
  .join.registration-page { padding: 38px 21px 52px; gap: 28px; }
  .registration-points { margin-top: 22px; padding-top: 18px; }
  .registration-form { padding: 24px 18px; }
  .site-header nav>a .nav-label { line-height: 1.3; }
  .site-header nav:before { display: none; }
  .nav-panel-head strong { font-size: 19px; }
  .site-header nav .mobile-nav-cta { flex-shrink: 0; margin-top: auto; }
  html.mobile-menu-open .whatsapp-float, html.mobile-menu-open .back-to-top { visibility: hidden; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .hero:after, .hero-lines { display: none; }
  body[data-page="home"] .content-modal .story-image,
  body[data-page="news"] .content-modal .story-image {
    height: auto !important; min-height: 0 !important; width: 100% !important;
    aspect-ratio: var(--story-image-ratio, 4 / 5) !important;
    background-size: contain !important; background-repeat: no-repeat !important; background-position: center top !important;
  }
  body[data-page="home"] .content-modal .story-copy,
  body[data-page="news"] .content-modal .story-copy { min-height: 0 !important; padding: 26px 21px calc(36px + env(safe-area-inset-bottom)) !important; }
  .story-copy h2 { font-size: 28px; line-height: 1.22; }
  body[data-page] .content-modal.without-image .story-copy { padding-top: 76px !important; }
  body>footer { padding: 42px 21px 30px; gap: 30px; }
  body>footer nav { grid-template-columns: 1fr 1fr; column-gap: 12px; }
}
@media(max-width:720px) {
  body[data-page="home"] .spotlight-photo { aspect-ratio: auto !important; height: auto !important; }
  body[data-page="home"] .spotlight-photo.is-placeholder { min-height: 180px !important; }
  body[data-page="home"] .spotlight-photo img { width: 100% !important; height: auto !important; position: relative !important; object-fit: contain !important; }
  .spotlight-copy { padding: 26px 22px; }
  .spotlight-copy h3 { font-size: 30px; line-height: 1.16; margin-block: 14px 10px; }
  .spotlight-copy .meta { margin-top: 22px; padding-top: 16px; }
  .spotlight-controls { gap: 8px; }
  .schedule-grid { gap: 12px; }
  .schedule-card { padding: 22px; }
  .schedule-card h3 { font-size: 22px; }
  .home-achievement-card, .home-achievement-card:first-child { min-height: 0; padding: 24px; }
  .home-achievement-card h3 { font-size: 26px; }
  body[data-page="home"] .news .section-heading { padding-inline: 21px; }
  .news-body, .archive-grid .news-body { padding: 22px 21px; }
  .news-body h3 { font-size: 22px; }
  .home-agenda.is-empty { padding-block: 32px; }
}
@media(max-width:560px) {
  .topbar p, .topbar a { font-size: 8px; letter-spacing: .06em; }
  .site-header .brand strong { font-size: 14px; letter-spacing: .02em; }
  .site-header .brand small { font-size: 7px; }
  .site-header .brand .mark-small.has-image { width: 44px !important; height: 44px !important; flex-basis: 44px !important; }
  .hero { min-height: 0; height: auto; padding: 164px 21px 74px; }
  .hero h1 { font-size: clamp(42px, 12vw, 54px); line-height: .98; margin-block: 20px; }
  .intro { font-size: 15px; }
  .hero-actions { gap: 12px; margin-top: 26px; }
  .hero-values { font-size: 8px; letter-spacing: .055em; bottom: 24px; }
  .hero-values i { margin-inline: 2px; }
  .stats { padding: 8px; }
  .stats article { padding: 16px 10px; gap: 10px; }
  .stats article>span { font-size: 10px; }
  .text-link { font-size: 12px; }
  .whatsapp-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .back-to-top { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .program-card { min-height: 0; padding-block: 24px; }
  .program-card h3 { margin-top: 24px; }
  .program-card .schedule { margin-top: 22px; }
}
@media(max-width:360px) {
  .spotlight-controls { gap: 4px; }
  .spotlight-controls .spotlight-dots button { width: 20px; }
  .schedule-tabs { gap: 6px; }
  .schedule-tabs button { padding-inline: 10px; }
}

/* Zero-slop pass: factual hierarchy, flat brand surfaces, and restrained motion. */
.page-number,
.hero-emblem,
.interaction-ripple { display: none !important; }
.hero-lines,
.hero:after,
.scroll-progress { display: none !important; }
.hero-copy>*,
.page-hero>div>* { animation: none !important; }
main { animation: none !important; }

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal.revealed {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.tilt-ready,
.tilt-ready.tilting,
.program-card:hover,
.news-card:hover,
.achievement-card:hover,
.leader-card:hover,
.gallery-card:hover,
.path-grid article:hover {
  transform: none !important;
}

.hero:not([style*="url("]),
.page-hero:not([style*="url("]) { background: #111827; }
.stats { background: #f5b91f; }
.home-achievements,
.about,
.achievements { background: #f5edcf; }
.gallery-section { background: #c65316; }
.gallery-card:not(.has-image),
.story-image:not(.has-image) { background: #111827; }
.page-cta { background: #111827; }
.scroll-progress span { background: #f5b91f; }

.page-hero h1,
.page-hero h1 em { letter-spacing: -.045em; }
.page-hero h1 em { color: #f5b91f; }
.page-hero>div { max-width: 760px; }
.home-agenda.is-empty { display: none; }
.program-icon { display: none !important; }
.home-achievement-card .medal {
  width: auto;
  height: auto;
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f5b91f;
  font-size: 12px;
  letter-spacing: .08em;
}

.news-card,
.program-card,
.home-achievement-card,
.first-training-grid article { transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.news-card:hover,
.program-card:hover,
.home-achievement-card:hover { box-shadow: none; }

@media(max-width:820px) {
  .back-to-top { display: none !important; }
  .topbar p { display: none; }
  .topbar>div { margin-left: auto; }
  .page-hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
}


/* Homepage FAQ: lightweight native accordion for prospective members. */
.home-faq { background: #fffdf6; }
.faq-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 7vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 122px; }
.faq-intro h2 { margin: 14px 0 18px; max-width: 520px; }
.faq-intro>p:last-of-type { max-width: 480px; margin: 0; color: var(--public-text); font-size: 15px; line-height: 1.75; }
.faq-list { border-top: 1px solid #c9c4b7; }
.faq-list details { border-bottom: 1px solid #c9c4b7; }
.faq-list summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; cursor: pointer; list-style: none; color: #111827; font-family: var(--font-heading); font-size: 17px; font-weight: 600; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary:hover { color: #a84410; }
.faq-list summary:focus-visible { outline: 3px solid #f97316; outline-offset: 5px; }
.faq-list summary i { position: relative; width: 20px; height: 20px; flex: 0 0 20px; }
.faq-list summary i::before,
.faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .18s ease; }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary { color: #a84410; }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 44px 22px 0; }
.faq-answer p { margin: 0; color: var(--public-text); font-size: 15px; line-height: 1.75; }
.faq-answer .text-link { margin-top: 10px; }
.faq-contact { margin-top: 54px; padding-top: 26px; border-top: 1px solid #c9c4b7; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.faq-contact>div { display: grid; gap: 5px; }
.faq-contact strong { font-family: var(--font-heading); font-size: 18px; line-height: 1.35; }
.faq-contact span { color: var(--public-text); font-size: 14px; line-height: 1.6; }
.faq-contact .button span { color: inherit; }

@media(max-width:820px) {
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }
  .faq-intro>p:last-of-type { font-size: 15px; }
  .faq-list summary { min-height: 66px; gap: 18px; padding-block: 17px; font-size: 16px; }
  .faq-answer { padding-right: 34px; padding-bottom: 20px; }
  .faq-contact { margin-top: 38px; align-items: flex-start; flex-direction: column; }
  .faq-contact .button { width: 100%; justify-content: space-between; }
}

@media(prefers-reduced-motion: reduce) {
  .faq-list summary i::before,
  .faq-list summary i::after { transition: none; }
}


/* Footer polish — 2026-09-11. Compact, functional, and consistent with the flat public UI. */
body>footer .footer-contact { align-content: start; }
body>footer .footer-contact p { margin: 0 0 8px; }
body>footer .footer-contact-link {
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid transparent;
  color: var(--public-light-text);
  overflow-wrap: anywhere;
  transition: color .18s ease, border-color .18s ease;
}
body>footer .footer-contact-link:hover,
body>footer .footer-contact-link:focus-visible {
  color: #fbbf24;
  border-bottom-color: currentColor;
  outline: 0;
}
body>footer .footer-contact-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(251,191,36,.18);
}
body>footer>small { margin-top: 6px; }

@media(max-width:820px) {
  body>footer {
    padding: 36px 21px 22px;
    gap: 22px;
  }
  body>footer .footer-brand>p {
    margin-top: 16px;
    max-width: 34rem;
  }
  body>footer h3 { margin-bottom: 12px; }
  body>footer nav { row-gap: 0; }
  body>footer nav a { min-height: 38px; }
  body>footer .footer-contact p { margin-bottom: 4px; }
  body>footer .footer-contact-link { min-height: 38px; }
  body>footer>small {
    margin-top: 2px;
    padding-top: 18px;
  }
}

@media(max-width:560px) {
  body>footer {
    padding-top: 32px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    gap: 20px;
  }
  body>footer nav { column-gap: 10px; }
  body>footer nav a { min-height: 36px; }
  body>footer .footer-contact-link { min-height: 36px; }
  .whatsapp-float { padding: 5px; }
  .whatsapp-float b { width: 34px; height: 34px; }
}

@media(prefers-reduced-motion: reduce) {
  body>footer .footer-contact-link { transition: none; }
}


/* Desktop header + news fullscreen fix — 2026-09-12 */
@media (min-width:821px) {
  /* Search added one more visible header item. Give every desktop item an explicit column
     so the registration CTA cannot fall into an implicit second grid row. */
  .site-header.inner-header {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
  }
  .site-header.inner-header > .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .site-header.inner-header > .site-search-trigger {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }
  .site-header.inner-header > nav {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
  }
  .site-header.inner-header > .header-cta {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    white-space: nowrap;
  }
}

/* On desktop, opening a news item starts with the photo at true viewport size.
   The article text remains directly below it and can be reached by scrolling. */
@media (min-width:821px) and (hover:hover) and (pointer:fine) {
  body[data-page="home"] .content-modal,
  body[data-page="news"] .content-modal {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #111827 !important;
  }
  body[data-page="home"] .content-modal.hidden,
  body[data-page="news"] .content-modal.hidden {
    display: none !important;
  }
  body[data-page="home"] .content-modal .overlay-backdrop,
  body[data-page="news"] .content-modal .overlay-backdrop {
    display: none !important;
  }
  body[data-page="home"] .content-modal .story-sheet,
  body[data-page="news"] .content-modal .story-sheet {
    position: relative !important;
    z-index: 1 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fffdf6 !important;
  }
  body[data-page="home"] .content-modal .story-image,
  body[data-page="news"] .content-modal .story-image {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    background-color: #111827 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  body[data-page="home"] .content-modal .story-copy,
  body[data-page="news"] .content-modal .story-copy {
    width: min(980px, 100%) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 56px max(32px, 7vw) 72px !important;
    align-self: initial !important;
    background: #fffdf6 !important;
  }
  body[data-page="home"] .content-modal .modal-close,
  body[data-page="news"] .content-modal .modal-close {
    position: fixed !important;
    z-index: 100 !important;
    top: 20px !important;
    right: 20px !important;
    width: 48px !important;
    height: 48px !important;
    box-shadow: 0 10px 28px rgba(17,24,39,.32) !important;
  }
}


/* Desktop/touch header composition + universal desktop news fullscreen — 2026-09-12 v2 */
@media (min-width:821px) {
  /* Natural desktop order: brand | nav | search | CTA */
  .site-header.inner-header {
    grid-template-columns: auto minmax(0,1fr) auto auto !important;
    grid-template-rows: 1fr !important;
    column-gap: 16px !important;
    align-items: center !important;
  }
  .site-header.inner-header > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }
  .site-header.inner-header > nav {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    min-width: 0 !important;
  }
  .site-header.inner-header > .site-search-trigger {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
  }
  .site-header.inner-header > .header-cta {
    grid-column: 4 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  /* Desktop fullscreen must work for mouse AND touch devices using desktop viewport. */
  body[data-page="home"] .content-modal,
  body[data-page="news"] .content-modal {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #111827 !important;
  }
  body[data-page="home"] .content-modal.hidden,
  body[data-page="news"] .content-modal.hidden {
    display: none !important;
  }
  body[data-page="home"] .content-modal .overlay-backdrop,
  body[data-page="news"] .content-modal .overlay-backdrop {
    display: none !important;
  }
  body[data-page="home"] .content-modal .story-sheet,
  body[data-page="news"] .content-modal .story-sheet {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fffdf6 !important;
  }
  body[data-page="home"] .content-modal .story-image,
  body[data-page="news"] .content-modal .story-image {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    aspect-ratio: auto !important;
    background-color: #111827 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  body[data-page="home"] .content-modal .story-copy,
  body[data-page="news"] .content-modal .story-copy {
    width: min(980px,100%) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 56px max(32px,7vw) 72px !important;
    background: #fffdf6 !important;
  }
  body[data-page="home"] .content-modal .modal-close,
  body[data-page="news"] .content-modal .modal-close {
    position: fixed !important;
    z-index: 100 !important;
    top: 20px !important;
    right: 20px !important;
    width: 48px !important;
    height: 48px !important;
  }
}

@media (min-width:821px) and (max-width:1180px) {
  .site-header.inner-header {
    column-gap: 10px !important;
    padding-inline: 2.5vw !important;
  }
  .inner-header nav { gap: 9px !important; }
  .inner-header nav a { font-size: 8px !important; }
  .header-cta { font-size: 9px !important; }
}
