/* ============================================================
   Maverix Visuals — pixel-perfect static rebuild
   ============================================================ */

:root {
  --cream: oklch(0.972 0.014 92);
  --ink: #041715;
  --charcoal: oklch(0.24 0.008 260);
  --lime: oklch(0.92 0.22 128);
  --lime-deep: oklch(0.82 0.24 128);

  --background: var(--cream);
  --foreground: var(--ink);
  --card: oklch(1 0 0);
  --border: oklch(0.16 0.012 260 / 0.1);

  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-2xl: 2.25rem;
  --radius-3xl: 3rem;

  --max-w: 1400px;
}

* { box-sizing: border-box; }
html, body, div, span, a, p, h1, h2, h3, h4, ul, li, img, button, details, summary {
  margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { background: none; cursor: pointer; color: inherit; }

html {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--ink); }

.italic { font-style: italic; }
.mono { font-family: var(--font-mono); }
.strong { color: var(--cream); }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .section { padding-left: 2rem; padding-right: 2rem; }
}

.tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(4 23 21 / 0.6);
}
.tag-lime { color: var(--lime); }

.h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  font-size: 3rem;
  line-height: 0.95;
}
@media (min-width: 768px) { .h2 { font-size: 4.5rem; } }
.h2-cream { color: var(--cream); }

.micro {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.micro.dim { opacity: 0.6; }
.micro.dark { color: rgb(4 23 21 / 0.6); }

.dot {
  display: inline-block;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: var(--lime-deep);
}
.eyebrow .dot {
  height: 0.375rem;
  width: 0.375rem;
  margin-right: 0.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  border-radius: 999px;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--charcoal); }
.btn-outline { border: 1px solid rgb(4 23 21 / 0.2); }
.btn-outline:hover { background: rgb(4 23 21 / 0.05); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { filter: brightness(0.95); }
.btn-outline-cream { border: 1px solid rgb(255 253 245 / 0.2); color: rgb(252 248 233 / 0.9); }
.btn-outline-cream:hover { background: rgb(252 248 233 / 0.05); }
.btn-outline-ink { border: 1px solid rgb(4 23 21 / 0.2); }
.btn-outline-ink:hover { background: rgb(4 23 21 / 0.05); }
.btn-block { padding: 1rem 1.5rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgb(252 250 243 / 0.7);
  border-bottom: 1px solid rgb(4 23 21 / 0.1);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) { .header-inner { padding: 0 2rem; gap: 1rem; } }

.brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  height: 2rem; width: 2rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--cream);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
}
.brand-mark-lg { height: 2.25rem; width: 2.25rem; font-size: 1.25rem; border-radius: 0.5rem; }
.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.main-nav { display: none; align-items: center; gap: 1.1rem; font-size: 0.8125rem; color: rgb(4 23 21 / 0.7); }
.main-nav a:hover { color: var(--foreground); }
@media (min-width: 768px) { .main-nav { display: flex; } }
@media (min-width: 1200px) { .main-nav { gap: 1.75rem; font-size: 0.875rem; } }
.nav-cta {
  margin-left: 0.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 1rem;
  transition: background-color .2s ease;
}
.nav-cta:hover { background: var(--charcoal); }

/* ============================================================
   BENTO GRID base
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) { .bento-grid { gap: 1rem; } }

.tile { border-radius: var(--radius-3xl); }

/* ---------- HERO ---------- */
.hero-section { padding-top: 1.5rem; }
@media (min-width: 768px) { .hero-section { padding-top: 2.5rem; } }

.hero-headline {
  grid-column: span 12;
  background: var(--cream);
  border: 1px solid rgb(4 23 21 / 0.1);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .hero-headline { padding: 2.5rem; } }
@media (min-width: 1024px) { .hero-headline { grid-column: span 8; } }

.hero-h1 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  margin-top: 1.5rem;
  font-size: 13vw;
  line-height: 0.88;
}
@media (min-width: 768px) { .hero-h1 { font-size: 7.5rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 9rem; } }

.hero-lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  color: rgb(4 23 21 / 0.7);
}
@media (min-width: 768px) { .hero-lede { font-size: 1.125rem; } }

