@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;800;900&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");

/* AMPL House Style = ampl-modern（白エディトリアル正本）のトークンにスナップ。
   文字#131313 / muted#5f5f60 / faint#9a9a9c / 差し色ティール#0B7DA3を点で抑制的に(2026-06-23確定)。
   当日スライドデッキ(NAH白エディトリアル)と視覚言語を一本化。 */
:root {
  --ink: #131313;
  --muted: #5f5f60;
  --faint: #9a9a9c;
  --line: rgba(0, 0, 0, 0.14);
  --hairline: rgba(0, 0, 0, 0.08);
  --soft-line: rgba(0, 0, 0, 0.06);
  --teal: #0b7da3;
  --teal-dark: #075f7c;
  --yellow: #fff3a8;
  --page: #ffffff;
  --panel: #f1f1f3;
  --code: #f7f7f8;
  --max: 1120px;
  --font-label: "Inter", system-ui, sans-serif;
}

/* 英字キャップスの極小ラベル（アイブロウ）= AMPL Houseの署名要素 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 18px;
  color: var(--faint);
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.85;
  text-wrap: pretty;
  word-break: auto-phrase;
}

.home-page {
  font-size: 17px;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 30px; /* box-shadowの残り2ドット(+15px,+30px)ぶんの実幅を確保 */
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 15px 0 0 var(--teal), 30px 0 0 var(--teal);
  flex: 0 0 auto;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  gap: 4px 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.site-nav a,
.post-button,
.copy-button,
.plain-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav a {
  padding: 8px 11px;
}

