.teaching-page .page-shell {
  padding-bottom: 72px;
}

.teaching-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 72vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 132px 0 54px;
  overflow: hidden;
  color: #f7f2ea;
}

.teaching-hero::before,
.teaching-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.teaching-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.5) 42%, rgba(8, 8, 8, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.52)),
    radial-gradient(circle at top left, rgba(207, 161, 113, 0.34), transparent 26%),
    linear-gradient(135deg, #18130d 0%, #4f3422 42%, #111111 100%);
}

.teaching-hero::after {
  background: linear-gradient(180deg, rgba(242, 238, 231, 0) 76%, var(--bg) 100%);
}

.teaching-hero-logic::before {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.84) 0%, rgba(8, 8, 8, 0.56) 44%, rgba(8, 8, 8, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.54)),
    radial-gradient(circle at top right, rgba(205, 146, 88, 0.3), transparent 24%),
    linear-gradient(135deg, #15120f 0%, #253344 44%, #101010 100%);
}

.teaching-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 280px;
  gap: 36px;
  align-items: end;
}

.teaching-hero-copy {
  max-width: 760px;
}

.teaching-hero-copy h1 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(3.8rem, 10vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.teaching-lead {
  margin: 26px 0 0;
  max-width: 620px;
  font-size: 1.14rem;
  color: rgba(247, 242, 234, 0.94);
}

.teaching-subcopy {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(247, 242, 234, 0.72);
}

.teaching-hero .chip-row {
  margin-top: 28px;
}

.teaching-hero .chip-row a {
  border-color: rgba(247, 242, 234, 0.28);
  background: rgba(255, 252, 246, 0.14);
  color: #f7f2ea;
}

.teaching-hero .chip-row a:hover {
  background: rgba(255, 252, 246, 0.96);
  color: var(--ink);
  border-color: rgba(255, 252, 246, 0.96);
}

.teaching-rail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.teaching-rail > div {
  padding-top: 18px;
  border-top: 1px solid rgba(247, 242, 234, 0.22);
}

.teaching-rail strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.teaching-intro,
.teaching-notes {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

.teaching-list {
  display: grid;
  gap: 14px;
}

.teaching-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.teaching-item > span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.teaching-item h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.42;
}

.chip-muted {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 19, 16, 0.04);
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 1180px) {
  .teaching-hero-inner {
    grid-template-columns: 1fr;
  }

  .teaching-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .teaching-hero {
    min-height: 620px;
    padding: 108px 0 34px;
  }

  .teaching-hero-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .teaching-rail {
    grid-template-columns: 1fr;
  }

  .teaching-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chip-muted {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.76rem;
  }
}
