:root {
  --ink: #17212b;
  --muted: #596675;
  --line: #dde4ea;
  --paper: #f7f9fb;
  --white: #fffbafff;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --gold: #b7791f;
  --blue: #1f4d7a;
  --soft-blue: #e8f1f7;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: min(340px, 50vw);
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--soft-blue);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(232, 241, 247, 0.95), rgba(255, 255, 255, 0.76) 52%, rgba(15, 118, 110, 0.12)),
    repeating-linear-gradient(90deg, rgba(31, 77, 122, 0.07) 0 1px, transparent 1px 86px);
}

.hero-copy,
.page-hero,
.section,
.split-section,
.feature-grid,
.program-grid,
.contact-layout,
.timeline,
.cta-band {
  max-width: 1180px;
  margin: 0 auto;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.light {
  background: var(--white);
  color: var(--teal-dark);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(31, 77, 122, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 241, 247, 0.72)),
    radial-gradient(circle at 30% 25%, rgba(183, 121, 31, 0.22), transparent 32%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.floating-photo {
  position: absolute;
  z-index: 2;
  width: 210px;
  margin: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(221, 228, 234, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(23, 33, 43, 0.13);
  animation: floatPanel 7s ease-in-out infinite;
}

.floating-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.floating-photo figcaption {
  padding: 9px 4px 2px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-one {
  top: 52px;
  left: 36px;
}

.photo-two {
  top: 120px;
  right: 34px;
  animation-delay: -2s;
}

.photo-three {
  left: 184px;
  bottom: 54px;
  animation-delay: -4s;
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.stat-card {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.12);
}

.stat-card strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-one {
  top: 28px;
  right: 28px;
}

.stat-two {
  left: 28px;
  bottom: 28px;
}

.photo-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 102px);
}

.photo-band img,
.wide-photo-section img,
.program-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.photo-band img {
  height: 280px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(23, 33, 43, 0.1);
}

.wide-photo-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 72px) clamp(56px, 8vw, 88px);
}

.wide-photo-section img {
  height: clamp(260px, 42vw, 460px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: clamp(24px, 6vw, 76px);
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.section > p,
.split-section p,
.feature-card p,
.program-card p,
.contact-panel p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 106px);
}

.feature-card,
.program-card,
.contact-panel,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.06);
}

.feature-card {
  min-height: 235px;
  padding: 24px;
}

.feature-icon,
.program-meta {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-card h3,
.program-card h2 {
  margin-bottom: 12px;
}

.page-hero {
  padding: clamp(58px, 9vw, 120px) clamp(18px, 5vw, 72px) clamp(52px, 7vw, 86px);
}

.about-hero,
.programs-hero,
.contact-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 247, 0.78)),
    repeating-linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0 1px, transparent 1px 28px);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.split-section > div,
.value-list article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.split-section h2,
.value-list h3 {
  margin-bottom: 12px;
}

.values-section {
  align-items: start;
  background: var(--white);
  max-width: none;
}

.values-section > * {
  max-width: 1180px;
}

.value-list {
  display: grid;
  gap: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 104px);
}

.timeline article {
  min-height: 168px;
  padding: 24px;
  background: var(--blue);
  color: var(--white);
}

.timeline article:nth-child(even) {
  background: var(--teal-dark);
}

.timeline span {
  display: block;
  margin-bottom: 14px;
  color: #f6cf8d;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline p {
  color: rgba(255, 255, 255, 0.84);
}

.program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: clamp(38px, 6vw, 70px);
}

.program-card {
  padding: 28px;
  overflow: hidden;
}

.program-card img {
  height: 210px;
  margin: -28px -28px 24px;
  width: calc(100% + 56px);
}

.program-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 24px;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(70px, 9vw, 110px);
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-panel h2 {
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(56px, 8vw, 94px);
  padding: 34px clamp(20px, 5vw, 46px);
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 8px;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
}

.footer-logo-image {
  display: inline-block;
  width: 86px;
  height: 34px;
  margin-right: 8px;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
  background: var(--white);
  border-radius: 4px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero,
  .section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .floating-photo {
    width: 178px;
  }

  .photo-one {
    top: 42px;
    left: 22px;
  }

  .photo-two {
    right: 22px;
  }

  .photo-three {
    left: 148px;
    bottom: 58px;
  }

  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band img {
    height: 240px;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-logo {
    width: min(230px, 58vw);
    height: 48px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.75rem);
  }

  .hero-visual {
    min-height: 320px;
  }

  .floating-photo {
    width: 138px;
    padding: 6px;
  }

  .floating-photo figcaption {
    font-size: 0.64rem;
    padding-top: 7px;
  }

  .photo-one {
    top: 36px;
    left: 10px;
  }

  .photo-two {
    top: 82px;
    right: 10px;
  }

  .photo-three {
    left: 46px;
    bottom: 34px;
  }

  .stat-card {
    min-width: 116px;
    padding: 13px;
  }

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

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
