/* ============================================================
   Gyanoday Institute — Light Theme
   Palette inspired by the logo:
     cream / off-white   #FBF7EE
     warm beige          #F1E3C4
     soft peach          #F6DDB8
     light gold          #E6C988    
     charcoal / black    #1A1A1A
   ============================================================ */

:root {
  --cream:        #FBF7EE;
  --cream-2:      #F7F0DF;
  --beige:        #F1E3C4;
  --peach:        #F6DDB8;
  --gold:         #E6C988;
  --gold-deep:    #C9A961;
  --ink:          #1A1A1A;
  --ink-2:        #2C2C2C;
  --ink-soft:     #4A4A4A;
  --muted:        #6F6A60;
  --line:         rgba(26, 26, 26, 0.08);
  --shadow-sm:    0 2px 10px rgba(26, 26, 26, 0.05);
  --shadow-md:    0 10px 30px rgba(26, 26, 26, 0.08);
  --shadow-lg:    0 20px 50px rgba(26, 26, 26, 0.10);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --container:    1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-deep); }

h1, h2, h3 {
  font-family: 'Raleway', system-ui, sans-serif;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }

h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.accent { color: var(--gold-deep); font-style: italic; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

a.btn-dark,
.btn-dark {
  background: var(--ink);
  color: #ffffff;
}
a.btn-dark:hover,
.btn-dark:hover {
  background: var(--ink-2);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

a.btn-outline,
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
a.btn-outline:hover,
.btn-outline:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ============ Scroll-reveal animations ============ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s cubic-bezier(.2, .8, .2, 1),
    transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-d, 0ms);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Floating action buttons ============ */
.fab-stack {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
  pointer-events: none;
}
.fab {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  pointer-events: auto;
}
.fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}
.fab svg { display: block; }
.fab-wa {
  background: #25D366;
}
.fab-wa:hover { background: #20BD5A; }
.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

.fab-back {
  background: var(--ink);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.fab-back.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-back:hover { background: var(--ink-2); }

@media (max-width: 720px) {
  .fab-stack { bottom: 16px; right: 16px; gap: 10px; }
  .fab { width: 48px; height: 48px; }
}

/* ============ Scroll progress bar ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 50%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
  will-change: transform;
  box-shadow: 0 1px 6px rgba(201, 169, 97, 0.35);
  pointer-events: none;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 238, 0.95);
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}

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

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  flex-shrink: 0;
  object-fit: contain;
  /* let the logo grow without pushing the header taller */
  margin: -14px 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(26, 26, 26, 0.08));
}
.brand-mark svg { display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Raleway', sans-serif; font-size: 1.15rem; letter-spacing: 0.04em; }
.brand-text em { font-style: normal; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

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

.primary-nav a:not(.btn) {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s ease;
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold-deep);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s ease;
}
.primary-nav a:not(.btn):hover,
.primary-nav a:not(.btn).is-active {
  color: var(--ink);
}
.primary-nav a:not(.btn):hover::after,
.primary-nav a:not(.btn).is-active::after {
  width: 22px;
}

.primary-nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 75% 20%, var(--peach) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 90%, var(--beige) 0%, transparent 60%),
    var(--cream);
  z-index: 0;
  overflow: hidden;
}

/* drifting background blobs */
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 460px; height: 460px;
  background: var(--peach);
  top: -120px; right: 8%;
  animation: blobDrift 20s ease-in-out infinite;
}
.blob-2 {
  width: 360px; height: 360px;
  background: var(--gold);
  bottom: -100px; left: 6%;
  opacity: 0.4;
  animation: blobDrift 26s ease-in-out -8s infinite reverse;
}
.blob-3 {
  width: 280px; height: 280px;
  background: var(--beige);
  top: 40%; left: 45%;
  opacity: 0.4;
  animation: blobDrift 22s ease-in-out -14s infinite;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -28px) scale(1.06); }
  66%      { transform: translate(-26px, 30px) scale(0.96); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-top: 8px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  gap: 36px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  color: var(--ink);
  line-height: 1;
}
.hero-stats span { font-size: 0.82rem; color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; }

