/* =========================================================
   PRETTIEST DENTIST ALIVE — Coming Soon
   Dr. Omolara Akinfemiwa Dentistry
   ========================================================= */

:root {
  /* Palette */
  --bg-0: #07070a;
  --bg-1: #0d0d12;
  --bg-2: #15131c;
  --ink: #f4eee2;
  --ink-soft: #d8d2c4;
  --ink-mute: #8b8694;
  --ink-faint: #4a4754;

  --gold: #c9a961;
  --gold-soft: #e8d4a3;
  --gold-deep: #8c7339;

  --lilac: #b8a5d9;
  --lilac-soft: #d8c8eb;
  --lilac-deep: #6b5588;

  --rose: #e6b8c4;

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Italiana', 'Fraunces', serif;

  /* Layout */
  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: 'ss01', 'cv11', 'liga', 'kern';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(184, 165, 217, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 110%, rgba(201, 169, 97, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

ul {
  list-style: none;
}

/* =========================================================
   Ambient layers
   ========================================================= */

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 8s steps(8) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(-4%, 2%); }
  30%  { transform: translate(2%, -4%); }
  40%  { transform: translate(-2%, 5%); }
  50%  { transform: translate(-4%, 2%); }
  60%  { transform: translate(3%, 0); }
  70%  { transform: translate(0, 3%); }
  80%  { transform: translate(-3%, 1%); }
  90%  { transform: translate(2%, 4%); }
  100% { transform: translate(0, 0); }
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 238, 226, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 238, 226, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}

.ambient__orb--gold {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.55) 0%, transparent 60%);
  animation: float-a 18s ease-in-out infinite;
}

.ambient__orb--lilac {
  width: 600px;
  height: 600px;
  left: -200px;
  top: -160px;
  background: radial-gradient(circle, rgba(184, 165, 217, 0.45) 0%, transparent 60%);
  animation: float-b 22s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, -30px) scale(1.05); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.07); }
}

.ambient__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.ambient__spotlight {
  position: absolute;
  width: 800px;
  height: 800px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 212, 163, 0.10) 0%, rgba(184, 165, 217, 0.05) 30%, transparent 65%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0;
  mix-blend-mode: screen;
}

body.has-cursor .ambient__spotlight {
  opacity: 1;
}

.ambient__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.55) 100%);
}

/* =========================================================
   Topbar
   ========================================================= */

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 28px) var(--pad-x);
  gap: 16px;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__wordmark {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.dot--brand {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 12px rgba(232, 212, 163, 0.6);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.topbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(184, 165, 217, 0.18);
  border-radius: 999px;
  background: rgba(184, 165, 217, 0.05);
  color: var(--lilac-soft);
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(244, 238, 226, 0.12);
}

.topbar__small {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .topbar__small--mobile-hide,
  .topbar__divider--mobile-hide {
    display: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) var(--pad-x) clamp(48px, 6vw, 80px);
}

.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ---------- Reveal animations ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal]:nth-child(1) { transition-delay: 0.05s; }
[data-reveal]:nth-child(2) { transition-delay: 0.18s; }
[data-reveal]:nth-child(3) { transition-delay: 0.32s; }
[data-reveal]:nth-child(4) { transition-delay: 0.46s; }
[data-reveal]:nth-child(5) { transition-delay: 0.60s; }
[data-reveal]:nth-child(6) { transition-delay: 0.74s; }

/* ---------- Eyebrow ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 9px;
  background: rgba(184, 165, 217, 0.06);
  border: 1px solid rgba(184, 165, 217, 0.2);
  border-radius: 999px;
  color: var(--lilac-soft);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot--pulse {
  background: var(--lilac);
  box-shadow: 0 0 0 0 rgba(184, 165, 217, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

.dot--live {
  background: #62e599;
  box-shadow: 0 0 0 0 rgba(98, 229, 153, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 165, 217, 0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(184, 165, 217, 0); }
}

/* ---------- Title ---------- */

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(105deg, var(--ink) 0%, var(--lilac-soft) 40%, var(--gold-soft) 70%, var(--ink) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-text 8s ease-in-out infinite;
}

.hero__title-line em {
  font-style: italic;
  font-weight: 500;
}

@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- Tagline ---------- */

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 44px;
}