.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.hero-image {
  grid-column: span 12;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
@media (min-width: 640px) { .hero-image { grid-column: span 7; } }
@media (min-width: 1024px) { .hero-image { grid-column: span 4; aspect-ratio: auto; } }
.hero-image img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.hero-image-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(4 23 21 / 0.7), transparent 60%);
}
.hero-image-caption {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  color: var(--cream);
}
.hero-image-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.5rem; line-height: 1; margin-top: 0.25rem; }
.play-btn {
  height: 2.75rem; width: 2.75rem; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.05); }

.stat-tile {
  grid-column: span 6;
  padding: 1.25rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 160px;
}
@media (min-width: 768px) { .stat-tile { padding: 1.5rem; } }
.stat-lime { background: var(--lime); color: var(--ink); }
.stat-ink { background: var(--ink); color: var(--cream); }
@media (min-width: 640px) { .stat-lime { grid-column: span 5; } .stat-ink { grid-column: span 3; } }
@media (min-width: 1024px) { .stat-lime, .stat-ink { grid-column: span 2; } }
.stat-num { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 3rem; line-height: 1; }
@media (min-width: 768px) { .stat-num { font-size: 3.75rem; } }

.trust-tile {
  grid-column: span 12;
  border: 1px solid rgb(4 23 21 / 0.1);
  padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  min-height: 160px;
}
@media (min-width: 768px) { .trust-tile { padding: 1.5rem; } }
@media (min-width: 640px) { .trust-tile { grid-column: span 4; } }
@media (min-width: 1024px) { .trust-tile { grid-column: span 4; } }
.avatars { display: flex; }
.avatar { height: 2.5rem; width: 2.5rem; border-radius: 999px; border: 2px solid var(--cream); margin-left: -0.75rem; }
.avatar:first-child { margin-left: 0; }
.trust-title { font-weight: 500; }
.trust-sub { font-size: 0.875rem; color: rgb(4 23 21 / 0.6); }

.response-tile {
  grid-column: span 12;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.25rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 160px;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .response-tile { padding: 1.5rem; } }
@media (min-width: 640px) { .response-tile { grid-column: span 4; } }
@media (min-width: 1024px) { .response-tile { grid-column: span 4; } }
.response-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 2.25rem; line-height: 1; }
.response-sub { font-size: 0.875rem; opacity: 0.7; margin-top: 0.25rem; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  margin-top: 4rem;
  border-top: 1px solid rgb(4 23 21 / 0.1);
  border-bottom: 1px solid rgb(4 23 21 / 0.1);
  padding: 1.5rem 0;
  overflow: hidden;
}
@media (min-width: 768px) { .marquee-section { margin-top: 6rem; } }
.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 3.5rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: 2.25rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@media (min-width: 768px) { .marquee-track { font-size: 3.75rem; } }
.marquee-group { display: flex; align-items: center; gap: 3.5rem; flex-shrink: 0; }
.star { color: var(--lime-deep); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-top: 5rem;
}
@media (min-width: 768px) { .section-head { padding-top: 7rem; } }
.section-head.section-head-tight { margin-bottom: 2.5rem; }
.section-head-main { grid-column: span 12; }
@media (min-width: 1024px) { .section-head-main { grid-column: span 8; } }
.section-head-aside { grid-column: span 12; color: rgb(4 23 21 / 0.7); }
@media (min-width: 1024px) { .section-head-aside { grid-column: span 4; } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 0.75rem;
}
@media (min-width: 768px) { .gallery-grid { grid-auto-rows: 210px; gap: 1rem; } }

.work-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(4 23 21 / 0.1);
}
@media (min-width: 768px) { .work-card { padding: 1.5rem; } }

.work-0 { grid-column: span 12; grid-row: span 2; }
.work-1 { grid-column: span 6; }
.work-2 { grid-column: span 6; }
.work-3 { grid-column: span 6; }
.work-4 { grid-column: span 6; }
.work-5 { grid-column: span 12; }
.work-6 { grid-column: span 6; }
.work-7 { grid-column: span 6; }
.work-8 { grid-column: span 12; }

@media (min-width: 768px) {
  .work-0 { grid-column: span 8; }
  .work-1 { grid-column: span 4; }
  .work-2 { grid-column: span 4; }
  .work-3 { grid-column: span 3; }
  .work-4 { grid-column: span 3; }
  .work-5 { grid-column: span 6; }
  .work-6 { grid-column: span 4; }
  .work-7 { grid-column: span 4; }
  .work-8 { grid-column: span 4; }
}

