/* ═══════════════════════════════════════════════════════════════════
   ui-kit / core / components.css
   ───
   Mobile-first tattoo site components.
   All values reference tokens.css — swap a theme file and everything changes.

   USAGE:
     <link rel="stylesheet" href="core/reset.css">
     <link rel="stylesheet" href="core/tokens.css">
     <link rel="stylesheet" href="theme.css">        ← your theme override
     <link rel="stylesheet" href="core/components.css">
   ═══════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   PRIMITIVES (used across components)
   ════════════════════════════════════════════════════════ */

/* Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-6);
  height: var(--tap-min);          /* 44px — meets touch target minimum */
  min-width: var(--tap-min);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none;
}
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.4; pointer-events: none; }

.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 28px var(--brand-glow), 0 0 0 1px var(--brand-border);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-1);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--elevated);
  border-color: var(--border-str);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text-1);
  border-color: var(--border-hi);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand-border);
}
.btn-outline:hover {
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.btn-lg { height: 52px; padding: 0 var(--space-8); font-size: var(--text-base); }
.btn-sm { height: 36px; padding: 0 var(--space-4); font-size: var(--text-2xs); }
.btn-full { width: 100%; }
.btn-pill { border-radius: var(--radius-full); }
.btn-icon { padding: 0; width: var(--tap-min); }

/* Tags / Badges ────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-default  { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.tag-brand    { background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-border); }
.tag-success  { background: var(--success-soft); color: var(--success); border: 1px solid rgba(74,222,128,.25); }
.tag-warning  { background: var(--warning-soft); color: var(--warning); border: 1px solid rgba(251,191,36,.25); }
.tag-error    { background: var(--error-soft);   color: var(--error);   border: 1px solid rgba(248,113,113,.25); }

/* ════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════ */

/* Sticky top nav */
.nav-top {
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0; right: 0;
  z-index: var(--z-sticky);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-5);
  background: rgba(8,8,9,0.80);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-bottom: 1px solid var(--border);
}
.nav-top-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-1);
}
.nav-top-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: var(--tap-min);
  height: var(--tap-min);
  align-items: center;
  justify-content: center;
}
.nav-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-1);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

/* Bottom booking bar — sticky persistent CTA */
.booking-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-3) var(--space-5);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(8,8,9,0.92);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.booking-bar-text { flex: 1; }
.booking-bar-label {
  font-size: var(--text-xs);
  color: var(--text-3);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.booking-bar-avail {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-1);
}

/* ════════════════════════════════════════════════════════
   HERO — full viewport, artist intro
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;           /* use svh for mobile (excludes browser chrome) */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background — typically a photo. Add class to <img> or <video> */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

/* Gradient fade from image to bg color */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

/* Subtle brand color bloom */
.hero-bloom {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, var(--brand-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-8) var(--space-5);
  padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0px));
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-3);
  display: block;
}

.hero-name {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-1);
  margin-bottom: var(--space-3);
}

.hero-tagline {
  font-size: var(--text-md);
  color: var(--text-2);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Scroll hint — animated chevron */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-3);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════════════════════════════
   GALLERY — portfolio grid
   ════════════════════════════════════════════════════════ */
.gallery { padding: var(--space-12) var(--space-5); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-1);
  line-height: var(--leading-tight);
}
.section-link {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* Gallery grid — 2 cols on mobile, 3 on wider */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-cell:hover img { transform: scale(1.06); }

/* Hover overlay on gallery cell */
.gallery-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
}
.gallery-cell:hover .gallery-cell-overlay { opacity: 1; }
.gallery-cell-style {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   SERVICES — styles / pricing
   ════════════════════════════════════════════════════════ */
.services { padding: var(--space-12) var(--space-5); }

.service-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
  min-height: var(--tap-min);
}
.service-item:last-child { border-bottom: none; }
.service-item:hover { background: var(--surface-2); }

.service-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.service-info { flex: 1; min-width: 0; }
.service-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-semi);
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--text-3);
  margin-top: var(--space-1);
}
.service-price {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--brand);
  flex-shrink: 0;
  letter-spacing: var(--tracking-wide);
}
.service-arrow {
  color: var(--text-4);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-spring);
}
.service-item:hover .service-arrow { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════
   ABOUT — artist bio
   ════════════════════════════════════════════════════════ */
.about { padding: var(--space-12) var(--space-5); }

.about-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Artist portrait */
.about-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Decorative brand corner */
.about-portrait::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 40%; height: 40%;
  background: var(--brand-soft);
  border-radius: var(--radius-xl) 0 var(--radius-xl) 0;
  border: 1px solid var(--brand-border);
}

