:root {
  --green: #002b2a;
  --green-soft: #103e3c;
  --gold: #cf9b37;
  --gold-light: #e4c374;
  --terracotta: #824016;
  --cream: #f3efe6;
  --cream-2: #ebe3d5;
  --white: #fffaf0;
  --ink: #122a29;
  --muted: #65716d;
  --line: rgba(0, 43, 42, .14);
  --shadow: 0 8px 24px rgba(0, 43, 42, .10);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.45;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--green);
  z-index: 1000;
  border-radius: 999px;
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
background: rgba(243, 239, 230, .86);
  border-bottom: 1px solid rgba(0, 43, 42, .08);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
}

.logo-link img { width: 164px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  letter-spacing: .02em;
}

.main-nav a {
  color: rgba(0, 43, 42, .78);
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--green); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, .8);
  color: var(--green);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease;
  font-weight: 650;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--green);
  box-shadow: 0 16px 40px rgba(207, 155, 55, .28);
}

.btn-primary:hover { background: #d9ad54; }

.btn-secondary {
  color: var(--cream);
  border-color: rgba(255, 250, 240, .34);
  background: rgba(255, 250, 240, .08);
}

.btn-secondary:hover { background: rgba(255, 250, 240, .14); }

.btn-outline {
  color: var(--green);
  border-color: rgba(0, 43, 42, .22);
  background: transparent;
}

.btn-outline:hover { border-color: var(--gold); background: rgba(207, 155, 55, .08); }

.page-main { min-height: 70vh; }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  color: var(--cream);
  background: var(--green);
  isolation: isolate;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 43, 42, .96) 0%, rgba(0, 43, 42, .75) 45%, rgba(0, 43, 42, .28) 100%);
  z-index: -2;
}

.hero::after {
  content: none;
}

.hero-bg,
.page-hero-bg,
.section-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg { z-index: -3; }
.page-hero-bg { z-index: -3; }
.section-cover-image { z-index: -3; }

.cover-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.cover-content {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0;
}

.hero-content { max-width: 760px; }

.hero-logo { width: min(300px, 54vw); height: auto; margin-bottom: 38px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 750;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
  font-size: clamp(54px, 8vw, 118px);
}

.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.25;
  color: rgba(255, 250, 240, .88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-card {
  align-self: end;
  background: rgba(255, 250, 240, .11);
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: var(--radius-xl);
  padding: 28px;
box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
}

.hero-card-title {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-weight: 750;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-card p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 250, 240, .88);
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.fact-mini {
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 43, 42, .36);
}

.fact-mini strong {
  display: block;
  font-size: 22px;
  color: var(--gold-light);
  line-height: 1.1;
}

.fact-mini span { color: rgba(255, 250, 240, .78); }

.section {
  position: relative;
  padding: 104px 0;
}

.section-tight { padding: 72px 0; }
.section-dark { background: var(--green); color: var(--cream); }
.section-cream { background: var(--cream-2); }

.section-dark .section-title,
.section-dark .section-lead,
.section-dark .eyebrow { color: var(--cream); }
.section-dark .section-lead { opacity: .8; }
.section-dark .eyebrow { color: var(--gold-light); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
}

.section-title,
.page-title {
  margin: 0;
  color: var(--green);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  font-size: clamp(42px, 5.4vw, 82px);
}

.section-lead {
  margin: 0;
  color: rgba(18, 42, 41, .78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.35;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 54px;
  align-items: center;
}

.copy-block p {
  margin: 0 0 18px;
  font-size: 20px;
  color: rgba(18, 42, 41, .78);
}

.big-quote {
  margin: 28px 0 0;
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 250, 240, .6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--green);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  background: var(--green);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 43, 42, 0), rgba(0, 43, 42, .22));
  pointer-events: none;
}

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

.card {
  position: relative;
  padding: 26px;
  min-height: 260px;
  background: rgba(255, 250, 240, .7);
  border: 1px solid rgba(0, 43, 42, .09);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(0, 43, 42, .05);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -70px;
  bottom: -70px;
  background: rgba(207, 155, 55, .15);
  border-radius: 999px;
}

.card-number,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--green);
  color: var(--gold-light);
  font-weight: 800;
  margin-bottom: 28px;
}

