/* =========================================================
   Smile by Smile — Glassmorphism design system
   Luxury palette: obsidian black glass, champagne gold + platinum
   ========================================================= */

:root{
  --bg-0:#07060a;
  --bg-1:#14101a;
  --bg-2:#1c1420;
  --platinum:#AEB4C0;
  --platinum-light:#EDEFF3;
  --gold:#C9A356;
  --gold-light:#EAD9AE;
  --gold-dark:#8A6A34;
  --ink:#F4F0E8;
  --muted:#AFA79A;

  --glass-bg: rgba(255,255,255,0.045);
  --glass-bg-strong: rgba(255,255,255,0.09);
  --glass-border: rgba(233,214,168,0.14);
  --glass-blur: 20px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg-0);
  color:var(--ink);
  overflow-x:hidden;
  min-height:100vh;
}

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; }
code{ font-family:ui-monospace, monospace; background:rgba(255,255,255,0.08); padding:0.1em 0.4em; border-radius:6px; font-size:0.85em; }

/* ---------- background scene ---------- */
.bg-scene{
  position:fixed; inset:0; z-index:-1; overflow:hidden;
  background:
    radial-gradient(120% 90% at 15% 0%, var(--bg-2) 0%, transparent 55%),
    radial-gradient(120% 90% at 85% 20%, var(--bg-1) 0%, transparent 60%),
    linear-gradient(160deg, var(--bg-0) 0%, #0c0a10 45%, #050408 100%);
}
.orb{ position:absolute; border-radius:50%; filter:blur(100px); opacity:0.35; }
.orb-bronze{ width:42vw; height:42vw; background:var(--gold-dark); top:-10%; left:-10%; animation:drift1 22s ease-in-out infinite; }
.orb-platinum{ width:38vw; height:38vw; background:var(--platinum); bottom:-15%; right:-8%; opacity:0.14; animation:drift2 26s ease-in-out infinite; }
.orb-gold{ width:26vw; height:26vw; background:var(--gold); top:32%; right:18%; opacity:0.16; animation:drift1 30s ease-in-out infinite reverse; }
.grain{ position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px); background-size:3px 3px; }

@keyframes drift1{ 0%,100%{ transform:translate(0,0) scale(1);} 50%{ transform:translate(4%,6%) scale(1.08);} }
@keyframes drift2{ 0%,100%{ transform:translate(0,0) scale(1);} 50%{ transform:translate(-5%,-4%) scale(1.05);} }

