@layer reset, tokens, base, shell, components, pages, responsive, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { color-scheme: dark; }
  html, body { margin: 0; min-height: 100%; }
  body { min-width: 320px; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
  a { color: inherit; text-decoration: none; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  h1, h2, h3, p { margin: 0; }
  dialog { padding: 0; border: 0; }
}

@layer tokens {
  :root {
    --ink-0: #020308;
    --ink-1: #060913;
    --ink-2: #0b101c;
    --ink-3: #121827;
    --paper: #f3f4f7;
    --paper-soft: #c7ccd7;
    --muted: #8790a3;
    --signal: #df1749;
    --signal-hot: #ff315e;
    --signal-dark: #7f0c2b;
    --cold: #84a8ff;
    --violet: #7867d7;
    --line: rgba(235, 239, 249, .16);
    --line-strong: rgba(235, 239, 249, .3);
    --glass: rgba(5, 8, 15, .72);
    --display: "PT Sans Narrow", "Arial Narrow", "Noto Sans Display", sans-serif;
    --body: "Inter", "Noto Sans", system-ui, sans-serif;
    --mono: "IBM Plex Mono", "Noto Sans Mono", "DejaVu Sans Mono", monospace;
    --jp: "Noto Sans CJK JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    --edge: clamp(18px, 3.2vw, 56px);
    --header-h: 76px;
    --footer-h: 54px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-inout: cubic-bezier(.65, 0, .35, 1);
  }
}

@layer base {
  body {
    background: var(--ink-0);
    color: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: .17;
    background-image:
      repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px),
      radial-gradient(circle at 20% 10%, rgba(255,255,255,.04), transparent 34%);
    mix-blend-mode: overlay;
  }

  ::selection { background: var(--signal); color: white; }

  :focus-visible {
    outline: 2px solid var(--signal-hot);
    outline-offset: 4px;
  }

  .skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 4000;
    padding: 10px 14px;
    background: var(--paper);
    color: var(--ink-0);
    transform: translateY(-180%);
    transition: transform .2s ease;
  }
  .skip-link:focus { transform: translateY(0); }

  .eyebrow,
  .micro,
  .meta-line,
  .page-index,
  .status-chip,
  .control-hint,
  .nav-link,
  .utility-link,
  label,
  .signal-list time {
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--paper-soft);
  }
  .eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--signal);
    box-shadow: 12px 0 18px rgba(223,23,73,.5);
  }

  .display-heading {
    font-family: var(--display);
    font-stretch: condensed;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .88;
    text-transform: uppercase;
  }

  .lede {
    max-width: 44rem;
    color: var(--paper-soft);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.65;
  }

  .accent { color: var(--signal-hot); }
  .muted { color: var(--muted); }
  .screen-reader-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

@layer shell {
  .site-shell {
    position: relative;
    display: grid;
    grid-template-rows: var(--header-h) minmax(0, 1fr) var(--footer-h);
    min-height: 100svh;
    height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink-0);
  }

  .site-header {
    position: relative;
    z-index: 200;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding-inline: var(--edge);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(2,3,8,.95), rgba(2,3,8,.72));
    backdrop-filter: blur(16px);
  }

  .brand-mini {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 7px;
    font-family: var(--display);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -.04em;
    transform: skewX(-8deg);
  }
  .brand-mini strong { font-size: 1.35rem; }
  .brand-mini span {
    color: var(--signal-hot);
    font-family: var(--mono);
    font-size: .67rem;
    letter-spacing: .08em;
    transform: skewX(8deg);
  }

  .primary-nav { justify-self: center; }
  .primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 42px); }
  .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #9ba4b5;
    transition: color .2s ease;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 7px;
    height: 2px;
    background: var(--signal-hot);
    transition: right .35s var(--ease-out);
  }
  .nav-link:hover,
  .nav-link[aria-current="page"] { color: white; }
  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after { right: 0; }
  .nav-link[aria-current="page"]::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--signal-hot);
    box-shadow: 0 0 14px var(--signal-hot);
  }

  .header-actions { display: flex; align-items: center; gap: 12px; }
  .utility-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    color: var(--muted);
    transition: color .2s ease;
  }
  .utility-link:hover { color: white; }
  .utility-link svg { width: 15px; height: 15px; }

  .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    color: white;
    place-items: center;
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    display: block;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform .3s var(--ease-out), opacity .2s;
  }
  .menu-toggle span { margin-block: 5px; }
  .menu-toggle[aria-expanded="true"] span { opacity: 0; }
  .menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

  .screen {
    position: relative;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
  }

  .screen-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: clamp(30px, 4vh, 62px) var(--edge);
  }

  .site-footer {
    position: relative;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding-inline: var(--edge);
    border-top: 1px solid var(--line);
    background: rgba(2,3,8,.9);
    color: var(--muted);
  }
  .site-footer .footer-center { justify-self: center; }
  .site-footer .footer-right { justify-self: end; }
  .footer-route {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .footer-route::before {
    content: "";
    width: clamp(36px, 6vw, 90px);
    height: 1px;
    background: linear-gradient(90deg, var(--signal), transparent);
  }

  .route-meter {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .route-meter span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,.16);
  }
  .route-meter span.is-active { background: var(--signal-hot); box-shadow: 0 0 12px rgba(255,49,94,.55); }

  .page-wipe {
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
    display: grid;
    place-items: center;
    background: var(--ink-0);
    clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%);
    transition: clip-path .55s var(--ease-inout);
  }
  .page-wipe.is-running {
    clip-path: polygon(0 0, 112% 0, 100% 100%, -12% 100%);
  }
  .page-wipe__line {
    position: absolute;
    inset: 0 auto 0 50%;
    width: 2px;
    background: var(--signal-hot);
    box-shadow: 0 0 35px 8px rgba(223,23,73,.35);
    transform: skewX(-10deg);
  }
  .page-wipe__mark {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .18em;
    color: var(--muted);
  }

  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .35s ease both vt-out; }
  ::view-transition-new(root) { animation: .55s var(--ease-out) both vt-in; }
}

