/* =========================================================================
   BYUN — Onigiri brand homepage
   Brand Book v2 (The Image Factory, 2025) — see BRENDING.md
   Tone: bold, playful, modern-nostalgia, edgy. Confidence + boldness.
   ========================================================================= */

/* ---------- Design tokens ----------------------------------------------- */
:root {
  /* Primary palette */
  --byun-blue: #275291;
  --byun-orange: #e89427;
  --byun-white: #f4f7f6;
  --byun-black: #181718;
  /* Secondary */
  --byun-green: #3e5a3b;
  --byun-magenta: #cb415e;

  /* Semantic */
  --bg: var(--byun-white);
  --fg: var(--byun-black);
  --muted: #555055;
  --border: rgba(24, 23, 24, 0.12);

  /* Type families — strictly Acumin / Archivo per BRENDING.md §5.
     Acumin is a paid Adobe font; Archivo is the brand-book sanctioned web
     fallback. Both stacks resolve to Archivo until an Adobe Fonts kit is
     added to the <head>, at which point only the family names need swapping.
     Archivo is loaded as a variable font with ital + wdth + wght axes,
     so we can express the brand book's "Wide Black" via font-stretch. */
  --f-display: "acumin-pro-wide", "Archivo", "Helvetica Neue", system-ui, sans-serif;
  --f-text:    "acumin-pro",      "Archivo", "Helvetica Neue", system-ui, sans-serif;

  /* Brand-book typography axes (used by the rules below).
     - "Wide Black"   = wght 900, wdth 125%  → hero title, marquee, big numbers, BYUN! mark
     - "Black Italic" = wght 900, italic     → tagline & bold moments
     - "Black"        = wght 900              → H1 / H2
     - "Bold"         = wght 700              → H3, callouts
     - "Medium"       = wght 500              → eyebrow, navigation, UI
     - "Regular"      = wght 400              → body                           */
  --wdth-wide: 125;

  /* Fluid scale
     ───────────
     Tuned for Archivo (the brand-book web fallback). Archivo Wide Black has
     much more visual mass than the previous Modak placeholder, so display
     sizes were dialled down to keep the typographic hierarchy comfortable
     across mobile → desktop. */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.12vw, 0.82rem);
  --fs-body:    clamp(1rem,    0.95rem + 0.2vw,  1.0625rem);
  --fs-lead:    clamp(1.05rem, 0.95rem + 0.4vw,  1.2rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.8vw,  1.6rem);
  --fs-h2:      clamp(1.7rem,  1.2rem + 1.6vw,   2.6rem);
  --fs-h1:      clamp(2.2rem,  1.4rem + 2.6vw,   3.8rem);
  --fs-display: clamp(2.8rem,  1.6rem + 4.6vw,   5.6rem);
  --fs-mega:    clamp(2rem,    1.3rem + 2.2vw,   3.2rem);

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(24, 23, 24, 0.06);
  --shadow-md: 0 14px 32px rgba(24, 23, 24, 0.12);
  --shadow-lg: 0 30px 80px rgba(24, 23, 24, 0.22);

  /* Layout */
  --content-max: 1320px;
  --content-pad: clamp(1rem, 4vw, 3rem);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed-fast: 160ms;
  --speed: 280ms;
  --speed-slow: 520ms;
}

/* ---------- Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--byun-orange); color: var(--byun-black); }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--byun-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Typography utilities --------------------------------------- */
/* Per BRENDING.md §5:
     H1 (hero) → Black Italic (wght 900 italic)
     H2        → Black         (wght 900)
     H3        → Bold          (wght 700)
     Body      → Regular       (wght 400)
     Eyebrow   → Medium        (wght 500), uppercase, tracked              */
h1, h2 {
  font-family: var(--f-text);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--f-text);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-style: italic; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-text);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--byun-orange);
  margin-bottom: var(--s-3);
}
.section--blue .eyebrow,
.section--black .eyebrow { color: var(--byun-orange); }
.section--orange .eyebrow { color: var(--byun-black); }

.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 60ch;
}
.section--blue .lead, .section--black .lead { color: rgba(255, 255, 255, 0.85); }
.section--orange .lead { color: rgba(24, 23, 24, 0.78); }

.brand-mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 0.85;
}