.about-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand);
}
.about-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-1);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.about-bio {
  font-size: var(--text-base);
  color: var(--text-2);
  line-height: var(--leading-relaxed);
}

/* Stats row */
.about-stats {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.about-stat { flex: 1; text-align: center; }
.about-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--brand);
  line-height: 1;
}
.about-stat-label {
  font-size: var(--text-xs);
  color: var(--text-3);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: var(--space-1);
}

/* ════════════════════════════════════════════════════════
   BOOKING CTA — the conversion moment
   ════════════════════════════════════════════════════════ */
.booking-cta {
  padding: var(--space-16) var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Atmospheric brand glow behind CTA */
.booking-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, var(--brand-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.booking-cta > * { position: relative; z-index: 1; }

.booking-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-4);
  display: block;
}
.booking-cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--text-1);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}
.booking-cta-sub {
  font-size: var(--text-base);
  color: var(--text-2);
  margin-bottom: var(--space-8);
}
.booking-cta .btn { margin: 0 auto; }

/* ════════════════════════════════════════════════════════
   TESTIMONIALS — social proof
   ════════════════════════════════════════════════════════ */
.testimonials { padding: var(--space-12) 0; }
.testimonials .section-header {
  padding: 0 var(--space-5);
  margin-bottom: var(--space-5);
}

/* Horizontal scroll snap */
.testimonials-track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-5) var(--space-3);
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80vw;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-stars {
  font-size: var(--text-sm);
  letter-spacing: 2px;
  color: var(--brand);
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--text-1);
  line-height: var(--leading-relaxed);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-1);
}
.testimonial-meta {
  font-size: var(--text-xs);
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* ════════════════════════════════════════════════════════
   PROCESS — how booking works
   ════════════════════════════════════════════════════════ */
.process { padding: var(--space-12) var(--space-5); }

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.process-step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  position: relative;
}

.process-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--brand-muted);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.process-body { flex: 1; }
.process-step-title {
  font-weight: var(--weight-semi);
  font-size: var(--text-md);
  color: var(--text-1);
  margin-bottom: var(--space-1);
}
.process-step-desc {
  font-size: var(--text-sm);
  color: var(--text-3);
  line-height: var(--leading-relaxed);
}

/* ════════════════════════════════════════════════════════
   FAQ — accordion
   ════════════════════════════════════════════════════════ */
.faq { padding: var(--space-12) var(--space-5); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-1);
  min-height: var(--tap-min);
}
.faq-icon {
  font-size: 20px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-spring);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: var(--leading-relaxed);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.faq-item.open .faq-a { display: block; }

/* ════════════════════════════════════════════════════════
   CONTACT / SOCIAL LINKS
   ════════════════════════════════════════════════════════ */
.contact { padding: var(--space-12) var(--space-5); }

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  min-height: var(--tap-min);
  text-decoration: none;
}
.social-link:hover {
  background: var(--surface-2);
  border-color: var(--border-hi);
  transform: translateX(4px);
}
.social-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.social-info { flex: 1; }
.social-platform {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-1);
}
.social-handle {
  font-size: var(--text-xs);
  color: var(--text-3);
  font-family: var(--font-mono);
}
.social-arrow {
  color: var(--text-4);
  font-size: 18px;
}

/* ════════════════════════════════════════════════════════
   SECTION DIVIDER
   ════════════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
  margin: 0 var(--space-5);
}

/* ════════════════════════════════════════════════════════
   SITE FOOTER
   ════════════════════════════════════════════════════════ */
.footer {
  padding: var(--space-10) var(--space-5);
  padding-bottom: calc(var(--space-10) + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-1);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-2);
}
.footer-location {
  font-size: var(--text-sm);
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-4);
}

/* ════════════════════════════════════════════════════════
   HIGHLIGHTS STRIP — story-style category chips
   ════════════════════════════════════════════════════════ */
.highlights { padding: var(--space-6) 0; }

.highlights-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-5) var(--space-2);
  scrollbar-width: none;
}
.highlights-track::-webkit-scrollbar { display: none; }