@media (prefers-reduced-motion: reduce){
  .orb{ animation:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- glass primitive ---------- */
.glass{
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  backdrop-filter:blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(140%);
  border-radius:var(--radius-lg);
  box-shadow:0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ---------- nav ---------- */
.nav-wrap{ position:fixed; top:0; left:0; right:0; z-index:50; padding:16px 20px 0; }
.nav{
  max-width:1180px; margin:0 auto;
  display:flex; align-items:center; gap:24px;
  padding:12px 16px 12px 20px;
  border-radius:999px;
}
.nav-logo{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:1.05rem; letter-spacing:-0.01em; margin-right:auto; }
.nav-logo em{ font-style:normal; color:var(--platinum-light); font-weight:400; }
.nav-logo-mark{
  display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%;
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size:1.1rem; color:#241a08;
}
.nav-links{ display:flex; gap:22px; font-size:0.92rem; color:var(--muted); }
.nav-links a:hover{ color:var(--ink); }
.nav-burger{ display:none; flex-direction:column; gap:4px; background:none; border:none; padding:6px; margin-left:4px; }
.nav-burger span{ width:20px; height:2px; background:var(--ink); border-radius:2px; }
.nav-mobile{
  display:none; max-width:1180px; margin:8px auto 0; padding:14px 20px; border-radius:20px;
  flex-direction:column; gap:14px; font-size:0.95rem;
}
.nav-mobile.open{ display:flex; }

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav .btn-sm{ display:none; }
  .nav-burger{ display:flex; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:0.95rem; padding:12px 22px; border-radius:999px;
  border:1px solid transparent; transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-lg{ padding:15px 30px; font-size:1rem; }
.btn-sm{ padding:9px 18px; font-size:0.85rem; }
.btn-block{ width:100%; }
.btn-gold{
  background:linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color:#241a08;
  box-shadow:0 10px 25px rgba(201,163,86,0.3);
}
.btn-gold:hover{ box-shadow:0 14px 32px rgba(201,163,86,0.45); transform:translateY(-2px); }
.btn-ghost{
  background:var(--glass-bg); border-color:var(--glass-border); color:var(--ink);
  backdrop-filter:blur(10px);
}
.btn-ghost:hover{ background:var(--glass-bg-strong); }
.btn-outline{
  background:transparent; border-color:rgba(255,255,255,0.28); color:var(--ink);
}
.btn-outline:hover{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.5); }

/* ---------- hero ---------- */
.hero{
  min-height:100svh; display:flex; align-items:center; justify-content:center;
  padding:140px 20px 80px; position:relative;
}
.hero-inner{ max-width:880px; text-align:center; margin:0 auto; }
.eyebrow{
  text-transform:uppercase; letter-spacing:0.14em; font-size:0.78rem; font-weight:600;
  color:var(--platinum-light); margin:0 0 14px;
}
.hero-title{
  font-size:clamp(2.6rem, 7vw, 5.2rem); font-weight:800; letter-spacing:-0.03em; line-height:1.02; margin:0 0 22px;
}
.text-gradient{
  background:linear-gradient(120deg, var(--platinum-light), var(--gold-light));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{
  font-size:clamp(1rem, 1.6vw, 1.2rem); color:var(--muted); max-width:620px; margin:0 auto 36px; line-height:1.6;
}
.hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:56px; }
.hero-stat-row{
  display:flex; align-items:center; justify-content:center; gap:0;
  padding:22px 10px; border-radius:var(--radius-md); max-width:640px; margin:0 auto;
}
.hero-stat{ flex:1; text-align:center; padding:0 14px; }
.hero-stat-num{ font-size:2rem; font-weight:800; color:var(--ink); }
.hero-stat p{ margin:4px 0 0; font-size:0.82rem; color:var(--muted); line-height:1.4; }
.hero-stat .fine{ opacity:0.6; font-size:0.95em; }
.hero-stat-divider{ width:1px; align-self:stretch; background:rgba(255,255,255,0.15); }

.hero-glass-shard{
  position:absolute; border-radius:32px; border:1px solid var(--glass-border);
  background:linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  backdrop-filter:blur(6px); z-index:-1;
}
.shard-1{ width:220px; height:220px; top:14%; left:6%; transform:rotate(-18deg); display:none; }
.shard-2{ width:160px; height:160px; bottom:16%; right:8%; transform:rotate(12deg); display:none; }
@media (min-width:1100px){ .shard-1, .shard-2{ display:block; } }

.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  width:26px; height:42px; border:2px solid rgba(255,255,255,0.35); border-radius:14px;
}
.scroll-cue span{
  position:absolute; top:6px; left:50%; width:4px; height:8px; margin-left:-2px;
  background:var(--platinum-light); border-radius:2px; animation:cue 1.6s ease-in-out infinite;
}
@keyframes cue{ 0%{ opacity:1; top:6px;} 70%{opacity:0;} 100%{ opacity:0; top:20px;} }

/* ---------- sections ---------- */
.section{ max-width:1180px; margin:0 auto; padding:110px 20px; position:relative; }
.section-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.section-head h2{ font-size:clamp(1.9rem, 4vw, 2.6rem); font-weight:800; letter-spacing:-0.02em; margin:0 0 14px; }
.section-sub{ color:var(--muted); font-size:1.02rem; line-height:1.6; margin:0; }

/* ---------- before/after gallery (tap to toggle) ---------- */
.ba-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:28px; align-items:start; }
.ba-card{ padding:16px; overflow:hidden; }
.ba-tap{
  position:relative; width:100%; aspect-ratio:var(--ba-ratio, 4/3); border-radius:var(--radius-md); overflow:hidden;
  cursor:pointer; border:none; padding:0; display:block;
  background:linear-gradient(160deg, var(--bg-2), var(--bg-1));
}
.ba-tap:focus-visible{ outline:3px solid var(--gold-light); outline-offset:3px; }
/* object-fit:contain (never cover) so the full smile is always visible, uncropped,
   even if source photos vary wildly in aspect ratio */
.ba-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center;
  opacity:0; transition:opacity 0.5s ease; pointer-events:none;
}
.ba-photo.is-visible{ opacity:1; }
.ba-tag{
  position:absolute; top:14px; left:14px; font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  padding:6px 12px; border-radius:999px; background:rgba(7,6,10,0.65); backdrop-filter:blur(6px);
  border:1px solid var(--glass-border); transition:background 0.3s ease, border-color 0.3s ease;
}
.ba-tag-state.is-after{ background:linear-gradient(135deg, var(--gold-light), var(--gold)); color:#241a08; border-color:transparent; }
.ba-tap-hint{
  position:absolute; bottom:14px; right:14px; font-size:0.72rem; font-weight:600;
  padding:6px 12px; border-radius:999px; background:rgba(7,6,10,0.55); backdrop-filter:blur(6px);
  border:1px solid var(--glass-border); color:var(--ink); transition:opacity 0.2s ease;
}
.ba-tap:hover .ba-tap-hint{ background:rgba(7,6,10,0.75); }
.ba-caption{ padding:18px 10px 8px; }
.ba-caption h3{ margin:0 0 6px; font-size:1.1rem; font-weight:700; }
.ba-caption p{ margin:0; color:var(--muted); font-size:0.92rem; line-height:1.5; transition:opacity 0.2s ease; }
.ba-caption em{ color:var(--gold); font-style:normal; }

/* ---------- in-progress cases ---------- */
.progress-case-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:28px; }
.progress-case{ overflow:hidden; padding:16px; }
.progress-case-media{
  position:relative; aspect-ratio:1/1; border-radius:var(--radius-md); overflow:hidden;
  background:linear-gradient(160deg, var(--bg-2), var(--bg-1));
}
.progress-case-media img{ width:100%; height:100%; object-fit:contain; }
.progress-case-tag{
  position:absolute; top:14px; left:14px; font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  padding:6px 12px; border-radius:999px; background:rgba(201,163,86,0.18); color:var(--gold-light);
  border:1px solid rgba(201,163,86,0.4); backdrop-filter:blur(6px);
}
.progress-case-body{ padding:18px 10px 8px; }
.progress-case-body h3{ margin:0 0 6px; font-size:1.1rem; font-weight:700; }
.progress-case-body p{ margin:0; color:var(--muted); font-size:0.92rem; line-height:1.5; }

