/* CSS — design system + components */
:root {
  /* LIGHT (toggleable; default is dark, applied via [data-theme] on <html>) */
  --bg: #f6f5f1;          /* warm off-white */
  --bg-2: #fafaf7;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-warm: #f1eadb;
  --border: #d8d5c9;
  --border-warm: #d4c8a8;
  --muted: #5c5b54;
  --text: #0e0d0b;        /* near-black */
  --text-warm: #1a160e;
  --input-bg: #ffffff;

  --cyan: #006075;        /* tech accent — denser teal works on light */
  --cyan-soft: rgba(0,96,117,0.22);
  --gold: #6f5418;        /* jewelry accent — deep gold for contrast */
  --gold-hover: #8a6a1f;
  --ivory: #ede4cf;

  --easeOut: cubic-bezier(0.22, 1, 0.36, 1);
  --easeIn:  cubic-bezier(0.4, 0, 0.2, 1);

  /* ONE family. weight + size do the work. */
  --font-sans: "Inter", "Geist", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", "Geist", system-ui, sans-serif;
  --font-serif: "Inter", system-ui, sans-serif; /* legacy alias — no longer serif */
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(20,18,12,0.04), 0 1px 3px rgba(20,18,12,0.06);
  --shadow-md: 0 6px 16px -8px rgba(20,18,12,0.08), 0 2px 6px rgba(20,18,12,0.05);
  --shadow-lg: 0 24px 48px -24px rgba(20,18,12,0.18), 0 6px 18px -10px rgba(20,18,12,0.08);
}