.highlight-chip {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  flex-shrink: 0;
}
.highlight-ring {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  padding: 2px;
  background: var(--gradient-brand);
}
.highlight-ring.seen { background: var(--border-hi); }
.highlight-inner {
  width: 100%; height: 100%;
  border-radius: var(--radius-full);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 2px solid var(--bg);
}
.highlight-label {
  font-size: var(--text-xs);
  color: var(--text-2);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-align: center;
}

/* ════════════════════════════════════════════════════════
   FLASH SHEET — pre-made designs grid
   ════════════════════════════════════════════════════════ */
.flash { padding: var(--space-12) var(--space-5); }

.flash-notice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--brand);
}
.flash-notice-icon { font-size: 16px; flex-shrink: 0; }

.flash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 480px) {
  .flash-grid { grid-template-columns: repeat(3, 1fr); }
}

.flash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.flash-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-border);
  box-shadow: 0 8px 24px var(--brand-glow);
}

.flash-image {
  aspect-ratio: 1;
  background: var(--surface-2);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  border-bottom: 1px solid var(--border);
}
.flash-tag {
  position: absolute;
  top: var(--space-2); right: var(--space-2);
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--text-on-brand);
}
.flash-tag.available { background: var(--success); color: var(--text-on-success); }
.flash-tag.taken { background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border); }

.flash-info { padding: var(--space-3); }
.flash-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--text-1);
  margin-bottom: var(--space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flash-price {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--brand);
  font-weight: var(--weight-medium);
}
.flash-size {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-4);
  float: right;
}

/* ════════════════════════════════════════════════════════
   BOOKING FORM
   ════════════════════════════════════════════════════════ */
.booking-form-section { padding: var(--space-12) var(--space-5); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.form-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-1);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-field:last-of-type { margin-bottom: var(--space-6); }

.form-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-2);
  font-family: var(--font-mono);
}

.form-input {
  height: var(--tap-min);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-1);
  width: 100%;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.form-input::placeholder { color: var(--text-4); }
.form-input:focus {
  outline: none;
  border-color: var(--brand-border);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-textarea {
  height: 120px;
  padding: var(--space-4);
  resize: none;
  line-height: var(--leading-relaxed);
}

/* Style selector — radio pills */
.style-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.style-pill {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hi);
  background: var(--bg-raised);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  -webkit-user-select: none;
  user-select: none;
  min-height: var(--tap-min);
  display: flex; align-items: center;
}
.style-pill:hover { border-color: var(--brand-border); color: var(--brand); }
.style-pill.selected {
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand);
  font-weight: var(--weight-semi);
}

/* Size reference visual */
.size-guide {
  display: flex;
  gap: var(--space-4);
  align-items: flex-end;
  padding: var(--space-4);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.size-ref {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
}
.size-ref-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}
.size-ref.selected .size-ref-box {
  background: var(--brand-soft);
  border-color: var(--brand-border);
}
.size-ref-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  text-align: center;
}
.size-ref.selected .size-ref-label { color: var(--brand); }

.form-submit {
  width: 100%;
  height: 52px;
  background: var(--gradient-brand);
  color: var(--text-on-brand);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: all var(--dur-base) var(--ease-out);
}
.form-submit:hover { filter: brightness(1.08); box-shadow: 0 8px 28px var(--brand-glow); }
.form-submit:active { transform: scale(0.98); }
.form-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-3);
  margin-top: var(--space-4);
}

/* ════════════════════════════════════════════════════════
   AVAILABILITY NOTICE
   ════════════════════════════════════════════════════════ */
.availability-banner {
  margin: 0 var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.availability-dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: var(--brand);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--brand-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}
.availability-text { flex: 1; }
.availability-status {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--brand);
}
.availability-dates {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-3);
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════
   SCROLL-REVEAL utility
   ════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slower) var(--ease-out),
    transform var(--dur-slower) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ════════════════════════════════════════════════════════
   ATMOSPHERE utilities
   ────────────────────────────────────────────────────────
   Token-driven visual texture + depth layer. All values
   come from --atmosphere tokens in tokens.css (defaulting
   to "off") which themes override to their personality.

   PSEUDO-ELEMENT CONSTRAINT:
     .grain uses ::after — do not apply to elements that
       already use ::after for content (e.g. .about-portrait)
     .vignette + .brand-bloom use ::before — do not apply
       to elements that already use ::before (e.g. .booking-cta)
     Both classes can safely coexist on the same element
       since they use different pseudo-elements.

   STACKING CONTEXT NOTE:
     .grain sets isolation: isolate to contain the
     soft-light blend mode. Children with z-index are
     scoped to the .grain element, which is correct
     behaviour for contained overlays.
   ════════════════════════════════════════════════════════ */

