/* Shared parts for the sub pages (products / faq / contact). Values match top.html. */
:root {
  --paper: #F7F7F6;
  --mist: #ECECEA;
  --white: #FFFFFF;
  --ink: #2E2E30;
  --ink-soft: #55555A;
  --line: #D9D9D6;
  --gold: #B8A47C;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "EB Garamond", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 500; }
/* Type (2026-09-28, Claude + Fable 5.1 + Codex): Shippori Mincho B1 for Japanese, EB Garamond for Latin and numerals. */
body { font-synthesis: none; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.nbr { display: inline-block; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 240px; height: 56px; padding: 0 32px; border: 1px solid var(--ink); color: var(--ink);
  text-decoration: none; font: inherit; font-size: 16px; letter-spacing: .16em; background: rgba(255,255,255,.4); cursor: pointer;
}
.link { text-underline-offset: 6px; letter-spacing: .1em; }
.h1 { font-weight: 500; font-size: 44px; line-height: 1.5; letter-spacing: .06em; margin: 0 0 24px; }
.h2 { font-weight: 500; font-size: 30px; line-height: 1.6; letter-spacing: .06em; margin: 0 0 24px; }
.body { font-size: 17px; line-height: 1.95; letter-spacing: .04em; margin: 0 0 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

.print { position: relative; margin: 0; background: #FFF; padding: 14px 14px 40px;
         box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 10px 22px -14px rgba(0,0,0,.35); }
.print img { width: 100%; height: auto; }
.print:not(.plain)::before, .print:not(.plain)::after { content: ""; position: absolute; top: 4px; width: 12px; height: 12px;
         background: url("pearl-bead.svg") center / contain no-repeat; }
.print::before { left: 4px; } .print::after { right: 4px; }

/* [data-provisional]: stand-in values (specs/copy-v3-2026-09-27.md §4). Invisible on screen;
   the production build must fail while any remains. */

header.site { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
              padding: 0 58px; background: var(--paper); border-bottom: 1px solid var(--line); }
header.site nav { display: flex; gap: 52px; font-size: 16px; letter-spacing: .14em; }
header.site nav a { text-decoration: none; }
header.site nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
header.site .right { justify-self: end; }
header.site .logo img { height: 64px; width: auto; mix-blend-mode: multiply; }
.menu { display: none; }

footer.site { background: var(--mist); border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto;
              align-items: center; gap: 40px; padding: 40px 58px; font-size: 15px; letter-spacing: .12em; }
footer.site .logo img { height: 72px; width: auto; mix-blend-mode: multiply; }
footer.site nav { display: flex; justify-content: center; gap: 36px; }
footer.site nav a { text-decoration: none; }
  footer.site .legal { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; }
  footer.site .legal a { display: inline-flex; align-items: center; min-height: 28px; }
  footer.site .legal a { text-decoration: none; color: var(--ink-soft, #55555A); }


/* Page head: quiet paper band, left aligned */
.page-head { padding: 110px 0 70px; }
.page-head .lead { max-width: 640px; }


/* Mobile drawer */
header.site .drawer { display: block; position: absolute; left: 0; right: 0; top: 64px; z-index: 20; background: var(--paper);
          border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 14px 24px -18px rgba(0,0,0,.35); }
.drawer a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; letter-spacing: .12em; }
header.site .drawer[hidden] { display: none; }
header.site { position: relative; }
.menu:focus-visible, .drawer a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Language switch */
header.site .right { display: flex; align-items: center; gap: 40px; }
.lang { font-size: 14px; letter-spacing: .12em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.drawer .lang { border-bottom: 1px solid var(--line); padding: 16px 4px; }

/* English: Latin text needs tighter tracking than Japanese */
html[lang="en"] body { letter-spacing: 0; }
html[lang="en"] .hero .title { font-size: 56px; letter-spacing: .02em; line-height: 1.25; }
html[lang="en"] .hero .copy { max-width: 400px; }
html[lang="en"] .h2, html[lang="en"] .h1 { letter-spacing: .03em; }
html[lang="en"] .lead, html[lang="en"] .sub, html[lang="en"] .body, html[lang="en"] .big, html[lang="en"] .small,
html[lang="en"] .audience, html[lang="en"] nav, html[lang="en"] .btn, html[lang="en"] .lang { letter-spacing: .03em; }

/* Header A (2026-09-28): left = pages to view, right = language + the consultation button. */
header.site .right { display: flex; align-items: center; gap: 28px; }
header.site .right .lang { border-bottom: 0; color: #55555A; }
header.site .sep { width: 1px; height: 16px; background: #C9C9C6; }
header.site .cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--ink);
                   text-decoration: none; font-size: 15px; letter-spacing: .1em; }
header.site .cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
header.site .drawer .cta { display: flex; justify-content: center; margin-top: 18px; min-height: 48px; border-bottom: 1px solid var(--ink); }

/* Header collapses to logo + menu below 1100px (the split nav and button do not fit). */
header.site .cta { white-space: nowrap; }
@media (max-width: 1100px) {
  header.site { height: 64px; padding: 0 16px; }
  header.site nav:not(.drawer) { display: none; }
  header.site .logo { grid-column: 2; }
  header.site .logo img { height: 48px; }
  .menu { display: block; grid-column: 3; justify-self: end; font: inherit; font-size: 13px; letter-spacing: .12em;
          color: var(--ink); background: none; border: 1px solid var(--ink); padding: 7px 12px; }
}

/* Text link that leads to another page (2026-09-28). Phrase spans (.nbr) are inline-block and do not
   inherit text-decoration, so the underline is a border on an inline wrapper, plus an arrow. */
.go { display: inline-block; padding: 10px 0; color: inherit; text-decoration: none; letter-spacing: .1em; line-height: 2.1; }
.go .t { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.go .arr { margin-left: 12px; vertical-align: middle; transition: transform .2s; }
.go:hover .arr, .go:focus-visible .arr { transform: translateX(4px); }
.go:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .go .arr { transition: none; } }

/* Buttons (2026-09-28): fill with ink on hover so they read as pressable. Touch devices skip hover. */
.btn, header.site .cta { transition: background-color .25s ease, color .25s ease; }
@media (hover: hover) {
  .btn:hover, header.site .cta:hover { background-color: var(--ink); color: var(--paper, #F7F7F6); }
}
.btn:active, header.site .cta:active { background-color: var(--ink); color: var(--paper, #F7F7F6); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, header.site .cta { transition: none; } }

@media (max-width: 760px) {
  header.site { height: 64px; padding: 0 16px; }
  header.site nav:not(.drawer) { display: none; }
  header.site .logo { grid-column: 2; }
  header.site .logo img { height: 48px; }
  .menu { display: block; grid-column: 3; justify-self: end; font: inherit; font-size: 13px; letter-spacing: .12em;
          color: var(--ink); background: none; border: 1px solid var(--ink); padding: 7px 12px; }
  .wrap { padding: 0 20px; }
  .btn { min-width: 0; height: 46px; font-size: 14px; padding: 0 24px; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 22px; }
  .body { font-size: 16px; }
  .print { padding: 9px 9px 26px; }
  .page-head { padding: 56px 0 36px; }
  footer.site { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; padding: 36px 16px; }
  footer.site nav { flex-wrap: wrap; gap: 18px; }
  footer.site .legal { align-items: center; }
}
