:root {
  --bg-black: #050505;
  --amber: #f9b352;
  --text-main: #f5efe1;
  --text-muted: #c8beaa;
  --flame-scale: 1;
  --flame-stretch: 1;
  --flame-scale-inner: 0.92;
  --flame-scale-core: 0.88;
  --flame-scale-ghost: 1.05;
  --flame-tilt: 0deg;
  --flame-tilt-inner: 0deg;
  --flame-tilt-ghost: 0deg;
  --flame-sway: 0px;
  --flame-sway-inner: 0px;
  --flame-sway-core: 0px;
  --flame-sway-ghost: 0px;
  --flame-lift: 0px;
  --glow-opacity: 0.58;
  --light-opacity: 0.58;
  --halo-scale: 1;
  --oil-shimmer: 52%;
  --oil-ripple: 0.45;
  --oil-ripple-alpha: 11%;
  --oil-reflection-opacity: 0.68;
  --wick-ember: 0.62;
  --wick-ember-alpha: 14%;
  --wick-ember-soft-alpha: 32%;
  --heat-opacity: 0.18;
  --heat-opacity-soft: 0.14;
  --heat-opacity-low: 0.12;
  --heat-drift: 0px;
  --smoke-opacity: 0.34;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg-black);
}

body {
  color: var(--text-main);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(circle at 24% 42%, rgb(255 164 64 / 8%) 0%, transparent 36%),
    radial-gradient(circle at 74% 74%, rgb(255 144 34 / 4%) 0%, transparent 42%),
    linear-gradient(90deg, #030303 0%, #070707 52%, #0d0d0d 100%);
}

.lamp-pane {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 56% 58%, rgb(238 150 44 / 23%) 0%, transparent 30%),
    radial-gradient(circle at 44% 62%, rgb(253 207 132 / 14%) 0%, transparent 56%),
    linear-gradient(160deg, #060606 0%, #0d0d0d 100%);
}

.lamp-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 46% 12%, rgb(255 255 255 / 2%) 0%, transparent 26%),
    repeating-radial-gradient(circle at 50% 58%, rgb(255 220 170 / 1.4%) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 28%) 100%);
  mix-blend-mode: soft-light;
}

.lamp-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 53% 43%, rgb(255 210 130 / 36%) 0%, rgb(255 169 68 / 13%) 32%, transparent 56%),
    radial-gradient(circle at 54% 71%, rgb(255 198 104 / 12%) 0%, transparent 46%);
  mix-blend-mode: screen;
  opacity: var(--light-opacity);
  transition: opacity 220ms linear;
}

.floor-glow {
  position: absolute;
  left: 18%;
  right: 8%;
  bottom: 13%;
  height: 26%;
  background:
    radial-gradient(ellipse at 50% 70%, rgb(255 193 104 / 21%) 0%, rgb(234 128 36 / 10%) 38%, transparent 72%);
  filter: blur(13px);
  pointer-events: none;
  animation: floorBreath 5.8s ease-in-out infinite;
}

.smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  opacity: var(--smoke-opacity);
}

.smoke-thread {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 26px;
  height: 220px;
  transform-origin: 50% 100%;
  border-radius: 50% 50% 42% 42%;
  background:
    radial-gradient(circle at 50% 78%, rgb(232 216 192 / 10%) 0%, transparent 68%),
    linear-gradient(180deg, rgb(229 218 199 / 16%) 0%, rgb(158 150 134 / 5%) 58%, transparent 100%);
  filter: blur(8px);
  opacity: 0;
  animation: smokeWave var(--d, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.smoke-thread-1 {
  --x: -12px;
  --o: 0.48;
  --d: 10.4s;
  --delay: -3.2s;
}

.smoke-thread-2 {
  --x: -3px;
  --o: 0.36;
  --d: 8.9s;
  --delay: -1.8s;
}

.smoke-thread-3 {
  --x: 9px;
  --o: 0.42;
  --d: 11.2s;
  --delay: -5.1s;
}

.smoke-thread-4 {
  --x: 16px;
  --o: 0.32;
  --d: 9.7s;
  --delay: -6.4s;
}

@keyframes smokeWave {
  0% {
    transform: translate(calc(-50% + var(--x)), 18px) rotate(-8deg) scale(0.6);
    opacity: 0;
  }

  18% {
    opacity: var(--o);
  }

  56% {
    transform: translate(calc(-50% + var(--x) + 16px), -84px) rotate(7deg) scale(1.06);
    opacity: var(--o);
  }

  100% {
    transform: translate(calc(-50% + var(--x) - 14px), -190px) rotate(-8deg) scale(1.28);
    opacity: 0;
  }
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: drift var(--d, 3s) linear infinite;
  animation-delay: var(--delay, 0s);
  left: var(--x, 50%);
  top: var(--y, 70%);
}

.particle.ember {
  background: rgb(255 187 94 / 46%);
  filter: blur(0.5px);
}

.particle.ash {
  background: rgb(205 199 184 / 26%);
  filter: blur(1px);
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(var(--s1, 0.6));
    opacity: 0;
  }

  14% {
    opacity: var(--o, 0.72);
  }

  100% {
    transform: translate3d(var(--dx, 12px), var(--rise, -90px), 0) scale(1.1);
    opacity: 0;
  }
}

.lamp-stage {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: min(70vw, 590px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 20px 44px rgb(0 0 0 / 88%));
}

.aura {
  position: absolute;
  left: 50%;
  top: 37%;
  transform: translate(-50%, -50%) scale(var(--halo-scale));
  pointer-events: none;
  mix-blend-mode: screen;
}

.aura-wide {
  width: 72%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 200 112 / 26%) 0%, rgb(255 145 47 / 10%) 43%, transparent 76%);
  opacity: var(--glow-opacity);
  filter: blur(10px);
}

.aura-tight {
  width: 34%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 236 175 / 58%) 0%, rgb(255 157 54 / 18%) 52%, transparent 80%);
  opacity: var(--glow-opacity);
  filter: blur(3px);
}

.lamp-shadow {
  position: absolute;
  width: 68%;
  height: 17%;
  bottom: 26%;
  border-radius: 100%;
  background:
    radial-gradient(ellipse at 52% 50%, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 34%) 42%, transparent 74%);
  filter: blur(16px);
}

.lamp {
  position: relative;
  width: 58%;
  height: 54%;
  transform-style: preserve-3d;
}