.donation-cta{
  padding:28px 24px; display:flex; flex-direction:column; align-items:flex-start; gap:12px;
}
.donation-cta-mark{ font-size:1.6rem; }
.donation-cta h3{ margin:0; font-size:1.15rem; font-weight:700; line-height:1.3; }
.donation-cta p{ margin:0; color:var(--muted); font-size:0.9rem; line-height:1.5; flex:1; }
.donation-cta .btn{ margin-top:auto; width:100%; }

/* ---------- funds raised ---------- */
.raised-panel{ padding:clamp(32px,5vw,56px) clamp(20px,4vw,48px); text-align:center; }
.raised-num{
  display:block; font-size:clamp(2.6rem,7vw,4rem); font-weight:800; color:var(--gold-light);
  margin:10px 0 14px; font-variant-numeric:tabular-nums;
}
.raised-track{
  position:relative; height:16px; border-radius:999px; background:rgba(255,255,255,0.08);
  border:1px solid var(--glass-border); overflow:hidden; max-width:420px; margin:0 auto 22px;
}
.raised-fill{
  position:relative; height:100%; width:0%; border-radius:999px;
  background:linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition:width 1.8s cubic-bezier(.16,1,.3,1); overflow:hidden;
}
.raised-shine{
  position:absolute; inset:0; background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size:200% 100%; animation:shine 2.8s ease-in-out infinite;
}
@keyframes shine{ 0%{ background-position:200% 0;} 100%{ background-position:-50% 0;} }
.raised-sub{ margin:0; color:var(--muted); font-size:0.95rem; }
.raised-sub strong{ color:var(--ink); }

/* ---------- impact calculator ---------- */
.impact-panel{ padding:clamp(24px,4vw,44px); margin-bottom:48px; }
.impact-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(24px,4vw,56px); align-items:center; }
@media (max-width:860px){ .impact-grid{ grid-template-columns:1fr; } }