/* hero decorative card */
.hero-card {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  justify-self: end;
  width: 100%;
  perspective: 1200px;
}
.hero-card-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--peach), var(--beige) 60%, var(--cream-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  --rx: 0deg;
  --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.ring {
  position: absolute;
  inset: 22px;
  border: 2px dashed rgba(26,26,26,0.25);
  border-radius: 50%;
  animation: spinSlow 40s linear infinite;
}
.ring-2 {
  inset: 50px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(26,26,26,0.12);
  animation: spinSlow 60s linear infinite reverse;
}
.cap-parallax {
  position: relative;
  z-index: 2;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  --tx: 0px;
  --ty: 0px;
  transform: translate3d(var(--tx), var(--ty), 40px);
}
.cap {
  width: 118px;
  height: 118px;
  background: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.hero-card-quote {
  position: relative;
  margin-top: 24px;
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  z-index: 2;
  opacity: 0;
  animation: fadeUp .7s ease forwards 1.1s;
}

/* orbiting accent dots */
.orbit {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}
.orbit-1 { animation: spinSlow 14s linear infinite; }
.orbit-2 { animation: spinSlow 22s linear infinite reverse; inset: 24px; }
.orbit-3 { animation: spinSlow 30s linear infinite; inset: -8px; }
/* orbit subject chips (Commerce / Science / Learning) */
.orbit-chip {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.18), 0 1px 3px rgba(26, 26, 26, 0.08);
  border: 1px solid rgba(26, 26, 26, 0.06);
  transition: transform .25s ease;
}
.chip-commerce { background: var(--peach); }
.chip-science  { background: var(--gold); }
.chip-book {
  width: 34px;
  height: 34px;
  margin-left: -17px;
  top: -17px;
  background: var(--cream);
}
.orbit-chip svg { display: block; }

/* hero streams strip — Commerce + Science quick-look */
.hero-streams {
  display: inline-flex;
  align-items: stretch;
  gap: 18px;
  margin-top: 26px;
  padding: 14px 20px;
  background: rgba(251, 247, 238, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.stream {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stream-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.stream-commerce .stream-icon { background: var(--peach); }
.stream-science  .stream-icon { background: var(--gold); }
.stream strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.stream small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.stream-divider {
  width: 1px;
  background: var(--line);
  align-self: stretch;
}

/* hero copy reveal stagger */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* hero headline word-rise */
.hero-headline { overflow: visible; }
.hero-headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
  padding: 0 .04em;
  margin-right: .12em;
}
.hero-headline .word:last-child { margin-right: 0; }
.hero-headline .word-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRise .9s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* CTA buttons: subtle shine on hover */
.hero-cta .btn { position: relative; overflow: hidden; }
.hero-cta .btn span { position: relative; z-index: 1; }
.hero-cta .btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left .6s ease;
}
.hero-cta .btn:hover::after { left: 130%; }

/* hero-stats hover */
.hero-stats li {
  transition: transform .25s ease;
  cursor: default;
}
.hero-stats li:hover { transform: translateY(-3px); }

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  z-index: 5;
  opacity: 0;
  animation: fadeUp .8s ease forwards 1.3s;
}
.scroll-cue-track {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  position: relative;
  display: block;
}
.scroll-cue-dot {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 6px;
  margin-left: -2px;
  background: var(--ink);
  border-radius: 999px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
.scroll-cue-text {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* hero animation keyframes */
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wordRise {
  to { transform: translateY(0); }
}
@keyframes scrollPulse {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-headline .word-inner, .hero-card-quote, .scroll-cue,
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .ring, .ring-2, .cap, .orbit, .blob, .scroll-cue-dot,
  .hero-cta .btn::after, .fab-pulse {
    animation: none !important;
    transition: none !important;
  }
  .hero-card-inner, .course-card { transition: none !important; transform: none !important; }
}

/* ============ Sections ============ */
.section {
  padding: 90px 0;
}
.section-warm {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 40%, var(--beige) 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ============ Feature Grid (About) ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: var(--cream);
  padding: 30px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--peach);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ============ Courses ============ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: var(--cream);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.course-card > * { transform: translateZ(20px); }
.course-card:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card.featured {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.course-card.featured h3,
.course-card.featured .course-tag { color: var(--cream); }
.course-card.featured p, .course-card.featured li { color: rgba(251, 247, 238, 0.85); }
.course-card.featured .btn-dark {
  background: var(--cream);
  color: var(--ink);
}
.course-card.featured .btn-dark:hover { background: var(--gold); }

.course-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--beige);
  color: var(--ink);
  margin-bottom: 18px;
}
.course-card.featured .course-tag { background: rgba(230, 201, 136, 0.25); color: var(--gold); }

.course-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.course-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 24px;
}
.course-card li {
  font-size: 0.92rem;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--ink-soft);
}
.course-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-deep);
}
.course-card .btn { align-self: flex-start; margin-top: auto; }