.tone-ink { background: var(--ink); color: var(--cream); }
.tone-lime { background: var(--lime); color: var(--ink); }
.tone-charcoal { background: var(--charcoal); color: var(--cream); }
.tone-card { background: var(--card); color: var(--ink); }
.tone-lime-deep { background: var(--lime-deep); color: var(--ink); }

.work-img {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover;
  opacity: 0.7;
  transition: transform .7s ease;
}
.work-card:hover .work-img { transform: scale(1.05); }

.work-pattern {
  position: absolute; inset: 0; opacity: 0.9;
  background-image:
    radial-gradient(120% 80% at var(--rx) var(--ry), rgba(255,255,255,.35), transparent 60%),
    repeating-linear-gradient(var(--rot), rgba(0,0,0,0.08) 0 2px, transparent 2px 14px);
}

.work-top {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.625rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8;
}
.work-bottom { position: relative; }
.work-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .work-title { font-size: 1.875rem; } }
.work-link { margin-top: 0.25rem; font-size: 0.75rem; opacity: 0.7; display: flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) { .services-grid { gap: 1rem; } }

.service-feature {
  grid-column: span 12;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  min-height: 420px;
}
@media (min-width: 1024px) { .service-feature { grid-column: span 7; } }
.service-feature img {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover;
  opacity: 0.7; transition: transform .7s ease;
}
.service-feature:hover img { transform: scale(1.05); }
.service-feature-fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgb(4 23 21 / 0.4) 55%, transparent); }
.service-feature-body { position: relative; height: 100%; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .service-feature-body { padding: 2.5rem; } }
.service-feature-top { display: flex; align-items: center; justify-content: space-between; }
.pill { border-radius: 999px; font-size: 0.75rem; font-family: var(--font-mono); padding: 0.25rem 0.75rem; }
.pill-lime { background: var(--lime); color: var(--ink); }
.service-feature-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 3rem; }
@media (min-width: 768px) { .service-feature-title { font-size: 3.75rem; } }
.service-feature-desc { margin-top: 0.75rem; max-width: 32rem; color: rgb(252 248 233 / 0.8); }

.service-motion {
  grid-column: span 12;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--lime);
  position: relative;
  min-height: 420px;
  padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 768px) { .service-motion { padding: 2rem; } }
@media (min-width: 640px) { .service-motion { grid-column: span 6; } }
@media (min-width: 1024px) { .service-motion { grid-column: span 5; } }
.service-motion-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 2.25rem; margin-top: 0.5rem; color: var(--ink); }
@media (min-width: 768px) { .service-motion-title { font-size: 3rem; } }
.micro.dark { color: rgb(4 23 21 / 0.7); }
.service-motion-img { border-radius: var(--radius-2xl); object-fit: cover; width: 100%; height: 14rem; }
@media (min-width: 768px) { .service-motion-img { height: 18rem; } }
.service-motion-foot { display: flex; align-items: center; justify-content: space-between; color: rgb(4 23 21 / 0.8); font-size: 0.875rem; }

.service-mini {
  grid-column: span 6;
  border-radius: var(--radius-3xl);
  background: var(--card);
  border: 1px solid rgb(4 23 21 / 0.1);
  padding: 1.25rem;
  transition: transform .2s ease;
}
@media (min-width: 768px) { .service-mini { padding: 1.5rem; } }
@media (min-width: 1024px) { .service-mini { grid-column: span 3; } }
.service-mini:hover { transform: translateY(-0.25rem); }
.service-mini-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-family: var(--font-mono); color: rgb(4 23 21 / 0.5); }
.service-mini-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.875rem; margin-top: 2rem; }
@media (min-width: 768px) { .service-mini-title { font-size: 2.25rem; } }
.service-mini-desc { font-size: 0.875rem; color: rgb(4 23 21 / 0.6); margin-top: 0.5rem; min-height: 2.5rem; }
.service-mini-foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgb(4 23 21 / 0.1); display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; }
.service-mini-foot .mono { color: rgb(4 23 21 / 0.7); }
.service-mini-foot a:hover { color: var(--lime-deep); }

/* ============================================================
   DARASA
   ============================================================ */