.hero__tagline-rule {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold-soft));
}

/* ---------- Loader ---------- */

.loader {
  margin-bottom: 44px;
  max-width: 520px;
}

.loader__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.loader__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.loader__cursor {
  width: 8px;
  height: 8px;
  background: var(--gold-soft);
  border-radius: 1px;
  display: inline-block;
  box-shadow: 0 0 12px rgba(232, 212, 163, 0.6);
  animation: blink 1.1s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.loader__typer {
  font-variant-numeric: tabular-nums;
  min-width: 9ch;
  display: inline-block;
}

.loader__percent {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.loader__percent-symbol {
  color: var(--gold-soft);
  font-size: 0.7em;
  margin-left: 2px;
  font-weight: 400;
}

.loader__bar {
  position: relative;
  height: 2px;
  background: rgba(244, 238, 226, 0.08);
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 2px;
}

.loader__fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--lilac) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  box-shadow: 0 0 16px rgba(232, 212, 163, 0.45);
  transition: right 0.6s var(--ease-out);
  border-radius: 2px;
}

.loader__shimmer {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer-bar 2.6s linear infinite;
}

@keyframes shimmer-bar {
  0%   { transform: translateX(0); }
  100% { transform: translateX(450%); }
}

.loader__ticks {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 1px;
}

.loader__ticks span {
  width: 1px;
  height: 100%;
  background: rgba(244, 238, 226, 0.18);
}

.loader__rotator {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
  height: 1.5em;
  position: relative;
  overflow: hidden;
}

.loader__rotator-text {
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.loader__rotator-text.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

/* ---------- Stats ---------- */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px) clamp(24px, 4vw, 56px);
  padding-top: 32px;
  border-top: 1px solid rgba(244, 238, 226, 0.08);
  margin-bottom: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__num {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}

.stat__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ---------- Hero note ---------- */

.hero__note {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
}

.hero__note-divider {
  width: 28px;
  height: 1px;
  background: var(--ink-faint);
}

/* =========================================================
   Hero RIGHT — Portrait
   ========================================================= */

.hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

@media (max-width: 980px) {
  .hero__right {
    min-height: 460px;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 540px) {
  .hero__right {
    min-height: 420px;
  }
}

.portrait {
  position: relative;
  z-index: 2;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 4 / 5;
  perspective: 1200px;
  will-change: transform;
}

.portrait__halo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 165, 217, 0.35), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(232, 212, 163, 0.18), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: halo-pulse 5s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

.portrait__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow:
    0 0 0 1px rgba(244, 238, 226, 0.08),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -10px rgba(184, 165, 217, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(0.55) contrast(1.08) brightness(0.92) saturate(0.85);
  transition: filter 0.6s ease;
}

.portrait:hover .portrait__img {
  filter: grayscale(0.15) contrast(1.05) brightness(1) saturate(1);
}

.portrait__duotone {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(7, 7, 10, 0.55) 100%),
    linear-gradient(135deg, rgba(184, 165, 217, 0.18), transparent 40%, rgba(201, 169, 97, 0.10) 90%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.portrait__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(244, 238, 226, 0.025) 3px,
    rgba(244, 238, 226, 0.025) 4px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

.portrait__corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(232, 212, 163, 0.55);
}
.portrait__corners span:nth-child(1) { top: 10px; left: 10px;  border-right: none; border-bottom: none; }
.portrait__corners span:nth-child(2) { top: 10px; right: 10px; border-left: none;  border-bottom: none; }
.portrait__corners span:nth-child(3) { bottom: 10px; left: 10px;  border-right: none; border-top: none; }
.portrait__corners span:nth-child(4) { bottom: 10px; right: 10px; border-left: none;  border-top: none; }

/* Floating tags */
.portrait__tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 10px;
  background: rgba(13, 13, 18, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 238, 226, 0.10);
  border-radius: 4px;
  color: var(--ink-soft);
  z-index: 5;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  animation: float-tag 6s ease-in-out infinite;
}

.portrait__tag--top {
  top: -16px;
  left: -28px;
}

.portrait__tag--bottom {
  bottom: 12px;
  right: -36px;
  animation-delay: -3s;
}

@media (max-width: 540px) {
  .portrait__tag--top    { left: -10px; }
  .portrait__tag--bottom { right: -12px; }
}

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