/* ── Grain — film noise texture ── */
.grain {
  position: relative;
  /* isolation: isolate creates a stacking context so the soft-light
     blend mode on ::after composites against this element's background
     only, not the entire page behind it. */
  isolation: isolate;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: var(--grain-size, 180px);
  opacity: var(--grain-opacity, 0);
  mix-blend-mode: var(--grain-blend, soft-light);
  pointer-events: none;
  border-radius: inherit;
  /* z-index: 1 keeps grain above bg/image layers but below interactive content */
  z-index: 1;
  transition: opacity var(--dur-slow) var(--ease-out);
}

/* ── Vignette — radial dark-edge fade ── */
/* Each size class works standalone — no .vignette base class required */
.vignette,
.vignette-sm,
.vignette-md,
.vignette-lg { position: relative; }

.vignette::before,
.vignette-sm::before,
.vignette-md::before,
.vignette-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent var(--vignette-spread, 60%),
    rgba(0, 0, 0, 0.75) 100%
  );
  opacity: var(--vignette-opacity, 0);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.vignette-sm  { --vignette-spread: 70%; --vignette-opacity: 0.45; }
.vignette-md  { --vignette-spread: 55%; --vignette-opacity: 0.65; }
.vignette-lg  { --vignette-spread: 38%; --vignette-opacity: 0.82; }

/* ── Glass — frosted surface ── */
.glass {
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(var(--glass-blur, 12px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 12px));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  /* Inset top-edge shimmer mimics light hitting a glass surface */
  box-shadow: inset 0 1px 0 var(--glass-highlight, rgba(255, 255, 255, 0.06));
}

/* ── Brand bloom — ambient brand-color radial glow ── */
.brand-bloom {
  position: relative;
  overflow: hidden;
}
.brand-bloom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    var(--brand-glow) 0%,
    transparent var(--bloom-spread, 65%)
  );
  opacity: var(--bloom-opacity, 0);
  pointer-events: none;
}

/* ── Depth shorthands — shadow tier aliases ── */
.depth-sm    { box-shadow: var(--shadow-sm); }
.depth-md    { box-shadow: var(--shadow-md); }
.depth-lg    { box-shadow: var(--shadow-lg); }
.depth-brand { box-shadow: var(--shadow-brand); }

/* Inset highlight — top-edge shimmer for cards that aren't full .glass */
.highlight   { box-shadow: inset 0 1px 0 var(--glass-highlight, rgba(255, 255, 255, 0.06)); }

/* ── Gradient edge — left accent line (fine-line theme) ── */
.edge-brand {
  border-left: 2px solid transparent;
  /* border-image replaces border-color; uses --grad-edge which defaults to none */
  border-image: var(--grad-edge, linear-gradient(180deg, var(--brand-dim), var(--brand))) 1;
}

/* ════════════════════════════════════════════════════════════════════
   PART 2 — NEW COMPONENTS
   ════════════════════════════════════════════════════════════════════ */

/* ── Toast & Toaster ── */
@keyframes toast-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes toast-out {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

.toaster {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom) + var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 240px;
  max-width: 340px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--elevated);
  box-shadow: var(--shadow-xl);
  border-left: 3px solid var(--brand);
  pointer-events: all;
  animation: toast-in var(--dur-fast) var(--ease-out) forwards;
}
.toast.exiting {
  animation: toast-out var(--dur-fast) var(--ease-out) forwards;
}

.toast-icon   { flex-shrink: 0; font-size: var(--text-base); }
.toast-body   { flex: 1; font-size: var(--text-sm); color: var(--text-1); }
.toast-dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: var(--space-1);
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-success { border-left-color: var(--green, #9ece6a); }
.toast-error   { border-left-color: var(--red,   #f7768e); }
.toast-warn    { border-left-color: var(--yellow, #e0af68); }
.toast-info    { border-left-color: var(--brand); }

/* ── Skeleton ── */
@keyframes skeleton-shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}

.skeleton {
  display: block;
  width: var(--sk-w, 100%);
  height: var(--sk-h, 14px);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    90deg,
    var(--surface)   25%,
    var(--surface-2) 50%,
    var(--surface)   75%
  );
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}
.skeleton-text   { width: 100%; height: 14px; border-radius: var(--radius-sm); }
.skeleton-circle { border-radius: var(--radius-full); }
.skeleton-card   { width: 100%; height: var(--sk-h, 160px); border-radius: var(--radius-md); }

/* ── FAB — Floating Action Button ── */
.fab {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom) + 72px);
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand, var(--brand));
  color: var(--text-on-brand, #fff);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-brand, var(--shadow-lg));
  z-index: var(--z-sticky);
  transition: transform var(--dur-fast) var(--ease-out);
  min-width: var(--tap-min);
  min-height: var(--tap-min);
}
.fab:active { transform: scale(0.94); }

.fab-extended {
  width: auto;
  border-radius: var(--radius-full);
  padding: 0 20px;
  height: 48px;
  gap: var(--space-2);
}
.fab-icon  { display: flex; align-items: center; }
.fab-label { font-size: var(--text-sm); font-weight: 600; }

.fab-group {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom) + 72px);
  right: 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: var(--space-3);
  z-index: var(--z-sticky);
}
.fab-group .fab {
  position: static;
}

