/* ==========================================================================
   YOUEST — style.css (REV 4.3: REV 4 "PLAY" + the REV 4.3 business section)
   The DOM is (1) the layout the mirror copies into the canvas and (2) the
   complete DOM-mode fallback. Mirror rules (spec §3): no transforms /
   animations / sticky / gradients / shadows / pseudo-element text on content,
   square corners, decorative lines are real elements. Cut corners, slashes and
   night surfaces of [data-gl-surface] elements are canvas-drawn in gl / 2d;
   anything decorative that only exists in DOM mode lives under
   `html:not([data-render])` or in `.dom-only` / `.fig-fallback`.
   ========================================================================== */

@font-face {
  font-family: Archivo;
  src: url("assets/fonts/archivo-black-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #f7f5ef;
  --paper-2: #efece4;
  --ink: #292826;
  --ink-2: #5d5953;
  --mute: #a39d94;
  --rule: rgba(41, 40, 38, .16);
  --rule-2: rgba(41, 40, 38, .34);
  --orange: #ff7a18;
  /* small orange text on paper: 4.97:1 on --paper, 4.59:1 on --paper-2 (AA) */
  --orange-ink: #b24a08;
  --bezel: #e9e5dc;

  /* night: the dark game surface ([data-tone=dark] sections, mission panels, squad cards) */
  --night: #141312;
  --night-2: #1e1c1a;
  --night-3: #2a2724;
  --night-rule: rgba(247, 245, 239, .14);
  --night-rule-2: rgba(247, 245, 239, .3);
  --night-mute: #8f8a82;   /* labels on night: 5.3:1 on --night, 4.8:1 on --night-2 */
  --night-ink-2: #cdc8be;  /* secondary text on night (≥ 10:1) */

  --ud-paper: #fbf6ee;
  --ud-paper-2: #f4ebdd;
  --ud-ink: #1e1611;
  --ud-ink-2: #4a3d33;
  --ud-mute: #7a6a5c;
  --ud-orange: #cf5a16;
  --ud-orange-ink: #af4c13;
  --ud-envelope: #e25d23;
  --ud-rule: rgba(30, 22, 17, .16);

  --f-display: Archivo, "Arial Black", Arial, sans-serif;
  --f-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Arial, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --f-mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;

  /* type scale */
  /* display-XL: the minimum shrinks below 84px only when "Contact" (3.85em) would not fit (320px / 400% zoom) */
  --t-xl: clamp(min(84px, calc((100vw - 2 * var(--pad)) / 3.95)), 17vw, 300px);
  --t-l: clamp(56px, 9vw, 150px);
  --t-m: clamp(34px, 5vw, 76px);
  /* hero: DELIVERED. is 5.95em wide, so 14vw always fits inside the side padding (40px floor: 320px reflow) */
  --t-hero: clamp(40px, min(14vw, 24svh), 236px);

  /* layout */
  --pad: clamp(22px, 5vw, 88px);
  --gap: 16px;
  --hdr: 72px;
  --section-y: clamp(96px, 11vw, 176px);
  --tap: 48px;
}

@media (min-width: 700px) {
  :root { --gap: 24px; --hdr: 80px; --t-l: clamp(64px, 10vw, 110px); }
}
@media (min-width: 900px) {
  :root { --pad: clamp(56px, 5vw, 88px); } /* the HUD minimap never touches content */
}
@media (min-width: 1100px) {
  :root { --t-l: clamp(56px, 9vw, 150px); }
}
/* Phones: the hero title fills the content width; display type stays big without side-scrolling at 320px. */
@media (max-width: 699px) {
  :root {
    --t-hero: clamp(40px, min(calc((100vw - 2 * var(--pad)) / 5.96), 24svh), 120px);
    --t-l: min(18vw, calc((100vw - 2 * var(--pad)) / 4.4));
  }
}
/* Short landscape screens (phones on their side): slimmer fixed chrome. */
@media (max-height: 500px) {
  :root { --hdr: 56px; }
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* anchors and keyboard focus land clear of the fixed header (top) and the HUD status line (bottom) */
  scroll-padding-top: calc(var(--hdr) + 16px);
  scroll-padding-bottom: 56px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.95 var(--f-sans);
  letter-spacing: .02em;
  /* Japanese kinsoku: no line may start with ー or small kana */
  line-break: strict;
  /* keep CJK glyph positions identical to canvas fillText (mirror draws per glyph) */
  text-spacing-trim: space-all;
  text-autospace: no-autospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; }
/* Japanese: break headings and short lead texts at phrase boundaries (a phrase wider than its box may
   still break anywhere rather than overflow), avoid one-character last lines in text */
h1, h2, h3, h4, .section-jp, .hero-lead, .ud-lead, .contact-flow li, .about-pull, .ud-feature-name, .ud-step-name, .faq-question,
.hero-sub, .section-intro, .cta-text, .contact-lead, .module-cta, .ud-feature-text, .ud-text, .form-note,
.contact-topic, .contact-after p, .section-next, .live-text, .mc-name, .mc-line, .mission-lead, .case-list li,
.service-tiles strong, .service-tiles li > span:last-child, .mn-name, .why-proof-text, .check-name, .member-name, .mission-proof {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
p, li, dd { text-wrap: pretty; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
button, a, summary, label { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
b, strong { font-weight: 700; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 3px; } /* ≥ 3:1 on paper */
.menu-panel :focus-visible, .menu-open .site-header :focus-visible { outline-color: var(--ink); }
[data-tone="dark"] :focus-visible { outline-color: var(--orange); }

#screen {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

main, .site-footer { position: relative; z-index: 1; }
/* (anchor offsets come from html { scroll-padding-top }, which also keeps Shift+Tab focus clear of the header)
   A jump to a section lands on its label row, 40px under that line: the section's own top padding and the
   previous section's last row (e.g. the process CTA) stay hidden under the header instead of peeking out. */
main > .section[id] { scroll-margin-top: calc(40px - var(--section-y)); }

/* Visually hidden, still read by screen readers (the mirror skips this clip pattern). */
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.nowrap { white-space: nowrap; }

/* Skip link: real DOM in every mode ([data-gl-live]), shown below the header while focused. */
.skip-link {
  position: fixed;
  top: calc(var(--hdr) + 12px);
  left: var(--pad);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 3. Render modes (spec §3, verbatim) -------------------------- */
html.gl-hide body *:not(#screen):not([data-gl-live]):not([data-gl-live] *) {
  color: transparent !important; -webkit-text-stroke-color: transparent !important; text-shadow: none !important;
  background-color: transparent !important; border-color: transparent !important; box-shadow: none !important;
  outline-color: transparent !important; caret-color: transparent; }
html.gl-hide img { opacity: 0 !important; }
html.gl-hide ::selection { background: transparent; color: transparent; } /* mirror.js draws the highlight through the lens */
html[data-render] *, html[data-render] *::before, html[data-render] *::after { transition: none !important; animation: none !important; }
html.lens-cursor, html.lens-cursor * { cursor: none !important; }        /* fine pointer in gl/2d: HUD draws the reticle */
html.lens-cursor [data-gl-live], html.lens-cursor [data-gl-live] * { cursor: auto !important; }
/* Visitors who ask the OS for more contrast (or forced colours) keep their own pointer; the reticle and
   lock-on brackets still draw on top of it, at the same spot. */
@media (prefers-contrast: more), (forced-colors: active) {
  html.lens-cursor, html.lens-cursor * { cursor: auto !important; }
  html.lens-cursor :is(a[href], button, label, summary, select, [data-hover]),
  html.lens-cursor :is(a[href], button, label, summary, select, [data-hover]) * { cursor: pointer !important; }
}

/* REV 4: a canvas module paints these surfaces in gl / 2d (so its art can sit between the surface and
   the mirrored text); in DOM mode CSS paints them as usual. */
html[data-render] [data-gl-surface] { background-color: transparent !important; border-color: transparent !important; }

/* Things that only exist in DOM mode (the canvas draws them otherwise). */
html[data-render] .dom-only,
html[data-render] .fig-fallback { display: none !important; }
/* Things that only make sense when the canvas engine runs. */
html:not([data-render]) [data-lens-toggle],
html:not([data-render]) #replay-logo { display: none !important; }
html:not([data-render]) .hero-hint { visibility: hidden; }

html:not(.gl-hide) ::selection { background: rgba(255, 122, 24, .3); color: var(--ink); }
[data-tone="dark"] ::selection { color: var(--paper); }
/* Start-up hold (inline <head> script; site.js drops html.wipe-hold on the first canvas frame, on any
   fallback to DOM mode, and the script itself after 4 s). Until then the page shows what that first
   frame will show, so the flat DOM never flashes: blank paper (a boot or the page follows), or after a
   cross-page wipe the orange cover with its seams and label. With the lens on, the script also computes
   the lens's screen outline: ::before is the bezel with its edge line (--hold-frame), ::after the screen
   cut to that outline (--hold-screen). Pseudo-elements on <html> are never mirrored. */
html.wipe-hold::before,
html.wipe-hold::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
}
html.wipe-hold::before { background: var(--hold-frame, none) 0 0 / 100% 100% no-repeat, var(--bezel); }
html.wipe-hold::after { background: var(--paper); clip-path: var(--hold-screen, none); }
html.wipe-hold[data-hold="wipe"]::after {
  content: attr(data-hold-label);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px calc(-2 * var(--hold-label-dx, 0px)) 0 0;
  background:
    linear-gradient(rgba(41, 40, 38, .22), rgba(41, 40, 38, .22)) 0 33.333% / 100% 1px no-repeat,
    linear-gradient(rgba(41, 40, 38, .22), rgba(41, 40, 38, .22)) 0 66.667% / 100% 1px no-repeat,
    var(--orange);
  color: var(--ink);
  font: 400 12px/1 var(--f-mono);
  letter-spacing: .2em;
  white-space: pre;
}
/* The page stays still under the open menu (gutter kept so the layout width does not change). */
html { scrollbar-gutter: stable; }
html.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html:not([data-render]) { scroll-behavior: smooth; }
}

/* ---------- 4. Shared type & tone ------------------------------------------ */
.display-xl, .display-l, .display-m {
  font-family: var(--f-display);
  font-weight: 400;
  font-synthesis: none;
}
.display-xl { font-size: var(--t-xl); line-height: .86; letter-spacing: -.07em; }
.display-l { font-size: var(--t-l); line-height: .9; letter-spacing: -.06em; }
.display-m { font-size: var(--t-m); line-height: 1; letter-spacing: -.05em; }
/* one long word ("Questions." is 5.23em): shrink with the column instead of breaking inside the word */
.display-l--wide { font-size: min(var(--t-l), calc((100vw - 2 * var(--pad)) / 5.3)); }

.mono, .section-label, .mission-tag, .mc-role, .step-num, .why-proof-row, .live-tag, .ab-key,
.hero-flow, .hero-hint, .hero-code-label, .hero-index, .cta-mail, .downloads a, .member-role,
.menu-eyebrow, .menu-foot, .footer-legal, .contact-flow .flow-num, .direct-label, .legend-en,
.form-status, .fig-tag, .faq-q, .ud-step-num, .ud-now, .page-enacted, .prose-num, .squad-title-en {
  font-family: var(--f-mono);
  letter-spacing: .14em;
}

/* Night sections: dark game surface, paper text. In gl / 2d the ambient module paints the surface
   ([data-gl-surface]), in DOM mode this background does. */
[data-tone="dark"] {
  background-color: var(--night);
  color: var(--paper);
}

.section-label {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 24px;
  padding-top: 18px;
  border-top: 1px solid transparent; /* coloured in DOM mode; sections.js draws it in GL */
  font-size: 12px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink);
}
.section-label > :last-child { color: var(--ink-2); }
[data-tone="dark"] .section-label { color: var(--paper); }
[data-tone="dark"] .section-label > :last-child { color: var(--orange); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 64px;
  margin-top: clamp(40px, 5vw, 80px);
}
.section-head h2 { flex: 0 1 auto; }
.section-head-side {
  flex: 0 1 29em;
  min-width: min(100%, 300px);
  padding-bottom: .4em;
}
.section-jp {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
}
.section-intro {
  margin-top: 16px;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 15px;
}
[data-tone="dark"] .section-intro { color: var(--night-ink-2); }

/* ---------- 5. Buttons & links (game-style, mirror-safe) ------------------ */
/* Primary: a solid orange block, ink text, the EN word in Archivo; a real 1px frame element 4px outside
   (.btn-frame) and a small square notch element in its corner (.btn-notch). Hover (DOM :hover, gl
   .is-hover) = ink fill + paper text. The canvas adds slashes / sweeps in gl. */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 26px 0 28px;
  background: var(--orange);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  white-space: nowrap;
}
.btn-frame {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--ink);
  pointer-events: none;
}
.btn-notch {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  background: var(--ink);
  pointer-events: none;
}
.cta-en { font: 400 15px/1 var(--f-display); letter-spacing: .02em; }
.cta-arrow { font-size: 17px; line-height: 1; }
.cta-tail { display: inline-flex; align-items: center; gap: 14px; }

