:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5f685f;
  --paper: #f8f4ec;
  --panel: #fffaf2;
  --line: #d9d0c2;
  --green: #334c3d;
  --green-deep: #22352a;
  --burgundy: #8b3f43;
  --gold: #b98a46;
  --shadow: 0 18px 55px rgba(34, 53, 42, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(30px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 208, 194, 0.85);
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fffaf2;
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.77rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: #ebe3d6;
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 32, 27, 0.82) 0%, rgba(23, 32, 27, 0.68) 42%, rgba(23, 32, 27, 0.12) 78%),
    linear-gradient(0deg, rgba(23, 32, 27, 0.66), transparent 42%);
  content: "";
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  width: min(720px, calc(100% - 72px));
  margin: 0 0 clamp(46px, 10vw, 92px) clamp(36px, 8vw, 96px);
  color: #fffaf2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c983;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
}

p,
a {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

p {
  line-height: 1.7;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #17201b;
}

.button.secondary {
  border-color: rgba(255, 250, 242, 0.5);
  color: #fffaf2;
}

.button.outline {
  margin-top: 10px;
  border-color: var(--green);
  color: var(--green);
}

.button.full {
  width: 100%;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.proof-bar div {
  min-height: 126px;
  padding: 28px clamp(18px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.proof-bar div:last-child {
  border-right: 0;
}

.proof-bar strong,
.proof-bar span {
  display: block;
}

.proof-bar strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.proof-bar span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(30px, 6vw, 88px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.split > div > p:not(.eyebrow),
.local-profile > p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.program-grid article,
.teacher-card,
.timeline div,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 35px rgba(34, 53, 42, 0.08);
}

.program-grid article {
  min-height: 248px;
  padding: 24px;
}

.program-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e8dccb;
  color: var(--burgundy);
  font-size: 1.35rem;
}

.program-grid p,
.teacher-card p,
.timeline p {
  color: var(--muted);
}

.teachers {
  background: #ede7dc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.teacher-card {
  padding: clamp(24px, 4vw, 38px);
}

.role {
  margin-top: -4px;
  color: var(--burgundy) !important;
  font-weight: 800;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 72px);
  background: var(--green-deep);
  color: #fffaf2;
}

.approach .eyebrow {
  color: #f3c983;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.timeline div {
  min-height: 202px;
  padding: 24px;
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(255, 250, 242, 0.18);
  box-shadow: none;
}

.timeline span {
  display: inline-block;
  margin-bottom: 20px;
  color: #f3c983;
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 250, 242, 0.78);
}

.local-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.profile-points {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-points span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--green);
  font-weight: 800;
}

.search-profile {
  background: #e9dfd1;
}

.search-profile .section-heading p:not(.eyebrow) {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.05rem;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.keyword-grid span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--green);
  font-weight: 800;
}

.society-impact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 72px);
  background: #f4eee3;
}

.society-impact > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.society-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.society-grid article {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 35px rgba(34, 53, 42, 0.08);
}

.society-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.society-grid p {
  color: var(--muted);
}

.society-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 900;
}

.reputation {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 72px);
  background: var(--green-deep);
  color: #fffaf2;
}

.reputation .eyebrow {
  color: #f3c983;
}

.reputation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reputation-grid article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.08);
}

.reputation-grid p {
  color: rgba(255, 250, 242, 0.78);
}

.reputation-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: #f3c983;
  font-weight: 900;
}

.references {
  background: #f4eee3;
}

.references .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.reference-card {
  display: block;
  min-height: 246px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 35px rgba(34, 53, 42, 0.08);
  text-decoration: none;
}

.reference-card:hover,
.reference-card:focus-visible {
  border-color: var(--gold);
  outline: none;
  transform: translateY(-2px);
}

.reference-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-card p {
  color: var(--muted);
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 35px rgba(34, 53, 42, 0.08);
}

.faq-grid p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) clamp(30px, 6vw, 88px);
  background: #e9dfd1;
}

.contact-card {
  padding: 28px;
}

.label {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.phone {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  text-decoration: none;
}

.email {
  display: block;
  margin-bottom: 18px;
  color: var(--burgundy);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

address {
  margin-bottom: 24px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(30px, 6vw, 88px);
  background: var(--ink);
  color: rgba(255, 250, 242, 0.8);
}

footer p {
  margin: 0;
}

footer a {
  color: #fffaf2;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 700px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(23, 32, 27, 0.88) 0%, rgba(23, 32, 27, 0.66) 58%, rgba(23, 32, 27, 0.1) 100%),
      linear-gradient(90deg, rgba(23, 32, 27, 0.48), transparent);
  }

  .hero-content {
    width: min(640px, calc(100% - 64px));
    margin: 0 auto 42px;
  }

  h1 {
    max-width: 11ch;
  }

  .proof-bar,
  .split,
  .teacher-grid,
  .approach,
  .local-profile,
  .society-impact,
  .society-grid,
  .reputation,
  .reputation-grid,
  .reference-grid,
  .faq-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .proof-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-bar div:last-child {
    border-bottom: 0;
  }

  .profile-points {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  nav a {
    padding: 8px 4px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: 2.42rem;
    line-height: 1;
  }

  .hero-content {
    width: calc(100% - 64px);
  }

  .hero-content p:not(.eyebrow) {
    max-width: 19rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .program-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