.site-nav a[aria-current="page"] {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.post-button,
.plain-button {
  padding: 9px 13px;
  font-weight: 700;
}

.post-button {
  border-color: var(--teal);
}

.copy-button {
  cursor: pointer;
  padding: 8px 12px;
  margin-top: 10px;
}

.copy-button:hover,
.plain-button:hover,
.post-button:hover,
.site-nav a:hover {
  border-color: var(--teal);
}

.hero,
.page-hero,
.section,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.hero {
  padding-top: clamp(44px, 8vw, 92px);
  padding-bottom: 34px;
}

.hero--home {
  padding-top: clamp(56px, 9vw, 108px);
  padding-bottom: 48px;
}

.hero--home h1 {
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section-label {
  margin-bottom: 10px;
}

.event-meta {
  margin-top: 22px;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 6px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.hero-button:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero-button--primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.hero-button--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.notice-inline {
  max-width: 820px;
  margin: 22px 0 0;
  padding-left: 22px;
  border-left: 2px dotted var(--teal);
  color: var(--muted);
  font-size: 0.96rem;
}

.page-hero {
  padding-top: 54px;
  padding-bottom: 26px;
}

.section {
  min-width: 0;
  padding-top: clamp(44px, 6vw, 64px);
  padding-bottom: clamp(44px, 6vw, 64px);
  border-top: 1px solid var(--soft-line);
}

.kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.kicker::before,
.dot-list li::before,
.toc-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: 0.1em;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin: 14px 0 22px;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
}

p {
  max-width: 760px;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.three-lines {
  display: grid;
  gap: 10px;
  max-width: 830px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 700;
}

.three-lines li {
  padding-left: 24px;
  border-left: 2px dotted var(--teal);
}

.meta-row {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.96rem;
}

.meta-row span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.meta-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.timeline,
.table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th,
td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.steps,
.numbered {
  max-width: 850px;
  margin: 0;
  padding-left: 1.4em;
}

.steps li,
.numbered li {
  margin: 0 0 14px;
  padding-left: 0.2em;
}

.dot-list,
.toc-list {
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dot-list li,
.toc-list li {
  margin: 0 0 13px;
}

.link-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
}

.link-item,
.topic {
  padding: 18px 0 18px 22px;
  border-left: 2px dotted var(--teal);
  border-top: 1px solid var(--soft-line);
}

.link-item strong,
.topic strong {
  display: block;
  margin-bottom: 6px;
}

.notice,
.callout,
.screenshot-placeholder {
  max-width: 900px;
  border: 1px solid var(--line);
  border-left: 3px dotted var(--teal);
  border-radius: 8px;
  background: transparent;
}

.notice,
.callout {
  padding: 18px 20px;
}

.notice strong,
.callout strong,
.safety-point strong {
  color: var(--teal-dark);
}

.safety-point {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: start;
  max-width: 860px;
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.safety-point:first-child {
  border-top: 0;
  padding-top: 6px;
}

.sp-num {
  font-family: var(--font-label);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.safety-point h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.32;
  color: var(--ink);
}

.safety-point p {
  margin: 0 0 8px;
}

.safety-point p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .safety-point {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .sp-num {
    font-size: 2.1rem;
  }
}

.screenshot-placeholder {
  display: grid;
  place-items: center;
  min-height: 230px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  background-image:
    linear-gradient(90deg, var(--soft-line) 1px, transparent 1px),
    linear-gradient(var(--soft-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

.prompt-block {
  max-width: 980px;
  margin: 18px 0 34px;
}

.idea-gallery-intro {
  max-width: 820px;
  color: var(--muted);
  font-weight: 700;
}

.idea-category {
  margin-top: 36px;
}

.idea-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.idea-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px dotted var(--teal);
  border-radius: 8px;
  background: #fff;
}

.idea-card--featured {
  border-color: var(--teal);
}

.idea-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
}

.idea-card__number {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.idea-card h4 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.idea-card__description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.idea-card pre {
  max-height: 250px;
  overflow: auto;
  font-size: 0.82rem;
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--code);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
}

mark,
.confirm {
  padding: 0.08em 0.28em;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--ink);
}

.essay {
  max-width: 860px;
}

.essay p {
  max-width: 820px;
  margin: 0 0 1.2em;
}

.site-footer {
  margin-top: 50px;
  padding-top: 28px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 940px;
  margin: 0 0 8px;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .header-actions,
  .site-nav {
    justify-content: flex-start;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    padding: 7px 9px;
  }

  .link-grid,
  .topic-grid,
  .idea-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-button {
    justify-content: center;
  }

  table {
    min-width: 560px;
  }
}

@media print {
  .site-header,
  .copy-button,
  .post-button {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    color: var(--ink);
  }
}

/* JSDM-H workshop homepage: one choice, then work. */
@view-transition {
  navigation: auto;
}

.home-page {
  --home-max: 1180px;
  --home-gutter: clamp(20px, 4vw, 50px);
  overflow-x: hidden;
}

.home-page .site-header {
  padding-inline: var(--home-gutter);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  max-width: var(--home-max);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.home-hero__copy,
.home-hero__visual,
.workshop-section-heading > * {
  min-width: 0;
}

.home-hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
  letter-spacing: -0.055em;
}

.home-hero h1 em {
  color: var(--teal-dark);
  font-style: normal;
}

.home-hero .hero-button span {
  margin-left: 8px;
  font-family: var(--font-label);
}

.home-hero__prep-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.home-hero__prep-note a {
  font-weight: 800;
}

.home-hero__visual {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.home-hero__image-wrap {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.home-hero__image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  display: block;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
}

.home-hero__stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 100px;
  height: 100px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(19, 19, 19, 0.84);
  color: #fff;
  text-align: center;
  transform: rotate(8deg);
}

.home-hero__stamp span {
  font-family: var(--font-label);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-hero__stamp strong {
  margin-top: 6px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.12;
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--faint);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.home-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
}

.workshop-desk,
.workshop-resources {
  max-width: var(--home-max);
  margin-inline: auto;
  padding: clamp(58px, 7vw, 88px) var(--home-gutter);
  border-top: 1px solid var(--soft-line);
}

.workshop-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.workshop-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
}

.workshop-sequence {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.8;
}

.workshop-sequence span {
  margin-inline: 7px;
  color: var(--teal);
}

.workshop-desk {
  display: grid;
  gap: 30px;
}

.workshop-ideas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.workshop-idea {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 218px;
  padding: 22px 24px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.workshop-idea:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.workshop-idea:hover,
.workshop-idea:focus-visible {
  background: #f7fafb;
  color: var(--ink);
  transform: translateY(-2px);
  outline: none;
}

.workshop-idea--general {
  background: #f7f7f8;
}

.workshop-idea__number,
.workshop-categories span,
.workshop-resources__links span {
  color: var(--teal);
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.workshop-idea h3 {
  margin: 0;
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.workshop-idea p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.workshop-idea__action {
  align-self: end;
  color: var(--teal-dark);
  font-size: 0.77rem;
  font-weight: 800;
}

.workshop-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workshop-categories a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.workshop-categories a:first-child {
  border-left: 0;
}

.workshop-categories a:hover,
.workshop-categories a:focus-visible {
  background: var(--panel);
  color: var(--ink);
  outline: none;
}

.workshop-categories strong {
  font-size: 0.88rem;
}

.home-visual-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.home-visual-story figure,
.page-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #151817;
}

.home-visual-story__wide {
  grid-column: 1 / -1;
}

.home-visual-story img,
.page-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-visual-story figure:not(.home-visual-story__wide) img {
  aspect-ratio: 4 / 3;
}

.home-visual-story figcaption,
.page-visual figcaption {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.home-visual-story figcaption span {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.page-visual {
  width: min(calc(100% - 36px), var(--max));
  margin: 4px auto 58px;
}

.page-visual figcaption {
  justify-content: flex-start;
}

.prep-visual {
  position: relative;
  max-width: 960px;
  margin: 36px 0 30px;
  overflow: hidden;
  border-radius: 12px;
  background: #171917;
  border: 1px solid var(--line);
}

.prep-visual--screen {
  padding-top: 28px;
  background: #ecece9;
}

.prep-visual--screen::before {
  position: absolute;
  top: 11px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7c7c2;
  box-shadow: 13px 0 0 #c7c7c2, 26px 0 0 #c7c7c2;
  content: "";
}

.prep-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.prep-visual figcaption {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 13px 16px;
  background: #171917;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.6;
}

.prep-visual figcaption span {
  color: #fff;
  font-family: var(--font-label);
  font-weight: 850;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.prep-page .section {
  padding-block: clamp(36px, 5vw, 56px);
}

.prep-page .steps li,
.prep-page .dot-list li {
  margin-bottom: 9px;
}

.prep-page .callout,
.prep-page .notice {
  padding: 13px 16px;
}

.prep-page .callout p,
.prep-page .notice p {
  margin-top: 4px;
}

.prep-page .prep-visual {
  margin-block: 24px;
}

@media (max-width: 640px) {
  .prep-visual {
    margin-block: 28px 24px;
  }

  .prep-visual figcaption {
    display: block;
  }

  .prep-visual figcaption span {
    display: block;
    margin-bottom: 5px;
  }
}

.workshop-resources {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(36px, 8vw, 112px);
}

.workshop-resources__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.workshop-resources__links a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-height: 72px;
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.workshop-resources__links a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.workshop-resources__links a:hover,
.workshop-resources__links a:focus-visible {
  background: var(--panel);
  color: var(--ink);
  outline: none;
}

.workshop-resources__links strong {
  font-size: 0.88rem;
}

.idea-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legacy-topic-index,
.topic-divider,
.topic-gallery-section > h2,
.topic-gallery-section > .idea-gallery-intro,
.topic-gallery-section > .idea-category-nav,
.topic-detail,
.idea-category,
.topic-detail-card {
  display: none;
}

.topic-detail.is-open,
.idea-category.is-open,
.topic-detail-card.is-open {
  display: block;
}

.topic-gallery-section {
  padding-top: 0;
  border-top: 0;
}

.topic-finder {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px clamp(18px, 4vw, 44px) 80px;
}

.topic-finder__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px clamp(40px, 6vw, 78px);
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 2px solid var(--ink);
}

.topic-finder__intro .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.topic-finder__intro h2 {
  max-width: 8.5em;
  margin: 0;
  font-size: clamp(2.65rem, 4.4vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.topic-finder__intro > p:last-child {
  max-width: 520px;
  margin: 0 0 3px;
  color: var(--muted);
  line-height: 1.85;
}

.topic-finder__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.topic-finder__controls label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.topic-finder__controls select,
.topic-finder__controls input {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.topic-finder__controls select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.topic-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.topic-choice-group button {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
}

.topic-choice-group button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.topic-choice-group button:hover,
.topic-choice-group button:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
  outline: none;
}

.topic-choice-group button[aria-pressed="true"]:hover,
.topic-choice-group button[aria-pressed="true"]:focus-visible {
  background: var(--teal-dark);
  color: #fff;
}

.topic-finder__search {
  grid-column: span 2;
}

.topic-finder__reset {
  align-self: end;
  min-height: 46px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.topic-finder__status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0;
}

.topic-finder__status p {
  margin: 0;
}

.topic-finder__status strong {
  font-size: 2rem;
}

.topic-finder__status button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 850;
}

.topic-results {
  display: block;
}

.topic-result-group {
  margin-top: 36px;
}

.topic-result-group__heading {
  margin: 0 0 16px;
  padding-bottom: 11px;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--teal-dark);
}

.topic-result-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.topic-result-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.topic-result-card:hover {
  border-color: #cdd6db;
  box-shadow: 0 10px 30px -22px rgba(15, 30, 40, 0.4);
}

.topic-result-card__meta {
  margin: 0 0 9px;
  color: var(--teal-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.topic-result-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.45;
}

.topic-result-card > p:not(.topic-result-card__meta) {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.topic-result-card button {
  align-self: flex-start;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.9rem;
}

.topic-result-card button:hover,
.topic-result-card button:focus-visible {
  text-decoration: underline;
}

.topic-result-card.is-open {
  grid-column: 1 / -1;
  border-color: var(--teal-dark);
  background: rgba(11, 125, 163, 0.035);
}

.topic-inline-detail {
  width: 100%;
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  animation: topic-detail-open 0.28s ease both;
}

.topic-inline-detail h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.topic-inline-detail .prompt-block {
  margin-top: 24px;
}

.topic-inline-detail .prompt-block pre {
  max-height: 360px;
  overflow: auto;
}

.topic-inline-detail .topic-card,
.topic-inline-detail .idea-card {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

@keyframes topic-detail-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.topic-finder__empty {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.idea-category-nav a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.idea-category-nav a:hover,
.idea-category-nav a:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
  outline: none;
}

.idea-category,
.idea-card,
section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 900px) {
  .home-hero,
  .workshop-section-heading--split,
  .workshop-resources {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    max-width: 680px;
  }

  .workshop-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workshop-categories a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .workshop-categories a:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .home-hero h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.6rem);
  }

  .home-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero .hero-button {
    justify-content: center;
  }

  .home-hero {
    min-height: 82svh;
  }

  .home-hero__visual {
    display: block;
  }

  /* Mobile crop: shift the frame right so the doctor sits toward the left and
     her hand (marker at the whiteboard) stays in view. */
  .home-hero__image-wrap img {
    object-position: 64% center;
  }

  /* Full-bleed photo stays behind the copy on mobile; strengthen the scrim so
     the white headline reads cleanly over it (on-brand dark-photo hero). */
  .home-hero::before {
    background: linear-gradient(0deg, rgba(9, 17, 15, 0.9), rgba(9, 17, 15, 0.5) 58%, rgba(9, 17, 15, 0.58));
  }

  .workshop-desk,
  .workshop-resources {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .workshop-ideas,
  .workshop-resources__links,
  .workshop-categories,
  .home-visual-story {
    grid-template-columns: 1fr;
  }

  .home-visual-story__wide {
    grid-column: auto;
  }

  .home-visual-story figure:not(.home-visual-story__wide) img {
    aspect-ratio: 16 / 10;
  }

  .workshop-idea {
    min-height: 0;
    padding: 18px 0 20px;
    border-right: 0;
  }

  .workshop-idea:nth-child(odd) {
    border-right: 0;
  }

  .workshop-idea--general {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .workshop-categories a,
  .workshop-categories a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .workshop-categories a:first-child {
    border-top: 0;
  }

  .workshop-resources__links a,
  .workshop-resources__links a:nth-child(odd) {
    min-height: 0;
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .workshop-idea {
    transition: none;
  }
}

/* Landing page experience: cinematic entry, editorial narrative, quiet motion */
.home-page {
  --home-paper: #f4f2ed;
  background: var(--home-paper);
}

.home-page .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  border-bottom-color: transparent;
  background: transparent;
  color: #fff;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.home-page .site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 18, 17, 0.42), transparent);
  content: "";
  opacity: 1;
  transition: opacity 0.45s ease;
}

.home-page .site-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.12);
  background: rgba(244, 242, 237, 0.78);
  box-shadow: 0 8px 30px rgba(22, 24, 23, 0.05);
  backdrop-filter: blur(16px) saturate(1.1);
}

.home-page .site-header.is-scrolled::before { opacity: 0; }
.home-page .site-header.is-hidden { transform: translateY(-105%); }

.home-page .site-header .brand,
.home-page .site-header .site-nav a { color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.home-page .site-header .brand small { color: rgba(255, 255, 255, 0.7); }
.home-page .site-header.is-scrolled .brand,
.home-page .site-header.is-scrolled .site-nav a { color: var(--ink); border-color: var(--line); }
.home-page .site-header.is-scrolled .brand small { color: var(--muted); }
.home-page .site-header .brand::before { background: #fff; box-shadow: 15px 0 0 #fff, 30px 0 0 #fff; }
.home-page .site-header.is-scrolled .brand::before { background: var(--teal); box-shadow: 15px 0 0 var(--teal), 30px 0 0 var(--teal); }

.home-hero {
  position: relative;
  display: flex;
  min-height: max(680px, 90svh);
  max-width: none;
  padding: 0 clamp(22px, 7vw, 112px);
  align-items: flex-end;
  overflow: hidden;
  background: #17211e;
  color: #fff;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 17, 15, 0.72), rgba(9, 17, 15, 0.22) 55%, rgba(9, 17, 15, 0.05)), linear-gradient(0deg, rgba(9, 17, 15, 0.62), transparent 58%);
  content: "";
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 32%), repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 4px);
  content: "";
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
}

.home-hero__copy { position: relative; z-index: 4; width: min(1200px, 86vw); padding: 152px 0 92px; }
.home-hero__copy h1 { max-width: none; margin: 0; color: #fff; font-family: "Noto Serif JP", Georgia, "Yu Mincho", serif; font-size: clamp(3.4rem, 6.2vw, 6.6rem); font-weight: 500; letter-spacing: -0.09em; line-height: 1.04; white-space: nowrap; }
.home-hero__copy h1 em { color: #cfe7d2; font-style: italic; }
.home-hero__copy .eyebrow, .home-hero__copy .kicker, .home-hero__copy .lead, .home-hero__copy .home-hero__prep-note, .home-hero__copy .three-lines { color: rgba(255, 255, 255, 0.82); }
.home-hero__copy .lead { max-width: 560px; margin-top: 28px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.9; }

.home-hero__visual { position: absolute; inset: 0; z-index: 0; max-width: none; }
.home-hero__image-wrap { position: absolute; inset: -4% -2%; overflow: hidden; }
.home-hero__image-wrap::after { position: absolute; inset: 0; background: rgba(19, 34, 29, 0.12); content: ""; mix-blend-mode: multiply; }
.home-hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.84) contrast(0.98); transform: scale(1.05); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.home-page.is-ready .home-hero__image-wrap img { transform: scale(1); }
.home-hero__stamp { z-index: 3; top: auto; right: clamp(24px, 7vw, 112px); bottom: clamp(30px, 7vw, 92px); border-color: rgba(255,255,255,0.68); color: #fff; transform: rotate(7deg); }
.home-hero .hero-actions { margin-top: 34px; }
.home-hero .hero-button--primary { border-color: #fff; background: #fff; color: var(--ink); }
.home-hero .hero-button:not(.hero-button--primary) { border-color: rgba(255,255,255,0.6); color: #fff; }
.home-hero .event-meta { border-color: rgba(255,255,255,0.25); }
.home-hero .three-lines { border-color: rgba(255,255,255,0.22); }

.home-scroll-note { position: absolute; right: clamp(22px,4vw,60px); bottom: 30px; z-index: 5; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,0.76); font-family: var(--font-label); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.18em; writing-mode: vertical-rl; }
.home-scroll-note i { display: block; width: 1px; height: 64px; overflow: hidden; background: rgba(255,255,255,0.45); }
.home-scroll-note i::after { display: block; width: 1px; height: 24px; background: #fff; content: ""; animation: home-scroll-line 2.5s ease-in-out infinite; }
@keyframes home-scroll-line { 0% { transform: translateY(-28px); } 55%, 100% { transform: translateY(64px); } }

.story-section { position: relative; max-width: 1480px; margin: 0 auto; padding: clamp(76px,9vw,132px) clamp(22px,6vw,96px); }
.story-section--manifesto { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(320px,0.97fr); gap: clamp(42px,9vw,150px); align-items: center; }
.story-section__media { overflow: hidden; border-radius: 12px; background: #d9ddd5; }
.story-section__media img { display: block; width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; filter: saturate(0.86); }
.story-section__copy { max-width: 560px; }
.story-section__copy h2, .story-section__heading h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2.5rem,5.3vw,5.7rem); font-weight: 400; letter-spacing: -0.065em; line-height: 1.06; text-wrap: pretty; }
.story-section__copy h2 em { color: var(--teal-dark); font-style: normal; }
.story-section__copy > p:not(.home-eyebrow), .story-section__heading > p:last-child { color: var(--muted); font-size: 1rem; line-height: 2; }
.story-section__copy > p:nth-of-type(2) { margin-top: 30px; color: var(--ink); }

.story-section--level-map {
  max-width: none;
  padding-inline: clamp(20px, 2.4vw, 40px);
  background: #fff;
}

.level-map__heading {
  display: flex;
  max-width: 1600px;
  margin: 0 auto 18px;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
}

.level-map__heading h2 {
  margin: 0;
  font-family: var(--font-label);
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.level-map__heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.15vw, 1.05rem);
  line-height: 1.6;
}

.level-map__columns {
  display: grid;
  grid-template-columns: 22% 22% 20% 18% 18%;
  max-width: 1600px;
  margin: 0 auto;
  color: var(--teal-dark);
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--teal-dark);
}

.level-map__columns span {
  padding: 0 12px 8px;
}

.level-map {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.level-map > li {
  display: grid;
  grid-template-columns: 22% 78%;
  min-height: 156px;
  gap: 0;
  padding: 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.level-map > li.is-current {
  position: relative;
  margin-inline: 0;
  padding-left: 0;
  background: #f0f6f8;
  border-color: rgba(7, 95, 124, 0.28);
}

.level-map > li.is-current::before {
  display: none;
}

.level-map__level {
  padding: 12px 12px 14px;
}

.level-map__level > span {
  display: inline-block;
  color: #9b9fa2;
  font-family: var(--font-label);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.level-map__level strong {
  display: inline-block;
  margin-left: 7px;
  font-family: var(--font-label);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
}

.level-map > li.is-current .level-map__level > span,
.level-map > li.is-current .level-map__level strong {
  color: var(--teal-dark);
}

.level-map__level em {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #e7e9e9;
  color: #6a7074;
  font-family: var(--font-label);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  vertical-align: 0.2em;
}

.level-map > li.is-current .level-map__level em {
  background: var(--teal-dark);
  color: #fff;
}

.level-map__level small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.64rem;
}

.level-map__level p {
  max-width: 29ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.62;
}

.level-map__details {
  display: grid;
  grid-template-columns: 28.205% 25.641% 23.077% 23.077%;
  gap: 0;
}

.level-map__details section {
  padding: 12px 12px 14px;
  border-left: 0;
}

.level-map__details h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.level-map__details ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink);
  font-size: clamp(0.66rem, 0.78vw, 0.79rem);
  line-height: 1.42;
}

.level-map__details li + li {
  margin-top: 3px;
}

.level-map__details .level-map__next {
  background: transparent;
}

.story-section--goal { max-width: none; background: #f4f2ed; }
.story-section--goal .story-section__heading { display: block; max-width: 1288px; margin-bottom: clamp(48px, 6vw, 80px); }
.story-section--goal .story-section__heading .home-eyebrow { width: fit-content; margin: 0 0 clamp(30px, 3.6vw, 48px); padding-left: 14px; border-left: 3px solid var(--teal); }
.story-section--goal .story-section__heading h2 { max-width: 900px; font-size: clamp(2.75rem, 5.8vw, 5.8rem); line-height: 1.02; letter-spacing: -0.075em; text-wrap: balance; }
.goal-heading__copy { max-width: 920px; }
.goal-heading__copy > p { max-width: 700px; margin: 20px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.82; }
.goal-heading__copy > p + p { margin-top: 14px; color: var(--ink); }
.goal-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 1288px; margin: 0 auto; gap: 14px; }
.goal-card { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgba(22,24,23,0.08); }
.goal-card img { display: block; width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; filter: saturate(0.84); }
.goal-card > div { min-height: 154px; padding: 16px 20px 18px; }
.goal-card span { color: var(--teal-dark); font-family: var(--font-label); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.goal-card strong { display: block; margin-top: 14px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.35rem,2.4vw,2.5rem); font-weight: 400; line-height: 1.2; }
.goal-card p { max-width: 250px; margin: 6px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.65; }

.story-section--timeline { max-width: none; background: #f4f2ed; color: var(--ink); border-top: 1px solid var(--line); }
.story-section--timeline .story-section__heading { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr); gap: 18px clamp(42px, 8vw, 130px); max-width: 1288px; margin-bottom: clamp(42px, 5vw, 70px); align-items: end; }
.story-section--timeline .story-section__heading .home-eyebrow { grid-column: 1 / -1; margin: 0 0 8px; color: var(--teal-dark); }
.story-section--timeline .story-section__heading h2 { margin: 0; color: var(--ink); font-size: clamp(3rem, 6.2vw, 6.3rem); line-height: 0.98; letter-spacing: -0.075em; text-wrap: balance; }
.timeline-intro { max-width: 410px; margin: 0 0 8px; color: var(--muted); font-size: 0.94rem; line-height: 1.78; }

.story-section--method { max-width: none; background: #1c2723; color: #f3f1ec; }
.story-section__heading { max-width: 780px; margin: 0 auto 70px; }
.story-section--method .home-eyebrow, .story-section--method .story-section__heading > p:last-child { color: rgba(243,241,236,0.62); }
.story-timeline { display: block; max-width: 1288px; margin: 0 auto; padding: 0; list-style: none; border-top: 2px solid var(--teal-dark); }
.story-timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; min-height: 0; padding: 20px 0 22px; align-items: start; border-bottom: 1px solid var(--line); }
.story-timeline__time { padding-top: 7px; color: var(--teal-dark); font-family: var(--font-label); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; white-space: nowrap; }
.story-timeline__content { max-width: 890px; }
.story-timeline__content > strong { display: block; margin: 0; color: var(--ink); font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.45rem, 2.2vw, 2.15rem); font-weight: 400; line-height: 1.25; }
.story-timeline__content > p { max-width: 740px; margin: 8px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.72; }
.timeline-topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 740px; margin-top: 14px; }
.timeline-topic { padding: 11px 13px 12px; background: #fff; border: 1px solid rgba(15, 35, 31, 0.12); }
.timeline-topic > span { display: block; color: var(--teal-dark); font-family: var(--font-label); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; }
.timeline-topic > strong { display: block; margin-top: 7px; color: var(--ink); font-family: var(--font-label); font-size: 0.86rem; font-weight: 900; }
.timeline-topic > p { margin: 3px 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }

.story-section--horizon { display: flex; min-height: min(720px, 82svh); max-width: none; padding: 0; align-items: center; overflow: hidden; color: #fff; }
.story-section--horizon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72) saturate(0.9); }
.story-section--horizon::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,16,25,0.7), rgba(9,16,25,0.1) 75%); content: ""; }
.story-section--horizon__overlay { position: relative; z-index: 1; width: min(100%,1480px); margin: 0 auto; padding: 80px clamp(22px,6vw,96px); }
.story-section--horizon__overlay .home-eyebrow { color: rgba(255,255,255,0.72); }
.story-section--horizon h2 { margin: 0 0 38px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(3.2rem,8vw,8rem); font-weight: 400; letter-spacing: -0.075em; line-height: 0.96; }
.hero-button--light { border-color: #fff; color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1); }
[data-reveal="hero"] { opacity: 1; transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .home-hero { min-height: 82svh; }
  .home-hero__copy { padding-bottom: 54px; }
  .home-hero__copy { width: 100%; }
  .home-hero__copy h1 { font-size: clamp(1.7rem, 6vw, 3.2rem); line-height: 1.18; letter-spacing: -0.06em; white-space: normal; }
  .home-hero__stamp, .home-scroll-note { display: none; }
  .story-section--manifesto { grid-template-columns: 1fr; }
  .story-section__media img { aspect-ratio: 16 / 8; }
  .story-section--goal .story-section__heading { grid-template-columns: 1fr; gap: 16px; }
  .story-section--goal .story-section__heading h2 { font-size: clamp(1.9rem, 8vw, 2.5rem); letter-spacing: -0.05em; line-height: 1.14; }
  .level-map__heading { display: block; margin-bottom: 26px; }
  .level-map__heading > p:last-child { margin-top: 9px; }
  .level-map__columns { display: none; }
  .level-map { border-top: 2px solid var(--teal-dark); }
  .level-map > li { grid-template-columns: 1fr; min-height: 0; gap: 0; padding: 0 0 20px; }
  .level-map > li.is-current { margin-inline: 0; padding-inline: 0; }
  .level-map__level { padding: 16px 10px 12px; }
  .level-map__level p { max-width: 36em; margin-top: 7px; font-size: 0.74rem; line-height: 1.52; }
  .level-map__details { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .level-map__details section { padding-inline: 16px; }
  .level-map__details h3 { position: static; width: auto; height: auto; margin: 0 0 10px; overflow: visible; clip: auto; color: var(--teal-dark); font-family: var(--font-label); font-size: 0.64rem; font-weight: 900; letter-spacing: 0.1em; white-space: normal; }
  .goal-list { grid-template-columns: 1fr; gap: 10px; }
  .goal-card { display: grid; grid-template-columns: minmax(112px, 34%) minmax(0, 1fr); }
  .goal-card img { width: 100%; height: 100%; min-height: 148px; aspect-ratio: auto; object-fit: cover; }
  .goal-card > div { display: flex; min-height: 148px; padding: 13px 15px; flex-direction: column; justify-content: center; }
  .goal-card span { font-size: 0.62rem; }
  .goal-card strong { margin-top: 8px; font-size: 1.28rem; }
  .goal-card p { margin-top: 4px; font-size: 0.78rem; line-height: 1.5; }
  .story-section--timeline .story-section__heading { grid-template-columns: 1fr; gap: 12px; }
  .story-section--timeline .story-section__heading .home-eyebrow { grid-column: auto; }
  .story-section--timeline .story-section__heading h2 { font-size: clamp(2.45rem, 10.5vw, 5.2rem); }
  .timeline-intro { max-width: 34em; margin-top: 2px; font-size: 0.9rem; line-height: 1.7; }
  .story-timeline li { grid-template-columns: 86px minmax(0,1fr); gap: 5px 14px; padding-block: 17px; }
  .story-timeline__time { padding-top: 4px; font-size: 0.65rem; }
  .story-timeline__content > strong { font-size: 1.28rem; line-height: 1.2; }
  .story-timeline__content > p { margin-top: 6px; font-size: 0.86rem; line-height: 1.68; }
  .timeline-topic-list { margin-top: 11px; }
  .timeline-topic { padding: 10px 11px 11px; }
  .timeline-topic > strong { font-size: 0.82rem; }
  .timeline-topic > p { font-size: 0.73rem; }
  .story-section--horizon { min-height: 500px; }
}

@media (max-width: 480px) {
  .home-page .site-header { padding: 14px 16px; }
  .home-page .site-header .brand small { display: none; }
  .home-page .site-header .brand::before { margin-right: 15px; box-shadow: 9px 0 0 currentColor, 18px 0 0 currentColor; }
  .home-page .site-header .site-nav { gap: 2px; font-size: 0.75rem; }
  .home-page .site-header .site-nav a { padding: 6px 7px; }
  .level-map > li.is-current { padding-right: 0; }
  .level-map__details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .level-map__details section { padding: 12px 4px 13px; border-top: 1px solid var(--line); border-left: 0; }
  .level-map__details section:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }
  .level-map__details .level-map__next { padding-inline: 14px; }
  .story-timeline { grid-template-columns: 1fr; }
  .story-timeline li, .story-timeline li + li { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-timeline li:last-child { border-bottom: 0; }
  .story-timeline__content > strong { margin-top: 12px; }
  .timeline-topic-list { grid-template-columns: 1fr; }
}

.author-showcase--track {
  width: 100%;
  max-width: none;
  padding: 116px clamp(20px, 6vw, 96px) 132px;
  border-top: 0;
  background: #fff;
  color: var(--ink);
}

.track-heading,
.track-metrics,
.track-grid {
  max-width: 1280px;
  margin-inline: auto;
}

.track-heading p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.track-heading h2 {
  display: inline-block;
  position: relative;
  margin: 18px 0 0;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.track-heading h2::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 9px;
  background: #e7c84b;
  content: "";
  opacity: 0.88;
  transform: skewX(-14deg) rotate(-0.6deg);
  transform-origin: left;
}

.track-metrics {
  display: flex;
  gap: clamp(34px, 6vw, 88px);
  margin-top: 62px;
  margin-bottom: 72px;
}

.track-metrics div {
  min-width: 110px;
}

.track-metrics dt,
.track-metrics dd {
  margin: 0;
}

.track-metrics dt {
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.track-metrics dd {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
}

.track-card {
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-card:hover,
.track-card:focus-visible {
  color: var(--teal-dark);
  transform: translateY(-6px);
  outline: none;
}

.track-card__image {
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  place-items: center;
  background: #f4f4f1;
  border: 1px solid var(--line);
}

.track-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.93);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-card--book .track-card__image img {
  width: auto;
  max-width: 72%;
  object-fit: contain;
  box-shadow: 0 20px 42px rgba(24, 28, 26, 0.16);
}

.track-card:hover .track-card__image img,
.track-card:focus-visible .track-card__image img {
  transform: scale(1.025);
}

.track-card > p {
  margin: 20px 0 0;
  color: #c97861;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.track-card h3 {
  margin: 12px 0 8px;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.track-card > span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .author-showcase--track { padding-block: 84px 96px; }
  .track-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .track-grid { grid-template-columns: 1fr; }
  .track-card__image { aspect-ratio: 16 / 10; }
}

/* Shared editorial shell for every workshop page */
body:not(.home-page):not(.material-page):not(.author-page) .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  border-bottom-color: transparent;
  background: transparent;
  color: #fff;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

body:not(.home-page):not(.material-page):not(.author-page) .site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,18,17,0.46), transparent);
  content: "";
  transition: opacity 0.45s ease;
}

body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244,242,237,0.82);
  box-shadow: 0 8px 30px rgba(22,24,23,0.05);
  backdrop-filter: blur(16px) saturate(1.1);
}

body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-scrolled::before { opacity: 0; }
body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-hidden { transform: translateY(-105%); }
body:not(.home-page):not(.material-page):not(.author-page) .site-header .brand,
body:not(.home-page):not(.material-page):not(.author-page) .site-header .site-nav a { color: #fff; border-color: rgba(255,255,255,0.38); }
body:not(.home-page):not(.material-page):not(.author-page) .site-header .brand small { color: rgba(255,255,255,0.72); }
body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-scrolled .brand,
body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-scrolled .site-nav a { color: var(--ink); border-color: var(--line); }
body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-scrolled .brand small { color: var(--muted); }
body:not(.home-page):not(.material-page):not(.author-page) .site-header .brand::before { background: #fff; box-shadow: 15px 0 0 #fff, 30px 0 0 #fff; }
body:not(.home-page):not(.material-page):not(.author-page) .site-header.is-scrolled .brand::before { background: var(--teal); box-shadow: 15px 0 0 var(--teal), 30px 0 0 var(--teal); }

body:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  position: relative;
  display: flex;
  min-height: 540px;
  max-width: none;
  padding: 150px clamp(22px,7vw,112px) 76px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #17211e center / cover no-repeat;
  color: #fff;
}

body.topics-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/handwritten-topic-notes.jpg");
}

body.prep-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/prep-architectural-hero.jpg");
}

