:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #eef4f2;
  --text: #17211f;
  --muted: #65736f;
  --border: #dbe5e1;
  --primary: #111111;
  --primary-dark: #000000;
  --accent: #d64b3a;
  --warning: #b7791f;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(28, 48, 42, 0.12);
}

.home-layout {
  --bg: #eef3ee;
  --surface: #f8faf7;
  --surface-2: #dfe7df;
  --text: #151515;
  --muted: #5e6b62;
  --border: #ced8cf;
  --primary: #111111;
  --primary-dark: #000000;
  --accent: #254a35;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main {
  position: relative;
  overflow: hidden;
}

a { color: var(--primary); }

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.home-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  justify-content: flex-end;
  background: transparent;
  border-bottom: 0;
  color: #fff;
  transition: min-height 0.22s ease, padding 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.home-topbar .nav-actions {
  width: auto;
  margin-left: auto;
  justify-content: flex-end;
}

.home-scrolled .home-topbar {
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(236,235,234,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
}

.home-brand-text {
  display: none;
}

.site-logo-link {
  position: fixed;
  left: var(--site-logo-left, clamp(14px, 1.8vw, 28px));
  top: var(--site-logo-top, clamp(38px, 5.5vh, 58px));
  z-index: 24;
  display: grid;
  align-items: center;
  justify-items: start;
  width: var(--site-logo-size, clamp(300px, 28vw, 430px));
  height: var(--site-logo-size, clamp(300px, 28vw, 430px));
  border-radius: 0;
  background: transparent;
  color: #111;
  text-decoration: none;
  pointer-events: auto;
  will-change: left, top, width, height;
}

.site-logo-link img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.12));
}

.home-scrolled .site-logo-link {
  left: var(--site-logo-left, 2px);
  top: var(--site-logo-top, 9px);
  width: var(--site-logo-size, 40px);
  height: var(--site-logo-size, 40px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-logo-link {
  color: inherit;
  text-decoration: none;
}

#brand-logo {
  display: none;
}

.has-home-logo #brand-logo {
  display: grid;
  place-items: center;
  position: absolute;
  left: auto;
  right: clamp(-20px, 1vw, 14px);
  top: clamp(70px, 9vh, 86px);
  z-index: 1;
  width: clamp(243px, 30.4vw, 426px);
  height: clamp(243px, 30.4vw, 426px);
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  transition: filter 0.25s ease, opacity 0.2s ease;
}

.has-home-logo #brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.14));
}

.home-topbar .brand-title,
.home-topbar .brand-subtitle,
.home-topbar .brand {
  color: #111;
}

.home-topbar .brand-subtitle {
  color: rgba(17,17,17,0.64);
}

.home-topbar .brand img,
.home-topbar .brand-mark {
  border-color: rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.42);
  color: #111;
  backdrop-filter: blur(12px);
}

.home-nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  color: rgba(17,17,17,0.86);
  font-size: 0.86rem;
  font-weight: 650;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.42);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-nav-link::before {
  content: "";
  position: absolute;
  inset: 1px 10px auto;
  z-index: 0;
  height: 38%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
  opacity: 0.28;
  pointer-events: none;
}

.home-nav-link:hover {
  color: #000;
  transform: translateY(-1px);
  background: rgba(255,255,255,0.5);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

.gooey-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  min-width: 76px;
  color: #111;
  text-decoration: none;
  transition: min-width 0.22s ease;
}

.gooey-label,
.gooey-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.5);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.52);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.gooey-label {
  z-index: 2;
  min-width: 76px;
  padding: 0 20px;
  font-size: 0.86rem;
  font-weight: 750;
}

.gooey-arrow {
  position: absolute;
  right: 0;
  z-index: 1;
  width: 36px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-8px) scale(0.88);
  pointer-events: none;
}

.gooey-login:hover .gooey-label,
.gooey-login:hover .gooey-arrow {
  background: rgba(255,255,255,0.68);
}

.gooey-login:hover .gooey-arrow {
  opacity: 1;
  transform: translateX(12px) scale(1);
}

