/* Hearing Solutions Inc. — Gift of Hearing Design System
 * Inclusive Winter Season Palette (All Traditions Welcome):
 * Winter Twilight: #0b1623 | Snow Alabaster: #f4f6f9 | Frosted Ice: #cfe2ee | Soft Champagne: #d4be8d | Calm Teal: #3a7d87
 */

:root {
  --void: #0b1623;
  --void-soft: #112031;
  --void-card: #16293e;
  --surface: #f4f6f9;
  --surface-light: #ffffff;
  --gold: #d4be8d;
  --gold-bright: #e8f1f8;
  --ice: #cfe2ee;
  --teal: #3a7d87;
  --teal-dark: #285d66;
  --ink-dark: #1c2630;
  --ink-muted: #526170;
  --ink-light: #f8fafc;
  --ink-light-muted: rgba(248, 250, 252, 0.78);
  --border-dark: rgba(207, 226, 238, 0.24);
  --border-light: rgba(28, 38, 48, 0.11);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--void);
  color: var(--ink-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0;
  line-height: 1.15;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.hidden { display: none !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 17, 26, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

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

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

.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  background: #fff;
  padding: 4px 6px;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.76rem; color: var(--gold); letter-spacing: 0.03em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--ink-light-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.main-nav a:hover { color: var(--gold-bright); }

.nav-cta {
  background: var(--gold);
  color: var(--void) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--gold-bright); }

.staff-btn {
  background: rgba(47, 111, 118, 0.22);
  color: var(--ink-light);
  border: 1px solid rgba(47, 111, 118, 0.55);
  padding: 7px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s var(--ease);
}

.staff-btn:hover { background: rgba(47, 111, 118, 0.42); }

.badge-pill {
  background: var(--gold);
  color: var(--void);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 1px 7px;
  border-radius: 999px;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background: radial-gradient(circle at 76% 18%, rgba(168, 207, 232, 0.22), transparent 52%),
              radial-gradient(circle at 20% 80%, rgba(58, 125, 135, 0.24), transparent 50%),
              linear-gradient(180deg, #0b1623 0%, #102235 100%);
}

.acoustic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.partnership-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(210, 170, 92, 0.12);
  border: 1px solid rgba(210, 170, 92, 0.4);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(236, 208, 139, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(236, 208, 139, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(236, 208, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 208, 139, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.85rem);
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--ink-light);
}

.gold-shimmer {
  background: linear-gradient(110deg, #cfe2ee 0%, #ffffff 42%, #d4be8d 68%, #e8f1f8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerFlow 6.5s linear infinite;
}

@keyframes shimmerFlow {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

.hero-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.45;
  color: var(--gold-bright);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 0 0 18px;
  max-width: 54ch;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--ink-light-muted);
  max-width: 58ch;
  margin: 0 0 26px;
}

/* Countdown Panel */
.countdown-panel {
  background: rgba(16, 36, 54, 0.78);
  border: 1px solid rgba(210, 170, 92, 0.35);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(12px);
  margin-bottom: 26px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.countdown-panel.reveal-live {
  border-color: var(--gold-bright);
  box-shadow: 0 0 38px rgba(210, 170, 92, 0.35);
}

.countdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.countdown-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.countdown-date-display {
  font-size: 0.82rem;
  color: var(--ink-light-muted);
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-card {
  flex: 1;
  background: rgba(6, 17, 26, 0.82);
  border: 1px solid rgba(210, 170, 92, 0.22);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

.time-val {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.time-val.tick {
  transform: scale(1.08);
}

.time-lbl {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light-muted);
}

.time-sep {
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.65;
  font-weight: 600;
}

.reveal-banner {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(210, 170, 92, 0.25), rgba(47, 111, 118, 0.35));
  border: 1px solid var(--gold-bright);
  color: var(--ink-light);
  font-size: 0.92rem;
  animation: fadeSlideUp 0.45s var(--ease);
}

.countdown-controls {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.control-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-light-muted);
}

.control-label input {
  background: rgba(6, 17, 26, 0.9);
  border: 1px solid rgba(210, 170, 92, 0.35);
  color: var(--ink-light);
  border-radius: 8px;
  padding: 5px 9px;
  font-family: inherit;
  font-size: 0.8rem;
}

/* Buttons */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-primary, .btn-secondary, .btn-gold-sm, .btn-teal-sm, .btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e4be73);
  color: var(--void);
  padding: 14px 28px;
  font-size: 0.98rem;
  box-shadow: 0 10px 26px rgba(210, 170, 92, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(210, 170, 92, 0.38); }

.btn-secondary {
  background: rgba(47, 111, 118, 0.24);
  color: var(--ink-light);
  border: 1px solid rgba(47, 111, 118, 0.65);
  padding: 14px 26px;
  font-size: 0.98rem;
}

.btn-secondary:hover { background: rgba(47, 111, 118, 0.42); transform: translateY(-2px); }
.btn-secondary.dark-outline { color: var(--void); border-color: var(--teal); background: transparent; }

.btn-gold-sm {
  background: var(--gold);
  color: var(--void);
  padding: 8px 16px;
  font-size: 0.83rem;
}

.btn-gold-sm:hover { background: var(--gold-bright); }

.btn-teal-sm {
  background: var(--teal);
  color: var(--ink-light);
  padding: 8px 16px;
  font-size: 0.83rem;
}

.btn-teal-sm:hover { background: var(--teal-dark); }

.btn-ghost-sm {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid rgba(210, 170, 92, 0.4);
  padding: 6px 12px;
  font-size: 0.78rem;
}

.btn-ghost-sm:hover { background: rgba(210, 170, 92, 0.14); }
.full-width { width: 100%; }

/* Hero Portrait Stage */
.portrait-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.acoustic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(210, 170, 92, 0.28);
  pointer-events: none;
}

.ring-1 { width: 390px; height: 390px; animation: breatheRing 6s ease-in-out infinite; }
.ring-2 { width: 470px; height: 470px; border-color: rgba(47, 111, 118, 0.28); animation: breatheRing 6s ease-in-out infinite 1.8s; }

@keyframes breatheRing {
  0%, 100% { transform: scale(0.96); opacity: 0.45; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

.portrait-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(210, 170, 92, 0.45);
  background: var(--void-card);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.beth-portrait {
  width: 100%;
  height: 365px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portrait-caption {
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(6, 17, 26, 0.9), #06111a);
}

.portrait-caption strong { display: block; font-size: 1rem; color: var(--ink-light); }
.portrait-caption span { font-size: 0.78rem; color: var(--gold); }

.product-float-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 239, 228, 0.96);
  color: var(--ink-dark);
  padding: 11px 16px;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(210, 170, 92, 0.55);
  width: 100%;
  max-width: 360px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.product-float-card img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.tag-gold {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
}

.product-float-card strong { display: block; font-size: 0.88rem; line-height: 1.2; }
.product-float-card small { font-size: 0.73rem; color: var(--ink-muted); }

/* Review Section (Day Surface) */
.review-section {
  background: var(--surface);
  color: var(--ink-dark);
  padding: 76px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-header.light { color: var(--ink-light); }
.section-header.light p { color: var(--ink-light-muted); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.kicker.gold { color: var(--gold); }

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  margin-bottom: 12px;
}

.section-header p { margin: 0; color: var(--ink-muted); font-size: 1.02rem; }

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(6, 17, 26, 0.05);
}

.card-icon {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--void);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.review-card h3 { font-size: 1.28rem; margin-bottom: 10px; color: var(--void); }
.review-card p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Social Ad Studio Section */
.studio-section {
  background: linear-gradient(180deg, #06111a 0%, #0a1b2a 100%);
  padding: 84px 0;
  border-top: 1px solid var(--border-dark);
}

.platform-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.platform-tab {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-light-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}

.platform-tab:hover { border-color: var(--gold); color: var(--ink-light); }
.platform-tab.active {
  background: var(--gold);
  color: var(--void);
  border-color: var(--gold);
  font-weight: 600;
}

.tab-dot { width: 9px; height: 9px; border-radius: 50%; }
.tab-dot.fb { background: #1877f2; }
.tab-dot.ig { background: #e1306c; }
.tab-dot.li { background: #0a66c2; }
.tab-dot.fn { background: #2f6f76; }

.studio-workspace {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.ad-stage-wrapper {
  background: rgba(16, 36, 54, 0.65);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 18px;
}

.stage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.stage-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.spec-pill {
  font-size: 0.8rem;
  color: var(--gold-bright);
  background: rgba(210, 170, 92, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(210, 170, 92, 0.3);
}

.format-toggle {
  display: inline-flex;
  background: rgba(6, 17, 26, 0.8);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fmt-btn {
  background: transparent;
  border: none;
  color: var(--ink-light-muted);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}

.fmt-btn.active { background: var(--teal); color: var(--ink-light); font-weight: 600; }

.ad-stage-canvas {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 410px;
  padding: 14px;
  background: radial-gradient(circle at center, rgba(168, 207, 232, 0.16), rgba(11, 22, 35, 0.92));
  border-radius: 14px;
  overflow: hidden;
}

.ad-snow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

/* Shared Ad Creative Styles */
.ad-creative {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
  animation: fadeSlideUp 0.4s var(--ease);
}

.ad-creative.active { display: block; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ad-shimmer-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(236, 208, 139, 0.08) 50%, transparent 70%);
  background-size: 250% 250%;
  animation: adSheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes adSheen {
  0% { background-position: 120% 0%; }
  100% { background-position: -120% 0%; }
}

.ad-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--gold-bright);
  font-weight: 600;
  margin-bottom: 10px;
}

.ad-brand-row.center { justify-content: center; }

.ad-mini-logo {
  height: 22px;
  background: #fff;
  padding: 2px 4px;
  border-radius: 4px;
}

.gold-text { color: var(--gold-bright); }
.teal-text { color: var(--teal); }

/* 1. Facebook Ad */
.ad-facebook {
  width: 100%;
  max-width: 680px;
  min-height: 356px;
  background: linear-gradient(135deg, #0c1927 0%, #152d42 62%, #1d4354 100%);
  border: 1px solid rgba(207, 226, 238, 0.38);
  padding: 20px 24px;
}

.ad-fb-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: center;
}

.ad-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #8fd3db;
  margin-bottom: 6px;
}

.ad-headline { font-size: 1.65rem; line-height: 1.15; margin-bottom: 10px; color: var(--ink-light); }
.ad-headline.center { text-align: center; }
.ad-subtext { font-size: 0.82rem; color: var(--ink-light-muted); margin: 0 0 14px; }
.ad-subtext.center { text-align: center; }
.ad-subtext.dark { color: #3c3a34; }

.ad-countdown-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(6, 17, 26, 0.8);
  border: 1px solid rgba(207, 226, 238, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.ad-cd-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ad-cd-title { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); line-height: 1.1; }
.ad-cd-date { font-size: 0.68rem; color: var(--ice); font-weight: 500; line-height: 1.15; }
.ad-cd-nums, .fn-cd-digits {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--ink-light);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ad-cd-nums b, .fn-cd-digits b, .time-val, .sticker-grid b {
  font-variant-numeric: tabular-nums;
}
.ad-cd-nums b { font-family: 'Playfair Display', serif; font-size: 0.98rem; color: var(--gold-bright); }

.ad-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ad-cta-pill {
  background: var(--gold);
  color: var(--void);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 999px;
}
.ad-loc-note { font-size: 0.7rem; color: var(--ink-light-muted); }

.ad-fb-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  justify-content: center;
}

.ad-photo-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(210, 170, 92, 0.5);
  height: 225px;
}

.ad-beth-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.ad-badge-bottom {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(6, 17, 26, 0.94));
}

.ad-badge-bottom strong { display: block; font-size: 0.76rem; color: var(--ink-light); }
.ad-badge-bottom span { font-size: 0.65rem; color: var(--gold-bright); }

.ad-resound-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 239, 228, 0.95);
  color: var(--ink-dark);
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.ad-resound-chip img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

/* 2. Instagram Ad */
.ad-instagram {
  background: radial-gradient(circle at 50% 24%, rgba(120, 174, 204, 0.34), #0c1927 72%);
  border: 1px solid rgba(207, 226, 238, 0.42);
  padding: 24px 22px;
}

.ad-instagram.story-mode {
  width: 315px;
  aspect-ratio: 9 / 16;
}

.ad-instagram.square-mode {
  width: 440px;
  aspect-ratio: 1 / 1;
}

.ig-pulse-rings span {
  position: absolute;
  top: 28%;
  left: 50%;
  width: 190px;
  height: 190px;
  margin-left: -95px;
  margin-top: -95px;
  border-radius: 50%;
  border: 1px solid rgba(210, 170, 92, 0.35);
  animation: igPulse 3.6s ease-out infinite;
}

.ig-pulse-rings span:nth-child(2) { animation-delay: 1.8s; }

@keyframes igPulse {
  0% { transform: scale(0.7); opacity: 0.85; }
  100% { transform: scale(1.65); opacity: 0; }
}

.ad-ig-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.ig-partner-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9be0e8;
}

.ig-avatar-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-bright), var(--teal));
  margin: 0 auto 12px;
}

.ad-instagram.square-mode .ig-avatar-ring { width: 88px; height: 88px; margin-bottom: 8px; }
.ig-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; }

.ig-countdown-sticker {
  width: 100%;
  background: rgba(245, 239, 228, 0.96);
  color: var(--void);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.sticker-top {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.sticker-grid div {
  background: var(--void);
  color: var(--gold-bright);
  border-radius: 8px;
  padding: 6px 2px;
}

.sticker-grid b { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; line-height: 1.1; }
.sticker-grid small { font-size: 0.56rem; color: var(--ink-light-muted); letter-spacing: 0.06em; }

.ig-towns-strip { font-size: 0.68rem; color: var(--gold-bright); margin-bottom: 8px; }
.ig-swipe-cta {
  background: var(--gold);
  color: var(--void);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 18px;
  border-radius: 999px;
}

/* 3. LinkedIn Ad */
.ad-linkedin {
  width: 100%;
  max-width: 680px;
  min-height: 356px;
  background: linear-gradient(135deg, #0c1927 0%, #162e44 100%);
  border: 1px solid rgba(207, 226, 238, 0.35);
  padding: 20px 22px;
}

.ad-li-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 18px;
  align-items: center;
}

.li-kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 6px; }
.li-title { font-size: 1.32rem; line-height: 1.18; margin-bottom: 8px; }
.li-sub { font-size: 0.79rem; line-height: 1.45; margin-bottom: 11px; }

.li-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 11px;
}

.li-pill {
  background: rgba(6, 17, 26, 0.72);
  border: 1px solid rgba(207, 226, 238, 0.25);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.7rem;
  color: var(--ink-light-muted);
}

.li-pill strong { color: var(--gold-bright); }
.li-cd-strip { margin-bottom: 0; }

.ad-li-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.li-team-photo {
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid rgba(207, 226, 238, 0.42);
}

.li-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 246, 249, 0.96);
  color: var(--ink-dark);
  padding: 7px 10px;
  border-radius: 10px;
}