.lamp::before {
  content: "";
  position: absolute;
  left: 39%;
  top: 5%;
  width: 22%;
  height: 30%;
  z-index: 16;
  pointer-events: none;
  border-radius: 48% 52% 42% 58%;
  background:
    linear-gradient(90deg, transparent 0 14%, rgb(255 235 188 / 10%) 18%, transparent 24% 45%, rgb(255 201 128 / 9%) 50%, transparent 57% 100%);
  filter: blur(5px);
  opacity: var(--heat-opacity);
  transform: translateX(calc(-50% + var(--heat-drift))) skewX(-5deg);
  animation: heatHaze 5.6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.lamp-rim-highlight {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 43.2%;
  height: 5.4%;
  border-radius: 100%;
  background:
    radial-gradient(ellipse at 48% 42%, rgb(255 238 205 / 72%) 0%, rgb(255 199 119 / 26%) 38%, transparent 72%);
  filter: blur(0.7px);
  z-index: 6;
}

.lamp-rim {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 46%;
  height: 11%;
  border-radius: 100%;
  background:
    radial-gradient(ellipse at 51% 16%, rgb(255 229 187 / 62%) 0%, transparent 56%),
    radial-gradient(ellipse at 56% 83%, rgb(23 9 2 / 44%) 0%, transparent 52%),
    linear-gradient(180deg, #b96b2c 0%, #68330f 58%, #301506 100%);
  box-shadow:
    inset 0 -6px 9px rgb(0 0 0 / 52%),
    inset 0 4px 7px rgb(255 235 193 / 22%),
    0 0 24px rgb(235 145 49 / 19%);
  z-index: 5;
}

.lamp-bowl {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 49%;
  height: 33%;
  border-radius: 0 0 120px 120px;
  background:
    radial-gradient(ellipse at 50% -24%, rgb(255 222 170 / 34%) 0%, transparent 55%),
    radial-gradient(ellipse at 24% 18%, rgb(255 187 102 / 24%) 0%, transparent 38%),
    radial-gradient(ellipse at 70% 88%, rgb(29 11 2 / 52%) 0%, transparent 58%),
    linear-gradient(180deg, #d88a42 0%, #8c4819 48%, #321606 100%);
  box-shadow:
    inset -13px -22px 26px rgb(20 8 1 / 52%),
    inset 10px 4px 14px rgb(255 227 186 / 22%),
    inset 0 -2px 0 rgb(0 0 0 / 18%);
  transform: perspective(500px) rotateX(18deg);
  z-index: 3;
}

.lamp-bowl::before {
  content: "";
  position: absolute;
  inset: 8% 7% 18%;
  border-radius: 0 0 100px 100px;
  background:
    repeating-linear-gradient(96deg, rgb(255 230 186 / 5%) 0 1px, transparent 1px 12px),
    radial-gradient(ellipse at 48% 0%, rgb(255 214 150 / 15%) 0%, transparent 48%);
  opacity: 0.65;
  mix-blend-mode: screen;
  pointer-events: none;
}

.lamp-bowl::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 12%;
  height: 12%;
  border-radius: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgb(0 0 0 / 30%) 0%, transparent 74%);
  filter: blur(3px);
  opacity: 0.75;
  pointer-events: none;
}

.lamp-base {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 79%;
  height: 8%;
  border-radius: 0 0 100px 100px;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(255 166 75 / 19%) 0%, transparent 48%),
    linear-gradient(180deg, #884618 0%, #3f1b07 100%);
  box-shadow:
    inset 0 -3px 5px rgb(0 0 0 / 46%),
    0 6px 14px rgb(0 0 0 / 28%);
  z-index: 2;
}

.lamp-pattern {
  position: absolute;
  top: 61%;
  width: 16%;
  height: 11%;
  border-radius: 60% 40% 55% 45%;
  background:
    conic-gradient(from 150deg,
      rgb(255 221 168 / 12%) 0deg,
      rgb(255 188 95 / 40%) 76deg,
      rgb(122 66 25 / 20%) 120deg,
      transparent 240deg);
  mix-blend-mode: screen;
  filter: blur(0.4px);
  z-index: 6;
}

.lamp-pattern-left {
  left: 18%;
  transform: rotate(-10deg);
}

.lamp-pattern-right {
  right: 18%;
  transform: scaleX(-1) rotate(-10deg);
}

.lamp-oil {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 52.3%;
  height: 12%;
  border-radius: 100%;
  background:
    radial-gradient(ellipse at var(--oil-shimmer) 32%, rgb(255 241 207 / 72%) 0%, transparent 35%),
    radial-gradient(ellipse at 49% 58%, rgb(255 176 71 / var(--oil-ripple-alpha)) 0%, transparent 55%),
    linear-gradient(180deg, rgb(255 215 139 / 78%) 0%, rgb(166 89 27 / 84%) 100%);
  box-shadow:
    inset 0 3px 8px rgb(255 243 210 / 18%),
    inset 0 -4px 8px rgb(65 23 2 / 30%),
    0 0 16px rgb(255 168 60 / 18%);
  filter: blur(0.18px);
  z-index: 7;
}

.oil-reflection {
  position: absolute;
  left: 26%;
  top: 54%;
  width: 48%;
  height: 6.2%;
  border-radius: 100%;
  background:
    radial-gradient(ellipse at var(--oil-shimmer) 48%, rgb(255 248 224 / 60%) 0%, rgb(255 203 118 / 22%) 34%, transparent 72%);
  filter: blur(1.2px);
  opacity: var(--oil-reflection-opacity);
  z-index: 8;
}

.wick-glow {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 10%;
  height: 10%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgb(255 220 157 / 62%) 0%, rgb(255 133 42 / 20%) 46%, transparent 76%);
  opacity: var(--glow-opacity);
  filter: blur(2.6px);
  z-index: 9;
}

.wick {
  position: absolute;
  width: 4.1%;
  height: 15%;
  left: 50%;
  top: 39%;
  transform: translateX(-50%) rotate(-10deg);
  border-radius: 6px 6px 4px 4px;
  background:
    linear-gradient(90deg, rgb(19 12 7 / 35%) 0%, transparent 36% 62%, rgb(255 198 132 / 16%) 100%),
    linear-gradient(180deg, #1a1009 0%, #3d2718 24%, #8a603a 58%, #4a3320 100%);
  box-shadow:
    0 0 8px rgb(0 0 0 / 58%),
    0 0 10px rgb(255 128 36 / var(--wick-ember-alpha));
  z-index: 10;
}

.wick::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8%;
  width: 112%;
  height: 28%;
  transform: translateX(-50%);
  border-radius: 70% 60% 48% 52%;
  background:
    radial-gradient(circle at 50% 58%, rgb(255 224 168 / var(--wick-ember-soft-alpha)) 0%, rgb(255 107 22 / var(--wick-ember-alpha)) 38%, rgb(40 20 8 / 86%) 72%);
  filter: blur(0.35px);
}

.wick::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 18%;
  top: 24%;
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 207 146 / 16%) 0%, transparent 72%);
  opacity: 0.7;
}

.flame-halo {
  position: absolute;
  left: 50%;
  top: 24.5%;
  width: 25%;
  height: 29%;
  transform: translateX(calc(-50% + var(--flame-sway))) scale(var(--halo-scale));
  border-radius: 54% 62% 48% 57% / 72% 78% 34% 38%;
  background:
    radial-gradient(circle at 48% 31%, rgb(255 240 194 / 64%) 0%, rgb(255 169 74 / 24%) 50%, transparent 79%);
  filter: blur(2.4px);
  opacity: var(--glow-opacity);
  z-index: 10;
}

.flame {
  position: absolute;
  left: 50%;
  transform-origin: 50% 100%;
  border-radius: 48% 61% 45% 55% / 76% 82% 33% 42%;
  transition:
    transform 180ms linear,
    filter 180ms linear,
    border-radius 180ms linear;
}

.flame-outer {
  width: 15.5%;
  height: 31%;
  top: calc(11.6% + var(--flame-lift));
  transform: translateX(calc(-50% + var(--flame-sway))) rotate(var(--flame-tilt)) scaleX(var(--flame-scale)) scaleY(var(--flame-stretch));
  background:
    radial-gradient(ellipse at 46% 17%, rgb(255 248 200 / 94%) 0%, rgb(255 220 131 / 62%) 26%, transparent 56%),
    radial-gradient(ellipse at 58% 77%, rgb(255 101 18 / 70%) 0%, transparent 54%),
    linear-gradient(180deg, rgb(255 193 83 / 96%) 0%, rgb(246 124 29 / 84%) 62%, rgb(149 43 7 / 62%) 100%);
  filter:
    drop-shadow(0 0 15px rgb(255 163 68 / 68%)) drop-shadow(0 0 34px rgb(248 141 42 / 30%));
  z-index: 12;
}

.flame-inner {
  width: 7.9%;
  height: 20%;
  top: calc(20.7% + var(--flame-lift));
  transform: translateX(calc(-50% + var(--flame-sway-inner))) rotate(var(--flame-tilt-inner)) scale(var(--flame-scale-inner));
  border-radius: 52% 48% 44% 55% / 78% 74% 38% 36%;
  background:
    radial-gradient(ellipse at 52% 18%, rgb(255 255 237 / 98%) 0%, rgb(255 240 184 / 86%) 42%, transparent 72%),
    linear-gradient(180deg, rgb(255 249 214 / 96%) 0%, rgb(255 213 128 / 82%) 100%);
  filter: blur(0.15px);
  z-index: 13;
}

.flame-core {
  width: 4.4%;
  height: 9.2%;
  top: calc(30% + var(--flame-lift));
  transform: translateX(calc(-50% + var(--flame-sway-core))) scale(var(--flame-scale-core));
  border-radius: 50% 50% 42% 42%;
  background: rgb(255 248 226 / 98%);
  box-shadow:
    0 0 10px rgb(255 242 202 / 75%),
    0 0 18px rgb(255 162 66 / 24%);
  z-index: 14;
}

.flame-ghost {
  width: 14%;
  height: 24%;
  top: calc(16.5% + var(--flame-lift));
  transform: translateX(calc(-50% + var(--flame-sway-ghost))) rotate(var(--flame-tilt-ghost)) scale(var(--flame-scale-ghost));
  background: radial-gradient(ellipse at 48% 28%, rgb(255 231 181 / 22%) 0%, transparent 72%);
  filter: blur(4px);
  opacity: 0.78;
  z-index: 11;
}

@keyframes heatHaze {
  0%,
  100% {
    transform: translateX(calc(-50% + var(--heat-drift))) skewX(-5deg) scaleY(0.96);
    opacity: var(--heat-opacity-soft);
  }

  42% {
    transform: translateX(calc(-50% + var(--heat-drift) + 5px)) skewX(5deg) scaleY(1.05);
    opacity: var(--heat-opacity);
  }

  70% {
    transform: translateX(calc(-50% + var(--heat-drift) - 4px)) skewX(-2deg) scaleY(1.02);
    opacity: var(--heat-opacity-low);
  }
}

