/* ============================================================
   Cigar Concierge — marketing site
   Tokens + voice from DESIGN.md (dark cigar-lounge system).
   Static site: no framework, no build step.
   ============================================================ */

:root {
  --cc-bg: #1b120e;
  --cc-bg-elev: #2a1c15;
  --cc-surface: #33241b;
  --cc-surface-selected: #3f2c1f;
  --cc-glass: rgba(255, 255, 255, 0.05);
  --cc-accent: #c8923b;
  --cc-accent-2: #e0a85a;
  --cc-ember-hi: #ffd27a;
  --cc-ember-deep: #7a3b12;
  --cc-leather: #5a4233;
  --cc-text: #f3e9df;
  --cc-text-dim: #c2ad9c;
  --cc-border: rgba(74, 53, 39, 0.39);
  --cc-border-glass: rgba(255, 255, 255, 0.08);
  --cc-error: #ff9d8a;
  --cc-success-surface: #2e4d2e;
  --cc-success-text: #aef0ae;
  --cc-warning-surface: #4d3a2e;
  --cc-warning-text: #f0cdaa;
  --cc-on-accent: #1b120e;
  --cc-radius: 18px;
  --cc-radius-md: 12px;
  --cc-radius-sm: 8px;
  --serif: "Marcellus", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --page-pad: clamp(28px, 6vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Never allow horizontal scroll — any accidental overflow gets clipped instead
   of eating the page's right padding on phones. */
html, body { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--cc-bg);
  /* one non-repeating ember glow at the top of the first viewport */
  background-image: radial-gradient(120% 100% at 50% 0%, var(--cc-bg-elev) 0%, var(--cc-bg) 60%);
  background-repeat: no-repeat;
  background-size: 100% 100dvh;
  color: var(--cc-text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--cc-text);
  margin: 0;
}

p { margin: 0; }
a { color: var(--cc-accent-2); text-decoration: none; }
img { max-width: 100%; }

::selection { background: rgba(200, 146, 59, 0.35); }

/* scrollbar in leather, per app */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cc-bg); }
::-webkit-scrollbar-thumb { background: var(--cc-leather); border-radius: 8px; }

.dim { color: var(--cc-text-dim); }
.accent { color: var(--cc-accent-2); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(27, 18, 14, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--cc-border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cc-text);
  margin-right: auto;
  white-space: nowrap;
}
.brand-ember {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 50% 40%, var(--cc-ember-hi), var(--cc-accent) 55%, var(--cc-ember-deep) 100%);
  box-shadow: 0 0 18px 4px rgba(224, 168, 90, 0.4);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--cc-text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 120ms ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--cc-text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--cc-radius);
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn-primary {
  background: var(--cc-accent);
  color: var(--cc-on-accent);
  height: 44px;
  padding: 0 22px;
}
.btn-primary:hover {
  background: var(--cc-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(224, 168, 90, 0.35);
}
.btn-big {
  height: 60px;
  min-width: 240px;
  padding: 0 32px;
  font-size: 18px;
  border-radius: var(--cc-radius);
}
.btn-ghost {
  background: transparent;
  color: var(--cc-text);
  height: 60px;
  padding: 0 28px;
  font-size: 17px;
  border: 1px solid var(--cc-border-glass);
  background: var(--cc-glass);
}
.btn-ghost:hover { border-color: var(--cc-accent); transform: translateY(-1px); }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cc-text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

@media (max-width: 780px) {
  .nav { gap: 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(27, 18, 14, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--cc-border);
    padding: 8px var(--page-pad) 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 16px; }
  .nav-links .btn-primary { margin-top: 10px; height: 52px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

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

.hero {
  position: relative;
  padding: 168px 0 96px;
  text-align: center;
  overflow: hidden;
}
.hero .container { position: relative; }

.ember-orb {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--cc-ember-hi), var(--cc-accent) 55%, var(--cc-ember-deep) 100%);
  box-shadow: 0 0 40px 8px rgba(224, 168, 90, 0.45);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 .accent { color: var(--cc-accent-2); }
.hero .tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--cc-text-dim);
  max-width: 680px;
  margin: 22px auto 0;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.hero-note { margin-top: 18px; font-size: 13px; color: var(--cc-text-dim); }

/* small page hero (inner pages) */
.page-hero { padding: 156px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--cc-text-dim);
  max-width: 640px;
  margin: 18px auto 0;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cc-accent-2);
  margin-bottom: 16px;
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
.section-head p { color: var(--cc-text-dim); margin-top: 14px; font-size: 17px; }

/* ---------- Cards ---------- */

.card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius);
  padding: 28px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--cc-accent);
  background: var(--cc-surface-selected);
}
.card h3 { font-size: 22px; margin: 14px 0 10px; }
.card p { color: var(--cc-text-dim); font-size: 15px; }

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--cc-radius-md);
  background: var(--cc-glass);
  border: 1px solid var(--cc-border-glass);
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--cc-accent-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }

/* ---------- Stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--cc-border);
  border-bottom: 1px solid var(--cc-border);
}
.stat { text-align: center; padding: 12px; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--cc-accent-2);
  line-height: 1.1;
}
.stat .label { color: var(--cc-text-dim); font-size: 14px; margin-top: 6px; }

/* ---------- Split feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  /* top/bottom only — the shorthand `padding: 56px 0` was zeroing the
     horizontal padding these elements inherit from .container (they share
     the element: <div class="container feature-row">) */
  padding-top: 56px;
  padding-bottom: 56px;
}
.feature-row.flip .feature-copy { order: 2; }
/* Grid items refuse to shrink below their content by default (min-width: auto),
   which lets a wide panel drag the whole row past the viewport on phones. */
.feature-row > *, .contact-grid > *, .grid-3 > *, .grid-2 > * { min-width: 0; }
.feature-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; margin-bottom: 16px; }
.feature-copy > p { color: var(--cc-text-dim); font-size: 16.5px; }
.feature-copy ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0 0 0 4px; /* nudge the bullet dots off the container edge */
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-copy li {
  /* padding + absolute dot (not flex) so the bold lead-in and the description
     flow as one paragraph at every width */
  position: relative;
  padding-left: 22px;
  color: var(--cc-text-dim);
  font-size: 15px;
  line-height: 1.55;
}
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--cc-ember-hi), var(--cc-accent) 70%);
  box-shadow: 0 0 8px rgba(224, 168, 90, 0.6);
}
.feature-copy li strong { color: var(--cc-text); font-weight: 600; }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
  .feature-row.flip .feature-copy { order: 0; }
}

/* ---------- Mobile rhythm: tighter vertical spacing, comfier text ---------- */

@media (max-width: 700px) {
  section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; text-align: left; }
  .section-head p { font-size: 16px; }
  .hero { padding: 128px 0 64px; }
  .page-hero { padding: 120px 0 36px; }
  .page-hero .tagline, .hero .tagline { margin-top: 16px; }
  .hero-ctas { margin-top: 30px; }
  .hero-ctas .btn { width: 100%; }
  .feature-copy > p { font-size: 15.5px; }
  .feature-copy ul { margin-top: 18px; gap: 14px; }
  .panel { min-height: 240px; padding: 22px 18px; }
  .card { padding: 24px 20px; }
  .stats { gap: 8px; padding: 20px 0; }
  .cta-band p { margin-top: 14px; }
}

/* ---------- Visual panels (abstract, no photography) ---------- */

.panel {
  position: relative;
  border-radius: var(--cc-radius);
  border: 1px solid var(--cc-border);
  background:
    radial-gradient(120% 130% at 50% 0%, var(--cc-bg-elev) 0%, var(--cc-surface) 70%);
  padding: 28px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 70%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(200, 146, 59, 0.16), transparent 75%);
  pointer-events: none;
}

/* ---------- Kiosk mockup (CSS iPad running the wizard) ---------- */

.kiosk {
  width: min(420px, 100%);
  border-radius: 26px;
  border: 1px solid var(--cc-border-glass);
  background: #120b08;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(200, 146, 59, 0.12);
}
.kiosk-screen {
  border-radius: 16px;
  background: var(--cc-bg);
  background-image: radial-gradient(140% 90% at 50% 0%, var(--cc-bg-elev) 0%, var(--cc-bg) 65%);
  padding: 26px 22px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.kiosk-step {
  position: absolute;
  inset: 26px 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kiosk-step.active { opacity: 1; transform: translateY(0); }
.kiosk-q {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.kiosk-option {
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background 300ms ease, border-color 300ms ease;
}
.kiosk-option .sub { display: block; font-weight: 400; font-size: 12px; color: var(--cc-text-dim); margin-top: 2px; }
.kiosk-option.picked { background: var(--cc-surface-selected); border-color: var(--cc-accent); }
.kiosk-result {
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
  border-radius: 14px;
  padding: 16px;
}
.kiosk-result .name { font-family: var(--serif); font-size: 18px; }
.kiosk-result .meta { font-size: 12.5px; color: var(--cc-text-dim); margin-top: 4px; }
.kiosk-result .why { font-size: 12.5px; color: var(--cc-text-dim); margin-top: 10px; line-height: 1.5; }
.chip {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 10px;
}
.chip.instock { background: var(--cc-success-surface); color: var(--cc-success-text); }
.chip.special { background: var(--cc-warning-surface); color: var(--cc-warning-text); }
.kiosk-thinking {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  color: var(--cc-text-dim);
  font-size: 14px;
}
.kiosk-thinking .mini-ember {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--cc-ember-hi), var(--cc-accent) 55%, var(--cc-ember-deep) 100%);
  box-shadow: 0 0 26px 6px rgba(224, 168, 90, 0.45);
  animation: breathe 1.4s ease-in-out infinite;
}
.kiosk-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.kiosk-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cc-leather);
  transition: background 300ms ease;
}
.kiosk-dots i.on { background: var(--cc-accent-2); }

/* ---------- QR handoff illustration ---------- */