.portrait__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lilac);
  box-shadow: 0 0 8px var(--lilac);
}

.portrait__tag-dot--gold {
  background: var(--gold-soft);
  box-shadow: 0 0 8px var(--gold-soft);
}

.portrait__tag-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.portrait__tag-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.portrait__tag-value {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Caption */
.caption {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-mute);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.caption__line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-faint), transparent);
}

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(244, 238, 226, 0.08);
  border-bottom: 1px solid rgba(244, 238, 226, 0.08);
  background: linear-gradient(180deg, transparent, rgba(184, 165, 217, 0.04));
  overflow: hidden;
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  gap: 28px;
}

.marquee__group {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}

.marquee__item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 32px);
  color: var(--ink);
  letter-spacing: 0.01em;
}

.marquee__sep {
  color: var(--gold-soft);
  font-size: clamp(14px, 1.6vw, 18px);
  opacity: 0.7;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* =========================================================
   Tooth burst layer (click easter egg)
   ========================================================= */

.tooth-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.tooth {
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 14px rgba(232, 212, 163, 0.5))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  will-change: transform, opacity;
  user-select: none;
}

@keyframes tooth-fly {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.4);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(calc(var(--rot) * 0.1)) scale(1);
  }
  100% {
    transform:
      translate(
        calc(-50% + var(--dx) + var(--drift)),
        calc(-50% + var(--dy) + 220px)
      )
      rotate(var(--rot))
      scale(0.7);
    opacity: 0;
  }
}

.tooth-ring {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 212, 163, 0.9), rgba(184, 165, 217, 0.4) 60%, transparent 80%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: tooth-ring 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  mix-blend-mode: screen;
}

@keyframes tooth-ring {
  0%   { width: 8px;   height: 8px;   opacity: 0.9; }
  100% { width: 220px; height: 220px; opacity: 0;   }
}

/* =========================================================
   Mobile / iPhone — center-anchored, marquee-on-top,
   one-viewport composition with portrait + loader vibes
   ========================================================= */