.cta-button--xl {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 760px;
  min-height: clamp(88px, 9vw, 128px);
  padding: 0 clamp(22px, 3vw, 40px);
  font-size: clamp(18px, 1.6vw, 22px);
}
.cta-button--xl .cta-en {
  font: 400 clamp(26px, 3.4vw, 48px)/1 var(--f-display);
  letter-spacing: -.04em;
}
.cta-button--xl .cta-arrow { font-size: clamp(22px, 2.6vw, 36px); }
.cta-button--xl .cta-tail { gap: clamp(12px, 1.6vw, 22px); }
.cta-button--xl .btn-frame { inset: -7px; }
.cta-button--xl .btn-notch { width: 12px; height: 12px; }

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 0 7px; /* 48px target */
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
}

/* Per-service contact button (.module-cta stays the class the calm-zone selector knows) */
.module-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 24px 0 22px;
  background: var(--orange);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
}
.module-cta .cta-arrow { font-size: 17px; }

.line-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .04em;
}

/* Small inline text links keep their look but get a 48px-tall hit area: an empty pseudo box (part of the
   link for hit testing in DOM mode and for the lens's elementFromPoint; invisible to the mirror). */
.company a, .cta-mail a, .prose .contact-lines a, .biz-info a { position: relative; }
.company a::after, .cta-mail a::after, .prose .contact-lines a::after, .biz-info a::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 48px;
  margin-top: -24px;
}

/* Next step toward contact at the end of a reading section (WHY, FAQ). */
.section-next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin-top: clamp(28px, 3vw, 44px);
  font-size: 14px;
  color: var(--ink-2);
}

/* LIVE chips (hero, software mission, WHY): a real square dot + an ink tag. */
.live-dot { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--orange); }
.live-tag {
  display: inline-block;
  flex: none;
  padding: 3px 7px 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .2em;
}

/* ---------- 6. Header ----------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--hdr);
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: var(--paper); border-bottom-color: var(--rule); }
html.menu-open .site-header { background: transparent; border-bottom-color: transparent; }

.brand {
  display: block;
  flex: none;
  width: clamp(104px, 10vw, 150px);
  margin-right: auto;
  padding: 10px 0;
}
.brand img { width: 100%; }
/* on the orange menu the orange U would vanish: swap to the ink logo */
.brand-mono { display: none !important; }
html.menu-open .brand-color { display: none !important; }
html.menu-open .brand-mono { display: block !important; }

.site-nav { display: none; margin-right: 12px; }
.site-nav a {
  display: block;
  padding: 16px clamp(10px, 1.1vw, 16px);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .2em;
}
.site-nav a[aria-current] { color: var(--orange-ink); }

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--tap);
  padding: 0 16px;
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}
.header-cta .btn-notch { width: 5px; height: 5px; }
html.menu-open .header-cta { background: var(--ink); color: var(--paper); }
html.menu-open .header-cta .btn-notch { background: var(--orange); }

.menu-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--rule-2);
}
.menu-toggle-icon { display: grid; gap: 6px; }
.menu-toggle-icon i { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu-toggle-icon i:last-child { width: 12px; justify-self: end; }
.menu-toggle-close { display: none; font: 300 26px/1 var(--f-sans); margin-top: -3px; }
.menu-toggle[aria-expanded="true"] { border-color: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: block; }

@media (min-width: 700px) {
  .header-cta { padding: 0 22px; }
}
@media (min-width: 900px) {
  .site-nav { display: flex; }
}

/* ---------- 7. Menu ------------------------------------------------------- */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  padding: calc(var(--hdr) + clamp(16px, 4svh, 48px)) var(--pad) clamp(24px, 4svh, 40px);
  background: var(--orange);
  color: var(--ink);
  /* the page is scroll-locked under the menu: on very short screens the panel itself scrolls */
  overflow-y: auto;
  overscroll-behavior: contain;
  --menu-size: clamp(44px, min(9vw, calc((100svh - 340px) / 6.6)), 150px);
}
.menu-eyebrow { font-size: 12px; letter-spacing: .24em; }
.menu-links { margin-top: clamp(16px, 3svh, 32px); border-top: 1px solid var(--rule-2); }
.menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: .1em 0 .04em;
  border-bottom: 1px solid var(--rule-2);
  font: 400 var(--menu-size)/1.02 var(--f-display);
  letter-spacing: -.06em;
}
.menu-num { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; }
.menu-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
}
.menu-mail { display: inline-flex; align-items: center; min-height: var(--tap); letter-spacing: .14em; }
.lens-toggle {
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid currentColor;
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .18em;
}

@media (max-width: 699px) {
  .menu-panel { --menu-size: clamp(40px, min(14.6vw, calc((100svh - 280px) / 7)), 64px); }
  .menu-links a { padding: .16em 0 .1em; }
}

/* Short landscape screens: the six links + footer row fit without scrolling (two columns of three). */
@media (max-height: 500px) {
  .menu-panel {
    padding: calc(var(--hdr) + 8px) var(--pad) 12px;
    --menu-size: clamp(26px, 11svh, 48px);
  }
  .menu-links { margin-top: 8px; }
  .menu-links a { align-items: center; min-height: 44px; padding: 0; }
  .menu-foot { padding-top: 10px; }
}
@media (max-height: 500px) and (min-width: 560px) {
  .menu-links {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    column-gap: var(--gap);
  }
}

/* ---------- 8. Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  /* DOM-mode art (bands, slashes, the U) may run past the edges; never a sideways scroll */
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: max(640px, 100svh);
  padding: calc(var(--hdr) + clamp(32px, 6svh, 72px)) var(--pad) clamp(64px, 9svh, 88px);
}

/* Keep native content near the top even in very tall viewports/captures: the
   flex item's auto margins must not turn an expanded viewport into blank space.
   This caps only the minimum; longer content can still grow naturally. */
html:not([data-render]) .hero { min-height: max(640px, min(100svh, 1100px)); }

.hero-main {
  position: relative;
  margin: auto 0;
  padding-bottom: 24px;
}

/* 01 / 08: an ink chip with the section number + the total, above the title */
.hero-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(14px, 2.2svh, 24px);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .2em;
  color: var(--ink-2);
}
.hero-index-num {
  padding: 3px 7px 2px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: .14em;
}