.card h3,
.feature-card h3,
.space-card h3,
.program-card h3,
.timeline-item h3,
.gallery-card h3,
.partner-item h3 {
  position: relative;
  margin: 0 0 12px;
  color: var(--green);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.card p,
.feature-card p,
.space-card p,
.program-card p,
.timeline-item p,
.gallery-card p,
.partner-item p {
  position: relative;
  margin: 0;
  color: rgba(18, 42, 41, .72);
  font-size: 16px;
}
  position: relative;
  margin: 0;
  color: rgba(18, 42, 41, .72);
  font-size: 16px;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--line);
  min-height: 230px;
}

.feature-card.is-dark {
  background: var(--green-soft);
  color: var(--cream);
  border-color: rgba(255, 250, 240, .12);
}

.feature-card.is-dark h3 { color: var(--cream); }
.feature-card.is-dark p { color: rgba(255, 250, 240, .74); }

.model-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 250, 240, .16);
  border: 1px solid rgba(255, 250, 240, .16);
}

.model-step {
  padding: 34px 26px;
  background: rgba(255, 250, 240, .07);
}

.model-step span {
  display: block;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 800;
}

.model-step h3 {
  color: var(--cream);
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.05;
}

.model-step p { margin: 0; color: rgba(255, 250, 240, .74); }

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

.space-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green);
}

.space-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: none;
}

.space-card:hover img { transform: none; }

.space-card-content {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(0, 43, 42, 0), rgba(0, 43, 42, .92));
}

.space-card h3 { color: var(--cream); }
.space-card p { color: rgba(255, 250, 240, .78); }

.cta-band {
  border-radius: var(--radius-xl);
  padding: 52px;
  position: relative;
  isolation: isolate;
  background: var(--green);
  color: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-band .cover-overlay { background: linear-gradient(135deg, rgba(0, 43, 42, .94), rgba(0, 43, 42, .78)); }

.cta-band h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  font-size: clamp(42px, 5vw, 72px);
}

.cta-band p {
  max-width: 760px;
  margin: 20px 0 30px;
  color: rgba(255, 250, 240, .82);
  font-size: 20px;
}

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  padding: 96px 0 78px;
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 43, 42, .96), rgba(0, 43, 42, .7));
  z-index: -2;
}

.page-hero::after { content: none; }

.page-hero-content { max-width: 870px; }

.page-hero p {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, .84);
  font-size: clamp(19px, 2.2vw, 27px);
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 250, 240, .62);
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumbs a { color: var(--gold-light); }

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

.program-card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 320px;
  overflow: hidden;
}

.program-card::before {
  content: attr(data-number);
  position: absolute;
  right: 28px;
  top: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(207, 155, 55, .22);
  font-size: 92px;
  line-height: 1;
}

.program-card h3 { max-width: 70%; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 43, 42, .07);
  color: rgba(0, 43, 42, .72);
  font-size: 13px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.timeline-num {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--green);
  color: var(--gold-light);
  font-weight: 800;
}

.timeline-item h3 { margin: 0 0 8px; }
.timeline-item p { margin: 0; color: rgba(18, 42, 41, .72); }

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

.gallery-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.gallery-card-content { padding: 28px; }

.bio-text {
  position: relative;
  overflow: hidden;
  max-height: 132px;
  transition: max-height .35s ease;
}
.bio-text p { margin: 0 0 12px; color: rgba(18, 42, 41, .72); font-size: 16px; }
.bio-text p:last-child { margin-bottom: 0; }
.bio-text::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0), var(--white));
  pointer-events: none;
  transition: opacity .2s ease;
}
.bio-text.is-expanded { max-height: none; }
.bio-text.is-expanded::after { opacity: 0; }

.bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  border: none;
  background: none;
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.bio-toggle:hover { text-decoration: underline; }
.bio-toggle[hidden] { display: none; }

.person-card {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 34px;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.person-card img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.person-content { padding: 44px; }
.person-content h2 { margin: 0 0 18px; color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 5.4vw, 82px); line-height: 1; letter-spacing: -.04em; }
.person-content p { color: rgba(18, 42, 41, .74); font-size: 19px; }

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