.li-card-footer img { height: 20px; }
.li-card-footer strong { display: block; font-size: 0.74rem; line-height: 1.2; }
.li-card-footer span { font-size: 0.63rem; color: var(--ink-muted); }

/* 4. Friends of Norwood Card */
.ad-norwood {
  width: 100%;
  max-width: 680px;
  min-height: 360px;
  background: var(--surface);
  color: var(--ink-dark);
  border: 2px solid var(--gold);
  display: none;
}

.ad-norwood.active { display: flex; flex-direction: column; }

.ad-norwood-ribbon {
  background: var(--teal);
  color: var(--ink-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 7px 12px;
}

.ad-fn-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  padding: 18px 22px;
  align-items: center;
}

.fn-local-badge {
  display: inline-block;
  background: rgba(47, 111, 118, 0.12);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.fn-title { color: var(--void); font-size: 1.5rem; margin-bottom: 8px; }

.fn-countdown-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--void);
  color: var(--ink-light);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.fn-cd-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; }
.fn-cd-digits { font-size: 0.85rem; }
.fn-cd-digits b { font-family: 'Playfair Display', serif; color: var(--gold-bright); font-size: 1rem; }

.fn-town-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.fn-town-pills span {
  background: #fff;
  border: 1px solid rgba(47, 111, 118, 0.25);
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.ad-fn-right { display: flex; flex-direction: column; gap: 8px; }
.fn-clinic-img { width: 100%; height: 185px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(6, 17, 26, 0.15); }
.fn-beth-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.fn-beth-strip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: top; }
.fn-beth-strip strong { display: block; font-size: 0.76rem; color: var(--void); }
.fn-beth-strip span { font-size: 0.66rem; color: var(--ink-muted); }