.hero-code {
  position: absolute;
  top: calc(var(--hdr) + 20px);
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero-code-num {
  font: 400 clamp(36px, 4.4vw, 64px)/.9 var(--f-display);
  letter-spacing: -.04em;
  color: var(--orange);
}
.hero-code-rule { display: block; width: 44px; height: 2px; margin: 14px 0 10px; background: var(--orange); }
.hero-code-label { font-size: 10px; line-height: 1.4; letter-spacing: .22em; color: var(--orange-ink); }

.hero-title-wrap { position: relative; }
.hero-title {
  position: relative;
  z-index: 1;
  margin-left: -.04em;
  font: 400 var(--t-hero)/.86 var(--f-display);
  font-synthesis: none;
  letter-spacing: -.07em;
}
.hero-title span { display: block; white-space: nowrap; }
/* At .86 leading the comma's tail (.18em below the baseline) touched the cap of the E below and read as
   "DELIVÉRED". Lift it clear without moving anything else (relative offset: mirror and Range-safe;
   an <i>, not a <span>, because hero.js takes the title's lines from h1 span). */
.hero-comma { position: relative; top: -.09em; font-style: normal; }
/* The lift alone still left the tail hovering over the E like an accent at desktop sizes; open the
   second line a touch so the comma clearly belongs to IDEAS. */
.hero-title span + span { margin-top: .07em; }

.hero-lead {
  position: relative;
  margin-top: clamp(24px, 3.4svh, 40px);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}
.hero-sub {
  position: relative;
  max-width: 36em;
  margin-top: 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.95;
}

/* LIVE chip: the hotel tools that already run — the headline proof, one tap from the software mission */
.hero-live {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: var(--tap);
  margin-top: clamp(16px, 2.4svh, 26px);
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .04em;
}
.live-text { min-width: 0; }
.live-arrow { flex: none; margin-left: 2px; font-size: 15px; line-height: 1; }

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
  margin-top: clamp(22px, 3.2svh, 36px);
}

.hero-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 40px;
}
.hero-flow { font-size: 11px; letter-spacing: .24em; color: var(--ink); }
.hero-flow .sep { color: var(--mute); padding: 0 .5em; }
.hero-hint { font-size: 10px; letter-spacing: .2em; color: var(--ink-2); }
.hero-hint-key { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hero-hint-key { display: inline; }
}

@media (min-width: 900px) {
  .hero-sub { font-size: 16px; }
}

/* Viewports up to 900px tall (laptops, most phones): a tighter vertical rhythm so the last hero line ends
   well above the bottom bezel and the HUD status line; on short desktops the title also follows svh. */
@media (max-height: 900px) {
  .hero { padding-top: calc(var(--hdr) + clamp(16px, 3svh, 40px)); }
  .hero-main { padding-bottom: 12px; }
  .hero-lead { margin-top: 16px; }
  .hero-sub { margin-top: 8px; line-height: 1.8; }
  .hero-live { margin-top: 14px; }
  .hero-actions { margin-top: 18px; }
}
@media (min-width: 900px) and (max-height: 820px) {
  :root { --t-hero: clamp(40px, min(14vw, 20svh), 236px); }
  .hero-index { margin-bottom: 10px; }
  /* the title sits higher here: the DOM-mode band stops short of "00 / DELIVERY SYSTEM" (the GL band does too) */
  .hero-title-wrap .hero-band { width: calc(100vw - var(--pad) - 150px); }
}
@media (min-width: 900px) and (max-height: 700px) {
  :root { --t-hero: clamp(40px, min(14vw, 18svh), 236px); }
  .hero-sub { line-height: 1.7; }
}

/* DOM-mode hero art: the band, a slash stack and the U the hero scene draws in GL. */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-band {
  position: absolute;
  z-index: 0;
  /* centred on line 1's baseline (.765em), height .85 × cap height (.688em) */
  top: calc(var(--t-hero) * .4725);
  left: calc(var(--pad) * -1);
  width: calc(95vw);
  height: calc(var(--t-hero) * .585);
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--t-hero) * .585) 100%, 0 100%);
}
/* three thin 45° bands behind the right half of the title (DOM mode only). They start below the
   "00 / DELIVERY SYSTEM" mark and stay inside the hero's right edge (the hero clips its x overflow). */
.hero-slash {
  --sh: calc(var(--t-hero) * 1.62);
  position: absolute;
  z-index: 0;
  top: calc(var(--t-hero) * .3);
  right: calc(var(--pad) * -1);
  width: 46%;
  height: var(--sh);
  pointer-events: none;
}
.hero-slash i {
  /* a parallelogram leaning 45° to the right: its foot is the full height left of its head */
  --bw: 10px;
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--sh) + var(--bw));
  background: var(--orange);
  clip-path: polygon(calc(100% - var(--bw)) 0, 100% 0, var(--bw) 100%, 0 100%);
}
.hero-slash i:nth-child(1) { right: calc(18% + 40px); }
.hero-slash i:nth-child(2) { right: calc(18% + 18px); --bw: 5px; }
.hero-slash i:nth-child(3) { right: 18%; --bw: 14px; }
.hero-u {
  position: absolute;
  right: calc(var(--pad) * .4);
  bottom: -11%;
  width: clamp(240px, 34vw, 560px);
  overflow: visible;
}
.u-line { fill: none; stroke: var(--orange); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.u-drop { fill: var(--orange); }

/* ---------- 9. Sections --------------------------------------------------- */
.section { padding: var(--section-y) var(--pad) 0; }
.section h2.display-l, .section h2.display-m { font-weight: 400; }

/* --- Business (night): REV 4.3 — one idea per row, generous space ---
   head   : the big two-line "What we deliver." + the JP line and intro
   roster : desktop 5 big cards in one row · tablet 5 compact cards · phones a 5-row menu list
   panel  : row 1 intro | figure (desktop 42 / 58; tablet + phones stacked: tag, h3, lead, figure, body,
            proof, contact) · row 2 できること (tiles) · row 3 こんなときに · row 4 previous / next
   dock   : fixed under the header while a panel is read (missions.js shows it; hidden in the markup)
   Surfaces of [data-gl-surface] (roster cards, night panels, service tiles, the dock) are canvas-drawn in
   gl / 2d; CSS paints them in DOM mode. Reading areas carry no ornaments. */
.business {
  position: relative;
  padding-bottom: clamp(72px, 8vw, 128px);
  --dock: 52px;  /* the fixed dock's height */
  --row: 40px;   /* space between the panel's rows */
}
.business .section-head h2,
.business .section-jp { color: var(--paper); }
.business-title { white-space: nowrap; }
.business-intro {
  flex: 0 1 30em;
  min-width: min(100%, 300px);
  padding-bottom: .3em;
}
.business .section-intro { font-size: 16px; line-height: 1.9; }

/* phones: the select block runs a little wider than the text column (16px screen margins) */
.mission-select { margin: 40px calc(16px - var(--pad)) 0; }

/* ── roster ── phones: a vertical menu of 5 rows (number · name + one line · arrow) */
.mission-roster { display: grid; gap: 6px; }
.mission-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  grid-template-areas: "num name go" "num line go";
  align-items: center;
  column-gap: 12px;
  min-height: 70px;
  padding: 10px 16px 10px 14px;
  background: var(--night-2);
  border: 1px solid var(--night-3);
  color: var(--paper);
}
.mc-num {
  grid-area: num;
  font: 400 30px/.9 var(--f-display);
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--orange);
}
.mc-name { grid-area: name; align-self: end; font-size: 15.5px; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
.mc-line { grid-area: line; align-self: start; font-size: 12.5px; line-height: 1.55; color: var(--night-ink-2); }
.mc-go { grid-area: go; justify-self: end; font-size: 16px; line-height: 1; color: var(--orange); }
.mc-role {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .2em;
  color: var(--orange);
}
.mc-role, .mc-short { display: none; }

/* selected (missions.js sets aria-selected): ink on orange — the orange fill is canvas-drawn in gl */
.mission-card[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.mission-card[aria-selected="true"] .mc-num { -webkit-text-stroke-color: var(--ink); }
.mission-card[aria-selected="true"] :is(.mc-line, .mc-role) { color: var(--ink); }
.mission-card[aria-selected="true"] .mc-go { visibility: hidden; }
.mission-card[aria-selected="true"]:focus-visible { outline-color: var(--ink); }

/* ── panels: all five ship visible (no JS = a readable stack); missions.js hides the others ── */
.mission {
  position: relative;
  /* Room for the selected card's indicator, and the geometry the dock relies on: a jump puts the panel
     top 16px under header + dock, which must leave the roster fully above the header's bottom edge
     (missions.js shows the dock only then), so this gap is at least dock + 16px. */
  margin-top: calc(var(--dock) + 20px);
  /* #m-<id> jumps land just under the header (html scroll-padding: header + 16px) and the dock */
  scroll-margin-top: var(--dock);
}
/* (hidden panels still count as siblings: only space out panels that are actually shown) */
.mission:not([hidden]) ~ .mission:not([hidden]) { margin-top: 32px; }
.mission:not(.mission--unidrop) {
  padding: 28px 20px 32px;
  background: var(--night-2);
  border: 1px solid var(--night-3);
  color: var(--paper);
}

/* row 1 — phones / tablet: one column in reading order (the intro box dissolves so the figure can sit
   between the lead and the body); desktop: intro | figure */
.mission-top { display: flex; flex-direction: column; align-items: flex-start; }
.mission-intro { display: contents; }
.mission-top .ud-head, .mission-top .mission-tag { order: 1; }
.mission-top h3 { order: 2; }
.mission-top .mission-lead { order: 3; }
.mission-top > .fig { order: 4; }
.mission-top .mission-body { order: 5; }
.mission-top .mission-proof { order: 6; }
.mission-top .mission-cta { order: 7; }
.mission-top .ud-links { order: 8; }

.mission-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .16em;
}
.mission-num {
  font: 400 30px/.9 var(--f-display);
  letter-spacing: -.04em;
  color: var(--orange);
}
.mission-en { color: var(--paper); }
.mission-role {
  padding: 3px 8px 2px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 10px;
  line-height: 1.4;
}
.mission h3 {
  margin-top: 18px;
  font-size: clamp(30px, 8.4vw, 34px);
  line-height: 1.35;
  letter-spacing: .02em;
}
.mission-lead {
  margin-top: 10px;
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .05em;
}
.mission-top > .fig { flex: none; margin-top: 24px; aspect-ratio: 4 / 3; }
.mission-body {
  max-width: 34em;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--paper);
}
.mission-proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 24px;
  padding: 7px 14px;
  border: 1px solid var(--night-rule-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}
