/*
Theme Name: Dr. Daniel Noll – Orthodontic Specialists
Theme URI: https://danielnoll.brendanmahon.com
Description: Custom WordPress theme for Dr. Daniel Noll, Orthodontic Specialists — Northern Kentucky & Greater Cincinnati.
Version: 1.0
Author: Cassius
*/

/* ──────────── RESET & ROOT ──────────── */
:root {
  --navy: #060d2e;
  --navy-mid: #0d1a4a;
  --navy-light: #162057;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dim: #8a7020;
  --white: #f8f6f0;
  --gray: #a0a8c0;
  --red: #c0392b;
  --green: #27ae60;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ──────────── NAV ──────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(6, 13, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  user-select: none;
}

.nav-logo span { color: var(--white); font-weight: 400; font-style: italic; }

.nav-practice-logo {
  height: 36px; width: auto;
  opacity: 0.9; filter: brightness(1.2);
}

.nav-links { display: flex; gap: 0.5rem; list-style: none; }

.nav-links a {
  display: block;
  color: var(--gray);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); background: rgba(212,175,55,0.12); }

/* ──────────── CANVAS ──────────── */
#hero-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ──────────── PAGE WRAPPER ──────────── */
.page-content {
  position: relative;
  padding-top: 80px;
  z-index: 1;
  min-height: 100vh;
}

/* ──────────── BUTTONS ──────────── */
.btn {
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); color: var(--navy); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-2px);
  color: var(--gold);
}

/* ──────────── HOME HERO ──────────── */
.hero-split {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: calc(100vh - 80px);
  padding: 4rem 2rem;
}

.hero-text { flex: 1; min-width: 300px; max-width: 600px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeDown 1s ease 0.2s both;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.4em;
  animation: fadeDown 1s ease 0.4s both;
}

.hero-h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeDown 1s ease 0.6s both;
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeDown 1s ease 0.8s both;
}

.hero-image-col {
  flex: 0 0 320px;
  position: relative;
  animation: fadeDown 1s ease 0.6s both;
  text-align: center;
}

.hero-headshot {
  width: 300px; height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--gold);
  box-shadow: 0 0 60px rgba(212,175,55,0.25);
}

.hero-headshot-ring {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 324px; height: 324px;
  border-radius: 50%;
  border: 2px dashed rgba(212,175,55,0.4);
  animation: spin 30s linear infinite;
}

@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }

/* ──────────── STATS ROW ──────────── */
.stats-row {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  background: rgba(13, 26, 74, 0.5);
  position: relative; overflow: hidden;
}

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

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ──────────── SECTIONS & CARDS ──────────── */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: rgba(22, 32, 87, 0.6);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.card p { color: var(--gray); line-height: 1.65; font-size: 0.95rem; }

/* ──────────── ABOUT ──────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.portrait-frame {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-radius: 16px;
  border: 2px solid rgba(212,175,55,0.25);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}

.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portrait-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,13,46,0.8), transparent 50%);
}

.portrait-name-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(212,175,55,0.95);
  color: var(--navy);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  z-index: 2;
}

.portrait-name-badge .name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.portrait-name-badge .title {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 0.2rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.photo-strip-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
}

.photo-strip-item img {
  width: 100%; height: 250px;
  object-fit: cover;
  display: block;
}

.credential-list { list-style: none; margin-top: 2rem; }

.credential-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  font-size: 0.95rem;
  color: var(--gray);
}

.credential-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.quote-block {
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(212,175,55,0.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
}

.quote-block blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.6;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-style: normal;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.2);
  margin: 2rem 0;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.cert-bar {
  background: rgba(13,26,74,0.7);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}

.cert-bar img {
  max-width: 100%; height: auto;
  opacity: 0.85; filter: brightness(1.1);
}

.cert-bar .cert-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}

.gallery-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.3s;
  background: var(--navy-mid);
}

.gallery-img:hover {
  border-color: rgba(212,175,55,0.5);
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.gallery-img img {
  width: 100%; height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-img .img-caption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

/* ──────────── SERVICES ──────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(22,32,87,0.8), rgba(13,26,74,0.6));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.service-card .emoji { font-size: 3rem; margin-bottom: 1.25rem; display: block; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-card p { color: var(--gray); line-height: 1.7; }

.special-banner {
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.special-banner .banner-icon { font-size: 4rem; }

.special-banner .banner-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.special-banner .banner-text p {
  color: var(--navy-mid);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.location-card {
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  background: rgba(22,32,87,0.6);
  transition: all 0.3s;
}

.location-card:hover {
  border-color: rgba(212,175,55,0.5);
  transform: translateY(-4px);
}

.location-card img {
  width: 100%; height: auto;
  display: block;
}

/* ──────────── SANDMANN PAGE ──────────── */
.american-flag-bar {
  display: flex; height: 6px; width: 100%;
}

