﻿:root {
  --ink: #17312b;
  --muted: #63736d;
  --leaf: #2f6f5e;
  --leaf-dark: #174f43;
  --gold: #c8943f;
  --sequoia-red: #960000;
  --sequoia-red-dark: #740000;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --line: #dfe9e3;
  --sky: #eaf4f0;
  --shadow: 0 18px 50px rgba(23, 49, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 233, 227, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1720px;
  min-height: 124px;
  margin: 0 auto;
  padding: 0 56px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
  width: max-content;
  text-decoration: none;
}

.brand-lockup img {
  width: 132px;
  height: 96px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.brand-lockup span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-panel {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links-main {
  align-items: center;
}

.nav-links a,
.nav-dropdown-trigger {
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-trigger {
  border: 0;
  background: transparent;
  cursor: default;
  font-family: inherit;
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  background: var(--sky);
  color: var(--leaf-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  border-radius: 6px;
  padding: 10px 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 52, 43, 0.72), rgba(90, 14, 8, 0.34), rgba(18, 52, 43, 0.3)),
    url("images/sequoia-redwood-hero-top.jpg") top center / 100% auto no-repeat;
  background-color: #17312b;
  color: #fff;
}

.hero-inner,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: end;
  min-height: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

h3 {
  font-size: 22px;
}

p {
  line-height: 1.7;
}

.lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.page-lede {
  max-width: 850px;
  color: var(--muted);
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--leaf);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--leaf);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  border-color: var(--line);
  background: #fff;
  color: var(--leaf-dark);
}

.hero-card,
.card,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  color: var(--ink);
}

.hero-card img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  margin-bottom: 18px;
}

.stats-grid,
.card-grid,
.program-grid,
.timeline,
.link-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0;
  padding-top: 34px;
}

.stat {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 25px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section.alt {
  max-width: none;
  background: #fff;
}

.section.alt > .section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.program-grid {
  grid-template-columns: repeat(4, 1fr);
}

.link-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.feature-panel {
  overflow: hidden;
}

.card {
  padding: 22px;
}

.card-logo {
  display: grid;
  place-items: center;
  min-height: 128px;
  margin: -22px -22px 18px;
  background: #f7f3ec;
}

.card-logo img {
  max-width: 82%;
  max-height: 96px;
  object-fit: contain;
}

.card .meta {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card p,
.feature-panel p,
li {
  color: var(--muted);
}

.card a:not(.button) {
  color: var(--leaf-dark);
  font-weight: 800;
}

.about-roll {
  overflow: hidden;
  padding: 8px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.about-roll-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: about-roll 46s linear infinite;
}

.about-roll:hover .about-roll-track {
  animation-play-state: paused;
}

.about-slide {
  width: 360px;
  min-height: 520px;
  flex: 0 0 auto;
}

.about-slide-media {
  display: grid;
  min-height: 170px;
  margin: -22px -22px 20px;
  place-items: center;
  background: linear-gradient(135deg, rgba(150, 0, 0, 0.12), rgba(47, 111, 94, 0.14));
  color: rgba(23, 49, 43, 0.52);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes about-roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
  background: #fff;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.feature-logo-panel {
  display: grid;
  min-height: 320px;
  place-items: center;
  background: #fff;
  padding: 36px;
}

.feature-logo-panel img {
  width: min(420px, 86%);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.feature-content {
  padding: 34px;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.timeline-item {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 16px;
}

.timeline-item strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.notice {
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  background: #fff8eb;
  color: #5d4520;
}

.site-footer {
  background: var(--ink);
  color: #dce8e2;
}

.page-hero-section {
  max-width: none;
  padding-top: 112px;
  padding-bottom: 104px;
  background:
    linear-gradient(90deg, rgba(116, 0, 0, 0.96), rgba(150, 0, 0, 0.9)),
    url("images/sequoia-education-group-red-logo.jpg") center / cover;
  color: #fff;
}

.page-hero-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-section h1,
.page-hero-section .page-lede {
  color: #fff;
}

.page-hero-section h1 {
  max-width: 1040px;
  font-size: clamp(56px, 6vw, 92px);
}

.page-hero-section .page-lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: 22px;
}

.schools-surface {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(150, 0, 0, 0.95), rgba(150, 0, 0, 0.78)),
    url("images/sequoia-education-group-red-logo.jpg") center / cover;
}

.schools-surface .section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.schools-surface .card {
  border-color: rgba(255, 255, 255, 0.38);
}

.agentech-logo {
  width: min(420px, 100%);
  height: auto;
  min-height: 0;
  object-fit: contain;
  margin-bottom: 20px;
}

.inline-logo-panel {
  display: grid;
  place-items: center;
  max-width: 460px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.inline-logo-panel .agentech-logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  min-height: 0;
  max-height: 180px;
  margin-bottom: 0;
  object-fit: contain;
}

.feature-panel .inline-logo-panel img {
  width: min(420px, 100%);
  height: auto;
  min-height: 0;
  max-height: 180px;
  object-fit: contain;
}

.club-image {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.brand-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-content: start;
  padding: 22px;
  background: #f7f3ec;
}

.brand-gallery img {
  width: 100%;
  min-height: 0;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.brand-gallery-logo {
  max-height: 210px;
  padding: 18px;
}

.brand-logo-panel {
  display: grid;
  min-height: 420px;
  place-items: center;
  background: #f7f3ec;
  padding: 18px;
}

.brand-logo-panel img {
  width: 94%;
  height: auto;
  min-height: 0;
  max-height: 390px;
  object-fit: contain;
}

.brand-awards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.brand-awards img {
  height: 300px;
  padding: 12px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px;
}

.footer-inner a {
  color: #fff;
}

.footer-utility-links {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
}

.footer-utility-links span {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 0;
    padding: 16px 22px 14px;
  }

  .brand-lockup img {
    width: 108px;
    height: 80px;
  }

  .brand-lockup span {
    font-size: 15px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-panel {
    width: 100%;
  }

  .nav-links a {
    font-size: 14px;
    padding: 10px 12px;
  }

  .hero-inner,
  .feature-panel,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .card-grid,
  .program-grid,
  .timeline,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 54px;
  }

  .page-hero-section {
    padding-top: 72px;
    padding-bottom: 70px;
  }

  .page-hero-section h1 {
    font-size: 44px;
  }

  .page-hero-section .page-lede {
    font-size: 18px;
  }
}