@media (max-width: 760px) {
  :root {
    --pad-x: 20px;
  }

  body {
    background:
      radial-gradient(ellipse 100% 40% at 50% 0%, rgba(184, 165, 217, 0.14), transparent 60%),
      radial-gradient(ellipse 80% 30% at 50% 100%, rgba(201, 169, 97, 0.10), transparent 60%),
      linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
  }

  /* Marquee jumps to the very top of the page on mobile */
  .marquee {
    order: -1;
    padding: 11px 0;
    border-top: none;
  }

  .marquee__track {
    gap: 20px;
    animation-duration: 26s;
  }

  .marquee__group {
    gap: 20px;
    padding-right: 20px;
  }

  .marquee__item {
    font-size: 15px;
  }

  .marquee__sep {
    font-size: 11px;
  }

  /* Topbar — sits below marquee, single line */
  .topbar {
    padding: 12px var(--pad-x) 10px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .topbar__brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 9px;
  }

  .topbar__wordmark {
    font-size: 10px;
    letter-spacing: 0.24em;
    white-space: nowrap;
  }

  .topbar__small {
    font-size: 10px;
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .topbar__meta {
    gap: 10px;
    flex-shrink: 0;
  }

  .topbar__divider {
    height: 11px;
  }

  /* Hero — text content first, portrait below */
  .hero {
    padding: 18px var(--pad-x) 22px;
    align-items: flex-start;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Center every left-column element */
  .hero__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__right {
    order: 0;
    min-height: 0;
    margin-top: 4px;
  }

  /* Eyebrow — compact */
  .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.24em;
    padding: 6px 12px 7px;
  }

  /* Title — sized to fit "Akinfemiwa" on one line at 360–430px */
  .hero__title {
    font-size: clamp(40px, 12vw, 60px);
    line-height: 0.93;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    width: 100%;
  }

  /* Tagline — centered with rules on either side */
  .hero__tagline {
    font-size: 10.5px;
    letter-spacing: 0.26em;
    gap: 12px;
    margin-bottom: 22px;
    justify-content: center;
  }

  .hero__tagline::after {
    content: '';
    width: 36px;
    height: 1px;
    background: linear-gradient(270deg, transparent, var(--gold) 40%, var(--gold-soft));
  }

  .hero__tagline-rule {
    width: 36px;
  }

  /* Loader — centered, full-width-ish, head sits as one unit */
  .loader {
    margin-bottom: 18px;
    max-width: 360px;
    width: 100%;
  }

  .loader__head {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
  }

  .loader__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    flex: 0 1 auto;
    min-width: 0;
  }

  .loader__typer {
    min-width: 9ch;
    text-align: left;
  }

  .loader__percent {
    font-size: 22px;
    flex-shrink: 0;
  }

  .loader__rotator {
    font-size: 14px;
    margin-top: 6px;
  }

  /* Stats — tight horizontal row, centered */
  .stats {
    padding-top: 18px;
    gap: 14px 26px;
    margin-bottom: 16px;
    justify-content: center;
  }

  .stat {
    align-items: center;
    text-align: center;
  }

  .stat__num {
    font-size: 22px;
  }

  .stat__label {
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  /* Note — compact */
  .hero__note {
    font-size: 11px;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
  }

  .hero__note-divider {
    width: 20px;
  }

  /* Portrait — slightly smaller and centered below the text */
  .portrait {
    width: min(56vw, 220px);
  }

  .portrait__tag {
    padding: 6px 10px 7px;
  }

  .portrait__tag--top {
    top: -12px;
    left: -12px;
  }

  .portrait__tag--bottom {
    bottom: 10px;
    right: -12px;
  }

  .portrait__tag-label {
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .portrait__tag-value {
    font-size: 11px;
  }

  /* Caption is nice-to-have on desktop; hide on mobile to save vertical space */
  .caption {
    display: none;
  }

  /* Quiet the ambient layers a touch on mobile so content reads */
  .ambient__orb--gold {
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -120px;
  }

  .ambient__orb--lilac {
    width: 420px;
    height: 420px;
    left: -140px;
    top: -120px;
  }

  .ambient__grid {
    background-size: 56px 56px;
  }
}

/* Extra-narrow phones (iPhone SE etc., ~360–400px) */
@media (max-width: 420px) {
  .topbar__wordmark {
    font-size: 10.5px;
    letter-spacing: 0.22em;
  }
}

@media (max-width: 380px) {
  .topbar__wordmark {
    font-size: 10px;
    letter-spacing: 0.24em;
  }
}

/* Short viewports (iPhone SE etc.) — squeeze vertical rhythm tighter */
@media (max-width: 760px) and (max-height: 720px) {
  .marquee {
    padding: 8px 0;
  }
  .marquee__item {
    font-size: 13px;
  }

  .topbar {
    padding: 8px var(--pad-x) 6px;
  }

  .hero {
    padding: 10px var(--pad-x) 14px;
  }

  .hero__inner {
    gap: 14px;
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 5px 10px 6px;
    font-size: 9.5px;
  }

  .hero__title {
    font-size: clamp(34px, 11vw, 50px);
    margin-bottom: 12px;
  }

  .hero__tagline {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .loader {
    margin-bottom: 12px;
  }

  .loader__head {
    margin-bottom: 8px;
  }

  .loader__percent {
    font-size: 19px;
  }

  .loader__rotator {
    font-size: 12.5px;
  }

  .stats {
    padding-top: 12px;
    margin-bottom: 12px;
    gap: 10px 18px;
    flex-wrap: nowrap;
  }

  .stat__num {
    font-size: 18px;
  }

  .stat__label {
    font-size: 8.5px;
    letter-spacing: 0.18em;
  }

  .hero__tagline {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .hero__tagline-rule,
  .hero__tagline::after {
    width: 24px !important;
  }

  .hero__note {
    font-size: 10px;
  }

  .portrait {
    width: min(46vw, 180px);
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: clamp(36px, 13vw, 50px);
  }

  .portrait {
    width: 80vw;
  }

  .stats {
    gap: 14px 22px;
  }

  .stat__num {
    font-size: 20px;
  }
}

/* Landscape phones — keep portrait visible */
@media (max-height: 620px) and (orientation: landscape) and (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero__right {
    order: 0;
  }

  .portrait {
    width: min(40vw, 260px);
  }

  .hero__title {
    font-size: clamp(34px, 6vw, 56px);
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .tooth,
  .tooth-ring {
    display: none;
  }
}
