:root {
  --color-white: #ffffff;
  --color-cream: #fff6d7;
  --color-navy: #243047;
  --color-blue: #78b9e5;
  --color-sky: #5ec8f2;
  --color-yellow: #ffe15a;
  --color-pink: #ff7f9c;
  --color-green: #9be77d;
  --color-orange: #ffad4d;
  --color-muted: #69748a;
  --shadow-card: 10px 10px 0 #ffd21f;
  --radius-card: 24px;
  --radius-button: 999px;
  --max-width: 1160px;
  --section-pc: 112px;
  --section-sp: 72px;
  --grid-line: rgba(94, 200, 242, 0.16);
  --grid-size: 28px;
  --line-strong: 1.5px solid var(--color-navy);
  --line-soft: 1px solid rgba(36, 48, 71, 0.14);
  --shadow-card: 8px 8px 0 #ffd21f;
  --shadow-yellow-soft: 5px 5px 0 #ffd21f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--color-navy);
  background:
    linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px),
    linear-gradient(var(--grid-line) 0 1px, transparent 1px),
    var(--color-white);
  background-size: var(--grid-size) var(--grid-size);
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: var(--line-soft);
  border-radius: var(--radius-button);
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.logo,
.site-nav,
.hero__actions,
.hero__badges,
.teacher-card ul,
.teacher-profile__tags {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-weight: 800;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--color-navy);
  background: var(--color-yellow);
  border: var(--line-strong);
  border-radius: 50%;
}

.site-nav {
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: var(--line-strong);
  border-radius: var(--radius-button);
  font-weight: 800;
  line-height: 1.3;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button--primary {
  background: var(--color-pink);
  box-shadow: none;
  color: var(--color-white);
}

.button--secondary {
  background: var(--color-white);
  box-shadow: var(--shadow-yellow-soft);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.section,
.hero,
.final-cta {
  padding: var(--section-pc) 20px;
}

.hero {
  min-height: calc(100vh - 86px);
  padding-top: 64px;
}

.hero__inner,
.split-layout,
.section-heading,
.service__cards,
.flow__list,
.teacher-profile,
.voice-grid,
.price-grid,
.faq__list,
.final-cta__inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-pink);
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span {
  display: inline;
  color: var(--color-yellow);
  text-shadow:
    2px 0 var(--color-navy),
    -2px 0 var(--color-navy),
    0 2px var(--color-navy),
    0 -2px var(--color-navy);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.45;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__badges {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__badges li,
.teacher-profile__tags li {
  padding: 7px 13px;
  background: var(--color-cream);
  border: 1px solid rgba(36, 48, 71, 0.15);
  border-radius: var(--radius-button);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero__visual,
.strengths__visual {
  position: relative;
}

.photo-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: var(--line-strong);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
}

.photo-card--hero {
  transform: rotate(2deg);
}

.photo-card--tilt {
  transform: rotate(-2deg);
}

.shape {
  position: absolute;
  pointer-events: none;
  animation: floaty 5s ease-in-out infinite;
}

.shape--spark {
  right: -18px;
  top: 28px;
  width: 90px;
}

.shape--flower {
  left: -26px;
  bottom: 52px;
  width: 78px;
  animation-delay: 800ms;
}

.sticker {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  padding: 10px 18px;
  background: var(--color-yellow);
  border: var(--line-strong);
  border-radius: var(--radius-button);
  font-weight: 900;
  box-shadow: var(--shadow-yellow-soft);
}

.sticker--hero {
  right: 12px;
  bottom: -18px;
  transform: rotate(-4deg);
}

.sticker--pink {
  left: 28px;
  bottom: -16px;
  background: #ffd4df;
  transform: rotate(3deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
  text-align: center;
}

.section-heading--left {
  max-width: var(--max-width);
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--color-muted);
}

.service__cards,
.voice-grid,
.price-grid {
  display: grid;
  gap: 26px;
}

.service__cards {
  grid-template-columns: repeat(3, 1fr);
}

.note-card,
.price-card,
.faq__list {
  background: var(--color-white);
  border: var(--line-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.service-card {
  min-height: 300px;
  padding: 30px;
  background: #fff1c2;
}

.service-card--blue {
  background: #ddf5ff;
}

.service-card--green {
  background: #e6ffd8;
}

.service-card img {
  width: 58px;
  margin-bottom: 22px;
}

.section-cream {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 127, 156, 0.14), transparent 24%),
    var(--color-cream);
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  list-style: none;
}

.flow__list li {
  position: relative;
  padding: 26px;
  background: var(--color-white);
  border: var(--line-strong);
  border-radius: var(--radius-card);
}

.flow__list span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  background: var(--color-pink);
  border: var(--line-strong);
  border-radius: 50%;
  color: var(--color-white);
  font-weight: 900;
}

.flow__list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.point-list {
  display: grid;
  gap: 18px;
}

.point-list article {
  padding: 22px 24px;
  background: var(--color-white);
  border: 1.5px dashed rgba(36, 48, 71, 0.22);
  border-radius: 20px;
}

.point-list p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.section-blue {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 225, 90, 0.48), transparent 22%),
    var(--color-blue);
}