.mission-proof .live-tag { background: var(--orange); color: var(--ink); }
.mission-cta {
  align-self: stretch;
  justify-content: space-between;
  min-height: 56px;
  margin-top: 28px;
  font-size: 15px;
}
/* contact button on night: orange block, a mute frame; hover = paper fill */
.mission .btn-frame { border-color: var(--night-mute); }

/* rows 2 + 3: a heading (EN micro label over the JP word), then the content */
.mission-services, .mission-cases { margin-top: var(--row); }
.mission-services h4, .mission-cases h4 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: .06em;
}
.h4-en {
  font: 500 11px/1.5 var(--f-mono);
  letter-spacing: .24em;
  color: var(--orange);
}

/* できること: tiles (phones: one per row, key box left of the text) */
.service-tiles { display: grid; gap: 10px; margin-top: 18px; }
.service-tiles li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-areas: "key name" "key desc";
  align-items: center;
  column-gap: 16px;
  padding: 18px 20px;
  background: var(--night);
  border: 1px solid var(--night-rule);
}
.ab-key {
  grid-area: key;
  align-self: start;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
}
.service-tiles strong { grid-area: name; font-size: 17px; line-height: 1.5; letter-spacing: .04em; }
.service-tiles li > span:last-child { grid-area: desc; margin-top: 2px; font-size: 14.5px; line-height: 1.65; color: var(--night-ink-2); }

/* こんなときに: quiet statements with small orange markers */
.case-list { margin-top: 14px; }
.case-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--night-rule);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .03em;
}
.case-list li:last-child { border-bottom: 1px solid var(--night-rule); }
.case-mark { flex: none; width: 8px; height: 8px; margin-top: .66em; background: var(--orange); }

/* row 4: previous / next (wrap around) */
.mission-nav { display: grid; gap: 8px; margin-top: var(--row); }
.mission-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid var(--night-rule-2);
  color: var(--paper);
}
/* number + name; "次の事業" sits on its own line above them until desktop */
.mn-body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 10px;
  min-width: 0;
}
.mn-dir { flex: none; font-size: 18px; line-height: 1; color: var(--orange); }
.mn-num { flex: none; font: 400 18px/1 var(--f-display); letter-spacing: -.02em; color: var(--orange); }
.mn-label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; color: var(--night-mute); }
.mn-name { min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }

/* --- Mission 05: UniDrop panel ("Campus Almanac", light, drawn by the mirror), same rows --- */
.mission--unidrop {
  padding: 28px 20px 32px;
  background: var(--ud-paper);
  color: var(--ud-ink);
  border-top: 4px solid var(--ud-orange);
}
.ud-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  align-self: stretch;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ud-rule);
}
.unidrop-logo { width: auto; height: clamp(30px, 2.8vw, 40px); }
.mission--unidrop .mission-tag { color: var(--ud-ink); }
.mission--unidrop .mission-num { color: var(--ud-orange-ink); }
.mission--unidrop .mission-en { color: var(--ud-ink-2); }
.mission--unidrop .mission-role { border-color: var(--ud-orange-ink); color: var(--ud-orange-ink); }
.mission--unidrop h3 {
  font-size: clamp(19px, 5.4vw, 22px);
  line-height: 1.55;
  letter-spacing: .05em;
  color: var(--ud-ink-2);
}
.ud-lead {
  margin-top: 6px;
  font: 700 clamp(28px, 8vw, 32px)/1.45 var(--f-mincho);
  letter-spacing: .04em;
  color: var(--ud-ink);
}
.mission--unidrop .mission-body { color: var(--ud-ink-2); }
.mission--unidrop .mission-proof { border-color: rgba(30, 22, 17, .3); }
.mission--unidrop .mission-proof .live-dot { background: var(--ud-orange); }
.mission--unidrop .mission-proof .live-tag { background: var(--ud-ink); color: var(--ud-paper); }
.mission--unidrop .module-cta { background: var(--ud-ink); color: var(--ud-paper); }
.mission--unidrop .btn-frame { border-color: var(--ud-ink); }
.mission--unidrop .btn-notch { background: var(--ud-envelope); }
.ud-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 12px; }
.ud-links a { color: var(--ud-ink); }

.mission--unidrop .h4-en { color: var(--ud-orange-ink); }
.ud-features li { background: var(--ud-paper-2); border-color: var(--ud-rule); }
.ud-features .ab-key { border-color: var(--ud-orange-ink); color: var(--ud-orange-ink); }
.ud-features strong { font-family: var(--f-mincho); color: var(--ud-ink); }
.mission--unidrop .service-tiles li > span:last-child { color: var(--ud-ink-2); }

.ud-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(12px, 2vw, 24px);
  margin-top: 18px;
}
.ud-roadmap li { display: grid; align-content: start; gap: 2px; }
.ud-bar { display: block; height: 4px; margin-bottom: 10px; background: var(--ud-rule); }
.ud-bar-fill { display: block; width: 0; height: 100%; background: var(--ud-orange); }
.ud-roadmap .is-done .ud-bar-fill { width: 100%; }
.ud-roadmap [aria-current] .ud-bar-fill { width: 50%; }
.ud-step-num { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.6; color: var(--ud-orange-ink); }
.ud-now {
  padding: 2px 6px 1px;
  background: var(--ud-orange-ink);
  color: var(--ud-paper);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .18em;
}
.ud-step-name { font: 700 clamp(15px, 1.3vw, 18px)/1.5 var(--f-mincho); letter-spacing: .02em; }
.ud-roadmap li:not(.is-done):not([aria-current]) .ud-step-name { color: var(--ud-ink-2); }

.mission--unidrop .mission-nav a { border-color: rgba(30, 22, 17, .3); color: var(--ud-ink); }
.mission--unidrop :is(.mn-dir, .mn-num) { color: var(--ud-orange-ink); }
.mission--unidrop .mn-label { color: var(--ud-mute); }

/* ── dock: fixed directly under the header (z above the page content, below the header and the
   menu); missions.js shows it while the roster is scrolled away and a panel is still on screen ── */
.mission-dock {
  position: fixed;
  top: var(--hdr);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  height: var(--dock);
  padding: 0 8px;
  background: var(--night);
  border-bottom: 1px solid var(--night-rule-2);
  color: var(--paper);
}
/* the mirror paints fixed content in DOM order (the dock after the menu): keep it out of the open menu */
html.menu-open .mission-dock { visibility: hidden; }
.dock-item {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 48px;
  padding: 0 4px;
  white-space: nowrap;
}
.dock-num { font: 500 10px/1 var(--f-mono); letter-spacing: .12em; color: var(--orange); }
.dock-name { font-size: 10.5px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.dock-item[aria-current="true"] { background: var(--orange); color: var(--ink); }
.dock-item[aria-current="true"] .dock-num { color: var(--ink); }
.dock-cta {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 0 12px;
  border-left: 1px solid var(--night-rule-2);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}
.dock-arrow { font-size: 14px; line-height: 1; }
/* small phones: the five items take the whole bar (contact stays one tap away in the header) */
@media (max-width: 399px) {
  .dock-cta { display: none; }
}
@media (max-width: 349px) {
  .mission-dock { padding: 0 4px; }
  .dock-name { font-size: 10px; }
}

/* ── tablet (700–1099): 5 compact cards in a row; the panel stays one column ── */
@media (min-width: 700px) {
  .business { --row: 52px; --dock: 48px; }
  .mission-select { margin: 56px 0 0; }

  .mission-roster { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .mission-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 120px;
    padding: 16px 14px 14px;
  }
  .mc-num { font-size: 38px; -webkit-text-stroke-width: 1.3px; }
  .mc-short { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: .03em; white-space: nowrap; }
  .mc-role { display: block; margin-top: auto; font-size: 9.5px; letter-spacing: .16em; }
  .mc-name, .mc-line, .mc-go { display: none; align-self: auto; }

  .mission:not(.mission--unidrop), .mission--unidrop { padding: 40px 36px 36px; }
  .mission h3 { margin-top: 20px; font-size: 40px; line-height: 1.3; }
  .mission-lead { margin-top: 12px; font-size: 22px; }
  .mission-top > .fig { margin-top: 32px; align-self: stretch; }
  .mission-body { margin-top: 32px; }
  .mission-cta { align-self: flex-start; min-width: 22em; margin-top: 32px; }

  .mission-services h4, .mission-cases h4 { font-size: 22px; }
  .service-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
  .service-tiles li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .service-tiles strong { margin-top: 20px; font-size: 18px; }
  .service-tiles li > span:last-child { margin-top: 6px; }
  .ud-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mission-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mission-nav a { min-height: 76px; padding: 14px 24px; }
  .mission-next .mn-body { grid-template-columns: auto minmax(0, max-content); justify-content: end; text-align: right; }
  .mn-name { font-size: 16px; }
  .mn-num { font-size: 20px; }

  .mission--unidrop h3 { font-size: 22px; }
  .ud-lead { font-size: 36px; }

  /* the dock: number + short name side by side, the contact link at the right */
  .mission-dock { padding: 0 var(--pad); }
  .dock-item {
    flex: 1 1 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    max-width: 232px;
    padding: 0 16px;
    border-left: 1px solid var(--night-rule);
  }
  .dock-num { font-size: 11px; }
  .dock-name { font-size: 13px; letter-spacing: .03em; }
  .dock-cta { margin-left: auto; padding: 0 0 0 20px; font-size: 13px; }
}

/* ── desktop (≥ 1100): big cards; row 1 = intro (42 %) | figure (58 %) ── */
@media (min-width: 1100px) {
  .business { --row: clamp(56px, 4.4vw, 64px); }
  .business-intro { padding-bottom: .5em; }
  .mission-select { margin-top: clamp(56px, 5vw, 80px); }

  .mission-roster { gap: 12px; }
  .mission-card {
    gap: 0;
    min-height: clamp(184px, 14vw, 208px);
    padding: 22px 22px 20px;
  }
  .mc-num { font-size: clamp(54px, 4.4vw, 68px); -webkit-text-stroke-width: 1.5px; }
  .mc-role { margin-top: 14px; font-size: 10.5px; letter-spacing: .2em; }
  .mc-short { display: none; }
  .mc-name { display: block; margin-top: auto; padding-top: 16px; font-size: clamp(15px, 1.2vw, 17px); letter-spacing: .02em; }
  .mc-line { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.6; }
  .mc-go { display: block; position: absolute; top: 26px; right: 22px; font-size: 18px; }

  .mission:not(.mission--unidrop), .mission--unidrop { padding: clamp(44px, 4vw, 56px); }
  .mission-top {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    align-items: stretch;
    column-gap: clamp(40px, 4.4vw, 72px);
  }
  .mission-intro { display: flex; flex-direction: column; align-items: flex-start; }
  .mission-top > .fig { align-self: start; margin-top: 0; }
  .mission h3 { font-size: clamp(38px, 3vw, 48px); }
  .mission-lead { font-size: clamp(22px, 1.9vw, 28px); }
  .mission-body { margin-top: 28px; }
  .mission-proof { margin-top: 28px; }
  .mission-cta { min-width: 0; margin-top: 32px; padding: 0 28px; font-size: 16px; min-height: 60px; }
  .mission-cta { align-self: flex-start; }

  .service-tiles { gap: 16px; margin-top: 24px; }
  .service-tiles li { padding: 26px 26px 28px; }
  .ud-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .case-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
    margin-top: 18px;
  }
  .case-list li { padding: 18px 0 0; }
  .case-list li:last-child { border-bottom: 0; }

  .mission-nav { gap: 16px; }
  .mission-nav a { min-height: 84px; padding: 16px 28px; gap: 16px; }
  .mn-body { column-gap: 14px; }
  .mission-next .mn-body { grid-template-columns: auto auto minmax(0, max-content); }
  .mn-label { grid-column: auto; }
  .mn-name { font-size: 17px; }
  .mn-num { font-size: 22px; }
  .mn-dir { font-size: 20px; }

  .mission--unidrop h3 { margin-top: 24px; font-size: clamp(20px, 1.7vw, 24px); }
  .ud-lead { font-size: clamp(34px, 3vw, 44px); }
}
/* short desktop screens (1280×720 class): after a jump to #business the heading and the whole roster
   still fit the first view */
