/* Layout: navy masthead and hero carrying a source/target pair; white reading column (max 1120px);
   yellow closing band. Brand system from the JLC logo and posters. */
:root {
  --navy: #14204F;
  --navy-2: #1D2B66;
  --navy-line: #3A4680;
  --on-navy: #FFFFFF;
  --on-navy-soft: #D5DBF2;
  --yellow: #FFC53D;
  --yellow-deep: #F2B01E;
  --paper: #FFFFFF;
  --mist: #F3F5FB;
  --ink: #14204F;
  --muted: #56608A;
  --line: #D9DEEE;
  --display: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --jp: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.jp { font-family: var(--jp); font-weight: 700; }

/* masthead */
.masthead { background: var(--navy); color: var(--on-navy); border-bottom: 1px solid var(--navy-line); }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.15; }
.brand img { width: 46px; }
.nav { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; color: var(--on-navy-soft); }
.nav a:hover { color: var(--on-navy); background: var(--navy-2); }
.nav a[aria-current="page"] { color: var(--yellow); }
.nav a.nav-cta { background: var(--yellow); color: var(--navy); font-weight: 800; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--yellow-deep); color: var(--navy); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 1rem; text-decoration: none; padding: 14px 22px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--navy-line); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy-soft); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--mist); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { background: var(--navy); color: var(--on-navy); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: var(--yellow); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-copy p { font-size: 1.15rem; color: var(--on-navy-soft); max-width: 52ch; }
.pair { background: var(--yellow); color: var(--navy); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pair .source { font-family: var(--jp); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.45; }
.pair .eyebrow { color: var(--navy); }
.pair .literal { border: 2px solid var(--navy); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pair .literal p { font-weight: 700; text-decoration: line-through; text-decoration-thickness: 2px; }
.pair .reader { background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pair .reader .eyebrow { color: var(--yellow); }
.pair .reader p { font-weight: 700; font-size: 1.15rem; line-height: 1.4; }

/* page header for inner pages */
.pagehead { background: var(--navy); color: var(--on-navy); }
.pagehead .wrap { padding-block: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.pagehead .eyebrow { color: var(--yellow); }
.pagehead p { color: var(--on-navy-soft); font-size: 1.15rem; max-width: 60ch; }

/* sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.tint { background: var(--mist); }
.section > .wrap { display: flex; flex-direction: column; gap: clamp(24px, 3.5vw, 40px); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cols-2 > *, .cols-3 > * { min-width: 0; }
.item { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--navy); padding-top: 18px; }
.item p { color: var(--muted); }
.item a { font-weight: 700; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack p { max-width: 65ch; }
.muted { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.95rem; }
.section:not(.tint) .chips li { background: var(--mist); }

.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; max-width: 65ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 3px; background: var(--yellow-deep); border-radius: 2px; }

/* work ledger */
.ledger { display: flex; flex-direction: column; border-top: 3px solid var(--navy); }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger .what { font-weight: 700; }
.ledger .what small { display: block; font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.ledger .vol { font-family: var(--display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .vol small { font-weight: 600; font-size: 0.85rem; color: var(--muted); }

/* process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; }
.steps p { color: var(--muted); }

/* closing band */
.band { background: var(--yellow); color: var(--navy); }
.band .wrap { padding-block: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.band h2 { max-width: 18ch; }
.band .reach { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.band .reach p { font-weight: 700; overflow-wrap: anywhere; }

/* contact */
.contact-list { display: flex; flex-direction: column; border-top: 3px solid var(--navy); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.contact-list .val { font-family: var(--display); font-weight: 800; font-size: 1.3rem; overflow-wrap: anywhere; text-decoration: none; }
.contact-list a.val:hover { text-decoration: underline; }
.form { background: var(--mist); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form .hint { font-size: 0.92rem; color: var(--muted); }

/* footer */
.footer { background: var(--navy); color: var(--on-navy-soft); font-size: 0.95rem; }
.footer .wrap { padding-block: 44px 28px; display: flex; flex-direction: column; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer .brand { color: var(--on-navy); }
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer-col strong { color: var(--yellow); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--on-navy); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--navy-line); padding-top: 18px; font-size: 0.88rem; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: 8px 9px; }
  .nav a.nav-cta { margin-left: 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .ledger li { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