.teacher-profile {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: stretch;
  padding: 26px;
  background: var(--color-white);
  border: var(--line-strong);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.teacher-profile::before {
  content: "#teacher";
  position: absolute;
  right: 32px;
  top: -22px;
  padding: 7px 18px;
  color: var(--color-navy);
  background: #ffd4df;
  border: var(--line-strong);
  border-radius: var(--radius-button);
  font-weight: 900;
  transform: rotate(3deg);
}

.teacher-profile__photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #ddf5ff;
  border: var(--line-strong);
  border-radius: 28px;
  transform: rotate(-1.5deg);
}

.teacher-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-profile__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px;
}

.teacher-card__subject {
  margin-bottom: 6px;
  color: var(--color-pink);
  font-weight: 900;
}

.teacher-profile__lead {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.teacher-profile__tags {
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.teacher-profile__note {
  margin-top: 26px;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(94, 200, 242, 0.16) 0 1px, transparent 1px),
    linear-gradient(rgba(94, 200, 242, 0.16) 0 1px, transparent 1px),
    var(--color-cream);
  background-size: 22px 22px;
  border: 1.5px dashed rgba(36, 48, 71, 0.24);
  border-radius: 20px;
}

.teacher-profile__note strong {
  display: block;
  margin-bottom: 6px;
}

.teacher-profile__note p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.teacher-profile__sticker {
  right: -12px;
  bottom: 22px;
  background: var(--color-yellow);
  transform: rotate(4deg);
}

.voices {
  background:
    linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px),
    linear-gradient(var(--grid-line) 0 1px, transparent 1px),
    var(--color-white);
  background-size: var(--grid-size) var(--grid-size);
}

.voice-grid {
  grid-template-columns: 1fr 1.1fr 1fr;
}

.voice-card {
  position: relative;
  padding: 28px;
  background: #ffe8ef;
  border: var(--line-strong);
  border-radius: 28px 28px 28px 8px;
}

.voice-card--yellow {
  background: #fff0a8;
  transform: rotate(-1deg);
}

.voice-card p {
  font-weight: 700;
}

.voice-card span {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.price-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.price-card {
  padding: 34px;
}

.price-card--plain {
  box-shadow: none;
}

.price-card__label {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--color-yellow);
  border: var(--line-strong);
  border-radius: var(--radius-button);
  font-weight: 900;
}

.price-card__price {
  margin: 8px 0 16px;
  color: var(--color-pink);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.price-note {
  width: min(var(--max-width), 100%);
  margin: 26px auto 0;
  color: var(--color-muted);
  text-align: center;
}

.faq__list {
  max-width: 900px;
  overflow: hidden;
  box-shadow: none;
}

.faq-item + .faq-item {
  border-top: 1px dashed rgba(36, 48, 71, 0.24);
}

.faq-item button {
  position: relative;
  width: 100%;
  padding: 22px 58px 22px 26px;
  color: var(--color-navy);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  color: var(--color-pink);
  font-size: 1.8rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq-item__answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 26px;
  color: var(--color-muted);
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-item__answer p {
  padding-bottom: 24px;
}

.final-cta {
  background:
    radial-gradient(circle at 16% 24%, rgba(94, 200, 242, 0.4), transparent 22%),
    radial-gradient(circle at 84% 78%, rgba(255, 127, 156, 0.22), transparent 20%),
    var(--color-cream);
}

.final-cta__inner {
  max-width: 900px;
  padding: 56px;
  text-align: center;
  background: var(--color-white);
  border: var(--line-strong);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.final-cta .hero__actions {
  justify-content: center;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 20px 96px;
  color: var(--color-muted);
  background:
    linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px),
    linear-gradient(var(--grid-line) 0 1px, transparent 1px),
    var(--color-white);
  background-size: var(--grid-size) var(--grid-size);
}

.site-footer span {
  color: var(--color-navy);
  font-weight: 900;
}

.footer-top-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-navy);
  background: var(--color-yellow);
  border: var(--line-strong);
  border-radius: 50%;
  box-shadow: none;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-top-button:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: none;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: var(--line-soft);
  border-radius: 20px;
  box-shadow: none;
}

