:root {
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #ffffff;
}

.site-mirror {
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.site-mirror__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

:root {
  --queen-green: #454d43;
  --queen-deep-green: #172522;
  --queen-cream: #f5f1e8;
  --queen-gold: #f8c429;
  --queen-paper: #fffdf8;
  --queen-muted: #64706c;
}

.region-site {
  min-height: 100vh;
  background: var(--queen-paper);
  color: var(--queen-deep-green);
  font-family:
    Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

.region-site a {
  color: inherit;
  text-decoration: none;
}

.region-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: rgb(69 77 67 / 94%);
  color: #fff;
  backdrop-filter: blur(14px);
}

.region-header__inner {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.region-header__brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.region-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.region-header__consult {
  display: inline-flex;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 4px;
  align-items: center;
  background: var(--queen-gold);
  color: var(--queen-deep-green) !important;
}

.family-hero {
  overflow: hidden;
  background: var(--queen-green);
  color: #fff;
}

.family-hero__inner {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 110px 0 124px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: 86px;
}

.family-hero__story {
  position: relative;
  z-index: 1;
}

.family-hero__eyebrow,
.local-tutoring__eyebrow,
.nationwide-grid__eyebrow {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 12px;
  color: var(--queen-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.family-hero__eyebrow::before,
.local-tutoring__eyebrow::before,
.nationwide-grid__eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.family-hero h1 {
  max-width: 720px;
  margin: 0 0 58px;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.family-hero__copy {
  max-width: 680px;
  color: #e0e4df;
  font-size: 16px;
  line-height: 2;
  word-break: keep-all;
}

.family-hero__copy .family-story__block {
  margin: 0 0 54px;
}

.family-hero__copy strong {
  color: #fff;
  font-weight: 900;
}

.family-hero__copy .family-story__highlight {
  color: var(--queen-gold);
}

.family-story__promise {
  padding: 24px 0 24px 26px;
  border-left: 3px solid var(--queen-gold);
  color: #fff;
  font-size: 22px;
  line-height: 1.65;
}

.family-story__actions {
  display: flex;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.family-story__button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
}

.family-story__button--light {
  border-color: #fff;
  background: #fff;
  color: var(--queen-deep-green) !important;
}

.family-hero__photo {
  position: sticky;
  top: 106px;
  margin: 0;
}

.family-hero__photo::before {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 160px;
  height: 160px;
  border: 1px solid rgb(248 196 41 / 55%);
  content: "";
}

.family-hero__photo img {
  position: relative;
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.family-hero__photo figcaption {
  margin-top: 14px;
  color: #cbd1c9;
  font-size: 12px;
  line-height: 1.6;
}

.family-hero__teacher {
  margin: 38px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #e0e4df;
  font-size: 15px;
  line-height: 1.9;
}

.family-hero__teacher strong {
  color: #fff;
  font-size: 18px;
}

.local-tutoring,
.nationwide-grid {
  position: relative;
  overflow: hidden;
  padding: 118px 32px 126px;
  background: var(--queen-cream);
}

.local-tutoring::before,
.nationwide-grid::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgb(69 77 67 / 15%);
  border-radius: 50%;
  content: "";
}

.local-tutoring__inner,
.nationwide-grid__inner {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.local-tutoring__eyebrow,
.nationwide-grid__eyebrow {
  color: #8c7834;
}

.local-tutoring__heading,
.nationwide-grid__heading {
  display: grid;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(23 37 34 / 20%);
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.65fr);
  align-items: end;
  gap: 72px;
}

.local-tutoring h2,
.nationwide-grid h2 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.local-tutoring__intro,
.nationwide-grid__intro {
  margin: 0;
  color: #52605c;
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
}

.subject-list {
  display: flex;
  margin: 34px 0 52px;
  flex-wrap: wrap;
  gap: 10px;
}

.subject-list span,
.area-list span {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgb(69 77 67 / 28%);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--queen-green);
  font-size: 14px;
  font-weight: 800;
}

.local-details {
  display: grid;
  margin-top: 18px;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
}

.local-panel {
  padding: 34px;
  border: 1px solid rgb(69 77 67 / 16%);
  background: rgb(255 255 255 / 72%);
}

.local-panel__label {
  display: block;
  margin-bottom: 24px;
  color: #988340;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.local-panel h3 {
  margin: 0 0 22px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-list span {
  min-height: 34px;
  padding: 0 13px;
  background: #f2efe6;
  font-size: 12px;
}

.school-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.school-list li {
  padding: 15px 16px;
  background: #eef0e9;
  color: #42504b;
  font-size: 14px;
  font-weight: 700;
}

.landing-cta {
  display: flex;
  margin-top: 54px;
  padding: 36px 38px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--queen-green);
  color: #fff;
}

.landing-cta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.landing-cta p {
  margin: 0;
  color: #d9ddd7;
  font-size: 14px;
  line-height: 1.65;
}

.landing-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.landing-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
}

.landing-button--gold {
  border-color: var(--queen-gold);
  background: var(--queen-gold);
  color: var(--queen-deep-green) !important;
}

.nationwide-cards {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nation-card {
  position: relative;
  display: flex;
  min-height: 258px;
  padding: 28px;
  border: 1px solid rgb(69 77 67 / 16%);
  flex-direction: column;
  background: rgb(255 255 255 / 72%);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.nation-card:hover {
  border-color: rgb(69 77 67 / 46%);
  background: #fff;
  transform: translateY(-5px);
}

.nation-card__index {
  margin-bottom: 30px;
  color: #988340;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nation-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nation-card p {
  margin: 0;
  color: var(--queen-muted);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

.nation-card__link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--queen-green);
  font-size: 13px;
  font-weight: 900;
}

.region-footer {
  padding: 34px 24px;
  background: var(--queen-deep-green);
  color: #acb4b0;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .family-hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .family-hero__photo {
    position: relative;
    top: auto;
    max-width: 680px;
  }

  .local-tutoring__heading,
  .nationwide-grid__heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .local-details {
    grid-template-columns: 1fr;
  }

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

  .landing-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .region-header__inner {
    width: min(100% - 36px, 1180px);
    min-height: 64px;
  }

  .region-header__nav > a:not(.region-header__consult) {
    display: none;
  }

  .family-hero__inner {
    width: min(100% - 40px, 1180px);
    padding: 64px 0 72px;
    gap: 44px;
  }

  .family-hero h1 {
    margin-bottom: 44px;
    font-size: 43px;
  }

  .family-hero__copy {
    font-size: 15px;
    line-height: 1.85;
  }

  .family-hero__copy .family-story__block {
    margin-bottom: 42px;
  }

  .family-story__promise {
    padding: 20px 0 20px 20px;
    font-size: 19px;
  }

  .family-story__actions {
    flex-direction: column;
  }

  .family-story__button {
    width: 100%;
  }

  .family-hero__photo::before {
    top: -16px;
    right: -12px;
  }

  .local-tutoring,
  .nationwide-grid {
    padding: 76px 20px 84px;
  }

  .local-tutoring h2,
  .nationwide-grid h2 {
    font-size: 43px;
  }

  .subject-list {
    margin-bottom: 38px;
  }

  .local-panel {
    padding: 28px 22px;
  }

  .school-list,
  .nationwide-cards {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 30px 24px;
  }

  .landing-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .landing-button {
    width: 100%;
  }
}