.gooey-login:hover {
  min-width: 92px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.brand img.brand-logo-img {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.08));
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.brand-title {
  display: block;
  overflow: hidden;
  max-width: 52vw;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 800;
}

.brand-subtitle {
  display: block;
  overflow: hidden;
  max-width: 52vw;
  color: var(--muted);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  --btn-bg: rgba(255,255,255,0.46);
  --btn-bg-hover: rgba(255,255,255,0.62);
  --btn-border: rgba(0,0,0,0.14);
  --btn-ink: #111;
  --btn-shadow: rgba(0,0,0,0.08);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
    var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 750;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 10px 24px var(--btn-shadow),
    inset 0 1px 0 rgba(255,255,255,0.5);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px 12px auto;
  height: 40%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(115deg, transparent 0 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  opacity: 0.18;
  transition: opacity 0.18s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: -2;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06)),
    var(--btn-bg-hover);
  box-shadow:
    0 14px 30px var(--btn-shadow),
    inset 0 1px 0 rgba(255,255,255,0.58);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.98);
  box-shadow:
    0 6px 16px var(--btn-shadow),
    inset 0 1px 0 rgba(255,255,255,0.46);
}

.btn.primary {
  --btn-bg: rgba(255,255,255,0.5);
  --btn-bg-hover: rgba(255,255,255,0.68);
  --btn-border: rgba(0,0,0,0.16);
  --btn-ink: #111;
  --btn-shadow: rgba(0,0,0,0.1);
  text-shadow: none;
}

.btn.danger {
  --btn-bg: rgba(255, 235, 233, 0.74);
  --btn-bg-hover: rgba(255, 225, 222, 0.84);
  --btn-border: rgba(180,35,24,0.18);
  --btn-ink: var(--danger);
  --btn-shadow: rgba(180,35,24,0.12);
}

.btn.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.88rem;
}

.student-menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  color: #111;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.student-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: 999px;
  background: currentColor;
}

.student-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(7,18,15,0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(34px, 7vw, 86px) clamp(18px, 4vw, 56px) 34px;
}

.shader-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 76%, rgba(255,255,255,0.94), transparent 34%),
    radial-gradient(circle at 68% 14%, rgba(169,191,166,0.48), transparent 31%),
    radial-gradient(circle at 88% 78%, rgba(22,76,48,0.18), transparent 33%),
    radial-gradient(circle at 36% 28%, rgba(218,232,213,0.6), transparent 30%),
    linear-gradient(135deg, #fbfcf8 0%, #e6eee4 48%, #cbd9ca 100%);
}

.shader-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255,255,255,0.16), rgba(18,72,43,0.035)),
    radial-gradient(circle at 52% 42%, transparent 0 38%, rgba(15,66,40,0.12) 76%);
  pointer-events: none;
}

.mesh-layer {
  position: absolute;
  inset: -20%;
  opacity: 0.72;
  filter: blur(46px) saturate(0.9);
  transform-origin: center;
  animation: meshDrift 18s ease-in-out infinite alternate;
}

.mesh-a {
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,0.88), transparent 25%),
    radial-gradient(circle at 62% 34%, rgba(134,169,126,0.4), transparent 25%),
    radial-gradient(circle at 42% 82%, rgba(22,83,51,0.14), transparent 24%);
}

.mesh-b {
  opacity: 0.42;
  background:
    repeating-linear-gradient(115deg, rgba(16,76,45,0.045) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 80% 58%, rgba(255,255,255,0.74), transparent 24%);
  animation-duration: 26s;
  mix-blend-mode: multiply;
}

.cell-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(19,79,49,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,79,49,0.055) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 42% 52%, #000 0 38%, transparent 72%);
}

@keyframes meshDrift {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(8deg) scale(1.08) translate3d(2%, -2%, 0); }
}

.bio-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bio-float {
  position: absolute;
  width: clamp(54px, 7vw, 112px);
  height: auto;
  opacity: 0.28;
  filter:
    grayscale(1)
    contrast(0.9)
    drop-shadow(0 18px 30px rgba(0,0,0,0.12));
  mix-blend-mode: multiply;
  animation: bioFloat 9s ease-in-out infinite alternate;
}