.qr-illustration { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.qr-card {
  background: var(--cc-glass);
  border: 1px solid var(--cc-border-glass);
  border-radius: var(--cc-radius-md);
  padding: 16px;
  text-align: center;
}
.qr-card .qr-label { font-size: 12px; color: var(--cc-text-dim); margin-top: 10px; }
.qr-grid {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: var(--cc-radius-sm);
  background: var(--cc-text);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
}
.qr-grid i { background: var(--cc-bg); border-radius: 1px; }
.qr-grid i.o { background: transparent; }
.qr-arrow { color: var(--cc-accent-2); font-size: 28px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.phone {
  width: 120px;
  border-radius: 22px;
  border: 1px solid var(--cc-border-glass);
  background: #120b08;
  padding: 8px;
}
.phone-screen {
  border-radius: 15px;
  background: var(--cc-bg);
  background-image: radial-gradient(140% 80% at 50% 0%, var(--cc-bg-elev) 0%, var(--cc-bg) 70%);
  min-height: 200px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.phone .p-ember {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--cc-ember-hi), var(--cc-accent) 55%, var(--cc-ember-deep) 100%);
  box-shadow: 0 0 12px rgba(224, 168, 90, 0.5);
}
.phone .p-line { height: 7px; border-radius: 4px; background: var(--cc-surface); width: 100%; }
.phone .p-line.short { width: 60%; }
.phone .p-card {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--cc-border);
  background: var(--cc-surface);
  height: 44px;
  margin-top: 4px;
}

/* ---------- Timeline (how it works) ---------- */

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--cc-accent) 0%, var(--cc-border) 100%);
  opacity: 0.55;
}
.t-step {
  position: relative;
  padding: 0 0 44px 84px;
}
.t-step:last-child { padding-bottom: 0; }
.t-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cc-accent-2);
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  box-shadow: 0 0 24px rgba(224, 168, 90, 0.12);
}
.t-step h3 { font-size: 24px; margin-bottom: 8px; }
.t-step p { color: var(--cc-text-dim); font-size: 15.5px; max-width: 560px; }

@media (max-width: 600px) {
  .timeline::before { left: 21px; }
  .t-num { width: 44px; height: 44px; font-size: 18px; }
  .t-step { padding-left: 64px; }
}

/* ---------- Steps (3-up horizontal) ---------- */

.steps-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--cc-glass);
  border: 1px solid var(--cc-border-glass);
  border-radius: var(--cc-radius);
  padding: 28px 24px 24px;
}
.step-card .step-n {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--cc-accent-2);
  opacity: 0.9;
  line-height: 1;
}
.step-card h3 { font-size: 21px; margin: 14px 0 8px; }
.step-card p { color: var(--cc-text-dim); font-size: 14.5px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  text-align: center;
  border-radius: var(--cc-radius);
  border: 1px solid var(--cc-border);
  padding: clamp(48px, 8vw, 88px) var(--page-pad);
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 50% 115%, rgba(200, 146, 59, 0.22) 0%, transparent 60%),
    radial-gradient(120% 100% at 50% 0%, var(--cc-bg-elev) 0%, var(--cc-bg) 70%);
}
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 720px; margin: 0 auto; }
.cta-band p { color: var(--cc-text-dim); margin: 18px auto 0; max-width: 560px; font-size: 17px; }
.cta-band .hero-ctas { margin-top: 36px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--cc-border);
  margin-top: 48px;
  padding: 44px 0 36px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--cc-text-dim); font-size: 14px; }
.footer-nav a:hover { color: var(--cc-text); }
.copyright { width: 100%; margin-top: 18px; color: var(--cc-text-dim); font-size: 13px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(320px, 6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cc-glass);
  border: 1px solid var(--cc-border-glass);
  border-radius: var(--cc-radius-md);
  padding: 16px 18px;
}
.contact-point svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--cc-accent-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-point p { color: var(--cc-text-dim); font-size: 14.5px; }
.contact-point strong { color: var(--cc-text); display: block; margin-bottom: 2px; font-weight: 600; }

.form-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius);
  padding: clamp(22px, 4vw, 36px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--cc-text); }
.field label .opt { color: var(--cc-text-dim); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--cc-text);
  background: var(--cc-bg-elev);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-md);
  padding: 13px 14px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cc-accent);
  box-shadow: 0 0 0 3px rgba(200, 146, 59, 0.18);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cc-text-dim) 50%), linear-gradient(135deg, var(--cc-text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-error { color: var(--cc-error); font-size: 14px; margin: 4px 0 12px; min-height: 20px; }
.form-fine { color: var(--cc-text-dim); font-size: 12.5px; margin-top: 14px; }

/* honeypot: visually removed, still focusable by bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success { text-align: center; padding: 40px 12px; }
.form-success .ember-orb { width: 56px; height: 56px; margin-bottom: 22px; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--cc-text-dim); }

.btn[disabled] { opacity: 0.55; cursor: default; pointer-events: none; }
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(27, 18, 14, 0.3);
  border-top-color: var(--cc-on-accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ember-orb, .kiosk-thinking .mini-ember, .qr-arrow, .brand-ember { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: var(--page-pad);
}
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.notfound p { color: var(--cc-text-dim); max-width: 460px; }