.impact-eyebrow{ margin:0 0 6px; }
.impact-controls h3{ font-size:clamp(1.3rem,2.4vw,1.7rem); font-weight:800; margin:0 0 8px; letter-spacing:-0.01em; }
.impact-controls > p{ color:var(--muted); margin:0 0 22px; line-height:1.6; }

.impact-amount{ display:flex; align-items:baseline; gap:8px; margin-bottom:14px; }
.impact-amount-num{ font-size:clamp(2.4rem,5vw,3.2rem); font-weight:800; color:var(--gold-light); font-variant-numeric:tabular-nums; }
.impact-amount-freq{ color:var(--muted); font-size:0.95rem; }

.impact-slider{
  -webkit-appearance:none; appearance:none; width:100%; height:8px; border-radius:999px;
  background:linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--fill,30%), rgba(255,255,255,0.1) var(--fill,30%), rgba(255,255,255,0.1) 100%);
  outline:none; margin:10px 0 18px; cursor:pointer;
}
.impact-slider::-webkit-slider-thumb{
  -webkit-appearance:none; width:24px; height:24px; border-radius:50%;
  background:linear-gradient(135deg, var(--gold-light), var(--gold)); border:3px solid var(--bg-0);
  box-shadow:0 2px 10px rgba(0,0,0,0.5); cursor:pointer;
}
.impact-slider::-moz-range-thumb{
  width:24px; height:24px; border-radius:50%; border:3px solid var(--bg-0);
  background:linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow:0 2px 10px rgba(0,0,0,0.5); cursor:pointer;
}
.impact-slider::-moz-range-track{ height:8px; border-radius:999px; background:rgba(255,255,255,0.1); }

.impact-presets{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }

.impact-result{
  padding:16px 18px; border-radius:var(--radius-sm); background:var(--glass-bg-strong);
  border:1px solid var(--glass-border); font-size:0.95rem; line-height:1.55; min-height:64px;
  display:flex; align-items:center; gap:10px;
}
.impact-result strong{ color:var(--gold-light); }
.impact-badge{
  display:inline-flex; align-items:center; gap:6px; font-size:0.78rem; font-weight:700;
  padding:4px 10px; border-radius:999px; background:rgba(201,163,86,0.15); color:var(--gold-light);
  border:1px solid rgba(201,163,86,0.35); white-space:nowrap;
}

.impact-controls .btn{ margin-top:20px; }