@media (min-width: 1100px) and (max-height: 820px) {
  .business .section-head { margin-top: 40px; }
  .business-title { font-size: min(var(--t-l), 15svh); }
  .mission-select { margin-top: 44px; }
  .mission-card { min-height: 176px; }
}
/* narrow desktops: a little less card padding so "B2Bソフトウェア開発" stays on one line */
@media (min-width: 1100px) and (max-width: 1279px) {
  .mission-card { padding: 20px 16px 18px; }
  .mc-name { letter-spacing: 0; }
  .mc-go { right: 16px; }
}
@media (min-width: 1280px) {
  .mission-top { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
}

/* Figures: explicit aspect ratios; the canvas draws inside the rect. */
.fig { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.fig--logo { aspect-ratio: 8 / 3; }

/* --- Why --- */
.reasons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--ink);
}
.reason {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--rule);
}
.reason-num {
  display: block;
  font: 400 clamp(92px, 8.4vw, 132px)/.9 var(--f-display);
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.reason h3 {
  margin-top: 24px;
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.55;
  letter-spacing: .04em;
}
.reason p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }

@media (min-width: 700px) and (max-width: 899px) {
  .reason {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 28px;
    padding: 32px 0 40px;
  }
  .reason-num { grid-row: 1 / span 2; }
  .reason h3 { margin-top: 4px; }
}
@media (min-width: 900px) {
  .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reason { padding: 36px clamp(20px, 2.4vw, 40px) 48px; border-bottom: 0; border-left: 1px solid var(--rule); }
  .reason:first-child { padding-left: 0; border-left: 0; }
  .reason:last-child { padding-right: 0; }
  .reason h3 { margin-top: 28px; }
}

/* two LIVE rows: what already runs */
.why-proof { display: grid; gap: 6px; margin-top: clamp(40px, 4vw, 56px); }
.why-proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 32px;
  padding: 10px clamp(16px, 2vw, 28px) 10px clamp(14px, 1.6vw, 24px);
  background: var(--paper-2);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .1em;
}
.why-proof-text { display: flex; align-items: center; gap: 4px 12px; padding: 8px 0; }
.why-proof-tag {
  display: inline-block;
  padding: 2px 7px 1px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  letter-spacing: .2em;
}
.why-proof a { font-family: var(--f-sans); font-weight: 700; letter-spacing: .04em; }

/* --- Process --- */
.process-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(56px, 6vw, 96px);
}
.step {
  position: relative;
  padding: 0 0 36px 44px;
}
.step-num { display: block; font-size: 11px; line-height: 20px; color: var(--orange-ink); letter-spacing: .18em; }
.step h3 { margin-top: 8px; font-size: 19px; line-height: 1.5; letter-spacing: .04em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }

.process-cta { margin-top: clamp(32px, 4vw, 64px); }

@media (min-width: 700px) and (max-width: 899px) {
  .step { padding-bottom: 40px; }
  .step p { max-width: 34em; }
}
@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); }
  .step { padding: 48px 8px 0 0; }
  .step p { font-size: 14px; }
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: clamp(40px, 5vw, 80px);
}
.about-title {
  font-size: clamp(38px, 5.6vw, 88px);
  line-height: 1.3;
  letter-spacing: .02em;
}
.about-text { display: grid; gap: 28px; align-content: end; max-width: 30em; }
.about-text p { font-size: 15px; color: var(--ink-2); }
.about-text .about-pull { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.8; color: var(--ink); letter-spacing: .06em; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .about-title { grid-column: 1 / span 7; }
  .about-text { grid-column: 8 / -1; }
}

.about-words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: clamp(64px, 9vw, 144px);
  font: 400 var(--t-l)/.92 var(--f-display);
  letter-spacing: -.06em;
}
.about-words .word {
  display: block;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
/* staircase; the min() keeps LAUNCH. (4.6em) inside the column on narrow screens */
.about-words .word:nth-child(2) { margin-left: min(12%, calc(100% - 4.1em)); }
.about-words .word:nth-child(3) { margin-left: min(24%, calc(100% - 4.7em)); }
.about-words .word.is-solid { color: var(--ink); }
@media (min-width: 900px) {
  .about-words .word:nth-child(2) { margin-left: min(25%, calc(100% - 4.1em)); }
  .about-words .word:nth-child(3) { margin-left: min(50%, calc(100% - 4.7em)); }
}

/* Members: game-UI style cards. In gl the canvas paints the night cut-corner card, the huge
   outlined callsign and the role chevrons ([data-gl-surface]); CSS gives the text paper on night. */
.squad-block { margin-top: clamp(72px, 9vw, 144px); }
.squad-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: 17px;
  letter-spacing: .1em;
}
.squad-title-en { font-size: 12px; font-weight: 400; letter-spacing: .24em; color: var(--orange-ink); }
.squad {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.member {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px 22px 28px;
  background: var(--night);
  color: var(--paper);
}
.member-role {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .16em;
  color: var(--orange);
}
.member-callsign {
  margin-top: 18px;
  font: 400 clamp(64px, 6.4vw, 104px)/.86 var(--f-display);
  font-synthesis: none;
  letter-spacing: -.05em;
  color: var(--paper);
}
.member-name {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .14em;
}
.member-bio {
  margin-top: auto;
  padding-top: 24px;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.95;
}
@media (min-width: 700px) {
  .squad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
  .member { min-height: clamp(340px, 30vw, 420px); padding: clamp(28px, 3vw, 44px); }
}

.company-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(72px, 9vw, 144px);
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.company-block h3 { font-size: 17px; letter-spacing: .1em; }
.company-row {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.8;
}
.company-row:first-child { padding-top: 0; }
.company dt { color: var(--ink-2); font-size: 13px; letter-spacing: .1em; padding-top: 2px; }
.company dd { margin: 0; }
.company-biz li { display: flex; gap: 10px; }
.company-biz .biz-mark { flex: none; width: 5px; height: 5px; margin-top: .8em; background: var(--ink); }
.company-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
/* inline links with an underline border are inline-blocks so the mirror sees one box */
.company a, .cta-mail a, .consent a, .prose .contact-lines a, .biz-info a { display: inline-block; line-height: 1.5; }
.company a { border-bottom: 1px solid var(--ink); }

/* Phones: label above value, so the value gets the full width. */
@media (max-width: 599px) {
  .company-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; }
  .company dt { padding-top: 0; }
}
@media (min-width: 900px) {
  .company-block { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .company-block h3 { grid-column: 1 / span 3; }
  .company { grid-column: 4 / -1; }
  .company-row { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); }
}

/* --- Signature --- */
.signature-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 64px;
  margin-top: clamp(40px, 5vw, 80px);
}
.signature-text { flex: 0 1 26em; font-size: 15px; color: var(--ink-2); }
.fig--logo { margin-top: clamp(40px, 5vw, 72px); }
.signature-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.replay-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.replay-button .replay-icon { font-size: 18px; line-height: 1; }
.downloads { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-left: auto; }
.downloads a {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  padding: 28px 0 5px; /* 48px target */
  border-bottom: 1px solid var(--orange);
  font-size: 11px;
  line-height: 1.4;
}