/* ---------- Layout ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--content-pad);
}
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 880px; }

.section {
  position: relative;
  padding-block: clamp(var(--s-8), 9vw, var(--s-10));
}
.section--tight { padding-block: clamp(var(--s-7), 6vw, var(--s-8)); }
.section--blue { background: var(--byun-blue); color: var(--byun-white); }
.section--black { background: var(--byun-black); color: var(--byun-white); }
.section--orange { background: var(--byun-orange); color: var(--byun-black); }
.section--cream { background: #ece5d6; color: var(--byun-black); }

.split {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: clamp(var(--s-6), 5vw, var(--s-9)); }
  .split--reverse > :first-child { order: 2; }
  .split--media-lg { grid-template-columns: 0.85fr 1.15fr; }
}

.grid {
  display: grid;
  gap: var(--s-5);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  background: var(--byun-orange);
  color: var(--byun-black);
  border: 2px solid var(--byun-orange);
  transition: transform var(--speed-fast) var(--ease),
              background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--byun-black);
  color: var(--byun-white);
  border-color: var(--byun-black);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--blue { background: var(--byun-blue); color: var(--byun-white); border-color: var(--byun-blue); }
.btn--blue:hover { background: var(--byun-black); border-color: var(--byun-black); color: var(--byun-white); }

.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--byun-white); color: var(--byun-black); border-color: var(--byun-white); }

.btn .arrow {
  display: inline-flex;
  width: 1.2em;
  transition: transform var(--speed) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ----------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--byun-white);
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(244, 247, 246, 0.94);
  color: var(--byun-black);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

/* MOBILE DRAWER FIX
   .mobile-nav is rendered inside .site-header. The scrolled-state header
   uses `backdrop-filter`, which establishes a containing block for any
   fixed-position descendant (per CSS spec). That collapses the drawer's
   `inset: var(--header-h) 0 0 0` to a 0-height area, leaking the page
   through. The drawer is hidden on >=1024px, so we only need to disable
   the filter on mobile widths to restore proper viewport-relative sizing.
   The 94%-opaque background keeps the header readable without the blur. */
@media (max-width: 1023.98px) {
  .site-header[data-scrolled="true"] {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}
.brand__word {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.5rem;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: inherit;
}
.brand__word .bang { color: var(--byun-orange); }
.site-header[data-scrolled="true"] .brand__word .bang { color: var(--byun-orange); }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .nav__item {
    position: relative;
  }
  .nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 40px;
    padding: 0 0.95rem;
    font-family: var(--f-text);
    /* Brand book: Acumin Variable Concept Medium for navigation */
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
  }
  .nav__link:hover,
  .has-sub:hover > .nav__link,
  .has-sub:focus-within > .nav__link,
  .nav__link[aria-expanded="true"] {
    background: var(--byun-orange);
    color: var(--byun-black);
  }
  .nav__caret {
    font-size: 0.7em;
    transform: translateY(1px);
    transition: transform var(--speed) var(--ease);
  }
  .has-sub:hover .nav__caret,
  .has-sub:focus-within .nav__caret,
  .nav__link[aria-expanded="true"] .nav__caret {
    transform: translateY(1px) rotate(180deg);
  }

  /* Submenu card */
  .submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 320px;
    padding: 0.6rem;
    background: var(--byun-white);
    color: var(--byun-black);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--speed) var(--ease),
                transform var(--speed) var(--ease),
                visibility 0s linear var(--speed);
    z-index: 70;
  }
  .submenu::before {
    /* hover bridge so hover doesn't break between trigger and panel */
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }
  .has-sub:hover > .submenu,
  .has-sub:focus-within > .submenu,
  .nav__link[aria-expanded="true"] + .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity var(--speed) var(--ease),
                transform var(--speed) var(--ease),
                visibility 0s linear 0s;
  }
  .submenu a {
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--byun-black);
    transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
  }
  .submenu a > span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .submenu a:first-child { font-weight: 800; }
  .submenu a {
    font-family: var(--f-text);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .submenu a:hover,
  .submenu a:focus-visible {
    background: var(--byun-blue);
    color: var(--byun-white);
  }
  .submenu a:hover > span,
  .submenu a:focus-visible > span {
    color: rgba(255, 255, 255, 0.78);
  }
}
.header-cta { display: none; }
@media (min-width: 1024px) {
  .header-cta { display: inline-flex; padding: 0.65rem 1.2rem; font-size: 0.85rem; }
}