/* ── Bottom Sheet ── */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  visibility: hidden;
  pointer-events: none;
}
.bottom-sheet.open,
.bottom-sheet.peek {
  visibility: visible;
  pointer-events: all;
}

.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.bottom-sheet.open .bottom-sheet-backdrop { opacity: 1; }

.bottom-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--surface);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  max-height: 92svh;
  overflow-y: auto;
}
.bottom-sheet.open .bottom-sheet-panel { transform: translateY(0); }
.bottom-sheet.peek .bottom-sheet-panel { transform: translateY(calc(100% - 120px)); }

.bottom-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--border-str, var(--border));
  margin: var(--space-3) auto var(--space-2);
}

.bottom-sheet-content {
  padding: var(--space-4) var(--space-5) var(--space-6);
}

/* ── Confirm Sheet ── */
.confirm-sheet .bottom-sheet-panel {
  padding: var(--space-2) var(--space-5) calc(env(safe-area-inset-bottom) + var(--space-5));
}
.confirm-sheet-header { margin-bottom: var(--space-5); }
.confirm-sheet-title  { font-size: var(--text-lg); font-weight: 700; color: var(--text-1); margin-bottom: var(--space-2); }
.confirm-sheet-desc   { font-size: var(--text-sm); color: var(--text-2); }
.confirm-sheet-actions {
  display: flex;
  gap: var(--space-3);
}
.confirm-sheet-actions .btn { flex: 1; }
.confirm-destructive .btn-primary { background: var(--danger); box-shadow: none; }

/* ── Progress Steps ── */
.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  position: relative;
}
.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  right: -50%;
  height: 1px;
  background: var(--border);
}

.progress-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text-3);
  position: relative;
  z-index: 1;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.progress-step.done   .progress-step-dot { background: var(--brand); color: var(--text-on-brand, #fff); }
.progress-step.active .progress-step-dot { background: transparent; border: 2px solid var(--brand); color: var(--brand); }

.progress-step-label {
  font-size: var(--text-xs);
  color: var(--text-3);
  text-align: center;
}
.progress-step.done   .progress-step-label,
.progress-step.active .progress-step-label { color: var(--text-2); }

/* ── Pull Indicator ── */
.pull-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  position: sticky;
  top: -60px;
  transform: translateY(calc(var(--pull-progress, 0) * 60px));
  transition: transform 0.05s linear;
  z-index: var(--z-sticky);
}
.pull-indicator-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  transition: transform var(--dur-fast) var(--ease-out);
}
.pull-indicator[data-ready="true"] .pull-indicator-icon { transform: rotate(180deg); }

/* spinner state */
.pull-indicator.loading .pull-indicator-icon::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.pull-indicator.loading .pull-indicator-icon { font-size: 0; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Offline Banner ── */
.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-toast);
  background: var(--warning-deep);
  color: var(--warning-text);
  padding: var(--space-3) var(--space-5);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.offline-banner.visible { transform: translateY(0); }

/* ── Layout Picker ── */
.layout-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}

.layout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow     var(--dur-fast) var(--ease-out);
}
.layout-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}
.layout-card--active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-brand, var(--shadow-md));
}

.layout-card-preview {
  background: var(--bg);
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.layout-card-preview svg { width: 100%; height: auto; display: block; }

.layout-card-body { padding: var(--space-4); }

.layout-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.layout-card-name { font-weight: 600; font-size: var(--text-sm); }

.layout-card-desc {
  font-size: var(--text-xs);
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: var(--space-4);
}

.layout-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