/* Copy Panel */
.copy-panel {
  background: rgba(16, 36, 54, 0.72);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 22px;
}

.copy-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.copy-panel-header h3 { font-size: 1.15rem; color: var(--ink-light); }

.copy-box {
  background: rgba(6, 17, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.88rem;
  color: var(--ink-light-muted);
  white-space: pre-wrap;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 18px;
}

.strategy-meta h4 { font-size: 0.96rem; color: var(--gold-bright); margin-bottom: 8px; }
.strategy-meta ul { margin: 0; padding-left: 18px; font-size: 0.84rem; color: var(--ink-light-muted); }
.strategy-meta li { margin-bottom: 6px; }

/* Nomination Form Section */
.form-section {
  background: var(--surface);
  color: var(--ink-dark);
  padding: 84px 0;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.eligibility-col h2 { font-size: clamp(1.9rem, 3vw, 2.45rem); color: var(--void); margin-bottom: 14px; }
.elig-intro { color: var(--ink-muted); margin-bottom: 20px; }

.hearing-fact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(58, 125, 135, 0.28);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(11, 22, 35, 0.05);
}

.fact-stat {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: rgba(58, 125, 135, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  white-space: nowrap;
  line-height: 1.1;
}

.fact-body strong {
  display: block;
  font-size: 0.92rem;
  color: var(--void);
  margin-bottom: 4px;
}

.fact-body span {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.48;
}

.geo-fence-card {
  background: var(--void);
  color: var(--ink-light);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(210, 170, 92, 0.45);
}

.geo-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.geo-icon { font-size: 1.4rem; }
.geo-header strong { display: block; color: var(--gold-bright); font-size: 1rem; }
.geo-header span { font-size: 0.82rem; color: var(--ink-light-muted); }

.eligible-towns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.town-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(210, 170, 92, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
}

.town-chip strong { display: block; font-size: 0.86rem; color: var(--ink-light); }
.town-chip small { font-size: 0.74rem; color: var(--gold); }

.geo-note { font-size: 0.78rem; color: var(--ink-light-muted); margin: 0; }

.privacy-box, .clinic-contact-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.privacy-box strong, .clinic-contact-card strong { display: block; color: var(--void); margin-bottom: 4px; }
.clinic-contact-card a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }

/* Form Card */
.form-card {
  background: #fffdf8;
  border: 1px solid rgba(37, 36, 32, 0.14);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 46px rgba(6, 17, 26, 0.08);
}

.form-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 18px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.form-step-title:first-child { margin-top: 0; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-group { margin-bottom: 14px; }
.field-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-bottom: 6px;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(37, 36, 32, 0.22);
  background: #fff;
  color: var(--ink-dark);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 111, 118, 0.16);
}

