/* ==========================================================================
   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 line breaking (REV 4.4): break only at phrase boundaries, in every browser. The HTML carries
   <wbr> between phrases (scripts/phrase_breaks.py, BudouX); keep-all stops breaks inside a phrase, and
   a phrase wider than its box may still break anywhere rather than overflow. (word-break: auto-phrase
   is Chrome-only; iPhone Safari ignored it and split words like くださ/い.) English set in lang="en"
   keeps normal breaking. */
body { word-break: keep-all; overflow-wrap: anywhere; }
[lang="en"] { word-break: normal; overflow-wrap: normal; }
h1, h2, h3, h4, .section-jp, .hero-lead, .ud-lead, .about-pull, .faq-question, .member-name,
.br-name, .svc-name, .case-title, .check-name { text-wrap: balance; }
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, .step-num, .live-tag,
.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, .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 6 business list (docs/superpowers/specs/2026-10-19-youest-rev6-business-pages.md) ---
   head     : "What we do." + 事業紹介 and one sentence naming every business
   list     : SOLUTIONS — one row per business (code, name, what it does, three tags, a proof mark, →), each row
              opening its page /business/<slug>; PRODUCT — UniDrop's light row
   The depth (CASE 01, the UniDrop panel, the first-step ticket: REV 5 blocks ②–④ below) lives on the business
   pages now (section 9b). [data-gl-surface] surfaces are canvas-drawn in gl / 2d; CSS paints them in DOM mode.
   Reading areas carry no ornaments. Phones: REV 4.4 §1, at the end of this block. */
.business {
  position: relative;
  padding-bottom: clamp(72px, 8vw, 128px);
}
.business .section-head h2,
.business .section-jp { color: var(--paper); }
.business-title { white-space: nowrap; }
.business-intro {
  flex: 0 1 32em;
  min-width: min(100%, 300px);
  padding-bottom: .3em;
}
.business .section-intro { font-size: 16px; line-height: 1.9; color: var(--night-ink-2); }
.business .btn-frame { border-color: var(--night-mute); }
#case-hotel, #first-step, #works-site, #works-private, .biz-row, .biz-product, .live-card { scroll-margin-top: calc(var(--hdr) + 24px); }

/* list headings: an EN micro label (orange) over the JP heading, a hairline under both */
.biz-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--night-rule-2);
  color: var(--paper);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.biz-h-en { font: 500 11px/1.6 var(--f-mono); letter-spacing: .22em; color: var(--orange); }

/* ── ① the business list (home; the business pages' ほかの事業 use .biz-list--compact on paper) ── */
.biz-list { margin-top: clamp(48px, 5vw, 80px); }
.biz-h--product { margin-top: clamp(44px, 4.4vw, 68px); }
.biz-row { position: relative; border-bottom: 1px solid var(--night-rule); }
.biz-row-link {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 44px;
  align-items: center;
  gap: 14px clamp(24px, 3vw, 48px);
  min-height: 132px;
  padding: 26px 20px 26px 22px;
  color: var(--paper);
}
.br-head { display: grid; gap: 6px; }
.br-code { display: flex; align-items: baseline; gap: 14px; }
.br-num { font: 500 12px/1.6 var(--f-mono); letter-spacing: .14em; color: var(--orange); }
.br-en { font: 500 11px/1.6 var(--f-mono); letter-spacing: .22em; color: var(--night-mute); }
.br-name { font-size: clamp(21px, 1.85vw, 27px); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.br-body { display: grid; gap: 12px; }
.br-desc { font-size: 15px; line-height: 1.85; color: var(--night-ink-2); }
.br-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.br-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.br-tags span {
  padding: 3px 9px 2px;
  border: 1px solid var(--night-rule-2);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--night-ink-2);
}
.br-proof { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; color: var(--paper); }
.br-go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; justify-self: end; }
.br-arrow { font-size: 20px; font-weight: 700; line-height: 1; color: var(--orange); }

/* UniDrop: its own light brand row */
.biz-product { position: relative; margin-top: 18px; background: var(--ud-paper); color: var(--ud-ink); }
.biz-product-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px clamp(28px, 3.4vw, 56px);
  min-height: 108px;
  padding: 24px 22px 24px 28px;
}
.bpr-logo { display: block; }
.bpr-body { display: grid; gap: 4px; }
.bpr-name { font-size: 17px; font-weight: 700; line-height: 1.55; letter-spacing: .05em; color: var(--ud-ink); }
.bpr-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--ud-ink-2); }
.bpr-note .live-dot { background: var(--ud-orange); }
.biz-product .br-arrow { color: var(--ud-orange-ink); }

/* ほかの事業 on paper (business pages) */
.biz-list--compact { margin-top: clamp(36px, 4vw, 60px); }
.biz-list--compact .biz-rows { border-top: 1px solid var(--ink); }
.biz-list--compact .biz-row { border-bottom-color: var(--rule); }
.biz-list--compact .biz-row-link { min-height: 108px; padding: 20px 16px 20px 18px; color: var(--ink); }
.biz-list--compact .br-num { color: var(--orange-ink); }
.biz-list--compact .br-en { color: var(--ink-2); }
.biz-list--compact .br-name { font-size: clamp(19px, 1.55vw, 23px); }
.biz-list--compact .br-desc { font-size: 14px; color: var(--ink-2); }
.biz-list--compact .br-tags span { border-color: var(--rule-2); color: var(--ink-2); }
.biz-list--compact .br-proof { color: var(--ink); }
.biz-list--compact .br-arrow { color: var(--orange-ink); }
.biz-list--compact .biz-product { outline: 1px solid var(--ud-rule); outline-offset: -1px; }

/* ── ② case file ── */
.case {
  position: relative;
  margin-top: 28px;
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--night-2);
  color: var(--paper);
}
.case-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font: 500 11px/1.6 var(--f-mono);
  letter-spacing: .2em;
  color: var(--night-ink-2);
}
.case-no { color: var(--orange); }
.case-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-sans); letter-spacing: .06em; }
.case-live .live-tag { background: var(--orange); color: var(--ink); }
.case-client {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: .04em;
}
.case-client-key { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .22em; color: var(--night-mute); }
.redact { display: inline-block; width: 7.2em; height: 1.1em; background: var(--paper); }
.case-client-name { color: var(--paper); }
.case-title {
  margin-top: 14px;
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .02em;
}
.case-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--night-rule-2);
  border-bottom: 1px solid var(--night-rule);
}
.cn { padding: 18px 20px 20px 0; }
.cn + .cn { padding-left: 20px; border-left: 1px solid var(--night-rule); }
.cn-label { display: block; font-size: 12px; line-height: 1.6; letter-spacing: .06em; color: var(--night-ink-2); }
.cn-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 8px; }
.cn-from { font-size: 15px; color: var(--night-mute); text-decoration: line-through; }
.cn-arrow { font-size: 15px; color: var(--orange); }
.cn-to { font-size: clamp(30px, 3vw, 46px); font-weight: 700; line-height: 1.15; letter-spacing: .02em; color: var(--orange); }
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(28px, 3.4vw, 56px);
  margin-top: 34px;
}
.case-steps { display: grid; gap: 24px; }
.case-step :is(h4, h5) {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}
.cs-key { padding: 2px 6px 1px; border: 1px solid var(--orange); font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .14em; color: var(--orange); }
.case-step p { margin-top: 8px; font-size: 15px; line-height: 1.95; color: var(--night-ink-2); }
.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--night-rule);
  font-size: 13px;
  line-height: 1.6;
}
.case-facts div { display: flex; align-items: baseline; gap: 12px; }
.case-facts dt { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .22em; color: var(--night-mute); }
.case-facts dd { margin: 0; color: var(--paper); }
.case-cta { margin-top: 26px; }