.bio-float-dna {
  left: 7%;
  top: 18%;
  width: clamp(62px, 8vw, 126px);
  animation-duration: 10s;
}

.bio-float-cell {
  right: 28%;
  top: 17%;
  width: clamp(50px, 6vw, 94px);
  opacity: 0.24;
  animation-duration: 12s;
  animation-delay: -3s;
}

.bio-float-biotech {
  right: 8%;
  top: 54%;
  width: clamp(58px, 7vw, 108px);
  opacity: 0.26;
  animation-duration: 11s;
  animation-delay: -5s;
}

.bio-float-botany {
  left: 31%;
  top: 68%;
  width: clamp(58px, 7vw, 116px);
  opacity: 0.22;
  animation-duration: 13s;
  animation-delay: -2s;
}

.bio-float-tree {
  left: 5%;
  top: 112vh;
  width: clamp(70px, 9vw, 138px);
  opacity: 0.24;
  animation-duration: 12s;
}

.bio-float-leaves {
  right: 8%;
  top: 142vh;
  width: clamp(62px, 8vw, 126px);
  opacity: 0.25;
  animation-duration: 10s;
  animation-delay: -4s;
}

.bio-float-microscope {
  left: 72%;
  top: 96vh;
  width: clamp(58px, 7.5vw, 118px);
  opacity: 0.23;
  animation-duration: 12s;
  animation-delay: -6s;
}

.bio-float-neuron {
  left: 16%;
  top: 156vh;
  width: clamp(56px, 7vw, 112px);
  opacity: 0.22;
  animation-duration: 14s;
  animation-delay: -8s;
}

.bio-float-plant-cell {
  right: 30%;
  top: 124vh;
  width: clamp(54px, 7vw, 110px);
  opacity: 0.22;
  animation-duration: 11s;
  animation-delay: -7s;
}

.bio-float-plant-cell-2 {
  left: 44%;
  top: 188vh;
  width: clamp(52px, 6.5vw, 104px);
  opacity: 0.2;
  animation-duration: 13s;
  animation-delay: -5s;
}

.bio-float-smoke-a {
  left: clamp(580px, 62vw, 820px);
  top: 30%;
  width: clamp(46px, 5vw, 78px);
  opacity: 0.18;
  animation-duration: 15s;
  animation-delay: -9s;
}

.bio-float-smoke-b {
  left: clamp(640px, 68vw, 900px);
  top: 39%;
  width: clamp(42px, 4.8vw, 72px);
  opacity: 0.17;
  animation-duration: 12s;
  animation-delay: -4s;
}

.bio-float-smoke-c {
  left: clamp(250px, 27vw, 420px);
  top: 54%;
  width: clamp(44px, 5vw, 76px);
  opacity: 0.16;
  animation-duration: 16s;
  animation-delay: -11s;
}

.bio-float-smoke-d {
  left: clamp(700px, 74vw, 980px);
  top: 49%;
  width: clamp(40px, 4.6vw, 70px);
  opacity: 0.16;
  animation-duration: 14s;
  animation-delay: -6s;
}

@keyframes bioFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  to {
    transform: translate3d(12px, -18px, 0) rotate(5deg);
  }
}

.handwritten-title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(42vw, 560px);
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: center;
  color: rgba(14,14,14,0.9);
  transform: translate(-50%, -42%) rotate(-2deg);
  pointer-events: none;
}

.handwritten-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 28px rgba(255,255,255,0.48));
}

.handwritten-circle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  opacity: 0;
  animation: handwritingCircle 2.5s 1.75s cubic-bezier(0.43, 0.13, 0.23, 0.96) forwards;
}

.handwritten-copy {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 0;
  text-align: center;
  font-family: "Bradley Hand", "Marker Felt", "Comic Sans MS", cursive;
  text-shadow: 0 10px 28px rgba(255,255,255,0.62);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: handwritingText 0.8s 2.15s ease forwards;
}

.handwritten-copy span,
.handwritten-copy strong {
  display: block;
  letter-spacing: 0;
  line-height: 0.92;
}

