/* ==========================================================================
   YUDAN — Gürtelgrade im Karate, Taekwondo und Kung Fu
   Design system 2026: modern grotesque, quiet paper, signal accent.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/SpaceGrotesk-300-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/SpaceGrotesk-300-700-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/Inter-300-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/Inter-300-700-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/NotoSansJP-400-700-subset.woff2") format("woff2");
  unicode-range: U+4e03, U+4e09, U+4e5d, U+4e8c, U+4e94, U+4f4d, U+516b, U+516d, U+521d, U+529f, U+5341, U+56db, U+5834, U+592b, U+5e2f, U+624b, U+6709, U+6b66, U+6bb5, U+7121, U+7a7a, U+7d1a, U+8005, U+8853, U+9053;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f4f1;
  --paper-2: #ecece7;
  --paper-3: #e3e3dc;
  --white: #ffffff;
  --ink: #101010;
  --ink-2: #1a1a1a;
  --ink-soft: #343431;
  --muted: #66665f;
  --muted-2: #6b6b63;
  --line: rgba(16, 16, 16, 0.12);
  --line-strong: rgba(16, 16, 16, 0.24);
  --vermilion: #c73512;
  --vermilion-dark: #9e280d;
  --accent: #ff4d1f;
  --accent-soft: #ffe4d9;
  --indigo: #2f5bff;
  --jade: #0b7a55;
  --bjj: #1d4ed8;
  --gold: #c58c2e;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px rgba(16, 16, 16, 0.10);
  --shadow-soft: 0 12px 30px rgba(16, 16, 16, 0.06);
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.1rem; letter-spacing: -0.02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--vermilion); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--accent); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--ink { background: var(--ink); color: #d8d8d2; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--ink p { color: #b9b9b0; }
.section--paper-2 { background: var(--paper-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head__title { max-width: 17ch; }
.section-head__lead {
  max-width: 54ch;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.02rem;
}
.section--ink .section-head__lead { color: #b9b9b0; }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(244, 244, 241, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 16, 16, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand:hover { color: inherit; }

.brand__seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.brand:hover .brand__seal { transform: rotate(-6deg); background: var(--vermilion); }

.brand__word {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__link:hover { background: rgba(16, 16, 16, 0.06); color: var(--ink); }
.nav__link[aria-current="page"] { background: var(--ink); color: var(--white); }
.nav__link[aria-current="page"]:hover { background: var(--vermilion); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 6vw, 48px);
  background: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mobile-nav__link:hover { color: var(--vermilion); }
.mobile-nav__foot {
  margin-top: auto;
  padding-top: 36px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: var(--white);
}
.btn--light {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
}
.btn--light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
.btn__arrow { font-size: 1rem; line-height: 0; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.text-link:hover { color: var(--vermilion); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px) 0 clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 77, 31, 0.10), transparent 30%),
    var(--paper);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  max-width: 11ch;
  margin-bottom: 26px;
  font-size: clamp(3.4rem, 6.5vw, 6.4rem);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.06em;
}
.hero__accent { color: var(--accent); }

.hero__lead {
  max-width: 46ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.hero__visual {
  position: relative;
}
.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.hero__seal {
  position: absolute;
  top: -18px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(74px, 8vw, 92px);
  height: clamp(74px, 8vw, 92px);
  border-radius: 20px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-jp);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 14px 30px rgba(199, 53, 18, 0.24);
}
.hero__seal small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 0.44rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ---------- Belt strip ---------- */
.belt-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.belt-strip__item {
  min-width: 0;
  padding: 14px 8px 13px;
  border-right: 1px solid var(--line);
  text-align: center;
  transition: background 0.25s var(--ease);
}
.belt-strip__item:last-child { border-right: 0; }
.belt-strip__item:hover { background: var(--paper-2); }
.belt-strip__swatch {
  display: block;
  height: 8px;
  margin: 0 auto 9px;
  width: min(100%, 78px);
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 999px;
}
.belt-strip__label {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Belt colors */
.belt-white { background: #f4efe3; }
.belt-yellow { background: #e3b93e; }
.belt-orange { background: #d9772e; }
.belt-green { background: #3e6b4f; }
.belt-blue { background: #2c4e7a; }
.belt-purple { background: #5b436b; }
.belt-brown { background: #6b4a32; }
.belt-red { background: #b5342a; }
.belt-black { background: #1a1815; }
.belt-gold { background: #c58c2e; }
.belt-redblack { background: linear-gradient(90deg, #b5342a 0 50%, #1a1815 50% 100%); }
.belt-striped-yellow { background: linear-gradient(90deg, #f4efe3 0 72%, #e3b93e 72% 100%); }
.belt-striped-green { background: linear-gradient(90deg, #e3b93e 0 72%, #3e6b4f 72% 100%); }
.belt-striped-blue { background: linear-gradient(90deg, #3e6b4f 0 72%, #2c4e7a 72% 100%); }
.belt-striped-red { background: linear-gradient(90deg, #2c4e7a 0 72%, #b5342a 72% 100%); }
.belt-striped-black { background: linear-gradient(90deg, #b5342a 0 72%, #1a1815 72% 100%); }

/* ---------- Disciplines ---------- */
.disciplines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.discipline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.discipline-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.discipline-card--karate { --accent: var(--vermilion); }
.discipline-card--taekwondo { --accent: var(--indigo); }
.discipline-card--kungfu { --accent: var(--jade); }
.discipline-card--bjj { --accent: var(--bjj); }

.discipline-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: var(--paper-2);
}
.discipline-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.discipline-card:hover .discipline-card__media img { transform: scale(1.04); }
.discipline-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.discipline-card__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.discipline-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
}
.discipline-card__title {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
}
.discipline-card__text {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.discipline-card__facts {
  margin: auto 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.discipline-card__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.discipline-card__facts span:first-child {
  color: var(--muted);
  font-size: 0.72rem;
}
.discipline-card__facts span:last-child { color: var(--ink); text-align: right; font-weight: 500; }

/* ---------- Concepts ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.concept-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.concept-card > *:not(.concept-card__char) { position: relative; z-index: 1; }
.concept-card__char {
  position: absolute;
  top: -22px;
  right: 10px;
  color: rgba(16, 16, 16, 0.045);
  font-family: var(--font-jp);
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.concept-card__title { margin-bottom: 12px; font-size: clamp(1.55rem, 2.1vw, 1.9rem); }
.concept-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Explorer ---------- */
.explorer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}
.explorer__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}
.explorer__tab {
  flex: 1 1 0;
  min-width: 150px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #b9b9b0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.explorer__tab span {
  display: block;
  margin-top: 3px;
  color: #85857c;
  font-size: 0.7rem;
  font-weight: 400;
}
.explorer__tab:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.explorer__tab[aria-selected="true"] { background: var(--white); color: var(--ink); }
.explorer__tab[aria-selected="true"] span { color: var(--muted); }

.explorer__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(20px, 4vw, 40px);
}
.explorer__panel[hidden] { display: none; }

.explorer__belts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: flex-start;
  gap: 8px;
}
.belt-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: transparent;
  color: #b9b9b0;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.belt-btn:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.belt-btn[aria-pressed="true"] {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}
.belt-btn__swatch {
  display: block;
  width: 100%;
  height: 14px;
  border: 1px solid rgba(16, 16, 16, 0.14);
  border-radius: 5px;
}
.belt-btn__label { font-size: 0.72rem; font-weight: 600; }
.belt-btn__grade { font-size: 0.66rem; color: #85857c; }

.explorer__detail {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.explorer__detail::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: var(--accent);
}
.detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.detail-grade {
  color: var(--vermilion);
  font-size: 0.72rem;
  font-weight: 600;
}
.detail-title { margin: 4px 0 0; font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.detail-swatch {
  flex: none;
  width: 64px;
  height: 24px;
  border: 1px solid rgba(16, 16, 16, 0.14);
  border-radius: 8px;
}
.detail-text { margin-bottom: 20px; color: var(--muted); font-size: 0.92rem; }
.detail-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.detail-row {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
}
.detail-row:nth-child(odd) { padding-right: 18px; }
.detail-row:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.detail-row dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}
.detail-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
}
.explorer__note {
  margin-top: 16px;
  color: #85857c;
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}
.step {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.step::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--accent);
}
.step h3 { margin-bottom: 8px; font-size: 1.25rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.86rem; }

/* ---------- Tables ---------- */
.table-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.table-wrap::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 22px;
  background: linear-gradient(to left, rgba(16, 16, 16, 0.08), rgba(16, 16, 16, 0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
@media (max-width: 760px) {
  .table-wrap::after { opacity: 1; }
  .table-wrap td:first-child, .table-wrap th:first-child { white-space: nowrap; }
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.45;
}
thead th {
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(236, 236, 231, 0.55); }
tbody tr:hover { background: var(--accent-soft); }
td strong { color: var(--ink); }
.table-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.belt-cell {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.belt-cell__swatch {
  display: inline-block;
  width: 34px;
  height: 8px;
  border: 1px solid rgba(16, 16, 16, 0.14);
  border-radius: 999px;
  flex: none;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 20px;
  padding: 0 0 32px 0;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -35px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.timeline__year {
  grid-column: 1;
  grid-row: 1;
  color: var(--vermilion);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}
.timeline__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.timeline__text {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Myths ---------- */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.myth-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.myth-card::before {
  content: "„";
  position: absolute;
  top: 2px;
  right: 22px;
  color: rgba(255, 77, 31, 0.14);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  pointer-events: none;
}
.myth-card h3 { position: relative; margin-bottom: 10px; font-size: 1.35rem; }
.myth-card p { position: relative; margin: 0; color: var(--muted); font-size: 0.92rem; }
.myth-card__fact {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.myth-card__fact strong { color: var(--vermilion); }
.section--ink .myth-card { border-color: rgba(255, 255, 255, 0.12); background: #181818; }
.section--ink .myth-card h3 { color: var(--white); }
.section--ink .myth-card p { color: #b9b9b0; }
.section--ink .myth-card__fact { border-color: rgba(255, 255, 255, 0.12); color: #d8d8d2; }
.section--ink .myth-card__fact strong { color: #ff8a66; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vermilion);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--vermilion); }
.faq-item__body {
  max-width: 72ch;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.faq-item__body p { margin-bottom: 0.8em; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 77, 31, 0.10), transparent 30%),
    var(--paper);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.page-hero__title {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);
  line-height: 0.96;
}
.page-hero__lead {
  max-width: 60ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 500;
}
.page-hero__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.page-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}
.page-hero__image--portrait img { aspect-ratio: 4 / 4.6; }
.page-hero__stamp {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(16, 16, 16, 0.86);
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* ---------- Article layout ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding: clamp(52px, 7vw, 96px) 0;
}
.article { min-width: 0; }
.article > section { scroll-margin-top: calc(var(--header) + 20px); }
.article > section + section { margin-top: clamp(48px, 7vw, 80px); }
.article h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.article h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}
.article h4 { margin: 24px 0 8px; }
.article p, .article li { max-width: 74ch; }
.article p { color: var(--ink-soft); }
.article ul, .article ol { max-width: 74ch; }
.article a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(199, 53, 18, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.article a:not(.btn):hover { color: var(--vermilion); text-decoration-color: currentColor; }

.toc {
  position: sticky;
  top: calc(var(--header) + 28px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.toc__title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.toc__list { margin: 0; padding: 0; list-style: none; }
.toc__list li { margin: 0; }
.toc__list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
  text-decoration: none;
}
.toc__list li:last-child a { border-bottom: 0; }
.toc__list a:hover, .toc__list a.is-active { color: var(--vermilion); }

/* ---------- Info cards / callouts ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.info-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
}
.article .info-card {
  color: inherit;
  text-decoration: none;
}
.article a.info-card {
  color: inherit;
  text-decoration: none;
}
.article .info-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.info-card h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2vw, 1.7rem); }
.info-card h3, .info-card h4 { margin: 0 0 8px; font-size: 1.1rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.callout {
  position: relative;
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--vermilion);
  border-radius: 0 16px 16px 0;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.callout p { margin: 0; max-width: none; }
.callout strong { color: var(--ink); }
.callout--jade { border-left-color: var(--jade); }
.callout--indigo { border-left-color: var(--indigo); }
.callout__label {
  display: block;
  margin-bottom: 6px;
  color: var(--vermilion);
  font-size: 0.72rem;
  font-weight: 600;
}
.callout--jade .callout__label { color: var(--jade); }
.callout--indigo .callout__label { color: var(--indigo); }

/* ---------- Related ---------- */
.related {
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.related__head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.related-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.related-card__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
}
.related-card__text { color: var(--muted); font-size: 0.84rem; }

/* ---------- Glossary ---------- */
.glossary-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.glossary-tools label { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.glossary-tools input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.glossary-tools input:focus { outline: 2px solid var(--vermilion); outline-offset: 1px; }
.glossary-count { color: var(--muted); font-size: 0.78rem; }

.glossary-group { margin-bottom: 48px; }
.glossary-group h2 { margin-bottom: 14px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.term { padding: 18px 0; border-top: 1px solid var(--line); }
.term[hidden] { display: none; }
.term__name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 5px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
}
.term__name span {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
}
.term p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.glossary-empty {
  display: none;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.glossary-empty.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(52px, 7vw, 80px) 0 24px;
  background: var(--ink);
  color: #b9b9b0;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand__seal { background: var(--white); color: var(--ink); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: #8d8d84; }
.footer-brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: #a0a098;
  font-size: 0.86rem;
  line-height: 1.6;
}
.footer-col h3 {
  margin-bottom: 12px;
  color: #8d8d84;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0; }
.footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: #d8d8d2;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); }
.footer-belt {
  display: flex;
  width: 100%;
  height: 4px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 999px;
}
.footer-belt span { flex: 1; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  color: #8d8d84;
  font-size: 0.72rem;
  line-height: 1.5;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a0a098; }

/* Text-only page heroes get a quiet brand mark instead of an empty column */
.page-hero > .container { position: relative; }
.page-hero__mark {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: rgba(16, 16, 16, 0.035);
  font-family: var(--font-jp);
  font-size: clamp(8rem, 16vw, 15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

/* The first content block after a page hero needs less air */
.page-hero + .section { padding-top: clamp(48px, 6vw, 80px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 0; }
  .nav__link { padding: 9px 10px; font-size: 0.76rem; }
  .hero__title { font-size: clamp(3rem, 7vw, 5.8rem); }
  .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  :root { --header: 68px; }
  .nav { display: none; }
  .nav__toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 13ch; }
  .hero__visual { max-width: 620px; }
  .hero__seal { top: -14px; right: 12px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .section-head__title { max-width: 22ch; }
  .disciplines { grid-template-columns: minmax(0, 1fr); }
  .discipline-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .discipline-card__media { aspect-ratio: auto; min-height: 100%; }
  .concept-grid { grid-template-columns: 1fr; }
  .explorer__panel { grid-template-columns: 1fr; }
  .explorer__belts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__image { max-width: 560px; }
  .page-hero__mark { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glossary-grid { grid-template-columns: 1fr; }
  .info-grid--three { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__sub { display: none; }
  .hero { padding-top: 38px; }
  .hero__title { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 8px 14px; font-size: 0.72rem; }
  .belt-strip { display: flex; overflow-x: auto; }
  .belt-strip__item { flex: 0 0 76px; }
  .belt-strip__label { font-size: 0.6rem; }
  .discipline-card { display: flex; }
  .discipline-card__media { aspect-ratio: 4 / 3; min-height: 0; }
  .explorer__tabs { display: grid; grid-template-columns: 1fr; }
  .explorer__tab { min-width: 0; }
  .explorer__belts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-top { flex-direction: column; gap: 12px; }
  .detail-rows { grid-template-columns: 1fr; }
  .detail-row:nth-child(odd) { padding-right: 0; }
  .detail-row:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .myth-grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; row-gap: 3px; }
  .timeline__year, .timeline__title, .timeline__text { grid-column: 1; }
  .timeline__year { grid-row: 1; }
  .timeline__title { grid-row: 2; }
  .timeline__text { grid-row: 3; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand p { max-width: none; }
  .page-hero__title { max-width: 20ch; }
  .page-hero__stamp { left: auto; right: 14px; bottom: 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .related__head { flex-direction: column; gap: 8px; }
  .glossary-tools { align-items: flex-start; }
  .glossary-tools input { flex-basis: 100%; }
}

@media (max-width: 400px) {
  .page-hero__title { font-size: clamp(2.1rem, 10.2vw, 2.6rem); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .site-footer, .toc, .explorer, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-hero, .section { padding: 20px 0; }
  .article-layout { display: block; padding: 0; }
  a { color: #000; text-decoration: none; }
  .article > section + section { margin-top: 28px; }
}

/* Anchor targets clear the sticky header */
section[id], div[id="explorer"] { scroll-margin-top: calc(var(--header) + 20px); }
.section--ink .explorer__detail .detail-text { color: var(--muted); }
.section--ink .explorer__detail .detail-title { color: var(--ink); }