[data-theme="dark"] {
  --bg: #0a0a0c;
  --bg-2: #0f1115;
  --surface: #14161b;
  --surface-2: #161a20;
  --surface-warm: #1a1610;
  --border: #2a2a2f;
  --border-warm: #2e2920;
  --muted: #a1a1aa;
  --text: #f4f4f5;
  --text-warm: #f5f0e6;
  --input-bg: #0e1014;

  --cyan: #00d4ff;
  --cyan-soft: rgba(0,212,255,0.25);
  --gold: #c9a96e;
  --gold-hover: #e0c98c;

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s var(--easeOut), color 0.3s var(--easeOut);
}
.app-root { min-height: 100vh; transition: background 0.8s var(--easeOut); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea {
  font-family: inherit; font-size: 14px;
  background: var(--input-bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 10px 12px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* legacy ".serif" class — now bold sans for cohesion */
.serif { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.serif em { font-style: normal; font-weight: 800; }

/* ---------- Nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  height: 68px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }
.brand.small { font-size: 13px; }
.monogram {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; color: var(--bg); letter-spacing: 0.04em;
}
.brand-words { font-size: 15px; font-weight: 700; }
.nav-links { display: flex; gap: 28px; justify-self: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text); transition: color .2s; letter-spacing: -0.005em; }
.nav-links a:hover { color: var(--cyan); }
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--text); color: var(--text);
  background: var(--surface);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: all 0.2s var(--easeOut);
}
.phone-pill:hover { background: var(--text); color: var(--bg); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s var(--easeOut);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--text); transform: rotate(15deg); }
.nav-right { display: inline-flex; align-items: center; gap: 10px; }
.eb-logo { display: block; color: var(--text); flex-shrink: 0; }
.site-footer .eb-logo { color: var(--bg); }
.nav-burger { display: none; background: var(--surface); border: 1.5px solid var(--border); color: var(--text); padding: 8px; border-radius: var(--r-sm); }

@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 12px; padding: 0 16px; }
  .nav-links, .phone-pill { display: none; }
  .nav-burger { display: block; }
}
.mobile-drawer {
  position: absolute; top: 68px; left: 0; right: 0;
  background: var(--bg); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-md);
}
.mobile-drawer a { font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ---------- Banner ---------- */
.banner {
  position: sticky; top: 64px; z-index: 49;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 32px;
  font-size: 13px;
}
.banner { font-weight: 600; }
.banner-neutral { background: var(--text); color: var(--bg); }
.banner-cyan { background: var(--cyan); color: #fff; }
.banner-gold { background: var(--gold); color: #fff; }
.banner button { background: none; border: none; color: inherit; padding: 4px; opacity: 0.7; }
.banner button:hover { opacity: 1; }

/* ---------- Hero — split ---------- */
.hero { position: relative; min-height: 100vh; padding: 60px 32px 60px; overflow: hidden; }
.hero-particles { display: none; }
@keyframes float { 0%,100% { transform: translateY(0); opacity: 0.2; } 50% { transform: translateY(-20px); opacity: 0.6; } }

.hero-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; }
.gold-thread { display: none; }
@keyframes thread { 0%,100% { width: 1px; } 50% { width: 2px; } }

.hero-half { padding: 60px 60px; min-height: 70vh; display: flex; align-items: center; transition: opacity 0.3s var(--easeOut); position: relative; }
.hero-tech { justify-content: flex-end; }
.hero-jewelry { justify-content: flex-start; background: var(--surface-warm); }
.hero-tech { background: var(--surface); }
.hero-split:hover .hero-tech:not(:hover) { opacity: 0.85; }
.hero-split:hover .hero-jewelry:not(:hover) { opacity: 0.85; }
.hero-half + .hero-half { border-left: 1px solid var(--border); }

.hero-content { max-width: 480px; }
.hero-content h1 { font-size: clamp(48px, 6vw, 84px); font-weight: 800; line-height: 0.96; letter-spacing: -0.04em; margin: 20px 0 24px; color: var(--text); }
.hero-half .hero-content h1.serif { font-family: var(--font-display); font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.04em; font-weight: 800; line-height: 0.96; margin: 20px 0 24px; color: var(--text); }
.hero-half .hero-content h1.serif em { display: inline; padding-bottom: 0; font-style: normal; font-weight: 800; color: var(--gold); }
.hero-content h1 em { font-style: normal; font-weight: 800; color: var(--cyan); opacity: 1; }
.hero-content p { font-size: 17px; color: var(--muted); line-height: 1.45; margin: 0 0 28px; max-width: 400px; font-weight: 500; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.18em; font-weight: 700; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow-cyan { color: var(--cyan); }
.eyebrow-gold { color: var(--gold); font-style: normal; font-weight: 700; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.18em; }
.eyebrow-mixed { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  border: 1.5px solid; background: transparent; color: var(--text);
  transition: all 0.2s var(--easeOut);
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-cyan { border-color: var(--cyan); background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: var(--text); border-color: var(--text); color: var(--bg); transform: translateY(-1px); }
.btn-gold { border-color: var(--gold); background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--text); border-color: var(--text); color: var(--bg); transform: translateY(-1px); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

.hero-foot {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; font-size: 13px; color: var(--muted);
  display: flex; justify-content: center; gap: 12px; align-items: center;
  font-weight: 500;
}
.hero-foot.center { position: static; margin-top: 32px; }
.hero-foot strong { color: var(--text); font-weight: 700; }
.hero-foot .dot { color: var(--border); }

.reveal-left, .reveal-right { opacity: 1; }

@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; }
  .gold-thread { display: none; }
  .hero-half { padding: 48px 24px; min-height: auto; }
  .hero-half + .hero-half { border-left: none; border-top: 1px solid var(--border); }
  .hero-tech, .hero-jewelry { justify-content: center; text-align: center; }
  .hero-content { margin: 0 auto; }
  .eyebrow::before { display: none; }
}

/* Hero variants */
.hero-stacked { display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-stack-inner { max-width: 900px; margin: 0 auto; }
.hero-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--muted); margin-bottom: 32px; text-transform: uppercase; }
.hero-stack-title { font-size: clamp(56px, 9vw, 132px); line-height: 0.92; font-weight: 800; letter-spacing: -0.05em; margin: 0; color: var(--text); }
.hero-stack-title span { display: block; }
.hero-stack-title .line-1 { color: var(--text); }
.hero-stack-title .line-2 { color: var(--cyan); }
.hero-stack-title .line-3 { color: var(--gold); font-weight: 800; font-style: normal; }
.hero-stack-sub { font-size: 19px; color: var(--muted); margin: 36px auto; max-width: 540px; font-weight: 500; }
.hero-stack-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-marquee { display: flex; flex-direction: column; justify-content: center; padding-top: 80px; }
.marquee-row { overflow: hidden; padding: 24px 0; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; align-items: center; animation: marquee 40s linear infinite; font-size: clamp(40px, 6vw, 88px); font-weight: 800; letter-spacing: -0.04em; }
.marquee-track .m-tech { color: var(--cyan); font-family: var(--font-display); }
.marquee-track .m-jewel { color: var(--gold); font-family: var(--font-display); font-weight: 800; }
.marquee-track .m-dot { color: var(--border); font-size: 0.6em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-marquee-inner { text-align: center; padding: 60px 24px; max-width: 920px; margin: 0 auto; }
.hero-marquee-inner h1 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; margin: 28px 0 36px; color: var(--text); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 56px 32px;
}
.trust-cell { text-align: center; padding: 16px; border-right: 1px solid var(--border); }
.trust-cell:last-child { border-right: none; }
.trust-num { font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.trust-num .cyan { color: var(--cyan); }
.trust-num .gold { color: var(--gold); }
.trust-num .muted { color: var(--muted); font-weight: 600; margin: 0 8px; }
.trust-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
@media (max-width: 720px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } .trust-cell:nth-child(2n) { border-right: none; } }

/* ---------- Story ---------- */
.story { padding: 120px 32px; }
.story-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; }
.story-text h2 { font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -0.04em; margin: 16px 0 32px; line-height: 1.0; color: var(--text); }
.story-text p { font-size: 18px; line-height: 1.6; color: var(--text); margin: 0 0 18px; max-width: 580px; font-weight: 500; }
.story-text p:last-child { color: var(--muted); }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot { position: absolute; left: -38px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--text); }
.timeline-year { font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: 24px; color: var(--text); margin-bottom: 4px; letter-spacing: -0.02em; }
.timeline-label { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.timeline-desc { font-size: 14px; color: var(--muted); line-height: 1.5; font-weight: 500; }
@media (max-width: 880px) { .story-inner { grid-template-columns: 1fr; gap: 48px; } .story { padding: 80px 24px; } }

/* ---------- Sections ---------- */
.section-head { max-width: 1200px; margin: 0 auto 48px; padding: 0 32px; }
.section-head h2 { font-size: clamp(44px, 5.4vw, 80px); font-weight: 800; letter-spacing: -0.04em; margin: 16px 0 14px; line-height: 0.96; color: var(--text); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; max-width: 560px; font-weight: 500; }
.section-head.tech-head h2 { color: var(--text); }
.section-head.jewelry-head { font-family: var(--font-display); }
.section-head.jewelry-head h2 { color: var(--text); }

.tech-section, .jewelry-section { padding: 120px 0 100px; position: relative; }
.tech-section { background: var(--bg); }
.jewelry-section { background: var(--surface-warm); }
[data-theme="dark"] .jewelry-section { background: var(--surface-warm); }

/* ---------- Estimator ---------- */
.estimator { max-width: 1180px; margin: 0 auto 80px; padding: 0 32px; }
.estimator-progress {
  display: flex; gap: 0; margin-bottom: 32px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 6px;
}
.estimator-jewelry .estimator-progress { background: var(--surface-warm); border-color: var(--border-warm); }
.prog-step { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: all 0.3s var(--easeOut); }
.prog-step.active { background: var(--cyan); color: #fff; }
.estimator-jewelry .prog-step.active { background: var(--gold); color: #fff; }
.prog-step.done { color: var(--text); }
.prog-num { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.prog-step.active .prog-num { background: rgba(255,255,255,0.25); color: #fff; }
.prog-step.active .prog-num { background: currentColor; color: #0a0a0c; }
.prog-step.done .prog-num { background: rgba(255,255,255,0.15); }
.prog-label { font-weight: 500; letter-spacing: 0.02em; }
@media (max-width: 720px) { .prog-label { display: none; } }

.estimator-stage { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .estimator-stage { grid-template-columns: 1fr; } }

.estimator-main { background: var(--surface-2); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 40px; min-height: 480px; box-shadow: var(--shadow-sm); }
.estimator-jewelry .estimator-main { background: var(--bg); border-color: var(--border-warm); }
.estimator-art { position: sticky; top: 96px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.estimator-jewelry .estimator-art { background: var(--surface-warm); border-color: var(--border-warm); }
.device-art-frame { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.device-art, .jewelry-art { width: 100%; max-width: 280px; aspect-ratio: 1; }
.device-caption { font-size: 14px; font-weight: 500; text-align: center; }
.device-caption.serif { font-family: var(--font-serif); font-size: 18px; color: var(--gold); }
.device-caption.muted { color: var(--muted); font-weight: 400; }

.step-anim { animation: stepIn 0.3s var(--easeOut); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.step-head { margin-bottom: 24px; }
.step-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 4px; }
.step-back { background: none; border: none; color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; }
.step-back:hover { color: var(--text); }
.muted { color: var(--muted); }
.muted.small, .small { font-size: 12px; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.brand-grid { grid-template-columns: repeat(4, 1fr); }
.jewel-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } .brand-grid, .jewel-grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-md); padding: 28px 16px;
  color: var(--text); transition: all 0.2s var(--easeOut);
  text-align: center; font-weight: 600;
}
.tile:hover { transform: translateY(-2px); border-color: var(--cyan); background: var(--surface-2); }
.estimator-jewelry .tile:hover { border-color: var(--gold); }
.tile-icon { color: var(--cyan); }
.tile-icon.gold { color: var(--gold); }
.tile-label { font-size: 14px; font-weight: 600; }
.tile-row { flex-direction: row; padding: 16px 18px; justify-content: flex-start; gap: 14px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }

.metal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metal-tile { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1.5px solid var(--border-warm); border-radius: var(--r-md); color: var(--text-warm); transition: all 0.2s var(--easeOut); font-weight: 600; }
.metal-tile:hover { border-color: var(--gold); background: var(--surface-2); transform: translateY(-2px); }
.metal-swatch { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); flex: 0 0 auto; }
.metal-swatch.tiny { width: 12px; height: 12px; display: inline-block; vertical-align: middle; margin-right: 6px; }
@media (max-width: 720px) { .metal-grid { grid-template-columns: 1fr 1fr; } }

.search-row { position: relative; margin-bottom: 16px; }
.search-row input { width: 100%; padding-left: 36px; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.model-list { max-height: 420px; overflow: auto; display: flex; flex-direction: column; gap: 16px; padding-right: 4px; }
.model-group { display: flex; flex-direction: column; gap: 4px; }
.model-group-label { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 4px 4px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-weight: 700; }
.model-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: transparent; border: 1px solid transparent; border-radius: var(--r-sm); color: var(--text); text-align: left; }
.model-row:hover { background: var(--surface); border-color: var(--cyan); }
.model-mini-icon { color: var(--cyan); }
.model-go { margin-left: auto; opacity: 0.5; }
.model-row:hover .model-go { opacity: 1; color: var(--cyan); }

.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 720px) { .issue-grid { grid-template-columns: 1fr 1fr; } }
.issue-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 16px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  color: var(--text); font-size: 14px; font-weight: 600; text-align: left;
  transition: all 0.2s var(--easeOut);
}
.issue-tile:hover, .issue-tile.active { border-color: var(--cyan); color: var(--cyan); background: var(--surface-2); }
.estimator-jewelry .issue-tile:hover, .estimator-jewelry .issue-tile.active { border-color: var(--gold); color: var(--gold); }

.estimate-panel { padding: 8px 0 0; }
.estimate-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 16px 0 24px; flex-wrap: wrap; }
.estimate-price { font-size: 72px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); font-family: var(--font-display); }
.estimate-price.gold-text { color: var(--gold); font-weight: 800; }
.estimate-time { font-size: 15px; color: var(--muted); font-weight: 500; }
.estimate-time strong { color: var(--text); font-weight: 700; }
.estimate-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--muted); font-weight: 600; }
.chip svg { color: var(--cyan); }
.disclaimer { font-size: 13px; color: var(--muted); padding: 14px 18px; background: var(--surface); border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: 20px; font-weight: 500; }
.estimate-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.estimate-ctas .btn-cyan, .estimate-ctas .btn-gold { flex: 1 1 auto; justify-content: center; }
.estimate-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.estimate-footer-actions { display: flex; gap: 12px; }
.link-btn { background: none; border: none; color: var(--muted); font-size: 12px; padding: 4px; display: inline-flex; align-items: center; gap: 4px; }
.link-btn:hover { color: var(--text); }
.link-btn.gold-text { color: var(--gold); }

/* details form */
.details-form { display: flex; flex-direction: column; gap: 14px; }
.details-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.details-form input, .details-form textarea, .details-form select { font-size: 14px; }
.step-cta { margin-top: 20px; }

/* three cards */
.three-cards { max-width: 1100px; margin: 60px auto 0; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .three-cards { grid-template-columns: 1fr; } }
.info-card { background: var(--surface-2); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 32px; transition: all 0.2s var(--easeOut); }
.info-card:hover { transform: translateY(-2px); border-color: var(--cyan); }
.info-card.jewel-card { background: var(--surface-warm); border-color: var(--border-warm); }
.info-card.jewel-card:hover { border-color: var(--gold); }
.card-icon { display: inline-flex; padding: 14px; background: var(--surface); color: var(--cyan); border-radius: var(--r-sm); margin-bottom: 18px; border: 1.5px solid var(--cyan); }
.card-icon.gold { background: var(--surface); color: var(--gold); border-color: var(--gold); }
.info-card h4 { font-size: 22px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; }
.info-card.jewel-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.info-card p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; font-weight: 500; }