/* Mobile burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: inherit;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 50;
  background: var(--byun-black);
  color: var(--byun-white);
  padding: var(--s-6) var(--content-pad);
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--speed-slow) var(--ease-out), opacity var(--speed-slow) var(--ease-out);
}
.mobile-nav[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav .m-group,
.mobile-nav .m-link {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav .m-link,
.mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--f-text);
  /* Brand book: navigation = Acumin Medium. At drawer scale we bump to 600 so
     the rendered weight matches Acumin Medium's visual mass in our Archivo
     fallback. */
  font-weight: 600;
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--byun-white);
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav .m-link::after {
  content: "→";
  font-size: 1.2em;
  opacity: 0.6;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.mobile-nav .m-link:hover { color: var(--byun-orange); }
.mobile-nav .m-link:hover::after { transform: translateX(6px); opacity: 1; }

.mobile-nav .m-caret {
  font-size: 1.3rem;
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  color: var(--byun-orange);
  transition: transform var(--speed) var(--ease);
}
.mobile-nav details[open] .m-caret { transform: rotate(45deg); }

.mobile-nav .m-sub {
  display: grid;
  gap: 0.35rem;
  padding: 0 0 1.1rem 0.6rem;
  border-left: 2px solid rgba(232, 148, 39, 0.4);
  margin-left: 0.2rem;
}
.mobile-nav .m-sub a {
  display: block;
  padding: 0.55rem 0;
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--speed) var(--ease), padding-left var(--speed) var(--ease);
}
.mobile-nav .m-sub a:hover {
  color: var(--byun-orange);
  padding-left: 0.4rem;
}

body.no-scroll { overflow: hidden; }

/* ---------- HERO -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--byun-black);
  color: var(--byun-white);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding-block: calc(var(--header-h) + var(--s-6)) var(--s-7);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img,
.hero__media video,
.hero__video,
.hero__video-fallback,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Hide video controls in case the browser shows them despite playsinline */
.hero__video::-webkit-media-controls { display: none !important; }
.hero__video::-internal-media-controls-overlay-cast-button { display: none; }

/* ----- Animated still placeholder (Ken-Burns pan/zoom) ------------------
   Used until the real company video is dropped in. Adds slow cinematic
   motion so the hero never looks static. */
.hero__poster {
  transform-origin: 50% 35%;
  animation: hero-kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.06) translate3d(-1.2%, -0.6%, 0); }
  50%  { transform: scale(1.12) translate3d( 0.6%,  1.2%, 0); }
  100% { transform: scale(1.08) translate3d( 1.8%, -0.8%, 0); }
}

/* Subtle moving sheen — gives a video-like "light passing across" feel.
   Lives above the image, below the gradient that .hero__media::after draws. */
.hero__poster-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 25% 30%,
      rgba(232, 148, 39, 0.22) 0%,
      rgba(232, 148, 39, 0)   60%),
    radial-gradient(40% 30% at 80% 70%,
      rgba(39, 82, 145, 0.20) 0%,
      rgba(39, 82, 145, 0)    70%);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: hero-sheen 14s ease-in-out infinite alternate;
}
@keyframes hero-sheen {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.05); opacity: 0.55; }
  50%  { transform: translate3d( 1%,  2%, 0) scale(1.12); opacity: 0.95; }
  100% { transform: translate3d( 3%, -1%, 0) scale(1.08); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__poster,
  .hero__poster-sheen {
    animation: none;
  }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 30% 10%, transparent 0%, rgba(24, 23, 24, 0.2) 60%, rgba(24, 23, 24, 0.7) 100%),
    linear-gradient(180deg, rgba(24, 23, 24, 0.45) 0%, rgba(24, 23, 24, 0.1) 35%, rgba(24, 23, 24, 0.85) 100%);
}
.hero__inner { position: relative; }

.hero__sup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-pill);
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero__sup .dot {
  width: 8px; height: 8px;
  background: var(--byun-orange);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: var(--fs-display);
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5);
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title .line-1 { display: block; color: var(--byun-white); }
.hero__title .line-2 { display: block; color: var(--byun-orange); transform: translateY(-0.06em); }
.hero__title .bang { color: var(--byun-orange); }

.hero__sub {
  max-width: 38ch;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 var(--s-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  max-width: 580px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--s-5);
}
@media (min-width: 720px) {
  .hero__meta { grid-template-columns: repeat(3, 1fr); }
}
.hero__meta dt {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 1.1rem;
}