.impact-visual{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.impact-visual svg{ width:100%; max-width:360px; height:auto; overflow:visible; }
/* Each tooth is TWO overlapping shapes crossfaded by opacity, so the silhouette
   itself can change (jagged/chipped -> clean) not just the color. */
.tooth-damaged{
  fill:url(#rotGradient); stroke:#241b10; stroke-width:1; stroke-linejoin:round;
  transition:opacity 0.4s ease;
}
.tooth-fixed{
  fill:#F7F2E7; stroke:rgba(0,0,0,0.06); stroke-width:0.5; opacity:0;
  transition:opacity 0.4s ease;
}
.tooth-damage-marks{ transition:opacity 0.35s ease; }
g[data-tooth-index].is-fixed .tooth-damaged{ opacity:0; }
g[data-tooth-index].is-fixed .tooth-fixed{ opacity:1; }
g[data-tooth-index].is-fixed .tooth-damage-marks{ opacity:0; }
.tooth-sparkle{ pointer-events:none; opacity:0; }
.impact-visual-caption{ color:var(--muted); font-size:0.82rem; text-align:center; }

/* ---------- give cards ---------- */
.give-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:24px; }
.give-card{ padding:28px 24px; position:relative; display:flex; flex-direction:column; gap:14px; }
.give-card-featured{ border-color:rgba(201,163,86,0.5); box-shadow:0 8px 32px rgba(201,163,86,0.16), inset 0 1px 0 rgba(255,255,255,0.12); }
.give-badge{
  position:absolute; top:-12px; right:20px; background:linear-gradient(135deg,var(--gold-light),var(--gold-dark));
  color:#241a08; font-size:0.7rem; font-weight:700; padding:5px 12px; border-radius:999px; letter-spacing:0.03em;
}
.give-icon{ font-size:1.6rem; }
.give-card h3{ margin:0; font-size:1.2rem; font-weight:700; }
.give-card > p{ margin:0; color:var(--muted); font-size:0.9rem; }
.give-amounts{ display:flex; gap:8px; flex-wrap:wrap; margin:4px 0 6px; }
.chip{
  border:1px solid var(--glass-border); background:rgba(255,255,255,0.05); color:var(--ink);
  padding:8px 14px; border-radius:999px; font-size:0.85rem; font-weight:600; transition:all 0.15s ease;
}
.chip:hover{ background:rgba(255,255,255,0.12); }
.chip.is-active{ background:linear-gradient(135deg, var(--gold-light), var(--gold)); border-color:var(--gold); color:#241a08; }
.chip-custom{ opacity:0.85; }
.give-note{ text-align:center; color:var(--muted); font-size:0.85rem; margin-top:36px; }

/* ---------- referral form ---------- */
.refer-form{ padding:clamp(24px,4vw,44px); max-width:820px; margin:0 auto; }
.refer-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:24px; }
.refer-field{ display:flex; flex-direction:column; gap:8px; font-size:0.85rem; color:var(--muted); font-weight:600; }
.refer-field-wide{ grid-column:1 / -1; }
.refer-field input, .refer-field select, .refer-field textarea{
  font-family:inherit; font-size:0.95rem; color:var(--ink); background:rgba(255,255,255,0.05);
  border:1px solid var(--glass-border); border-radius:var(--radius-sm); padding:12px 14px;
  transition:border-color 0.2s ease, background 0.2s ease;
}
.refer-field input::placeholder, .refer-field textarea::placeholder{ color:rgba(244,240,232,0.35); }
.refer-field input:focus, .refer-field select:focus, .refer-field textarea:focus{
  outline:none; border-color:var(--gold); background:rgba(255,255,255,0.08);
}
.refer-field textarea{ resize:vertical; min-height:100px; font-family:inherit; }
.refer-field select{ cursor:pointer; }
.refer-field select option{ background:var(--bg-1); color:var(--ink); }
.refer-form .give-note{ margin-top:16px; }

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

/* ---------- shop ---------- */
.shop-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(340px, 1fr)); gap:28px; }
.shop-card{ overflow:hidden; padding:18px; display:flex; flex-direction:column; }

/* Front/back scroll-swipe carousel, like a clothing brand PDP gallery */
.shop-media{ position:relative; }
.shop-scroll{
  display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  border-radius:var(--radius-sm); aspect-ratio:var(--shop-ratio, 4/5);
  background:linear-gradient(160deg, var(--bg-2), var(--bg-1));
  scrollbar-width:none; transition:aspect-ratio 0.2s ease;
}
.shop-scroll::-webkit-scrollbar{ display:none; }
.shop-slide{
  flex:0 0 100%; scroll-snap-align:center; display:flex; align-items:center; justify-content:center;
  padding:12px;
}
.shop-slide img{ width:100%; height:100%; object-fit:contain; pointer-events:none; }
.shop-face-label{
  position:absolute; top:12px; left:12px; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.07em;
  padding:5px 12px; border-radius:999px; background:rgba(7,6,10,0.6); border:1px solid var(--glass-border);
  backdrop-filter:blur(6px); pointer-events:none;
}
.shop-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%;
  background:rgba(7,6,10,0.55); border:1px solid var(--glass-border); backdrop-filter:blur(6px);
  color:var(--ink); display:grid; place-items:center; opacity:0; transition:opacity 0.2s ease, background 0.2s ease;
}
.shop-media:hover .shop-nav{ opacity:1; }
.shop-nav:hover{ background:rgba(7,6,10,0.8); }
.shop-nav-prev{ left:10px; }
.shop-nav-next{ right:10px; }
.shop-dots{ position:absolute; bottom:12px; left:50%; transform:translateX(-50%); display:flex; gap:6px; }
.shop-dot{ width:7px; height:7px; border-radius:999px; background:rgba(255,255,255,0.32); border:none; padding:0; cursor:pointer; transition:all 0.2s ease; }
.shop-dot.is-active{ width:20px; background:linear-gradient(90deg, var(--gold-light), var(--gold)); }