body.cheatsheet-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/cheatsheet-architectural-hero.jpg");
}

body.safety-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/safety-architectural-hero.jpg");
}

body.workflow-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/workflow-architectural-hero.jpg");
}

body.board-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/board-architectural-hero.jpg");
}

body.next-page:not(.home-page):not(.material-page):not(.author-page) .page-hero {
  background-image: url("assets/generated/next-architectural-hero.jpg");
}

body:not(.home-page):not(.material-page):not(.author-page) .page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,17,15,0.76), rgba(9,17,15,0.18) 75%), linear-gradient(0deg, rgba(9,17,15,0.7), transparent 60%);
  content: "";
}

body:not(.home-page):not(.material-page):not(.author-page) .page-hero > * { position: relative; z-index: 1; max-width: 820px; }
body:not(.home-page):not(.material-page):not(.author-page) .page-hero .kicker,
body:not(.home-page):not(.material-page):not(.author-page) .page-hero .lead { color: rgba(255,255,255,0.84); }
body:not(.home-page):not(.material-page):not(.author-page) .page-hero h1 { max-width: 900px; margin: 12px 0 18px; color: #fff; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(3.4rem,7vw,6.3rem); font-weight: 400; letter-spacing: -0.07em; line-height: 1.02; }
body:not(.home-page):not(.material-page):not(.author-page) .page-hero .notice { border-color: rgba(255,255,255,0.35); background: rgba(0,0,0,0.16); color: #fff; backdrop-filter: blur(10px); }
body:not(.home-page):not(.material-page):not(.author-page) .page-hero .notice p { color: rgba(255,255,255,0.78); }

.scroll-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.scroll-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 640px) {
  body:not(.home-page):not(.material-page):not(.author-page) .page-hero { min-height: 460px; padding: 112px 18px 48px; }
  body:not(.home-page):not(.material-page):not(.author-page) .page-hero h1 { font-size: clamp(2.75rem,13.5vw,3.55rem); }
}

/* Reading edition: workshop slides + article notes */
.material-page {
  background: #f6f5f1;
}

.material-page main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.material-article {
  color: #161817;
}

.material-toc,
.material-section,
.material-end {
  width: min(100% - 40px, 960px);
  margin-inline: auto;
}

.material-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 620px;
  padding: 150px clamp(22px, 7vw, 112px) 74px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.material-hero__visual {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #dde3df;
}

.material-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 14, 0.72), rgba(8, 16, 14, 0.08) 72%), linear-gradient(0deg, rgba(8, 16, 14, 0.66), transparent 60%);
  content: "";
}