@keyframes floorBreath {
  0%, 100% {
    opacity: 0.82;
    transform: scaleX(0.96);
  }

  52% {
    opacity: 1;
    transform: scaleX(1.04);
  }
}

.content-pane {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(2rem, 6vw, 5.5rem);
  background:
    radial-gradient(circle at 10% 32%, rgb(255 157 50 / 11%) 0%, transparent 46%),
    linear-gradient(180deg, #0b0b0b 0%, #040404 100%);
}

.content-pane::before {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 34%, rgb(255 185 82 / 16%) 0%, rgb(255 146 49 / 7%) 30%, transparent 62%),
    linear-gradient(90deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 28%) 72%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.content-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgb(255 194 94 / 7%) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 82% 46%, black 18%, transparent 65%);
  mask-image: radial-gradient(ellipse at 82% 46%, black 18%, transparent 65%);
  opacity: 0.55;
}

.content-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.05rem;
  max-width: 100%;
}

.brand {
  width: fit-content;
  display: inline-flex;
  text-decoration: none;
}

.brand-top {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: clamp(78px, 7vw, 96px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgb(255 172 61 / 20%)) drop-shadow(0 8px 20px rgb(0 0 0 / 45%));
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.4rem, 2.8vw, 2.2rem);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-trigger {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  transition: all 0.3s ease;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dropdown-trigger:hover,
.nav-item.dropdown.is-open .dropdown-trigger,
.nav-item.dropdown:hover .dropdown-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.chevron {
  font-size: 0.7em;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-item.dropdown:hover .chevron,
.nav-item.dropdown.is-open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(249, 179, 82, 0.15);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  text-decoration: none;
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.dropdown-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(249, 179, 82, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.dropdown-link:hover::before {
  opacity: 1;
}

.product-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  white-space: normal;
  /* Allow text to wrap naturally */
}

.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.product-desc {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--text-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 0.9rem 1rem;
  }

  .brand-logo {
    width: 72px;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
  }

  .nav-link {
    font-size: 0.56rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
  }

  .dropdown-trigger {
    font-size: 0.56rem;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
  }

  .nav-item.dropdown {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    width: calc(100vw - 2rem);
    min-width: 260px;
    max-width: 100vw;
    top: calc(100% + 5px);
    transform: translateY(-10px);
    transform-origin: top right;
  }

  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown.is-open .dropdown-menu {
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

body.is-ready .reveal-1 {
  transition-delay: 120ms;
}

body.is-ready .reveal-2 {
  transition-delay: 280ms;
}

body.is-ready .reveal-3 {
  transition-delay: 460ms;
}

body.is-ready .reveal-4 {
  transition-delay: 620ms;
}

body.is-ready .reveal-5 {
  transition-delay: 810ms;
}

body.is-ready .reveal-6 {
  transition-delay: 1000ms;
}

body.is-ready .reveal-7 {
  transition-delay: 1170ms;
}

.headline {
  margin: 0;
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-weight: 540;
  line-height: 1.1;
  font-size: clamp(1.1rem, 2.5vw, 1.95rem);
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0 0.2em;
  perspective: 900px;
}

.headline::after {
  content: "";
  position: absolute;
  inset: -24% -2%;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 0%, transparent 40%, rgb(255 212 146 / 38%) 50%, transparent 60%, transparent 100%);
  mix-blend-mode: screen;
  transform: translateX(-140%);
  animation: headlineSweep 6.8s ease-in-out infinite;
  filter: blur(1px);
}

.headline-word {
  position: relative;
  display: inline-block;
  color: #fff7e8;
  text-shadow:
    0 16px 40px rgb(0 0 0 / 55%),
    0 0 14px rgb(255 177 74 / 12%);
  transform-origin: 50% 82%;
  will-change: transform, color, text-shadow;
  animation: headlineLift 6.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.headline-word-1 {
  animation-delay: 0s;
}

.headline-word-2 {
  animation-delay: 0.2s;
}

.headline-word-3 {
  animation-delay: 0.4s;
}

.headline-word-4 {
  animation-delay: 0.6s;
}

.headline-word-5 {
  animation-delay: 0.8s;
}

.headline-word-5::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 0.08em;
  height: 0.17em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgb(255 194 94 / 68%) 48%, transparent 100%);
  opacity: 0;
  filter: blur(0.4px);
  animation: wordUnderlineGlow 3.6s ease-in-out infinite;
}

.lead {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.6rem, 1.25vw, 0.98rem);
  line-height: 1.46;
  color: #efe6d7;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0 0.24em;
}

.lead-word {
  display: inline-block;
  will-change: transform, color;
  animation-name: leadFlow;
  animation-duration: 7.2s;
  animation-timing-function: cubic-bezier(0.2, 0.75, 0.2, 1);
  animation-iteration-count: infinite;
}

.lead-word-1 {
  animation-delay: 0s;
}

.lead-word-2 {
  animation-delay: 0.12s;
}

.lead-word-3 {
  animation-delay: 0.24s;
}

.lead-word-4 {
  animation-delay: 0.36s;
}

.lead-word-5 {
  animation-delay: 0.48s;
}

.lead-word-6 {
  animation-delay: 0.6s;
}

.lead-word-2,
.lead-word-3 {
  color: #ffd79b;
  text-shadow:
    0 0 12px rgb(255 170 68 / 18%),
    0 0 2px rgb(255 210 138 / 44%);
  animation-name: leadFlow, keywordPulse;
  animation-duration: 7.2s, 2.5s;
  animation-timing-function: cubic-bezier(0.2, 0.75, 0.2, 1), ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-delay: 0.12s, 0s;
}

.lead-word-3 {
  animation-delay: 0.24s, 0.26s;
}

.cta {
  position: relative;
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff8ea;
  font-weight: 620;
  letter-spacing: 0.015em;
  padding: 0.84rem 1.28rem;
  border-radius: 999px;
  border: 1px solid rgb(249 179 82 / 46%);
  background:
    linear-gradient(180deg, rgb(255 193 106 / 21%) 0%, rgb(141 79 26 / 15%) 50%, rgb(30 17 8 / 76%) 100%),
    rgb(12 11 8 / 82%);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 45%),
    0 0 0 1px rgb(255 219 164 / 13%) inset,
    0 0 14px rgb(255 165 56 / 18%);
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  overflow: hidden;
}

.cta-label {
  position: relative;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 25%, rgb(255 220 150 / 16%) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cta:hover::after,
.cta:focus-visible::after {
  transform: translateX(110%);
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgb(255 206 128 / 72%);
  background:
    linear-gradient(180deg, rgb(255 193 106 / 28%) 0%, rgb(141 79 26 / 17%) 50%, rgb(30 17 8 / 76%) 100%),
    rgb(12 11 8 / 82%);
  box-shadow:
    0 12px 26px rgb(0 0 0 / 54%),
    0 0 0 1px rgb(255 230 186 / 18%) inset,
    0 0 20px rgb(255 168 58 / 30%);
}

@keyframes headlineLift {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
    color: #fff7e8;
    text-shadow:
      0 16px 40px rgb(0 0 0 / 55%),
      0 0 14px rgb(255 177 74 / 12%);
  }

  10% {
    transform: translate3d(0, -1px, 0) rotateX(3deg) scale(1.01);
  }

  16% {
    transform: translate3d(0, -6px, 14px) rotateX(12deg) scale(1.035);
    color: #fffdf7;
    text-shadow:
      0 12px 28px rgb(0 0 0 / 48%),
      0 0 28px rgb(255 193 106 / 34%);
  }

  25% {
    transform: translate3d(0, -1px, 0) rotateX(2deg) scale(1.01);
  }

  34% {
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
  }

  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
    color: #fff7e8;
    text-shadow:
      0 16px 40px rgb(0 0 0 / 55%),
      0 0 14px rgb(255 177 74 / 12%);
  }
}

@keyframes headlineSweep {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }

  14% {
    opacity: 0.8;
  }

  33% {
    transform: translateX(130%);
    opacity: 0;
  }

  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@keyframes wordUnderlineGlow {
  0% {
    opacity: 0;
    transform: scaleX(0.55);
  }

  26% {
    opacity: 0.72;
    transform: scaleX(1.02);
  }

  42% {
    opacity: 0;
    transform: scaleX(0.8);
  }

  100% {
    opacity: 0;
    transform: scaleX(0.8);
  }
}