/* ============ Bento (Why Us) ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento-item {
  background: var(--cream-2);
  padding: 26px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--cream);
}
.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.bento-item:hover .bento-icon { background: var(--peach); }
.bento-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.bento-item p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ============ Founder ============ */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.founder-photo {
  position: relative;
  max-width: 420px;
}
.founder-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.founder-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, var(--peach), var(--beige));
  color: var(--ink);
}
.founder-frame.is-placeholder .founder-placeholder { display: flex; }
.founder-placeholder span { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }

.founder-badge {
  position: absolute;
  right: -20px;
  bottom: 30px;
  background: var(--ink);
  color: var(--cream);
  padding: 22px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.founder-badge strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  line-height: 1;
}
.founder-badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.founder-copy blockquote {
  margin: 24px 0;
  padding: 22px 26px;
  background: var(--cream);
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold-deep);
}
.founder-sign {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ============ Gallery (CSS masonry via columns) ============ */
.gallery {
  column-count: 3;
  column-gap: 18px;
}
.gallery .g {
  position: relative;
  margin: 0 0 18px;
  border-radius: var(--radius);
  background: var(--beige);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery .g:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery .g img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s ease;
}
.gallery .g:hover img { transform: scale(1.05); }

.gallery .g figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(251, 247, 238, 0.92);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.gallery .g::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0) 45%);
  pointer-events: none;
  z-index: 1;
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw;
  background: rgba(15, 14, 12, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .35s ease,
    visibility 0s linear .35s,
    background .35s ease,
    backdrop-filter .35s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(15, 14, 12, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    opacity .35s ease,
    visibility 0s linear 0s,
    background .35s ease,
    backdrop-filter .35s ease;
}

.lb-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.94) translateY(8px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.lightbox.is-open .lb-figure {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.lb-figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: var(--ink);
}
.lb-figure.is-loading img { opacity: 0; }
.lb-figure img { transition: opacity .25s ease; }

#lb-caption {
  color: rgba(251, 247, 238, 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: center;
  font-weight: 500;
}

.lb-close,
.lb-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 247, 238, 0.12);
  color: var(--cream);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, color .2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-close:hover,
