/* LAU · Tokyo editorial
   Paper, ink and one signal accent. Archivo (display), IBM Plex Mono (data), Zen Kaku Gothic New (katakana). */

:root {
  --paper: #F3F2ED;
  --ink: #111114;
  --night: #141416;
  --muted: #5E5E5E;
  --muted-dark: #B9B9B4;
  --soft-dark: #CFCFCA;
  --accent: #FF4A1C;
  --accent-ink: #C42E00;
  --line: #111114;

  --kern-la: 0.08em;   /* space between L and A in LAU */
  --kern-au: -0.06em;  /* space between A and U in LAU */

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;

  --gutter: clamp(16px, 2.8vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); }
img, video { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.accent { color: var(--accent); }
.eyebrow { font-size: 12px; letter-spacing: 0.08em; }
.lede { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.45; }
.section { padding-top: 120px; padding-bottom: 40px; }

/* LAU wordmark with hand-set kerning */
.lau { display: inline-flex; }
.lau .l, .w-ch.l { margin-right: var(--kern-la); }
.lau .a, .w-ch.a { margin-right: var(--kern-au); }

/* Top bar */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; padding: 6px 0; }
.logo .lau { font-weight: 900; font-size: 22px; font-stretch: 125%; }
.logo-jp { font-family: var(--jp); font-weight: 500; font-size: 13px; }
.mainnav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.mainnav a { text-decoration: none; padding: 10px 0; }

/* Hero */
.hero { position: relative; min-height: 780px; background: var(--night); color: var(--paper); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 32px; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim { position: absolute; inset: 0; background: rgba(20, 20, 22, 0.42); }
.hero-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted-dark); }
.hero-jp { position: absolute; z-index: 2; right: 36px; top: 96px; writing-mode: vertical-rl; font-family: var(--jp); font-weight: 900; font-size: 64px; letter-spacing: 0.2em; color: var(--accent); }
.hero-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; max-width: 980px; }
.hero-title { margin: 0; font-weight: 900; font-stretch: 125%; font-size: clamp(110px, 21vw, 300px); line-height: 0.82; letter-spacing: -0.02em; }
.hero-thesis { margin: 0; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.08; font-weight: 500; font-stretch: 90%; max-width: 820px; text-wrap: balance; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted-dark); text-transform: uppercase; }