.mobile-cta a {
  flex: 1;
  padding: 12px 10px;
  border: var(--line-strong);
  border-radius: var(--radius-button);
  font-weight: 900;
  text-align: center;
}

.mobile-cta a:first-child {
  background: var(--color-white);
}

.mobile-cta a:last-child {
  color: var(--color-white);
  background: var(--color-pink);
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

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

  .hero__inner,
  .split-layout,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service__cards,
  .flow__list,
  .voice-grid {
    grid-template-columns: 1fr;
  }

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

  .teacher-profile__photo {
    min-height: 320px;
    transform: none;
  }

  .voice-card--yellow,
  .photo-card--hero,
  .photo-card--tilt {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
  }

  .site-header .button {
    display: none;
  }

  .logo__text {
    font-size: 0.95rem;
  }

  .section,
  .hero,
  .final-cta {
    padding: var(--section-sp) 16px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    width: 100%;
  }

  .service-card,
  .price-card,
  .final-cta__inner {
    padding: 24px;
  }

  .flow__list li {
    padding: 22px;
  }

  .shape {
    display: none;
  }

  .sticker {
    position: static;
    margin-top: 14px;
    transform: none;
  }

  .site-footer {
    flex-direction: row;
  }

  .mobile-cta {
    display: flex;
  }
}

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


/* Campus style side menu */
.menu-toggle {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 60;
  display: none;
  width: 58px;
  height: 58px;
  padding: 12px;
  background: var(--color-yellow);
  border: var(--line-strong);
  border-radius: 18px;
  cursor: pointer;
}

.menu-toggle span:not(.menu-toggle__text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-navy);
}

.menu-toggle__text {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(36, 48, 71, 0.18);
}

.campus-menu {
  position: fixed;
  left: 28px;
  top: 118px;
  z-index: 50;
  width: 270px;
  max-height: calc(100vh - 144px);
  overflow: auto;
  background: var(--color-white);
  border: var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.campus-menu__head {
  padding: 30px 26px 24px;
  background: var(--color-cream);
  border-bottom: var(--line-strong);
}

.campus-menu__head p {
  margin: 0 0 8px;
  color: var(--color-yellow);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 1.5px 0 var(--color-navy), -1.5px 0 var(--color-navy), 0 1.5px var(--color-navy), 0 -1.5px var(--color-navy);
}

.campus-menu__head span {
  font-size: 0.92rem;
  font-weight: 800;
}

.campus-menu__nav {
  display: grid;
  padding: 20px 24px 18px;
}

.campus-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 173, 77, 0.65);
}

.campus-menu__nav a::before {
  content: "?";
  color: var(--color-pink);
  font-size: 0.82rem;
}

.campus-menu__nav strong {
  font-size: 1rem;
  line-height: 1;
}

.campus-menu__nav span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.campus-menu__social {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 26px;
}