.darasa-box {
  margin-top: 5rem;
  border-radius: 2rem;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
@media (min-width: 768px) { .darasa-box { margin-top: 7rem; } }
.section > .darasa-box:first-child { margin-top: 0; }

.darasa-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.darasa-text {
  grid-column: span 12;
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 768px) { .darasa-text { padding: 3rem; } }
@media (min-width: 1024px) { .darasa-text { grid-column: span 5; } }
.darasa-lede { margin-top: 1.25rem; max-width: 28rem; color: rgb(252 248 233 / 0.7); }
.darasa-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.darasa-image { grid-column: span 12; position: relative; min-height: 360px; }
@media (min-width: 1024px) { .darasa-image { grid-column: span 7; } }
.darasa-image img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.darasa-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  border-radius: 999px; background: var(--cream); color: var(--ink);
  padding: 0.5rem 1rem; font-size: 0.75rem; font-family: var(--font-mono);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgb(252 248 233 / 0.1);
  border-top: 1px solid rgb(252 248 233 / 0.1);
}
@media (min-width: 640px) { .courses-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .courses-grid { grid-template-columns: 1fr 1fr 1fr; } }
.course-card { background: var(--ink); padding: 1.5rem; transition: background-color .2s ease; }
.course-card:hover { background: var(--charcoal); }
.course-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.course-top h4 { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.5rem; line-height: 1.2; }
.lime { color: var(--lime); }
.course-top .mono { font-size: 0.75rem; flex-shrink: 0; }
.course-meta { margin-top: 1rem; font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: rgb(252 248 233 / 0.5); display: flex; gap: 0.75rem; }

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 6rem;
}
@media (min-width: 768px) { .packages-grid { padding-top: 8rem; } }

.packages-aside { grid-column: span 12; }
@media (min-width: 1024px) { .packages-aside { grid-column: span 5; } }
.packages-shape { margin-top: 2rem; border-radius: var(--radius-3xl); width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

.packages-list { grid-column: span 12; display: grid; gap: 1rem; }
@media (min-width: 1024px) { .packages-list { grid-column: span 7; } }

.package-card {
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
  border: 1px solid rgb(4 23 21 / 0.1);
  background: var(--card);
}
@media (min-width: 768px) { .package-card { padding: 2rem; } }
.package-featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.package-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.package-tag { font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: rgb(4 23 21 / 0.5); }
.package-tag-lime { color: var(--lime); }
.package-name { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 2.25rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .package-name { font-size: 3rem; } }
.package-price {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 0.875rem; border-radius: 999px;
  padding: 0.5rem 1rem; background: rgb(4 23 21 / 0.05); color: rgb(4 23 21 / 0.8); white-space: nowrap;
}
.package-price-lime { background: var(--lime); color: var(--ink); }

.package-items {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .package-items { grid-template-columns: 1fr 1fr; } }
.package-items li { display: flex; gap: 0.5rem; }
.star-mark { color: var(--lime); }
.star-mark.deep { color: var(--lime-deep); }
.package-featured .package-items li span:last-child { color: rgb(252 248 233 / 0.85); }
.package-card:not(.package-featured) .package-items li span:last-child { color: rgb(4 23 21 / 0.75); }

/* ============================================================
   RESOURCES
   ============================================================ */
.resources-box {
  margin-top: 6rem;
  border-radius: 2rem;
  background: var(--ink);
  color: var(--cream);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .resources-box { margin-top: 8rem; padding: 3rem; } }

.resources-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; align-items: end; }
.resources-head-main { grid-column: span 12; }
@media (min-width: 1024px) { .resources-head-main { grid-column: span 8; } }
.resources-lede { margin-top: 1.25rem; max-width: 36rem; color: rgb(252 248 233 / 0.7); }
.resources-head-tags { grid-column: span 12; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-start; }
@media (min-width: 1024px) { .resources-head-tags { grid-column: span 4; justify-content: flex-end; } }
.chip { border-radius: 999px; border: 1px solid rgb(252 248 233 / 0.2); padding: 0.375rem 0.75rem; font-size: 0.75rem; font-family: var(--font-mono); color: rgb(252 248 233 / 0.8); }

.resources-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .resources-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .resources-grid { grid-template-columns: 1fr 1fr 1fr; } }

.resource-group {
  border-radius: var(--radius-2xl);
  background: rgb(36 36 40 / 0.6);
  border: 1px solid rgb(252 248 233 / 0.1);
  padding: 1.25rem;
}
.resource-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.resource-group-head h3 { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.5rem; }
.resource-ext { border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.625rem; font-family: var(--font-mono); padding: 0.25rem 0.5rem; }
.resource-list { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.875rem; }
.resource-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.375rem 0;
  border-bottom: 1px solid rgb(252 248 233 / 0.05);
}
.resource-list li:last-child { border-bottom: 0; }
.resource-num { font-family: var(--font-mono); font-size: 0.625rem; color: rgb(252 248 233 / 0.4); width: 1.5rem; }
.resource-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgb(252 248 233 / 0.85); }
.resource-ext-small { font-family: var(--font-mono); font-size: 0.625rem; color: rgb(163 230 53 / 0.8); }

