:root {
  color-scheme: light;
  --ink: #06142d;
  --ink-soft: #1b2a42;
  --teal: #0f4652;
  --copper: #a96520;
  --copper-dark: #7e4a18;
  --paper: #f6f3ec;
  --paper-deep: #ede7db;
  --white: #fffdf8;
  --line: #d8d0c1;
  --muted: #6e746f;
  --shadow: 0 24px 70px rgba(6, 20, 45, 0.1);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-serif, "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 208, 193, 0);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 242, 0.88);
  border-color: rgba(216, 208, 193, 0.85);
  box-shadow: 0 12px 40px rgba(6, 20, 45, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(160px, 18vw, 230px);
  height: 48px;
  min-width: 0;
  letter-spacing: 0;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(6, 20, 45, 0.78);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 4px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 73px;
  left: 16px;
  right: 16px;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-nav a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid rgba(216, 208, 193, 0.7);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav.is-open {
  display: block;
}

.section-band {
  position: relative;
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 4vw, 42px);
  padding-top: 108px;
  padding-bottom: clamp(48px, 7vw, 82px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 243, 236, 0.98)),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 20, 45, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 20, 45, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  padding-block: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(6, 20, 45, 0.62);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(58px, 7.7vw, 124px);
  white-space: nowrap;
}

.title-accent {
  position: relative;
  display: inline-block;
  color: var(--copper-dark);
  text-shadow: 0 14px 38px rgba(126, 74, 24, 0.12);
}

.title-accent::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: 0.06em;
  bottom: -0.1em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126, 74, 24, 0.48), rgba(6, 20, 45, 0.18));
  opacity: 0.5;
}

.nowrap {
  white-space: nowrap;
}

.mobile-title-break {
  display: none;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
}

.tagline {
  margin-bottom: 34px;
  color: var(--copper-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.hero-actions,
.form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal);
}

.button.secondary {
  border-color: rgba(6, 20, 45, 0.22);
  background: rgba(255, 253, 248, 0.58);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--copper);
  color: var(--copper-dark);
}

.hero-proof {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  width: min(1120px, 100%);
  margin-top: clamp(8px, 2vw, 24px);
  perspective: 900px;
}

.proof-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(15, 70, 82, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.82), rgba(237, 231, 219, 0.42)),
    rgba(246, 243, 236, 0.76);
  box-shadow:
    0 18px 56px rgba(6, 20, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.proof-card:hover {
  border-color: rgba(169, 101, 32, 0.24);
  box-shadow:
    0 26px 78px rgba(6, 20, 45, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.proof-card::before {
  display: none;
}

.proof-card::after {
  display: none;
}

.proof-kicker {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.proof-kicker span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-kicker strong {
  width: max-content;
  color: var(--copper-dark);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(169, 101, 32, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.52);
}

.proof-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 0;
  border: 0;
  background: transparent;
}

.proof-stats article {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  min-height: 100px;
  align-content: center;
  justify-items: center;
  padding: 16px 14px;
  border: 1px solid rgba(216, 208, 193, 0.9);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.68);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.proof-stats article::before {
  display: none;
}

.proof-card:hover .proof-stats article {
  background: rgba(255, 253, 248, 0.78);
}

.proof-stats article:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 101, 32, 0.24);
}

.proof-stats strong {
  color: var(--copper-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
}

.proof-stats strong::after {
  content: "+";
}

.proof-stats span {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.proof-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: left;
  grid-column: 2;
}

.school-strip {
  position: relative;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(251, 250, 245, 0) 18%, rgba(251, 250, 245, 0) 82%, var(--paper) 100%),
    #fbfaf5;
  overflow: hidden;
}

.school-strip::before,
.school-strip::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(160px, 24vw);
  pointer-events: none;
}

.school-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}

.school-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), transparent);
}

.school-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.school-row {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 38px 24px;
}