.char-counter { text-align: right; font-size: 0.75rem; color: var(--ink-muted); margin-top: 4px; }

.geo-status {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 14px;
  font-weight: 500;
}

.geo-status.valid {
  background: rgba(47, 111, 118, 0.12);
  border: 1px solid var(--teal);
  color: var(--teal-dark);
}

.geo-status.invalid {
  background: #fdecec;
  border: 1px solid #d14343;
  color: #8f1d1d;
}

.checkbox-stack { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 22px; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.check-row input { margin-top: 3px; accent-color: var(--teal); }

/* Success Receipt */
.success-receipt { text-align: center; padding: 24px 10px; }
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.receipt-id-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--gold);
  padding: 10px 18px;
  border-radius: 12px;
  margin: 14px 0;
}

.receipt-next { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 20px; }

/* Footer */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--border-dark);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--ink-light-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Staff Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 17, 26, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
}

.staff-drawer {
  width: min(460px, 95vw);
  height: 100%;
  background: var(--void-soft);
  border-left: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.drawer-header small { color: var(--ink-light-muted); }
.icon-close {
  background: transparent;
  border: none;
  color: var(--ink-light);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.drawer-toolbar select {
  flex: 1;
  background: var(--void);
  color: var(--ink-light);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
}

.nominee-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nominee-item {
  background: rgba(6, 17, 26, 0.8);
  border: 1px solid rgba(210, 170, 92, 0.25);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.84rem;
}

.nominee-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.nominee-item-top strong { color: var(--gold-bright); }
.nominee-item p { margin: 6px 0; color: var(--ink-light-muted); }
.nominee-meta { font-size: 0.75rem; color: #8fd3db; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--gold);
  color: var(--void);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Public-Clean Mode (Default): hide internal studio/staff tools unless ?studio=1 or ?embed=... */
body:not(.studio-mode) .studio-only {
  display: none !important;
}
body:not(.studio-mode):not(.embed-mode) .studio-only-section {
  display: none !important;
}
body.studio-mode .public-only {
  display: none !important;
}

.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(207, 226, 238, 0.28);
  background: rgba(255, 255, 255, 0.05);
}
.nav-back-link:hover {
  border-color: rgba(212, 190, 141, 0.65);
  background: rgba(212, 190, 141, 0.12);
}

/* Clean Standalone Embed Mode (?embed=facebook|instagram|linkedin|norwood) */
body.embed-mode {
  background: transparent;
}
body.embed-mode .site-header,
body.embed-mode .hero-section,
body.embed-mode .form-section,
body.embed-mode .site-footer,
body.embed-mode .studio-section .section-header,
body.embed-mode .platform-tabs,
body.embed-mode .stage-toolbar,
body.embed-mode .copy-panel {
  display: none !important;
}
body.embed-mode .studio-section,
body.embed-mode .studio-section .container,
body.embed-mode .studio-workspace,
body.embed-mode .ad-stage-wrapper,
body.embed-mode .ad-stage-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .studio-workspace, .form-layout, .review-cards {
    grid-template-columns: 1fr;
  }
  .ad-fb-grid, .ad-li-grid, .ad-fn-grid {
    grid-template-columns: 1fr;
  }
  .ad-facebook, .ad-linkedin, .ad-norwood { aspect-ratio: auto; }
  .main-nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 600px) {
  .form-row.two-col, .eligible-towns-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
}