/* --- FAQ --- */
.faq-list { margin-top: clamp(48px, 5vw, 88px); border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 14px;
  align-items: baseline;
  gap: 14px 18px;
  min-height: 56px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-q { width: 40px; font-size: 11px; font-weight: 400; color: var(--orange-ink); letter-spacing: .14em; white-space: nowrap; }
.faq-icon { position: relative; align-self: center; width: 14px; height: 14px; }
.faq-icon i { position: absolute; display: block; background: var(--ink); }
.faq-icon i:first-child { left: 0; right: 0; top: 6px; height: 2px; }
.faq-icon i:last-child { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq-item[open] .faq-icon i:last-child { display: none; }
.faq-link { color: var(--ink); font-weight: 700; text-decoration: underline; }
.faq-item > p {
  max-width: calc(38em + 54px);
  padding: 0 32px 28px 54px; /* aligned with the question text (40px label + 14px gap) */
  color: var(--ink-2);
  font-size: 15px;
}

@media (min-width: 700px) {
  .faq-item summary { font-size: 17px; padding: 26px 0; }
  .faq-item > p { max-width: calc(38em + 58px); padding-left: 58px; }
}
@media (min-width: 900px) {
  .faq-list, .faq .section-next { width: calc(100% * 8 / 12); margin-left: auto; }
}

/* --- Contact CTA --- */
.cta { position: relative; padding-bottom: var(--section-y); }
.cta-body { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 80px); }
.cta-text { max-width: 30em; margin-top: clamp(28px, 3vw, 44px); font-size: 15px; color: var(--ink-2); }
.cta .cta-button--xl { margin-top: clamp(36px, 4vw, 56px); }
.cta-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 22px; font-size: 12px; color: var(--ink-2); letter-spacing: .12em; }
/* webmail has no mail app behind mailto: one press copies the address (site.js [data-copy]) */
.copy-button--inline { min-height: var(--tap); padding: 0 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; color: var(--ink); }
.cta-mail a { color: var(--ink); border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) {
  .cta-body { width: calc(100% * 7 / 12); }
}

/* DOM-mode CTA art: U + hovering drop (sections.js draws these in GL). */
.cta-art {
  position: absolute;
  right: var(--pad);
  bottom: calc(var(--section-y) * .9);
  width: clamp(180px, 22vw, 340px);
  pointer-events: none;
}
.cta-art svg { width: 100%; overflow: visible; }
@media (max-width: 899px) {
  .cta-art { position: relative; right: auto; bottom: auto; width: 46%; margin: 56px 0 0 auto; }
}

/* ---------- 10. Footer ----------------------------------------------------- */
.site-footer {
  padding: clamp(56px, 6vw, 88px) var(--pad) clamp(72px, 7vw, 96px);
  border-top: 1px solid var(--ink);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 48px;
}
.footer-logo { width: clamp(150px, 15vw, 220px); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2vw, 32px); }
.footer-nav a {
  display: block;
  /* 48px targets: the side padding widens short words (WHY, FAQ) and the margin cancels it visually */
  margin: 0 -6px;
  padding: 14px 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .2em;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  line-height: 1.6;
}
.footer-company { font-weight: 700; letter-spacing: .08em; }
.footer-bottom a:not(.back-top) { display: inline-block; padding: 14.5px 0; letter-spacing: .06em; } /* 48px targets */
.footer-legal { font-size: 11px; color: var(--ink-2); }
.footer-bottom .lens-toggle { border-color: var(--rule-2); }
.back-top {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin-left: auto;
  font: 500 11px/1.6 var(--f-mono);
  letter-spacing: .2em;
}

/* ---------- 11. Contact page ---------------------------------------------- */
.contact { padding: calc(var(--hdr) + clamp(32px, 5vw, 72px)) var(--pad) clamp(96px, 10vw, 160px); }
.contact-title-wrap { position: relative; margin-top: clamp(28px, 4vw, 56px); }
.contact-title { position: relative; z-index: 1; margin-left: -.04em; }
/* DOM-mode band behind the title (contact-scene draws it in GL) */
.contact-band {
  position: absolute;
  /* single line: sit inside the lowercase band (baseline at .765em) */
  top: calc(var(--t-xl) * .3);
  left: calc(var(--pad) * -1);
  width: min(calc(var(--pad) + var(--t-xl) * 4.3), 92vw);
  height: calc(var(--t-xl) * .4);
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--t-xl) * .4) 100%, 0 100%);
}
.contact .section-jp { margin-top: clamp(16px, 2vw, 28px); }

.contact-column { width: min(720px, 100%); margin: 0 auto; }
.contact-lead { margin-top: clamp(48px, 6vw, 88px); font-size: 15px; }
.contact-topic { margin-top: 12px; }

.contact-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}
.contact-flow li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px 10px 14px 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}
.contact-flow li + li { padding-left: 14px; border-left: 1px solid var(--rule); }
.flow-num { font-size: 11px; font-weight: 400; color: var(--orange-ink); }

.contact-form { margin-top: clamp(56px, 6vw, 88px); }
.field { margin-top: 32px; }
.field:first-child { margin-top: 0; }
.field-label, .field legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.legend-en { font-size: 11px; font-weight: 400; letter-spacing: .22em; color: var(--orange-ink); }
.req {
  padding: 2px 6px 1px;
  background: var(--orange-ink);
  color: var(--paper);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .1em;
}
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--gap); }
.field-pair .field { margin-top: 32px; }
@media (min-width: 700px) {
  .field-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-sans);
  letter-spacing: .02em;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form textarea { min-height: 220px; resize: vertical; word-break: auto-phrase; } /* placeholder keeps 「など」 whole */
.contact-form select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23292826' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.contact-form ::placeholder { color: #6f6a63; opacity: 1; } /* 4.92:1 on paper */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange-ink);
  outline: 2px solid var(--orange-ink); /* ≥ 3:1 against paper (bright --orange was 2.39:1) */
  outline-offset: -2px;
}
.contact-form [aria-invalid="true"] { border-color: var(--orange-ink); outline: 1px solid var(--orange-ink); outline-offset: -2px; }

/* checkboxes: live DOM in every mode, so their checked state needs no mirror repaint */
.contact-form input[type="checkbox"] {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper) center / 16px 12px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.contact-form input[type="checkbox"]:checked {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.2l4.3 4.3L14.5 1.5' fill='none' stroke='%23292826' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E");
}
.contact-form input[type="checkbox"]:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 2px; }

/* topic cards: same inputs / names / values; the whole card is the label, its number sits beside it */
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 700px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px 12px 14px;
  border: 1px solid var(--rule-2);
  border-left-width: 4px;
  border-left-color: var(--rule-2);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .03em;
  cursor: pointer;
}
.check:has(input:checked) { border-color: var(--ink); border-left-color: var(--orange); background: var(--paper-2); }
/* the number is outside the <label> (contact.js reads the label text into the mail subject) and lets
   pointer events through, so the whole card still toggles */
.check-slot { position: relative; display: grid; }
.check-slot .check { padding-right: 52px; }
.check-num {
  position: absolute;
  top: 9px;
  right: 12px;
  font: 400 11px/1.5 var(--f-mono);
  letter-spacing: .14em;
  color: var(--mute);
  pointer-events: none;
}
.check-slot:has(input:checked) .check-num { color: var(--orange-ink); }

.consent { display: flex; align-items: center; gap: 12px; min-height: var(--tap); font-size: 14px; line-height: 1.7; cursor: pointer; }
.consent a { border-bottom: 1px solid var(--ink); font-weight: 700; }
.consent .req { align-self: center; }

.field-error {
  margin-top: 8px;
  color: var(--orange-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.field-error:empty { display: none; }

.form-note {
  margin-top: 40px;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--orange);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.9;
}
.contact-form .submit {
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  margin-top: 28px;
  font-size: 17px;
}
.contact-form .submit .cta-en { font: 400 clamp(20px, 2vw, 26px)/1 var(--f-display); letter-spacing: -.03em; }
.contact-form .submit .btn-notch { width: 10px; height: 10px; }
.form-status { min-height: 1.6em; margin-top: 16px; font-family: var(--f-sans); font-size: 13px; font-weight: 700; line-height: 1.7; letter-spacing: .04em; color: var(--ink); }

.contact-after {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-2);
  border-top: 4px solid var(--orange);
}
.contact-after h2 { margin-bottom: 20px; }
.contact-after p { font-size: 15px; color: var(--ink-2); }
.contact-after .text-link { margin-top: 24px; }
.contact-copy { margin-top: 20px; }

.direct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 16px;
  margin-top: clamp(64px, 7vw, 96px);
  padding: 22px 0 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.direct-label { grid-column: 1 / -1; font-size: 11px; color: var(--ink-2); }
.direct-mail {
  justify-self: start;
  padding: 8px 0; /* 48px target on phones */
  font: 400 clamp(24px, 3.4vw, 40px)/1.2 var(--f-display);
  letter-spacing: -.03em;
}
.copy-button {
  min-height: var(--tap);
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* ---------- 12. Privacy / 404 -------------------------------------------- */
.page { padding: calc(var(--hdr) + clamp(32px, 5vw, 72px)) var(--pad) clamp(96px, 10vw, 160px); }
.page-title { margin-top: clamp(28px, 4vw, 56px); margin-left: -.04em; }
.page .section-jp { margin-top: clamp(16px, 2vw, 28px); }

.prose { max-width: 40em; margin-top: clamp(48px, 6vw, 96px); }
.prose-intro { font-size: 15px; color: var(--ink-2); }
.prose section { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); }
.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: .06em;
}
.prose-num { font-size: 11px; font-weight: 400; color: var(--orange-ink); }
.prose p, .prose li { font-size: 15px; line-height: 2; }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; }
.prose li { display: flex; gap: 12px; }
.prose li .bullet { flex: none; width: 6px; height: 6px; margin-top: .85em; background: var(--orange); }
.prose .contact-lines a { border-bottom: 1px solid var(--ink); }
/* 事業者情報: the business details as a calm table */
.prose .biz-info-block { padding-top: 22px; border-top: 1px solid var(--ink); }
.biz-info { margin-top: 16px; border-top: 1px solid var(--rule); }
.biz-info > div {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.8;
}
.biz-info dt { color: var(--ink-2); font-size: 13px; letter-spacing: .1em; padding-top: 2px; }
.biz-info dd { margin: 0; }
.biz-info a { border-bottom: 1px solid var(--ink); }
@media (max-width: 599px) {
  .biz-info > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .biz-info dt { padding-top: 0; }
}
.page-enacted, .prose .page-enacted { margin-top: 56px; font-size: 12px; color: var(--ink-2); }
@media (min-width: 900px) {
  .prose { margin-left: calc(100% * 3 / 12); }
}