.hero__scroll {
  position: absolute;
  right: var(--content-pad);
  bottom: var(--s-6);
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (min-width: 1024px) {
  .hero__scroll { display: inline-flex; }
}
.hero__scroll .line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--byun-orange), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ---------- Marquee strip ---------------------------------------------- */
.marquee {
  background: var(--byun-orange);
  color: var(--byun-black);
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 3px solid var(--byun-black);
  border-bottom: 3px solid var(--byun-black);
}
.marquee--blue { background: var(--byun-blue); color: var(--byun-white); }
.marquee--black { background: var(--byun-black); color: var(--byun-white); }
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: clamp(1.4rem, 0.8rem + 2.2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.marquee__item::after {
  content: "★";
  color: var(--byun-magenta);
  font-size: 0.7em;
  font-family: var(--f-text);
  flex-shrink: 0;
}
.marquee--blue .marquee__item::after { color: var(--byun-orange); }
.marquee--black .marquee__item::after { color: var(--byun-orange); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Title block — Why BYUN onigiri ---------------------------- */
.title-block__intro {
  max-width: 880px;
  margin-bottom: var(--s-7);
}
.title-block__h {
  font-style: italic;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
}
.title-block__h em {
  font-style: italic;
  color: var(--byun-orange);
}

.pillars {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  position: relative;
  padding: var(--s-6) var(--s-5);
  background: var(--byun-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--byun-orange);
  border-radius: var(--radius-pill);
  transition: width var(--speed-slow) var(--ease-out);
}
.pillar:nth-child(2)::before { background: var(--byun-blue); }
.pillar:nth-child(3)::before { background: var(--byun-green); }
.pillar:nth-child(4)::before { background: var(--byun-magenta); }
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar:hover::before { width: 120px; }
.pillar__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--byun-orange);
  margin-bottom: var(--s-3);
}
.pillar:nth-child(2) .pillar__num { color: var(--byun-blue); }
.pillar:nth-child(3) .pillar__num { color: var(--byun-green); }
.pillar:nth-child(4) .pillar__num { color: var(--byun-magenta); }
.pillar h3 {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: var(--s-3);
}
.pillar p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Sub-page tiles -------------------------------------------- */
.subpage-tiles__head {
  max-width: 720px;
  margin-bottom: var(--s-7);
}

.subpage-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .subpage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .subpage-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }

.subtile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--byun-black);
  color: var(--byun-white);
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.subtile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.subtile__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.subtile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--speed-slow) var(--ease-out);
}
.subtile:hover .subtile__media img { transform: scale(1.06); }
.subtile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 23, 24, 0.18) 100%);
}

.subtile__body {
  position: relative;
  padding: var(--s-6) var(--s-5);
  display: grid;
  gap: var(--s-3);
  background: var(--byun-blue);
  color: var(--byun-white);
}
.subtile--blue .subtile__body { background: var(--byun-blue); color: var(--byun-white); }
.subtile--orange .subtile__body { background: var(--byun-orange); color: var(--byun-black); }
.subtile--green .subtile__body { background: var(--byun-green); color: var(--byun-white); }

.subtile__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
  line-height: 1;
}
.subtile h3 {
  font-family: var(--f-text);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.subtile p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 38ch;
}
.subtile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--s-3);
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.subtile__cta .arrow {
  display: inline-flex;
  width: 1.4em;
  transition: transform var(--speed) var(--ease);
}
.subtile:hover .subtile__cta .arrow { transform: translateX(6px); }

/* ---------- Editorial split (lifestyle) ------------------------------- */
.story-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.story-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--speed-slow) var(--ease-out);
}
.story-photo:hover img { transform: scale(1.04); }
.story-photo__tag {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--byun-orange);
  color: var(--byun-black);
  border-radius: var(--radius-pill);
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bullets {
  display: grid;
  gap: var(--s-3);
  margin: 0 0 var(--s-5);
}
.bullets li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.02rem;
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.85rem; height: 0.85rem;
  background: var(--byun-orange);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* ---------- Flavours showcase ----------------------------------------- */
.flavours {
  position: relative;
  overflow: hidden;
}
.flavours::before {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 50%;
  height: 80%;
  background: url("../img/mascot/mascot-running.webp") no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
  filter: brightness(0) invert(1);
  z-index: 0;
}
.flavours > .container { position: relative; z-index: 1; }

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (min-width: 720px) { .flavour-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .flavour-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); } }