.lb-nav:hover {
  background: var(--cream);
  color: var(--ink);
  transform: scale(1.05);
}
.lb-close { top: 22px; right: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav:hover { transform: translateY(-50%) scale(1.05); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

body.lb-open { overflow: hidden; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 20px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-list .ci {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.contact-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
  font-size: 0.95rem;
}
.contact-list span, .contact-list a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.contact-list a:hover { color: var(--ink); }

/* clickable address with "View on map" hint */
.map-link {
  display: inline-block;
  text-decoration: none;
  transition: color .2s ease;
}
.map-link .map-cta {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  transition: transform .2s ease, color .2s ease;
}
.map-link:hover .map-cta {
  color: var(--ink);
  transform: translateX(3px);
}

/* Footer CTA map (right column inside the dark CTA strip) */
.footer-cta-map {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(251, 247, 238, 0.1);
  min-height: 320px;
  background: var(--cream);
  transition: transform .3s ease, box-shadow .3s ease;
}
.footer-cta-map:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.footer-cta-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: saturate(0.92) contrast(0.98);
  transition: filter .3s ease;
}
.footer-cta-map:hover iframe { filter: none; }
.footer-cta-map-cta {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.85);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: none;
}

.inquiry-form {
  background: var(--cream);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.inquiry-form h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.inquiry-form label {
  display: block;
  margin-bottom: 18px;
}
.inquiry-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.inquiry-form #submitBtn .btn-label { color: #ffffff; }
.inquiry-form input,
.inquiry-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream-2);
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.inquiry-form input:focus,
.inquiry-form select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--cream);
}
.form-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  min-height: 1.2em;
  line-height: 1.45;
}
.form-note.info    { color: var(--ink-soft); }
.form-note.success { color: #1f7a3a; }
.form-note.error   { color: #b03a2e; }

/* submit button — loading state (generic, works for any formsubmit form) */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  margin-left: 10px;
  animation: spinSlow .8s linear infinite;
  vertical-align: middle;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label   { opacity: 0.7; }
.btn:disabled, .btn.is-loading { cursor: wait; opacity: 0.85; }

/* ============ Faculty Registration Page ============ */

/* "For Faculty" nav pill — visually distinct from regular nav links */
.primary-nav .nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(230, 201, 136, 0.18);
  border: 1px solid rgba(201, 169, 97, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink) !important;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.primary-nav .nav-pill::after { display: none; }
.primary-nav .nav-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.primary-nav .nav-pill span {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* compact hero used on inner pages — tight enough to keep CTA/form above fold */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 24px;
  text-align: center;
}
.page-hero .hero-bg .blob {
  filter: blur(80px);
  opacity: 0.4;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero .eyebrow { margin-bottom: 6px; }
.page-hero h1 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 4px 0 8px;
  line-height: 1.15;
}
.page-hero .lede {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin: 0 auto 16px;
  max-width: 540px;
}
.page-hero .hero-streams {
  margin: 0 auto;
  padding: 10px 16px;
  gap: 14px;
}
.page-hero .stream-icon { width: 36px; height: 36px; }
.page-hero .stream strong { font-size: 0.88rem; }
.page-hero .stream small { font-size: 0.74rem; }

/* faculty section grid: aside + form */
.section-faculty {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding-top: 32px;
  padding-bottom: 70px;
}
.faculty-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.faculty-aside h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.faculty-aside > p {
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.faculty-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.faculty-perks li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.faculty-perks li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.faculty-perks .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--peach);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.faculty-perks strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  margin-bottom: 2px;
}
.faculty-perks span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* faculty form (right column) */
.faculty-form {
  background: var(--cream);
  padding: 38px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.faculty-form h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}
.form-intro {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 22px;
}
.faculty-form label {
  display: block;
  margin-bottom: 18px;
}
.faculty-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.faculty-form label .hint,
.inquiry-form label .hint,
label .hint {
  display: inline;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.faculty-form input,
.faculty-form select,
.faculty-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream-2);
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
  font-family: inherit;
}
.faculty-form textarea { resize: vertical; min-height: 110px; }
.faculty-form input:focus,
.faculty-form select:focus,
.faculty-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--cream);
}
.faculty-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faculty-form .form-row label { margin-bottom: 18px; }
.faculty-form #facultySubmit { margin-top: 8px; }
.faculty-form #facultySubmit .btn-label { color: #ffffff; }

/* footer CTA placeholder on faculty page (replaces the map block) */
.footer-cta-map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(246, 221, 184, 0.12), rgba(230, 201, 136, 0.18));
  border: 1px solid rgba(251, 247, 238, 0.1);
  display: grid;
  place-items: center;
  padding: 32px;
}
.placeholder-glow {
  text-align: center;
  color: var(--gold);
}
.placeholder-glow svg {
  margin: 0 auto 16px;
  color: var(--gold);
}
.placeholder-glow p {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(251, 247, 238, 0.85);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-hero { padding: 60px 0 40px; }
}
@media (max-width: 720px) {
  .faculty-form { padding: 28px 22px; }
  .faculty-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .primary-nav .nav-pill {
    align-self: flex-start;
    margin: 4px 0;
  }
}