.partner-item {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.partner-item h3 { margin: 0 0 10px; }
.partner-item p { margin: 0; color: rgba(18, 42, 41, .72); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel h2,
.form-panel h2 { margin: 0 0 20px; color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.03em; font-size: clamp(28px, 3vw, 34px); line-height: 1.05; }

.contact-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin-bottom: 6px; }
.contact-row strong { color: var(--green); font-size: 22px; }

.form-grid { display: grid; gap: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(18, 42, 41, .72);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 43, 42, .18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(243, 239, 230, .58);
  color: var(--green);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(207, 155, 55, .14);
}

.field-consent { margin-top: -4px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: rgba(18, 42, 41, .72);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.consent-label a { color: var(--green); text-decoration: underline; }
.consent-label a:hover { color: var(--gold); }

.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.map-placeholder {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 34px;
}

.map-placeholder .cover-overlay { background: linear-gradient(135deg, rgba(0, 43, 42, .92), rgba(0, 43, 42, .62)); }

.map-placeholder h2 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 52px; line-height: 1; font-weight: 500; }
.map-placeholder p { margin: 0; color: rgba(255, 250, 240, .82); }

.site-footer {
  background: var(--green);
  color: var(--cream);
  padding: 58px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}

.footer-logo { width: 164px; height: auto; margin-bottom: 20px; }
.footer-grid p { margin: 0; color: rgba(255, 250, 240, .72); }
.footer-col h3 { margin: 0 0 16px; color: var(--gold-light); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: rgba(255, 250, 240, .75); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255, 250, 240, .16); color: rgba(255, 250, 240, .58); font-size: 13px; }
.footer-requisites { margin-top: 8px; color: rgba(255, 250, 240, .5); font-size: 12px; line-height: 1.6; }
.footer-legal-links { margin-top: 8px; font-size: 12px; }
.footer-legal-links a { color: rgba(255, 250, 240, .58); margin-right: 4px; }
.footer-legal-links a:hover { color: var(--gold-light); }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }


/* Keep normal layout on desktop to avoid content-visibility scroll hitches. */


@media (min-width: 901px) {
  .image-frame, .space-card, .cta-band, .contact-panel, .form-panel, .person-card, .program-card {
    box-shadow: 0 4px 16px rgba(0, 43, 42, .07);
  }
}

@media (max-width: 1080px) {
  .main-nav { gap: 14px; }
  .card-grid, .model-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-card:first-child { grid-column: span 2; }
  .feature-grid, .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { height: 70px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    min-height: calc(100vh - 70px);
    padding: 26px 20px 34px;
    background: rgba(243, 239, 230, .98);
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-110%);
    transition: transform .28s var(--ease);
  }
  body.menu-open .main-nav { transform: translateY(0); }
  .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .header-actions .btn { display: none; }
  .hero-inner, .section-head, .two-col, .person-card, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding: 58px 0 72px; }
  .hero-card { align-self: start; }
  .image-frame { min-height: 340px; }
  .section { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .logo-link img { width: 130px; }
  .footer-logo { width: 130px; }
  .hero h1, .page-hero h1 { font-size: clamp(44px, 15vw, 72px); }
  .hero-logo { width: min(180px, 52vw); margin-bottom: 24px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; white-space: normal; }
  .card-grid, .feature-grid, .model-strip, .space-grid, .program-grid, .gallery-grid, .partner-list { grid-template-columns: 1fr; }
  .space-card:first-child { grid-column: auto; }
  .space-card { min-height: 360px; }
  .program-card h3 { max-width: none; }
  .program-card::before { font-size: 68px; }
  .timeline-item { grid-template-columns: 1fr; }
  .gallery-card img { height: 280px; }
  .person-content, .contact-panel, .form-panel { padding: 28px; }
  .person-card img { min-height: 300px; }
  .cta-band { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.form-hidden{display:none!important;}

/* Flexible page builder additions */
.text-only { max-width: 860px; }
.section-dark .copy-block p { color: rgba(255, 250, 240, .78); }
.section-dark .copy-block .big-quote {
  background: rgba(255, 250, 240, .08);
  color: var(--cream);
}
.section-dark .btn-outline {
  color: var(--cream);
  border-color: rgba(255, 250, 240, .34);
}
.section-dark .btn-outline:hover {
  background: rgba(255, 250, 240, .08);
  border-color: var(--gold-light);
}
.model-strip.is-light {
  background: rgba(0, 43, 42, .10);
  border-color: rgba(0, 43, 42, .12);
}
.model-strip.is-light .model-step { background: rgba(255, 250, 240, .72); }
.model-strip.is-light .model-step span { color: var(--terracotta); }
.model-strip.is-light .model-step h3 { color: var(--green); }
.model-strip.is-light .model-step p { color: rgba(18, 42, 41, .72); }
.wide-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--green);
  box-shadow: var(--shadow);
}
.wide-image-frame img { width: 100%; height: auto; max-height: 760px; object-fit: cover; }
.standalone-quote { max-width: 940px; margin-left: auto; margin-right: auto; }