/* ── ③ running ── */
.live-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.live-card { position: relative; }
.live-card--site,
.live-card--private {
  padding: 26px 24px 28px;
  background: var(--night-2);
  color: var(--paper);
}
.lc-tag { display: flex; align-items: center; gap: 14px; font: 500 11px/1.6 var(--f-mono); letter-spacing: .22em; color: var(--orange); }
.lc-live { display: inline-flex; align-items: center; gap: 7px; color: var(--night-ink-2); }
.lc-title { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.lc-text { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--night-ink-2); }
.lc-redact { display: grid; gap: 7px; margin-top: 18px; }
.lc-redact i { display: block; height: 9px; background: var(--night-3); }
.lc-redact i:nth-child(1) { width: 84%; }
.lc-redact i:nth-child(2) { width: 62%; }
.lc-redact i:nth-child(3) { width: 44%; }

/* UniDrop: its own light brand panel ("Campus Almanac"), drawn by the mirror; full width */
.live-card--unidrop {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(24px, 3.4vw, 56px);
  padding: clamp(24px, 3vw, 44px);
  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;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ud-rule);
}
.unidrop-logo { width: auto; height: clamp(30px, 2.8vw, 40px); }
.ud-tag { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ud-ink-2); }
.ud-live { display: inline-flex; align-items: center; gap: 7px; font: 500 11px/1.6 var(--f-mono); letter-spacing: .2em; color: var(--ud-orange-ink); }
.ud-live .live-dot { background: var(--ud-orange); }
.ud-title { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.55; letter-spacing: .05em; color: var(--ud-ink-2); }
.ud-lead {
  margin-top: 4px;
  font: 700 clamp(26px, 2.6vw, 34px)/1.45 var(--f-mincho);
  letter-spacing: .04em;
  color: var(--ud-ink);
}
.ud-text { margin-top: 10px; font-size: 15px; line-height: 1.9; color: var(--ud-ink-2); }
.ud-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--ud-rule);
  border-bottom: 1px solid var(--ud-rule);
}
.ud-stats li { padding: 14px 12px 14px 0; }
.ud-stats li + li { padding-left: 14px; border-left: 1px solid var(--ud-rule); }
.us-value { display: block; font-size: clamp(19px, 1.8vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: .02em; white-space: nowrap; color: var(--ud-orange-ink); }
.us-label { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--ud-ink-2); }
.ud-sub { margin-top: 22px; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.ud-builds { margin-top: 8px; border-top: 1px solid var(--ud-rule); }
.ud-builds li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--ud-rule);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ud-ink-2);
}
.ud-tools { margin-top: 14px; font-size: 13px; line-height: 1.8; color: var(--ud-ink-2); }
.ud-tools-key { margin-right: 12px; font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .2em; color: var(--ud-orange-ink); }
.ud-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }
.ud-links a { color: var(--ud-ink); }
.live-card--unidrop .fig { align-self: start; }
.live-card--unidrop .fig-tag, .live-card--unidrop .fig-caption { color: var(--ud-ink-2); }