.page--404 { position: relative; display: flex; flex-direction: column; min-height: max(640px, 100svh); }
/* "delivered." is 4.68em wide: 18vw always fits inside the side padding */
.page--404 .page-title { font-size: clamp(56px, min(18vw, 26svh), 260px); line-height: .86; letter-spacing: -.07em; }
.page--404 .page-text { max-width: 30em; margin-top: clamp(28px, 4vw, 48px); font-size: 15px; color: var(--ink-2); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 36px; }
.page-404-art {
  position: absolute;
  right: var(--pad);
  bottom: clamp(56px, 7vw, 112px);
  width: clamp(180px, 26vw, 400px);
  pointer-events: none;
}
.page-404-art svg { width: 100%; overflow: visible; }

/* ---------- 13. DOM-mode visuals (no canvas) -------------------------------- */
/* Night surfaces: a faint 8px grid and the section number as a huge outline (ambient draws both in gl). */
html:not([data-render]) [data-tone="dark"] {
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(247, 245, 239, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 245, 239, .035) 1px, transparent 1px);
  background-size: 8px 8px;
}
.tone-num {
  position: absolute;
  z-index: -1;
  top: clamp(40px, 6vw, 96px);
  right: -.04em;
  font: 400 clamp(220px, 40vw, 640px)/.8 var(--f-display);
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--night-3);
  pointer-events: none;
  user-select: none;
}

