/* Scrolling overview: restrained navigation, real collateral, short useful copy. */
html { scroll-padding-top: 112px; }
html.home-document { scroll-padding-top: 80px; }
body { background: #080808; }
.preview-note { padding: 6px 24px; background: #111; color: #aaa; font-size: 12px; letter-spacing: 0; }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 100px; padding: 10px max(24px, calc((100vw - 1160px) / 2)); background: rgba(0,0,0,.96); backdrop-filter: blur(16px); border-bottom: 1px solid #ffffff18; gap: 28px; }
/* The viewBox removes only empty black canvas around the untouched JPEG.
   The complete mark at x350–950/y285–615 has 25–30px clear space. */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 136px; height: auto; aspect-ratio: 660 / 380; overflow: hidden; }
.home-header { min-height: 72px; justify-content: center; }
nav { gap: 32px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: #d8d8d8; }
nav a[aria-current] { color: var(--gold); }
nav a[aria-current]::after { display: none; }
nav .nav-cta { min-height: 40px; padding: 6px 20px; border: 1px solid #8d713f; border-radius: 24px; color: var(--ivory); }
.menu-button { min-height: 44px; gap: 12px; }
.menu-icon { display: inline-block; width: 18px; height: 8px; border-block: 1px solid currentColor; }
.button { border-radius: 26px; gap: 12px; justify-content: center; font-weight: 600; padding: 12px 23px; }
.text-link { font-weight: 600; color: var(--gold); min-height: 44px; border-bottom: 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
/* Stable geometry: no extra scroll hold or page-height change after decoding. */
.unity-hero[hidden] { display: none !important; }
.unity-hero { display: none; background: #000; text-align: center; }
.intro-pending .unity-hero, .intro-ready .unity-hero { display: block; }
.hero-stage { min-height: calc(100vh - 32px); min-height: calc(100svh - 32px); padding: 40px 24px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; opacity: var(--intro-opacity, 1); transform: translateY(var(--intro-rise, 0px)); }
.hero-stage:focus-within { opacity: 1; transform: none; }
/* Static artwork: contain the complete glove and hanging roots. */
.glove-lighting { position: relative; width: min(100%, 600px, calc((100svh - 180px) * 0.800285)); }
.unity-hero-art { display: block; width: 100%; height: auto; margin: 0; object-fit: contain; }
.intro-strapline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.12; letter-spacing: -.01em; color: #e4d7c2; }
.intro-strapline span { white-space: nowrap; }
.intro-composition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); width: min(1120px, 100%); }
.intro-composition .glove-lighting { justify-self: center; }
.intro-composition .intro-strapline { display: block; margin: 0; text-align: left; font-size: clamp(40px, 4.8vw, 72px); line-height: 1.1; }
.intro-composition .intro-strapline span { display: block; }
@media (max-width: 900px) {
  .intro-composition { display: flex; flex-direction: column; gap: 20px; }
  .intro-composition .glove-lighting { width: min(100%, 480px, calc((100svh - 270px) * 0.800285)); }
  .intro-composition .intro-strapline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; text-align: center; font-size: clamp(28px, 4vw, 40px); }
  .intro-composition .intro-strapline span { display: inline-block; }
}

.intro-next { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 8px 18px; color: var(--ivory); font-size: 16px; }
.intro-next:hover { color: var(--gold); }
.intro-actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

#welcome:focus { outline: none; }
html.intro-skipping { scroll-behavior: auto; }
.scroll-section { max-width: 1160px; padding: 100px 32px; margin: 0 auto; scroll-margin-top: 8px; }
.section-intro { max-width: 650px; }
.section-intro h2 { font-size: clamp(44px, 5vw, 64px); line-height: 1.08; letter-spacing: -.01em; }
.section-intro p { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.section-intro .text-link, .section-intro .button { margin-top: 18px; }
.archive-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 48px 0 22px; }
.archive-heading h3, .archive-heading h2 { font-family: Barlow, Arial, sans-serif; font-size: 24px; line-height: 1.3; font-weight: 600; }
.archive-heading>span { font-size: 14px; color: var(--muted); }
.media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.media-card { display: block; padding: 0; min-height: 0; border: 0; background: #111; border-radius: 12px; overflow: hidden; }
.media-card:hover { border-color: transparent; background: #181818; transform: none; }
.media-card::before, .media-card::after { display: none; }
.media-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #000; }
.media-copy { padding: 24px; }
.media-card h3 { font-family: Barlow, Arial, sans-serif; font-size: 23px; line-height: 1.35; margin: 0; font-weight: 600; }
.media-footer { display: block; margin-top: 10px; color: var(--gold); font-size: 16px; }
.cage-feature { max-width: 1440px; margin: 0 auto; background: #000; }
.cage-feature img { width: 100%; height: auto; }
.cage-feature figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 20px 32px; color: var(--muted); font-size: 14px; }
.cage-feature figcaption a { color: var(--gold); min-height: 44px; display: inline-flex; align-items: center; }
.video-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.video-links { border-top: 1px solid var(--line); }
.video-links>a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.video-links strong { display: block; font-size: 22px; font-weight: 600; }
.video-links small { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.video-action { font-size: 16px; color: var(--gold); flex-shrink: 0; }
.video-links>a:hover strong { color: var(--gold); }
.fighter-section { border-top: 1px solid var(--line); }
.section-intro .application-note { font-size: 14px; margin-top: 20px; }
.home-contact { border-top: 1px solid var(--line); }
.home-social { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.home-social a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.home-social a:hover { color: var(--gold); }
.site-footer { padding: 34px max(24px, calc((100vw - 1096px) / 2)); border-top: 1px solid var(--line); background: #080808; letter-spacing: 0; gap: 32px; }
.footer-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-brand .brand-logo { width: 136px; }
.page-hero { background: #080808; padding: 68px max(32px, calc((100vw - 1096px) / 2)) 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(46px, 5vw, 72px); text-transform: none; }
.page-hero>p { max-width: 680px; font-size: 18px; margin-top: 20px; }
.page-hero>.text-link { margin-top: 18px; }
.archive-page { padding-top: 24px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 32px; padding-block: 48px; }
.section.section-tight { padding-top: 48px; }
.contact-layout { max-width: 1160px; margin: 0 auto; padding-inline: 32px; }
.application-layout { max-width: 1160px; margin: 0 auto; padding-inline: 32px; }
.form-panel { border-radius: 12px; background: #111; border-color: #ffffff1f; }
.field input, .field select, .field textarea { border-radius: 6px; background: #191919; border-color: #555; }
.channel-list a { gap: 16px; }
.channel-list strong { font-weight: 600; }
.channel-list { margin-top: 20px; }
.sidebar-note { border-color: #514536; }
@media(max-width:900px) {
  .site-header { padding-inline: 24px; flex-wrap: nowrap; }
  .home-header { justify-content: flex-end; }
  .menu-button { display: inline-flex; }
  nav { position: absolute; top: 100%; left: 0; right: 0; width: auto; padding: 16px 24px 24px; background: #080808; border-bottom: 1px solid #333; max-height: calc(100dvh - 100px); overflow-y: auto; }
  nav a { border-top: 0; border-bottom: 1px solid #242424; padding: 12px 0; min-height: 48px; }
  nav .nav-cta { width: fit-content; min-height: 44px; margin-top: 20px; padding: 8px 24px; border-radius: 24px; }
  .video-section { gap: 40px; }
}
@media(max-width:620px) {
  html { scroll-padding-top: 104px; }
  html.home-document { scroll-padding-top: 72px; }
  .site-header { padding-inline: 20px; min-height: 94px; }
  .brand-logo { width: 128px; }
  .home-header { min-height: 64px; }
  .hero-stage { padding-inline: 20px; }
  .scroll-section { padding: 60px 24px; }
  .section-intro p { font-size: 16px; }
  .media-grid { grid-template-columns: 1fr; gap: 24px; }
  .archive-heading { margin-top: 32px; }
  .archive-heading h3, .archive-heading h2 { font-size: 22px; }
  .media-copy { padding: 22px; }
  .media-card h3 { font-size: 22px; }
  .cage-feature figcaption { flex-direction: column; padding: 16px 24px; gap: 2px; }
  .video-section { grid-template-columns: 1fr; gap: 32px; }
  .video-links>a { gap: 16px; padding: 24px 0; }
  .video-links strong { font-size: 20px; }
  .video-action { font-size: 14px; }
  .home-social { gap: 12px 24px; }
  .page-hero { padding: 44px 24px 32px; }
  .page-hero h1 { font-size: 46px; line-height: 1.08; }
  .page-hero>p { font-size: 16px; }
  .section.section-tight { padding-top: 32px; }
  .contact-layout, .application-layout { padding-inline: 24px; }
  .site-footer { padding: 28px 24px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-links { gap: 20px; }
  .archive-page { padding-top: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .hero-stage { opacity: 1; transform: none; }
}

/* Instagram owns the embedded media and its branding; keep the surrounding page black. */
.home-logo-link { display: block; width: min(624px, 100%); margin-inline: auto; }
.gallery-note, .gallery-status { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 24px; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; align-items: start; }
.instagram-card { min-width: 0; }
.instagram-card h3 { font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 700; }
.instagram-card time { display: block; margin: 6px 0 16px; font-size: 16px; color: var(--muted); }
.instagram-card .instagram-media { width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; border-radius: 8px !important; }
.instagram-card blockquote.instagram-media { background: #111; padding: 24px; border: 1px solid var(--line); }
.instagram-source { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--gold); margin-top: 8px; }
.gallery-more { margin-top: 24px; }
.gallery-more[hidden] { display: none; }
@media(max-width:1100px) { .instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width:740px) { .instagram-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Owner-supplied story: readable chapters with clear headings and short paragraphs. */
.home-story { border-top: 1px solid var(--line); padding-bottom: 32px; }
.fighter-values-link { display: flex; width: fit-content; margin-top: 14px !important; }
.about-hero .about-tagline { max-width: 800px; color: var(--gold); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; }
.about-story { max-width: 1160px; padding: 0 32px; margin: 0 auto; }
.about-chapter { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 72px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.about-chapter:last-child { border-bottom: 0; }
.about-chapter h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.01em; text-transform: none; }
.about-copy { min-width: 0; max-width: 680px; }
.about-copy p { font-size: 18px; line-height: 1.75; color: var(--muted); }
.about-copy p + p { margin-top: 20px; }
.about-copy .unity-principle { color: var(--ivory); font-weight: 600; }
.about-closing { border-top: 1px solid var(--line); }
.about-closing .about-actions { padding: 20px 0 0; gap: 12px 28px; }
.fighter-principles h3 { font-size: 24px; line-height: 1.3; font-family: 'Barlow Condensed', Arial, sans-serif; }
.fighter-principles p { margin-top: 12px; }
@media(max-width:900px) { .about-chapter { gap: 40px; } }
@media(max-width:620px) {
  .about-story { padding-inline: 24px; }
  .about-chapter { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
  .about-copy p { font-size: 17px; line-height: 1.7; }
  .about-hero .about-tagline { font-size: 22px; }
  .home-story { padding-bottom: 16px; }
}

/* Navigation remains usable if JavaScript is unavailable or fails to initialise. */
@media(max-width:900px) {
  .site-header { flex-wrap: wrap; }
  .menu-button { display: none; }
  nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; width: 100%; max-height: none; overflow: visible; padding: 8px 0; gap: 4px 20px; }
  nav a { padding: 8px 0; border: 0; }
  nav .nav-cta { margin-top: 0; }
  .site-ready .site-header { flex-wrap: nowrap; }
  .site-ready .menu-button { display: inline-flex; }
  .site-ready nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; flex-wrap: nowrap; width: auto; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 16px 24px 24px; gap: 0; }
  .site-ready nav.is-open { display: flex; }
  .site-ready nav a { padding: 12px 0; border-bottom: 1px solid #242424; }
  .site-ready nav .nav-cta { margin-top: 20px; padding: 8px 24px; }
}

/* Brand-shaped headings and navigation; body text stays in the reading face. */
h1, h2, h3, .small-heading, .form-panel legend,
nav a, .menu-button, .button, .text-link, .text-button, .intro-next,
.home-social a, .footer-links a, .instagram-source, .media-footer,
.video-links strong, .video-action, .channel-list strong {
  font-family: var(--display); font-weight: 700;
}
nav a, .menu-button, .button, .text-link, .text-button, .intro-next,
.home-social a, .footer-links a, .instagram-source, .media-footer, .video-action {
  font-size: 20px; letter-spacing: .015em; line-height: 1.3;
}
.archive-heading h3, .archive-heading h2, .media-card h3 { font-family: var(--display); font-weight: 700; font-size: 28px; }
.sidebar-note .text-link { font-size: 18px; }
.archive-link { display: inline-flex; margin-top: 24px; }
.gallery-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
/* Reserve useful embed space before Instagram paints to reduce page movement. */
.instagram-card { min-height: 560px; }
.instagram-card iframe.instagram-media { min-height: 450px; }
html, html.home-document { scroll-padding-top: var(--anchor-clearance, 112px); }
main { overflow-anchor: none; }
.scroll-section, .about-chapter { scroll-margin-top: 0; }
.home-contact { min-height: calc(100svh - var(--anchor-clearance, 112px)); }
.anchor-heading:focus { outline: none; }
@media(max-width:620px) { .instagram-card { min-height: 520px; } }

/* Bot trap stays outside the visible and keyboard application flow. */
.application-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#delivery-notice { overflow-wrap: anywhere; }