.shop-body{ padding:18px 6px 4px; display:flex; flex-direction:column; gap:12px; flex:1; }
.shop-body-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.shop-body h3{ margin:0; font-size:1.1rem; font-weight:700; }
.shop-price{ margin:0; color:var(--gold-light); font-weight:700; white-space:nowrap; }
.shop-desc{ margin:0; color:var(--muted); font-size:0.88rem; line-height:1.5; }

.shop-swatches{ display:flex; gap:10px; align-items:center; }
.swatch{
  width:26px; height:26px; border-radius:50%; border:2px solid transparent; padding:0; cursor:pointer;
  background:var(--swatch-color, #333); position:relative; box-shadow:0 0 0 1px rgba(255,255,255,0.15) inset;
  transition:transform 0.15s ease, border-color 0.15s ease;
}
.swatch:hover{ transform:scale(1.1); }
.swatch.is-active{ border-color:var(--gold-light); box-shadow:0 0 0 2px var(--bg-0), 0 0 0 3px var(--gold-light); }
.swatch-name{ font-size:0.8rem; color:var(--muted); margin-left:2px; }

/* ---------- about ---------- */
.about-panel{
  display:grid; grid-template-columns:280px 1fr; gap:44px; align-items:center;
  padding:clamp(24px,4vw,48px);
}
.about-photo-wrap{ position:relative; width:100%; aspect-ratio:1/1; }
.about-photo{
  position:absolute; inset:0; border-radius:50%; overflow:hidden; border:1px solid var(--glass-border);
}
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-photo-ring{
  position:absolute; inset:-14px; border-radius:50%; border:1px dashed rgba(255,255,255,0.25);
}
.about-copy h2{ font-size:clamp(1.5rem,3vw,2rem); font-weight:800; letter-spacing:-0.02em; margin:6px 0 18px; }
.about-copy p{ color:var(--muted); line-height:1.7; margin:0 0 16px; }
.about-quote{
  margin:8px 0 20px; padding:4px 0 4px 20px; border-left:2px solid var(--gold);
  font-style:italic; font-size:1.05rem; color:var(--ink); line-height:1.6;
}
.about-quote cite{ display:block; margin-top:8px; font-style:normal; font-size:0.85rem; color:var(--gold-light); }
.about-copy .btn{ margin-top:8px; }

@media (max-width: 720px){
  .about-panel{ grid-template-columns:1fr; text-align:center; }
  .about-photo-wrap{ width:180px; margin:0 auto; }
  .about-photo-ring{ display:none; }
}

/* ---------- footer ---------- */
.footer{ max-width:1180px; margin:0 auto; padding:0 20px 40px; }
.footer-inner{
  display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between;
  padding:28px clamp(20px,4vw,36px);
}
.footer-brand{ font-weight:700; }
.footer-brand em{ font-style:normal; color:var(--platinum-light); font-weight:400; }
.footer-brand p{ margin:6px 0 0; font-weight:400; color:var(--muted); font-size:0.85rem; }
.footer-links{ display:flex; gap:18px; font-size:0.9rem; color:var(--muted); flex-wrap:wrap; }
.footer-links a:hover{ color:var(--ink); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--glass-border);
  display:grid; place-items:center; font-size:0.75rem; color:var(--muted);
}
.footer-social a:hover{ color:var(--ink); border-color:rgba(255,255,255,0.4); }
.footer-fine{ text-align:center; color:var(--muted); font-size:0.78rem; margin:22px 0 0; opacity:0.8; }

/* ---------- toast ---------- */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%, 140%);
  padding:14px 22px; border-radius:14px; z-index:200; font-size:0.92rem; font-weight:600;
  background:rgba(6,42,42,0.85); border:1px solid var(--glass-border); backdrop-filter:blur(14px);
  transition:transform 0.4s cubic-bezier(.16,1,.3,1); max-width:90vw; text-align:center;
}
.toast.show{ transform:translate(-50%, 0); }

/* ---------- reveal-on-scroll base state ---------- */
.reveal{ opacity:1; }
@media (min-width:1px){
  .js-ready .reveal{ opacity:0; }
}