.material-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-hero > :not(.material-hero__visual) {
  position: relative;
  z-index: 1;
}

.material-hero .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.material-hero h1 {
  max-width: 8ch;
  margin: 18px 0 26px;
  color: #fff;
  font-size: clamp(4.2rem, 10vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.material-overview {
  width: min(100% - 40px, 960px);
  margin-inline: auto;
  padding: 68px 0 76px;
}

.material-hero__lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 650;
  line-height: 1.9;
  text-wrap: pretty;
}

.material-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 48px 0 36px;
  border-block: 1px solid var(--line);
}

.material-meta div {
  padding: 18px 20px 18px 0;
}

.material-meta dt,
.material-meta dd {
  margin: 0;
}

.material-meta dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.material-meta dd {
  margin-top: 5px;
  font-weight: 800;
}

.material-status {
  display: flex;
  gap: 16px;
  align-items: baseline;
  max-width: 760px;
  margin: 40px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.material-status span,
.material-draft-label {
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.material-toc {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 44px 0 76px;
  border-top: 2px solid #161817;
}

.material-toc > p {
  margin: 6px 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.material-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.material-toc a {
  display: grid;
  grid-template-columns: 42px 120px 1fr;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  font-weight: 850;
  text-decoration: none;
}

.material-toc a span,
.material-toc a small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.material-toc a:hover,
.material-toc a:focus-visible,
.material-inline-link:hover,
.material-inline-link:focus-visible {
  color: var(--teal-dark);
}

.material-section {
  padding: 88px 0 104px;
  border-top: 1px solid #161817;
  scroll-margin-top: 86px;
}

.material-section__heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.material-section__heading span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #161817;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.material-section__heading p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.material-slide {
  margin: 0;
  background: #fff;
  border: 1px solid #d3d2cc;
  box-shadow: 0 24px 60px rgba(20, 24, 22, 0.08);
}

.material-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.material-slide figcaption {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.material-slide figcaption span {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.material-section__body {
  max-width: 720px;
  margin: 54px auto 0;
}

.material-section__body h2 {
  margin: 12px 0 22px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.material-section__body > p:not(.material-draft-label) {
  margin: 0;
  font-size: 1.04rem;
  line-height: 2.05;
  text-wrap: pretty;
}

.material-inline-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 850;
}

.material-end {
  padding: 96px 0 112px;
  border-top: 3px solid #161817;
}

.material-end h2 {
  margin: 18px 0 34px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

/* About the author: intentionally short and editorial */
.author-page {
  background: #f6f5f1;
}

.author-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.author-profile {
  width: min(100% - 40px, 960px);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 108px) 0 64px;
}

.author-profile__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.42fr);
  gap: clamp(44px, 7vw, 82px);
  max-width: none;
  padding-bottom: 0;
  align-items: center;
  border-bottom: 0;
}

.author-profile__copy {
  position: relative;
  padding-top: 30px;
}

.author-profile__role {
  position: static;
  margin: 12px 0 0;
  color: var(--muted);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 0.9rem;
  font-style: italic;
}

.author-profile__portrait {
  position: relative;
  width: min(100%, 220px);
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  justify-self: end;
  background: #dfe3df;
}

.author-profile__portrait::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  content: "";
  pointer-events: none;
}

.author-profile__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}