/* Cut corners (tr + bl, like the canvas cutRect) on the night cards and panels. */
html:not([data-render]) .mission-card {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
html:not([data-render]) .mission:not(.mission--unidrop) {
  isolation: isolate;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
html:not([data-render]) .member {
  isolation: isolate;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
html:not([data-render]) .mission-card:focus-visible { outline-offset: -5px; }
/* the selected card's ink corner (gl: business.js) */
html:not([data-render]) .mission-card[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%);
}
html:not([data-render]) .mission:not(.mission--unidrop) .service-tiles li {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
/* the dock's thin orange underline (gl: business.js) */
html:not([data-render]) .mission-dock { border-bottom-color: var(--orange); }
.member-ghost {
  position: absolute;
  z-index: -1;
  right: -.18em;
  top: 50%;
  margin-top: -.42em;
  font: 400 clamp(180px, 20vw, 320px)/.8 var(--f-display);
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--night-3);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
html:not([data-render]) .member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 6px;
  background: var(--orange);
}
.member-chev { display: inline-flex; gap: 3px; }
.member-chev i { display: block; width: 6px; height: 11px; background: var(--orange); clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); }

/* Figures: hatch + caption (the canvas draws the real figure). */
html:not([data-render]) .fig {
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(-45deg, rgba(41, 40, 38, .07) 0 1px, transparent 1px 9px);
  outline: 1px solid var(--rule);
  outline-offset: -1px;
}
html:not([data-render]) .mission:not(.mission--unidrop) .fig {
  background-color: var(--night);
  background-image: repeating-linear-gradient(-45deg, rgba(247, 245, 239, .04) 0 1px, transparent 1px 9px);
  outline-color: var(--night-rule);
}
html:not([data-render]) .mission--unidrop .fig {
  background-color: var(--ud-paper-2);
  background-image: repeating-linear-gradient(-45deg, rgba(30, 22, 17, .06) 0 1px, transparent 1px 9px);
  outline-color: var(--ud-rule);
}
html:not([data-render]) .fig--logo { background: none; }
.fig-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 2vw, 22px);
}
.fig-tag { font-size: 10px; line-height: 1.5; letter-spacing: .2em; color: var(--ink-2); }
.fig-caption { max-width: 30em; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.fig-pict { flex: 1; min-height: 0; width: 100%; }
.mission:not(.mission--unidrop) .fig-tag { color: var(--orange); font-size: 11px; }
.mission:not(.mission--unidrop) .fig-caption { color: var(--night-ink-2); }
.mission--unidrop .fig-tag, .mission--unidrop .fig-caption { color: var(--ud-ink-2); }
.fig--logo .fig-fallback { justify-content: center; align-items: center; }
.fig--logo .fig-fallback img { width: min(78%, 980px); }
.fig--logo .fig-tag { position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(14px, 2vw, 22px); }

/* pictogram strokes (light figures) */
.pict-ink { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pict-soft { fill: none; stroke: rgba(41, 40, 38, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pict-orange { fill: var(--orange); }
.pict-orange-line { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pict-paper { fill: var(--paper); }
.pict-env { fill: var(--ud-envelope); }
.pict-env-line { fill: none; stroke: var(--ud-paper); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.pict-ud { fill: var(--ud-orange); }
.pict-text { font: 400 9px var(--f-mono); letter-spacing: .14em; fill: var(--ink-2); }
/* pictograms on night (mission figures) */
.pict-card rect { fill: var(--night-2); stroke: var(--night-rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pict-cell rect { fill: none; stroke: var(--night-rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pict-bar rect { fill: var(--night-mute); }
.pict-stripe rect { fill: var(--night-3); stroke: var(--night-mute); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.pict-flow { fill: none; stroke: var(--night-mute); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pict-axis { fill: none; stroke: var(--night-rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pict-soft-line { fill: none; stroke: var(--night-mute); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pict-check { fill: none; stroke: var(--orange); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.pict-x { fill: none; stroke: var(--orange); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.pict-zone { fill: none; stroke: var(--paper); stroke-width: 3; vector-effect: non-scaling-stroke; }
.pict-node, .pict-node rect { fill: var(--night-2); stroke: var(--paper); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pict-band { fill: var(--orange); }
.pict-ink-fill { fill: var(--ink); }
.pict-paper-line { fill: none; stroke: var(--mute); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pict-u { fill: none; stroke: var(--orange); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pict-label { font: 400 10px var(--f-mono); letter-spacing: .2em; fill: var(--night-mute); }
.pict-mono { font: 400 9.5px var(--f-mono); letter-spacing: .16em; fill: var(--night-mute); }
.pict-mono--orange { fill: var(--orange); }
.pict-jp { font: 700 12px var(--f-sans); letter-spacing: .04em; fill: var(--paper); }
.pict-gate { font: 400 15px var(--f-display); letter-spacing: -.02em; fill: var(--ink); }
.pict-gate-jp { font: 700 11px var(--f-sans); fill: var(--ink); }

/* label hairline + orange tick (sections.js animates these in GL) */
html:not([data-render]) .section-label { border-top-color: var(--rule-2); }
html:not([data-render]) [data-tone="dark"] .section-label { border-top-color: var(--night-rule-2); }
html:not([data-render]) .section-label::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 8px;
  height: 3px;
  background: var(--orange);
}

/* header always solid in DOM mode (no scroll-state script) */
html:not([data-render]) .site-header { background: var(--paper); }
html:not([data-render]).menu-open .site-header { background: transparent; }

/* process track + diamond nodes (sections.js draws the route in GL) */
html:not([data-render]) .step::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -10px;
  left: 6px;
  border-left: 1px solid var(--ink);
}
html:not([data-render]) .step:last-child::before { display: none; }
html:not([data-render]) .step::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  transform: rotate(45deg) scale(.86);
}
html:not([data-render]) .step:last-child::after { background: var(--orange); border-color: var(--orange); }
@media (min-width: 900px) {
  html:not([data-render]) .step::before {
    top: 10px;
    bottom: auto;
    left: 0;
    right: calc(var(--gap) * -1);
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  html:not([data-render]) .step::after { top: 4px; }
}

/* FAQ orange tick */
html:not([data-render]) .faq-item summary { position: relative; }
html:not([data-render]) .faq-item summary::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  margin-top: -1px;
  width: 8px;
  height: 2px;
  background: var(--orange);
}
@media (max-width: 699px) {
  html:not([data-render]) .faq-item summary::before { display: none; }
}

/* hover / transitions: DOM mode only, so the mirror never bakes a hover state */
@media (hover: hover) {
  html:not([data-render]) :is(.cta-button, .module-cta, .header-cta, .hero-live, .replay-button, .copy-button, .check, .mission-card, .mission-nav a, .dock-item, .dock-cta),
  html:not([data-render]) :is(.cta-button, .module-cta, .header-cta) :is(.btn-frame, .btn-notch) {
    transition: background-color .14s cubic-bezier(.16, 1, .3, 1), color .14s cubic-bezier(.16, 1, .3, 1), border-color .14s;
  }
  html:not([data-render]) .cta-button:hover,
  html:not([data-render]) .header-cta:hover { background: var(--ink); color: var(--paper); }
  html:not([data-render]) :is(.cta-button, .header-cta):hover .btn-notch { background: var(--orange); }
  html:not([data-render]) .cta-button:hover .btn-frame { border-color: var(--orange); }
  html:not([data-render]) .module-cta:hover { background: var(--paper); color: var(--ink); }
  html:not([data-render]) .module-cta:hover .btn-frame { border-color: var(--orange); }
  html:not([data-render]) .mission--unidrop .module-cta:hover { background: var(--ud-envelope); color: var(--ud-ink); }
  html:not([data-render]) .mission--unidrop .module-cta:hover .btn-notch { background: var(--ud-ink); }
  html:not([data-render]) .hero-live:hover { background: var(--ink); color: var(--paper); }
  html:not([data-render]) .hero-live:hover .live-tag { background: var(--orange); color: var(--ink); }
  html:not([data-render]) .replay-button:hover,
  html:not([data-render]) .copy-button:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
  html:not([data-render]) .mission-card:not([aria-selected="true"]):hover { background: var(--night-3); border-color: var(--orange); }
  html:not([data-render]) .mission-card:not([aria-selected="true"]):hover :is(.mc-name, .mc-short) { color: var(--orange); }
  html:not([data-render]) .mission-nav a:hover { border-color: var(--orange); }
  html:not([data-render]) .mission-nav a:hover .mn-name { color: var(--orange); }
  html:not([data-render]) .mission--unidrop .mission-nav a:hover { border-color: var(--ud-orange-ink); }
  html:not([data-render]) .mission--unidrop .mission-nav a:hover .mn-name { color: var(--ud-orange-ink); }
  html:not([data-render]) .dock-item:not([aria-current="true"]):hover { background: var(--night-3); color: var(--orange); }
  html:not([data-render]) .dock-cta:hover { background: var(--orange); color: var(--ink); }
  html:not([data-render]) :is(.site-nav a, .footer-nav a, .back-top):hover { color: var(--orange-ink); }
  html:not([data-render]) .menu-links a:hover .menu-name { color: var(--paper); }
  html:not([data-render]) :is(.text-link, .line-link):hover { color: var(--orange-ink); border-color: var(--orange); }
  html:not([data-render]) .check:hover { border-color: var(--ink); }
  html:not([data-render]) .faq-item summary:hover .faq-question { color: var(--orange-ink); }
}

/* hover / press in gl / 2d: site.js puts .is-hover on the element under the lens-mapped pointer (native
   :hover hits the undistorted layout). No transitions: the mirror repaints the new state at once. Not
   limited to (hover: hover): on touch the class only exists while a finger is down, as a press state. */
html[data-render] :is(.cta-button, .header-cta).is-hover { background: var(--ink); color: var(--paper); }
html[data-render] :is(.cta-button, .header-cta).is-hover .btn-notch { background: var(--orange); }
html[data-render] .cta-button.is-hover .btn-frame { border-color: var(--orange); }
html[data-render] .module-cta.is-hover { background: var(--paper); color: var(--ink); }
html[data-render] .module-cta.is-hover .btn-frame { border-color: var(--orange); }
html[data-render] .mission--unidrop .module-cta.is-hover { background: var(--ud-envelope); color: var(--ud-ink); }
html[data-render] .mission--unidrop .module-cta.is-hover .btn-notch { background: var(--ud-ink); }
html[data-render] .mission-nav a.is-hover { border-color: var(--orange); }
html[data-render] .mission-nav a.is-hover .mn-name { color: var(--orange); }
html[data-render] .mission--unidrop .mission-nav a.is-hover { border-color: var(--ud-orange-ink); }
html[data-render] .mission--unidrop .mission-nav a.is-hover .mn-name { color: var(--ud-orange-ink); }
html[data-render] .dock-item.is-hover:not([aria-current="true"]) { color: var(--orange); }
html[data-render] .dock-cta.is-hover { background: var(--orange); color: var(--ink); }
html[data-render] .hero-live.is-hover { background: var(--ink); color: var(--paper); }
html[data-render] .hero-live.is-hover .live-tag { background: var(--orange); color: var(--ink); }
html[data-render] :is(.replay-button, .copy-button).is-hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
html[data-render] :is(.site-nav a, .footer-nav a, .back-top).is-hover { color: var(--orange-ink); }
html[data-render] .menu-links a.is-hover .menu-name { color: var(--paper); }
html[data-render] :is(.text-link, .line-link).is-hover { color: var(--orange-ink); border-color: var(--orange); }
html[data-render] .check.is-hover { border-color: var(--ink); }
html[data-render] .faq-item summary.is-hover .faq-question { color: var(--orange-ink); }

/* small DOM-mode motion: the hero band slams in and the slash stack shoots across once (the entrance), the idea drop falls
   into the U cap, LIVE dots blink */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-render]) .hero-band { animation: dom-band-in .26s cubic-bezier(.16, 1, .3, 1) .15s both; }
  html:not([data-render]) .hero-slash i { animation: dom-slash 5.2s cubic-bezier(.16, 1, .3, 1) 1.1s 1 both; }
  html:not([data-render]) .hero-slash i:nth-child(2) { animation-delay: 1.14s; }
  html:not([data-render]) .hero-slash i:nth-child(3) { animation-delay: 1.18s; }
  html:not([data-render]) .hero-u .u-drop {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: dom-drop 4.2s cubic-bezier(.55, 0, .9, .4) 1s infinite both;
  }
  html:not([data-render]) .cta-art .u-drop,
  html:not([data-render]) .page-404-art .u-drop {
    transform-box: fill-box;
    animation: dom-bob 2s steps(2, jump-none) infinite alternate;
  }
  html:not([data-render]) .live-dot { animation: dom-blink 1s steps(1) infinite; }
}
@keyframes dom-band-in {
  from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to { clip-path: polygon(0 0, 100% 0, calc(100% - var(--t-hero) * .585) 100%, 0 100%); }
}
@keyframes dom-slash {
  0% { transform: translateX(-120%); opacity: 0; }
  2% { opacity: 1; }
  7% { transform: translateX(0); }
  22% { transform: translateX(0); opacity: 1; }
  25%, 100% { transform: translateX(60%); opacity: 0; }
}
@keyframes dom-drop {
  0% { transform: translateY(-560px) rotate(-40deg); opacity: 0; }
  6% { opacity: 1; }
  22% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(0) scale(1.16, .78); }
  30%, 100% { transform: none; opacity: 1; }
}
@keyframes dom-bob { from { transform: translateY(-3px); } to { transform: translateY(2px); } }
@keyframes dom-blink { 50% { opacity: .2; } }

/* ---------- 14. Phones (≤ 699px): a first-class design, not a squeeze -------- */
@media (max-width: 699px) {
  body { font-size: 15px; }
  .section-label { font-size: 11px; letter-spacing: .1em; }
  .section-head { gap: 20px; margin-top: 32px; }
  .section-jp { font-size: 19px; }

  /* hero: title fills the width, big lead, full-width 56px primary */
  .hero-code { top: calc(var(--hdr) + 14px); }
  .hero-code-num { font-size: 32px; }
  .hero-code-rule { width: 28px; margin: 10px 0 8px; }
  .hero-lead { font-size: clamp(20px, 5.9vw, 26px); letter-spacing: .06em; }
  .hero-sub { font-size: 15px; }
  .hero-live { display: flex; width: 100%; padding-right: 12px; font-size: 13px; }
  .hero-live .live-arrow { margin-left: auto; }
  .hero-actions { gap: 10px 24px; }
  .hero-actions .cta-button { width: 100%; justify-content: space-between; padding: 0 22px; }
  .hero-actions .cta-button .cta-en { margin-left: auto; }
  .hero-meta { gap: 6px 24px; }
  .hero-hint { font-size: 11px; }
  .hero-u { right: -9vw; bottom: -15%; width: 54vw; }
  /* the "00 / DELIVERY SYSTEM" mark sits level with line 1 here: the slashes start at the band */
  .hero-slash { --sh: calc(var(--t-hero) * 1.3); top: calc(var(--t-hero) * .62); }

  .header-cta { padding: 0 14px; font-size: 12.5px; letter-spacing: .04em; }

  /* business (its phone layout is in section 9) */
  .module-cta { gap: 12px; padding: 0 18px; letter-spacing: .03em; }

  /* why / process / about / faq: content follows its heading closely; bigger signature title */
  .reasons, .process-steps, .faq-list { margin-top: 40px; }
  .reason { padding: 24px 0 30px; }
  .about-words { margin-top: 48px; }
  .squad-block, .company-block { margin-top: 64px; }
  .signature-head h2 { font-size: min(13vw, calc((100vw - 2 * var(--pad)) / 6.9)); }
  .reason-num { font-size: clamp(88px, 28vw, 112px); }
  .step h3 { font-size: 20px; }
  .about-title { font-size: clamp(32px, 10.2vw, 44px); }
  .member-callsign { font-size: clamp(64px, 20vw, 88px); }
  .member-bio { font-size: 15px; }

  /* contact CTA */
  .cta h2 { font-size: clamp(64px, 19vw, 84px); }
  .cta-button--xl { gap: 10px; min-height: 96px; }

  /* small screens: footer and contact */
  .footer-bottom { gap: 4px 24px; }
  .back-top { margin-left: 0; }
  .direct { grid-template-columns: 1fr; }
  .contact-flow li { padding-right: 6px; }
  .contact-flow li + li { padding-left: 10px; }
  .direct .copy-button { justify-self: start; }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form select { min-height: 52px; padding: 12px 14px; }
  .contact-form .submit { min-height: 64px; }
  .page-actions .cta-button { width: 100%; justify-content: space-between; }
  .fig--logo { aspect-ratio: 2 / 1; }
  .ud-now { font-size: 10px; }
}

/* 320–379px (small Android phones, 400% zoom): single-column features, compact buttons. */
@media (max-width: 379px) {
  .mission--unidrop .module-cta { gap: 10px; padding: 0 16px; font-size: 13px; letter-spacing: .02em; }
  .module-cta { gap: 10px; padding: 0 16px; font-size: 13.5px; }
  .cta-button--xl { flex-wrap: wrap; align-content: center; gap: 2px 10px; padding-top: 14px; padding-bottom: 14px; }
  .cta-button--xl .cta-en { font-size: 22px; }
  .header-cta { padding: 0 10px; font-size: 12px; }
}

/* Forced colours (Windows High Contrast): site.js runs DOM mode there; this is the safety net if a
   render mode is active anyway (the setting toggled mid-visit), plus the menu bars (background-only). */
@media (forced-colors: active) {
  #screen, #screen + canvas[data-gl-skip] { display: none !important; }
  html.gl-hide body * { color: CanvasText !important; }
  .menu-toggle-icon i { background: CanvasText; forced-color-adjust: none; }
}

@media print {
  #screen, #screen + canvas[data-gl-skip], .menu-panel, .menu-toggle, [data-lens-toggle], .dom-only, .mission-dock { display: none !important; }
  .site-header { position: static; }
  [data-tone="dark"], .mission, .member { background: none !important; color: #000 !important; }
}