/* ── ④ first step ── */
.start-body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(28px, 3.4vw, 56px);
  margin-top: 28px;
}
.start-ticket {
  position: relative;
  padding: clamp(26px, 3vw, 44px);
  background: var(--paper);
  color: var(--ink);
}
.st-kind { font: 500 11px/1.6 var(--f-mono); letter-spacing: .26em; color: var(--orange-ink); }
.st-name { margin-top: 6px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.st-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px dashed var(--rule-2);
  border-bottom: 1px dashed var(--rule-2);
}
.st-amount { font-size: clamp(34px, 3.4vw, 50px); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.st-tax { font-size: 13px; color: var(--ink-2); }
.st-dur {
  margin-left: auto;
  padding: 5px 10px 4px;
  background: var(--ink);
  color: var(--paper);
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .14em;
}
.st-lead { margin-top: 16px; font-size: 15px; line-height: 1.9; }
.st-gets-key { margin-top: 20px; font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .22em; color: var(--ink-2); }
.st-gets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.st-gets li {
  padding: 12px 12px 13px;
  border: 1px solid var(--rule-2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.st-free { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.start-side { display: grid; justify-items: start; gap: 22px; }
.start-flow { width: 100%; border-top: 1px solid var(--night-rule-2); }
.start-flow li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--night-rule);
}
.sf-num { grid-row: span 2; padding-top: 3px; font: 500 12px/1.6 var(--f-mono); letter-spacing: .14em; color: var(--orange); }
.sf-name { font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; color: var(--paper); }
.sf-note { font-size: 14px; line-height: 1.8; color: var(--night-ink-2); }
.start-nda { font-size: 13px; line-height: 1.8; color: var(--night-ink-2); }

/* ── tablet (700–1099): a row stacks its description under the name; the case and the start block stack ── */
@media (max-width: 1099px) {
  .biz-row-link { grid-template-columns: minmax(0, 1fr) 44px; }
  .br-head { grid-column: 1; grid-row: 1; }
  .br-go { grid-column: 2; grid-row: 1; }
  .br-body { grid-column: 1 / -1; grid-row: 2; max-width: 40em; }
  .case-body, .start-body { grid-template-columns: minmax(0, 1fr); }
  .live-card--unidrop { grid-template-columns: minmax(0, 1fr); }
  .live-card--unidrop .fig { width: min(100%, 560px); }
}

/* ── phones (< 700, REV 4.4 §1): one thing per row, 20 px gutters, lighter controls, shorter copy ── */
@media (max-width: 699px) {
  .business { padding-bottom: 72px; }
  .business .section-intro { font-size: 15px; line-height: 1.85; }
  .biz-list { margin-top: 40px; }
  .biz-h { gap: 2px 12px; padding-bottom: 12px; font-size: 17px; }
  .biz-h-en { width: 100%; font-size: 10.5px; }
  .biz-h--product { margin-top: 36px; }
  .biz-row-link { gap: 10px 12px; min-height: 0; padding: 20px 2px 22px 0; }
  .br-name { font-size: 20px; line-height: 1.45; }
  .br-desc { font-size: 14.5px; line-height: 1.8; letter-spacing: .02em; }
  .br-meta { gap: 8px 14px; }
  .br-tags span { font-size: 11.5px; }
  .biz-product { margin-top: 14px; }
  .biz-product-link { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; min-height: 0; padding: 20px 10px 20px 16px; }
  .bpr-logo { grid-column: 1; grid-row: 1; }
  .bpr-body { grid-column: 1; grid-row: 2; }
  .biz-product .br-go { grid-column: 2; grid-row: 1 / span 2; }
  .biz-product .unidrop-logo { height: 26px; }
  .bpr-name { font-size: 15.5px; }
  .biz-list--compact { margin-top: 28px; }
  .biz-list--compact .biz-row-link { padding: 18px 2px 20px 0; }
  .biz-list--compact .br-name { font-size: 18px; }

  .case { margin-top: 18px; padding: 22px 16px 24px; }
  .case-tag { gap: 6px 12px; font-size: 10.5px; letter-spacing: .16em; }
  .case-client { margin-top: 14px; font-size: 13.5px; }
  .case-title { margin-top: 10px; font-size: 24px; line-height: 1.45; }
  .case-numbers { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .cn { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 12px 0 14px; }
  .cn + .cn { padding-left: 0; border-left: 0; border-top: 1px solid var(--night-rule); }
  .cn-value { margin-top: 0; }
  .cn-to { font-size: 28px; }
  .case-body { gap: 26px; margin-top: 24px; }
  .case-steps { gap: 18px; }
  .case-step p { font-size: 15px; line-height: 1.85; letter-spacing: .02em; }
  .case-facts { flex-direction: column; gap: 6px; margin-top: 22px; }
  .case-cta { display: flex; justify-content: space-between; width: 100%; min-height: 52px; margin-top: 22px; padding: 0 18px; gap: 10px; font-size: 15px; letter-spacing: .04em; }
  .case-cta .btn-frame { inset: -4px; }

  .live-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .live-card--unidrop { gap: 22px; padding: 22px 16px 24px; }
  .ud-tag { gap: 10px; font-size: 11.5px; }
  .ud-lead { font-size: 26px; }
  .ud-text { font-size: 14.5px; line-height: 1.85; }
  .ud-stats li { padding: 12px 8px 12px 0; }
  .ud-stats li + li { padding-left: 10px; }
  .us-value { font-size: 15.5px; letter-spacing: 0; }
  .us-label { font-size: 11px; }
  .ud-builds li { padding: 9px 0 9px 18px; font-size: 13.5px; line-height: 1.7; }
  .ud-links { gap: 0 18px; }
  .live-card--unidrop .fig { width: 100%; }
  .live-card--site, .live-card--private { padding: 20px 16px 22px; }
  .lc-title { font-size: 17px; }

  .start-body { gap: 26px; margin-top: 18px; }
  .start-ticket { padding: 22px 18px 24px; }
  .st-name { font-size: 24px; }
  .st-amount { font-size: 34px; }
  .st-dur { margin-left: 0; }
  .st-gets { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--rule-2); }
  .st-gets li { padding: 11px 0; border: 0; border-bottom: 1px solid var(--rule-2); }
  .start-side { gap: 18px; }
  .start-flow li { padding: 14px 0; }
  .sf-name { font-size: 15.5px; }
  .start-cta { justify-content: space-between; width: 100%; min-height: 52px; padding: 0 20px; font-size: 15px; }
  .start-cta .btn-frame { inset: -4px; }
}


/* --- 9b. Business pages (REV 6): /business/<slug> ---------------------------------------------------
   01 hero (night): breadcrumb · label · the business name (h1) · lead · tags · contact + jump · figure
   02 提供内容 (paper) · 03 実績 / データの扱い (night: REV 5's case file, live cards) · 04 進め方 (paper: the
   home PROCESS route, 4 steps) · 05 はじめ方 (night: the first-step ticket + flow) · 06 ほかの事業 (paper rows)
   · 07 the home CTA block. UniDrop: hero · プロダクト (night, its light panel) · rows · CTA. */
.biz-page > .section:not(.cta) { padding-bottom: clamp(80px, 8.4vw, 136px); }
/* the night hero starts under the header (the header keeps its paper ground, like every other page top) */
.bp-hero { position: relative; margin-top: var(--hdr); padding: clamp(8px, 1.4vw, 20px) var(--pad) clamp(80px, 8.4vw, 136px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 12px; line-height: 1.6; letter-spacing: .06em; color: var(--night-ink-2); }
.crumbs a { display: inline-block; padding: 12px 0; color: var(--paper); }
.crumb-sep { margin: 0 10px; color: var(--night-mute); }
.bp-hero .section-label { margin-top: 10px; }
.bp-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(36px, 4.4vw, 80px);
  margin-top: clamp(36px, 4.4vw, 64px);
}
.bp-hero--solo .bp-hero-body { grid-template-columns: minmax(0, 1fr); }
.bp-title { font-size: clamp(38px, 4.9vw, 76px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; color: var(--paper); }
.bp-title-en { display: block; font: 400 clamp(72px, 10vw, 168px)/.9 var(--f-display); letter-spacing: -.06em; }
.bp-title-sub { display: block; margin-top: clamp(16px, 2vw, 28px); font-size: clamp(20px, 2vw, 30px); line-height: 1.4; letter-spacing: .06em; }
.bp-lead { max-width: 33em; margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.95; color: var(--night-ink-2); }
.bp-proof { margin-top: 14px; }
.bp-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-bottom: 1px solid var(--night-rule-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--paper);
}
.bp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bp-tags li { padding: 5px 12px 4px; border: 1px solid var(--night-rule-2); font-size: 13px; line-height: 1.6; letter-spacing: .04em; color: var(--paper); }
.bp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin-top: clamp(30px, 3.2vw, 44px); }
.bp-actions .text-link { border-color: var(--paper); color: var(--paper); }
.bp-actions .btn-frame { border-color: var(--night-mute); }
.bp-brand {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--ud-paper);
}
.bp-brand .unidrop-logo { width: min(64%, 360px); height: auto; }
.bp-brand-tag { position: absolute; left: 22px; top: 18px; display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.6 var(--f-mono); letter-spacing: .2em; color: var(--ud-orange-ink); }
.bp-brand-tag .live-dot { background: var(--ud-orange); }
.bp-hero .fig-tag { color: var(--orange); font-size: 11px; }
.bp-hero .fig-caption { color: var(--night-ink-2); }