.flavour {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
  transition: transform var(--speed) var(--ease);
}
.flavour:hover { transform: translateY(-6px) rotate(-1.5deg); }
.flavour img {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(24, 23, 24, 0.18));
  transition: filter var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.flavour:hover img {
  filter: drop-shadow(0 14px 28px rgba(24, 23, 24, 0.35));
  transform: scale(1.04);
}
.flavour h3 {
  font-family: var(--f-text);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--byun-black);
  margin: 0;
  line-height: 1.2;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--byun-black);
  color: var(--byun-white);
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-pill .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.5em;
  letter-spacing: -0.01em;
  color: var(--byun-orange);
  line-height: 1;
}

/* ---------- Lifestyle gallery ----------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-5); } }

.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--byun-black);
}
@media (min-width: 1024px) {
  .tile:nth-child(1) { aspect-ratio: 4 / 5; }
  .tile:nth-child(2) { aspect-ratio: 4 / 5; }
  .tile:nth-child(3) { aspect-ratio: 4 / 5; }
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--speed-slow) var(--ease-out);
}
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 23, 24, 0.85) 100%);
}
.tile__caption {
  position: absolute;
  left: var(--s-5);
  right: var(--s-5);
  bottom: var(--s-5);
  z-index: 2;
}
.tile__caption .label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  background: var(--byun-orange);
  color: var(--byun-black);
  border-radius: var(--radius-pill);
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tile__caption h3 {
  font-family: var(--f-text);
  font-weight: 900;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--byun-white);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ---------- Channels (dark editorial) -------------------------------- */
.channels {
  position: relative;
}
.channels__list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.channels__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: padding-inline var(--speed) var(--ease);
}
.channels__item:hover { padding-inline: var(--s-3); }
.channels__num {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}
.channels__item h3 {
  font-family: var(--f-text);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.3rem, 0.95rem + 1.1vw, 2rem);
  margin: 0;
  color: var(--byun-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.channels__item:hover h3 {
  color: var(--byun-orange);
  transform: translateX(8px);
}
.channels__arrow {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.channels__item:hover .channels__arrow {
  background: var(--byun-orange);
  border-color: var(--byun-orange);
  color: var(--byun-black);
  transform: rotate(-45deg);
}

/* ---------- Stats panel ---------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }

.stat {
  padding: var(--s-7) var(--s-5);
  text-align: center;
  position: relative;
}
.stat:nth-child(1) { background: var(--byun-blue); color: var(--byun-white); }
.stat:nth-child(2) { background: var(--byun-orange); color: var(--byun-black); }
.stat:nth-child(3) { background: var(--byun-black); color: var(--byun-white); }
.stat__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  line-height: 1;
  margin-bottom: var(--s-3);
  letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  opacity: 0.85;
}
.stat__sub {
  font-size: 0.95rem;
  opacity: 0.78;
}

/* ---------- Story / Team ---------------------------------------------- */
.story-card {
  background: var(--byun-white);
  border-radius: var(--radius-md);
  padding: var(--s-6);
  border: 1px solid var(--border);
}
.story-card .quote-mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 2.6rem;
  line-height: 0.7;
  color: var(--byun-orange);
  margin-bottom: var(--s-3);
  display: block;
}

/* ---------- Big CTA banner -------------------------------------------- */
.big-cta {
  position: relative;
  background: var(--byun-orange);
  color: var(--byun-black);
  border-radius: var(--radius-lg);
  padding: clamp(var(--s-7), 7vw, var(--s-9));
  overflow: hidden;
}
.big-cta::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: url("../img/mascot/mascot-running.webp") no-repeat center / contain;
  opacity: 0.95;
  filter: drop-shadow(0 8px 24px rgba(24, 23, 24, 0.25));
  transform: rotate(8deg);
  pointer-events: none;
}
@media (max-width: 720px) {
  .big-cta::before { width: 70%; opacity: 0.18; right: -15%; top: 30%; }
}
.big-cta__inner { position: relative; max-width: 60ch; }
.big-cta h2 {
  font-style: italic;
  font-size: var(--fs-mega);
  line-height: 0.95;
  margin: 0 0 var(--s-5);
}
.big-cta p {
  font-size: var(--fs-lead);
  margin-bottom: var(--s-6);
}