.author-profile h1 {
  margin: 24px 0 20px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.author-profile__lead {
  max-width: 540px;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.95;
  text-wrap: pretty;
}

.author-profile__details {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.author-bio {
  display: grid;
  grid-template-columns: 120px minmax(0, 680px);
  gap: 28px;
  align-items: start;
}

.author-bio .eyebrow {
  margin-top: 6px;
}

.author-bio > p:last-child {
  margin: 0;
  color: #3e4442;
  font-size: 0.92rem;
  line-height: 2;
  text-wrap: pretty;
}

.author-contactline {
  display: flex;
  gap: 32px;
  align-items: baseline;
  justify-content: space-between;
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: 22px 0 4px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
}

.author-contactline p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
}

.author-contactline p span {
  margin-right: 14px;
  color: var(--teal-dark);
  font-family: var(--font-label);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.author-contactline nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: flex-end;
}

.author-contactline a,
.author-contactline .contact-mail {
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.author-contactline .contact-mail small {
  /* クリックだけでアドレス全体が選択され、そのままコピーできる */
  user-select: all;
}

.author-contactline a:hover,
.author-contactline a:focus-visible {
  text-decoration-color: var(--teal-dark);
}

.author-contactline small {
  color: var(--muted);
  font: inherit;
  font-weight: 600;
}

.author-profile__note {
  max-width: 680px;
  margin: 52px auto 0;
}

.author-profile__note p {
  margin: 0 0 24px;
  font-size: 1.04rem;
  line-height: 2.05;
  text-wrap: pretty;
}

.author-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--ink);
}