/* 02 提供内容: numbered items in two columns, ink hairline above */
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(44px, 5vw, 80px);
  border-top: 1px solid var(--ink);
}
.svc {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  padding: 26px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.svc-num { grid-row: span 2; padding-top: 4px; font: 500 12px/1.6 var(--f-mono); letter-spacing: .14em; color: var(--orange-ink); }
.svc-name { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; letter-spacing: .04em; }
.svc-desc { margin-top: 8px; max-width: 30em; font-size: 15px; line-height: 1.95; color: var(--ink-2); }

/* 03 実績 / データの扱い, 05 はじめ方, プロダクト (night) */
.bp-works .section-intro, .bp-start .section-intro, .bp-product .section-intro { color: var(--night-ink-2); }
.bp-works .case, .bp-works .live-cards, .bp-product .live-cards, .bp-start .start-body { margin-top: clamp(36px, 4.4vw, 64px); }
.bp-works .btn-frame, .bp-start .btn-frame { border-color: var(--night-mute); }
.case-body--wide { grid-template-columns: minmax(0, 1fr); }
.case-body--wide .case-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.live-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.live-card--wide { grid-column: 1 / -1; }
.live-card--link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 22px;
  background: var(--night-2);
  color: var(--paper);
}
.lc-link { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--paper); }
.lc-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--night-rule);
}
.lc-facts div { padding: 14px 16px 2px 0; }
.lc-facts div + div { padding-left: 16px; border-left: 1px solid var(--night-rule); }
.lc-facts dt { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .2em; color: var(--night-mute); }
.lc-facts dd { margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: var(--paper); }
.start-body--flow { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* 04 進め方: the home route with four steps */
@media (min-width: 900px) {
  .process-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1099px) {
  .bp-hero-body { grid-template-columns: minmax(0, 1fr); }
  .bp-hero-fig { width: min(100%, 620px); }
  .case-body--wide .case-steps { grid-template-columns: minmax(0, 1fr); }
  .live-cards--3 { grid-template-columns: minmax(0, 1fr); }
  .lc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 699px) {
  .biz-page > .section:not(.cta) { padding-bottom: 72px; }
  .bp-hero { padding: 4px var(--pad) 64px; }
  .crumbs ol { font-size: 11.5px; }
  .crumb-sep { margin: 0 8px; }
  .bp-hero-body { gap: 32px; margin-top: 28px; }
  [data-biz="unidrop"] .bp-hero-fig { display: none; } /* the brand panel follows right below */
  .bp-title { font-size: clamp(30px, 9vw, 38px); line-height: 1.25; }
  .bp-title-en { font-size: clamp(60px, 19vw, 84px); }
  .bp-title-sub { margin-top: 14px; font-size: 19px; }
  .bp-lead { margin-top: 18px; font-size: 15px; line-height: 1.85; }
  .bp-tags { gap: 6px; margin-top: 18px; }
  .bp-tags li { font-size: 12px; }
  .bp-actions { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 26px; }
  .bp-actions .cta-button { justify-content: space-between; min-height: 52px; padding: 0 20px; font-size: 15px; }
  .bp-actions .cta-button .btn-frame { inset: -4px; }
  .bp-actions .text-link { align-self: flex-start; }
  .svc-list { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .svc { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 18px 0 22px; }
  .svc-name { font-size: 17.5px; }
  .svc-desc { font-size: 15px; line-height: 1.85; letter-spacing: .02em; }
  .bp-works .case, .bp-works .live-cards, .bp-product .live-cards, .bp-start .start-body { margin-top: 26px; }
  .live-card--link { padding: 20px 16px 18px; }
  .lc-facts { grid-template-columns: minmax(0, 1fr); }
  .lc-facts div, .lc-facts div + div { padding: 10px 0; border-left: 0; }
  .lc-facts div + div { border-top: 1px solid var(--night-rule); }
}

/* 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; }
}

.reason-link { margin-top: 14px; font-size: 13px; }

/* --- 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; }
/* REV 5: what the client receives at each step */
.step .step-get { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-top: 10px; color: var(--ink); font-size: 13px; line-height: 1.7; }
.step-get-key { font: 500 10.5px/1.7 var(--f-mono); letter-spacing: .2em; color: var(--orange-ink); }

.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 ----------------------------------------------------- */
/* The site's last screen (2026-10-14). The delivered look is the default: an orange surface, ink copy
   and the whole wordmark (DOM mode, reduced motion, print). In gl / 2d js/scenes/footer.js arms it while
   the visitor scrolls toward it (.is-armed + data-tone=dark: night surface, paper copy), lands the DROP
   in the U when they arrive and floods it orange again with the 3-band wipe. It also paints the surface
   ([data-gl-surface]) and draws the wordmark and the tagline ([data-gl-skip]). */
.site-footer {
  --ft-rule: rgba(41, 40, 38, .32);
  /* the bottom padding is where the HUD's bottom row sits once the page has reached its end */
  padding: clamp(48px, 5vw, 72px) var(--pad) clamp(72px, 6vw, 88px);
  background-color: var(--orange);
  color: var(--ink);
}
.site-footer.is-armed { --ft-rule: var(--night-rule-2); background-color: var(--night); color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--ink); }
.site-footer.is-armed :focus-visible { outline-color: var(--orange); }

.footer-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
}
/* one line at every width ("IDEAS, DELIVERED." is ~9.2em wide) */
.footer-tag {
  margin: 0;
  font-family: var(--f-display);
  font-size: min(clamp(30px, 3.6vw, 56px), calc((100vw - 2 * var(--pad)) / 9.6));
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.footer-tag-jp { margin: 12px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2vw, 32px); margin-bottom: -14px; }
.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-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 32px;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: 4px;
  border-top: 1px solid var(--ft-rule);
  font-size: 12px;
  line-height: 1.6;
}
.footer-company { margin: 0; font-weight: 700; letter-spacing: .08em; }
.footer-info > a { display: inline-block; padding: 14.5px 0; letter-spacing: .06em; } /* 48px targets */
.footer-legal { margin: 0; font-size: 11px; }
.footer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; padding: 8px 0; }
.back-top {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid currentColor;
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .18em;
}
/* the giant wordmark: the content width, never taller than ~46% of the screen (wide monitors) */
.footer-mark {
  max-width: calc(46svh * 1353 / 391);
  margin-top: clamp(64px, 6.4vw, 96px);
}
.footer-mark img { display: block; width: 100%; height: auto; }

/* hover: an underline on orange, orange on night (gl / 2d style .is-hover, DOM mode :hover) */
html:not([data-render]) .site-footer[data-footer] :is(.footer-nav a, .footer-info > a, .back-top):hover,
html[data-render] .site-footer[data-footer] :is(.footer-nav a, .footer-info > a, .back-top).is-hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
html[data-render] .site-footer[data-footer].is-armed :is(.footer-nav a, .footer-info > a, .back-top).is-hover {
  color: var(--orange);
  text-decoration: none;
}

/* Phones: tagline; the nav as a 2-column grid of rows; company + ©; mail + privacy rows; LENS and
   BACK TO TOP as two chips in one row; the wordmark last. */