/* ---------- Footer ----------------------------------------------------- */
.site-footer {
  background: var(--byun-black);
  color: var(--byun-white);
  padding-block: var(--s-9) var(--s-6);
}
.site-footer .brand__word { font-size: 2.4rem; }

.footer-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr; gap: var(--s-6); }
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--byun-orange);
  margin-bottom: var(--s-4);
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--speed) var(--ease);
}
.footer-col a:hover { color: var(--byun-orange); }
.fssc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  margin-top: var(--s-4);
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fssc-badge::before {
  content: "✓";
  color: var(--byun-orange);
  font-weight: 900;
}
.footer-col--contact .footer-contact {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--s-4);
  line-height: 1.6;
}
.footer-col--contact .footer-contact strong {
  color: var(--byun-white);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.footer-contact-list,
.footer-legal-mini {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}
.footer-legal-mini {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}
.footer-contact-list .lbl,
.footer-legal-mini .lbl {
  display: inline-block;
  min-width: 2.2em;
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--byun-orange);
  margin-right: 0.4rem;
}

.footer-bottom {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  align-items: center;
}
@media (min-width: 880px) {
  .footer-bottom { grid-template-columns: auto 1fr auto; gap: var(--s-5); }
}
.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
}
.footer-mini-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--speed) var(--ease);
}
.footer-mini-links a:hover { color: var(--byun-orange); }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--byun-orange); }

/* ---------- Skip link --------------------------------------------------- */
.skip {
  position: absolute;
  left: -1000px;
  top: 0;
  background: var(--byun-orange);
  color: var(--byun-black);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  z-index: 100;
}
.skip:focus { left: var(--content-pad); top: 0.5rem; }

/* ---------- Reveal on scroll ------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   SUB-PAGE COMPONENTS — used by products.html, about.html, collaboration.html,
   markets.html, contact.html
   ========================================================================= */

/* ---------- Page hero (smaller than the home video hero) -------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--byun-blue);
  color: var(--byun-white);
  padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-8);
  min-height: 56vh;
  display: flex;
  align-items: center;
}
.page-hero--orange  { background: var(--byun-orange); color: var(--byun-black); }
.page-hero--black   { background: var(--byun-black); color: var(--byun-white); }
.page-hero--green   { background: var(--byun-green); color: var(--byun-white); }
.page-hero--magenta { background: var(--byun-magenta); color: var(--byun-white); }
.page-hero--cream   { background: #ece5d6; color: var(--byun-black); }

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.page-hero--orange .page-hero__media::after,
.page-hero--cream .page-hero__media::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(0,0,0,0.18) 100%);
}

.page-hero__inner { position: relative; max-width: 980px; }

.page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: var(--s-4);
}
.page-hero__crumbs a { color: inherit; }
.page-hero__crumbs a:hover { color: var(--byun-orange); }
.page-hero__crumbs span[aria-hidden] { opacity: 0.5; }

.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: clamp(2.2rem, 1.4rem + 2.8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
}
.page-hero__lead {
  font-size: var(--fs-lead);
  max-width: 60ch;
  opacity: 0.92;
}
.page-hero--orange .page-hero__lead,
.page-hero--cream .page-hero__lead { color: rgba(24,23,24,0.78); opacity: 1; }

/* ---------- Quick TOC pills ------------------------------------------- */
.toc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: var(--s-5) 0 0;
}
.toc-pills a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-pill);
  opacity: 0.9;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.toc-pills a:hover {
  background: var(--byun-orange);
  border-color: var(--byun-orange);
  color: var(--byun-black);
  opacity: 1;
}

/* ---------- Section header (eyebrow + h2 + lead) ---------------------- */
.section-head {
  max-width: 880px;
  margin-bottom: var(--s-7);
}
.section-head h2 {
  font-style: italic;
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 var(--s-3);
}

/* ---------- Feature grid (icon/number + heading + body) -------------- */
.feature-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.feature {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-6);
  background: var(--byun-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--byun-orange);
  color: var(--byun-black);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.15rem;
  line-height: 1;
}
.feature--blue .feature__icon { background: var(--byun-blue); color: var(--byun-white); }
.feature--green .feature__icon { background: var(--byun-green); color: var(--byun-white); }
.feature--magenta .feature__icon { background: var(--byun-magenta); color: var(--byun-white); }
.feature h3 {
  font-style: italic;
  font-size: 1.15rem;
  margin: 0;
}
.feature p {
  color: var(--muted);
  margin: 0;
}
.section--blue .feature,
.section--black .feature {
  background: rgba(255,255,255,0.06);
  color: var(--byun-white);
  border-color: rgba(255,255,255,0.14);
}
.section--blue .feature p,
.section--black .feature p {
  color: rgba(255,255,255,0.78);
}

