:root {
  color-scheme: light;
  --ink: #1a1b1f;
  --muted: #5a616c;
  --accent: #1c6b5a;
  --accent-dark: #134c40;
  --sun: #f7c65f;
  --paper: #f6f0e8;
  --sand: #efe4d3;
  --cloud: #f9f8f4;
  --stroke: rgba(26, 27, 31, 0.12);
  --shadow: 0 30px 80px rgba(26, 27, 31, 0.14);
  --radius: 24px;
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fcefd6, #f6f0e8 45%, #f0e6d6 100%);
  line-height: 1.6;
}

.home-page {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

.home-page .brand,
.home-page .hero h1,
.home-page .section h2 {
  font-family: "Newsreader", "Times New Roman", serif;
}

.about-page {
  background: radial-gradient(circle at top right, #d6f0f2, #f1f7f6 48%, #f8efe2 100%);
}


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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 7vw 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 27, 31, 0.08);
  transition: transform 0.58s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 240, 232, 0.75);
  border-bottom-color: rgba(26, 27, 31, 0.06);
}

@media (max-width: 640px) {
  body.header-hidden .site-header {
    transform: translateY(-100%);
  }
}

.brand {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 107, 90, 0.12);
  color: var(--accent-dark);
}

.logo svg {
  width: 24px;
  height: 24px;
}

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

.site-nav a {
  font-weight: 500;
  color: var(--muted);
}

.site-nav a.btn {
  color: white;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(28, 107, 90, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(28, 107, 90, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  padding: 60px 7vw 80px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 3vw + 2rem, 4rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.hero-metrics span {
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-metrics p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
}

.orb-a {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, #ffe7b3, #f5b96b);
  top: 0;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.orb-b {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 30% 30%, #d2f1e5, #79c4a8);
  bottom: 40px;
  left: 20%;
  animation: float 7s ease-in-out infinite;
}

.grid-card,
.stat-card {
  position: absolute;
  background: var(--cloud);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.grid-card {
  right: 4%;
  bottom: 60px;
  width: 240px;
}

.card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin: 0 0 12px;
}

.card-body {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.node {
  background: white;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  font-size: 0.85rem;
}

.connector {
  height: 12px;
  border-left: 1px dashed var(--muted);
  margin-left: 14px;
  opacity: 0.6;
}

.stat-card {
  left: 0;
  top: 40px;
  width: 220px;
  text-align: left;
}

.card-metric {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

.card-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 70px 7vw;
  scroll-margin-top: 120px;
}

.section-heading {
  max-width: 560px;
  margin-bottom: 36px;
}

.section h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 2.2vw + 1rem, 2.8rem);
  margin: 0 0 12px;
}

.section p {
  color: var(--muted);
}

.work {
  background: var(--cloud);
}

.capabilities {
  background: #f7f3ec;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.capability-grid article {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 30px rgba(26, 27, 31, 0.08);
}

.video-showcase {
  padding-top: 30px;
}

.video-wrap {
  background: #121825;
  color: white;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 30px 70px rgba(6, 12, 24, 0.4);
  margin: 0;
}

.video-intro {
  max-width: none;
}

.video-intro h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
}

.video-intro p {
  color: rgba(255, 255, 255, 0.75);
}

.video-shell {
  margin: 28px 0 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 4.5;
  max-width: none;
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-meta span {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
}

.site-header {
  padding-bottom: 30px;
}

.schedule-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.schedule-embed {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  min-height: 680px;
  overflow: hidden;
}

.schedule-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 680px;
  border: 0;
  display: block;
}

.work-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.work-card {
  padding: 26px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 40px rgba(26, 27, 31, 0.08);
}

.work-card span {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.service-grid article {
  background: var(--sand);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(28, 107, 90, 0.2);
}

.tools-section {
  margin-top: 36px;
  background: #f7f3ec;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(26, 27, 31, 0.08);
}

.tools-section h3 {
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.tool-card {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  box-shadow: 0 12px 30px rgba(26, 27, 31, 0.08);
}

.tool-card img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tool-more {
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(28, 107, 90, 0.08);
  border-style: dashed;
}

.process {
  background: linear-gradient(120deg, #f2efe8, #f7e7d3);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.process-steps span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.about {
  padding-top: 30px;
}

.about-card {
  background: var(--accent-dark);
  color: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(19, 76, 64, 0.35);
}

.about-card p {
  color: rgba(255, 255, 255, 0.82);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-tags span {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.rotating-text {
  display: block;
  transition: opacity 0.35s ease;
}

.rotating-text.is-fading {
  opacity: 0;
}

.video-embed {
  margin: 28px 0 32px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  background: #111;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 36px;
  padding: 60px 7vw 40px;
  align-items: center;
}

.about-hero-panel {
  background: white;
  padding: 36px;
  border-radius: 28px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.about-hero-panel h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.4rem, 2.8vw + 1.6rem, 3.6rem);
  margin: 0 0 18px;
}

.about-hero-stack {
  display: grid;
  gap: 16px;
}

.about-stat {
  background: #103d35;
  color: white;
  padding: 20px 22px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(16, 61, 53, 0.35);
}

.about-stat-title {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin: 0 0 10px;
  opacity: 0.7;
}

.about-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.about-stat-note {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.about-story .story-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 30px;
  align-items: center;
}

.about-story h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 14px;
}

.story-card {
  background: #f0efe9;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(16, 61, 53, 0.15);
}

.about-timeline {
  background: linear-gradient(120deg, #e7f4f1, #f9f0e1);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
}

.timeline-item span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.leadership-copy {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(16, 61, 53, 0.12);
  max-width: 820px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar-grid article {
  background: #0f4037;
  color: white;
  padding: 24px;
  border-radius: 22px;
}

.pillar-grid p {
  color: rgba(255, 255, 255, 0.75);
}

.about-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 24px;
  align-items: center;
  background: white;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  padding: 32px;
  box-shadow: var(--shadow);
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: white;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

.founder-content h2 {
  margin: 8px 0 12px;
}

.site-footer {
  padding: 30px 7vw 50px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    gap: 18px;
  }

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

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

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

  .about-hero,
  .about-story .story-wrap,
  .about-cta,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .grid-card,
  .stat-card {
    position: relative;
    width: auto;
    margin-top: 16px;
  }

  .grid-card {
    right: 0;
    bottom: 0;
  }

  .stat-card {
    left: 0;
    top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 22px 6vw 0;
    padding-bottom: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 40px 6vw 60px;
  }

  .section {
    padding: 50px 6vw;
  }

  .about-card,
  .contact-card,
  .about-hero-panel,
  .about-cta {
    padding: 28px;
  }
}
