:root {
  --ink: #151512;
  --ink-strong: #050505;
  --muted: #68665e;
  --bg: #f3efe7;
  --surface: #fffdf7;
  --surface-strong: #ffffff;
  --line: rgba(21, 21, 18, 0.14);
  --line-strong: rgba(21, 21, 18, 0.28);
  --lime: #c9ff38;
  --ember: #f05a3f;
  --steel: #28364a;
  --blue: #2257ff;
  --shadow: 0 24px 70px rgba(14, 18, 24, 0.16);
  color-scheme: light;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(21, 21, 18, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg);
  color: var(--ink);
  font-family:
    "Avenir Next",
    "Gill Sans",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

button,
input,
select {
  font: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink-strong);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 28px));
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(15, 18, 16, 0.52);
  color: #fffdf7;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.site-header.is-compact {
  background: rgba(15, 18, 16, 0.78);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(201, 255, 56, 0.72);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.15fr);
  gap: 32px;
  min-height: 92svh;
  padding: 118px max(28px, calc((100vw - 1180px) / 2)) 42px;
  background:
    linear-gradient(180deg, rgba(11, 13, 11, 0.08), rgba(11, 13, 11, 0.22)),
    #171a16;
  color: #fffdf7;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 96px),
    linear-gradient(140deg, rgba(201, 255, 56, 0.18), transparent 32%, rgba(240, 90, 63, 0.12));
  pointer-events: none;
}

.hero-copy,
.hero-stage,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 0.94;
}

.hero-lede {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.28;
}

.hero-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 253, 247, 0.74);
  font-size: 1.02rem;
  line-height: 1.82;
}

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

.primary-link,
.secondary-link,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.primary-link {
  background: var(--lime);
  color: var(--ink-strong);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fffdf7;
}

.primary-link:hover,
.secondary-link:hover,
.contact-links a:hover {
  transform: translateY(-2px);
}

.secondary-link:hover {
  background: #fffdf7;
  color: var(--ink-strong);
}

.hero-stage {
  align-self: stretch;
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.34);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main {
  inset: 0 78px 20px 42px;
}

.hero-photo-action {
  right: 0;
  bottom: 58px;
  width: 36%;
  aspect-ratio: 4 / 5;
}

.hero-photo-detail {
  left: 0;
  top: 62px;
  width: 34%;
  aspect-ratio: 5 / 6;
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-metrics span {
  display: grid;
  gap: 5px;
  min-height: 92px;
  align-content: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.92rem;
}

.hero-metrics strong {
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
}

.statement {
  padding: 86px max(24px, calc((100vw - 1040px) / 2));
  background: var(--lime);
}

.statement p {
  max-width: 940px;
  margin: 0;
  color: var(--ink-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.05rem;
  font-weight: 700;
  line-height: 1.15;
}

.programs,
.method {
  padding: 112px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.story-intro h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.35rem;
  line-height: 1.06;
}

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

.program-card {
  display: grid;
  gap: 14px;
  min-height: 520px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(27, 28, 23, 0.08);
}

.program-card img {
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.program-card span,
.story-panel span,
.method-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card h3,
.method-grid h3,
.story-panel h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.55rem;
  line-height: 1.18;
}

.program-card p,
.method-grid p,
.story-panel p,
.story-intro p,
.about-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
}

.stories {
  background: #151512;
  color: #fffdf7;
}

.story-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.62fr);
  gap: 40px;
  align-items: end;
  padding: 112px max(24px, calc((100vw - 1180px) / 2)) 42px;
}

.story-intro h2 {
  color: #fffdf7;
}

.story-intro p {
  color: rgba(255, 253, 247, 0.66);
}

.story-panels {
  display: grid;
}

.story-panel {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: 36px;
  min-height: 100svh;
  align-items: center;
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #151512;
}

.story-panel:nth-child(2) {
  background: #20292f;
}

.story-panel:nth-child(3) {
  background: #251a17;
}

.story-panel figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.36);
}

.story-panel img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-panel h3 {
  margin-top: 12px;
  color: #fffdf7;
  font-size: 2.35rem;
}

.story-panel p {
  margin-top: 18px;
  color: rgba(255, 253, 247, 0.72);
}

.method {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.8), rgba(255, 253, 247, 0.44)),
    var(--bg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.method-grid article {
  display: grid;
  gap: 14px;
  min-height: 300px;
  align-content: start;
  padding: 26px;
  background: var(--surface-strong);
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 116px max(24px, calc((100vw - 1180px) / 2));
  background: #fffdf7;
}

.about-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 36px;
  align-items: center;
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
  background: var(--steel);
  color: #fffdf7;
}

.contact-copy h2 {
  color: #fffdf7;
}

.contact-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 253, 247, 0.72);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf7;
}

.contact-links a:hover {
  background: var(--lime);
  color: var(--ink-strong);
  border-color: var(--lime);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  background: #0c0d0b;
  color: rgba(255, 253, 247, 0.68);
  font-size: 0.88rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 104px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 4.7rem;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-metrics,
  .program-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .story-intro,
  .story-panel,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .story-panel {
    position: relative;
    min-height: auto;
  }
}

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

  .brand {
    min-width: 0;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    min-width: 56px;
    padding: 0 12px;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
    padding-top: 138px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-lede {
    font-size: 1.28rem;
  }

  .hero-stage {
    min-height: 460px;
  }

  .hero-photo-main {
    inset: 0 0 74px 0;
  }

  .hero-photo-action {
    right: 12px;
    bottom: 0;
    width: 44%;
  }

  .hero-photo-detail {
    top: auto;
    bottom: 28px;
    left: 12px;
    width: 40%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .statement,
  .programs,
  .story-intro,
  .story-panel,
  .method,
  .about,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .statement p {
    font-size: 2.05rem;
  }

  .section-heading h2,
  .story-intro h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .program-card {
    min-height: auto;
  }

  .story-panel h3 {
    font-size: 1.86rem;
  }

  .site-footer {
    flex-direction: column;
    padding-right: 18px;
    padding-left: 18px;
  }
}
