.teachers-page {
  background: #fffaf8;
}

.teachers-page .site-header {
  min-height: 78px;
  padding: 0 clamp(20px, 2.4vw, 34px);
  gap: 18px;
}

.teachers-page .brand {
  flex: 0 0 auto;
  gap: 9px;
}

.teachers-page .logo-mark {
  width: 44px;
  height: 44px;
}

.teachers-page .brand span {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.teachers-page .brand strong {
  font-size: 1.05rem;
}

.teachers-page .brand small {
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.teachers-page .site-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(13px, 1.7vw, 22px);
  font-size: 0.81rem;
  white-space: nowrap;
}

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

.teachers-page .site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.teachers-page .header-cta {
  display: grid;
  flex: 0 0 auto;
  min-width: 180px;
  min-height: 52px;
  padding: 7px 12px;
  text-align: center;
}

.teachers-page .header-cta strong,
.teachers-page .header-cta small {
  display: block;
  line-height: 1.2;
}

.teachers-page .header-cta strong {
  font-size: 0.82rem;
}

.teachers-page .header-cta small {
  margin-top: 2px;
  font-size: 0.67rem;
  font-weight: 800;
  opacity: 0.9;
}

.teachers-intro {
  padding: 68px 0 46px;
  background: #fffaf8;
}

.teachers-intro h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  line-height: 1.2;
}

.teachers-intro p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 2;
}

.teacher-introduction {
  padding: 14px 0 76px;
  background: #fffaf8;
}

.teacher-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.teacher-profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1040px;
  min-width: 0;
  padding: 0 0 36px;
  margin: 0 0 36px;
  border-bottom: 1px solid var(--line);
}

.teacher-profile-wide-photo {
  grid-template-columns: 320px minmax(0, 1fr);
}

.teacher-photo {
  width: 220px;
  height: 275px;
  margin: 0;
  overflow: hidden;
  background: #edf1ee;
  border: 1px solid rgba(238, 111, 103, 0.14);
  border-radius: 7px;
}

.teacher-profile-wide-photo .teacher-photo {
  width: 320px;
  height: 240px;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teacher-profile:nth-child(1) .teacher-photo img {
  object-position: center 40%;
}

.teacher-profile:nth-child(2) .teacher-photo img {
  object-position: 77% center;
}

.teacher-profile:nth-child(3) .teacher-photo img {
  object-position: center 35%;
}

.teacher-profile:nth-child(4) .teacher-photo img {
  object-position: 60% center;
}

.teacher-copy {
  min-width: 0;
  padding: 4px 0 0;
}

.teacher-name {
  margin: 0;
  color: var(--ink);
  display: grid;
  gap: 5px;
  line-height: 1.2;
}

.teacher-name-kana {
  font-size: 1.65rem;
  font-weight: 850;
}

.teacher-name-chinese {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  color: var(--accent-blue);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.teacher-name-chinese ruby {
  ruby-position: over;
}

.teacher-name-chinese rt {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.56em;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.teacher-name-latin {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.teacher-label {
  margin: 8px 0 0;
  color: var(--accent-blue);
  font-size: 0.87rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.teacher-messages {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.teacher-message {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.teacher-message h4 {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.teacher-message p {
  margin: 0;
}

.teacher-message-chinese {
  padding: 15px 18px;
  background: #ffffff;
  border-left: 2px solid var(--accent);
}

.teachers-cta-section {
  padding: 0 0 88px;
  background: #fffaf8;
}

.teachers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 30px 42px;
  background: #ffffff;
  border: 1px solid rgba(238, 111, 103, 0.35);
  border-radius: 8px;
}

.teachers-cta h2 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.4;
}

.teachers-cta p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.teachers-cta .button {
  flex: 0 0 auto;
  min-width: 252px;
}

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

@media (max-width: 1120px) {
  .teachers-page .site-nav {
    display: none;
  }

  .teachers-page .nav-toggle,
  .teachers-page .mobile-nav {
    display: flex;
  }

  .teacher-profile {
    grid-template-columns: 172px minmax(0, 1fr);
    gap: 30px;
  }

  .teacher-profile-wide-photo {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .teacher-photo {
    width: 172px;
    height: 215px;
  }

  .teacher-profile-wide-photo .teacher-photo {
    width: 260px;
    height: 195px;
  }
}

@media (max-width: 760px) {
  .teachers-page .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .teachers-page .header-cta {
    display: none;
  }

  .teachers-page .logo-mark {
    width: 34px;
    height: 34px;
  }

  .teachers-page .brand strong {
    font-size: 0.95rem;
  }

  .teachers-intro {
    padding: 52px 0 30px;
  }

  .teachers-intro h1 {
    font-size: 2.25rem;
  }

  .teachers-intro p {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .teachers-intro p br {
    display: none;
  }

  .teacher-introduction {
    padding: 20px 0 58px;
  }

  .teacher-list {
    grid-template-columns: 1fr;
  }

  .teacher-profile {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 24px;
  }

  .teacher-profile-wide-photo {
    grid-template-columns: 172px minmax(0, 1fr);
  }

  .teacher-photo {
    width: 136px;
    height: 170px;
  }

  .teacher-profile-wide-photo .teacher-photo {
    width: 172px;
    height: 129px;
  }

  .teacher-copy {
    padding-top: 0;
  }

  .teacher-name {
    gap: 4px;
  }

  .teacher-name-kana {
    font-size: 1.22rem;
  }

  .teacher-name-chinese {
    font-size: 0.86rem;
  }

  .teacher-label {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .teacher-messages {
    gap: 12px;
    margin-top: 16px;
  }

  .teacher-message {
    font-size: 0.84rem;
  }

  .teacher-message-chinese {
    padding: 13px 14px;
  }

  .teachers-cta-section {
    padding-bottom: 64px;
  }

  .teachers-cta {
    display: block;
    padding: 28px 22px;
  }

  .teachers-cta h2 {
    font-size: 1.22rem;
  }

  .teachers-cta .button {
    width: 100%;
    min-width: 0;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teachers-page * {
    scroll-behavior: auto;
  }
}