@keyframes keywordPulse {
  0% {
    color: #ffd79b;
    text-shadow:
      0 0 10px rgb(255 168 58 / 16%),
      0 0 1px rgb(255 205 130 / 30%);
  }

  25% {
    color: #ffe7c4;
    text-shadow:
      0 0 16px rgb(255 188 100 / 34%),
      0 0 2px rgb(255 230 186 / 46%);
  }

  52% {
    color: #ffd79b;
    text-shadow:
      0 0 10px rgb(255 168 58 / 16%),
      0 0 1px rgb(255 205 130 / 30%);
  }

  100% {
    color: #ffd79b;
    text-shadow:
      0 0 10px rgb(255 168 58 / 16%),
      0 0 1px rgb(255 205 130 / 30%);
  }
}

@keyframes leadFlow {
  0% {
    transform: translate3d(0, 0, 0);
  }

  9% {
    transform: translate3d(0, -1px, 0);
  }

  16% {
    transform: translate3d(0, -3px, 0);
  }

  24% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 50dvh 50dvh;
  }

  .lamp-stage {
    width: min(90vw, 500px);
    top: 55%;
  }

  .smoke-thread {
    height: 148px;
    top: 35%;
  }

  .content-pane {
    align-content: center;
    padding: clamp(1.2rem, 5vw, 2rem);
    padding-top: clamp(4.8rem, 11vw, 6rem);
  }

  .content-shell {
    gap: 0.9rem;
  }

  .headline {
    font-size: clamp(1.08rem, 4vw, 1.8rem);
    gap: 0 0.19em;
  }

  .lead {
    font-size: clamp(0.55rem, 2vw, 0.82rem);
    gap: 0 0.28em;
  }
}

@media (max-width: 460px) {
  .hero {
    grid-template-rows: 48dvh 52dvh;
  }

  .lamp-stage {
    width: min(96vw, 480px);
  }

  .top-nav {
    padding: 0.75rem 0.8rem;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
  }

  .brand-logo {
    width: 64px;
    flex-shrink: 0;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
  }

  .nav-link {
    font-size: 0.5rem;
    padding: 0.3rem 0.4rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .dropdown-trigger {
    font-size: 0.5rem;
    padding: 0.3rem 0.5rem;
    gap: 0.25rem;
    white-space: nowrap;
  }

  .chevron {
    font-size: 0.55em;
  }

  .cta {
    padding: 0.76rem 1.1rem;
  }
}

@keyframes mermaidEdgeFlow {
  to { stroke-dashoffset: -20; }
}

@keyframes mermaidDiagramIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Mermaid diagram edge animations (blog.html only) ─── */
/* stroke-dashoffset is paint-only on modern browsers; see CONSTITUTION Section 8 deviation row */

.mermaid svg .flowchart-link {
  stroke: rgba(249, 179, 82, 0.75) !important;
  stroke-width: 1.6px !important;
  stroke-dasharray: 7 4;
  animation: mermaidEdgeFlow 1s linear infinite;
  filter: drop-shadow(0 0 3px rgba(249, 179, 82, 0.3));
}

.mermaid svg .messageLine0,
.mermaid svg .messageLine1 {
  stroke: rgba(249, 179, 82, 0.75) !important;
  stroke-width: 1.6px !important;
  stroke-dasharray: 7 4;
  animation: mermaidEdgeFlow 0.9s linear infinite;
}

.mermaid svg .edge-pattern-dotted {
  stroke-dasharray: 4 5 !important;
  animation: mermaidEdgeFlow 1.4s linear infinite;
}

.mermaid svg .arrowMarkerPath {
  fill: rgba(249, 179, 82, 0.85) !important;
}

.mermaid svg .node rect,
.mermaid svg .node circle,
.mermaid svg .node polygon {
  transition: filter 200ms ease;
}

.mermaid svg .node:hover rect,
.mermaid svg .node:hover circle,
.mermaid svg .node:hover polygon {
  filter: drop-shadow(0 0 9px rgba(249, 179, 82, 0.55));
  cursor: default;
}

/* ─── Super 30 Invite Form Modal ─── */

/* Overlay: full-screen dark scrim, centers the card */
.s30-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Fade-in animation — compositor-only (opacity + transform) per Article X / Article II */
  animation: s30DialogIn 200ms ease-out both;
}

/* When the overlay is hidden the browser removes it from display; no JS toggling needed for display */
.s30-dialog-overlay[hidden] {
  display: none;
}