.resources-foot {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(252 248 233 / 0.1);
}
.resources-foot-note { font-size: 0.875rem; color: rgb(252 248 233 / 0.6); }
.resources-foot-actions { display: flex; gap: 0.75rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 6rem;
}
@media (min-width: 768px) { .faq-grid { padding-top: 8rem; } }
.faq-aside { grid-column: span 12; }
@media (min-width: 1024px) { .faq-aside { grid-column: span 4; } }
.faq-lede { margin-top: 1.25rem; color: rgb(4 23 21 / 0.7); max-width: 24rem; }

.faq-list {
  grid-column: span 12;
  border-top: 1px solid rgb(4 23 21 / 0.1);
  border-bottom: 1px solid rgb(4 23 21 / 0.1);
}
@media (min-width: 1024px) { .faq-list { grid-column: span 8; } }
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid rgb(4 23 21 / 0.1); }
.faq-item:last-child { border-bottom: 0; }
@media (min-width: 768px) { .faq-item { padding: 1.5rem 0; } }
.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.5rem; }
@media (min-width: 768px) { .faq-q { font-size: 1.875rem; } }
.faq-icon {
  flex-shrink: 0; height: 2.25rem; width: 2.25rem; border-radius: 999px;
  border: 1px solid rgb(4 23 21 / 0.2);
  display: grid; place-items: center; font-size: 1.125rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.faq-item[open] .faq-icon { background: var(--lime); border-color: var(--lime); }
.faq-a { margin-top: 0.75rem; color: rgb(4 23 21 / 0.7); max-width: 42rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { padding-top: 6rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .cta-section { padding-top: 8rem; } }
.cta-box {
  border-radius: 2rem;
  background: var(--lime);
  color: var(--ink);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 3.5rem; } }
.cta-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  position: relative;
}
.cta-text { grid-column: span 12; }
@media (min-width: 1024px) { .cta-text { grid-column: span 8; } }
.cta-h2 { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 3.75rem; line-height: 0.9; margin-top: 0.75rem; }
@media (min-width: 768px) { .cta-h2 { font-size: 6rem; } }
.cta-actions { grid-column: span 12; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .cta-actions { grid-column: span 4; } }

.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem 2.5rem; }
@media (min-width: 768px) { .site-footer { padding: 0 2rem 2.5rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgb(4 23 21 / 0.1);
}
.footer-brand { grid-column: span 12; }
@media (min-width: 768px) { .footer-brand { grid-column: span 5; } }
.footer-brand-name { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.5rem; }
.footer-desc { margin-top: 1rem; color: rgb(4 23 21 / 0.6); max-width: 24rem; font-size: 0.875rem; }
.footer-col { grid-column: span 6; }
.footer-col-wide { grid-column: span 6; }
@media (min-width: 768px) { .footer-col { grid-column: span 3; } .footer-col-wide { grid-column: span 4; } }
.footer-col-title { font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: rgb(4 23 21 / 0.5); margin-bottom: 0.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-note { color: rgb(4 23 21 / 0.6); padding-top: 0.5rem; border-top: 1px solid rgb(4 23 21 / 0.1); margin-top: 0.75rem; }
.underline { text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem; padding: 1.5rem 0;
  font-size: 0.75rem; font-family: var(--font-mono); color: rgb(4 23 21 / 0.5);
  border-top: 1px solid rgb(4 23 21 / 0.1);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAV: dropdown, currency toggle, book button
   ============================================================ */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.chev { transition: transform .2s ease; opacity: 0.6; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 1.25rem;
  padding: 0.5rem;
  display: grid;
  gap: 0.125rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 20px 40px rgb(4 23 21 / 0.25);
  z-index: 50;
}
.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}
.dropdown-panel a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  color: rgb(252 248 233 / 0.85);
  transition: background-color .15s ease, color .15s ease;
}
.dropdown-panel a:hover { background: rgb(252 248 233 / 0.1); color: var(--lime); }

.currency-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgb(4 23 21 / 0.2);
  padding: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  gap: 0;
  flex-shrink: 0;
}
.ct-opt { position: relative; z-index: 1; padding: 0.25rem 0.6rem; border-radius: 999px; transition: color .2s ease; color: rgb(4 23 21 / 0.55); }
.currency-toggle[aria-pressed="false"] .ct-tzs { color: var(--ink); }
.currency-toggle[aria-pressed="true"] .ct-usd { color: var(--ink); }
.ct-knob {
  position: absolute; top: 0.25rem; bottom: 0.25rem; left: 0.25rem;
  width: calc(50% - 0.25rem);
  border-radius: 999px;
  background: var(--lime);
  transition: transform .22s cubic-bezier(.65,0,.35,1);
}
.currency-toggle[aria-pressed="true"] .ct-knob { transform: translateX(100%); }

