:root {
  --ivory: #f6f0e6;
  --ivory-deep: #ebe3d4;
  --paper: #fbf7f0;
  --espresso: #2c1b14;
  --espresso-soft: #3a2418;
  --clay: #c45c32;
  --clay-deep: #a44724;
  --brass: #c4a35a;
  --muted: #8a7a6c;
  --line: rgba(44, 27, 20, 0.12);
  --white: #fffdf8;
  --shadow: 0 30px 80px rgba(44, 27, 20, 0.12);
  --radius: 28px;
  --header: 84px;
  --font-serif: "Montserrat", system-ui, sans-serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--espresso);
  background: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--espresso);
  color: var(--ivory);
  padding: 8px 12px;
  z-index: 1000;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--clay);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(246, 240, 230, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(44, 27, 20, 0.08);
}

.site-header.is-scrolled .nav-links a,
.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .menu-toggle {
  color: var(--espresso);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
}

.brand img,
.brand svg {
  width: 52px;
  height: 52px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
}

.brand-name span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ivory);
  font-size: 0.92rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 24px;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

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

.btn-clay {
  background: var(--clay);
  color: var(--white);
}

.btn-clay:hover {
  background: var(--clay-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(247, 241, 232, 0.35);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ivory);
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  transform: scale(1.08);
  object-position: 50% 18%;
  filter: saturate(0.88) contrast(1.08) brightness(0.82);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 16, 12, 0.48) 0%, rgba(28, 16, 12, 0.22) 30%, rgba(28, 16, 12, 0.62) 58%, rgba(28, 16, 12, 0.94) 100%),
    linear-gradient(90deg, rgba(28, 16, 12, 0.72) 0%, rgba(28, 16, 12, 0.32) 42%, transparent 70%);
}

.hero-mark {
  position: absolute;
  right: -4vw;
  top: 12vh;
  font-family: var(--font-serif);
  font-size: clamp(14rem, 32vw, 28rem);
  line-height: 0.7;
  color: rgba(247, 241, 232, 0.08);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 7vh;
  display: grid;
  gap: 20px;
  padding-top: 110px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.4vw, 5.8rem);
  line-height: 0.9;
  max-width: 12ch;
  color: #fffaf3;
  text-shadow: 0 10px 36px rgba(20, 10, 8, 0.7);
}

.hero h1 em {
  font-style: italic;
  color: #f3cbb8;
}

.hero-copy {
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 248, 240, 0.92);
  text-shadow: 0 8px 24px rgba(20, 10, 8, 0.55);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.92rem;
}

.marquee {
  background: var(--espresso);
  color: var(--ivory);
  overflow: hidden;
  border-block: 1px solid rgba(196, 163, 90, 0.25);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 18px 0;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.marquee b {
  color: var(--brass);
  font-weight: 500;
}

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

.section {
  padding: 108px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.programs {
  display: grid;
  gap: 28px;
}

.program {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.program:nth-child(even) {
  grid-template-columns: 0.95fr 1.05fr;
}

.program:nth-child(even) .program-media {
  order: 2;
}

.program-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.program:hover .program-media img {
  transform: scale(1.06);
}

.program-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.program-index {
  font-family: var(--font-serif);
  color: var(--brass);
  font-size: 1.4rem;
}

.program h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.program p {
  color: var(--muted);
  margin: 0;
}

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

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso-soft);
}

.about {
  background:
    radial-gradient(circle at 10% 20%, rgba(196, 92, 50, 0.08), transparent 30%),
    var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-card {
  background: var(--espresso);
  color: var(--ivory);
  border-radius: 40px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-card-mark {
  position: absolute;
  right: 8px;
  bottom: -42px;
  font-family: var(--font-serif);
  font-size: 14rem;
  line-height: 0.7;
  color: rgba(247, 241, 232, 0.08);
  pointer-events: none;
}

.about-card h3 {
  font-size: 3rem;
  margin: 12px 0 0;
  line-height: 0.9;
}

.quote {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 24px;
}

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

.value {
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
}

.value strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  display: block;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery a:first-child {
  grid-row: span 2;
}

.gallery a:hover img {
  transform: scale(1.07);
}

.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(44, 27, 20, 0.62));
}

.gallery a span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-band {
  background: var(--espresso);
  color: var(--ivory);
  border-radius: 36px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.panel {
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--line);
}

.map {
  min-height: 420px;
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  filter: saturate(0.75) contrast(1.05);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.contact-list div strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

form {
  display: grid;
  gap: 12px;
}

label span {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--espresso);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal 0.9s var(--ease) forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal-on-scroll.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    color: var(--espresso);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 20;
  }

  .nav-links a {
    color: var(--espresso);
    font-size: 1.8rem;
    font-family: var(--font-serif);
  }

  .nav-links.is-open {
    transform: none;
  }

  .nav-links .btn {
    color: var(--white);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    z-index: 25;
  }

  .intro-grid,
  .program,
  .program:nth-child(even),
  .about-grid,
  .values,
  .contact-grid,
  .cta-band,
  .stat-row,
  .gallery {
    grid-template-columns: 1fr;
    display: grid;
  }

  .program:nth-child(even) .program-media {
    order: 0;
  }

  .gallery {
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }

  .gallery a:first-child {
    grid-row: auto;
  }

  .site-header.menu-open .menu-toggle,
  .site-header.menu-open .brand-name {
    color: var(--espresso);
  }

  .cta-band,
  .about-card {
    padding: 28px;
  }

  .hero-content {
    margin: 0;
    width: 100%;
    gap: 12px;
    padding: 48px 20px 28px;
    background: linear-gradient(180deg, transparent, rgba(20, 11, 8, 0.78) 22%, rgba(20, 11, 8, 0.94));
  }

  .hero h1 {
    font-size: 2.7rem;
    color: #fffaf3;
  }

  .hero-copy {
    font-size: 0.98rem;
    color: rgba(255, 248, 240, 0.9);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(28, 16, 12, 0.42) 0%, rgba(28, 16, 12, 0.2) 34%, rgba(28, 16, 12, 0.55) 70%, rgba(28, 16, 12, 0.82) 100%);
  }

  .section {
    padding: 72px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .reveal,
  .js .reveal-on-scroll,
  .program-media img {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