/* Proof strip */
.proof { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.proof-item { flex: 1 1 200px; padding: 22px 20px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.proof-value { font-weight: 800; font-stretch: 110%; font-size: 28px; line-height: 1; }
.proof-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Section headings */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.display { margin: 0; font-weight: 900; font-stretch: 125%; font-size: clamp(48px, 7vw, 104px); line-height: 0.9; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.26em; }
.display-sm { margin: 0; font-weight: 900; font-stretch: 110%; font-size: clamp(44px, 5.6vw, 84px); line-height: 0.94; text-wrap: balance; }
.mask { display: inline-flex; overflow: hidden; padding-bottom: 0.06em; }
.w-ch, .w-x, .mv-ch { display: inline-block; }
.flap { perspective: 600px; }
.word { display: inline-flex; }

/* Worlds */
.world { border-top: 1px solid var(--line); padding: 28px 0; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.world-index { flex: 0 0 120px; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.pill { align-self: flex-start; padding: 3px 8px; border: 1px solid var(--line); text-transform: uppercase; }
.world-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.world-name { margin: 0; font-weight: 800; font-stretch: 115%; font-size: clamp(30px, 3.6vw, 52px); line-height: 0.98; }
.world-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.world-desc { margin: 0; font-size: 18px; line-height: 1.45; max-width: 560px; }
.world-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.world-cta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; padding: 12px 0; align-self: flex-start; }
.tile { flex: 1 1 320px; min-width: 0; height: 240px; position: relative; overflow: hidden; background: var(--night); }
.tile video, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile img { transition: opacity 0.35s ease; pointer-events: none; }
.tile-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 8px; background: var(--night); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }

/* Moving */
.moving-head { margin-bottom: 36px; }
.live { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.moving { display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 280px; min-width: 0; min-height: 300px; padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card--now { background: var(--accent); color: var(--ink); }
.card--coming { background: var(--paper); color: var(--ink); }
.card--lab { background: var(--night); color: var(--paper); border-style: dashed; }
.card-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.card-pill { padding: 3px 8px; background: var(--ink); color: var(--paper); }
.card--lab .card-pill { background: var(--paper); color: var(--ink); }
.card-title { margin: 0 0 10px; font-weight: 800; font-stretch: 110%; font-size: 30px; line-height: 1; }
.card-text { margin: 0; font-size: 16px; line-height: 1.45; }
.card-foot { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: inherit; }
a.card-foot { align-self: flex-start; padding: 12px 0; }
.card--now a.card-foot:hover { color: var(--paper); }

/* Imagine */
.imagine { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-start; }
.imagine-intro { flex: 1 1 420px; min-width: 0; gap: 14px; }
.formats { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; }
.format { border-top: 1px solid var(--line); padding: 22px 0; display: flex; gap: 24px; align-items: baseline; }
.format-k { flex: 0 0 40px; font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }
.format-title { margin: 0 0 6px; font-weight: 800; font-stretch: 110%; font-size: 26px; }
.format-text { margin: 0; font-size: 16px; line-height: 1.45; color: #3A3A3A; }

/* Contact */
.contact { background: var(--night); color: var(--paper); padding: 56px 40px; display: flex; flex-direction: column; gap: 40px; }
.muted-dark { color: var(--muted-dark); }
.contact-title { margin: 0; font-weight: 900; font-stretch: 125%; font-size: clamp(52px, 9vw, 150px); line-height: 0.9; overflow-wrap: anywhere; }
@keyframes blink { 50% { opacity: 0; } }
.cursor { animation: blink 1s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.contact-copy { flex: 1 1 360px; min-width: 0; gap: 16px; }
.contact-lead { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 500; }
.contact-sub { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft-dark); }
.contact-mail { color: var(--paper); font-size: 18px; align-self: flex-start; padding: 6px 0; }
.contact-mail:hover { color: var(--accent); }
.form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.field input, .field textarea { display: block; width: 100%; min-width: 0; }
.form label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft-dark); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--accent); }
.field-error { margin: 0; font-family: var(--mono); font-size: 12px; color: #FF8A66; }
.form[data-state="sent"] .form-status { color: var(--paper); font-size: 14px; }
.form[data-state="error"] .form-status, .form[data-state="invalid"] .form-status { color: #FF8A66; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form input, .form textarea { font-family: var(--display); font-size: 20px; text-transform: none; letter-spacing: 0; padding: 14px 0; background: transparent; color: var(--paper); border: 0; border-bottom: 1px solid #8A8A85; border-radius: 0; }
.form textarea { font-size: 18px; resize: vertical; }
.form input::placeholder { color: #8A8A85; }
.btn { align-self: flex-start; min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--ink); border: 0; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--paper); }
.form-status { margin: 0; font-size: 12px; color: var(--soft-dark); min-height: 1em; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { padding-top: 24px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: 0.06em; }
.social { display: flex; flex-wrap: wrap; gap: 0 24px; text-transform: uppercase; }
.social a { padding: 12px 0; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: var(--muted); }
.footer-meta .jp { font-family: var(--jp); }

/* Phone */
@media (max-width: 700px) {
  .hero { min-height: 640px; padding: 20px; }
  .hero-jp { font-size: 40px; right: 16px; top: 64px; }
  .hero-top span:last-child { display: none; }
  .proof-item { flex: 1 1 calc(50% - 10px); padding-right: 12px; }
  .proof-value { font-size: 22px; }
  .mainnav { gap: 0 16px; }
  .section { padding-top: 88px; }
  .world-index { flex-direction: row; align-items: center; flex-basis: 100%; }
  .contact { padding: 40px 20px; }
}