.campus-menu__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.campus-menu__social img {
  width: 100%;
  height: 100%;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card--hero {
  aspect-ratio: 1.24 / 1;
  border-radius: 34px 34px 150px 34px;
  transform: rotate(1.4deg);
}

.photo-card--hero img {
  object-position: center center;
}

.photo-card--tilt {
  aspect-ratio: 4 / 3;
}

@media (min-width: 1180px) {
  .site-header,
  main,
  .site-footer {
    margin-left: 326px;
  }

  .site-header {
    width: min(var(--max-width), calc(100% - 366px));
  }
}

@media (max-width: 1179px) {
  .campus-menu {
    left: auto;
    right: 16px;
    top: 86px;
    width: min(330px, calc(100vw - 32px));
    max-height: calc(100vh - 110px);
    transform: translateX(calc(100% + 28px));
    transition: transform 220ms ease;
  }

  .campus-menu.is-open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  .site-header .site-nav,
  .site-header > .button {
    display: none;
  }
}

/* Left menu is the primary navigation on every viewport. */
.site-header .site-nav {
  display: none;
}


/* Compact desktop side menu polish */
.campus-menu {
  top: 104px;
  max-height: calc(100vh - 124px);
}

.campus-menu__head {
  padding: 24px 24px 18px;
}

.campus-menu__nav {
  padding: 14px 24px 10px;
}

.campus-menu__nav a {
  padding: 9px 0;
}

.campus-menu__nav a::before {
  content: "\25C7";
}

.campus-menu__social {
  padding: 12px 24px 20px;
}


/* Redesign: original side nav, full-bleed hero, photo cards, teacher character, richer CTA */
.site-header { justify-content: flex-start; width: min(900px, calc(100% - 40px)); background: rgba(255, 255, 255, 0.76); }
.site-header > .button, .site-header .site-nav { display: none !important; }
.campus-menu { top: 96px; width: 248px; padding: 14px; background: rgba(255,255,255,.9); border-radius: 28px; box-shadow: 8px 8px 0 #ffd21f; backdrop-filter: blur(16px); }
.campus-menu__head { display: none; }
.campus-menu__logo { display: flex; align-items: center; gap: 12px; padding: 10px 10px 16px; border-bottom: 1px dashed rgba(36,48,71,.18); }
.campus-menu__logo-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--color-yellow); border: var(--line-strong); border-radius: 50%; font-weight: 900; }
.campus-menu__logo strong, .campus-menu__logo small { display: block; line-height: 1.2; }
.campus-menu__logo small { color: var(--color-muted); font-size: .72rem; font-weight: 800; }
.campus-menu__nav { gap: 8px; padding: 14px 0 10px; }
.campus-menu__nav a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 11px 13px; border: 0; border-radius: 16px; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.campus-menu__nav a::before { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px; background: var(--color-pink); border-radius: 50%; transform: translateY(-50%); opacity: 0; }
.campus-menu__nav a:hover, .campus-menu__nav a:focus-visible { color: var(--color-navy); background: #ddf5ff; transform: translateX(4px); }
.campus-menu__nav a:hover::before, .campus-menu__nav a:focus-visible::before { opacity: 1; }
.campus-menu__nav a:hover span, .campus-menu__nav a:focus-visible span { color: var(--color-navy); }
.campus-menu__trial { background: #ffd4df; border: 1px solid rgba(36,48,71,.14) !important; }
.campus-menu__social { padding: 10px 8px 2px; }
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 90px; background: var(--color-navy); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.76) 36%, rgba(255,255,255,.22) 66%, rgba(255,255,255,.08) 100%), linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px), linear-gradient(var(--grid-line) 0 1px, transparent 1px); background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size); pointer-events: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero__inner { position: relative; z-index: 1; display: block; }
.hero__content { max-width: 640px; }
h1 { line-height: 1.08; }
.service-card { min-height: 360px; display: flex; flex-direction: column; }
.service-card__photo { width: 100% !important; height: 148px; margin: 0 0 22px !important; border: var(--line-strong); border-radius: 20px; object-fit: cover; }
.teacher-profile { grid-template-columns: 1.05fr .95fr; overflow: visible; }
.teacher-profile::before { display: none; }
.teacher-profile__body { padding: 32px 24px; }
.teacher-profile__character { position: relative; display: grid; place-items: end center; min-height: 440px; background: radial-gradient(circle at 50% 30%, rgba(255,225,90,.42), transparent 34%), #ddf5ff; border: var(--line-strong); border-radius: 28px; overflow: hidden; }
.teacher-profile__character img { width: min(92%, 420px); align-self: end; filter: drop-shadow(0 10px 0 rgba(255,210,31,.85)); }
.teacher-profile__badge { display: inline-flex; width: fit-content; margin-top: 22px; padding: 10px 18px; background: var(--color-yellow); border: var(--line-strong); border-radius: var(--radius-button); font-weight: 900; box-shadow: var(--shadow-yellow-soft); transform: rotate(-2deg); }
.teacher-profile__sticker, .teacher-profile__photo { display: none; }
.voice-card { padding-top: 76px; }
.voice-card__avatar { position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 42px; height: 42px; background: var(--color-white); border: var(--line-strong); border-radius: 50%; }
.voice-card__avatar::before { content: ""; width: 14px; height: 14px; background: var(--color-pink); border-radius: 50%; transform: translateY(-6px); }
.voice-card__avatar::after { content: ""; position: absolute; bottom: 8px; width: 22px; height: 13px; background: var(--color-blue); border-radius: 999px 999px 6px 6px; }
.final-cta { color: var(--color-white); background: radial-gradient(circle at 90% 10%, rgba(255,225,90,.3), transparent 12%), radial-gradient(circle at 12% 86%, rgba(255,127,156,.22), transparent 10%), #223153; }
.final-cta__inner { max-width: var(--max-width); display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; padding: 0; text-align: left; background: transparent; border: 0; box-shadow: none; }
.final-cta__copy h2 { color: var(--color-white); }
.final-cta__copy h2 span { display: inline-block; padding: 0 12px 6px; color: var(--color-navy); background: var(--color-yellow); border-radius: 999px; }
.final-cta__copy p:not(.eyebrow), .final-cta__checks { color: rgba(255,255,255,.78); }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 18px; }
.final-cta__actions .button--primary { background: var(--color-blue); color: var(--color-navy); }
.final-cta__checks { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; list-style: none; font-weight: 800; }
.final-cta__checks li::before { content: "? "; }
.final-cta__contact { position: relative; padding: 34px; color: var(--color-navy); background: var(--color-cream); border-radius: 28px; box-shadow: var(--shadow-card); }
.final-cta__tape { position: absolute; left: 34px; top: -14px; width: 88px; height: 22px; background: var(--color-pink); transform: rotate(-3deg); }
.final-cta__phone { margin: 18px 0 0; font-size: 2rem; font-weight: 900; line-height: 1; }
.final-cta__hours { color: var(--color-muted); font-size: .9rem; }
.final-cta__line { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; margin-top: 22px; padding: 16px; background: #e9fff0; border: var(--line-strong); border-radius: 16px; }
.final-cta__line img { width: 36px; }
.final-cta__line strong, .final-cta__line span { display: block; }
.final-cta__line span, .final-cta__status { color: var(--color-muted); font-size: .86rem; font-weight: 800; }
.final-cta__line a { padding: 9px 14px; background: var(--color-white); border: var(--line-strong); border-radius: var(--radius-button); font-weight: 900; white-space: nowrap; }
.final-cta__status { margin: 18px 0 0; }
.final-cta__status span { display: inline-block; width: 11px; height: 11px; margin-right: 8px; background: #35d477; border-radius: 50%; }
@media (min-width: 1180px) { .site-header, main, .site-footer { margin-left: 288px; } .site-header { width: min(900px, calc(100% - 328px)); } }
@media (max-width: 1179px) { .hero { padding-top: 120px; } .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.5)), linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px), linear-gradient(var(--grid-line) 0 1px, transparent 1px); } }
@media (max-width: 900px) { .final-cta__inner, .teacher-profile { grid-template-columns: 1fr; } .teacher-profile__character { min-height: 320px; } }
@media (max-width: 640px) { .hero { min-height: 100vh; } .hero__bg { object-position: 62% center; } .final-cta__line { grid-template-columns: 38px 1fr; } .final-cta__line a { grid-column: 1 / -1; text-align: center; } }