@layer components {
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

  .btn {
    --btn-bg: var(--paper);
    --btn-fg: var(--ink-0);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--mono);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: transform .22s var(--ease-out), background .2s, color .2s, border-color .2s;
  }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.6), transparent 62%);
    transform: translateX(-140%);
    transition: transform .55s var(--ease-out);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::before { transform: translateX(140%); }
  .btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
  .btn--signal { --btn-bg: var(--signal); --btn-fg: white; }
  .btn--ghost {
    --btn-bg: rgba(4,6,11,.32);
    --btn-fg: var(--paper);
    border-color: var(--line-strong);
    backdrop-filter: blur(12px);
  }
  .btn--disabled { opacity: .52; cursor: default; }
  .btn--disabled:hover { transform: none; }
  .btn--small { min-height: 40px; padding-inline: 15px; }

  .rule-label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    color: var(--muted);
  }
  .rule-label::after { content: ""; height: 1px; background: var(--line); }

  .angled-panel {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(11,16,28,.82), rgba(3,5,10,.72));
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
    backdrop-filter: blur(16px);
  }
  .angled-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 1px;
    background: var(--signal-hot);
    transform: rotate(45deg) translate(4px, 8px);
    transform-origin: right top;
  }

  .corner-marks::before,
  .corner-marks::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border-color: rgba(255,255,255,.35);
  }
  .corner-marks::before { top: 16px; left: 16px; border-top: 1px solid; border-left: 1px solid; }
  .corner-marks::after { right: 16px; bottom: 16px; border-right: 1px solid; border-bottom: 1px solid; }

  .modal {
    width: min(1000px, calc(100vw - 32px));
    max-height: calc(100svh - 32px);
    color: var(--paper);
    background: var(--ink-1);
    border: 1px solid var(--line-strong);
    overflow: hidden;
  }
  .modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
  .modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
  }
  .modal__close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
  }
  .modal__body { padding: 18px; }
  .trailer-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    text-align: center;
    background:
      linear-gradient(rgba(2,3,8,.35), rgba(2,3,8,.78)),
      url("../media/qte-road-plate.webp") center / cover;
  }
  .trailer-placeholder__inner { max-width: 420px; padding: 24px; }
  .trailer-placeholder h2 {
    margin-block: 14px 10px;
    font-family: var(--display);
    font-size: clamp(2.2rem, 7vw, 5.4rem);
    line-height: .85;
    text-transform: uppercase;
  }

  .form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .field {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: rgba(0,0,0,.28);
    color: white;
    padding: 0 16px;
  }
  .field::placeholder { color: #70798b; }
  .form-status { min-height: 22px; margin-top: 10px; color: var(--muted); font-size: .82rem; }
}