@media (max-width: 699px) {
  .site-footer { padding-top: 40px; padding-bottom: 72px; }
  .footer-head { display: block; }
  .footer-tag-jp { margin-top: 8px; font-size: 12px; }
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    margin: 20px 0 0;
    border-top: 1px solid var(--ft-rule);
  }
  .footer-nav a { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--ft-rule); }
  .footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .footer-company { grid-area: 1 / 1; padding-top: 14px; }
  .footer-legal { grid-area: 1 / 2; padding-top: 14px; text-align: right; }
  .footer-mail { grid-area: 2 / 1; }
  .footer-privacy { grid-area: 2 / 2; }
  .footer-info > a { padding: 13px 0; border-bottom: 1px solid var(--ft-rule); overflow-wrap: anywhere; }
  .footer-chips { grid-area: 3 / 1 / 4 / 3; flex-wrap: nowrap; margin: 12px 0 0; padding: 0; }
  .footer-mark { margin-top: 56px; }
}

/* ---------- 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]) .case {
  isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
html:not([data-render]) :is(.live-card--site, .live-card--private, .live-card--link) {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
html:not([data-render]) .start-ticket {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
/* the build markers of UniDrop (canvas in gl) */
html:not([data-render]) .ud-builds li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.15em;
  width: 6px;
  height: 6px;
  background: var(--ud-orange);
}
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));
}
.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]) .case .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]) .bp-hero .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]) .live-card--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%; }
.case .fig-tag { color: var(--orange); font-size: 11px; }
.case .fig-caption { color: var(--night-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),
  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]) .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]) .biz-row-link:hover {
    background: var(--night-2);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }
  html:not([data-render]) .biz-list--compact .biz-row-link:hover { background: var(--paper-2); }
  html:not([data-render]) .biz-row-link:hover .br-name { color: var(--orange); }
  html:not([data-render]) .biz-list--compact .biz-row-link:hover .br-name { color: var(--orange-ink); }
  html:not([data-render]) :is(.biz-row-link, .biz-product-link):hover .br-go { background: var(--orange); }
  html:not([data-render]) .biz-product-link:hover .br-go { background: var(--ud-orange); }
  html:not([data-render]) .biz-row-link:hover .br-arrow { color: var(--ink); }
  html:not([data-render]) .biz-product-link:hover .br-arrow { color: var(--ud-paper); }
  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] .biz-row-link.is-hover .br-name { color: var(--orange); }
html[data-render] .biz-list--compact .biz-row-link.is-hover .br-name { color: var(--orange-ink); }
html[data-render] .biz-row-link.is-hover .br-arrow { color: var(--ink); }
html[data-render] .biz-product-link.is-hover .br-arrow { color: var(--ud-paper); }
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: contact (the phone footer is in section 10) */
  .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; }
}

/* 320–379px (small Android phones, 400% zoom): single-column features, compact buttons. */
@media (max-width: 379px) {
  .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 { display: none !important; }
  .site-header { position: static; }
  [data-tone="dark"], .biz-product, .case, .live-card, .start-ticket, .member, .site-footer { background: none !important; color: #000 !important; }
}

/* ==== REV 4.4 block A: phone shell + hero (header, footer, HUD) — begin (edit scratchpad/rev44/css-A.css, then sync-css.py A) ==== */
/* Paired labels (REV 4.4 §1.3): the long text from 700 px up, a faithful short one on phones.
   (The generic pair is shared by every block; the scoped pair keeps the header and hero right
   whatever order the blocks define it in.) */
.t-short { display: none; }

/* Hero: the live hotel tools are stated as plain text on its own line (no LIVE chip, at every size —
   client 2026-10-14: 「ボタンじゃなくて表記だけにしよ」). */
.hero-sub .sub-note { display: block; margin-top: .25em; }

@media (max-width: 699px) {
  .t-long { display: none; }
  .t-short { display: inline; }
  .site-header .t-long, .hero .t-long { display: none; }
  .site-header .t-short, .hero .t-short { display: inline; }

  /* ── header: a compact 56 px bar (the dock, scroll padding and anchor offsets follow --hdr) ── */
  :root { --hdr: 56px; }
  /* the shell and the hero share the sections' phone gutter (blocks B / C: 20 px, 16 px ≤ 360 px) */
  .site-header, .menu-panel, .hero { --pad: 20px; }
  /* always a solid bar on phones: the hero's first rows slide under it from the first pixel */
  .site-header { gap: 10px; background: var(--paper); border-bottom-color: var(--rule); }
  .brand { width: 96px; padding: 8px 0; }
  /* 相談する: a light 36 px chip with a small notch; the hit area stays 44 px tall (an empty pseudo
     box — part of the link for hit-testing, never mirrored) */
  .header-cta { height: 36px; padding: 0 14px 0 15px; font-size: 13px; letter-spacing: .08em; }
  .header-cta .btn-notch { width: 4px; height: 4px; }
  .header-cta::after {
    content: "";
    position: absolute;
    left: -5px;
    right: -5px;
    top: 50%;
    height: 44px;
    margin-top: -22px;
  }
  /* menu: a 40 px hairline square, two short bars (44 px hit area) */
  .menu-toggle { position: relative; width: 40px; height: 40px; border-color: var(--rule); }
  .menu-toggle::after { content: ""; position: absolute; inset: -4px; }
  .menu-toggle-icon { gap: 5px; }
  .menu-toggle-icon i { width: 16px; }
  .menu-toggle-icon i:last-child { width: 10px; }
  .menu-toggle-close { font-size: 24px; }

  /* ── hero: copy and one row of two equal actions on top; under them the drop toy's stage — a
     small panel (00 / DELIVERY SYSTEM, the DLV readout the canvas prints in the gap, the hint) and
     the U the canvas stands on the stage floor at the right ── */
  .hero {
    min-height: max(560px, 100svh);
    padding: calc(var(--hdr) + 26px) var(--pad) 48px;
  }
  html:not([data-render]) .hero { min-height: max(560px, min(100svh, 1100px)); }
  .hero-main { order: 1; margin: 0; padding-bottom: 0; }
  .hero-index { margin-bottom: 14px; font-size: 10.5px; }
  .hero-lead { margin-top: 18px; font-size: clamp(19px, 5.6vw, 22px); line-height: 1.5; letter-spacing: .06em; }
  .hero-sub { margin-top: 10px; font-size: 15px; line-height: 1.8; letter-spacing: .02em; }
  .hero-sub .sub-note { display: block; }
  .hero-live { display: none; }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  .hero-actions .cta-button,
  .hero-actions .text-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 48px;
    padding: 0 14px 0 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
    white-space: nowrap;
  }
  .hero-actions .text-link { border: 1px solid var(--ink); background: var(--paper); }
  .hero-actions .cta-button .btn-frame,
  .hero-actions .cta-button .cta-en { display: none; }
  .hero-actions .cta-button .btn-notch { width: 6px; height: 6px; }

  /* the stage panel: the code mark moves under the actions (left), small */
  .hero-code {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-start;
    align-items: flex-start;
    margin-top: 40px;
  }
  .hero-code-num { font-size: 28px; }
  .hero-code-rule { width: 24px; margin: 8px 0 6px; }
  .hero-code-label { font-size: 10px; letter-spacing: .18em; }
  /* the hint closes the panel; the gap above it is where the canvas prints DLV + its meter */
  .hero-meta { order: 3; display: block; margin-top: 46px; }
  .hero-flow { display: none; }
  .hero-hint { font-size: 10.5px; letter-spacing: .18em; }
  .hero .hero-hint-key { display: none; }

  /* DOM mode: the U stands on the stage floor at the right; its idea drops in from the stage, not
     through the copy above it */
  .hero-u { right: calc(var(--pad) - 10px); bottom: 34px; width: min(56vw, 250px); }
  html:not([data-render]) .hero-u .u-drop { animation-name: dom-drop-stage; }
}
@keyframes dom-drop-stage {
  0% { transform: translateY(-190px) 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; }
}

