/*
 * JLPTNOTE EDITORIAL SYSTEM / 2026
 * A text-first interface: deliberate hierarchy, ruled groups, sparse colour.
 * Cards are reserved for interactive learning states, not page decoration.
 */
:root {
  --ink: #17211c;
  --muted: #526158;
  --paper: #f3efe5;
  --surface: #fffdf7;
  --white: #fffdf7;
  --line: #cfc8bb;
  --green: #155a43;
  --green-dark: #0e4131;
  --green-soft: #e4efe8;
  --red: #a6402e;
  --red-soft: #f4e2dc;
  --frame: #17211c;
  --frame-soft: #26332d;
  --shadow: none;
  --app-width: 1180px;
  --app-radius: 0px;
}

html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
::selection { background: #dfc7a5; color: #111; }

.site-header {
  min-height: 72px;
  padding-block: 8px;
  border-bottom-color: rgba(255, 255, 255, .16);
  background: rgba(23, 26, 24, .97);
  backdrop-filter: blur(12px);
}
.site-brand > span {
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--red);
  box-shadow: none;
}
.site-brand strong {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.025em;
}
.site-brand strong small { color: #aaa9a2; letter-spacing: .13em; }
.site-header nav { gap: clamp(14px, 2vw, 28px); }
.site-header nav a { color: #c2c0ba; letter-spacing: .055em; }
.study-link {
  min-height: 40px;
  padding-inline: 16px;
  border-color: rgba(255, 255, 255, .48);
  border-radius: 0;
  background: transparent;
}

main,
main.editorial-library {
  width: min(var(--app-width), 100%);
  padding: 0 24px 104px;
}

/* Opening pages read like a cover, not a dashboard. */
.home-hero,
.level-hero,
.practical-hero,
.lesson-hero,
.news-hero,
.library-hero {
  min-height: 0;
  margin: 0;
  padding: clamp(64px, 9vw, 118px) 0 clamp(52px, 7vw, 88px);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-start-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(48px, 8vw, 104px);
  min-height: 650px;
  padding-block: clamp(76px, 10vw, 124px);
  background: transparent;
}
.home-start-copy h1,
.home-hero h1,
.level-hero h1,
.practical-hero h1,
.lesson-hero h1,
.news-hero h1,
.library-hero h1 {
  max-width: 880px;
  margin: 14px 0 28px;
  font-family: var(--sans);
  font-size: clamp(50px, 7.3vw, 92px);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -.075em;
}
.home-start-copy > p:last-of-type,
.home-hero > div > p:last-of-type,
.level-hero > div > p:last-child,
.practical-hero > div > p:not(.eyebrow),
.lesson-hero > div > p:not(.eyebrow),
.news-hero > div > p:not(.eyebrow),
.library-hero > div > p:last-child {
  max-width: 690px;
  color: #4f534e;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.82;
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
}

.home-hero-proof {
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.home-hero-proof span {
  padding: 12px 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
}
.home-hero-proof span + span::before { margin-right: 18px; color: var(--red); content: "/"; }

.home-launch-panel {
  min-width: 0;
  padding: 28px 0 0;
  border: 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-launch-panel header { padding: 0 2px 20px; border-bottom: 1px solid var(--line); }
.home-launch-panel header strong { font-size: 30px; }
.home-launch-panel > nav {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--line);
}
.home-launch-panel > nav a {
  min-height: 94px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: background-color .16s ease, color .16s ease;
}
.home-launch-panel > nav a:last-child { border-right: 0; }
.home-launch-panel > nav a b { font-size: 22px; }
.home-launch-panel > nav a span { color: var(--muted); }
.home-launch-panel > nav a:hover { background: var(--red); color: #fff; transform: none; }
.home-launch-panel > nav a:hover span { color: #f6ded7; }
.home-continue-study {
  min-height: 56px;
  margin: 0;
  padding-inline: 18px;
  border-radius: 0;
  background: var(--ink);
}
.home-launch-secondary { gap: 0; margin: 0; }
.home-launch-secondary a {
  padding: 16px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
.home-launch-secondary a:last-child { border-right: 0; }

/* Repeated information becomes a ruled editorial sequence. */
.value-strip,
.home-value-strip,
.levels-section,
.track-section,
.how-section,
.editorial-grid,
.faq-section,
.lesson-section,
.study-method,
.news-list-section,
.catalog-group,
.library-principles,
.home-library,
.daily-news-section,
.slang-intro,
.slang-section,
.slang-method {
  max-width: none;
  margin: 0;
  padding: clamp(64px, 8vw, 100px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-value-strip {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid var(--ink);
}
.home-value-strip > div,
.value-strip > div {
  min-height: 132px;
  padding: 28px 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.home-value-strip > div:first-child { padding-left: 0; }
.home-value-strip > div:last-child { border-right: 0; }
.home-value-strip strong { font-size: clamp(22px, 2.4vw, 30px); }
.home-value-strip span { margin-top: 9px; font-size: 12px; }

.section-title,
.catalog-group > header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}
.section-title h2,
.catalog-group > header h2,
.home-library h2,
.faq-section > h2,
.editorial-grid h2 {
  max-width: 740px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.06em;
}
.section-title > p { margin: 0; color: var(--muted); }

.signature-lab {
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  margin: clamp(42px, 7vw, 86px) 0;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--frame);
  box-shadow: none;
}
.signature-lab > div { padding: clamp(34px, 5vw, 64px); }
.signature-lab > div:first-child { border-right: 1px solid rgba(255,255,255,.18); }
.signature-demo { border-radius: 0; background: var(--surface); color: var(--ink); }
.signature-demo ol { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }

.library-principles,
.track-grid.three,
.how-grid {
  gap: 0;
  background: transparent;
}
.library-principles article,
.track-card,
.how-grid article {
  min-height: 260px;
  padding: 28px 28px 30px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.library-principles article:last-child,
.track-card:last-child,
.how-grid article:last-child { border-right: 0; }
.track-card.practical,
.track-card.news { border-color: var(--line); background: transparent; color: var(--ink); }
.track-card.practical span,
.track-card.practical p { color: var(--muted); }
.track-card h3 { margin-top: 44px; font-size: clamp(29px, 3.2vw, 42px); }

.library-home-grid,
.catalog-grid,
.news-list,
.course-grid {
  gap: 0;
  border-top: 2px solid var(--ink);
}
.news-list { grid-template-columns: minmax(0, 1fr); }
.news-list > a,
.news-list > a > *,
.news-list-meta { min-width: 0; max-width: 100%; }
.news-list > a { width: 100%; }
.news-list h3,
.news-list [lang="ja"] { overflow-wrap: anywhere; word-break: normal; }
.news-list-meta { flex-wrap: wrap; }
.library-home-grid { grid-template-columns: repeat(2, 1fr); }
.library-home-grid a:first-child { grid-column: 1 / -1; min-height: 250px; }
.library-home-grid a,
.catalog-grid > a,
.news-list > a,
.course-grid > a,
.lesson-card,
.daily-study-card,
.slang-card {
  min-height: 230px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.library-home-grid a:nth-child(odd),
.catalog-grid > a:nth-child(even) { border-right: 0; }
.library-home-grid h3,
.catalog-grid h3 { font-size: clamp(25px, 3vw, 36px); }
.catalog-grid > a:hover,
.library-home-grid a:hover { transform: none; background: rgba(255,255,255,.54); }

.level-links { border-top: 2px solid var(--ink); }
.level-links a {
  min-height: 150px;
  padding: 28px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.level-links a:hover { transform: none; background: rgba(255,255,255,.48); box-shadow: inset 4px 0 0 var(--red); }

.library-hero aside,
.practical-hero aside,
.lesson-hero aside,
.news-hero aside,
.level-hero aside {
  min-height: 170px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
}
.library-tabs { border-bottom-color: var(--line); }
.library-tabs a { border-radius: 0; background: transparent; }
.quick-study-strip,
.vocabulary-quick-start {
  margin: 0 0 1px;
  padding: 26px 0;
  border: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.quick-study-strip a,
.vocabulary-quick-start nav a { border-radius: 0; background: transparent; }

.daily-study-card { border-top: 1px solid var(--line); border-left: 4px solid var(--red); }
.daily-study-card > header span,
.daily-study-card > header b { border-radius: 0; }
.daily-study-card h3 { line-height: 1.5; }
.slang-grid { gap: 0; border-top: 2px solid var(--ink); }
.slang-card { border-top: 0; border-left: 0; }
.slang-card blockquote { background: rgba(255,255,255,.5); }

.primary-cta,
.secondary-cta,
.quick-study-strip a,
.quick-study-primary { border-radius: 0; }
.site-footer {
  width: min(var(--app-width), 100%);
  padding: 42px 24px 64px;
  border-top: 1px solid var(--ink);
  background: transparent;
}

@media (max-width: 900px) {
  .home-start-hero,
  .home-hero,
  .library-hero,
  .practical-hero,
  .lesson-hero,
  .news-hero { grid-template-columns: 1fr; gap: 44px; }
  .home-start-hero { min-height: 0; }
  .home-launch-panel { width: 100%; }
  .section-title,
  .catalog-group > header { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header { padding: 8px 14px 6px; }
  .site-brand > span { width: 34px; height: 34px; }
  .site-header nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px 0 3px;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: 0 0 auto; min-height: 28px; }
  .study-link { min-height: 36px; padding-inline: 12px; }
  main,
  main.editorial-library { padding: 0 18px 80px; }
  .home-hero,
  .level-hero,
  .practical-hero,
  .lesson-hero,
  .news-hero,
  .library-hero,
  .home-start-hero { margin: 0; padding: 54px 0 46px; border-radius: 0; }
  .home-start-copy h1,
  .home-hero h1,
  .level-hero h1,
  .practical-hero h1,
  .lesson-hero h1,
  .news-hero h1,
  .library-hero h1 { font-size: clamp(42px, 13vw, 58px); line-height: 1.02; }
  .home-hero-proof span { padding-right: 10px; font-size: 9px; }
  .home-hero-proof span + span::before { margin-right: 10px; }
  .home-launch-panel { padding: 22px 0 0; }
  .home-launch-panel > nav a { min-height: 76px; }
  .home-launch-panel > nav a b { font-size: 18px; }
  .home-launch-secondary { grid-template-columns: 1fr; }
  .home-launch-secondary a { border-right: 0; border-bottom: 1px solid var(--line); }
  .home-value-strip { grid-template-columns: 1fr; margin: 0; padding: 0; }
  .home-value-strip > div,
  .home-value-strip > div:first-child { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-value-strip > div:last-child { border-bottom: 0; }
  .levels-section,
  .track-section,
  .how-section,
  .editorial-grid,
  .faq-section,
  .lesson-section,
  .study-method,
  .news-list-section,
  .catalog-group,
  .library-principles,
  .home-library,
  .daily-news-section,
  .slang-intro,
  .slang-section,
  .slang-method { margin: 0; padding: 56px 0; border-radius: 0; }
  .signature-lab { grid-template-columns: 1fr; margin: 42px 0; border-radius: 0; }
  .signature-lab > div { padding: 30px 22px; }
  .signature-lab > div:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .library-principles,
  .track-grid.three,
  .how-grid,
  .library-home-grid,
  .catalog-grid,
  .slang-grid { grid-template-columns: 1fr; }
  .library-home-grid a:first-child { grid-column: auto; }
  .library-principles article,
  .track-card,
  .how-grid article,
  .library-home-grid a,
  .catalog-grid > a,
  .slang-card { min-height: 0; padding: 26px 0; border-right: 0; border-radius: 0; }
  .level-links a { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 24px 0; }
  .level-links a > b { grid-column: 2; }
  .quick-study-strip,
  .vocabulary-quick-start { margin-inline: 0; padding: 22px 0; border-radius: 0; }
  .daily-study-card { padding: 20px 14px; border-radius: 0; }
  .site-footer { padding-inline: 18px; }
}

/* 2026-08-31 full-site QA: readable controls and progressive disclosure. */
.annotation-kind {
  display: block;
  margin: 0 0 5px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
}
.annotation-pronunciation {
  display: flex;
  gap: 14px;
  margin-top: -1px;
  padding: 10px 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.annotation-pronunciation span { color: #a83827; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.annotation-pronunciation b { color: var(--ink); font-size: 16px; }
.annotation-deep-dive {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.annotation-deep-dive > summary {
  position: relative;
  display: flex;
  min-height: 46px;
  padding: 11px 34px 11px 0;
  align-items: center;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.annotation-deep-dive > summary::-webkit-details-marker { display: none; }
.annotation-deep-dive > summary::after { position: absolute; right: 4px; content: "+"; font-size: 20px; font-weight: 500; }
.annotation-deep-dive[open] > summary::after { content: "−"; }
.annotation-deep-dive > .sentence-note-copy { margin: 0 0 14px; }
.annotation-deep-dive > .kanji-memory-visual-static,
.annotation-deep-dive > .kanji-breakdown { margin-top: 14px; }
.annotation-deep-dive > .annotation-recall { margin-bottom: 14px; }

@media (max-width: 900px) {
  .site-header nav { gap: 2px; padding-block: 2px; }
  .site-header nav a {
    min-width: 42px;
    min-height: 42px;
    padding-inline: 6px;
    justify-content: center;
    font-size: 11px;
  }
}

@media (max-width: 680px) {
  .site-brand { min-height: 44px; }
  .study-link { min-height: 44px; }
  .breadcrumbs a,
  .lesson-pagination a,
  .source-note a,
  .news-source a,
  .signature-lab a,
  .practice-paper summary,
  .site-footer a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .home-hero-proof span { font-size: 10px; }
  .home-launch-panel > nav a span,
  .home-launch-secondary a span { font-size: 10px; }
  .study-token {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    vertical-align: middle;
  }
  .annotation-overlay-panel .sentence-note { padding-bottom: 22px; }
  .annotation-deep-dive > summary { min-height: 48px; font-size: 14px; }
}

/* 2026-09-02: a quieter entry page with dense learning depth on demand. */
.home-start-hero {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: clamp(44px, 7vw, 84px);
  min-height: 0;
  padding-block: clamp(58px, 7vw, 84px);
}
.home-start-copy h1 { font-size: clamp(48px, 6.2vw, 76px); line-height: 1.02; }
.home-start-copy > p:last-of-type { max-width: 640px; font-size: clamp(16px, 1.45vw, 18px); }
.home-hero-proof { display: flex; flex-wrap: wrap; margin-top: 24px; }
.home-hero-proof span { color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 800; }
.home-launch-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 18px;
  background: var(--surface);
}
.home-launch-panel header { padding-bottom: 18px; }
.home-launch-panel header > span { color: var(--red); font-size: 12px; font-weight: 900; }
.home-launch-panel header strong { margin-top: 5px; font-size: clamp(24px, 2.5vw, 30px); line-height: 1.25; }
.home-launch-panel header small { color: var(--muted); font-size: 13px; line-height: 1.6; }
.home-launch-panel > nav a { min-height: 82px; }
.home-launch-panel > nav a span { font-size: 11px; }
.home-launch-panel > nav a:hover,
.home-launch-panel > nav a:focus-visible { background: var(--green); color: #fff; }
.home-launch-panel > nav a:hover span,
.home-launch-panel > nav a:focus-visible span { color: #e8f3ec; }
.home-continue-study { min-height: 54px; background: var(--green); }
.home-continue-study:hover,
.home-continue-study:focus-visible { background: var(--green-dark); }
.home-launch-secondary a { min-height: 74px; }
.home-launch-secondary a span { color: var(--muted); font-size: 11px; }
.home-launch-secondary a strong { color: var(--green-dark); font-size: 13px; }

.signature-lab { margin: clamp(40px, 5vw, 62px) 0; }
.signature-lab > div { padding: clamp(28px, 4vw, 46px); }
.signature-lab h2 { margin-block: 12px 18px; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.05em; }
.signature-lab > div:first-child > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; }
.signature-lab a { color: #fffdf7; font-size: 13px; }
.signature-demo ol li span,
.signature-prompt { font-size: 12px; }

.home-course-hub,
.home-depth {
  padding: clamp(56px, 7vw, 82px) 0;
  border-bottom: 1px solid var(--line);
}
.home-course-hub .section-title { margin-bottom: 34px; }
.home-course-hub .section-title h2,
.home-depth h2 { font-size: clamp(36px, 4.7vw, 56px); line-height: 1.08; letter-spacing: -.055em; }
.home-course-hub .section-title > p,
.home-depth-intro > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-course-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.home-course-groups > section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.home-course-groups > section > header {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.home-course-groups > section > header > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}
.home-course-groups header strong { display: block; font-size: 20px; line-height: 1.3; }
.home-course-groups header small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.home-course-groups nav { display: grid; }
.home-course-groups nav a {
  display: flex;
  min-width: 0;
  min-height: 74px;
  gap: 20px;
  padding: 15px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.home-course-groups nav a:last-child { border-bottom: 0; }
.home-course-groups nav a:hover,
.home-course-groups nav a:focus-visible { background: var(--green-soft); }
.home-course-groups nav a span { min-width: 0; }
.home-course-groups nav a b { display: block; font-size: 17px; line-height: 1.35; }
.home-course-groups nav a small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.home-course-groups nav a em { flex: 0 0 auto; color: var(--green-dark); font-size: 12px; font-style: normal; font-weight: 900; white-space: nowrap; }

.home-depth {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 7vw, 88px);
}
.home-depth-intro { align-self: start; }
.home-depth-intro h2 { margin: 10px 0 20px; }
.home-depth-rules { border-top: 2px solid var(--ink); }
.home-depth-rules article {
  display: grid;
  grid-template-columns: 54px minmax(0, .9fr) minmax(180px, 1.1fr);
  gap: 18px;
  padding: 20px 2px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.home-depth-rules article > span { color: var(--red); font-size: 12px; font-weight: 900; }
.home-depth-rules article > strong { font-size: 15px; line-height: 1.55; }
.home-depth-rules article > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.home-depth-notes { margin-top: 22px; border-top: 1px solid var(--line); }
.home-depth-notes details { border-bottom: 1px solid var(--line); }
.home-depth-notes summary {
  position: relative;
  min-height: 52px;
  padding: 14px 38px 14px 2px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.home-depth-notes summary::-webkit-details-marker { display: none; }
.home-depth-notes summary::after { position: absolute; top: 13px; right: 4px; content: "+"; font-size: 21px; font-weight: 500; }
.home-depth-notes details[open] summary::after { content: "−"; }
.home-depth-notes details p { margin: 0 0 18px; padding-right: 34px; color: var(--muted); font-size: 13px; line-height: 1.75; }

@media (max-width: 900px) {
  .home-start-hero { grid-template-columns: 1fr; }
  .home-launch-panel { max-width: 640px; }
  .home-depth { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  .home-start-hero { padding-block: 44px; }
  .home-start-copy h1 { margin-block: 10px 20px; font-size: clamp(42px, 12vw, 56px); }
  .home-hero-proof span { font-size: 11px; }
  .home-launch-panel { padding: 18px 14px 14px; border-radius: 14px; }
  .home-launch-panel > nav a { min-height: 72px; }
  .signature-lab { margin: 34px 0; }
  .signature-lab > div { padding: 26px 20px; }
  .signature-lab h2 { font-size: 34px; }
  .home-course-hub,
  .home-depth { padding: 50px 0; }
  .home-course-groups { grid-template-columns: 1fr; }
  .home-course-groups > section > header,
  .home-course-groups nav a { padding-inline: 18px; }
  .home-course-groups nav a { min-height: 70px; }
  .home-course-groups nav a em { font-size: 11px; }
  .home-depth-rules article { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .home-depth-rules article > p { grid-column: 2; }
}

@media (prefers-contrast: more) {
  :root { --muted: #39463f; --line: #8f8a80; }
  .home-course-groups > section,
  .home-launch-panel { border-color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 2026-09-02 v2: visible nested-container redesign. */
main:not(.editorial-library) {
  position: relative;
  border-inline: 1px solid rgba(82, 97, 88, .16);
}
.home-start-hero {
  margin-top: 28px;
  padding: clamp(46px, 6vw, 74px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  background: linear-gradient(138deg, #14281f 0%, #1b382c 64%, #234838 100%);
  color: var(--white);
  box-shadow: 0 22px 55px rgba(23, 33, 28, .14);
}
.home-start-copy .eyebrow { color: #f0a18f; }
.home-start-copy h1 { color: var(--white); text-wrap: balance; }
.home-start-copy > p:last-of-type { color: #eef5f0 !important; opacity: 1; }
.home-start-copy > p:last-of-type strong { color: #fff !important; }
.home-hero-proof { border-top-color: rgba(255, 255, 255, .22); }
.home-hero-proof span { color: #d9e2dd; }
.home-hero-proof span + span::before { color: #f0a18f; }
.home-launch-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-top: 5px solid #d86b55;
  border-radius: 22px;
  background: #fffdf7;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(5, 18, 12, .2);
}
.home-launch-panel > nav { border-top: 1px solid var(--line); }
.home-launch-panel > nav a { background: #fffdf7; }
.home-launch-panel > nav a:hover,
.home-launch-panel > nav a:focus-visible { background: var(--green); }
.home-continue-study { border-radius: 10px; }
.home-launch-secondary { margin-top: 7px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

.level-hero aside > span,
.library-hero aside > span,
.practical-hero aside > span,
.lesson-hero aside > span,
.news-hero aside > span {
  color: #f0a18f !important;
}
.level-hero aside > strong,
.library-hero aside > strong,
.practical-hero aside > strong,
.lesson-hero aside > strong,
.news-hero aside > strong {
  color: #fffdf7 !important;
}
.level-hero aside > small,
.library-hero aside > small,
.practical-hero aside > small,
.lesson-hero aside > small,
.news-hero aside > small {
  color: #d8e1dc !important;
}

.signature-lab {
  gap: 12px;
  padding: 12px;
  border: 1px solid #d3caba;
  border-radius: 28px;
  background: #e8e0d1;
  box-shadow: 0 18px 48px rgba(55, 46, 34, .08);
}
.signature-lab > div { border-radius: 20px; }
.signature-lab > div:first-child {
  border: 0;
  background: linear-gradient(145deg, #17211c, #26382f);
}
.signature-demo { border: 1px solid rgba(23, 33, 28, .12); background: var(--surface); }

.home-course-hub .section-title { padding-inline: clamp(8px, 2vw, 24px); }
.home-course-groups { gap: 22px; }
.home-course-groups > section {
  border-color: #c8c0b3;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(48, 42, 32, .07);
}
.home-course-groups > section:first-child > header { background: #e5efe9; }
.home-course-groups > section:last-child > header { background: #f4e4dc; }
.home-course-groups > section:last-child > header > span { background: #f5d7cc; color: #823525; }
.home-course-groups nav a { background: rgba(255, 253, 247, .82); }
.home-course-groups nav a:hover,
.home-course-groups nav a:focus-visible { padding-left: 30px; }

.home-depth {
  margin: 32px 0 72px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(48, 42, 32, .06);
}
.lesson-meaning-hierarchy {
  margin: 8px 0 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: var(--green-soft);
}
.lesson-meaning-hierarchy > span { display: block; color: var(--green-dark); font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.lesson-meaning-hierarchy > strong { display: block; margin-top: 4px; color: var(--ink); font-size: 20px; line-height: 1.45; }
.lesson-meaning-hierarchy details { margin-top: 10px; border-top: 1px solid rgba(14, 65, 49, .2); }
.lesson-meaning-hierarchy summary { min-height: 44px; padding-top: 10px; color: var(--green-dark); font-size: 12px; font-weight: 900; cursor: pointer; }
.lesson-meaning-hierarchy details p { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding-bottom: 4px; }
.lesson-meaning-hierarchy details p span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; }

/* Stable dictionary-style explanations: one label, one scroll surface. */
.sentence-note::before { display: none !important; content: none !important; }
.annotation-overlay-panel {
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  border: 1px solid #17211c;
  border-top: 5px solid var(--red);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 24px 64px rgba(13, 24, 18, .28);
  touch-action: pan-y;
}
.annotation-overlay-panel .sentence-note {
  padding: 22px 58px 22px 22px;
  border: 0;
  border-radius: 13px;
  background: #fffdf7;
}
.annotation-overlay-panel .annotation-kind {
  display: inline-flex;
  min-height: 25px;
  margin: 0 0 9px;
  padding: 4px 8px;
  align-items: center;
  border-radius: 5px;
  background: #17211c;
  color: #f0a18f;
}
.annotation-overlay-panel .sentence-note > strong {
  margin-bottom: 13px;
  color: #17211c;
  font-size: 20px;
  line-height: 1.42;
}
.annotation-meaning {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  margin: 10px 0 12px;
  padding: 13px 14px;
  align-items: start;
  border: 1px solid #d7cdbd;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  background: #fff;
}
.annotation-meaning > span {
  color: #a83827;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.annotation-meaning > b {
  color: #17211c;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.annotation-overlay-panel .annotation-reading,
.annotation-overlay-panel .annotation-pronunciation {
  border: 1px solid #d7cdbd;
  border-radius: 10px;
  background: #fff;
}
.annotation-overlay-panel .annotation-pronunciation { margin-top: 8px; }
.annotation-overlay-panel .annotation-deep-dive {
  overflow: hidden;
  border: 1px solid #d7cdbd;
  border-radius: 11px;
  background: #f3eee4;
}
.annotation-overlay-panel .annotation-deep-dive > summary { padding-inline: 14px 42px; }
.annotation-overlay-panel .annotation-deep-dive > summary::after { right: 14px; }
.annotation-overlay-panel .annotation-deep-dive > .sentence-note-copy,
.annotation-overlay-panel .annotation-deep-dive > .kanji-memory-visual-static,
.annotation-overlay-panel .annotation-deep-dive > .kanji-breakdown,
.annotation-overlay-panel .annotation-deep-dive > .annotation-recall { margin-inline: 14px; }
.annotation-overlay-panel .sentence-note > button[data-annotation-close] {
  border-color: #17211c;
  background: #17211c;
  color: #fffdf7;
}
.annotation-overlay-panel .sentence-note > button[data-annotation-close]:hover { border-color: var(--red); background: var(--red); }

@media (max-width: 680px) {
  .annotation-meaning { grid-template-columns: 1fr; gap: 3px; }
  main:not(.editorial-library) { border-inline: 0; }
  .home-start-hero { margin-top: 16px; padding: 34px 20px 20px; border-radius: 22px; }
  .home-launch-panel { padding: 18px 14px 14px; border-radius: 18px; }
  .home-launch-secondary { grid-template-columns: 1fr; }
  .signature-lab { gap: 8px; padding: 8px; border-radius: 22px; }
  .signature-lab > div { border-radius: 16px; }
  .home-course-groups > section { border-radius: 18px; }
  .home-course-groups nav a:hover,
  .home-course-groups nav a:focus-visible { padding-left: 22px; }
  .home-depth { margin-bottom: 42px; padding: 30px 20px; border-radius: 20px; }
  .annotation-overlay-panel[data-placement="sheet"] {
    border-radius: 20px 20px 12px 12px;
    box-shadow: 0 18px 60px rgba(13, 24, 18, .34);
  }
  .annotation-overlay-panel[data-placement="sheet"] .sentence-note { padding: 18px 52px 20px 16px; }
  .annotation-overlay-panel .sentence-note > strong { font-size: 18px; }
}

/* BJT: editorial-tech business Japanese track. */
.bjt-main { padding-bottom: 74px; }
.bjt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(34px, 6vw, 78px);
  margin-top: 28px;
  padding: clamp(44px, 6vw, 72px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: #14281f;
  color: #fffdf7;
  box-shadow: 0 22px 55px rgba(23,33,28,.15);
}
.bjt-hero .eyebrow { color: #f0a18f; }
.bjt-hero h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  color: #fffdf7;
  font-family: var(--sans);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.075em;
}
.bjt-hero > div > p:last-of-type { max-width: 700px; color: #e7efe9; font-size: 18px; line-height: 1.85; word-break: keep-all; }
.bjt-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.bjt-hero-actions a { display: inline-flex; min-height: 48px; padding: 0 18px; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: #fff; font-size: 13px; font-weight: 900; }
.bjt-hero-actions a:first-child { border-color: #fffdf7; background: #fffdf7; color: #14281f; }
.bjt-hero > aside {
  display: flex;
  min-width: 0;
  padding: 26px;
  flex-direction: column;
  justify-content: center;
  border-top: 5px solid var(--red);
  border-radius: 20px;
  background: #fffdf7;
  color: #17211c;
  box-shadow: 0 18px 44px rgba(4,16,10,.22);
}
.bjt-hero > aside > span { color: var(--red); font-family: var(--mono); font-size: 11px; font-weight: 900; letter-spacing: .07em; }
.bjt-hero > aside > strong { margin-top: 7px; font-family: var(--sans); font-size: clamp(44px, 6vw, 66px); line-height: 1; letter-spacing: -.06em; }
.bjt-hero > aside > small { margin-top: 10px; color: #536058; font-size: 12px; font-weight: 750; line-height: 1.65; }
.bjt-hero > aside ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.bjt-hero > aside li { display: grid; gap: 5px; padding: 14px 4px 0; text-align: center; font-size: 10px; font-weight: 850; }
.bjt-hero > aside li + li { border-left: 1px solid var(--line); }
.bjt-hero > aside li b { font: 900 18px/1 var(--serif); }

.bjt-orientation { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: clamp(32px,6vw,86px); padding: 78px 0; border-bottom: 1px solid var(--line); }
.bjt-orientation h2,.bjt-levels h2,.bjt-curriculum h2 { margin: 10px 0 18px; font-family: var(--sans); font-size: clamp(38px,5vw,62px); line-height: 1.05; letter-spacing: -.055em; }
.bjt-orientation > div:first-child > p:last-child { color: #4d5852; font-size: 16px; line-height: 1.85; }
.bjt-skill-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #c8c0b3; border-radius: 20px; overflow: hidden; background: #fffdf7; box-shadow: 0 14px 38px rgba(47,40,31,.07); }
.bjt-skill-grid article { min-width: 0; padding: 26px 22px; }
.bjt-skill-grid article + article { border-left: 1px solid var(--line); }
.bjt-skill-grid span { color: var(--red); font-family: var(--mono); font-size: 10px; font-weight: 900; }
.bjt-skill-grid h3 { margin: 24px 0 10px; font-size: 22px; }
.bjt-skill-grid p { margin: 0; color: #526059; font-size: 13px; line-height: 1.75; }

.bjt-levels { margin: 64px 0; padding: clamp(30px,5vw,54px); border-radius: 26px; background: #17211c; color: #fffdf7; }
.bjt-levels > header { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.55fr); gap: 40px; align-items: end; }
.bjt-levels h2 { margin-bottom: 0; color: #fffdf7; }
.bjt-levels > header > p { color: #d7e1db; font-size: 14px; line-height: 1.75; }
.bjt-levels ol { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); margin: 34px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.24); list-style: none; }
.bjt-levels li { min-width: 0; padding: 19px 12px 0; }
.bjt-levels li + li { border-left: 1px solid rgba(255,255,255,.16); }
.bjt-levels li span,.bjt-levels li strong,.bjt-levels li small { display: block; }
.bjt-levels li span { color: #f0a18f; font-family: var(--mono); font-size: 10px; font-weight: 900; }
.bjt-levels li strong { margin-top: 9px; color: #fff; font-size: 27px; }
.bjt-levels li small { margin-top: 8px; color: #cdd7d1; font-size: 10px; line-height: 1.6; }

.bjt-scene { display: grid; grid-template-columns: minmax(250px,.38fr) minmax(0,1fr); margin: 68px 0; border: 1px solid #c8c0b3; border-radius: 26px; overflow: hidden; background: #fffdf7; box-shadow: 0 18px 48px rgba(47,40,31,.09); }
.bjt-scene > aside { padding: clamp(28px,4vw,48px); background: #1d3429; color: #fffdf7; }
.bjt-scene > aside > span { color: #f0a18f; font: 900 11px/1 var(--mono); letter-spacing: .08em; }
.bjt-scene > aside > strong { display: block; margin-top: 16px; font-size: 28px; }
.bjt-scene > aside dl { margin: 34px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.bjt-scene > aside dl div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.bjt-scene > aside dt { color: #aebcb4; font-size: 10px; font-weight: 800; }
.bjt-scene > aside dd { margin: 0; font-size: 12px; font-weight: 850; }
.bjt-scene > aside > p { margin: 30px 0 0; color: #d7e1db; font-size: 12px; line-height: 1.75; }
.bjt-scene > article { min-width: 0; padding: clamp(28px,5vw,58px); }
.bjt-scene > article > header { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 15px; align-items: center; padding-bottom: 20px; border-bottom: 2px solid #17211c; }
.bjt-scene > article > header span { display: grid; min-height: 34px; place-items: center; background: var(--red); color: #fff; font: 900 11px/1 var(--mono); }
.bjt-scene > article > header strong { font-size: 20px; line-height: 1.5; }
.bjt-scene .annotated-sentence > p { margin: 28px 0 0; font-family: var(--jp-readable); font-size: clamp(20px,3vw,29px); font-weight: 720; line-height: 2; overflow-wrap: anywhere; }
.bjt-scene .sentence-notes { height: 0; }
.bjt-translation { margin: 22px 0 0; padding: 18px 20px; border-left: 4px solid var(--red); background: #f3eee4; font-size: 14px; font-weight: 700; line-height: 1.8; }
.bjt-check { margin-top: 26px; border: 1px solid #17211c; }
.bjt-check > summary { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; min-height: 60px; padding: 10px 16px; align-items: center; background: #17211c; color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; list-style: none; }
.bjt-check > summary::-webkit-details-marker { display:none; }
.bjt-check > summary span { display:grid; width:34px; height:34px; place-items:center; background:var(--red); }
.bjt-check > div { padding: 22px; }
.bjt-check ol { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.bjt-check li { padding: 11px 13px; border: 1px solid var(--line); background:#fff; font-size:13px; }
.bjt-check > div > p { margin: 17px 0 0; color:#45524b; font-size:13px; line-height:1.7; }

.bjt-curriculum { padding: 66px 0; border-top: 1px solid var(--line); }
.bjt-curriculum > div:last-child { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border:1px solid #c8c0b3; border-radius:20px; overflow:hidden; background:#fffdf7; }
.bjt-curriculum article { min-width:0; padding:26px 22px; }
.bjt-curriculum article + article { border-left:1px solid var(--line); }
.bjt-curriculum article > span { color:var(--red); font:900 11px/1 var(--mono); }
.bjt-curriculum h3 { margin:28px 0 10px; font-size:21px; }
.bjt-curriculum article p { min-height:76px; margin:0; color:#526059; font-size:13px; line-height:1.7; }
.bjt-curriculum article b { display:block; margin-top:18px; padding-top:12px; border-top:1px solid var(--line); color:var(--green-dark); font-size:11px; line-height:1.55; }
.bjt-sources > div { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }

@media (max-width: 900px) {
  .bjt-hero,.bjt-orientation,.bjt-scene { grid-template-columns:1fr; }
  .bjt-hero > aside { min-height:0; }
  .bjt-levels ol { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bjt-levels li:nth-child(4) { border-left:0; }
  .bjt-levels li:nth-child(n+4) { margin-top:18px; border-top:1px solid rgba(255,255,255,.16); }
  .bjt-curriculum > div:last-child { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bjt-curriculum article:nth-child(3) { border-left:0; }
  .bjt-curriculum article:nth-child(n+3) { border-top:1px solid var(--line); }
}

@media (max-width: 680px) {
  .bjt-hero { margin-top:16px; padding:34px 20px 20px; border-radius:22px; }
  .bjt-hero h1 { font-size:clamp(43px,13vw,58px); }
  .bjt-hero > div > p:last-of-type { font-size:15px; }
  .bjt-hero-actions { display:grid; grid-template-columns:1fr; }
  .bjt-hero-actions a { justify-content:center; }
  .bjt-orientation { padding:50px 0; }
  .bjt-skill-grid { grid-template-columns:1fr; border-radius:16px; }
  .bjt-skill-grid article + article { border-top:1px solid var(--line); border-left:0; }
  .bjt-skill-grid h3 { margin-top:12px; }
  .bjt-levels { margin:42px 0; padding:28px 18px; border-radius:20px; }
  .bjt-levels > header { grid-template-columns:1fr; gap:14px; }
  .bjt-levels ol { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bjt-levels li:nth-child(odd) { border-left:0; }
  .bjt-levels li:nth-child(n+3) { margin-top:16px; border-top:1px solid rgba(255,255,255,.16); }
  .bjt-scene { margin:44px 0; border-radius:20px; }
  .bjt-scene > article { padding:26px 16px; }
  .bjt-scene > article > header { grid-template-columns:44px minmax(0,1fr); }
  .bjt-scene > article > header strong { font-size:17px; }
  .bjt-scene .annotated-sentence > p { font-size:20px; line-height:2.05; }
  .bjt-translation { padding:15px 14px; }
  .bjt-curriculum { padding:48px 0; }
  .bjt-curriculum > div:last-child { grid-template-columns:1fr; border-radius:16px; }
  .bjt-curriculum article + article { border-top:1px solid var(--line); border-left:0; }
  .bjt-curriculum article p { min-height:0; }
}

/* BJT briefing desk 2026: a working document, not another card landing page. */
.site-header nav a[aria-current="page"] { color:#fffaf0; }
.site-header nav a[aria-current="page"]::after { opacity:1; transform:scaleX(1); }
.bjt-main[data-design-version="briefing-desk-2026"] {
  --bjt-ink:#111b17;
  --bjt-paper:#f4efe4;
  --bjt-white:#fffdf7;
  --bjt-red:#c44b36;
  --bjt-line:#bdb4a5;
  background:
    linear-gradient(90deg,transparent 0,transparent calc(50% - .5px),rgba(57,65,59,.055) 50%,transparent calc(50% + .5px)),
    linear-gradient(rgba(57,65,59,.045) 1px,transparent 1px) 0 0/100% 32px,
    var(--bjt-paper);
}
.bjt-main[data-design-version="briefing-desk-2026"]::before { display:none; }

.bjt-main[data-design-version="briefing-desk-2026"] .bjt-hero {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 160px minmax(250px,290px);
  grid-template-areas:
    "index index index"
    "copy glyph score"
    "foot foot foot";
  gap:0;
  min-height:690px;
  margin:0 calc(-1 * clamp(22px,5vw,72px));
  padding:0 clamp(22px,5vw,72px);
  overflow:hidden;
  border:0;
  border-radius:0;
  background:
    radial-gradient(circle at 73% 37%,rgba(196,75,54,.15),transparent 23%),
    linear-gradient(118deg,#111b17 0%,#17251f 74%,#0d1511 100%);
  box-shadow:none;
  color:var(--bjt-white);
}
.bjt-hero::after {
  position:absolute;
  top:84px;
  right:calc(clamp(22px,5vw,72px) + 288px);
  bottom:78px;
  width:1px;
  background:rgba(255,255,255,.14);
  content:"";
  pointer-events:none;
}
.bjt-hero-index {
  grid-area:index;
  display:flex;
  min-height:74px;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.18);
  color:#aebbb4;
  font:800 10px/1 var(--mono);
  letter-spacing:.12em;
}
.bjt-hero-copy {
  grid-area:copy;
  align-self:center;
  min-width:0;
  padding:66px 42px 72px 0;
}
.bjt-main .bjt-hero-copy .eyebrow { color:#ee8d79; }
.bjt-main .bjt-hero-copy h1 {
  max-width:720px;
  margin:16px 0 22px;
  color:var(--bjt-white);
  font-family:var(--sans);
  font-size:clamp(54px,6.8vw,86px);
  font-weight:950;
  line-height:.98;
  letter-spacing:-.072em;
  text-wrap:balance;
}
.bjt-hero-copy h1 em {
  color:#ef9a86;
  font-family:var(--serif);
  font-style:normal;
  font-weight:800;
}
.bjt-hero-copy .bjt-hero-jp {
  margin:0 0 22px;
  color:#fff;
  font-family:var(--serif);
  font-size:clamp(18px,2vw,26px);
  font-weight:800;
  letter-spacing:.08em;
}
.bjt-main .bjt-hero-copy > p:last-of-type {
  max-width:620px;
  margin:0;
  color:#c8d2cc;
  font-size:16px;
  line-height:1.85;
}
.bjt-main .bjt-hero-actions { margin-top:34px; }
.bjt-main .bjt-hero-actions a {
  position:relative;
  min-height:52px;
  padding:0 18px;
  overflow:hidden;
  border-radius:0;
  transition:border-color .2s ease,color .2s ease,background-color .2s ease;
}
.bjt-main .bjt-hero-actions a:first-child { border-color:var(--bjt-red); background:var(--bjt-red); color:#fff; }
.bjt-main .bjt-hero-actions a:first-child span { margin-left:28px; font-size:18px; transition:transform .2s ease; }
.bjt-main .bjt-hero-actions a:hover { border-color:#fff; }
.bjt-main .bjt-hero-actions a:first-child:hover span { transform:translate(3px,3px); }
.bjt-hero-glyph {
  grid-area:glyph;
  position:relative;
  display:grid;
  align-self:stretch;
  place-content:center;
  border-inline:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.92);
}
.bjt-hero-glyph::before {
  position:absolute;
  top:26px;
  right:20px;
  width:34px;
  height:34px;
  border:1px solid var(--bjt-red);
  border-radius:50%;
  color:#ee8d79;
  content:"実務";
  font:800 8px/34px var(--serif);
  letter-spacing:.04em;
  text-align:center;
}
.bjt-hero-glyph span { font:800 clamp(86px,10vw,132px)/1 var(--serif); writing-mode:vertical-rl; }
.bjt-hero-glyph small { margin-top:16px; color:#ee8d79; font:800 10px/1 var(--mono); letter-spacing:.12em; text-align:center; }
.bjt-main .bjt-hero > aside {
  grid-area:score;
  align-self:center;
  margin:38px 0 38px 24px;
  padding:28px 24px;
  border:1px solid rgba(255,255,255,.28);
  border-top:6px solid var(--bjt-red);
  border-radius:0;
  background:rgba(244,239,228,.97);
  box-shadow:12px 12px 0 rgba(0,0,0,.18);
}
.bjt-main .bjt-hero > aside > span { font-family:var(--mono); letter-spacing:.12em; }
.bjt-main .bjt-hero > aside > strong { font-size:clamp(50px,5vw,66px); }
.bjt-hero > footer {
  grid-area:foot;
  display:grid;
  grid-template-columns:repeat(3,1fr) auto;
  min-height:78px;
  align-items:center;
  border-top:1px solid rgba(255,255,255,.18);
  color:#aebbb4;
  font:800 9px/1 var(--mono);
  letter-spacing:.09em;
}
.bjt-hero > footer span { position:relative; padding-left:22px; }
.bjt-hero > footer span::before { position:absolute; left:0; top:50%; width:12px; height:1px; background:var(--bjt-red); content:""; }
.bjt-hero > footer b { color:#f6eee3; font:800 12px/1 var(--serif); letter-spacing:.08em; }

.bjt-breadcrumbs { margin-top:0; border-bottom-color:var(--bjt-ink); }
.bjt-main > .quick-study-strip {
  position:relative;
  margin:28px 0 0;
  overflow:hidden;
  border:1px solid var(--bjt-ink);
  border-left:8px solid var(--bjt-red);
  border-radius:0;
  background:rgba(255,253,247,.88);
  box-shadow:8px 8px 0 rgba(17,27,23,.08);
}
.bjt-main > .quick-study-strip::after {
  position:absolute;
  top:0;
  right:0;
  width:9px;
  height:100%;
  background:repeating-linear-gradient(180deg,var(--bjt-ink) 0 7px,transparent 7px 14px);
  content:"";
}
.bjt-main > .quick-study-strip a { border-radius:0; }

.bjt-main .bjt-orientation {
  position:relative;
  grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr);
  padding:96px 0 88px;
  border-bottom:0;
}
.bjt-main .bjt-orientation::before {
  position:absolute;
  top:96px;
  left:-28px;
  color:rgba(17,27,23,.12);
  content:"01";
  font:950 88px/1 var(--sans);
  transform:translateX(-100%);
}
.bjt-main .bjt-orientation h2 { font-family:var(--serif); font-size:clamp(40px,5vw,62px); }
.bjt-main .bjt-skill-grid {
  grid-template-columns:1fr;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.bjt-main .bjt-skill-grid article {
  position:relative;
  display:grid;
  grid-template-columns:116px minmax(150px,.55fr) minmax(0,1fr);
  gap:22px;
  min-height:118px;
  padding:25px 8px;
  align-items:center;
  border-top:1px solid var(--bjt-ink);
}
.bjt-main .bjt-skill-grid article:last-child { border-bottom:1px solid var(--bjt-ink); }
.bjt-main .bjt-skill-grid article + article { border-left:0; }
.bjt-main .bjt-skill-grid span { color:var(--bjt-red); font-size:10px; letter-spacing:.06em; }
.bjt-main .bjt-skill-grid h3 { margin:0; font-family:var(--serif); font-size:25px; }
.bjt-main .bjt-skill-grid p { max-width:420px; font-size:14px; }
.bjt-main .bjt-skill-grid article::after {
  position:absolute;
  right:8px;
  width:34px;
  height:34px;
  border:1px solid var(--bjt-line);
  content:"↘";
  color:var(--bjt-red);
  font:700 15px/32px var(--mono);
  text-align:center;
  transition:background-color .18s ease,color .18s ease;
}
.bjt-main .bjt-skill-grid article:hover::after { background:var(--bjt-red); color:#fff; }

.bjt-manifesto {
  position:relative;
  display:grid;
  grid-template-columns:180px minmax(0,1fr) minmax(220px,.52fr);
  gap:34px;
  margin:0 calc(-1 * clamp(22px,5vw,72px));
  padding:44px clamp(22px,5vw,72px);
  align-items:center;
  overflow:hidden;
  background:var(--bjt-red);
  color:#fff;
}
.bjt-manifesto::after {
  position:absolute;
  right:18%;
  width:160px;
  height:160px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  content:"";
}
.bjt-manifesto > span { font:800 9px/1.6 var(--mono); letter-spacing:.12em; }
.bjt-manifesto > strong { position:relative; z-index:1; font:800 clamp(31px,4.2vw,54px)/1.2 var(--serif); letter-spacing:.02em; }
.bjt-manifesto > p { position:relative; z-index:1; margin:0; font-size:13px; font-weight:750; line-height:1.75; }

.bjt-main .bjt-levels {
  margin:82px 0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--bjt-ink);
  border-radius:0;
  background:rgba(255,253,247,.9);
  color:var(--bjt-ink);
}
.bjt-main .bjt-levels > header {
  padding:34px;
  align-items:center;
  background:var(--bjt-ink);
  color:#fff;
}
.bjt-main .bjt-levels h2 { color:#fff; font-family:var(--serif); font-size:clamp(34px,4.2vw,52px); }
.bjt-main .bjt-levels > header > p { color:#c8d2cc; }
.bjt-main .bjt-levels ol {
  position:relative;
  margin:0;
  padding:30px 22px 26px;
  border-top:0;
}
.bjt-main .bjt-levels ol::before {
  position:absolute;
  top:28px;
  right:32px;
  left:32px;
  height:3px;
  background:linear-gradient(90deg,#c8bfb0 0%,#c8bfb0 24%,#9a9c90 24%,#9a9c90 52%,#657f70 52%,#657f70 76%,var(--bjt-red) 76%);
  content:"";
}
.bjt-main .bjt-levels li { position:relative; z-index:1; padding:22px 10px 4px; color:var(--bjt-ink); }
.bjt-main .bjt-levels li + li { border-left:1px solid var(--bjt-line); }
.bjt-main .bjt-levels li::before { position:absolute; top:-7px; left:50%; width:13px; height:13px; border:3px solid var(--bjt-white); border-radius:50%; background:var(--bjt-red); box-shadow:0 0 0 1px var(--bjt-red); content:""; transform:translateX(-50%); }
.bjt-main .bjt-levels li span { color:var(--bjt-red); }
.bjt-main .bjt-levels li strong { color:var(--bjt-ink); font-size:31px; }
.bjt-main .bjt-levels li small { color:#5a655f; }

.bjt-main .bjt-scene {
  position:relative;
  grid-template-columns:minmax(230px,.32fr) minmax(0,1fr);
  margin:94px calc(-1 * clamp(22px,5vw,72px)) 82px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:var(--bjt-ink);
  box-shadow:none;
}
.bjt-main .bjt-scene::before {
  position:absolute;
  top:-34px;
  left:0;
  color:var(--bjt-red);
  content:"CASE STUDY / 001";
  font:900 10px/1 var(--mono);
  letter-spacing:.12em;
}
.bjt-main .bjt-scene > aside { padding:50px clamp(24px,4vw,48px); background:var(--bjt-ink); }
.bjt-main .bjt-scene > aside > span { color:#ee8d79; }
.bjt-main .bjt-scene > aside > strong { font-family:var(--serif); font-size:32px; }
.bjt-main .bjt-scene > article {
  position:relative;
  margin:26px 26px 26px 0;
  padding:clamp(34px,5vw,60px);
  background:
    linear-gradient(rgba(67,74,69,.055) 1px,transparent 1px) 0 0/100% 31px,
    var(--bjt-white);
  box-shadow:10px 10px 0 rgba(196,75,54,.72);
}
.bjt-main .bjt-scene > article::after {
  position:absolute;
  top:18px;
  right:18px;
  width:48px;
  height:48px;
  border:2px solid rgba(196,75,54,.62);
  border-radius:50%;
  color:var(--bjt-red);
  content:"読解";
  font:800 10px/46px var(--serif);
  text-align:center;
  transform:rotate(-8deg);
}
.bjt-main .bjt-scene .annotated-sentence > p { padding-right:48px; font-family:var(--serif); overflow-wrap:normal; word-break:normal; }
.bjt-main .bjt-translation { border-left-width:6px; background:rgba(239,231,216,.88); }
.bjt-main .bjt-check { background:var(--bjt-white); }
.bjt-main .bjt-check > summary { border-radius:0; }

.bjt-main .bjt-curriculum { position:relative; padding:82px 0; border-top:1px solid var(--bjt-ink); }
.bjt-main .bjt-curriculum > .section-title { align-items:end; }
.bjt-main .bjt-curriculum > div:last-child {
  display:block;
  border:0;
  border-radius:0;
  background:transparent;
}
.bjt-main .bjt-curriculum article {
  position:relative;
  display:grid;
  grid-template-columns:100px minmax(150px,.42fr) minmax(0,1fr) minmax(170px,.42fr);
  gap:24px;
  min-height:108px;
  padding:25px 0;
  align-items:center;
  border-top:1px solid var(--bjt-line);
}
.bjt-main .bjt-curriculum article:last-child { border-bottom:1px solid var(--bjt-line); }
.bjt-main .bjt-curriculum article + article { border-left:0; }
.bjt-main .bjt-curriculum article > span { color:var(--bjt-red); font-size:13px; }
.bjt-main .bjt-curriculum h3 { margin:0; font-family:var(--serif); font-size:25px; }
.bjt-main .bjt-curriculum article p { min-height:0; font-size:14px; }
.bjt-main .bjt-curriculum article b { margin:0; padding:0 0 0 18px; border-top:0; border-left:2px solid var(--bjt-red); }
.bjt-main .lesson-editorial-stamp { border-top-color:var(--bjt-ink); }

@media (prefers-reduced-motion:no-preference) {
  .bjt-hero-copy { animation:bjt-copy-in .55s cubic-bezier(.2,.8,.2,1) both; }
  .bjt-hero-glyph { animation:bjt-glyph-in .7s .08s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes bjt-copy-in { from { opacity:0; transform:translateY(18px); } }
  @keyframes bjt-glyph-in { from { opacity:0; transform:translateX(16px); } }
}

@media (max-width: 980px) {
  .bjt-main[data-design-version="briefing-desk-2026"] .bjt-hero {
    grid-template-columns:minmax(0,1fr) 130px minmax(220px,250px);
  }
  .bjt-main .bjt-hero-copy h1 { font-size:clamp(48px,7vw,70px); }
  .bjt-main .bjt-orientation { grid-template-columns:1fr; gap:42px; }
  .bjt-manifesto { grid-template-columns:140px minmax(0,1fr); }
  .bjt-manifesto > p { grid-column:2; }
  .bjt-main .bjt-curriculum article { grid-template-columns:80px 160px minmax(0,1fr); }
  .bjt-main .bjt-curriculum article b { grid-column:3; }
}

@media (max-width: 760px) {
  .bjt-main[data-design-version="briefing-desk-2026"] .bjt-hero {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"index" "copy" "score" "foot";
    min-height:0;
  }
  .bjt-hero::after { display:none; }
  .bjt-hero-index { min-height:60px; }
  .bjt-hero-index span:last-child { display:none; }
  .bjt-hero-copy { padding:46px 0 28px; }
  .bjt-main .bjt-hero-copy h1 { max-width:580px; font-size:clamp(46px,12vw,68px); }
  .bjt-hero-glyph {
    position:absolute;
    top:92px;
    right:-6px;
    display:block;
    border:0;
    color:rgba(255,255,255,.075);
    pointer-events:none;
  }
  .bjt-hero-glyph::before,.bjt-hero-glyph small { display:none; }
  .bjt-hero-glyph span { font-size:190px; }
  .bjt-main .bjt-hero > aside { margin:12px 0 32px; box-shadow:8px 8px 0 rgba(0,0,0,.2); }
  .bjt-hero > footer { grid-template-columns:repeat(3,1fr); min-height:62px; }
  .bjt-hero > footer b { display:none; }
  .bjt-main .bjt-skill-grid article { grid-template-columns:96px minmax(130px,.5fr) minmax(0,1fr); }
  .bjt-main .bjt-skill-grid article::after { display:none; }
  .bjt-manifesto { grid-template-columns:1fr; gap:16px; }
  .bjt-manifesto > p { grid-column:auto; }
  .bjt-main .bjt-levels ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; }
  .bjt-main .bjt-levels ol::before { display:none; }
  .bjt-main .bjt-levels li { padding:20px 12px; border-top:1px solid var(--bjt-line); }
  .bjt-main .bjt-levels li:nth-child(odd) { border-left:0; }
  .bjt-main .bjt-levels li::before { display:none; }
  .bjt-main .bjt-scene { grid-template-columns:1fr; }
  .bjt-main .bjt-scene > article { margin:0 18px 28px; }
}

@media (max-width: 560px) {
  .bjt-main .bjt-hero-copy > p:last-of-type { font-size:14px; }
  .bjt-main .bjt-hero-actions { display:grid; }
  .bjt-hero > footer span { padding-left:15px; font-size:7px; }
  .bjt-hero > footer span::before { width:8px; }
  .bjt-main > .quick-study-strip { box-shadow:5px 5px 0 rgba(17,27,23,.08); }
  .bjt-main .bjt-orientation { padding:66px 0; }
  .bjt-main .bjt-skill-grid article { display:block; min-height:0; padding:22px 4px; }
  .bjt-main .bjt-skill-grid h3 { margin:7px 0 8px; font-size:23px; }
  .bjt-main .bjt-skill-grid p { margin:0; }
  .bjt-manifesto { padding-block:34px; }
  .bjt-manifesto::after { right:-50px; width:130px; height:130px; }
  .bjt-main .bjt-levels { margin:58px 0; }
  .bjt-main .bjt-levels > header { grid-template-columns:1fr; gap:14px; padding:26px 20px; }
  .bjt-main .bjt-levels ol { padding:0; }
  .bjt-main .bjt-levels li { margin:0; }
  .bjt-main .bjt-levels li:nth-child(n+3) { margin-top:0; }
  .bjt-main .bjt-scene { margin-top:72px; }
  .bjt-main .bjt-scene > aside { padding:34px 22px; }
  .bjt-main .bjt-scene > article { padding:26px 17px; box-shadow:7px 7px 0 rgba(196,75,54,.72); }
  .bjt-main .bjt-scene > article::after { width:40px; height:40px; font-size:8px; line-height:38px; }
  .bjt-main .bjt-scene .annotated-sentence > p { padding-right:0; font-size:19px; line-height:2.1; }
  .bjt-main .bjt-curriculum { padding:62px 0; }
  .bjt-main .bjt-curriculum article { display:grid; grid-template-columns:72px minmax(0,1fr); gap:8px 16px; padding:20px 0; }
  .bjt-main .bjt-curriculum article p,.bjt-main .bjt-curriculum article b { grid-column:2; }
  .bjt-main .bjt-curriculum article b { padding-left:12px; }
}

/* 2026-09-03 / STUDY DESK
 * The public catalog's 551 thumbnails and 74 public DESIGN.md systems were
 * distilled into one Japanese editorial learning desk. Type, rules and study
 * state carry the interface; generic SaaS decoration does not.
 */
body { background: #18201c; color: #121916; }

.site-header {
  min-height: 74px;
  border-bottom: 1px solid #3c443f;
  background: #18201c;
  backdrop-filter: none;
}
.site-brand > span { width: 40px; height: 40px; border: 1px solid #e8dfd1; background: #bd4631; }
.site-header nav a { color: #d2d0c9; font-size: 12px; }
.site-header nav a:hover,
.site-header nav a:focus-visible { color: #fffdf7; }
.study-link { border-color: #e6dfd3; background: #e6dfd3; color: #18201c; }
.study-link:hover,
.study-link:focus-visible { border-color: #bd4631; background: #bd4631; color: #fff; }

main:not(.editorial-library) { border-inline: 0; box-shadow: none; }
.home-main[data-design-version="study-desk-2026"] {
  width: min(1280px, calc(100% - 40px));
  margin-top: 0;
  padding: 0 clamp(24px, 4.8vw, 64px) 96px;
  border: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(37,48,42,.055) 32px),
    #f5f1e8;
}
.home-main[data-design-version="study-desk-2026"]::before { display: none; }

.home-main .home-start-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 0;
  min-height: 690px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #18201c;
  border-radius: 0;
  background: transparent;
  color: #121916;
  box-shadow: none;
}
.home-main .home-start-copy {
  display: flex;
  min-width: 0;
  padding: clamp(54px, 8vw, 104px) clamp(34px, 6vw, 82px) 58px 0;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #18201c;
}
.home-edition {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: auto;
  padding-bottom: 13px;
  border-bottom: 1px solid #bdb5a8;
  color: #59615c;
  font: 800 10px/1.3 var(--mono);
  letter-spacing: .07em;
}
.home-start-copy .eyebrow { margin-top: clamp(54px, 8vw, 94px); color: #bd4631; }
.home-start-copy h1,
.home-main .home-start-copy h1 {
  max-width: 720px;
  margin: 13px 0 28px;
  color: #111815;
  font-family: var(--sans);
  font-size: clamp(55px, 7.2vw, 94px);
  font-weight: 950;
  line-height: .94;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.home-start-copy h1 [lang="ja"] { font-family: var(--serif); font-weight: 800; letter-spacing: -.035em; }
.home-main .home-start-copy > p:last-of-type {
  max-width: 650px;
  color: #414a45 !important;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.82;
}
.home-main .home-hero-proof { margin-top: 34px; border-top-color: #18201c; }
.home-main .home-hero-proof span { color: #525d56; font-size: 11px; }
.home-main .home-hero-proof span + span::before { color: #bd4631; }

.home-main .home-launch-panel {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: clamp(54px, 8vw, 104px) 0 58px clamp(28px, 4vw, 52px);
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-main .home-launch-panel header { padding: 0 0 21px; border-bottom: 3px solid #18201c; }
.home-main .home-launch-panel header span { color: #bd4631; font: 900 11px/1.3 var(--mono); letter-spacing: .08em; }
.home-main .home-launch-panel header strong {
  display: block;
  margin-top: 9px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.32;
  word-break: keep-all;
}
.home-main .home-launch-panel header small { display: block; margin-top: 8px; color: #5d655f; font-size: 12px; line-height: 1.6; }
.home-main .home-launch-panel > nav { display: grid; grid-template-columns: 1fr; margin: 0; border: 0; }
.home-main .home-launch-panel > nav a {
  display: grid;
  grid-template-columns: 30px 68px minmax(0, 1fr) auto;
  min-height: 70px;
  padding: 0 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #bdb5a8;
  border-radius: 0;
  background: transparent;
  color: #18201c;
  text-decoration: none;
}
.home-main .home-launch-panel > nav a small { color: #817b72; font: 700 9px/1 var(--mono); }
.home-main .home-launch-panel > nav a b { font-size: 25px; line-height: 1; }
.home-main .home-launch-panel > nav a span { color: #58615b; font-size: 13px; }
.home-main .home-launch-panel > nav a em { color: #bd4631; font-size: 11px; font-style: normal; font-weight: 900; }
.home-main .home-launch-panel > nav a:hover,
.home-main .home-launch-panel > nav a:focus-visible { padding-left: 12px; background: #18201c; color: #fffdf7; transform: none; }
.home-main .home-launch-panel > nav a:hover small,
.home-main .home-launch-panel > nav a:hover span,
.home-main .home-launch-panel > nav a:focus-visible small,
.home-main .home-launch-panel > nav a:focus-visible span { color: #d6d5ce; }
.home-main .home-launch-panel > nav a:hover em,
.home-main .home-launch-panel > nav a:focus-visible em { color: #f08872; }
.home-main .home-continue-study {
  display: flex;
  min-height: 62px;
  margin: 18px 0 0;
  padding: 0 16px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #18201c;
  border-radius: 0;
  background: #bd4631;
  color: #fff;
}
.home-main .home-continue-study span { font-size: 11px; font-weight: 800; }
.home-main .home-continue-study b { font-size: 14px; }
.home-main .home-launch-secondary { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border: 1px solid #bdb5a8; border-radius: 0; }
.home-main .home-launch-secondary a { min-height: 72px; padding: 13px 14px; border: 0; background: rgba(255,253,247,.62); }
.home-main .home-launch-secondary a + a { border-left: 1px solid #bdb5a8; }

.home-main .signature-lab {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: 0;
  margin: 72px 0 0;
  padding: 0;
  border: 1px solid #18201c;
  border-radius: 0;
  background: #fffdf7;
  box-shadow: none;
}
.home-main .signature-lab > div { border-radius: 0; }
.home-main .signature-lab > div:first-child { padding: clamp(28px, 4vw, 48px); background: #18201c; }
.home-main .signature-demo { padding: clamp(26px, 4vw, 46px); border: 0; background: #fffdf7; }
.home-main .signature-demo ol { border-color: #c8c0b4; }

.home-main .home-course-hub { margin-top: 92px; }
.home-main .home-course-hub .section-title { padding: 0 0 28px; border-bottom: 3px solid #18201c; }
.home-main .home-course-hub .section-title h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 62px); line-height: 1.1; }
.home-main .home-course-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.home-main .home-course-groups > section {
  border: 0;
  border-bottom: 1px solid #18201c;
  border-radius: 0;
  background: rgba(255,253,247,.56);
  box-shadow: none;
}
.home-main .home-course-groups > section + section { border-left: 1px solid #18201c; }
.home-main .home-course-groups > section > header,
.home-main .home-course-groups > section:first-child > header,
.home-main .home-course-groups > section:last-child > header { min-height: 92px; padding: 18px 20px; background: transparent; border-bottom: 1px solid #bdb5a8; }
.home-main .home-course-groups nav a { min-height: 78px; padding: 14px 20px; background: transparent; }
.home-main .home-course-groups nav a:hover,
.home-main .home-course-groups nav a:focus-visible { padding-left: 20px; background: #eee8dc; }
.home-main .home-course-groups nav a b { font-size: 18px; }
.home-main .home-course-groups nav a small { color: #5e6660; font-size: 12px; }

.home-main .home-depth {
  margin: 88px 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #18201c;
  border-bottom: 1px solid #18201c;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-main .home-depth-intro { padding: 42px 38px 42px 0; border-right: 1px solid #18201c; }
.home-main .home-depth-content { padding: 42px 0 42px 38px; }
.home-main .home-depth-rules article { border-color: #bdb5a8; }

.annotation-overlay-panel,
.analysis-overlay .analysis-note { border-radius: 6px; box-shadow: 0 18px 48px rgba(8,15,11,.3); }
.annotation-overlay-panel .sentence-note,
.analysis-overlay .analysis-note { background: #fffdf7; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; gap: 14px; }
  .site-header nav { grid-column: 1 / -1; order: 3; width: 100%; padding: 8px 0 4px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: 0 0 auto; }
  .home-main .home-start-hero { grid-template-columns: 1fr; }
  .home-main .home-start-copy { padding-right: 0; border-right: 0; border-bottom: 1px solid #18201c; }
  .home-main .home-launch-panel { padding: 42px 0 54px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 64px; padding: 8px 14px; }
  .site-brand strong small { display: none; }
  .site-header nav { gap: 22px; }
  .site-header nav a { display: inline-flex; min-height: 34px; align-items: center; font-size: 11px; }
  .study-link { min-height: 40px; padding-inline: 12px; }
  .home-main[data-design-version="study-desk-2026"] { width: 100%; padding: 0 18px 64px; }
  .home-main .home-start-copy { padding: 42px 0 38px; }
  .home-edition { font-size: 8px; }
  .home-start-copy .eyebrow { margin-top: 54px; }
  .home-start-copy h1,
  .home-main .home-start-copy h1 { font-size: clamp(47px, 14vw, 68px); line-height: .98; }
  .home-main .home-start-copy > p:last-of-type { font-size: 15px; }
  .home-main .home-hero-proof { display: grid; grid-template-columns: 1fr; }
  .home-main .home-hero-proof span { padding-top: 8px; }
  .home-main .home-hero-proof span + span::before { margin-right: 10px; }
  .home-main .home-launch-panel { padding-left: 0; }
  .home-main .home-launch-panel > nav a { grid-template-columns: 26px 56px minmax(0, 1fr) auto; min-height: 66px; padding-inline: 8px; }
  .home-main .home-launch-panel > nav a:hover,
  .home-main .home-launch-panel > nav a:focus-visible { padding-left: 8px; }
  .home-main .home-launch-secondary { grid-template-columns: 1fr; }
  .home-main .home-launch-secondary a + a { border-top: 1px solid #bdb5a8; border-left: 0; }
  .home-main .signature-lab { grid-template-columns: 1fr; margin-top: 48px; }
  .home-main .signature-demo { border-top: 1px solid #18201c; }
  .home-main .home-course-hub { margin-top: 64px; }
  .home-main .home-course-groups { grid-template-columns: 1fr; }
  .home-main .home-course-groups > section + section { border-left: 0; }
  .home-main .home-depth { grid-template-columns: 1fr; margin-top: 60px; }
  .home-main .home-depth-intro { padding: 32px 0; border-right: 0; border-bottom: 1px solid #18201c; }
  .home-main .home-depth-content { padding: 32px 0; }
  .annotation-overlay-panel,
  .analysis-overlay .analysis-note[data-placement="sheet"] { border-radius: 6px 6px 0 0; }
}

/* No horizontal drag: every global destination stays visible in the viewport. */
html,
body { max-width: 100%; overflow-x: clip; }

@media (max-width: 900px) {
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
  }
  .site-header nav a {
    min-width: 0;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-header nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .site-header nav a { padding-inline: 3px; }
  .site-header > *,
  .home-main > *,
  .home-main section,
  .home-main article { min-width: 0; max-width: 100%; }
}

/* September notebook refresh: consistent public and personal study surfaces. */
:root { --ink:#18251f; --muted:#59675e; --paper:#f3f0e7; --surface:#fffefb; --white:#fffefb; --line:#d6d1c4; --red:#b34430; --red-soft:#f6eae2; --frame:#182c23; --frame-soft:#294639; --green:#267465; }
body { background:#f3f0e7; }
.site-header { background:#fffefb; color:#18251f; border-bottom:1px solid #d6d1c4; backdrop-filter:none; }
.site-header nav a, .site-brand { color:#294639; }
.site-header nav a:is(:hover, :focus-visible, :active, [aria-current="page"]) { color:#174b3b; background:#e7f3ee; }
.site-header nav a:focus-visible { outline:2px solid #174b3b; outline-offset:-2px; }
.site-brand > span { background:#174b3b; color:white; border-radius:10px 2px 10px 2px; }
.site-brand strong small { color:#647168; }
.study-link { background:#174b3b; border-color:#174b3b; color:white !important; border-radius:8px; }
.library-hero, .home-start-hero { padding-block:40px; }
.library-hero h1 { font-size:clamp(32px,4.5vw,60px); line-height:1.22; word-break:keep-all; }
.home-launch-panel { background:#fffefb; border:1px solid #d6d1c4; border-top:4px solid #d5a64c; border-radius:14px; padding:24px; }
.home-launch-panel > nav { gap:6px; border:0; }
.home-launch-panel > nav a { border:1px solid #d6d1c4; border-radius:8px; background:#f4f6ed; }
.home-continue-study { border-radius:9px; background:#174b3b; color:white; }
.signature-lab { background:#182c23; border-radius:16px; overflow:hidden; }
.signature-demo, .lesson-body, .reading-lab, .grammar-detail, .vocabulary-detail { border-radius:12px; }
.site-footer { background:#e9e9df; color:#526458; }
@media(max-width:680px) {
  .library-hero, .home-start-hero { padding-block:22px; }
  .home-launch-panel { padding:18px; }
  .site-header { position:relative; top:auto; }
}
/* Reading desk: one stable explanation surface, no nested oversized boxes. */
.annotation-overlay-panel { border:1px solid #b8c5b7; border-top:3px solid #174b3b; border-radius:12px; background:#fffdf7; box-shadow:0 12px 36px #18251f24; animation:none; scrollbar-width:thin; }
.annotation-overlay-panel::before { display:none !important; }
.annotation-overlay-panel .sentence-note { padding:18px 20px 22px !important; background:#fffdf7; }
.annotation-overlay-panel .sentence-note::before { display:none; }
.annotation-overlay-panel .sentence-note > button[data-annotation-close] { position:sticky !important; top:0; float:right; display:grid; place-items:center; width:44px; height:44px; margin:0 0 8px 12px; z-index:4; color:#fffdf7 !important; background:#174b3b !important; border:1px solid #174b3b; border-radius:8px; box-shadow:none; font-size:26px; }
.annotation-overlay-panel .annotation-kind { background:none; color:#59675e; padding:0; font:700 13px/1.5 sans-serif; letter-spacing:0; }
.annotation-overlay-panel .sentence-note > strong { font-size:28px; line-height:1.5; padding:0; margin:4px 0 14px; }
.annotation-overlay-panel .annotation-meaning { clear:both; display:grid; grid-template-columns:1fr; gap:4px; padding:14px 16px; margin:0 0 12px; border:0; border-radius:6px; background:#eaf1e8; }
.annotation-overlay-panel .annotation-meaning > span { font-size:13px; color:#496252; }
.annotation-overlay-panel .annotation-meaning > b { font-size:22px; line-height:1.5; }
.annotation-overlay-panel .annotation-reading,
.annotation-overlay-panel .annotation-pronunciation { display:grid; grid-template-columns:130px minmax(0,1fr); align-items:baseline; gap:10px; margin:0; padding:10px 0; border:0; border-bottom:1px solid #dedbd0; border-radius:0; background:none; }
.annotation-overlay-panel .annotation-reading span,
.annotation-overlay-panel .annotation-pronunciation span { font-size:13px; color:#59675e; letter-spacing:0; }
.annotation-overlay-panel .annotation-reading b,
.annotation-overlay-panel .annotation-pronunciation b { font-size:19px; line-height:1.6; word-break:keep-all; overflow-wrap:anywhere; }
.annotation-overlay-panel .annotation-deep-dive { margin-top:16px; border:0; border-top:1px solid #d6d1c4; border-radius:0; background:none; }
.annotation-overlay-panel .annotation-deep-dive > summary { padding:16px 28px 12px 0; font-size:15px; line-height:1.6; }
.annotation-overlay-panel .sentence-note p { font-size:16px; line-height:1.8; }
.annotation-overlay-panel .kanji-memory-part small,
.annotation-overlay-panel .kanji-memory-result small { white-space:normal; overflow:visible; font-size:13px; }
.annotation-overlay-panel a { display:inline-block; font-size:15px; line-height:1.6; margin-top:12px; color:#174b3b; }
body .news-paragraph, body .daily-news-card { background:#fffdf7; }
body .daily-annotated-sentence { font-size:clamp(19px,2.2vw,26px); line-height:1.9; }
body .site-header nav a { font-size:14px; }
body .site-header { position:relative; }
@media(max-width:680px) {
 .annotation-overlay-panel .annotation-reading,
 .annotation-overlay-panel .annotation-pronunciation { grid-template-columns:110px minmax(0,1fr); }
 .annotation-overlay-panel .sentence-note { padding:14px 16px 18px !important; }
}
.annotation-overlay-panel .historical-static { margin-top:14px; border-top:1px solid #cbd6c8; padding-top:12px; }
.annotation-overlay-panel .historical-static summary { cursor:pointer; font-size:15px; color:#174b3b; font-weight:700; }
.annotation-overlay-panel .historical-static > div { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:12px; margin:10px 0; background:#fff; border-radius:8px; }
.annotation-overlay-panel .historical-static img { width:90px; height:90px; object-fit:contain; }
.annotation-overlay-panel .historical-static b { font:48px/1.2 serif; }
.annotation-overlay-panel .historical-static a { flex-basis:100%; font-size:13px; margin:0; }
.annotation-overlay-panel .historical-static p { font-size:13px; }
.kanji-learning-aid { margin-top:14px; border-top:1px solid #cbd6c8; padding-top:12px; }
.kanji-learning-aid h4 { margin:0 0 10px; font-size:15px; color:#174b3b; }
.component-meaning-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.component-meaning-grid > div { display:grid; grid-template-columns:auto minmax(0,1fr); gap:5px 10px; align-items:center; padding:12px; background:#fffdf7; border:1px solid #d6d1c4; border-radius:8px; min-width:0; }
.component-meaning-grid img { grid-column:1/-1; width:56px; height:56px; object-fit:contain; margin:auto; }
.component-meaning-grid b { font:32px/1.3 serif; color:#18251f; }
.component-meaning-grid span { font-size:16px; line-height:1.6; word-break:keep-all; overflow-wrap:anywhere; }
.kanji-memory-scene { margin:12px 0 0; padding:14px; border-radius:8px; background:#fff8e9; }
.kanji-memory-scene figcaption { font-size:13px; color:#8b492e; font-weight:700; margin-bottom:8px; }
.kanji-memory-scene > div { display:flex; justify-content:center; flex-wrap:wrap; align-items:center; gap:8px; }
.kanji-memory-scene img { width:58px; height:58px; object-fit:contain; }
.kanji-memory-scene b { font:40px/1.2 serif; }
.kanji-memory-scene p,.component-origin-note { font-size:16px; line-height:1.8; margin:10px 0 0; }
.kanji-memory-scene small { display:block; font-size:12px; color:#68705f; margin-top:8px; line-height:1.6; }
.component-sources { margin-top:12px; font-size:13px; color:#59675e; line-height:1.7; }
.component-sources summary { cursor:pointer; font-size:14px; color:#174b3b; }
.component-sources a { color:#174b3b; text-decoration:underline; }
.component-sources p { font-size:13px; margin:8px 0; }
.learning-static { margin:14px 0; border-top:1px solid #cbd6c8; padding-top:12px; }
.learning-static > summary { cursor:pointer; font-size:15px; font-weight:700; color:#174b3b; }
.kanji-compact-memory p {font-size:22px; font-weight:700; line-height:1.6; margin:6px 0 12px; word-break:keep-all; overflow-wrap:anywhere;}
.kanji-compact-memory small {font-size:12px; color:#9b4932;}
.kanji-memory-more > summary {font-size:14px; cursor:pointer; padding:8px 0;}