/* Reviews */
.reviews { padding: 80px 32px; max-width: 1280px; margin: 0 auto; }
.reviews .section-head { padding: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--surface-2); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.review-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 14px; }
.review-card blockquote { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.35; margin: 0 0 16px; color: var(--text); letter-spacing: -0.02em; }
.review-meta { display: flex; justify-content: space-between; font-size: 13px; }
.review-name { font-weight: 700; color: var(--text); }
.review-source { color: var(--muted); font-weight: 500; }

/* Visit */
.visit { padding: 80px 32px; max-width: 1280px; margin: 0 auto; }
.visit .section-head { padding: 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } }
.info-block { padding: 24px 0; border-bottom: 1px solid var(--border); }
.info-block:last-child { border-bottom: none; }
.info-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
.info-value { font-size: 20px; font-weight: 600; color: var(--text); }
.info-actions { display: flex; gap: 16px; margin-top: 10px; }
.hours-table { width: 100%; max-width: 380px; font-size: 14px; border-collapse: collapse; font-weight: 500; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.hours-table tr.today td { color: var(--text); font-weight: 700; }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.today-pill { display: inline-block; margin-left: 8px; padding: 3px 10px; background: var(--gold); color: #fff; font-size: 10px; border-radius: 999px; letter-spacing: 0.08em; font-weight: 700; text-transform: uppercase; }
.map-frame { aspect-ratio: 1; max-width: 480px; border: 1.5px solid var(--border-warm); border-radius: var(--r-lg); overflow: hidden; }
.map-svg { width: 100%; height: 100%; display: block; }

/* Footer */
.site-footer { background: var(--text); color: var(--bg); border-top: 1px solid var(--text); padding: 80px 32px 32px; margin-top: 80px; }
.site-footer .brand-words { color: var(--bg); }
.site-footer .monogram { background: var(--bg); color: var(--text); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: color-mix(in srgb, var(--bg) 60%, transparent); margin-bottom: 12px; text-transform: uppercase; }
.footer-grid a { font-size: 14px; color: color-mix(in srgb, var(--bg) 75%, transparent); font-weight: 500; }
.footer-grid a:hover { color: var(--bg); }
.footer-bottom { max-width: 1200px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent); font-size: 13px; color: color-mix(in srgb, var(--bg) 60%, transparent); display: flex; justify-content: space-between; font-weight: 500; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: color-mix(in srgb, var(--text) 50%, transparent); backdrop-filter: blur(8px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 36px; max-width: 480px; width: 100%; position: relative; max-height: 90vh; overflow: auto; animation: stepIn 0.25s var(--easeOut); box-shadow: var(--shadow-lg); }
.modal-wide { max-width: 720px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--surface); border: 1.5px solid var(--border); color: var(--text); padding: 6px; border-radius: var(--r-sm); }
.reserve-form { display: flex; flex-direction: column; gap: 14px; }
.reserve-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.reserve-form h3 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.reserve-success { text-align: center; padding: 16px 0; }
.success-mark { display: inline-flex; width: 80px; height: 80px; border-radius: 50%; background: var(--surface); color: var(--cyan); align-items: center; justify-content: center; margin-bottom: 16px; border: 2px solid var(--cyan); }
.success-mark.gold { background: var(--surface); color: var(--gold); border-color: var(--gold); }

/* ---------- Admin ---------- */
.admin-shell { min-height: 100vh; background: var(--bg-2); }
.admin-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 5; box-shadow: var(--shadow-sm); }
.admin-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.admin-top-actions { display: flex; gap: 16px; }
.admin-body { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 53px); }
.admin-side { border-right: 1px solid var(--border); padding: 16px 8px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.admin-tab { background: none; border: none; color: var(--muted); padding: 10px 14px; text-align: left; font-size: 14px; font-weight: 600; border-radius: var(--r-sm); }
.admin-tab:hover { background: var(--surface-2); color: var(--text); }
.admin-tab.active { background: var(--text); color: var(--bg); }
.admin-main { padding: 32px 40px; overflow: auto; }
@media (max-width: 720px) { .admin-body { grid-template-columns: 1fr; } .admin-side { display: none; } }

.admin-section { max-width: 1000px; }
.admin-section h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 28px; }
.admin-section h3 { font-size: 17px; font-weight: 700; margin: 28px 0 12px; }
.admin-section label { display: block; margin: 12px 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.admin-section label input:not([type="checkbox"]), .admin-section label select, .admin-section label textarea { display: block; width: 100%; max-width: 460px; margin-top: 4px; }
.admin-section label.inline { display: inline-flex; gap: 6px; align-items: center; margin-right: 16px; }

.prod-disclaimer { background: var(--surface-warm); border: 1.5px solid var(--gold); border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 24px; font-size: 13px; font-weight: 600; color: var(--gold); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.prod-disclaimer button { background: none; border: none; color: var(--muted); padding: 4px; }

.auth-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; }
.auth-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 48px; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); }
.auth-card h2 { margin: 16px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.auth-card form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.auth-card label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.auth-card .btn { justify-content: center; }
.monogram-big { width: 64px; height: 64px; border-radius: 50%; background: var(--text); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--bg); font-size: 20px; margin: 0 auto 12px; }
.monogram-big .eb-logo { color: var(--bg); }
.err { color: #ff6b81; font-size: 13px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.stat-card { padding: 24px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.stat-card.cyan-glow { border-color: var(--cyan); }
.stat-card.gold-glow { border-color: var(--gold); }
.stat-num { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 14px; }

.quick-toggles { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; padding: 18px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md); }
.toggle-row { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; }
.audit-feed { list-style: none; padding: 0; font-size: 13px; }
.audit-feed li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.audit-feed.long { max-height: 360px; overflow: auto; }