@media (max-width: 360px) {
  .site-header, .menu-panel, .hero { --pad: 16px; }
}

/* small phones (320–359): the two halves keep their labels on one line (Chrome breaks at a <wbr>
   even under nowrap), the header keeps its air */
@media (max-width: 359px) {
  .site-header { gap: 8px; }
  .brand { width: 92px; }
  .header-cta { padding: 0 12px 0 13px; letter-spacing: .06em; }
  .hero-actions { gap: 8px; }
  .hero-actions .cta-button,
  .hero-actions .text-link { gap: 6px; padding: 0 11px 0 13px; font-size: 14.5px; letter-spacing: .04em; }
}

/* short phones (SE-class, landscape): a tighter rhythm, the stage starts sooner */
@media (max-width: 699px) and (max-height: 640px) {
  .hero { padding-top: calc(var(--hdr) + 18px); padding-bottom: 40px; }
  .hero-index { margin-bottom: 10px; }
  .hero-lead { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-code { margin-top: 28px; }
}

/* wide phones / phones on their side: the pair of actions keeps a thumb-sized width */
@media (min-width: 480px) and (max-width: 699px) {
  .hero-actions { max-width: 440px; }
}
/* ==== REV 4.4 block A — end ==== */

/* ==== REV 4.4 block B: phone home sections — begin (edit scratchpad/rev44/css-B.css, then sync-css.py B) ==== */
/* Builder B — the home sections from #business to the end of <main> (REV 4.4 §3).
   Desktop / tablet keep their look; the one exception is #signature (client, 2026-10-14: "the logo
   section could be a bit smaller"), which is more compact at every size.
   Phones (< 700 px) get their own design: one thing per row, 20 px gutters (16 px ≤ 360 px), lighter
   controls (hairline list rows, outline chips, one filled orange action per region), shorter copy
   (paired .t-long / .t-short spans), phone type sizes. Surfaces marked [data-gl-surface] are painted by
   business.js / sections.js in gl / 2d, so their phone look lives there too; html:not([data-render])
   rules here are the DOM-mode twins of what the canvas draws. */

/* short copy: hidden until phones (scoped to the home sections; the shell has its own swap) */
main > .section .t-short { display: none; }

/* ── #signature, every size: a calm interlude instead of a full-screen stop ── */
#signature { --section-y: clamp(72px, 7vw, 112px); }
#signature .signature-head { margin-top: clamp(28px, 3.4vw, 52px); }
#signature .fig--logo {
  width: 78%;
  aspect-ratio: 3 / 1;
  margin: clamp(24px, 2.8vw, 44px) auto 0;
}
#signature .signature-tools { margin-top: clamp(16px, 1.6vw, 24px); }

