/* /japan-entry/: standalone page (does not use kit.css or design/DESIGN.md). Warm paper, ink navy, one vermilion. */
:root {
  color-scheme: light;
  --bg: #fbf8f2;
  --tint: #f3eee3;
  --card: #fffdf9;
  --ink: #16264d;
  --ink-2: #3b4766;
  --muted: #6c7692;
  --rule: #dcd5c5;
  --rule-2: #c9c0ab;
  --accent: #e5472a;
  --accent-deep: #c93b21;
  --navy: #14264f;
  --sans: "Instrument Sans", "Noto Sans JP", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, transform .15s; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn.block { width: 100%; white-space: normal; text-align: center; }
.btn.ghost { background: transparent; border-color: rgb(255 255 255 / .45); color: #fff; }
.btn.ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgb(251 248 242 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.logo img { border-radius: 6px; }
.links { display: flex; gap: 26px; margin-right: auto; font-size: 15px; color: var(--ink-2); }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) { .links { display: none; } .top-in { justify-content: space-between; } .logo { font-size: 19px; } .btn.sm { font-size: 13px; padding: 0 12px; } }

/* hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); gap: 44px; align-items: start; }
h1 { font-size: clamp(38px, 4.7vw, 62px); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.sub { margin-top: 22px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 28em; }
@media (max-width: 980px) { .hero { padding: 40px 0 56px; } .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* the seats */
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.seat { position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 112px; padding: 16px 12px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.seat:hover { border-color: var(--ink); }
.seat input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid var(--rule-2); border-radius: 6px; background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.tick::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s var(--ease); }
.seat:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: 0 6px 18px -10px rgb(22 38 77 / .45); }
.seat input:checked + .tick { background: var(--ink); border-color: var(--ink); }
.seat input:checked + .tick::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.seat:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.txt { display: grid; gap: 2px; min-width: 0; line-height: 1.35; overflow-wrap: break-word; }
.txt b { font-size: 15px; font-weight: 600; }
.txt small { font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) { .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .seats { grid-template-columns: 1fr; } .seat { min-height: 0; } }

/* the #japan channel */
.hero-right { position: sticky; top: 92px; }
@media (max-width: 980px) { .hero-right { position: static; } }
.chat { display: grid; grid-template-columns: 22px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--card); box-shadow: 0 24px 50px -30px rgb(22 38 77 / .5); }
.rail { background: var(--navy); }
.chat-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.chat-head b { font-size: 18px; font-weight: 700; }
.chat-head span { font-size: 13px; color: var(--muted); }
.feed { min-height: 330px; max-height: 448px; overflow-y: auto; padding: 6px 20px; }
.msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); animation: rise .35s var(--ease) both; }
.msg:last-child { border-bottom: 0; }
.av { width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.who { display: flex; gap: 8px; align-items: baseline; font-size: 14px; font-weight: 700; }
.who time { font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.msg p { margin-top: 1px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.empty { padding: 28px 0; color: var(--muted); font-size: 15px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg { animation: none; } }
.chat-foot { padding: 10px 20px 14px; border-top: 1px solid var(--rule); font-size: 12px; font-style: italic; color: var(--muted); }
.hero-right .btn { margin-top: 14px; height: auto; min-height: 56px; padding: 12px 20px; }
.mail { margin-top: 12px; font-size: 14px; text-align: center; }
.mail a { color: var(--ink-2); text-underline-offset: 4px; }
.mail a:hover { color: var(--ink); }

/* sections */
.sec { padding: 96px 0; border-top: 1px solid var(--rule); }
.sec.tint { background: var(--tint); }
.sec h2, .band h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
@media (max-width: 900px) { .sec { padding: 64px 0; } .split { grid-template-columns: 1fr; gap: 32px; } }
.list li { padding: 20px 0; border-top: 1px solid var(--rule-2); }
.list li:first-child { padding-top: 0; border-top: 0; }
.list h3 { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.list p { margin-top: 4px; color: var(--ink-2); max-width: 34em; }
.signs li { font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; line-height: 1.45; letter-spacing: -.015em; }
.note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule-2); font-size: 15px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 44px; counter-reset: step; }
.steps li { padding: 0 32px 0 0; counter-increment: step; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--rule-2); }
.steps h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.steps h3::before { content: counter(step); flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; }
.steps p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li, .steps li + li { padding: 0; border-left: 0; } }

.faq details { border-top: 1px solid var(--rule-2); }
.faq details:last-child { border-bottom: 1px solid var(--rule-2); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 34em; }

.band { background: var(--navy); color: #fff; padding: 88px 0; }
.band-in { display: grid; gap: 28px; }
.band h2 { max-width: 16em; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .band { padding: 64px 0; } }

.foot { padding: 24px 0 32px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