.school-seal {
  position: relative;
  width: 230px;
  min-width: 230px;
  height: 174px;
  display: flex;
  flex-direction: column;
  place-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: rgba(6, 20, 45, 0.64);
  box-shadow: none;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.school-seal:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.school-seal img {
  position: relative;
  z-index: 1;
  width: 196px;
  height: 112px;
  object-fit: contain;
  filter: grayscale(1) sepia(0.12) saturate(0.68) contrast(0.9);
  opacity: 0.9;
  mix-blend-mode: multiply;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.school-seal:hover img {
  filter: grayscale(0.25) sepia(0.08) saturate(0.86) contrast(0.9);
  opacity: 0.9;
  transform: scale(1.05);
}

.school-seal figcaption {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(6, 20, 45, 0.56);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.offer-section,
.case-section,
.service-section,
.contact-section {
  padding-top: clamp(84px, 10vw, 132px);
  padding-bottom: clamp(84px, 10vw, 132px);
}

.offers-page {
  min-height: 100vh;
  padding-top: 96px;
}

.offers-hero {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: clamp(84px, 11vw, 132px);
  padding-bottom: clamp(52px, 8vw, 96px);
  text-align: center;
}

.offers-hero h1 {
  margin-bottom: 0;
}

.offers-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.offer-wall {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding-bottom: clamp(84px, 10vw, 132px);
}

.offer-case-card {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(237, 231, 219, 0.52)),
    var(--white);
  box-shadow: 0 20px 64px rgba(6, 20, 45, 0.06);
}

.offer-case-card > span {
  color: var(--copper-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-case-card h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.offer-case-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.offer-case-card dl {
  margin: 0;
  color: var(--muted);
}

.offer-case-card dt {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.offer-case-card dd {
  margin: 4px 0 0;
}

.offer-case-card.muted {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.64), rgba(237, 231, 219, 0.34)),
    transparent;
  box-shadow: none;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.heading-line {
  display: block;
  white-space: nowrap;
}

.service-section .section-heading {
  width: min(var(--max), 100%);
}

.offer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  background: transparent;
}

.offer-tile {
  min-height: 260px;
  display: grid;
  grid-template-rows: 22px 112px auto;
  align-content: start;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.88), rgba(237, 231, 219, 0.42)),
    var(--white);
  box-shadow: 0 18px 54px rgba(6, 20, 45, 0.05);
}

.offer-tile > span {
  align-self: start;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.offer-tile strong {
  display: flex;
  height: 112px;
  align-items: center;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(58px, 8vw, 104px);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 0.88;
}

.offer-tile p {
  margin-bottom: 0;
  color: var(--muted);
  align-self: start;
}

.case-section {
  background: var(--ink);
  color: var(--white);
}

.case-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.72);
}

.case-section .eyebrow {
  color: #e5b272;
}

.case-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.055);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.case-card::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d98a32, transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(229, 178, 114, 0.44);
  background: rgba(255, 253, 248, 0.08);
}

.case-card:hover::after,
.case-card:focus-within::after {
  opacity: 1;
}

.case-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #e5b272;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-topline span {
  border: 1px solid rgba(229, 178, 114, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
}

.case-card h3 {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.14;
}

.case-school {
  color: var(--white);
}

.case-program {
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.35;
}

.case-card dl {
  display: grid;
  gap: 18px;
  margin: auto 0 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.case-card dt {
  color: rgba(255, 253, 248, 0.56);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.case-card dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
}

.case-more-link {
  width: min(var(--max), 100%);
  display: flex;
  justify-content: center;
  margin: clamp(28px, 4vw, 46px) auto 0;
}

.case-link {
  border-color: rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
}

.case-link:hover,
.case-link:focus-visible {
  border-color: rgba(229, 178, 114, 0.48);
  color: #e5b272;
}

.case-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  background: transparent;
  color: #e5b272;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
}

.case-toggle span:last-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 178, 114, 0.4);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.case-card.is-open .case-toggle span:last-child {
  transform: rotate(45deg);
}

.case-more {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 253, 248, 0.74);
  transition:
    max-height 240ms ease,
    padding-top 240ms ease;
}

.case-card.is-open .case-more {
  max-height: 160px;
  padding-top: 18px;
}

.service-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-list article {
  min-height: 280px;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}

.service-list article:last-child {
  border-right: 0;
}

.service-list span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--copper-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
}

.service-list h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  background: #fbfaf5;
}

.contact-copy {
  max-width: 650px;
}