.author-facts div {
  padding: 20px 20px 22px 0;
}

.author-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.author-facts dt,
.author-facts dd {
  margin: 0;
}

.author-facts dt {
  color: var(--teal-dark);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.author-facts dd {
  margin-top: 8px;
  font-weight: 800;
  line-height: 1.55;
}

.author-profile__footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: baseline;
  padding-top: 38px;
}

.author-profile__footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.author-showcase {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: 96px 0 118px;
  border-top: 1px solid var(--ink);
}

.author-showcase--cards-only {
  padding-block: 68px 72px;
}

.author-showcase__heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.author-showcase__heading .eyebrow {
  margin: 0 0 10px;
}

.author-showcase__heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
}

.author-card-grid {
  display: grid;
  gap: 16px;
}

.author-card-grid--services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.author-card-grid--track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.author-card {
  display: block;
  min-height: 0;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.author-card:hover,
.author-card:focus-visible,
.author-media-card:hover,
.author-media-card:focus-visible {
  color: inherit;
  transform: translateY(-6px);
  outline: none;
}

.author-card__visual {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #ecebe7;
  border: 1px solid var(--line);
}

.author-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.author-card:hover .author-card__visual img,
.author-card:focus-visible .author-card__visual img {
  transform: scale(1.025);
}

.author-card__body {
  display: grid;
  min-height: 190px;
  padding: 18px 2px 0;
  background: transparent;
  border: 0;
}

.author-card__body p,
.author-media-card section p {
  margin: 0;
  color: var(--teal-dark);
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.author-card__body h3,
.author-media-card section h3 {
  margin: 14px 0 8px;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.author-card__body > span,
.author-media-card section > span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.author-card__body strong,
.author-media-card section strong {
  align-self: end;
  margin-top: 24px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.author-card--minaton .author-card__visual img { object-position: top center; }
.author-card--bac .author-card__visual img { object-position: center; }
.author-card--gorogoro .author-card__visual img { object-fit: contain; background: #fff; }
.author-card--ampl .author-card__visual { background: #111; }
.author-card--ampl .author-card__visual img { object-fit: contain; }
.author-card--book .author-card__visual img { object-fit: contain; padding: 5%; background: #f4f4f1; }
.author-card-grid--track .author-card:not(.author-card--book) .author-card__visual img { object-fit: contain; background: #f4f4f1; }

.author-card-grid--media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.author-media-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 340px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.author-media-card > div {
  display: flex;
  padding: 28px;
  flex-direction: column;
  justify-content: space-between;
  background: #1f2926;
  color: #fff;
}

.author-media-card--nikkei > div {
  background: #ededeb;
  color: #1b1b1b;
}

.author-media-card > div span {
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.author-media-card > div small {
  font-size: 0.72rem;
  line-height: 1.6;
}

.author-media-card section {
  display: grid;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 0;
}

@media (max-width: 760px) {
  .author-showcase { width: min(100% - 28px, 1280px); padding-block: 72px 86px; }
  .author-showcase__heading { grid-template-columns: 1fr; gap: 18px; }
  .author-card-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-card-grid--track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-card-grid--media { grid-template-columns: 1fr; }
  .author-card { min-height: 0; }
  .author-media-card { grid-template-columns: 0.8fr 1.2fr; min-height: 310px; }
}

@media (max-width: 480px) {
  .author-card-grid--services { grid-template-columns: 1fr; }
  .author-card-grid--track { grid-template-columns: 1fr; }
  .author-media-card { grid-template-columns: 1fr; }
  .author-media-card > div { min-height: 190px; }
  .author-media-card section { border-top: 0; border-left: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .material-overview,
  .material-toc,
  .material-section,
  .material-end {
    width: min(100% - 28px, 960px);
  }

  .material-hero {
    width: 100%;
    min-height: 500px;
    padding: 118px 18px 48px;
  }

  .material-overview {
    padding: 48px 0 60px;
  }

  .material-hero h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .material-meta {
    grid-template-columns: 1fr;
  }

  .material-meta div + div {
    border-top: 1px solid var(--line);
  }

  .material-status,
  .material-slide figcaption {
    display: block;
  }

  .material-status span,
  .material-slide figcaption span {
    display: block;
    margin-bottom: 5px;
  }

  .material-toc {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .material-toc a {
    grid-template-columns: 34px 88px 1fr;
  }

  .material-section {
    padding: 64px 0 76px;
  }

  .material-section__body {
    margin-top: 38px;
  }

  .author-profile {
    width: min(100% - 28px, 960px);
    padding-top: 56px;
  }

  .author-profile__role {
    position: static;
    margin-top: 16px;
  }

  .author-profile h1 {
    margin-top: 22px;
  }

  .author-facts {
    grid-template-columns: 1fr;
  }

  .author-facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .author-profile__footer {
    display: block;
  }

  .author-profile__intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .author-profile__details {
    display: block;
  }

  .author-bio {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .author-contactline {
    display: grid;
    gap: 14px;
  }

  .author-contactline nav {
    justify-content: flex-start;
  }

  .author-profile__portrait {
    width: min(100%, 220px);
    justify-self: start;
  }

  .topic-finder__intro,
  .topic-finder__controls,
  .topic-result-group__grid {
    grid-template-columns: 1fr;
  }

  .topic-finder__intro .eyebrow {
    grid-column: auto;
  }

  .topic-finder {
    padding-top: 52px;
  }

  .topic-finder__intro {
    gap: 18px;
    align-items: start;
    padding-bottom: 32px;
  }

  .topic-finder__intro h2 {
    max-width: 8.5em;
    font-size: clamp(2.25rem, 11.5vw, 3rem);
  }

  .topic-finder__search {
    grid-column: auto;
  }

  .topic-result-card {
    padding: 18px 20px;
  }

  .topic-result-card.is-open {
    grid-column: auto;
  }
}

/* Mobile editorial rhythm shared by every public page */
@media (max-width: 640px) {
  .site-header {
    gap: 8px;
    padding: 11px 16px 10px;
  }

  .site-header .brand {
    font-size: 0.82rem;
  }

  .site-header .brand::before {
    width: 8px;
    height: 8px;
    margin-right: 22px;
    box-shadow: 11px 0 0 currentColor, 22px 0 0 currentColor;
  }

  .site-header .brand small {
    display: none;
  }

  .header-actions {
    min-width: 0;
    overflow: hidden;
  }

  .site-nav {
    width: 100%;
    gap: 3px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 5px 8px;
    flex: 0 0 auto;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .table-wrap {
    max-width: calc(100vw - 36px);
    overscroll-behavior-inline: contain;
  }
}