.nav-cta { border: 0; font: inherit; letter-spacing: -0.01em; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .header-actions { gap: 0.75rem; } }
.nav-cta-full { display: none; }
@media (min-width: 480px) { .nav-cta-full { display: inline; } }
.currency-toggle { font-size: 0.625rem; }
@media (min-width: 768px) { .currency-toggle { font-size: 0.6875rem; } }

/* ============================================================
   LINK-REVEAL / DETAILS TRIGGERS
   ============================================================ */
.link-reveal {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--lime);
  border-bottom: 1px solid rgb(163 230 53 / 0.4);
  padding-bottom: 0.2rem;
  transition: gap .2s ease, border-color .2s ease;
}
.link-reveal:hover { gap: 0.65rem; border-color: var(--lime); }
.link-reveal-dark { color: var(--ink); border-color: rgb(4 23 21 / 0.3); margin-top: 0.75rem; align-self: flex-start; }
.link-reveal-dark:hover { border-color: var(--ink); }
.link-plain { font-size: 0.875rem; color: inherit; transition: color .15s ease; }
.link-plain:hover { color: var(--lime-deep); }

/* ============================================================
   COURSES: filter tabs
   ============================================================ */
.courses-filter {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 1.5rem 1.5rem 0;
}
@media (min-width: 768px) { .courses-filter { padding: 2rem 3rem 0; } }
.filter-chip {
  border-radius: 999px;
  border: 1px solid rgb(252 248 233 / 0.2);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(252 248 233 / 0.7);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.filter-chip:hover { border-color: rgb(252 248 233 / 0.5); color: var(--cream); }
.filter-chip.is-active { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.courses-grid { margin-top: 1.5rem; }

.course-card { position: relative; cursor: pointer; }
.course-cat {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.625rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(252 248 233 / 0.45);
  border: 1px solid rgb(252 248 233 / 0.15);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.course-enroll {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--lime);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.course-card.is-hidden { display: none; }

/* ============================================================
   BOOK-A-SESSION
   ============================================================ */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 768px) { .sessions-grid { gap: 1rem; } }

.session-card {
  grid-column: span 12;
  border-radius: var(--radius-3xl);
  background: var(--card);
  border: 1px solid rgb(4 23 21 / 0.1);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (min-width: 640px) { .session-card { grid-column: span 6; } }
@media (min-width: 1024px) { .session-card { grid-column: span 4; } }
.session-card:hover { transform: translateY(-0.25rem); box-shadow: 0 20px 40px rgb(4 23 21 / 0.08); }
.session-card-ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.session-top { display: flex; align-items: center; justify-content: space-between; }
.session-badge {
  font-size: 0.625rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
  background: rgb(4 23 21 / 0.08); color: rgb(4 23 21 / 0.7);
  border-radius: 999px; padding: 0.3rem 0.6rem;
}
.session-badge-lime { background: var(--lime); color: var(--ink); }
.session-mode { font-size: 0.6875rem; color: rgb(4 23 21 / 0.5); }
.session-card-ink .session-mode { color: rgb(252 248 233 / 0.55); }
.session-card-ink .session-badge { background: rgb(252 248 233 / 0.12); color: rgb(252 248 233 / 0.85); }

.session-name { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 1.75rem; margin-top: 1rem; }
.session-desc { font-size: 0.875rem; color: rgb(4 23 21 / 0.65); margin-top: 0.5rem; flex-grow: 1; }
.session-card-ink .session-desc { color: rgb(252 248 233 / 0.7); }

.session-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid rgb(4 23 21 / 0.1);
  font-size: 0.875rem;
}
.session-card-ink .session-foot { border-color: rgb(252 248 233 / 0.15); }
.session-dur { font-family: var(--font-mono); font-size: 0.75rem; color: rgb(4 23 21 / 0.55); }
.session-card-ink .session-dur { color: rgb(252 248 233 / 0.55); }
.session-price { font-family: var(--font-mono); font-weight: 500; }
.session-cta { margin-top: 1.25rem; width: 100%; }

/* ============================================================
   RESOURCES: search
   ============================================================ */
.resources-search {
  margin-top: 2rem;
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgb(252 248 233 / 0.18);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  max-width: 28rem;
  color: rgb(252 248 233 / 0.5);
}
.resources-search:focus-within { border-color: rgb(252 248 233 / 0.4); }
.resources-search input {
  background: none; border: 0; outline: none; flex: 1;
  color: var(--cream); font-family: var(--font-sans); font-size: 0.875rem;
}
.resources-search input::placeholder { color: rgb(252 248 233 / 0.4); }
.resources-empty { margin-top: 1.5rem; color: rgb(252 248 233 / 0.6); font-size: 0.875rem; }
.resource-list li.is-hidden { display: none; }
.resource-group.is-empty { display: none; }

/* ============================================================
   FOOTER: extra column
   ============================================================ */
@media (min-width: 768px) {
  .footer-brand { grid-column: span 4; }
  .footer-col { grid-column: span 2; }
  .footer-col-contact { grid-column: span 3; }
  .footer-col-wide { grid-column: span 3; }
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgb(4 23 21 / 0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  animation: modalFadeIn .2s ease forwards;
}
.modal-overlay[hidden] { display: none; }
@keyframes modalFadeIn { to { opacity: 1; } }
.modal-panel {
  position: relative;
  width: 100%; max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  transform: translateY(12px) scale(0.98);
  animation: modalPopIn .25s cubic-bezier(.2,.8,.25,1) forwards;
}
@keyframes modalPopIn { to { transform: translateY(0) scale(1); } }
@media (min-width: 768px) { .modal-panel { padding: 2.5rem; } }

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  height: 2.25rem; width: 2.25rem; border-radius: 999px;
  border: 1px solid rgb(4 23 21 / 0.15);
  display: grid; place-items: center;
  font-size: 0.875rem;
  transition: background-color .15s ease;
}
.modal-close:hover { background: rgb(4 23 21 / 0.06); }

.modal-tag { font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: rgb(4 23 21 / 0.5); padding-right: 2.5rem; }
.modal-title { font-family: var(--font-display); letter-spacing: -0.02em; font-size: 2.25rem; margin-top: 0.5rem; padding-right: 2.5rem; }
@media (min-width: 768px) { .modal-title { font-size: 2.75rem; } }
.modal-desc { margin-top: 0.75rem; color: rgb(4 23 21 / 0.7); }

.modal-meta { display: flex; gap: 1.5rem; margin-top: 1.5rem; padding: 1rem 1.25rem; background: rgb(4 23 21 / 0.04); border-radius: 1.25rem; }
.modal-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.modal-price { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 500; }

.modal-section { margin-top: 1.75rem; }
.modal-section-label { margin-bottom: 0.75rem; }
.modal-list { display: grid; gap: 0.6rem; }
.modal-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; color: rgb(4 23 21 / 0.8); }
.modal-list li::before { content: "✦"; color: var(--lime-deep); flex-shrink: 0; margin-top: 0.1em; }

.modal-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.booking-form { margin-top: 1.75rem; display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: grid; gap: 0.4rem; font-size: 0.8125rem; color: rgb(4 23 21 / 0.65); }
.form-field input[type="text"], .form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid rgb(4 23 21 / 0.15);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: rgb(4 23 21 / 0.4); }
.form-field-radio { border: 0; padding: 0; margin: 0; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.radio-pills label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid rgb(4 23 21 / 0.15);
  border-radius: 999px; padding: 0.5rem 0.9rem;
  font-size: 0.8125rem; color: var(--ink);
  cursor: pointer;
}
.radio-pills input { accent-color: var(--ink); }

.modal-alt-contact { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(4 23 21 / 0.1); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.modal-alt-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; }
.modal-alt-links a:hover { color: var(--lime-deep); text-decoration: underline; }

/* Package CTA buttons */
.package-cta { margin-top: 1.5rem; width: 100%; }
.package-featured .package-cta.btn-lime { background: var(--lime); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-panel { animation: none; opacity: 1; transform: none; }
}
