/* ============================================================
   SHINYO KOEKI CO., LTD. — "Trading Desk" design system
   Broadsheet / ledger aesthetic · bilingual EN-JA · no frameworks
   ============================================================ */

:root {
  --paper:       #F6F1E5;
  --paper-deep:  #ECE4D2;
  --ink:         #1E2A44;
  --ink-deep:    #0F1B33;
  --ink-soft:    #4A5670;
  --vermillion:  #D8432C;   /* seals, graphics, accents */
  --verm-text:   #B0371F;
  --rule:        #C7BCA4;
  --foam:        #E9E2D0;

  --serif-en: "Newsreader", "Noto Serif JP", serif;
  --sans-en:  "Archivo", "Noto Sans JP", sans-serif;
  --mono:     "IBM Plex Mono", "Noto Sans JP", monospace;
  --serif-ja: "Noto Serif JP", "Newsreader", serif;
  --sans-ja:  "Noto Sans JP", "Archivo", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-stamp: cubic-bezier(0.34, 1.56, 0.64, 1);
  --maxw: 1280px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans-en);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ja) body, body:lang(ja) { font-family: var(--sans-ja); line-height: 1.9; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--vermillion); color: var(--paper); }

h1, h2, h3 { font-weight: 500; }

/* skip link — hidden until keyboard focus */
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; text-decoration: none;
  font-family: var(--sans-en); font-size: 0.8125rem;
}