.handwritten-copy span {
  font-size: clamp(1.9rem, 4vw, 4.2rem);
  font-weight: 500;
}

.handwritten-copy strong {
  font-size: clamp(2.6rem, 6vw, 6.4rem);
  font-weight: 800;
}

@keyframes handwritingCircle {
  0% {
    stroke-dashoffset: 2500;
    opacity: 0;
  }
  12% {
    opacity: 0.94;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.94;
  }
}

@keyframes handwritingText {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shader-hero .hero-copy {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: clamp(6px, 1.5vw, 22px);
  z-index: 3;
  max-width: min(780px, calc(100% - 40px));
  color: #111;
}

.shader-hero h1 {
  max-width: 850px;
  margin: 14px 0 18px;
  color: #111;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  text-shadow: 0 16px 44px rgba(255,255,255,0.72);
}

.shader-hero .lead {
  max-width: 650px;
  color: rgba(17,17,17,0.72);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-handwritten-message {
  width: min(720px, calc(100% - 40px));
  font-family: "Bradley Hand", "Marker Felt", "Comic Sans MS", cursive;
}

.hero-handwritten-message p {
  margin: 0;
  color: rgba(13, 32, 20, 0.92);
  font-size: clamp(1.25rem, 2.35vw, 2.55rem);
  font-weight: 500;
  line-height: 1.12;
  text-shadow: 0 12px 30px rgba(255,255,255,0.72);
}

.hero-handwritten-message strong {
  display: inline-block;
  color: #0f301f;
  font-size: 1.28em;
  font-weight: 900;
}

.write-line {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  animation: writeReveal 1.55s cubic-bezier(0.43, 0.13, 0.23, 0.96) forwards;
}

.write-line::after {
  content: "";
  position: absolute;
  top: 13%;
  right: 0;
  width: 2px;
  height: 74%;
  border-radius: 999px;
  background: rgba(15,48,31,0.62);
  opacity: 0;
  animation: penBlink 1.55s ease forwards;
}

.write-line:nth-child(1) {
  animation-delay: 0.15s;
}

.write-line:nth-child(1)::after {
  animation-delay: 0.15s;
}

.write-line:nth-child(2) {
  animation-delay: 1.0s;
}

.write-line:nth-child(2)::after {
  animation-delay: 1.0s;
}

.write-line:nth-child(3) {
  animation-delay: 2.08s;
}

.write-line:nth-child(3)::after {
  animation-delay: 2.08s;
}

.write-line:nth-child(4) {
  animation-delay: 3.1s;
}

.write-line:nth-child(4)::after {
  animation-delay: 3.1s;
}

.write-line:nth-child(5) {
  animation-delay: 4.12s;
}

.write-line:nth-child(5)::after {
  animation-delay: 4.12s;
}

@keyframes writeReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes penBlink {
  0%, 85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.glass-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  color: rgba(17,17,17,0.84);
  font-size: 0.92rem;
  font-weight: 760;
  backdrop-filter: blur(16px);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.56);
}

.glass-chip::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.18), transparent);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 16px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn.ghost {
  --btn-bg: rgba(255,255,255,0.48);
  --btn-bg-hover: rgba(255,255,255,0.66);
  --btn-border: rgba(0,0,0,0.16);
  --btn-ink: #111;
  --btn-shadow: rgba(0,0,0,0.1);
  text-shadow: none;
}

.hero-copy {
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-panel,
.panel,
.card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.86), rgba(242,241,238,0.72)),
    var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 28px;
  box-shadow:
    0 18px 48px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

.hero-panel {
  padding: clamp(18px, 3vw, 28px);
}

.payment-box {
  display: grid;
  gap: 18px;
}

.payment-section {
  padding-top: 14px;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
}

.qr-frame {
  display: grid;
  place-items: center;
  min-height: 240px;
  overflow: hidden;
  border: 1px dashed rgba(0,0,0,0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,0.95), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.7), rgba(232,231,228,0.72));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.76),
    0 14px 34px rgba(0,0,0,0.06);
}