@media (max-width: 699px) {
  main > .section .t-long { display: none; }
  main > .section .t-short { display: inline; }

  /* rhythm: 20 px gutters, a little less air between sections */
  main > .section { --pad: 20px; --section-y: 80px; }
  .section-head { gap: 12px; margin-top: 26px; }
  .section h2.display-l { font-size: min(var(--t-l), 64px); }
  .section h2.display-l--wide { font-size: min(var(--t-l), 64px, calc((100vw - 2 * var(--pad)) / 5.3)); }
  .section-head-side { min-width: 0; padding-bottom: 0; }
  .section-jp { font-size: 20px; line-height: 1.55; letter-spacing: .04em; }
  .section-next { gap: 0 16px; margin-top: 24px; }
  .section-next .text-link { padding-top: 14px; }

  /* ═══ 02 BUSINESS ═══ REV 5 (2026-10-14): the business section's phone rules live in style.css section 9
     (session youest-site-2-78). Kept here: the UniDrop links as outline chips and the shared hit areas. */
  .ud-links { gap: 8px; margin-top: 16px; }
  .ud-links .line-link {
    position: relative;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(30, 22, 17, .3);
    font-size: 13px;
  }
  .ud-links .line-link::after, .reason-link::after, .replay-button::after, .downloads a::after,
  .cta-mail .copy-button::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }

  /* ═══ 03 WHY ═══ */
  .reasons { gap: 12px; margin-top: 30px; border-top: 0; }
  .reason {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 18px 16px 20px;
    border: 0;
  }
  .reason-num { font-size: 48px; line-height: 1; -webkit-text-stroke-width: 1.2px; }
  .reason h3 { margin-top: 0; font-size: 18px; line-height: 1.55; letter-spacing: .03em; }
  .reason p { grid-column: 1 / -1; margin-top: 12px; font-size: 15px; line-height: 1.85; letter-spacing: .02em; }
  html:not([data-render]) .reason { border: 1px solid var(--rule-2); }

  /* the CASE 01 link under reason 01: a small outline chip (REV 5) */
  .reason-link {
    position: relative;
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 36px;
    margin-top: 12px;
    padding: 0 12px;
    border: 1px solid var(--rule-2);
    font-size: 13px;
  }

  /* ═══ 04 PROCESS ═══ */
  .process-steps { margin-top: 30px; }
  .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 12px;
    padding: 0 0 24px 30px;
  }
  .step-num { font-size: 11px; line-height: 1.6; letter-spacing: .14em; }
  .step h3 { margin-top: 0; font-size: 18px; line-height: 1.5; letter-spacing: .03em; }
  .step p { grid-column: 1 / -1; margin-top: 4px; font-size: 15px; line-height: 1.8; letter-spacing: .02em; }
  .step .step-get { margin-top: 6px; font-size: 13px; line-height: 1.7; }
  .process-cta { margin-top: 20px; }
  .process-cta .cta-button { min-height: 52px; gap: 12px; padding: 0 20px; font-size: 15px; }
  .process-cta .btn-frame { inset: -4px; }

  /* ═══ 05 ABOUT ═══ */
  .about-grid { gap: 18px; margin-top: 26px; }
  .about-title { font-size: clamp(30px, 9.2vw, 36px); line-height: 1.4; }
  .about-text { gap: 18px; }
  .about-text p { font-size: 15px; line-height: 1.85; letter-spacing: .02em; }
  .about-text .about-pull { font-size: 19px; line-height: 1.75; letter-spacing: .04em; }
  .about-words { margin-top: 44px; font-size: min(15vw, 56px); }
  .about-words .word { -webkit-text-stroke-width: 1.2px; }

  .squad-block { margin-top: 56px; }
  .squad-title { padding-top: 16px; font-size: 18px; }
  .squad-title-en { display: none; }
  .squad { gap: 12px; margin-top: 18px; }
  .member { min-height: 0; padding: 22px 18px 24px; }
  .member-callsign { margin-top: 12px; font-size: 64px; }
  .member-name { margin-top: 10px; font-size: 17px; letter-spacing: .12em; }
  .member-bio { padding-top: 14px; font-size: 14.5px; line-height: 1.85; letter-spacing: .02em; }
  .member-ghost { display: none; }

  .company-block { gap: 10px; margin-top: 56px; padding-top: 16px; }
  .company-block h3 { font-size: 18px; }
  .company-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0 12px; font-size: 15px; line-height: 1.7; }
  .company-row:first-child { padding-top: 4px; }
  .company dt { padding-top: 0; font-size: 12px; letter-spacing: .08em; }
  .company-contact { gap: 0 20px; }

  /* ═══ 06 SIGNATURE: about one screen — heading, short text, the logo stage, one row of chips ═══ */
  #signature { --section-y: 64px; }
  #signature .signature-head { gap: 10px; margin-top: 22px; }
  .signature-head h2 { font-size: min(10.4vw, 40px); }
  .signature-text { font-size: 14.5px; line-height: 1.8; letter-spacing: .02em; }
  #signature .fig--logo { width: 62%; min-width: 196px; height: 104px; aspect-ratio: auto; margin: 10px auto 0; }
  html:not([data-render]) #signature .fig--logo { outline: 0; }
  #signature .fig--logo .fig-tag { display: none; }
  #signature .fig--logo .fig-fallback img { width: 100%; }
  #signature .signature-tools { flex-wrap: nowrap; gap: 8px; margin-top: 10px; padding-top: 14px; }
  .replay-button { position: relative; flex: none; gap: 6px; min-height: 40px; padding: 0 14px; font-size: 13px; }
  .replay-button .replay-icon { font-size: 15px; }
  .downloads { flex-wrap: nowrap; gap: 8px; margin-left: 0; }
  .downloads a {
    position: relative;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rule-2);
    font-size: 10px;
    letter-spacing: .1em;
    white-space: nowrap;
  }
  .downloads a span { color: var(--orange-ink); }

  /* ═══ 07 FAQ: number + question + plus, the whole row is the target ═══ */
  .faq-list { margin-top: 28px; }
  .faq-item summary {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    gap: 12px;
    min-height: 56px;
    padding: 15px 0;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: .02em;
  }
  .faq-q { width: auto; font-size: 10.5px; letter-spacing: .1em; }
  .faq-item > p { padding: 0 6px 20px 46px; font-size: 14.5px; line-height: 1.85; letter-spacing: .02em; }

  /* ═══ 08 CONTACT CTA: title, short text, ONE button, a compact mail row ═══ */
  .cta h2 { font-size: min(17vw, 66px); }
  .cta-text { margin-top: 20px; font-size: 15px; line-height: 1.85; letter-spacing: .02em; }
  .cta .cta-button--xl { min-height: 52px; margin-top: 26px; padding: 0 20px; font-size: 16px; }
  .cta .cta-button--xl .cta-en { display: none; }
  .cta .cta-button--xl .cta-arrow { font-size: 18px; }
  .cta .cta-button--xl .btn-frame { inset: -4px; }
  .cta .cta-button--xl .btn-notch { width: 8px; height: 8px; }
  .cta-mail { gap: 10px; margin-top: 18px; font-size: 13px; letter-spacing: .06em; }
  .cta-mail > span:first-child { display: none; }
  .cta-mail .copy-button { position: relative; min-height: 36px; padding: 0 12px; font-size: 11px; }
}

@media (max-width: 360px) {
  main > .section { --pad: 16px; }
  .reason { padding: 16px 14px 18px; }
  .reason-num { font-size: 44px; }
  .downloads a { padding: 0 9px; letter-spacing: .06em; }
  .replay-button { padding: 0 11px; }
}
@media (max-width: 340px) {
  .downloads a { font-size: 9.5px; }
}
/* ==== REV 4.4 block B — end ==== */

/* ==== REV 4.4 block C: contact + live controls + privacy/404 — begin (edit scratchpad/rev44/css-C.css, then sync-css.py C) ==== */
/* ── Live form controls (REV 4.4 §4, every size): drawn when idle, native when typing ─────────────
   site.js puts a stand-in (span.live-ghost) after each form control in the page flow; the mirror paints
   it with the page, so a field never slides against its painted label while the page scrolls. The real
   control keeps its place for hit-testing, focus, typing and assistive tech; it is painted only while it
   is a focused text field on a still page ([data-live-shown]). [data-live-held]: that field while the page
   moves (transparent colours, opacity kept so iOS keeps its caret). DOM mode: no stand-ins. */