.flag-red { flex: 1; background: #B22234; }
.flag-white { flex: 0.15; background: #FFFFFF; }
.flag-blue { flex: 0.5; background: #3C3B6E; }

.sandmann-hero {
  min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: radial-gradient(ellipse at center, rgba(192,57,43,0.15) 0%, transparent 70%);
}

.sandmann-hero .label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  color: #e74c3c;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}

.sandmann-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.sandmann-hero h1 .highlight {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sandmann-hero .subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  line-height: 1.6;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute; left: 24px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(212,175,55,0.1));
}

.timeline-item {
  display: flex; gap: 2rem;
  margin-bottom: 2.5rem;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
  opacity: 1; transform: translateX(0);
}

.timeline-dot {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  position: relative; z-index: 1;
}

.dot-gold { background: var(--gold); }
.dot-red { background: #c0392b; }
.dot-blue { background: #2980b9; }
.dot-green { background: #27ae60; }

.timeline-content {
  flex: 1;
  padding: 1.5rem;
  background: rgba(22,32,87,0.6);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
}

.timeline-content .date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.timeline-content p { color: var(--gray); line-height: 1.65; font-size: 0.95rem; }

.media-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}

.media-card {
  padding: 1.25rem;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.media-card.guilty {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
}

.media-card.settled {
  background: rgba(39,174,96,0.12);
  border: 1px solid rgba(39,174,96,0.3);
}

.media-card .outlet {
  font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem;
}

.media-card .verdict {
  font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}

.media-card.guilty .verdict { color: #e74c3c; }
.media-card.settled .verdict { color: #27ae60; }

.media-card .amount { font-size: 0.85rem; color: var(--gray); }

.verdict-stamp {
  display: inline-block;
  font-weight: 900; font-size: 1.1rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  border: 3px solid;
  transform: rotate(-12deg);
  position: absolute; top: 0.75rem; right: 0.75rem;
}

.verdict-stamp.settled {
  color: #27ae60;
  border-color: #27ae60;
  background: rgba(39,174,96,0.1);
}

.noll-connection {
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(22,32,87,0.8));
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.noll-connection::before {
  content: '🦷';
  position: absolute;
  right: 2rem; top: 1rem;
  font-size: 5rem;
  opacity: 0.15;
}

.noll-connection h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.noll-connection p {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.noll-connection p:last-child { margin-bottom: 0; }

.smile-tribute {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(22,32,87,0.8), rgba(6,13,46,0.9));
  border-radius: 20px;
  margin: 3rem 0;
  border: 1px solid rgba(212,175,55,0.2);
}

.smile-tribute h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.smile-tribute p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.big-smile { font-size: 5rem; margin-bottom: 1.5rem; display: block; }

/* ──────────── FUN ZONE ──────────── */
.fun-hero { text-align: center; padding: 4rem 2rem 2rem; }

.fun-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
}

.quiz-container {
  max-width: 700px;
  margin: 3rem auto;
  background: rgba(22,32,87,0.7);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 2.5rem;
}

.quiz-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.quiz-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.quiz-question {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.quiz-options {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quiz-option {
  padding: 1rem 1.5rem;
  background: rgba(13,26,74,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
  text-align: left;
  color: var(--white);
  font-family: var(--font-sans);
}

.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.1);
}

.quiz-result {
  display: none;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  margin-top: 1.5rem;
}

.quiz-result .result-icon { font-size: 4rem; margin-bottom: 1rem; display: block; }

.quiz-result h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.quiz-result p { color: var(--gray); line-height: 1.6; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.fact-card {
  background: rgba(22,32,87,0.6);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s;
  cursor: default;
}

.fact-card:hover {
  border-color: rgba(212,175,55,0.5);
  transform: scale(1.02);
}

.fact-card .num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 900;
  line-height: 1;
}

.fact-card .label { color: var(--gray); font-size: 0.9rem; margin-top: 0.5rem; }

.smile-meter-container {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}

.smile-meter-container h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.meter-input { width: 100%; margin: 1rem 0; }

.meter-face {
  font-size: 6rem;
  transition: all 0.3s ease;
  display: block;
  margin: 1rem 0;
}

.meter-label { font-size: 1.1rem; color: var(--gray); }

.tooth-rain-btn {
  display: block; margin: 2rem auto;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.confetti-layer {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999;
  overflow: hidden;
}

.tooth-fall {
  position: absolute;
  font-size: 2rem;
  animation: fallDown 3s ease-in forwards;
  top: -50px;
}

@keyframes fallDown {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ──────────── FOOTER ──────────── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(212,175,55,0.15);
  color: var(--gray);
  font-size: 0.85rem;
  background: rgba(6,13,46,0.8);
}

footer .footer-logo { margin-bottom: 0.5rem; }

footer p { margin-top: 0.5rem; }

/* ──────────── ANIMATIONS ──────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ──────────── SCROLLBAR ──────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ──────────── MOBILE MENU ──────────── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-size: 1.5rem;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  nav { padding: 1rem 1.25rem; }
  .nav-links a { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
}

@media (max-width: 640px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 65px; left: 0; right: 0;
    background: rgba(6,13,46,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    flex-direction: column;
    padding: 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: left; padding: 0.85rem 1rem; }
  .hero-headshot { width: 220px; height: 220px; }
  .hero-image-col { flex: 0 0 240px; }
  .photo-strip { grid-template-columns: 1fr; }
}