.qr-frame img {
  max-width: min(260px, 100%);
  max-height: 280px;
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.1);
}

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

.section {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 4vw, 44px) clamp(18px, 4vw, 56px);
}

.section + .section {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.section-flow {
  max-width: 1120px;
  margin: 0 auto;
}

.section-flow h2 {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.section-flow > .muted,
.payment-grid > div > .muted {
  max-width: 620px;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
}

.panel,
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 44%;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.92), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  opacity: 0.7;
  pointer-events: none;
}

.card > *,
.panel > * {
  position: relative;
  z-index: 1;
}

.card {
  min-height: 168px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,0.12);
  box-shadow:
    0 24px 58px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.card h3,
.panel h2 {
  color: #111;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 0.94rem;
  font-weight: 850;
  text-transform: uppercase;
}

.card .muted {
  color: rgba(17,17,17,0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid .wide,
.field.wide {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 9px;
}

label {
  color: rgba(17,17,17,0.72);
  font-size: 0.86rem;
  font-weight: 780;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 8px 20px rgba(0,0,0,0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 108px;
  border-radius: 22px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.9);
  box-shadow:
    0 0 0 4px rgba(0,0,0,0.07),
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 12px 28px rgba(0,0,0,0.06);
}

.status {
  min-height: 24px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
}

.status.success { color: var(--primary); }
.status.error { color: var(--danger); }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.login-card {
  width: min(440px, 100%);
  padding: 24px;
}

.app-shell {
  min-height: 100vh;
}

.dashboard {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
  padding: 22px clamp(16px, 3vw, 34px);
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 90px;
  display: grid;
  gap: 10px;
}

.side-button {
  width: 100%;
  justify-content: flex-start;
  --btn-bg: rgba(255,255,255,0.54);
  --btn-bg-hover: rgba(255,255,255,0.68);
  --btn-border: rgba(255,255,255,0.5);
  --btn-shadow: rgba(18,54,42,0.08);
  border-radius: 12px;
}

.side-button.active {
  --btn-bg: rgba(17,17,17,0.9);
  --btn-bg-hover: rgba(0,0,0,0.92);
  --btn-border: rgba(0,0,0,0.18);
  --btn-shadow: rgba(0,0,0,0.16);
  --btn-ink: #fff;
  text-shadow: none;
}

.content-area {
  display: grid;
  gap: 18px;
}

.chapter {
  display: grid;
  gap: 12px;
}

.topic {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.embed-box {
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f2f6f5;
}

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

.empty-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.admin-topbar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(16, 36, 31, 0.06);
}

.admin-menu-btn,
.admin-close-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8e1dd;
  border-radius: 50%;
  background: #fff;
  color: #17211f;
  box-shadow: 0 8px 20px rgba(16, 36, 31, 0.06);
}

.admin-menu-btn {
  gap: 4px;
  flex: 0 0 auto;
}

.admin-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-close-btn {
  font-size: 1.6rem;
  line-height: 1;
}

#admin-app .btn {
  border-color: #d8e1dd;
  border-radius: 999px;
  background: #fff;
  color: #1f312d;
  box-shadow: 0 8px 20px rgba(16, 36, 31, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
}

#admin-app .btn::before,
#admin-app .btn::after {
  display: none;
}

#admin-app .btn:hover {
  background: #f5f8f7;
  box-shadow: 0 10px 24px rgba(16, 36, 31, 0.08);
}

#admin-app .btn.primary {
  border-color: #111;
  background: #111;
  color: #fff;
}

#admin-app .btn.primary:hover {
  background: #000;
}

#admin-app .btn.danger {
  border-color: #f3c2bd;
  background: #fff5f4;
  color: var(--danger);
}

#admin-app .panel,
.admin-page .login-card,
#admin-app .card {
  border-color: #dde6e2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 36, 31, 0.07);
}

.admin-page input,
.admin-page textarea,
.admin-page select {
  border-radius: 16px;
  background: #fbfdfc;
}

.admin-page textarea {
  border-radius: 20px;
}

.admin-page .qr-frame,
.admin-page .embed-box {
  border-radius: 24px;
}