.contact-methods {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.28fr;
  gap: 1px;
  margin: 34px 0 30px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-methods div {
  min-width: 0;
  padding: 20px;
  background: var(--white);
}

.contact-methods span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.contact-methods strong {
  overflow-wrap: anywhere;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

.contact-methods a {
  color: inherit;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 30px;
}

.qr-block {
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.qr-block img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 4px;
}

.qr-block figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(6, 20, 45, 0.08);
}

.form-heading h3 {
  margin-bottom: 6px;
  font-size: 26px;
}

.form-heading p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.consult-form label {
  display: grid;
  gap: 7px;
}

.consult-form label span {
  color: var(--ink-soft);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.consult-form label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(6, 20, 45, 0.15);
  border-radius: var(--radius);
  background: #fbfaf5;
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
  resize: vertical;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.consult-form textarea {
  min-height: 112px;
}

.consult-form input:focus,
.consult-form textarea:focus {
  border-color: rgba(169, 101, 32, 0.65);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(169, 101, 32, 0.12);
}

.consult-form input.is-invalid,
.consult-form textarea.is-invalid {
  border-color: #9b2f20;
  box-shadow: 0 0 0 3px rgba(155, 47, 32, 0.1);
}

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

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-result {
  display: none;
  white-space: pre-wrap;
  border: 1px solid rgba(169, 101, 32, 0.24);
  border-radius: var(--radius);
  background: rgba(169, 101, 32, 0.07);
  color: var(--ink-soft);
  padding: 14px;
  font-size: 14px;
}

.form-result.is-visible {
  display: block;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 54px 20px 46px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.footer-logo-frame {
  width: min(420px, 82vw);
  display: grid;
  place-items: center;
}

.site-footer img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  object-position: center;
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

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

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    display: flex;
    padding-bottom: 48px;
  }

  .hero-inner {
    padding-block: 64px 0;
  }

  .hero-proof {
    width: auto;
    margin-inline: 0;
  }

  .proof-card {
    max-width: none;
  }

  .offer-grid,
  .case-grid,
  .service-list,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-list article:last-child {
    border-bottom: 0;
  }

  .contact-section {
    gap: 44px;
  }
}

@media (max-width: 700px) {
  .section-band {
    padding-inline: 18px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    width: 158px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    gap: 18px;
    padding-top: 82px;
    padding-bottom: 34px;
  }

  .hero-inner {
    padding-block: 34px 0;
  }

  h1 {
    font-size: 44px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 44px;
    white-space: normal;
  }

  .mobile-title-break {
    display: block;
  }

  .hero-copy {
    max-width: 340px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.55;
  }

  .tagline {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .hero-proof {
    width: 100%;
    margin-inline: 0;
  }

  .proof-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .proof-card::before,
  .proof-stats article::before {
    display: none;
  }

  .proof-kicker {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .proof-kicker span {
    font-size: 10px;
  }

  .proof-kicker strong {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 12px;
  }

  .proof-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-top: 0;
  }

  .proof-stats article {
    grid-template-columns: 1fr;
    min-height: 72px;
    align-items: center;
    justify-items: center;
    gap: 5px;
    padding: 9px 5px;
    border-radius: 14px;
  }

  .proof-stats strong {
    font-size: 26px;
  }

  .proof-stats span {
    font-size: 9px;
  }

  .proof-card p {
    grid-column: auto;
    font-size: 12px;
    text-align: center;
  }

  .school-row {
    gap: 10px;
    padding: 18px 14px;
  }

  .school-seal {
    width: 118px;
    min-width: 118px;
    height: 104px;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
  }

  .school-seal img {
    width: 96px;
    height: 62px;
  }

  .school-seal figcaption {
    font-size: 11px;
  }

  .offer-section,
  .case-section,
  .service-section,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading h2,
  .contact-copy h2 {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.12;
  }

  .section-heading p:not(.eyebrow),
  .contact-copy p {
    font-size: 15px;
  }

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

  .offer-tile {
    min-height: 138px;
    grid-template-rows: auto auto 1fr;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 16px;
  }

  .offer-tile > span {
    font-size: 10px;
    line-height: 1.2;
  }

  .offer-tile strong {
    height: auto;
    font-size: 38px;
    line-height: 0.94;
  }

  .offer-tile p {
    font-size: 10px;
    line-height: 1.45;
  }

  .case-grid {
    gap: 12px;
  }

  .case-card {
    min-height: 228px;
    padding: 22px;
  }

  .case-topline {
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  .case-card h3 {
    margin-bottom: 18px;
    font-size: 24px;
  }

  .case-card dl {
    gap: 12px;
  }

  .service-section .section-heading h2 {
    font-size: 27px;
  }

  .service-list article {
    min-height: auto;
    padding: 22px 0;
  }

  .service-list span {
    margin-bottom: 16px;
  }

  .service-list h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .contact-section {
    gap: 32px;
  }

  .contact-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0 18px;
  }

  .contact-methods div {
    padding: 13px 9px;
  }

  .contact-methods span {
    font-size: 10px;
  }

  .contact-methods strong {
    font-size: 11px;
    line-height: 1.35;
  }

  .email-part {
    display: block;
  }

  .qr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
  }

  .qr-block {
    padding: 6px;
    border-radius: 7px;
  }

  .qr-block figcaption {
    padding: 6px 0 0;
    font-size: 9px;
    line-height: 1.25;
  }

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

  .consult-form {
    gap: 12px;
    padding: 18px;
  }

  .form-heading h3 {
    font-size: 22px;
  }

  .form-heading p {
    margin-bottom: 2px;
    font-size: 13px;
  }

  .consult-form label {
    gap: 5px;
  }

  .consult-form input,
  .consult-form textarea {
    min-height: 44px;
    padding: 9px 11px;
  }

  .consult-form textarea {
    min-height: 84px;
  }

  .offer-wall {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