@layer pages {
  /* HOME */
  .home-screen { background: var(--ink-0); }
  .home-art {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
  }
  .home-art picture,
  .home-art img { width: 100%; height: 100%; }
  .home-art img {
    object-fit: cover;
    object-position: center 51%;
    transform: scale(1.035);
    animation: hero-breathe 13s ease-in-out infinite alternate;
  }
  .home-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(2,3,8,.95) 0%, rgba(2,3,8,.78) 30%, rgba(2,3,8,.13) 67%, rgba(2,3,8,.34) 100%),
      linear-gradient(0deg, rgba(2,3,8,.92), transparent 42%),
      radial-gradient(circle at 66% 70%, transparent 0 20%, rgba(2,3,8,.24) 62%);
  }
  .rain {
    position: absolute;
    inset: -20%;
    z-index: -1;
    pointer-events: none;
    opacity: .3;
    background-image: repeating-linear-gradient(112deg, transparent 0 34px, rgba(210,225,255,.24) 35px, transparent 36px 66px);
    background-size: 170px 170px;
    animation: rain-fall .7s linear infinite;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 88%, transparent);
  }
  .home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
    align-items: end;
    gap: clamp(26px, 5vw, 88px);
  }
  .home-copy { align-self: center; max-width: 780px; }
  .title-mark {
    position: relative;
    width: min(760px, 100%);
    margin-block: 18px 22px;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,.55));
  }
  .title-mark__word {
    display: block;
    width: max-content;
    max-width: 100%;
    font-family: var(--display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(5rem, 10.7vw, 10.3rem);
    letter-spacing: -.075em;
    line-height: .72;
    text-transform: uppercase;
    transform: skewX(-7deg);
    color: var(--paper);
    text-shadow:
      3px 3px 0 #1b2030,
      6px 6px 0 rgba(223,23,73,.5),
      0 0 35px rgba(255,255,255,.1);
  }
  .title-mark__year {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    margin-left: clamp(34px, 6vw, 110px);
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    color: var(--signal-hot);
    text-shadow: 0 0 28px rgba(223,23,73,.36);
  }
  .title-mark__year::before,
  .title-mark__year::after { content: ""; height: 3px; background: currentColor; }
  .title-mark__year::before { width: clamp(24px, 5vw, 76px); }
  .title-mark__year::after { width: clamp(40px, 9vw, 140px); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .home-tagline {
    max-width: 620px;
    margin-bottom: 24px;
    color: #d9dde6;
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.6vw, 2.15rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.02em;
    text-transform: uppercase;
  }
  .home-side {
    align-self: end;
    justify-self: end;
    width: min(410px, 100%);
    padding: 22px 24px;
    border-left: 1px solid var(--line-strong);
    background: linear-gradient(90deg, rgba(2,3,8,.55), transparent);
  }
  .home-side__line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 10px;
    border-bottom: 1px solid var(--line);
  }
  .home-side__line:last-child { border-bottom: 0; }
  .home-side__line span:first-child { color: var(--muted); }
  .home-side__line span:last-child { text-align: right; color: var(--paper-soft); }

  /* RIDE */
  .ride-screen {
    background:
      linear-gradient(90deg, rgba(2,3,8,.97) 0 32%, rgba(2,3,8,.48) 58%, rgba(2,3,8,.84)),
      url("../media/qte-road-plate.webp") center / cover;
  }
  .ride-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,.035) calc(25% - 1px) 25%),
      linear-gradient(180deg, transparent 66%, rgba(0,0,0,.72));
    pointer-events: none;
  }
  .ride-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(460px, 1.22fr);
    align-items: center;
    gap: clamp(28px, 5vw, 86px);
  }
  .ride-copy h1 {
    max-width: 650px;
    margin-block: 18px 22px;
    font-size: clamp(4rem, 8vw, 8.6rem);
  }
  .verb-stack { display: grid; }
  .verb-stack span { display: block; }
  .verb-stack span:nth-child(2) { margin-left: .42em; color: var(--signal-hot); }
  .verb-stack span:nth-child(3) { margin-left: .1em; }
  .verb-stack span:nth-child(4) { margin-left: .65em; color: #aeb5c4; }
  .format-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 30px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .format-strip div { padding: 12px 10px; background: rgba(3,5,10,.82); }
  .format-strip strong { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .11em; }
  .format-strip span { color: var(--muted); font-size: .76rem; }

  .qte-console {
    position: relative;
    min-height: min(610px, 68vh);
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(2,3,8,.78);
    box-shadow: 0 28px 80px rgba(0,0,0,.42);
  }
  .qte-console::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(transparent 96%, rgba(255,255,255,.08) 96%) 0 0 / 100% 5px,
      radial-gradient(circle at 50% 100%, rgba(223,23,73,.12), transparent 48%);
    pointer-events: none;
  }
  .qte-console__top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(4,6,12,.82);
  }
  .qte-viewport {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    overflow: hidden;
  }
  .qte-viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../media/qte-road-plate.webp") center / cover;
    opacity: .55;
    transform: scale(1.03);
  }
  .qte-console.is-active .qte-viewport::before {
    animation: qte-road-rush 1.1s var(--ease-inout) infinite;
  }
  .qte-viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0 20%, rgba(2,3,8,.2) 58%, rgba(2,3,8,.75));
  }
  .qte-stage {
    position: relative;
    z-index: 3;
    width: min(480px, 86%);
    text-align: center;
  }
  .qte-motion {
    position: absolute;
    inset: -8%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .qte-console.is-active .qte-motion { opacity: .72; }
  .qte-motion span {
    position: absolute;
    top: -28%;
    left: var(--streak-x, 50%);
    width: 1px;
    height: var(--streak-h, 28%);
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.58), transparent);
    box-shadow: 0 0 9px rgba(132,168,255,.4);
    transform: rotate(var(--streak-angle, 18deg));
    transform-origin: center;
  }
  .qte-motion span:nth-child(1) { --streak-x: 12%; --streak-h: 22%; --streak-angle: 21deg; animation-delay: -.62s; }
  .qte-motion span:nth-child(2) { --streak-x: 28%; --streak-h: 31%; --streak-angle: 14deg; animation-delay: -.18s; }
  .qte-motion span:nth-child(3) { --streak-x: 43%; --streak-h: 19%; --streak-angle: 8deg; animation-delay: -.81s; }
  .qte-motion span:nth-child(4) { --streak-x: 61%; --streak-h: 25%; --streak-angle: -8deg; animation-delay: -.34s; }
  .qte-motion span:nth-child(5) { --streak-x: 76%; --streak-h: 34%; --streak-angle: -15deg; animation-delay: -.7s; }
  .qte-motion span:nth-child(6) { --streak-x: 91%; --streak-h: 20%; --streak-angle: -21deg; animation-delay: -.08s; }
  .qte-console.is-active .qte-motion span { animation-name: qte-speed-streak; animation-duration: .9s; animation-timing-function: linear; animation-iteration-count: infinite; }
  .qte-console.has-impact[data-input="left"] .qte-stage { animation: qte-hit-left .32s var(--ease-out); }
  .qte-console.has-impact[data-input="right"] .qte-stage { animation: qte-hit-right .32s var(--ease-out); }
  .qte-console.has-impact[data-input="brake"] .qte-stage { animation: qte-hit-brake .34s var(--ease-out); }
  .qte-console.has-impact[data-input="boost"] .qte-stage { animation: qte-hit-boost .34s var(--ease-out); }
  .qte-console.is-miss { animation: qte-miss-shake .34s ease-out; }
  .qte-prompt {
    display: inline-grid;
    place-items: center;
    width: clamp(116px, 13vw, 158px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.72);
    background: rgba(2,3,8,.62);
    box-shadow: inset 0 0 35px rgba(255,255,255,.06), 0 0 30px rgba(223,23,73,.18);
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    text-transform: uppercase;
    transition: border-color .2s, box-shadow .2s, transform .2s;
  }
  .qte-prompt[data-state="armed"] { animation: qte-pulse .7s ease-in-out infinite alternate; }
  .qte-prompt[data-state="success"] { border-color: #eff7ff; box-shadow: 0 0 38px rgba(132,168,255,.6); transform: scale(1.05); }
  .qte-prompt[data-state="fail"] { border-color: var(--signal-hot); box-shadow: 0 0 42px rgba(255,49,94,.65); transform: rotate(-4deg) scale(.96); }
  .qte-readout {
    min-height: 55px;
    margin-top: 18px;
    font-family: var(--mono);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--paper-soft);
  }
  .qte-timer {
    position: relative;
    width: 100%;
    height: 3px;
    margin-top: 16px;
    background: rgba(255,255,255,.15);
    overflow: hidden;
  }
  .qte-timer span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--signal-hot);
  }
  .qte-timer.is-running span { animation: qte-timer 1.45s linear forwards; }
  .qte-controls {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-top: 1px solid var(--line);
    background: var(--line);
  }
  .qte-key {
    min-height: 62px;
    border: 0;
    background: rgba(5,8,15,.96);
    color: var(--paper-soft);
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, color .2s;
  }
  .qte-key:hover { background: rgba(223,23,73,.18); color: white; }
  .qte-key b { display: block; margin-bottom: 3px; font-size: 1rem; color: white; }

  /* RAVEN */
  .raven-screen {
    background:
      radial-gradient(circle at 71% 44%, rgba(101,22,48,.26), transparent 31%),
      linear-gradient(120deg, #03050a 0 44%, #080b13 64%, #020308 100%);
  }
  .raven-screen[data-character="john"] {
    background:
      radial-gradient(circle at 72% 42%, rgba(69,91,130,.22), transparent 32%),
      linear-gradient(120deg, #03050a 0 44%, #090d15 64%, #020308 100%);
  }
  .raven-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(110deg, transparent 55%, rgba(255,255,255,.025) 55% 55.15%, transparent 55.15%),
      repeating-linear-gradient(0deg, transparent 0 76px, rgba(255,255,255,.025) 76px 77px);
    pointer-events: none;
  }
  .raven-layout {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr);
    align-items: center;
    gap: clamp(20px, 4vw, 70px);
  }
  .raven-copy { position: relative; z-index: 4; max-width: 660px; }
  .character-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    gap: 1px;
    margin-bottom: clamp(16px, 2.4vh, 28px);
    border: 1px solid var(--line);
    background: var(--line);
  }
  .character-switch button {
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    background: rgba(3,5,10,.9);
    color: var(--muted);
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .13em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
  }
  .character-switch button span { margin-right: 12px; color: rgba(255,255,255,.3); }
  .character-switch button[aria-selected="true"] { background: rgba(223,23,73,.14); color: white; box-shadow: inset 3px 0 var(--signal-hot); }
  [data-character-panel][hidden],
  [data-character-art][hidden] { display: none !important; }
  .raven-copy h1 {
    margin-block: 18px 4px;
    font-size: clamp(6rem, 12.5vw, 13rem);
    color: var(--paper);
    text-shadow: 6px 5px 0 rgba(223,23,73,.38);
  }
  .raven-jp {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    font-family: var(--jp);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    letter-spacing: .2em;
    color: var(--signal-hot);
  }
  .raven-jp::after { content: "THE NIGHT RIDER"; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--muted); }
  .john-designation {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .18em;
    color: var(--cold);
    text-transform: uppercase;
  }
  .john-designation::after { content: "GARAGE // CONTROL"; font-size: .62rem; color: var(--muted); }
  .profile-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 24px;
    color: var(--paper-soft);
  }
  .profile-line span { position: relative; font-family: var(--mono); font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; }
  .profile-line span:not(:last-child)::after { content: "/"; position: absolute; right: -13px; color: var(--signal); }
  .raven-quote {
    position: relative;
    max-width: 520px;
    margin-top: 28px;
    padding: 18px 20px 18px 28px;
    border-left: 2px solid var(--signal-hot);
    background: linear-gradient(90deg, rgba(223,23,73,.09), transparent);
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.1;
    text-transform: uppercase;
  }
  .quote-selectors { display: flex; gap: 8px; margin-top: 12px; }
  .quote-selectors button {
    width: 28px;
    height: 4px;
    border: 0;
    background: rgba(255,255,255,.18);
    cursor: pointer;
  }
  .quote-selectors button[aria-pressed="true"] { background: var(--signal-hot); }
  .raven-art {
    position: relative;
    align-self: end;
    height: 100%;
    min-height: 0;
  }
  .raven-art::before {
    content: "RAVEN // NTR-01";
    position: absolute;
    top: 8%;
    right: 2%;
    z-index: 1;
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .16em;
    color: rgba(255,255,255,.35);
  }
  .john-art::before { content: "JOHN // HND-02"; }
  .raven-art::after {
    content: "";
    position: absolute;
    left: 14%;
    bottom: 0;
    width: 74%;
    height: 8%;
    border-radius: 50%;
    background: rgba(0,0,0,.9);
    filter: blur(25px);
  }
  .raven-art img {
    position: absolute;
    z-index: 2;
    right: 5%;
    bottom: -1%;
    width: min(48vw, 690px);
    height: 104%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(-18px 16px 28px rgba(0,0,0,.6));
  }
  .raven-ring {
    position: absolute;
    left: 4%;
    top: 10%;
    width: min(48vw, 610px);
    aspect-ratio: 1;
    border: 1px solid rgba(223,23,73,.28);
    border-radius: 50%;
  }
  .raven-ring::before,
  .raven-ring::after {
    content: "";
    position: absolute;
    inset: 7%;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 50%;
  }
  .raven-ring::after { inset: 26%; border-style: solid; border-color: rgba(223,23,73,.22); }
  .john-art .raven-ring { border-color: rgba(132,168,255,.28); }
  .john-art .raven-ring::after { border-color: rgba(132,168,255,.2); }
  .john-placeholder {
    position: absolute;
    inset: 12% 4% 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    border-inline: 1px solid rgba(132,168,255,.16);
    background:
      linear-gradient(135deg, transparent 0 49.8%, rgba(132,168,255,.08) 50%, transparent 50.2%),
      radial-gradient(ellipse at 50% 92%, rgba(132,168,255,.12), transparent 57%);
    text-align: center;
    text-transform: uppercase;
  }
  .john-placeholder span {
    font-family: var(--display);
    font-size: clamp(6rem, 13vw, 13rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(243,244,247,.32);
  }
  .john-placeholder small { margin-top: 20px; font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; color: var(--cold); }

  /* FOOTAGE */
  .footage-screen { background: #03050a; }
  .footage-layout {
    display: grid;
    grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 44px);
  }
  .media-rail {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 20px;
    min-height: 0;
  }
  .media-rail h1 { font-size: clamp(4.2rem, 8vw, 8rem); margin-top: 10px; }
  .media-list { display: grid; align-content: start; gap: 2px; }
  .media-item {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 12px;
    border: 0;
    border-left: 2px solid transparent;
    background: rgba(255,255,255,.035);
    color: var(--paper-soft);
    text-align: left;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
  }
  .media-item:hover,
  .media-item[aria-pressed="true"] { background: rgba(223,23,73,.1); color: white; border-left-color: var(--signal-hot); }
  .media-item__num { font-family: var(--mono); color: var(--signal-hot); font-size: .65rem; }
  .media-item__name { font-family: var(--display); text-transform: uppercase; font-size: 1.03rem; font-weight: 700; }
  .media-item__type { font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; color: var(--muted); }
  .media-stage {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink-1);
  }
  .media-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 100px rgba(0,0,0,.55);
  }
  .media-view {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s;
  }
  .media-view.is-active { opacity: 1; visibility: visible; }
  .media-view img { width: 100%; height: 100%; object-fit: cover; }
  .media-view--character {
    display: grid;
    place-items: end center;
    background:
      radial-gradient(circle at 60% 46%, rgba(131,20,54,.28), transparent 28%),
      linear-gradient(135deg, #080b13, #020308);
  }
  .media-view--character img { width: auto; max-width: 72%; height: 96%; object-fit: contain; object-position: bottom; }
  .media-view--trailer {
    display: grid;
    place-items: center;
    text-align: center;
    background:
      linear-gradient(rgba(2,3,8,.48), rgba(2,3,8,.82)),
      url("../media/qte-road-plate.webp") center / cover;
  }
  .media-view--trailer h2 { font-size: clamp(3rem, 8vw, 8rem); }
  .media-caption {
    position: absolute;
    z-index: 5;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    padding: 16px 18px;
    background: linear-gradient(90deg, rgba(2,3,8,.9), rgba(2,3,8,.35));
    border-left: 2px solid var(--signal-hot);
  }
  .media-caption strong { display: block; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
  .media-caption span { color: var(--muted); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
  .media-expand {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: rgba(2,3,8,.58);
    color: white;
    cursor: pointer;
  }
  .media-note { color: var(--muted); font-size: .76rem; }

  .image-modal { width: min(1500px, calc(100vw - 28px)); background: #000; }
  .image-modal .modal__body { padding: 0; }
  .image-modal img { width: 100%; max-height: calc(100svh - 90px); object-fit: contain; }

  /* SIGNAL */
  .signal-screen {
    background:
      linear-gradient(90deg, rgba(2,3,8,.97), rgba(2,3,8,.83)),
      repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.02) 79px 80px),
      repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.02) 79px 80px),
      #050812;
  }
  .signal-layout {
    display: grid;
    grid-template-columns: minmax(350px, .86fr) minmax(440px, 1.14fr);
    align-items: center;
    gap: clamp(36px, 7vw, 120px);
  }
  .signal-copy h1 { margin-block: 18px 24px; font-size: clamp(4.5rem, 8.5vw, 9rem); }
  .pipeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 35px;
  }
  .pipeline::before { content: ""; position: absolute; top: 14px; left: 5%; right: 5%; height: 1px; background: var(--line-strong); }
  .pipeline-step { position: relative; text-align: center; }
  .pipeline-step::before {
    content: "";
    position: relative;
    z-index: 2;
    display: block;
    width: 9px;
    height: 9px;
    margin: 10px auto 14px;
    border-radius: 50%;
    border: 2px solid var(--signal-hot);
    background: var(--ink-0);
    box-shadow: 0 0 18px rgba(223,23,73,.35);
  }
  .pipeline-step strong { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--paper-soft); }
  .pipeline-step span { display: block; margin-top: 4px; font-size: .66rem; color: var(--muted); }
  .signal-panel { padding: clamp(22px, 3vw, 36px); }
  .signal-panel h2 { margin: 10px 0 16px; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: .9; text-transform: uppercase; }
  .signal-list { margin-block: 25px; border-top: 1px solid var(--line); }
  .signal-list li {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 18px;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid var(--line);
  }
  .signal-list strong { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; }
  .signal-list span { color: var(--muted); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; }

  /* STUDIO */
  .studio-screen {
    background:
      radial-gradient(circle at 72% 50%, rgba(65,86,139,.14), transparent 30%),
      radial-gradient(circle at 30% 40%, rgba(223,23,73,.11), transparent 28%),
      #03050a;
  }
  .studio-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
      linear-gradient(115deg, transparent 42%, rgba(255,255,255,.04) 42.1%, transparent 42.2%),
      linear-gradient(65deg, transparent 58%, rgba(255,255,255,.03) 58.1%, transparent 58.2%);
  }
  .studio-layout { display: grid; place-items: center; text-align: center; }
  .studio-lockup { width: min(920px, 100%); }
  .ravenfrost-mark {
    position: relative;
    width: 120px;
    aspect-ratio: 1;
    margin: 0 auto 24px;
  }
  .ravenfrost-mark::before,
  .ravenfrost-mark::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px solid var(--line-strong);
    transform: rotate(45deg);
  }
  .ravenfrost-mark::after { inset: 30%; border-color: var(--signal-hot); transform: rotate(0); box-shadow: 0 0 24px rgba(223,23,73,.2); }
  .ravenfrost-mark span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 900;
    font-style: italic;
  }
  .studio-lockup h1 { font-size: clamp(4.8rem, 11vw, 11.5rem); }
  .studio-lockup .lede { margin: 22px auto 30px; }
  .studio-lockup .btn-row { justify-content: center; }
  .studio-legal { margin-top: 38px; color: var(--muted); }
}