/* ============ Footer ============ */
.site-footer {
  position: relative;
  background: #2A2622;
  color: rgba(251, 247, 238, 0.72);
  overflow: hidden;
  isolation: isolate;
}
/* gold accent line at the very top */
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 25%,
    var(--gold-deep) 50%,
    var(--gold) 75%,
    transparent 100%
  );
}
/* ambient gold glow in the background */
.footer-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  top: -320px;
  right: -140px;
  background: radial-gradient(circle, rgba(230, 201, 136, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.site-footer > *:not(.footer-glow) { position: relative; z-index: 1; }

/* ===== CTA strip ===== */
.footer-cta {
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(251, 247, 238, 0.08);
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.footer-cta-content { max-width: 540px; }
.footer-cta .eyebrow {
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-cta h2 {
  color: var(--cream);
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}
.footer-cta h2 .accent {
  color: var(--gold);
  font-style: italic;
}
.footer-cta p {
  color: rgba(251, 247, 238, 0.7);
  margin: 0 0 24px;
  max-width: 520px;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* cream + ghost button variants for the dark footer */
.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-cream:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(230, 201, 136, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 247, 238, 0.28);
}
.btn-ghost:hover {
  background: rgba(251, 247, 238, 0.06);
  border-color: var(--cream);
  color: var(--cream);
}

/* ===== 4-column footer grid ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-col h4 {
  color: var(--cream);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 22px;
  padding-bottom: 14px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .brand-mark {
  width: 52px;
  height: 52px;
  background: var(--cream);
  padding: 2px;
}
.footer-brand strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  color: var(--cream);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.footer-brand em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--gold);
}
.footer-mission {
  margin: 20px 0 24px;
  color: rgba(251, 247, 238, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 340px;
}

/* social icons */
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(251, 247, 238, 0.06);
  color: var(--cream);
  border: 1px solid rgba(251, 247, 238, 0.1);
  transition: background .2s ease, color .2s ease, transform .25s ease, border-color .2s ease;
}
.socials a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* link lists */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.footer-list a {
  color: rgba(251, 247, 238, 0.7);
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease, transform .2s ease;
}
.footer-list a::before {
  content: "›";
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.footer-list a:hover {
  color: var(--gold);
  transform: translateX(4px);
}
.footer-list a:hover::before { opacity: 1; transform: translateX(0); }

/* contact list */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9rem;
  color: rgba(251, 247, 238, 0.7);
  line-height: 1.55;
}
.footer-contact svg {
  color: var(--gold);
  margin-top: 3px;
}
.footer-contact a {
  color: rgba(251, 247, 238, 0.78);
  word-break: break-word;
}
.footer-contact a:hover { color: var(--gold); }

/* ===== Bottom bar ===== */
.footer-bottom {
  border-top: 1px solid rgba(251, 247, 238, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.footer-bottom-inner {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(251, 247, 238, 0.55);
}
.footer-tagline {
  margin: 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(251, 247, 238, 0.65);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 247, 238, 0.15);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-top-link:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-card { max-width: 320px; justify-self: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 50px; }
  .founder-photo { margin: 0 auto; }
  .founder-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-cta-map, .footer-cta-map iframe { min-height: 280px; }
  .gallery { column-count: 2; column-gap: 14px; }
  .gallery .g { margin-bottom: 14px; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 60px; }
  .scroll-cue { display: none; }
  .orbit-3 { display: none; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav .btn { margin: 12px 0 0; }

  .brand-text em { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .hero-streams {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: stretch;
  }
  .stream-divider { width: auto; height: 1px; }
  .feature-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .gallery { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-col-brand { grid-column: auto; }
  .footer-cta { padding: 48px 0 40px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lb-close, .lb-nav { width: 40px; height: 40px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .inquiry-form { padding: 26px 22px; }
  .footer-cta-inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-cta-actions { justify-self: stretch; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 56px 24px 40px;
  }
  .footer-col-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { justify-content: flex-start; }
}