.admin-layout {
  display: block;
  min-height: calc(100vh - 70px);
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(7, 18, 15, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.admin-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(330px, calc(100vw - 28px));
  padding: 18px;
  border-radius: 0 28px 28px 0;
  background: #ffffff;
  color: #17211f;
  box-shadow: 24px 0 60px rgba(16, 36, 31, 0.18);
  transform: translateX(-105%);
  transition: transform 0.24s cubic-bezier(.22,.61,.36,1);
}

#admin-app.nav-open .admin-overlay {
  opacity: 1;
  pointer-events: auto;
}

#admin-app.nav-open .admin-nav {
  transform: translateX(0);
}

.admin-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f0;
}

.admin-nav-head strong,
.admin-nav-head span {
  display: block;
}

.admin-nav-head strong {
  font-size: 1.02rem;
}

.admin-nav-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-nav-list {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.admin-nav .side-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: #31433e;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
  transition: color 0.18s ease, transform 0.18s ease;
}

.admin-nav .side-button:hover,
.admin-nav .side-button.active {
  color: #fff;
}

.admin-nav .side-button:active {
  transform: scale(0.985);
}

.admin-nav-cursor {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  border-radius: 999px;
  background: #10241f;
  opacity: 0;
  transition: transform 0.2s cubic-bezier(.22,.61,.36,1), width 0.2s ease, height 0.2s ease, opacity 0.15s ease;
}

.admin-main {
  display: grid;
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 34px);
}