.filter-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-row button { background: var(--bg); border: 1.5px solid var(--border); color: var(--muted); padding: 8px 14px; font-size: 13px; font-weight: 600; border-radius: var(--r-sm); }
.filter-row button.active { color: var(--bg); background: var(--text); border-color: var(--text); }
.filter-row select { padding: 6px 12px; font-size: 12px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }
.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.data-table tr.clickable { cursor: pointer; transition: background 0.1s; }
.data-table tr.clickable:hover { background: var(--surface); }
.data-table input { width: 100%; max-width: 200px; }
.data-table input.narrow { max-width: 80px; }
.status-pill { padding: 3px 10px; border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.s-new { background: var(--cyan); color: #fff; }
.s-contacted { background: var(--gold); color: #fff; }
.s-in-progress { background: #d97706; color: #fff; }
.s-completed { background: #16a34a; color: #fff; }
.s-cancelled { background: #dc2626; color: #fff; }

.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 16px 0; font-size: 13px; }
.kv-grid .full { grid-column: 1 / -1; }
.kv-grid p { margin: 4px 0 0; color: var(--text); }

.list-edit { display: flex; flex-direction: column; gap: 6px; }
.row-edit { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.row-edit.indent { padding-left: 24px; }
.row-edit input { flex: 1; max-width: 320px; }
.add-row { display: flex; gap: 8px; margin-top: 12px; }
.add-row input { flex: 1; max-width: 320px; }

.issue-edit-list { display: flex; flex-direction: column; gap: 8px; }
.issue-edit-row { display: flex; align-items: center; gap: 8px; }
.issue-edit-row input { flex: 1; }

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 10px; }
.row label { margin: 0; }

.override-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.override-edit { padding: 16px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md); }

.card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.data-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 18px; }
.dc-head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.data-card p { font-size: 13px; color: var(--text); margin: 8px 0 0; }
@media (max-width: 720px) { .card-list { grid-template-columns: 1fr; } }

.photo-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.photo-slots img { max-width: 100%; border-radius: var(--r-sm); margin-top: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.gallery-item { position: relative; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.gallery-item button { position: absolute; top: 4px; right: 4px; background: var(--text); border: none; color: var(--bg); padding: 4px; border-radius: 4px; }

.review-edit-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.review-edit { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.review-edit textarea { width: 100%; margin-bottom: 8px; }

.form-narrow { max-width: 360px; display: flex; flex-direction: column; gap: 12px; }

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