/* ---------- Process / steps (numbered horizontal) -------------------- */
.steps {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--s-5);
  border-top: 4px solid var(--byun-orange);
  background: var(--byun-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: grid;
  gap: var(--s-3);
}
.step__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--byun-orange);
}
.step h3 {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0;
}
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.step:nth-child(2) { border-top-color: var(--byun-blue); }
.step:nth-child(2) .step__num { color: var(--byun-blue); }
.step:nth-child(3) { border-top-color: var(--byun-green); }
.step:nth-child(3) .step__num { color: var(--byun-green); }
.step:nth-child(4) { border-top-color: var(--byun-magenta); }
.step:nth-child(4) .step__num { color: var(--byun-magenta); }

/* ---------- Forms (contact / partner) -------------------------------- */
.form-card {
  background: var(--byun-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--s-5), 5vw, var(--s-8));
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid--span-2 { grid-column: span 2; }
}
.form-field {
  display: grid;
  gap: 0.4rem;
}
.form-field label {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form-field--required label::after {
  content: "*";
  color: var(--byun-magenta);
  margin-left: 0.25rem;
  font-weight: 900;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--f-text);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--byun-white);
  color: var(--byun-black);
  width: 100%;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--byun-orange);
  box-shadow: 0 0 0 3px rgba(232, 148, 39, 0.25);
}
.form-field textarea {
  min-height: 160px;
  resize: vertical;
}
.form-actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--s-4);
}
.form-consent {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Contact details card ------------------------------------- */
.contact-aside {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}
.contact-card {
  background: var(--byun-black);
  color: var(--byun-white);
  border-radius: var(--radius-md);
  padding: var(--s-6);
}
.contact-card h3 {
  font-style: italic;
  font-size: 1.15rem;
  margin: 0 0 var(--s-3);
}
.contact-card p,
.contact-card address {
  color: rgba(255,255,255,0.82);
  font-style: normal;
  margin: 0 0 var(--s-3);
  line-height: 1.6;
}
.contact-card a {
  color: var(--byun-orange);
  font-weight: 700;
}
.contact-card a:hover { text-decoration: underline; }

/* ---------- Side-by-side info split (image + text) — products/about - */
.info-split {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}
/* On mobile (single column) always show copy before media, regardless of
   DOM order, so the headline lands first.                                 */
.info-split--media-left > .info-split__media { order: 2; }
@media (min-width: 880px) {
  .info-split { grid-template-columns: 1fr 1fr; gap: clamp(var(--s-6), 4vw, var(--s-8)); }
  .info-split--media-left > .info-split__media { order: 0; }
  .info-split--media-left > .info-split__copy { order: 2; }
}
/* Contact-page variant: form bigger than aside on desktop */
@media (min-width: 880px) {
  .info-split--bias-form { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.info-split__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}
.info-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--speed-slow) var(--ease-out);
}
.info-split__media:hover img { transform: scale(1.04); }

/* ---------- Quote / pull-quote --------------------------------------- */
.pullquote {
  font-family: var(--f-text);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--byun-orange);
  padding: 0.4rem 0 0.4rem var(--s-5);
  margin: var(--s-5) 0;
  color: var(--byun-black);
  text-wrap: balance;
}
.section--blue .pullquote,
.section--black .pullquote {
  color: var(--byun-white);
}

/* ---------- Language switch ------------------------------------------ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--f-text);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: var(--s-3);
  opacity: 0.85;
}
.lang-switch a {
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-sm);
}
.lang-switch a[aria-current="true"] { background: var(--byun-orange); color: var(--byun-black); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--byun-orange); }
.lang-switch span[aria-hidden] { opacity: 0.5; }

/* ---------- Misc helpers --------------------------------------------- */
.wrap-narrow { max-width: 880px; margin-inline: auto; }
.text-center { text-align: center; }

/* Honor brand color for inline emphasis on light sections */
em.brand-orange { color: var(--byun-orange); font-style: italic; }
em.brand-blue { color: var(--byun-blue); font-style: italic; }