.admin-section { display: none; }
.admin-section.active { display: grid; gap: 18px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

th {
  background: #eef4f2;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.pill.approved { background: #dcfae6; color: #067647; }
.pill.enrolled { background: #dcfae6; color: #067647; }
.pill.contacted { background: #dbeafe; color: #1d4ed8; }
.pill.rejected { background: #fee4e2; color: #b42318; }
.pill.pending { background: #fef0c7; color: #93370d; }

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hidden { display: none !important; }

@media (max-width: 900px) {
  .hero,
  .dashboard,
  .embed-grid {
    grid-template-columns: 1fr;
  }

  .student-menu-btn {
    display: inline-grid;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: min(300px, calc(100vw - 28px));
    align-content: start;
    padding: 18px;
    border-radius: 0 28px 28px 0;
    box-shadow: 24px 0 60px rgba(16,36,31,0.18);
    transform: translateX(-105%);
    transition: transform 0.24s cubic-bezier(.22,.61,.36,1);
  }

  .student-nav-open .student-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .student-nav-open .sidebar {
    transform: translateX(0);
  }

  .grid,
  .payment-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .shader-hero {
    min-height: 92svh;
  }

  .site-logo-link {
    left: var(--site-logo-left, 12px);
    top: var(--site-logo-top, clamp(44px, 6vh, 62px));
    width: var(--site-logo-size, clamp(180px, 28vw, 260px));
    height: var(--site-logo-size, clamp(180px, 28vw, 260px));
    border-radius: 34px;
  }

  .home-scrolled .site-logo-link {
    top: var(--site-logo-top, 9px);
    width: var(--site-logo-size, 40px);
    height: var(--site-logo-size, 40px);
    border-radius: 14px;
  }

  .has-home-logo #brand-logo {
    right: clamp(-86px, -6vw, -24px);
    top: clamp(82px, 10vh, 108px);
    width: clamp(260px, 48vw, 380px);
    height: clamp(260px, 48vw, 380px);
    opacity: 0.5;
  }

  .handwritten-title {
    left: 50%;
    right: auto;
    top: 36%;
    width: min(68vw, 460px);
    transform: translate(-50%, -40%) rotate(-2deg);
    opacity: 0.92;
  }

  .shader-hero .hero-copy {
    left: clamp(18px, 4vw, 34px);
    right: clamp(18px, 4vw, 34px);
    bottom: clamp(16px, 4vw, 34px);
    max-width: none;
  }

  .hero-handwritten-message {
    width: min(620px, calc(100% - 36px));
  }

  .hero-handwritten-message p {
    font-size: clamp(1.32rem, 4.2vw, 2.45rem);
  }

  .shader-hero h1 {
    max-width: 700px;
    font-size: clamp(3rem, 10vw, 5.8rem);
  }

  .bio-float {
    opacity: 0.18;
  }

  .bio-float-dna {
    left: 5%;
    top: 16%;
  }

  .bio-float-cell,
  .bio-float-biotech {
    right: -18px;
  }

  .bio-float-botany {
    left: 12%;
    top: 74%;
  }

  .bio-float-tree {
    left: -24px;
  }

  .bio-float-leaves {
    right: -28px;
  }

  .bio-float-microscope {
    left: auto;
    right: 7%;
    top: 98vh;
  }

  .bio-float-neuron {
    left: 8%;
    top: 150vh;
  }

  .bio-float-plant-cell {
    right: 18%;
    top: 128vh;
  }

  .bio-float-plant-cell-2 {
    left: 42%;
    top: 180vh;
  }

  .bio-float-smoke-a,
  .bio-float-smoke-b,
  .bio-float-smoke-c,
  .bio-float-smoke-d {
    opacity: 0.11;
  }

  .bio-float-smoke-a {
    left: 54%;
    top: 26%;
  }

  .bio-float-smoke-b {
    left: 66%;
    top: 36%;
  }

  .bio-float-smoke-c {
    left: 56%;
    top: 50%;
  }

  .bio-float-smoke-d {
    left: 72%;
    top: 47%;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }

  .home-topbar .nav-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .nav-actions .btn {
    flex: 1;
  }

  .home-topbar {
    position: fixed;
    min-height: 54px;
    padding: 10px 8px 9px 42px;
    background: rgba(239, 245, 238, 0.66);
    border-bottom: 1px solid rgba(20, 50, 32, 0.08);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
  }

  .site-logo-link {
    left: var(--site-logo-left, 3px);
    top: var(--site-logo-top, 9px);
    width: var(--site-logo-size, 36px);
    height: var(--site-logo-size, 36px);
    border-radius: 0;
    background: transparent;
  }

  .home-scrolled .site-logo-link {
    left: var(--site-logo-left, 3px);
    top: var(--site-logo-top, 9px);
    width: var(--site-logo-size, 34px);
    height: var(--site-logo-size, 34px);
    border-radius: 0;
    background: transparent;
  }

  .home-nav-link {
    display: inline-flex;
    min-height: 32px;
    padding: 6px 7px;
    border-color: rgba(18, 48, 31, 0.12);
    background: rgba(255, 255, 255, 0.54);
    color: rgba(12, 18, 15, 0.9);
    font-size: 0.67rem;
    box-shadow:
      0 8px 18px rgba(9, 35, 20, 0.08),
      inset 0 1px 0 rgba(255,255,255,0.58);
  }

  .gooey-login {
    width: auto;
    min-width: 54px;
    height: 32px;
  }

  .gooey-label,
  .gooey-arrow {
    height: 32px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow:
      0 8px 18px rgba(9, 35, 20, 0.09),
      inset 0 1px 0 rgba(255,255,255,0.6);
  }

  .gooey-label {
    min-width: 54px;
    padding: 0 10px;
    font-size: 0.67rem;
  }

  .gooey-arrow {
    display: none;
  }

  .has-home-logo #brand-logo {
    right: -44px;
    top: 92px;
    z-index: 2;
    width: min(88vw, 370px);
    height: min(88vw, 370px);
    opacity: 0.78;
    filter: brightness(1.12) contrast(1.04) saturate(1.03);
  }

  .has-home-logo #brand-logo::after {
    content: none;
  }

  .has-home-logo #brand-logo img {
    filter:
      brightness(1.08)
      contrast(1.04)
      drop-shadow(0 18px 34px rgba(15, 39, 26, 0.18));
    -webkit-mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0,0,0,0.72) 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0,0,0,0.72) 84%, transparent 100%);
  }

  .shader-hero {
    min-height: 100svh;
    padding-top: 64px;
    background:
      radial-gradient(circle at 18% 78%, rgba(255,255,255,0.96), transparent 38%),
      radial-gradient(circle at 72% 18%, rgba(171,198,166,0.42), transparent 34%),
      radial-gradient(circle at 88% 74%, rgba(22,76,48,0.16), transparent 34%),
      linear-gradient(145deg, #fbfcf8 0%, #edf4ea 54%, #d5e1d3 100%);
  }

  .shader-hero::after {
    background:
      linear-gradient(to bottom, rgba(244,249,243,0.06), rgba(244,249,243,0.76) 86%, rgba(244,249,243,0.94)),
      radial-gradient(circle at 46% 50%, transparent 0 48%, rgba(19,79,49,0.08) 82%);
  }

  .mesh-layer {
    opacity: 0.52;
    filter: blur(34px) saturate(0.94);
  }

  .cell-grid {
    opacity: 0.1;
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 42%, #000 0 30%, transparent 68%);
  }

  .bio-float {
    width: clamp(42px, 15vw, 70px);
    opacity: 0.14;
    filter:
      grayscale(1)
      contrast(0.86)
      drop-shadow(0 12px 20px rgba(0,0,0,0.08));
  }

  .bio-float-cell,
  .bio-float-biotech,
  .bio-float-tree,
  .bio-float-neuron,
  .bio-float-plant-cell-2,
  .bio-float-smoke-b,
  .bio-float-smoke-c,
  .bio-float-smoke-d {
    display: none;
  }

  .bio-float-dna {
    left: 16px;
    top: 13%;
  }

  .bio-float-botany {
    left: auto;
    right: 12px;
    top: 67%;
  }

  .bio-float-leaves {
    right: 18px;
    top: 118vh;
  }

  .bio-float-microscope {
    left: auto;
    right: 18px;
    top: 150vh;
  }

  .bio-float-plant-cell {
    left: 18px;
    right: auto;
    top: 205vh;
  }

  .bio-float-smoke-a {
    left: 64%;
    top: 31%;
    opacity: 0.1;
  }

  .shader-hero .hero-copy {
    left: 16px;
    right: 16px;
    bottom: 24px;
    z-index: 4;
    max-width: calc(100% - 32px);
  }

  .hero-handwritten-message {
    width: min(92vw, 420px);
  }

  .hero-handwritten-message p {
    color: rgba(10, 25, 17, 0.96);
    font-size: clamp(1.08rem, 6.1vw, 1.72rem);
    line-height: 1.12;
    text-shadow:
      0 1px 0 rgba(255,255,255,0.72),
      0 10px 24px rgba(255,255,255,0.7);
  }

  .hero-handwritten-message strong {
    color: #092416;
  }

  .write-line {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .write-line::after {
    width: 0;
    display: none;
  }

  .shader-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(2.7rem, 15vw, 4.35rem);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .shader-hero .lead {
    max-width: 94%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .glass-chip {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 0.82rem;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .section {
    padding: 28px 16px;
  }

  .grid {
    gap: 12px;
  }

  .card {
    min-height: auto;
    padding: 20px;
    border-radius: 24px;
  }

  .handwritten-title {
    top: 50%;
    left: 50%;
    right: auto;
    z-index: 4;
    width: min(74vw, 300px);
    transform: translate(-50%, -40%) rotate(-2deg);
    opacity: 0.94;
  }

  .handwritten-circle {
    filter:
      drop-shadow(0 1px 0 rgba(255,255,255,0.7))
      drop-shadow(0 10px 22px rgba(255,255,255,0.5));
  }

  .handwritten-copy span {
    font-size: clamp(1.32rem, 8vw, 2.35rem);
  }

  .handwritten-copy strong {
    font-size: clamp(1.9rem, 12vw, 3.5rem);
  }
}

@media (max-width: 390px) {
  .home-topbar {
    padding-left: 50px;
  }

  .home-topbar .nav-actions {
    gap: 4px;
  }

  .home-nav-link {
    padding-inline: 7px;
    font-size: 0.68rem;
  }

  .gooey-label {
    min-width: 58px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .has-home-logo #brand-logo {
    right: -52px;
    width: min(98vw, 360px);
    height: min(98vw, 360px);
  }
}