/* section anchor offset for sticky nav */
section[id] { scroll-margin-top: 72px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ language helpers ============ */
/* on the EN page, .ja spans are the secondary line and vice versa */
[lang="ja"] { font-family: var(--sans-ja); }
.serif      { font-family: var(--serif-en); }
[lang="ja"].serif, .serif[lang="ja"] { font-family: var(--serif-ja); }
.mono       { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ============ ticker band ============ */
.ticker {
  background: var(--ink);
  color: var(--foam);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__clock {
  flex: none;
  padding: 0 16px;
  border-right: 1px solid rgba(233,226,208,0.25);
  color: #E8654F;
  font-weight: 500;
}
.ticker__belt { flex: 1; overflow: hidden; position: relative; }
.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}
.ticker__belt:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { padding: 0 1.4em; }
.ticker__track .tick-dot { color: #E8654F; padding: 0; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ masthead ============ */
.masthead {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  background: var(--paper);
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  border-bottom: 1px solid var(--ink);
}
.masthead__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 16px;
  padding-block: 22px 20px;
}
.masthead__flank {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.masthead__flank--r { text-align: right; }
.masthead__name {
  font-family: var(--serif-en);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  font-variant: small-caps;
}
.masthead__name a { text-decoration: none; }
html[lang="ja"] .masthead__name { font-variant: normal; font-family: var(--serif-ja); letter-spacing: 0.12em; }

/* ============ nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: clamp(10px, 2.2vw, 26px);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-family: var(--sans-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 13px 0;
  white-space: nowrap;
}
html[lang="ja"] .nav__links a { letter-spacing: 0.08em; font-weight: 500; }
.nav__links a .idx {
  width: 17px; height: 17px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.5625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__links a.active .idx {
  background: var(--vermillion);
  border-color: var(--vermillion);
  color: var(--paper);
}
.nav__edition {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--ink-soft);
}
.nav__edition a { text-decoration: none; padding: 4px 2px; }
.nav__edition a:hover { color: var(--vermillion); }
.nav__edition .cur { color: var(--ink); font-weight: 500; border-bottom: 2px solid var(--vermillion); }
.ed-short { display: none; }
@media (max-width: 640px) {
  .ed-long { display: none; }
  .ed-short { display: inline; }
}

/* ============ hero ============ */
.hero { padding: clamp(48px, 7vw, 88px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.kicker {
  font-family: var(--sans-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.kicker .no { color: var(--verm-text); font-family: var(--mono); font-weight: 500; }
.hero__headline {
  font-family: var(--serif-en);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin-bottom: 18px;
}
html[lang="ja"] .hero__headline {
  font-family: var(--serif-ja);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-feature-settings: "palt";
}
.hero__sub {
  font-family: var(--serif-ja);
  font-size: clamp(1.05rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-feature-settings: "palt";
}
html[lang="ja"] .hero__sub { font-family: var(--serif-en); font-weight: 500; letter-spacing: 0.02em; }
.hero__deckwrap { position: relative; max-width: 56ch; }
.hero__deck {
  font-family: var(--serif-en);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 34px;
}
html[lang="ja"] .hero__deck { font-family: var(--sans-ja); font-size: 1rem; line-height: 1.95; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }

.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 13px 26px;
  font-family: var(--sans-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--vermillion); border-color: var(--vermillion); }
html[lang="ja"] .btn { letter-spacing: 0.18em; font-weight: 500; }

/* hanko stamp */
.hanko {
  position: absolute;
  right: -8px;
  bottom: -22px;
  width: 58px;
  height: 58px;
  opacity: 0.92;
  transform: rotate(-2deg);
  pointer-events: none;
}
html.js .hanko:not(.stamped) { opacity: 0; transform: scale(1.15) rotate(-4deg); }
.hanko.stamped {
  opacity: 0.92;
  transform: scale(1) rotate(-2deg);
  transition: opacity 260ms var(--ease-stamp), transform 260ms var(--ease-stamp);
}
.hanko.stamped--instant { transition: none; }

/* hero chart figure */
.fig { border: 1px solid var(--rule); background: var(--paper); }
.fig--pad { padding: 10px; }
.figcap {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding: 10px 2px 0;
  text-transform: uppercase;
}
html.js .hero__chart .route-line {
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
}
.hero__chart.drawn .route-line {
  animation: draw-line 1.6s var(--ease-out) forwards 300ms;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* ============ contents index (below the fold line) ============ */
.contents-line {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.contents-line::before, .contents-line::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--ink);
}
.contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}
.contents a {
  display: block;
  padding: 20px 22px 22px;
  text-decoration: none;
  border-left: 1px solid var(--rule);
  transition: background 150ms var(--ease-out);
}
.contents a:first-child { border-left: 0; }
.contents a:hover { background: var(--paper-deep); }
.contents .mono { color: var(--verm-text); font-size: 0.6875rem; letter-spacing: 0.1em; }
.contents h3 {
  font-family: var(--serif-en);
  font-size: 1.1875rem;
  margin: 6px 0 4px;
}
html[lang="ja"] .contents h3 { font-family: var(--serif-ja); font-size: 1.0625rem; }
.contents p { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.55; }

/* ============ stats strip ============ */
.stats {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 22px 30px;
  border-left: 1px solid var(--rule);
  text-align: center;
}
.stat:first-child { border-left: 0; }
.stat__value {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__value .unit { font-size: 0.55em; color: var(--ink-soft); }
.stat__label {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
html[lang="ja"] .stat__label { letter-spacing: 0.06em; font-weight: 500; }

/* ============ meridian rule (section divider) ============ */
.meridian {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  padding: clamp(40px, 6vw, 64px) 0 0;
}
.meridian::before, .meridian::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
  background:
    repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 80px);
  height: 5px;
}
.meridian--dark { color: rgba(233,226,208,0.6); padding-top: 0; }
.meridian--dark::before, .meridian--dark::after {
  border-top-color: rgba(233,226,208,0.3);
  background: repeating-linear-gradient(to right, rgba(233,226,208,0.3) 0 1px, transparent 1px 80px);
}

/* ============ section scaffolding ============ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.lockup { margin-bottom: clamp(34px, 5vw, 54px); }
.lockup .no {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--verm-text);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.section--dark .lockup .no { color: #E8654F; }
.lockup h2 {
  font-family: var(--serif-en);
  font-size: clamp(1.9rem, 3.8vw, 2.625rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 24em;
}
html[lang="ja"] .lockup h2 {
  font-family: var(--serif-ja);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-feature-settings: "palt";
}
.lockup .sub {
  margin-top: 10px;
  font-family: var(--serif-ja);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-feature-settings: "palt";
}
html[lang="ja"] .lockup .sub { font-family: var(--serif-en); font-weight: 500; font-style: italic; }
.lockup .lead {
  margin-top: 16px;
  max-width: 62ch;
  font-family: var(--serif-en);
  font-size: 1.0625rem;
  line-height: 1.65;
}
html[lang="ja"] .lockup .lead { font-family: var(--sans-ja); font-size: 1rem; line-height: 1.95; }

/* dark sections */
.section--dark { background: var(--ink-deep); color: var(--foam); }
.section--dark .lockup .sub, .section--dark .lockup .lead { color: rgba(233,226,208,0.75); }
.section--dark ::selection { background: var(--vermillion); color: var(--foam); }

/* tategaki spine */
.spined { position: relative; }
@media (min-width: 1025px) {
  .spined { padding-left: 52px; }
}
.spine {
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  writing-mode: vertical-rl;
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.42em;
  color: var(--ink-soft);
  opacity: 0.55;
  border-left: 1px solid var(--rule);
  padding-left: 10px;
  user-select: none;
}
.section--dark .spine { color: var(--foam); border-left-color: rgba(233,226,208,0.3); opacity: 0.45; }

/* ============ about ============ */
.about__grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(32px, 5vw, 80px);
}
.about__prose { }
.about__prose p {
  font-family: var(--serif-en);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.2em;
}
html[lang="ja"] .about__prose p { font-family: var(--sans-ja); font-size: 1rem; line-height: 2; }
@media (min-width: 861px) {
  .about__prose--cols {
    column-count: 2;
    column-gap: 40px;
    column-rule: 1px solid var(--rule);
  }
}
.pillars { list-style: none; border-top: 3px double var(--ink); }
.pillars li { border-bottom: 1px solid var(--rule); padding: 20px 2px; }
.pillars h3 {
  font-family: var(--serif-en);
  font-size: 1.1875rem;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
html[lang="ja"] .pillars h3 { font-family: var(--serif-ja); font-size: 1.0625rem; }
.pillars h3 .mono { font-size: 0.6875rem; color: var(--verm-text); }
.pillars p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }

/* ============ business cards ============ */
.bizgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.bizcard {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 22px 30px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  transition: background 180ms var(--ease-out);
}
.bizcard:hover { background: var(--paper-deep); }
.bizcard .mono {
  font-size: 0.6875rem;
  color: var(--verm-text);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.bizcard h3 {
  font-family: var(--serif-en);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 4px;
}
html[lang="ja"] .bizcard h3 { font-family: var(--serif-ja); font-size: 1.125rem; }
.bizcard .alt {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--serif-ja);
  font-weight: 500;
  margin-bottom: 12px;
}
html[lang="ja"] .bizcard .alt { font-family: var(--sans-en); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.6875rem; font-weight: 600; }
.bizcard p { font-size: 0.875rem; line-height: 1.65; color: var(--ink-soft); margin-top: auto; }
html[lang="ja"] .bizcard p { line-height: 1.8; }

/* ============ network map (chart room) ============ */
.chartroom { padding-bottom: clamp(56px, 8vw, 96px); }
.mapfig { border: 1px solid rgba(233,226,208,0.28); position: relative; }
.mapfig svg { width: 100%; height: auto; display: block; }
.mapfig .figcap { color: rgba(233,226,208,0.6); border-top: 1px solid rgba(233,226,208,0.2); padding: 10px 14px; }
.map-label {
  font-family: var(--mono);
  font-size: 12px;
  fill: rgba(233,226,208,0.85);
  letter-spacing: 0.06em;
  transition: opacity 400ms var(--ease-out), fill 150ms;
}
html.js .map-label { opacity: 0; }
html.js .map-label.on, .map-label.on { opacity: 1; }
.map-arc {
  fill: none;
  stroke: rgba(233,226,208,0.5);
  stroke-width: 1.25;
  transition: stroke 150ms;
}
.map-dot-end { fill: var(--vermillion); transform-box: fill-box; transform-origin: center; }
html.js .map-dot-end { opacity: 0; }
html.js .map-dot-end.on, .map-dot-end.on { opacity: 1; animation: pop-dot 200ms var(--ease-stamp); }
@keyframes pop-dot { from { transform: scale(0); } to { transform: scale(1); } }
.port circle { fill: none; stroke: rgba(233,226,208,0.85); stroke-width: 1; }
.port.hover .map-label, .port:hover .map-label { fill: #E8654F; }
.map-ocean-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 34px;
  fill: rgba(233,226,208,0.14);
  letter-spacing: 0.35em;
}
.graticule line { stroke: rgba(233,226,208,0.14); stroke-width: 1; }
.graticule text { font-family: var(--mono); font-size: 9px; fill: rgba(233,226,208,0.35); letter-spacing: 0.1em; }

/* ledger under map */
.ledger {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.ledger h3 {
  font-family: var(--sans-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233,226,208,0.7);
  border-top: 3px double rgba(233,226,208,0.6);
  padding: 12px 0;
}
.ledger table { width: 100%; border-collapse: collapse; }
.ledger td {
  font-family: var(--mono);
  font-size: 0.8125rem;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(233,226,208,0.18);
  color: var(--foam);
  vertical-align: baseline;
}
.ledger td:last-child { text-align: right; color: rgba(233,226,208,0.65); }
.ledger .flag { color: #E8654F; padding-right: 10px; }

/* ============ sourcing strip ============ */
.sourcing { background: var(--paper-deep); border-bottom: 1px solid var(--rule); }
.sourcing__inner {
  padding-block: clamp(44px, 6vw, 64px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.sourcing p { max-width: 58ch; font-size: 0.9375rem; line-height: 1.75; color: var(--ink); }
html[lang="ja"] .sourcing p { line-height: 1.95; }
.sourcing h2 {
  font-family: var(--serif-en);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}
html[lang="ja"] .sourcing h2 { font-family: var(--serif-ja); font-weight: 600; }
.origin-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.origin-tags span {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 6px 12px;
}

/* ============ history (chronicle) ============ */
.chronicle .timeline { list-style: none; max-width: 780px; }
.chronicle .timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(233,226,208,0.18);
}
.chronicle .timeline .year {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: #E8654F;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.chronicle .timeline .year small { display: block; color: rgba(233,226,208,0.5); font-size: 0.6875rem; margin-top: 2px; }
.chronicle .timeline p { font-size: 0.9375rem; line-height: 1.75; color: var(--foam); }
html[lang="ja"] .chronicle .timeline p { line-height: 1.9; }

/* ============ partners register ============ */
.register { border-top: 3px double var(--ink); }
.register li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.register { list-style: none; columns: 2; column-gap: 56px; }
.register li { break-inside: avoid; }
.register .name { font-weight: 600; font-family: var(--sans-en); letter-spacing: 0.02em; }
.register .leader {
  flex: 1;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-4px);
  min-width: 24px;
}
.register .alt { font-family: var(--serif-ja); font-size: 0.875rem; color: var(--ink-soft); white-space: nowrap; }
html[lang="ja"] .register .name { font-family: var(--sans-ja); font-weight: 700; }
html[lang="ja"] .register .alt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.register-note { margin-top: 18px; font-size: 0.75rem; color: var(--ink-soft); font-family: var(--mono); letter-spacing: 0.04em; }

/* ============ company profile — FORM C-1 ============ */
.formc1 {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-top: 3px double var(--ink);
  max-width: 860px;
}
.formc1__slug {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 26px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.formc1 table { width: 100%; border-collapse: collapse; }
.formc1 th, .formc1 td { padding: 15px 26px; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.formc1 tr:last-child th, .formc1 tr:last-child td { border-bottom: 0; }
.formc1 th {
  text-align: left;
  font-family: var(--sans-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  width: 34%;
  white-space: nowrap;
}
.formc1 th small { display: block; font-family: var(--serif-ja); font-weight: 500; letter-spacing: 0.1em; text-transform: none; margin-top: 2px; }
.formc1 td { font-family: var(--mono); font-size: 0.875rem; }
.formc1 td .nonmono { font-family: var(--sans-ja); }

/* ============ contact ============ */
.contact__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(32px, 5vw, 80px);
}
.form label {
  display: block;
  font-family: var(--sans-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 22px 0 8px;
}
html[lang="ja"] .form label { font-weight: 500; letter-spacing: 0.1em; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 13px 14px;
  font-family: var(--sans-ja);
  font-size: 0.9375rem;
  color: var(--ink);
  border-radius: 0;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.form textarea { min-height: 150px; resize: vertical; }
.form button { margin-top: 26px; }
.form__note { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.7; }

.particulars { border-top: 3px double var(--ink); }
.particulars dl { }
.particulars .prow {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--rule);
}
.particulars dt {
  font-family: var(--sans-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 3px;
}
.particulars dd { font-size: 0.9rem; line-height: 1.65; }
.particulars dd.mono { font-size: 0.875rem; }
.particulars dd a { text-decoration: none; }
.particulars dd a:hover { color: var(--vermillion); }
.contact__map { margin-top: 26px; }
.contact__map iframe { width: 100%; height: 230px; border: 1px solid var(--rule); filter: grayscale(1) sepia(0.14) contrast(0.95); }

/* signed block */
.signed {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.signed .seal { width: 46px; height: 46px; flex: none; opacity: 0.92; }
.signed .who { font-size: 0.875rem; line-height: 1.55; }
.signed .who .t { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.signed .who .n { font-family: var(--serif-ja); font-weight: 600; font-size: 1.0625rem; }

/* ============ footer ============ */
.footer {
  background: var(--ink-deep);
  color: var(--foam);
  margin-top: clamp(56px, 8vw, 104px);
  border-top: 3px solid var(--vermillion);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(44px, 6vw, 72px) 40px;
}
.footer h3 {
  font-family: var(--sans-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233,226,208,0.55);
  margin-bottom: 16px;
}
.footer__name {
  font-family: var(--serif-en);
  font-variant: small-caps;
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
html[lang="ja"] .footer__name { font-variant: normal; font-family: var(--serif-ja); letter-spacing: 0.1em; font-size: 1.25rem; }
.footer__namealt { font-family: var(--serif-ja); font-size: 0.9375rem; color: rgba(233,226,208,0.7); margin-bottom: 18px; }
html[lang="ja"] .footer__namealt { font-family: var(--serif-en); font-variant: small-caps; }
.footer p, .footer address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(233,226,208,0.8);
}
.footer .mono { font-size: 0.8125rem; }
.footer ul { list-style: none; }
.footer ul li { padding: 5px 0; }
.footer a { color: rgba(233,226,208,0.85); text-decoration: none; font-size: 0.875rem; }
.footer a:hover { color: #E8654F; }
.footer__legal {
  border-top: 1px solid rgba(233,226,208,0.18);
  padding-block: 20px 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(233,226,208,0.5);
}
.footer__seal { width: 40px; height: 40px; margin-bottom: 18px; opacity: 0.92; }

/* ============ privacy / utility page ============ */
.telegraph {
  max-width: 760px;
  margin: clamp(40px, 6vw, 72px) auto;
  border: 1px solid var(--rule);
  border-top: 3px double var(--ink);
  background: var(--paper);
  padding: clamp(28px, 5vw, 56px);
}
.telegraph h1 { font-family: var(--serif-en); font-size: 1.75rem; margin-bottom: 8px; }
html[lang="ja"] .telegraph h1 { font-family: var(--serif-ja); font-weight: 600; }
.telegraph .slug { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px; }
.telegraph h2 { font-size: 1.0625rem; margin: 28px 0 10px; font-family: var(--sans-en); font-weight: 700; }
html[lang="ja"] .telegraph h2 { font-family: var(--sans-ja); }
.telegraph p, .telegraph li { font-size: 0.9375rem; line-height: 1.8; color: var(--ink); margin-bottom: 10px; }
.telegraph ul { padding-left: 1.3em; }
.telegraph a { color: var(--vermillion); }

/* ============ reveal animations ============ */
html.js .rv { opacity: 0; transform: translateY(12px); }
html.js .rv.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}
.rv-d1.in { transition-delay: 70ms; }
.rv-d2.in { transition-delay: 140ms; }
.rv-d3.in { transition-delay: 210ms; }

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .bizgrid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figwrap { max-width: 560px; }
  .about__grid, .contact__grid, .sourcing__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .spine { display: none; }
}
@media (max-width: 860px) {
  .register { columns: 1; }
  .ledger { grid-template-columns: 1fr; }
  .contents { grid-template-columns: 1fr; }
  .contents a { border-left: 0; border-top: 1px solid var(--rule); }
  .contents a:first-child { border-top: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--rule); }
  .stat:nth-child(3) { border-left: 0; }
  .masthead__row { grid-template-columns: 1fr; gap: 4px; text-align: center; padding-block: 16px 14px; }
  .masthead__flank--r { text-align: center; }
  .masthead__flank--l { display: none; }
}
@media (max-width: 560px) {
  .bizgrid { grid-template-columns: 1fr; }
  .chronicle .timeline li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .formc1 th, .formc1 td { padding: 12px 16px; }
  .formc1 th { width: 40%; }
  .hero__headline { font-size: 2.4rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .ticker__clock { padding: 0 10px; }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .hero__chart .route-line { stroke-dashoffset: 0 !important; animation: none; }
  html.js .hanko:not(.stamped) { opacity: 0.92; transform: scale(1) rotate(-2deg); transition: none; }
  .map-label, .map-dot-end { opacity: 1 !important; animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ print ============ */
@media print {
  .ticker, .nav, .hero__ctas, .form, .contact__map { display: none !important; }
  .section--dark, .footer { background: none !important; color: var(--ink) !important; }
  .section--dark *, .footer * { color: var(--ink) !important; }
  .section--dark svg text { fill: var(--ink) !important; }
  html.js .rv { opacity: 1 !important; transform: none !important; }
  .map-label, .map-dot-end { opacity: 1 !important; }
  body { background: #fff; }
}

/* ════════════════════════════════════════════════════════════
   CONVERSION LAYER — trade flow · RFQ form · FAQ · floating CTA
   ════════════════════════════════════════════════════════════ */

/* hero trust microcopy */
.hero__trust {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin: -22px 0 clamp(40px, 6vw, 72px);
}
.hero__trust .tick { color: var(--verm-text); padding: 0 6px; }
html[lang="ja"] .hero__trust { text-transform: none; letter-spacing: 0.06em; }

/* nav CTA */
.nav__cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--sans-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background 150ms var(--ease-out);
}
.nav__cta:hover { background: var(--vermillion); }
html[lang="ja"] .nav__cta { font-weight: 500; letter-spacing: 0.14em; }
.nav__right { display: flex; align-items: center; gap: 18px; }
@media (max-width: 860px) { .nav__cta { display: none; } }

/* ============ trade flow ============ */
.flowgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.flowstep {
  position: relative;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 20px 30px;
  background: var(--paper);
}
.flowstep .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--vermillion);
  color: var(--verm-text);
  font-family: var(--mono);
  font-size: 0.8125rem;
  margin-bottom: 16px;
}
.flowstep h3 {
  font-family: var(--serif-en);
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 4px;
}
html[lang="ja"] .flowstep h3 { font-family: var(--serif-ja); font-size: 1.0625rem; }
.flowstep .alt {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-family: var(--serif-ja);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
html[lang="ja"] .flowstep .alt { font-family: var(--sans-en); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.625rem; font-weight: 600; }
.flowstep p { font-size: 0.8125rem; line-height: 1.65; color: var(--ink-soft); }
html[lang="ja"] .flowstep p { line-height: 1.8; }
.flowstep::after {
  content: "▸";
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  color: var(--vermillion);
  background: var(--paper);
  font-size: 0.75rem;
  line-height: 1;
  padding: 2px 0;
  z-index: 1;
}
.flowstep:last-child::after { content: none; }
.flow__cta { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.flow__cta .note { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.04em; }
@media (max-width: 1024px) {
  .flowgrid { grid-template-columns: 1fr; }
  .flowstep::after { content: "▾"; top: auto; bottom: -9px; right: auto; left: 32px; transform: none; padding: 0 4px; }
}

/* ============ FORM Q-1 (RFQ) ============ */
.formq1 {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-top: 3px double var(--ink);
  padding: 0 26px 30px;
}
.formq1__slug {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 26px;
  margin: 0 -26px 4px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.formq1 .form__intro { font-size: 0.875rem; color: var(--ink-soft); margin-top: 16px; line-height: 1.7; }
.form select {
  width: 100%;
  border: 1px solid var(--rule);
  background-color: var(--paper);
  padding: 13px 38px 13px 14px;
  font-family: var(--sans-ja);
  font-size: 0.9375rem;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231E2A44' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .form__grid2 { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq details:first-of-type { border-top: 3px double var(--ink); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 36px 20px 2px;
  position: relative;
  font-family: var(--sans-ja);
  font-weight: 700;
  font-size: 0.9875rem;
}
html:not([lang="ja"]) .faq summary { font-family: var(--sans-en); font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--verm-text);
  flex: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.0625rem;
  color: var(--ink-soft);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--verm-text); }
.faq .a {
  padding: 0 2px 22px 40px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 64ch;
}
html[lang="ja"] .faq .a { line-height: 1.9; }

/* ============ floating RFQ button ============ */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 68px;
  height: 68px;
  background: var(--vermillion);
  color: var(--paper);
  border: none;
  border-radius: 9px;
  transform: rotate(-2deg) translateY(12px);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  font-family: var(--serif-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 18px rgba(15,27,51,0.25);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), background 150ms;
}
.fab small { font-family: var(--mono); font-weight: 500; font-size: 0.5625rem; letter-spacing: 0.14em; opacity: 0.85; }
.fab.on { opacity: 1; transform: rotate(-2deg) translateY(0); pointer-events: auto; }
.fab:hover { background: var(--ink); }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media print { .fab { display: none !important; } }

/* ============ bizcard icons ============ */
.bizcard__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.bizcard__top .mono { margin-bottom: 0; }
.bizicon { width: 40px; height: 40px; flex: none; }
.bizicon * { vector-effect: non-scaling-stroke; }

/* per-category RFQ links */
.rfq-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verm-text);
  text-decoration: none;
}
.rfq-link:hover { text-decoration: underline; }

/* local time chips */
.local-times { line-height: 1.9; }
.local-times .z { white-space: nowrap; }
.local-times .z + .z::before { content: " · "; color: var(--verm-text); }