@layer responsive {
  @media (max-width: 1120px) {
    :root { --header-h: 68px; }
    .site-header { gap: 18px; }
    .primary-nav ul { gap: 16px; }
    .header-actions .utility-label { display: none; }
    .home-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .ride-layout { grid-template-columns: .72fr 1.28fr; gap: 28px; }
    .raven-layout { grid-template-columns: .82fr 1.18fr; }
  }

  @media (max-width: 900px) {
    body { overflow: hidden; }
    .site-header { grid-template-columns: auto 1fr auto; }
    .menu-toggle { display: grid; justify-self: end; }
    .header-actions { display: none; }
    .primary-nav {
      position: fixed;
      inset: var(--header-h) 0 var(--footer-h);
      z-index: 500;
      display: grid;
      place-items: center;
      background: rgba(2,3,8,.97);
      backdrop-filter: blur(16px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-12px);
      transition: opacity .25s, visibility .25s, transform .25s;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .primary-nav ul { display: grid; gap: 4px; width: min(320px, 82vw); }
    .nav-link { justify-content: space-between; min-height: 64px; font-family: var(--display); font-size: 1.5rem; font-weight: 700; border-bottom: 1px solid var(--line); }
    .nav-link::after { bottom: 0; }

    .screen { overflow-y: auto; overscroll-behavior: contain; }
    .screen-inner { min-height: 100%; height: auto; }
    .home-layout,
    .ride-layout,
    .raven-layout,
    .signal-layout { grid-template-columns: 1fr; }
    .home-layout { align-content: center; }
    .home-side { display: none; }
    .home-art::after { background: linear-gradient(90deg, rgba(2,3,8,.93), rgba(2,3,8,.26)), linear-gradient(0deg, rgba(2,3,8,.95), transparent 58%); }
    .title-mark__word { font-size: clamp(4.8rem, 17vw, 8rem); }

    .ride-layout { align-content: start; }
    .ride-copy h1 { font-size: clamp(3.8rem, 14vw, 7rem); }
    .qte-console { min-height: 520px; }

    .raven-layout { min-height: 0; align-content: start; }
    .raven-copy { padding-bottom: 10px; }
    .raven-copy h1 { font-size: clamp(5rem, 20vw, 9rem); }
    .raven-art { min-height: 620px; }
    .raven-art img { left: 50%; right: auto; width: min(82vw, 580px); height: 105%; transform: translateX(-50%); object-position: bottom center; }
    .raven-ring { left: 50%; width: min(80vw, 560px); transform: translateX(-50%); }

    .footage-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(520px, 1fr); }
    .media-rail { grid-template-rows: auto auto auto auto; }
    .media-list { grid-template-columns: repeat(3, 1fr); }
    .media-item { grid-template-columns: auto 1fr; min-height: 62px; }
    .media-item__type { display: none; }

    .signal-copy { max-width: 680px; }
    .signal-panel { margin-bottom: 10px; }
  }

  @media (max-width: 640px) {
    :root { --edge: 18px; --header-h: 62px; --footer-h: 46px; }
    .brand-mini strong { font-size: 1.15rem; }
    .brand-mini span { display: none; }
    .site-footer { grid-template-columns: 1fr auto; padding-inline: 14px; }
    .site-footer .footer-center { display: none; }
    .site-footer .footer-right { justify-self: end; }
    .screen-inner { padding-block: 26px; }
    .home-copy { padding-top: 3vh; }
    .home-tagline { font-size: 1.25rem; max-width: 360px; }
    .home-art img { object-position: 61% center; }
    .btn { min-height: 45px; padding-inline: 16px; }

    .format-strip { grid-template-columns: repeat(2, 1fr); }
    .qte-console { min-height: 470px; }
    .qte-controls { grid-template-columns: repeat(2, 1fr); }
    .qte-key { min-height: 54px; }

    .raven-jp { display: grid; gap: 7px; }
    .raven-jp::after { display: block; }
    .raven-art { min-height: 560px; }
    .raven-art img { width: min(105vw, 560px); }
    .profile-line span:not(:last-child)::after { display: none; }

    .footage-layout { grid-template-rows: auto 58svh; }
    .media-rail h1 { font-size: 4.2rem; }
    .media-list { grid-template-columns: 1fr; }
    .media-item { min-height: 48px; }
    .media-caption { left: 10px; right: 10px; bottom: 10px; padding: 11px 12px; }
    .media-caption strong { font-size: 1.1rem; }
    .media-view--character img { max-width: 92%; height: 95%; }

    .pipeline { grid-template-columns: repeat(5, minmax(58px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
    .pipeline-step span { display: none; }
    .signal-list li { grid-template-columns: 76px 1fr; gap: 10px; }
    .signal-list li > span { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .studio-lockup h1 { font-size: clamp(4.3rem, 19vw, 7rem); }
  }

  @media (max-height: 720px) and (min-width: 901px) {
    :root { --header-h: 62px; --footer-h: 44px; }
    .screen-inner { padding-block: 24px; }
    .home-tagline { margin-bottom: 16px; }
    .qte-console { min-height: 500px; }
    .raven-copy h1 { font-size: clamp(5.5rem, 11vw, 9rem); }
  }
}

@layer motion {
  @keyframes hero-breathe { from { transform: scale(1.035) translate3d(0,0,0); } to { transform: scale(1.07) translate3d(-.5%, -.5%, 0); } }
  @keyframes rain-fall { from { transform: translate3d(0,-4%,0); } to { transform: translate3d(-3%,4%,0); } }
  @keyframes qte-pulse { from { box-shadow: 0 0 18px rgba(223,23,73,.18), inset 0 0 20px rgba(255,255,255,.03); } to { box-shadow: 0 0 44px rgba(223,23,73,.5), inset 0 0 34px rgba(255,255,255,.08); } }
  @keyframes qte-timer { from { width: 100%; } to { width: 0; } }
  @keyframes qte-road-rush { 0% { transform: scale(1.03); filter: brightness(.82); } 55% { transform: scale(1.115); filter: brightness(1.08); } 100% { transform: scale(1.03); filter: brightness(.82); } }
  @keyframes qte-speed-streak { from { translate: 0 -10%; opacity: 0; } 18% { opacity: .75; } to { translate: 0 520%; opacity: 0; } }
  @keyframes qte-hit-left { 35% { transform: translateX(-18px) rotate(-1.5deg); } }
  @keyframes qte-hit-right { 35% { transform: translateX(18px) rotate(1.5deg); } }
  @keyframes qte-hit-brake { 40% { transform: translateY(10px) scale(.96); filter: saturate(.65); } }
  @keyframes qte-hit-boost { 40% { transform: scale(1.075); filter: brightness(1.28); } }
  @keyframes qte-miss-shake { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
  @keyframes vt-out { to { opacity: 0; transform: scale(.99); } }
  @keyframes vt-in { from { opacity: 0; transform: scale(1.01); } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
    .page-wipe { display: none; }
  }
}

/* Compact desktop pass for common 1366×768 and similar displays. */
@media (max-height: 820px) and (min-width: 901px) {
  .ride-copy h1 {
    margin-block: 10px 14px;
    font-size: clamp(3.9rem, 6.8vw, 5.85rem);
  }
  .ride-copy .lede { font-size: .95rem; line-height: 1.48; }
  .format-strip { margin-top: 15px; }
  .format-strip div { padding: 8px 8px; }
  .format-strip span { font-size: .66rem; line-height: 1.25; }
  .qte-console { min-height: 500px; }
  .raven-copy h1 { margin-block: 8px 2px; font-size: clamp(5rem, 10vw, 8rem); }
  .raven-jp { margin-bottom: 16px; }
  .raven-quote { margin-top: 18px; padding-block: 14px; }
}