.live-ghost {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  white-space: pre;
}
.live-ghost-ring { position: absolute; box-sizing: border-box; pointer-events: none; }
.live-ghost-text { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: pre; }
.live-ghost--area, .live-ghost--check { display: block; }
.live-ghost--area .live-ghost-text { position: absolute; inset: 0; white-space: pre-wrap; }
.live-ghost-mark { position: absolute; top: 50%; display: block; overflow: visible; }
.live-ghost--check .live-ghost-mark { left: 50%; }
.live-ghost--select .live-ghost-mark { right: 16px; }
html:not([data-render]) .live-ghost { display: none !important; }
.contact-form { --live-placeholder: #6f6a63; } /* = .contact-form ::placeholder (Safari reports ::placeholder as the text colour) */
html[data-render] [data-live-ghost]:not([data-live-shown]):not([data-live-held]) { opacity: 0 !important; }
html[data-render] [data-live-ghost][data-live-held] {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  caret-color: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  outline-color: transparent !important;
}
html[data-render] [data-live-ghost][data-live-held]::placeholder { color: transparent !important; -webkit-text-fill-color: transparent !important; }
html[data-render] [data-live-ghost][data-live-held]::selection { background-color: transparent; color: transparent; }

/* ── Contact, privacy, 404 on phones (REV 4.4 §3): one thing per row, light rows, 16 px fields ─────── */
@media (max-width: 699px) {
  .contact, .page { --pad: 20px; padding: calc(var(--hdr) + 28px) var(--pad) 72px; }
  .contact-title-wrap, .page-title { margin-top: 18px; }
  .contact .section-jp, .page .section-jp { margin-top: 10px; font-size: 20px; line-height: 1.55; }

  /* lead: short text, no English twin */
  .contact-lead { margin-top: 26px; font-size: 15px; line-height: 1.85; }
  .contact-topic { margin-top: 6px; }
  .contact-topic .text-link { padding-top: 12px; font-size: 13px; letter-spacing: .04em; }

  /* the three steps: a compact vertical stepper — square nodes on a hairline rail, one line each
     (the rail is the list's own left border; each node covers it, so it only shows between nodes) */
  .contact-flow { display: block; margin: 22px 0 0 11px; border-top: 0; border-left: 1px solid var(--rule-2); }
  .contact-flow li, .contact-flow li + li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 23px;
    margin: 0;
    padding: 0;
    border-left: 0;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .04em;
  }
  .contact-flow li + li { margin-top: 13px; }
  .contact-flow .flow-num {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    margin-left: -12px;
    border: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0;
  }
  .contact-flow li:first-child .flow-num { border-color: var(--orange); background: var(--orange); }

  /* form rhythm */
  .contact-form { margin-top: 44px; }
  .field, .field-pair .field { margin-top: 26px; }
  .field-label, .field legend { gap: 8px; margin-bottom: 8px; font-size: 14px; letter-spacing: .04em; }
  .legend-en { display: none; } /* the English twin of ご相談の内容 */
  .req { padding: 1px 5px 0; font-size: 10px; letter-spacing: .06em; }

  /* topics: light list rows with hairlines (≥ 52 px), the tick and an orange edge mark the choice */
  .checks { gap: 0; border-top: 1px solid var(--rule-2); }
  .check, .check-slot .check {
    gap: 14px;
    min-height: 52px;
    padding: 10px 40px 10px 10px;
    border: 0;
    border-bottom: 1px solid var(--rule);
    border-left: 2px solid transparent;
    background: transparent;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .02em;
  }
  .check:has(input:checked) { border-color: var(--rule); border-left-color: var(--orange); background: transparent; }
  .check-num { top: 0; bottom: 0; right: 2px; display: flex; align-items: center; font-size: 10px; letter-spacing: .1em; }
  .contact-form input[type="checkbox"] { width: 22px; height: 22px; }

  /* fields: 50 px, 16 px type (iOS does not zoom), clear of the fixed bars when focused */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form select { min-height: 50px; padding: 11px 14px; font-size: 16px; line-height: 1.6; }
  .contact-form select { padding-right: 42px; }
  .contact-form textarea { min-height: 156px; padding: 12px 14px; font-size: 16px; line-height: 1.7; word-break: normal; overflow-wrap: anywhere; }
  .contact-form :is(input, select, textarea) { scroll-margin: calc(var(--hdr) + 40px) 0 96px; }
  .field-error { margin-top: 12px; font-size: 13px; line-height: 1.6; } /* clear of the HUD's focus brackets */

  .consent { gap: 12px; min-height: 48px; font-size: 14px; line-height: 1.6; }
  .consent .req { flex: none; white-space: nowrap; }

  /* one submit: 52 px, 「送信する →」 */
  .form-note { margin-top: 28px; padding: 0 0 0 12px; font-size: 13px; line-height: 1.8; }
  .contact-form .submit, .contact-form .submit .cta-tail { justify-content: center; gap: 12px; }
  .contact-form .submit { min-height: 52px; margin-top: 18px; padding: 0 20px; font-size: 16px; letter-spacing: .1em; }
  .contact-form .submit .cta-en { display: none; }
  .contact-form .submit .btn-frame { inset: -4px; }
  .contact-form .submit .btn-notch { width: 7px; height: 7px; }
  .form-status { margin-top: 12px; font-size: 13px; }

  .contact-after { margin-top: 32px; padding: 22px 20px 24px; }
  .contact-after h2 { margin-bottom: 14px; font-size: clamp(34px, 11vw, 44px); }
  .contact-after p { font-size: 14px; line-height: 1.85; }

  /* mail fallback: label, then the address and a small copy chip on one row */
  .direct { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; margin-top: 48px; padding: 14px 0 16px; }
  .direct-label { font-size: 10px; letter-spacing: .14em; }
  .direct-mail { padding: 10px 0; font-size: clamp(19px, 6vw, 24px); }
  .direct .copy-button { position: relative; justify-self: end; min-height: 36px; padding: 0 14px; border-color: var(--rule-2); font-size: 12px; letter-spacing: .08em; }
  .direct .copy-button::after { content: ""; position: absolute; inset: -5px -2px; } /* 46 px target, never mirrored */

  /* privacy: calm reading rhythm */
  .page--privacy .prose { margin-top: 30px; }
  .prose-intro { line-height: 1.9; }
  .prose section { margin-top: 36px; padding-top: 16px; }
  .prose h2 { gap: 12px; font-size: 17px; line-height: 1.55; letter-spacing: .04em; }
  .prose p, .prose li { font-size: 15px; line-height: 1.9; }
  .prose p { margin-top: 10px; }
  .prose ul { margin-top: 8px; }
  .prose li + li { margin-top: 4px; }
  .prose li .bullet { margin-top: .8em; }
  .prose .biz-info-block { padding-top: 18px; }
  .biz-info > div { padding: 12px 0; font-size: 15px; line-height: 1.75; }
  .biz-info dt { font-size: 12px; }
  .page-enacted, .prose .page-enacted { margin-top: 40px; }

  /* 404: short copy and a compact button, so the drop and the U below keep clear of both */
  .page--404 .page-title { margin-top: 18px; }
  .page--404 .page-text { margin-top: 20px; font-size: 15px; line-height: 1.85; }
  .page-actions { gap: 4px 24px; margin-top: 26px; }
  .page-actions .cta-button { width: auto; min-height: 48px; padding: 0 18px 0 20px; gap: 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .contact, .page { --pad: 16px; }
  .page--404 .page-text { font-size: 14.5px; letter-spacing: .01em; } /* the short line stays one line at 320 px */
  .consent { gap: 10px; font-size: 13.5px; letter-spacing: .01em; } /* 「プライバシーポリシーに同意する」 + 必須 on one line */
}
/* short phones: the 404 copy and its actions sit higher, clear of the U and its stamp near the floor */
@media (max-width: 699px) and (max-height: 640px) {
  .page--404 { padding-top: calc(var(--hdr) + 16px); }
  .page--404 .page-title { margin-top: 10px; }
  .page--404 .page-text { margin-top: 14px; }
  .page--404 .page-actions { margin-top: 18px; }
}
/* ==== REV 4.4 block C — end ==== */