/* Hero heading fixed line breaks */
.hero h1 span { display: block; }
.hero h1 br { display: none; }

/* CTA text and check markers polish */
.final-cta__actions .button--secondary { color: var(--color-navy); }
.final-cta__checks li { display: inline-flex; align-items: center; gap: 7px; }
.final-cta__checks li::before { content: ""; width: 7px; height: 7px; background: var(--color-pink); border-radius: 50%; flex: 0 0 auto; }

/* Side nav hover: no dot marker */
.campus-menu__nav a::before,
.campus-menu__nav a:hover::before,
.campus-menu__nav a:focus-visible::before {
  display: none;
  opacity: 0;
}

/* Hide duplicate top logo over hero */
.site-header {
  display: none;
}

@media (min-width: 1180px) {
  main,
  .site-footer {
    margin-left: 288px;
  }
}

/* Teacher character image replacement */
.teacher-profile { align-items: stretch; }
.teacher-profile__body { padding: 34px 24px; }
.teacher-profile__character { min-height: 0; aspect-ratio: 1 / 1; place-items: center; background: transparent; border-radius: 28px; }
.teacher-profile__character img { width: 100%; height: 100%; object-fit: contain; align-self: center; filter: none; }
.teacher-profile__character .teacher-profile__badge { position: absolute; left: 22px; bottom: 22px; margin-top: 0; z-index: 2; }
.teacher-profile__body > .teacher-profile__badge { display: none; }
@media (max-width: 900px) { .teacher-profile__character { min-height: 0; max-width: 520px; width: 100%; margin-inline: auto; } }