@keyframes s30DialogIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Dialog card */
.s30-dialog-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 2.5rem);
  overflow-y: auto;
  background: #0e0e0e;
  border: 1px solid rgba(249, 179, 82, 0.28);
  border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: 0 0 60px rgba(249, 179, 82, 0.08), 0 24px 48px rgba(0, 0, 0, 0.6);
  /* scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 179, 82, 0.25) transparent;
}

/* Close button — top-right corner */
.s30-close-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.s30-close-btn:hover,
.s30-close-btn:focus-visible {
  background: rgba(249, 179, 82, 0.12);
  color: var(--amber);
  border-color: rgba(249, 179, 82, 0.4);
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Eyebrow / overline */
.s30-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Dialog heading */
.s30-dialog-title {
  margin: 0 0 0.35rem;
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-weight: 540;
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.18;
  /* leave space for the close button */
  padding-right: 2.2rem;
}

.s30-dialog-lead {
  margin: 0 0 1.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form layout */
.s30-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.s30-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.s30-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.s30-required {
  color: var(--amber);
}

.s30-field-hint {
  font-size: 0.73rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* Input, textarea, select — dark-theme form controls */
.s30-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 0.6rem 0.8rem;
  color: var(--text-main);
  font-size: 0.85rem;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.s30-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.s30-input:focus {
  outline: none;
  border-color: rgba(249, 179, 82, 0.65);
  background: rgba(249, 179, 82, 0.04);
  box-shadow: 0 0 0 3px rgba(249, 179, 82, 0.15);
}

.s30-input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.s30-select {
  /* restore the native arrow with a custom one using background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23f9b352' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.s30-select option {
  background: #0e0e0e;
  color: var(--text-main);
}

.s30-textarea {
  resize: vertical;
  min-height: 4.5rem;
}

/* Error message */
.s30-form-error {
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  background: rgba(220, 60, 60, 0.12);
  border: 1px solid rgba(220, 60, 60, 0.35);
  color: #f87171;
  font-size: 0.8rem;
  line-height: 1.4;
}

.s30-form-error[hidden] {
  display: none;
}

/* Submit button */
.s30-submit-btn {
  margin-top: 0.25rem;
  padding: 0.75rem 1.4rem;
  border: none;
  border-radius: 8px;
  background: var(--amber);
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.s30-submit-btn:not(:disabled):hover {
  background: #ffc548;
  box-shadow: 0 4px 20px rgba(249, 179, 82, 0.35);
  transform: translateY(-1px);
}

.s30-submit-btn:not(:disabled):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.s30-submit-btn:disabled {
  background: rgba(249, 179, 82, 0.25);
  color: rgba(10, 10, 10, 0.45);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Privacy disclosure */
.s30-privacy-disclosure {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.5;
  text-align: center;
}

/* Success pane */
.s30-success-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 1.2rem 0 0.4rem;
}

.s30-success-pane[hidden] {
  display: none;
}

.s30-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(249, 179, 82, 0.12);
  border: 1px solid rgba(249, 179, 82, 0.4);
  font-size: 1.3rem;
  color: var(--amber);
}

.s30-success-title {
  margin: 0;
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-weight: 540;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--text-main);
}

.s30-success-body {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 28rem;
}

/* Newsletter opt-in */
.s30-newsletter-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}

.s30-newsletter-checkbox {
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--amber);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

/* Responsive — 768px: full-width on smaller viewports */
@media (max-width: 768px) {
  .s30-dialog-card {
    border-radius: 10px;
    max-height: calc(100dvh - 2rem);
    padding: 1.4rem 1.2rem;
  }
}

/* Responsive — 460px: tight padding */
@media (max-width: 460px) {
  .s30-dialog-overlay {
    padding: 0.75rem;
  }

  .s30-dialog-card {
    padding: 1.2rem 1rem;
  }

  .s30-dialog-title {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .smoke-thread,
  .particle,
  .lamp::before {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cta {
    transform: translateY(0);
    transition: box-shadow 150ms ease, border-color 150ms ease;
  }

  .headline-word,
  .headline::after,
  .headline-word-4::after,
  .lead-word,
  .lead-word-2,
  .lead-word-3 {
    animation: none !important;
  }

  /* Product cards: suppress floating animation for motion-sensitive users */
  .product-card,
  .product-card-1,
  .product-card-2,
  .product-card-3 {
    animation: none !important;
  }

  /* Super 30 signal board: suppress focus sweep and dot pulse */
  .signal-line,
  .signal-line::before {
    animation: none !important;
  }

  .signal-line {
    opacity: 1;
  }

  .floor-glow {
    animation: none !important;
  }

  /* Burning quotes v2 — static fallback */
  .preview-super30 .lamp-pane .burn-words {
    transition: none;
  }

  .preview-super30 .lamp-pane .burn-word.is-catching,
  .preview-super30 .lamp-pane .burn-word.is-burning {
    animation: none !important;
    color: #f0e8d8;
    opacity: 1;
    transform: none;
    filter: none;
    text-shadow: none;
  }

  /* Capability ticker — added by capability-ticker */
  .capability-statement {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .capability-bar-fill {
    transition: none;
  }

  /* Signal-board sliding window — added by 18-signal-capability-carousel */
  .signal-line.is-sb-exiting,
  .signal-line.is-sb-entering {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Mermaid diagram animations — added by mermaid-edge-animations */
  /* Suppresses: mermaidDiagramIn (entrance) and mermaidEdgeFlow (edge dash) */
  .mermaid svg {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .mermaid svg .flowchart-link,
  .mermaid svg .messageLine0,
  .mermaid svg .messageLine1 {
    animation: none !important;
    stroke-dasharray: none !important;
  }
  .mermaid svg .edge-pattern-dotted {
    animation: none !important;
    stroke-dasharray: none !important;
  }

  /* Super 30 modal — instant reveal, no fade-in animation */
  .s30-dialog-overlay {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ─── Floating Products Showcase ─── */

.products-showcase {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 179, 82, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 40%, #050505 100%);
  overflow: hidden;
}

.products-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 179, 82, 0.3), transparent);
}

.products-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.products-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 179, 82, 0.25);
  background: rgba(249, 179, 82, 0.06);
  margin-bottom: 1.2rem;
}

.products-title {
  margin: 0 0 0.8rem;
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-weight: 540;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.products-subtitle {
  margin: 0;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── Product Card ─── */

.product-card {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  border-radius: 16px;
  padding: 2px;
  /* space for animated border */
  animation: cardFloat 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-1 {
  animation-delay: 0s;
}

.product-card-2 {
  animation-delay: -2s;
}

.product-card-3 {
  animation-delay: -4s;
}

.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(249, 179, 82, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover .card-glow {
  opacity: 1;
}

.card-border {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.product-card:hover .card-border {
  border-color: rgba(249, 179, 82, 0.25);
}

.card-content {
  position: relative;
  z-index: 1;
  border-radius: 15px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 50% -20%, rgba(249, 179, 82, 0.04) 0%, transparent 60%),
    rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
}

.card-icon {
  color: var(--amber);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(249, 179, 82, 0.08);
  border: 1px solid rgba(249, 179, 82, 0.12);
  transition: all 0.3s ease;
}

.product-card:hover .card-icon {
  background: rgba(249, 179, 82, 0.14);
  border-color: rgba(249, 179, 82, 0.3);
  transform: scale(1.05);
}

.card-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.card-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex-grow: 1;
}

.card-link-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.product-card:hover .card-link-label {
  opacity: 1;
  transform: translateX(0);
}

.product-card:hover {
  transform: translateY(-6px);
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.product-card:hover {
  animation-play-state: paused;
  transform: translateY(-6px);
}

/* ─── Mobile Responsive ─── */

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 1.2rem;
  }

  .products-showcase {
    padding: 3rem 1.5rem;
  }
}

/* ─── Super 30 Hero — promoted from hero-super30-preview.css ─── */

.preview-super30 {
  --preview-line: rgb(255 215 154 / 16%);
  --preview-line-strong: rgb(255 197 103 / 38%);
  --preview-panel: rgb(12 9 6 / 54%);
}

.preview-super30 .hero {
  background:
    radial-gradient(circle at 22% 46%, rgb(255 168 62 / 11%) 0%, transparent 36%),
    radial-gradient(circle at 72% 41%, rgb(255 178 75 / 7%) 0%, transparent 34%),
    linear-gradient(90deg, #030303 0%, #060504 52%, #080706 100%);
}

.preview-super30 .lamp-pane {
  background:
    radial-gradient(circle at 52% 58%, rgb(238 150 44 / 21%) 0%, transparent 31%),
    radial-gradient(circle at 46% 65%, rgb(253 207 132 / 12%) 0%, transparent 58%),
    linear-gradient(160deg, #050505 0%, #0c0b09 100%);
}

/* ─── Lamp Inscription ─── */
.preview-super30 .lamp-pane .lamp-quote {
  position: absolute;
  bottom: clamp(1.2rem, 3vh, 2.4rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(34ch, 80%);
  margin: 0;
  padding: 0;
  text-align: center;
  pointer-events: none;
  z-index: 4;
}

.preview-super30 .lamp-pane .lamp-quote-line {
  display: block;
  margin: 0;
  color: var(--amber);
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0.65;
  text-shadow: 0 0 18px rgb(255 180 90 / 18%);
}

.preview-super30 .lamp-pane .lamp-quote-attribution {
  display: block;
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.62rem, 0.88vw, 0.78rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
  opacity: 0.42;
}

.preview-super30 .content-pane {
  justify-items: center;
  background:
    radial-gradient(circle at 0% 35%, rgb(255 170 66 / 13%) 0%, transparent 45%),
    radial-gradient(circle at 78% 16%, rgb(255 223 172 / 5%) 0%, transparent 30%),
    linear-gradient(180deg, #0b0906 0%, #040404 100%);
}

.preview-super30 .content-pane::before {
  opacity: 0.9;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 30%) 72%),
    repeating-linear-gradient(90deg, transparent 0 62px, rgb(255 200 120 / 2.2%) 63px 64px);
}

.preview-content {
  width: min(100%, 620px);
  gap: clamp(0.78rem, 1.35vw, 1.02rem);
}

.preview-eyebrow {
  width: fit-content;
  margin: 0;
  color: #c8a26b;
  font-size: clamp(0.68rem, 0.84vw, 0.76rem);
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.preview-headline {
  display: grid;
  gap: 0.08em;
  max-width: 22ch;
  margin: 0;
  color: #fff7e8;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.85rem, 2.65vw, 3.1rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    0 18px 34px rgb(0 0 0 / 50%),
    0 0 14px rgb(255 177 72 / 7%);
}

.preview-headline span,
.preview-headline strong {
  display: block;
}

.preview-headline span {
  color: #f4ead8;
}

.preview-headline strong {
  color: #eec178;
  font: inherit;
  font-weight: 600;
  text-shadow:
    0 16px 30px rgb(0 0 0 / 54%),
    0 0 18px rgb(255 179 74 / 13%);
}

.preview-lead {
  max-width: 35rem;
  margin: 0;
  color: #efe6d7;
  font-size: clamp(0.94rem, 1.35vw, 1.12rem);
  line-height: 1.54;
  text-wrap: balance;
}

.signal-board {
  position: relative;
  display: grid;
  gap: 0.48rem;
  width: min(100%, 560px);
  margin-top: 0.25rem;
  padding-block: 0.35rem;
}

.signal-board::before {
  content: "";
  position: absolute;
  left: 1.62rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--preview-line-strong), transparent);
  opacity: 0.74;
}

.signal-line {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.42rem 0.72rem;
  border-bottom: 1px solid var(--preview-line);
  background:
    linear-gradient(90deg, rgb(255 188 88 / 7%) 0%, rgb(255 188 88 / 2%) 44%, transparent 100%);
  transform-origin: left center;
  animation: signalFocus 8.2s ease-in-out infinite;
  transition: background 260ms ease, border-color 260ms ease;
}

.signal-line::before {
  content: "";
  position: absolute;
  left: 1.18rem;
  width: 0.84rem;
  height: 0.84rem;
  border: 1px solid rgb(255 206 134 / 42%);
  border-radius: 50%;
  background: #100b06;
  box-shadow:
    0 0 0 3px rgb(255 178 72 / 5%),
    0 0 18px rgb(255 177 72 / 0%);
  animation: signalDot 8.2s ease-in-out infinite;
  transition: background 260ms ease, box-shadow 260ms ease;
}

.signal-line-2,
.signal-line-2::before {
  animation-delay: 1.35s;
}

.signal-line-3,
.signal-line-3::before {
  animation-delay: 2.7s;
}

.signal-line-4,
.signal-line-4::before {
  animation-delay: 4.05s;
}

.signal-line-5,
.signal-line-5::before {
  animation-delay: 5.4s;
}

/* Sliding-window transition states — signal board cycles 18 signals, 5 visible */
.signal-line.is-sb-exiting {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 280ms ease-in, transform 280ms ease-in, background 260ms ease, border-color 260ms ease;
}

.signal-line.is-sb-entering {
  /* JS forces a reflow (void offsetWidth) before this class is set, so the
     browser sees opacity:0 / translateY(10px) as the before-state and
     transitions to opacity:1 / translateY(0) smoothly. */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 380ms ease-out, transform 380ms ease-out;
}

.signal-line:hover {
  background: linear-gradient(90deg, rgb(255 188 88 / 14%) 0%, rgb(255 188 88 / 5%) 44%, transparent 100%);
  border-color: rgb(255 197 103 / 34%);
  cursor: default;
}

.signal-line:hover .signal-label {
  color: #fff8ec;
}

.signal-line:hover::before {
  background: #ffc46f;
  box-shadow:
    0 0 0 4px rgb(255 178 72 / 12%),
    0 0 22px rgb(255 177 72 / 36%);
}

.signal-index {
  color: rgb(255 205 131 / 52%);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  padding-left: 2.15rem;
}

.signal-label {
  color: #ffe8c7;
  font-size: clamp(0.84rem, 1.08vw, 0.98rem);
  font-weight: 680;
  letter-spacing: 0.01em;
  transition: color 260ms ease;
}

.preview-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.18rem;
  color: rgb(245 239 225 / 78%);
  font-size: clamp(0.72rem, 0.94vw, 0.86rem);
  font-weight: 680;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-proof span {
  padding: 0.58rem 0.82rem;
  border: 1px solid rgb(255 214 151 / 13%);
  border-radius: 999px;
  background: rgb(255 194 94 / 5%);
}

.preview-cta {
  min-width: min(100%, 21rem);
  margin-top: 0.32rem;
}

.preview-apply {
  min-height: 36dvh;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 50% 0%, rgb(249 179 82 / 7%) 0%, transparent 48%),
    linear-gradient(180deg, #050505 0%, #090807 100%);
}

.preview-apply-shell {
  width: min(100%, 760px);
  text-align: center;
}

.preview-apply h2 {
  margin: 0.95rem 0 0;
  color: var(--text-main);
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 540;
  letter-spacing: 0;
}

.apply-headline {
  margin: 0 0 1.2rem;
  color: var(--text-main);
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.apply-lead {
  max-width: 560px;
  margin: 0 auto 0;
  color: rgb(240 228 208 / 72%);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.6;
  text-wrap: balance;
}

.apply-divider {
  width: 40px;
  height: 1px;
  margin: 2.2rem auto;
  background: rgb(255 195 100 / 30%);
}

.apply-stat-title {
  margin: 0 0 0.6rem;
  color: var(--amber);
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apply-stat-sub {
  max-width: 480px;
  margin: 0 auto;
  color: rgb(240 228 208 / 48%);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-style: italic;
  line-height: 1.55;
  text-wrap: balance;
}

/* ─── Capability Ticker ─── */
.capability-cycle {
  width: min(100%, 680px);
  margin: 2.6rem auto 0;
  min-height: 5.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
}

.capability-statement {
  margin: 0;
  color: #f0e8d8;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: 0.01em;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
  will-change: opacity, transform;
}

.capability-statement.is-entering {
  opacity: 1;
  transform: translateY(0);
}

.capability-statement.is-exiting {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 300ms ease-in, transform 300ms ease-in;
}

.capability-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.capability-counter {
  color: rgb(255 197 103 / 55%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.cap-current {
  color: rgb(255 197 103 / 85%);
}

.capability-bar {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: rgb(255 197 103 / 14%);
  border-radius: 1px;
  overflow: hidden;
}

.capability-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgb(255 197 103 / 40%), rgb(255 197 103 / 72%));
  border-radius: 1px;
  transition: width 0ms linear;
}

.capability-bar-fill.is-running {
  width: 100%;
  transition: width 5000ms linear; /* matches JS dwellTime 5000ms — keep in lockstep */
}

@media (max-width: 768px) {
  .capability-cycle {
    min-height: 6rem;
  }
  .capability-statement {
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
  }
}

@media (max-width: 460px) {
  .capability-cycle {
    min-height: 6.8rem;
  }
  .capability-statement {
    font-size: 0.88rem;
    line-height: 1.54;
  }
}

/* ─── Capability Carousel Batch Dots ─── */
.capability-dots {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
  justify-content: center;
  align-items: center;
}

.capability-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.capability-dot[aria-pressed="true"] {
  background: var(--amber);
  transform: scale(1.3);
}

.capability-dot:hover {
  background: var(--text-main);
}

.capability-dot:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ─── Burning Quotes ─── */
.preview-super30 .lamp-pane .burn-quote {
  position: absolute;
  top: clamp(5rem, 20%, 9rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(84%, 400px);
  text-align: center;
  pointer-events: none;
  z-index: 5;
}

.preview-super30 .lamp-pane .burn-words {
  display: block;
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.08rem, 2.1vw, 1.62rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #f0e8d8;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.preview-super30 .lamp-pane .burn-words.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preview-super30 .lamp-pane .burn-word {
  display: inline;
  color: #f0e8d8;
  white-space: pre;
}

.preview-super30 .lamp-pane .burn-word.is-catching {
  animation: wordCatch 0.7s ease-in forwards;
}

.preview-super30 .lamp-pane .burn-word.is-burning {
  animation: wordBurn 1.6s ease-in forwards;
}

@keyframes wordCatch {
  0%   { color: #f0e8d8; text-shadow: none; }
  30%  { color: #ffe090;
         text-shadow: 0 5px 14px rgb(255 180 60 / 55%), 0 3px 8px rgb(255 140 40 / 40%); }
  65%  { color: #ffb830;
         text-shadow: 0 3px 10px rgb(255 160 50 / 80%), 0 1px 6px rgb(255 120 30 / 90%), 0 0 22px rgb(255 100 20 / 55%); }
  100% { color: #ff8c28;
         text-shadow: 0 0 8px rgb(255 150 40 / 100%), 0 0 18px rgb(255 110 20 / 85%), 0 0 36px rgb(255 80 10 / 60%), 0 0 60px rgb(255 50 0 / 35%); }
}

@keyframes wordBurn {
  0%   { color: #ff8c28;
         text-shadow: 0 0 8px rgb(255 150 40 / 100%), 0 0 18px rgb(255 110 20 / 85%), 0 0 36px rgb(255 80 10 / 60%);
         opacity: 1; transform: translateY(0) scaleY(1); filter: none; }
  22%  { color: #ff5e00;
         text-shadow: 0 0 12px rgb(255 120 30 / 100%), 0 0 28px rgb(255 80 0 / 90%), 0 0 56px rgb(255 50 0 / 65%), 0 0 90px rgb(255 30 0 / 40%);
         transform: translateY(-5px) scaleY(1.08); }
  48%  { color: #ff3800;
         text-shadow: 0 0 16px rgb(255 100 20 / 100%), 0 0 38px rgb(255 60 0 / 85%), 0 0 80px rgb(220 30 0 / 55%);
         transform: translateY(-14px) scaleY(1.16); filter: blur(0.6px); opacity: 0.85; }
  72%  { opacity: 0.35; transform: translateY(-28px) scaleY(1.22); filter: blur(3px); }
  100% { opacity: 0; transform: translateY(-52px); filter: blur(10px); }
}

@keyframes signalFocus {
  0%,
  100% {
    opacity: 0.58;
    transform: translateX(0);
    border-color: var(--preview-line);
  }

  9%,
  22% {
    opacity: 1;
    transform: translateX(0.56rem);
    border-color: var(--preview-line-strong);
  }

  32% {
    opacity: 0.64;
    transform: translateX(0);
  }
}

@keyframes signalDot {
  0%,
  100% {
    background: #100b06;
    box-shadow:
      0 0 0 3px rgb(255 178 72 / 5%),
      0 0 18px rgb(255 177 72 / 0%);
  }

  9%,
  22% {
    background: #ffc46f;
    box-shadow:
      0 0 0 4px rgb(255 178 72 / 12%),
      0 0 22px rgb(255 177 72 / 36%);
  }

  32% {
    background: #100b06;
  }
}

@media (max-width: 900px) {
  .preview-super30 .hero {
    min-height: auto;
    grid-template-rows: minmax(28rem, 48dvh) minmax(39rem, auto);
  }

  .preview-super30 .content-pane {
    min-height: 39rem;
    align-content: start;
    justify-items: start;
    overflow: hidden;
    padding-top: clamp(2.4rem, 8vw, 4rem);
  }

  .preview-content {
    width: 100%;
    align-content: center;
  }

  .preview-headline {
    max-width: 22ch;
    font-size: clamp(1.9rem, 7vw, 2.9rem);
  }

  .preview-lead {
    max-width: 31rem;
    font-size: clamp(0.9rem, 2.7vw, 1.02rem);
  }

  .signal-board {
    width: 100%;
  }

  .preview-cta {
    order: 4;
  }

  .signal-board {
    order: 5;
  }

  .preview-proof {
    order: 6;
  }

  .preview-super30 .lamp-pane .burn-quote {
    top: clamp(4.5rem, 18%, 8rem);
    width: min(88%, 340px);
  }

  .preview-super30 .lamp-pane .burn-words {
    font-size: clamp(1rem, 3.2vw, 1.4rem);
  }
}

@media (max-width: 460px) {
  .preview-super30 .hero {
    grid-template-rows: minmax(24rem, 45dvh) minmax(40rem, auto);
  }

  .preview-super30 .content-pane {
    min-height: 40rem;
    padding-top: 2.35rem;
  }

  .preview-content {
    gap: 0.62rem;
  }

  .preview-headline {
    max-width: 20ch;
    font-size: clamp(1.58rem, 7vw, 2rem);
  }

  .preview-lead {
    font-size: 0.82rem;
    line-height: 1.44;
  }

  .signal-board {
    gap: 0.28rem;
    padding-block: 0.2rem;
  }

  .signal-line {
    grid-template-columns: 3rem 1fr;
    min-height: 2.28rem;
    padding: 0.3rem 0.44rem;
  }

  .signal-board::before {
    left: 1.38rem;
  }

  .signal-line::before {
    left: 0.94rem;
  }

  .signal-index {
    padding-left: 1.82rem;
  }

  .signal-label {
    font-size: 0.74rem;
  }

  .preview-proof {
    gap: 0.4rem;
    font-size: 0.62rem;
  }

  .preview-proof span {
    padding: 0.45rem 0.58rem;
  }

  .preview-cta {
    width: 100%;
  }

  /* Inscription: tighten typography so secondary line fits at small viewports */
  .preview-super30 .lamp-pane .lamp-quote-attribution {
    font-size: 0.56rem;
    letter-spacing: 0.03em;
  }

  .preview-super30 .lamp-pane .burn-quote {
    top: 4rem;
    width: min(92%, 300px);
  }

  .preview-super30 .lamp-pane .burn-words {
    font-size: clamp(0.96rem, 4.2vw, 1.18rem);
    letter-spacing: 0.04em;
    line-height: 1.45;
  }
}

/* ─── Nav plain link ─── */
.nav-link {
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 99px;
  transition: color 260ms ease, background 260ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  background: rgb(255 255 255 / 5%);
}

/* ─── Blogs (index + reader) ─── */

/* Blogs page base */
.blogs-page,
.blog-reader-page {
  min-height: 100dvh;
}

.blogs-main {
  padding-top: clamp(4rem, 8vw, 6rem);
}

.blog-reader-main {
  padding-top: clamp(4rem, 8vw, 6rem);
  max-width: 780px;
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* ─── Blogs hero ─── */
.blogs-hero {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(1.2rem, 2.5vw, 2rem);
  max-width: 1320px;
  margin: 0 auto;
}

.blogs-hero-title {
  margin: 0 0 0.4rem;
  font-family: "Cinzel", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.blogs-hero-sub {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: clamp(0.74rem, 1vw, 0.88rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Category filter ─── */
.blogs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-pill {
  padding: 0.42rem 0.9rem;
  border: 1px solid rgb(255 214 151 / 18%);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  border-color: rgb(200 162 107 / 60%);
  color: #c8a26b;
  background: rgb(200 162 107 / 8%);
}

/* ─── Article grid ─── */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1320px;
  margin: 2rem auto 0;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}

@media (max-width: 900px) {
  .blogs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .blogs-grid { grid-template-columns: 1fr; }
}

/* ─── Article card ─── */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 1.2rem;
  border: 1px solid rgb(255 214 151 / 10%);
  border-radius: 12px;
  background: rgb(255 255 255 / 2%);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 260ms ease, background 260ms ease, transform 260ms ease;
  cursor: pointer;
}

.blog-card-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  margin-bottom: 0;
  flex-shrink: 0;
  background: #0a0a0a;
}

.blog-card-thumb canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card:hover {
  border-color: rgb(200 162 107 / 35%);
  background: rgb(255 194 94 / 4%);
  transform: translateY(-2px);
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem 0;
  margin-bottom: 0.85rem;
}

.blog-card-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8a26b;
}

.blog-card-readtime {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.blog-card-title {
  margin: 0 0 0.6rem;
  padding: 0 1.5rem;
  font-size: clamp(0.88rem, 1.1vw, 1.02rem);
  font-weight: 640;
  line-height: 1.36;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.52;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  padding: 0 1.5rem 1rem;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 5%);
}

.blog-card-author {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.blog-card-link {
  font-size: 0.65rem;
  font-weight: 660;
  color: #c8a26b;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease;
}

.blog-card:hover .blog-card-link {
  color: var(--amber);
}

.blog-card.is-hidden {
  display: none;
}

/* ─── Blog discovery controls ─── */

.blogs-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.blogs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.blogs-stat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.blogs-search {
  padding: 0.42rem 0.9rem;
  border: 1px solid rgb(255 214 151 / 18%);
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  width: clamp(160px, 22vw, 240px);
  outline: none;
  transition: border-color 220ms ease;
}

.blogs-search::placeholder {
  color: var(--text-muted);
}

.blogs-search:focus-visible {
  border-color: rgb(200 162 107 / 60%);
  box-shadow: 0 0 0 2px rgb(200 162 107 / 18%);
}

.blogs-sort {
  padding: 0.42rem 0.9rem;
  border: 1px solid rgb(255 214 151 / 18%);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.blogs-sort:hover,
.blogs-sort:focus-visible {
  border-color: rgb(200 162 107 / 60%);
  color: #c8a26b;
  background: rgb(200 162 107 / 8%);
}

.blog-card-date {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-card-new {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgb(200 162 107 / 15%);
  color: #c8a26b;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.4rem;
}

.blogs-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .blogs-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .blogs-search {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .blogs-controls {
    gap: 0.5rem;
  }
  .blogs-sort {
    font-size: 0.62rem;
  }
}

@media (max-width: 460px) {
  .blogs-search {
    width: 100%;
    max-width: none;
  }
  .blogs-sort {
    width: 100%;
  }
  .blogs-stats {
    gap: 0.4rem 0.8rem;
  }
}

/* ─── Blog reader ─── */
.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.2rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease;
}

.blog-back-link:hover { color: #c8a26b; }

.blog-article-eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a26b;
}

.blog-article-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 650;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 2.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.blog-loading {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 3rem 0;
}

.blog-error {
  color: rgb(255 150 100 / 80%);
  font-size: 0.88rem;
  padding: 3rem 0;
}

/* ─── Rendered markdown body ─── */
.blog-body {
  color: #e0d6c6;
  line-height: 1.74;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.blog-body h1, .blog-body h2, .blog-body h3 { color: var(--text-main); font-weight: 650; letter-spacing: -0.01em; margin: 1.8em 0 0.6em; line-height: 1.3; }
.blog-body h1 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.blog-body h2 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.blog-body h3 { font-size: clamp(0.92rem, 1.3vw, 1.08rem); }
.blog-body p { margin: 0 0 1.1em; }
.blog-body strong { color: var(--text-main); font-weight: 660; }
.blog-body em { font-style: italic; color: #d4c9b6; }
.blog-body ul, .blog-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.blog-body li { margin-bottom: 0.35em; }
.blog-body a { color: #c8a26b; text-underline-offset: 3px; }
.blog-body a:hover { color: var(--amber); }
.blog-body hr { border: none; border-top: 1px solid rgb(255 255 255 / 8%); margin: 2em 0; }
.blog-body pre { background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 8%); border-radius: 8px; padding: 1rem 1.2rem; overflow-x: auto; margin: 0 0 1.1em; }
.blog-body code { font-family: "SF Mono", "Fira Code", ui-monospace, monospace; font-size: 0.84em; color: #e8c87a; }
.blog-body pre code { font-size: 0.8rem; color: #ddd4be; }
.blog-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.2em 0; opacity: 0.88; display: block; }
.blog-body blockquote { border-left: 2px solid rgb(200 162 107 / 50%); padding-left: 1.1em; margin: 0 0 1.1em; color: var(--text-muted); font-style: italic; }
.blog-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.82rem; overflow-x: auto; display: block; }
.blog-body thead { border-bottom: 1px solid rgb(249 179 82 / 25%); }
.blog-body th { text-align: left; padding: 0.55rem 0.9rem; background: rgb(249 179 82 / 8%); color: #f9b352; font-weight: 660; letter-spacing: 0.04em; font-size: 0.72rem; text-transform: uppercase; white-space: nowrap; }
.blog-body td { padding: 0.55rem 0.9rem; border-bottom: 1px solid rgb(255 255 255 / 5%); color: var(--text-muted); vertical-align: top; line-height: 1.52; }
.blog-body tr:last-child td { border-bottom: none; }
.blog-body tbody tr:hover td { background: rgb(255 255 255 / 2%); }

.site-footer {
  padding: 2rem clamp(1.4rem, 2.8vw, 2.2rem);
  text-align: center;
  border-top: 1px solid rgb(255 214 151 / 8%);
  background: #030303;
}

.site-footer-copy {
  margin: 0;
  color: rgb(245 239 225 / 38%);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* ─── Mermaid Diagrams ─── */
.mermaid {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 12px;
  text-align: center;
}
.mermaid svg {
  max-width: 100%;
  height: auto;
  animation: mermaidDiagramIn 0.45s ease both;
}

/* ─── Blog Interactions ─── */
.blog-interactions {
  max-width: 720px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
  font-family: inherit;
}

.blog-reaction-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.blog-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 99px;
  color: var(--text-muted, #a0a0a0);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.blog-reaction-btn:hover,
.blog-reaction-btn:focus-visible {
  background: rgb(255 255 255 / 9%);
  border-color: rgb(255 255 255 / 22%);
  color: #fff;
}
.blog-reaction-btn.is-active {
  background: rgb(249 179 82 / 14%);
  border-color: var(--amber, #f9b352);
  color: var(--amber, #f9b352);
}
.reaction-icon { font-size: 1rem; }
.reaction-count {
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 1ch;
}

.blog-comments-zone { margin-top: 0; }

.blog-comments-heading {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #a0a0a0);
  margin: 0 0 1.25rem;
}

#blog-comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
#blog-comment-form label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted, #a0a0a0);
}
#blog-comment-form input,
#blog-comment-form textarea {
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 6px;
  color: var(--text-main, #e8e8e8);
  font-size: 0.9rem;
  padding: 0.55rem 0.8rem;
  resize: vertical;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s;
}
#blog-comment-form input:focus,
#blog-comment-form textarea:focus {
  border-color: var(--amber, #f9b352);
}
.blog-comment-submit {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  background: var(--amber, #f9b352);
  border: none;
  border-radius: 99px;
  color: #0a0a0a;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.18s;
}
.blog-comment-submit:hover,
.blog-comment-submit:focus-visible { opacity: 0.85; }

.blog-interactions-disclosure {
  font-size: 0.72rem;
  color: var(--text-muted, #a0a0a0);
  opacity: 0.6;
  margin: 0 0 1.5rem;
}

.blog-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-comment-empty {
  font-size: 0.85rem;
  color: var(--text-muted, #a0a0a0);
  opacity: 0.6;
}
.blog-comment-item {
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.blog-comment-header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.blog-comment-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main, #e8e8e8);
}
.blog-comment-date {
  font-size: 0.75rem;
  color: var(--text-muted, #a0a0a0);
  flex: 1;
}
.blog-comment-delete {
  background: none;
  border: none;
  color: var(--text-muted, #a0a0a0);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.blog-comment-delete:hover { opacity: 1; color: #ff6b6b; }
.blog-comment-body {
  font-size: 0.875rem;
  color: var(--text-main, #e8e8e8);
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .blog-interactions { padding: 0 1rem; }
  .blog-reaction-row { gap: 0.5rem; }
}
@media (max-width: 460px) {
  .blog-reaction-btn { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
  .blog-comment-submit { width: 100%; text-align: center; align-self: stretch; }
}

/* ─── Instructor Profile Page ─── */

.instructor-page {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: #e8e8e8;
  min-height: 100vh;
}

.instructor-hero {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.instructor-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.instructor-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instructor-photo {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  border: 2px solid var(--amber, #f9b352);
  box-shadow: 0 20px 40px rgba(249, 179, 82, 0.15);
  object-fit: cover;
  aspect-ratio: 1;
}

.instructor-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #fff;
  letter-spacing: -0.02em;
}

.instructor-title {
  font-size: 1.25rem;
  color: var(--amber, #f9b352);
  margin: 0 0 2rem 0;
  font-weight: 600;
}

.instructor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(249, 179, 82, 0.2);
  border-bottom: 1px solid rgba(249, 179, 82, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber, #f9b352);
}

.stat-label {
  font-size: 0.9rem;
  color: #b8b8b8;
  line-height: 1.4;
}

.instructor-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 2rem 0;
  color: #d8d8d8;
}

.instructor-specialties {
  margin: 2rem 0;
}

.instructor-specialties h3 {
  font-size: 1.1rem;
  color: var(--amber, #f9b352);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.specialty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.specialty-list li {
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  color: #d8d8d8;
}

.specialty-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber, #f9b352);
  font-weight: 700;
}

.instructor-certs {
  margin: 2rem 0;
}

.instructor-certs h3 {
  font-size: 1.1rem;
  color: var(--amber, #f9b352);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.cert-list {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b8b8b8;
  margin: 0;
}

.instructor-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: all 0.2s ease-out;
  font-size: 1rem;
  max-width: fit-content;
}

.linkedin-link {
  background: var(--amber, #f9b352);
  color: #000;
}

.linkedin-link:hover {
  background: #ffb76d;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(249, 179, 82, 0.25);
}

.explore-link {
  background: transparent;
  color: var(--amber, #f9b352);
  border: 1px solid var(--amber, #f9b352);
}

.explore-link:hover {
  background: rgba(249, 179, 82, 0.1);
  transform: translateY(-2px);
}

.instructor-philosophy {
  background: rgba(0, 0, 0, 0.3);
  padding: 4rem 2rem;
  border-top: 1px solid rgba(249, 179, 82, 0.2);
}

.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-container h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.philosophy-card {
  background: rgba(249, 179, 82, 0.05);
  border: 1px solid rgba(249, 179, 82, 0.15);
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease-out;
}

.philosophy-card:hover {
  background: rgba(249, 179, 82, 0.1);
  border-color: rgba(249, 179, 82, 0.3);
  transform: translateY(-4px);
}

.philosophy-card h3 {
  font-size: 1.2rem;
  color: var(--amber, #f9b352);
  margin-bottom: 1rem;
  font-weight: 700;
}

.philosophy-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b8b8b8;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .instructor-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .instructor-stats {
    grid-template-columns: 1fr;
  }

  .instructor-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .instructor-hero {
    padding: 2rem 1.2rem;
  }

  .instructor-photo {
    max-width: 280px;
  }

  .instructor-name {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .instructor-title {
    font-size: 1.1rem;
  }

  .instructor-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .instructor-bio {
    font-size: 0.95rem;
  }

  .philosophy-grid {
    gap: 1rem;
  }
}

@media (max-width: 460px) {
  .instructor-hero {
    padding: 5.5rem 1rem 1.5rem 1rem;
  }

  .instructor-photo {
    max-width: 140px;
    margin-top: 1rem;
  }

  .instructor-name {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .instructor-title {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .instructor-bio {
    font-size: 0.9rem;
    margin: 1.2rem 0;
  }

  .instructor-stats {
    gap: 0.8rem;
    padding: 0.8rem 0;
    margin: 1.2rem 0;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .instructor-specialties h3,
  .instructor-certs h3,
  .instructor-education h3 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .specialty-list li {
    padding-left: 1.2rem;
    font-size: 0.9rem;
  }

  .cert-list {
    font-size: 0.9rem;
  }

  .philosophy-card {
    padding: 1.2rem;
  }

  .philosophy-card h3 {
    font-size: 1rem;
  }

  .cta-link {
    width: 100%;
    font-size: 0.9rem;
  }
}

/* Education section for instructor profile */
.instructor-education {
  margin: 2rem 0;
}

.instructor-education h3 {
  font-size: 1.1rem;
  color: var(--amber, #f9b352);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.education-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(249, 179, 82, 0.08);
  border-left: 3px solid var(--amber, #f9b352);
  border-radius: 4px;
}

.degree-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.degree-school {
  font-size: 0.95rem;
  color: var(--amber, #f9b352);
  font-weight: 500;
}

.degree-status {
  font-size: 0.85rem;
  color: #4ade80;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.degree-note {
  font-size: 0.9rem;
  color: #b8b8b8;
  line-height: 1.6;
  margin: 0.5rem 0 0 0;
}