/* Teacher character fit adjustment */
.teacher-profile { grid-template-columns: 1fr 0.9fr; }
.teacher-profile__character { background: var(--color-white); padding: 22px; }
.teacher-profile__character img { width: 86%; height: 86%; object-fit: contain; }
.teacher-profile__character .teacher-profile__badge { left: 24px; bottom: 24px; }
@media (max-width: 900px) { .teacher-profile { grid-template-columns: 1fr; } .teacher-profile__character img { width: 82%; height: 82%; } }

/* Hero image and headline adjustment for stu07 */
.hero__bg { object-position: 67% center; }
.hero::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.84) 34%, rgba(255,255,255,.34) 64%, rgba(255,255,255,.1) 100%),
    linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px),
    linear-gradient(var(--grid-line) 0 1px, transparent 1px);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size);
}
.hero__content { max-width: 620px; }
.hero h1 { font-size: clamp(3rem, 5.25vw, 5.6rem); line-height: 1.03; max-width: 720px; }
.hero h1 br { display: block; }
.hero h1 span { display: inline-block; white-space: nowrap; }
.hero__lead { max-width: 590px; }
@media (max-width: 900px) {
  .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.64)), linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px), linear-gradient(var(--grid-line) 0 1px, transparent 1px); }
  .hero__bg { object-position: 62% center; }
  .hero h1 { font-size: 3rem; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 2.55rem; }
}

/* Fixed hero headline line layout */
.hero-title {
  display: grid;
  gap: 0.02em;
  width: max-content;
  max-width: min(720px, 100%);
}
.hero-title__line {
  display: block;
  white-space: nowrap;
}
.hero-title__accent {
  color: var(--color-yellow);
  text-shadow: 2px 0 var(--color-navy), -2px 0 var(--color-navy), 0 2px var(--color-navy), 0 -2px var(--color-navy);
}
.hero-title span:not(.hero-title__accent) {
  color: var(--color-navy);
  text-shadow: none;
}
@media (max-width: 760px) {
  .hero-title { width: 100%; }
  .hero-title__line { white-space: normal; }
}

/* Voice card author layout */
.voice-card { padding-top: 28px; display: flex; flex-direction: column; min-height: 236px; }
.voice-card p { flex: 1; }
.voice-card__author { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px dashed rgba(36, 48, 71, 0.22); }
.voice-card__author span { color: var(--color-muted); font-size: 0.9rem; font-weight: 900; }
.voice-card__avatar { position: relative; left: auto; top: auto; flex: 0 0 auto; }

/* Teacher character bottom alignment */
.teacher-profile__character {
  place-items: end center;
  padding: 18px 18px 0;
}
.teacher-profile__character img {
  width: 96%;
  height: auto;
  align-self: end;
  object-fit: contain;
  object-position: center bottom;
}
.teacher-profile__character .teacher-profile__badge {
  left: 24px;
  bottom: 20px;
}
@media (max-width: 900px) {
  .teacher-profile__character img { width: 92%; }
}

/* Teacher character horizontal fit */
.teacher-profile__character img { width: 91%; }

/* Footer redesign */
.site-footer {
  display: block;
  padding: 72px 20px 34px;
  color: var(--color-navy);
  background: var(--color-white);
}
.footer-grid {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr .9fr;
  gap: 64px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}
.footer-logo__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--color-navy);
  background: var(--color-blue);
  border: var(--line-strong);
  border-radius: 50%;
  font-size: .82rem;
}
.footer-logo span span {
  color: var(--color-pink);
}
.footer-brand p {
  max-width: 290px;
  margin: 26px 0 22px;
  color: var(--color-muted);
  font-weight: 700;
  line-height: 1.9;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: var(--line-strong);
  border-radius: 50%;
  overflow: hidden;
  font-size: .78rem;
  font-weight: 900;
}
.footer-social img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.footer-social__ig { background: #ff8aa8; }
.footer-social__yt { background: #ffd45a; }
.footer-social__x { background: #78b9e5; }
.footer-social__line { background: #9be77d; }
.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}
.footer-column h3 {
  margin-bottom: 10px;
  color: #5a6686;
  font-size: .82rem;
  letter-spacing: .16em;
}
.footer-column a {
  color: var(--color-navy);
  font-weight: 700;
}
.footer-column a:hover {
  color: var(--color-pink);
}
.footer-bottom {
  width: min(var(--max-width), 100%);
  margin: 44px auto 0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px dashed rgba(36, 48, 71, .22);
  color: var(--color-muted);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .site-footer { padding-bottom: 112px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
