/* ==========================================================================
   Vibe UI — shared design system for FresnoVibe, FresnoBartenders, Tend Your Bar
   Source of truth: _shared/ui/vibe.css  (copied into each site by tools/sync-ui.sh)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --v-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --v-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --v-font-serif: "New York", "Iowan Old Style", "Playfair Display", Georgia, serif;

  --v-bg: #07070a;
  --v-bg-2: #0d0d12;
  --v-surface: rgba(255, 255, 255, .055);
  --v-surface-2: rgba(255, 255, 255, .085);
  --v-surface-solid: #131318;
  --v-line: rgba(255, 255, 255, .10);
  --v-line-strong: rgba(255, 255, 255, .18);
  --v-text: #f5f5f7;
  --v-text-2: rgba(245, 245, 247, .72);
  --v-text-3: rgba(245, 245, 247, .50);
  --v-glass: rgba(18, 18, 24, .62);
  --v-glass-strong: rgba(14, 14, 20, .86);

  --v-accent: #5ee7ff;
  --v-accent-2: #8b5cf6;
  --v-on-accent: #04040a;
  --v-accent-soft: color-mix(in srgb, var(--v-accent) 16%, transparent);
  --v-grad: linear-gradient(135deg, var(--v-accent), var(--v-accent-2));

  --v-ok: #34d399;
  --v-warn: #fbbf24;
  --v-bad: #f87171;

  --v-r-xs: 10px;
  --v-r-sm: 14px;
  --v-r: 22px;
  --v-r-lg: 30px;
  --v-r-pill: 999px;

  --v-shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --v-shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 64px rgba(0, 0, 0, .45);

  --v-ease: cubic-bezier(.2, .8, .2, 1);
  --v-ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --v-dur: .28s;

  --v-max: 1240px;
  --v-gutter: clamp(16px, 4vw, 40px);
  --v-header-h: 60px;
  --v-safe-b: env(safe-area-inset-bottom, 0px);
  --v-safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

/* Site skins */
[data-site="vibe"] {
  --v-accent: #5ee7ff;
  --v-accent-2: #a78bfa;
  --v-bg: #05050b;
  --v-bg-2: #0a0a14;
}
[data-site="bartenders"] {
  --v-accent: #f5b544;
  --v-accent-2: #f07a2a;
  --v-bg: #0a0705;
  --v-bg-2: #120d09;
  --v-surface-solid: #18120d;
}
[data-site="tyb"] {
  --v-accent: #e3c27a;
  --v-accent-2: #b98a3e;
  --v-bg: #070707;
  --v-bg-2: #0e0e0d;
  --v-surface-solid: #151513;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body.v-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--v-bg);
  color: var(--v-text);
  font: 400 17px/1.55 var(--v-font);
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.v-body img, .v-body video, .v-body canvas, .v-body svg { max-width: 100%; }
:where(.v-body) a { color: inherit; }
.v-body :focus-visible { outline: 2px solid var(--v-accent); outline-offset: 3px; border-radius: 6px; }
.v-body ::selection { background: var(--v-accent); color: var(--v-on-accent); }
.v-body.v-locked { overflow: hidden; }

.v-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.v-skip {
  position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--v-accent); color: var(--v-on-accent); border-radius: var(--v-r-pill);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.v-skip:focus { top: calc(12px + var(--v-safe-t)); }

/* Ambient backdrop used by content pages: slow-drifting liquid gradient field */
.v-ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, var(--v-bg-2), var(--v-bg) 70%);
}
.v-ambient::before, .v-ambient::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: .55; will-change: transform;
}
.v-ambient::before {
  left: -25vmax; top: -35vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--v-accent) 55%, transparent), transparent 65%);
  animation: v-drift-a 26s ease-in-out infinite alternate;
}
.v-ambient::after {
  right: -30vmax; top: -20vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--v-accent-2) 55%, transparent), transparent 65%);
  animation: v-drift-b 32s ease-in-out infinite alternate;
}
/* Photo behind a page's header: <div class="v-photo" data-slot="tyb-about-hero" style="--photo:url(…)"></div>
   placed right inside <body>. --photo is the built-in image; Studio → Site images can replace it (sets --slot-img).
   With neither, the layer stays hidden. Text sits on the left, so the shade is heaviest there. */
.v-photo {
  position: absolute; top: 0; left: 0; right: 0; height: var(--photo-h, min(78vh, 760px)); z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent);
}
.v-photo:not([style*="url("]) { display: none; }
.v-photo::before {
  content: ""; position: absolute; inset: 0; opacity: var(--photo-o, .62);
  background: var(--slot-img, var(--photo)) var(--slot-pos, var(--photo-pos, center 40%)) / cover no-repeat, var(--photo-fallback, none) center / cover no-repeat;
  transform: scale(1.04); animation: v-photo-drift 36s ease-in-out infinite alternate;
}
.v-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--v-bg) 90%, transparent) 0%, color-mix(in srgb, var(--v-bg) 55%, transparent) 55%, color-mix(in srgb, var(--v-bg) 30%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--v-bg) 60%, transparent), transparent 35%);
}
@keyframes v-photo-drift { to { transform: scale(1.1) translate3d(-1%, -1%, 0); } }
@media (max-width: 720px) {
  .v-photo { height: var(--photo-h-sm, min(70vh, 560px)); }
  .v-photo::after { background: linear-gradient(180deg, color-mix(in srgb, var(--v-bg) 70%, transparent), color-mix(in srgb, var(--v-bg) 55%, transparent) 50%, color-mix(in srgb, var(--v-bg) 80%, transparent)); }
}
@media (prefers-reduced-motion: reduce) { .v-photo::before { animation: none; } }

@keyframes v-drift-a { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes v-drift-b { to { transform: translate(-16vw, 30vh) scale(.9); } }
.v-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Liquid glass ----------
   Frosted, saturated backdrop + specular rim (gradient hairline) + inner top highlight. */
.v-glass, .v-card, .v-tile, .v-sheet, .v-apps__panel {
  --_rim: linear-gradient(155deg, rgba(255,255,255,.42), rgba(255,255,255,.08) 32%, rgba(255,255,255,.03) 58%, rgba(255,255,255,.22));
}
.v-glass {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035) 55%, rgba(255,255,255,.06));
  backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(0,0,0,.25), 0 18px 50px rgba(0,0,0,.35);
  border: 0;
}
.v-glass::before, .v-card::before, .v-tile::before, .v-sheet::before, .v-apps__panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: var(--_rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Layout ---------- */
.v-container { width: min(var(--v-max), 100% - 2 * var(--v-gutter)); margin-inline: auto; }
.v-main { padding-top: calc(var(--v-header-h) + var(--v-safe-t)); }
.v-section { padding-block: clamp(48px, 8vw, 112px); }
.v-section--tight { padding-block: clamp(28px, 5vw, 56px); }
.v-stack > * + * { margin-top: var(--v-stack, 16px); }
.v-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.v-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(var(--v-min, 260px), 1fr)); }
.v-split > * { min-width: 0; }
.v-split { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .v-split { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.v-eyebrow {
  font: 600 13px/1.2 var(--v-font); letter-spacing: .08em; text-transform: uppercase;
  color: var(--v-accent); margin: 0 0 12px;
}
.v-display {
  font: 700 clamp(44px, 8vw, 96px)/1.0 var(--v-font-display); letter-spacing: -.035em; margin: 0;
  text-wrap: balance;
}
.v-h1 { font: 700 clamp(34px, 5.4vw, 64px)/1.04 var(--v-font-display); letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.v-h2 { font: 700 clamp(26px, 3.4vw, 40px)/1.1 var(--v-font-display); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.v-h3 { font: 600 clamp(19px, 2vw, 22px)/1.25 var(--v-font-display); letter-spacing: -.015em; margin: 0; }
.v-lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--v-text-2); margin: 0; max-width: 62ch; text-wrap: pretty; }
.v-muted { color: var(--v-text-2); }
.v-faint { color: var(--v-text-3); }
.v-gradient-text { background: var(--v-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-small { font-size: 14px; }

/* ---------- Buttons ---------- */
.v-btn {
  --_bg: var(--v-surface-2);
  --_fg: var(--v-text);
  --_bd: var(--v-line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--v-r-pill);
  border: 1px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  font: 600 15px/1 var(--v-font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--v-ease), background var(--v-dur), border-color var(--v-dur), box-shadow var(--v-dur), opacity var(--v-dur);
}
.v-btn:hover { --_bg: rgba(255, 255, 255, .13); --_bd: var(--v-line-strong); }
.v-btn:active { transform: scale(.97); }
.v-btn[disabled], .v-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.v-btn--primary { --_bg: var(--v-accent); --_fg: var(--v-on-accent); --_bd: transparent; background-image: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 20px color-mix(in srgb, var(--v-accent) 25%, transparent); }
.v-btn--primary:hover { --_bg: color-mix(in srgb, var(--v-accent) 86%, white); --_bd: transparent; box-shadow: 0 8px 30px color-mix(in srgb, var(--v-accent) 35%, transparent); }
.v-btn--grad { --_bg: var(--v-grad); --_fg: var(--v-on-accent); --_bd: transparent; background: var(--v-grad); }
.v-btn--grad:hover { --_bd: transparent; background: var(--v-grad); box-shadow: 0 8px 30px color-mix(in srgb, var(--v-accent) 35%, transparent); }
.v-btn--ghost { --_bg: transparent; }
.v-btn--glass { --_bg: rgba(20,20,28,.42); --_bd: rgba(255,255,255,.16); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.v-btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.v-btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.v-btn--icon { width: 44px; padding: 0; }
.v-btn--icon.v-btn--sm { width: 36px; }
.v-btn svg { width: 18px; height: 18px; flex: none; }
.v-link { color: var(--v-accent); text-decoration: none; font-weight: 600; }
.v-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Chips ---------- */
.v-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.v-chips::-webkit-scrollbar { display: none; }
.v-chips--wrap { flex-wrap: wrap; overflow: visible; }
.v-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border-radius: var(--v-r-pill); border: 1px solid var(--v-line); background: var(--v-surface);
  color: var(--v-text-2); font: 500 14px/1 var(--v-font); cursor: pointer; scroll-snap-align: start;
  transition: background var(--v-dur), color var(--v-dur), border-color var(--v-dur);
  -webkit-tap-highlight-color: transparent;
}
.v-chip:hover { color: var(--v-text); border-color: var(--v-line-strong); }
.v-chip[aria-pressed="true"], .v-chip.is-active { background: var(--v-text); color: var(--v-bg); border-color: transparent; }
.v-chip svg { width: 14px; height: 14px; }
.v-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--v-r-pill);
  font: 600 12px/1 var(--v-font); letter-spacing: .01em;
  background: rgba(0, 0, 0, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.v-tag--accent { background: var(--v-accent-soft); color: var(--v-accent); border-color: color-mix(in srgb, var(--v-accent) 30%, transparent); }
.v-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Cards ---------- */
.v-card {
  position: relative; border-radius: var(--v-r); padding: clamp(20px, 2.6vw, 30px);
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025) 60%, rgba(255,255,255,.045));
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 18px 50px rgba(0,0,0,.28);
}
.v-card--solid { background: var(--v-surface-solid); }

/* ---------- Tiles (bento) ---------- */
.v-bento { display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); }
.v-bento > * { grid-column: span 2; }
.v-bento > .v-span-3 { grid-column: span 3; }
.v-bento > .v-span-4 { grid-column: span 4; }
.v-bento > .v-span-6 { grid-column: span 6; }
.v-bento > .v-tall { grid-row: span 2; }
@media (max-width: 900px) { .v-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-bento > *, .v-bento > .v-span-3 { grid-column: span 1; } .v-bento > .v-span-4, .v-bento > .v-span-6 { grid-column: span 2; } }
@media (max-width: 560px) { .v-bento > *, .v-bento > .v-span-3, .v-bento > .v-span-4 { grid-column: span 2; } .v-bento > .v-tall { grid-row: auto; } }
.v-tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--v-r-lg); text-decoration: none; color: var(--v-text);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025) 55%, rgba(255,255,255,.05));
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 20px 60px rgba(0,0,0,.32);
  transition: transform .5s var(--v-ease), box-shadow .5s var(--v-ease);
}
.v-tile::after {
  content: ""; position: absolute; z-index: -1; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--_tint, var(--v-accent)) 40%, transparent), transparent 70%);
  filter: blur(30px); opacity: .7; transition: opacity .5s, transform .8s var(--v-ease);
}
a.v-tile:hover, button.v-tile:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 30px 80px rgba(0,0,0,.45); }
a.v-tile:hover::after { opacity: 1; transform: scale(1.15); }
.v-tile__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--_tint, var(--v-accent)) 90%, white), color-mix(in srgb, var(--_tint, var(--v-accent)) 60%, black));
  color: #08080c; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px color-mix(in srgb, var(--_tint, var(--v-accent)) 35%, transparent);
}
.v-tile__icon svg { width: 22px; height: 22px; }
.v-tile__title { margin: 0; font: 650 clamp(19px, 1.8vw, 22px)/1.2 var(--v-font-display); letter-spacing: -.02em; }
.v-tile__text { margin: 0; color: var(--v-text-2); font-size: 15px; line-height: 1.5; }
.v-tile__big { font: 700 clamp(36px, 4vw, 52px)/1 var(--v-font-display); letter-spacing: -.04em; margin: auto 0 0; }
.v-tile__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; color: var(--v-accent); font-weight: 600; font-size: 15px; }
.v-tile__foot svg { width: 16px; height: 16px; transition: transform .3s var(--v-ease); }
a.v-tile:hover .v-tile__foot svg { transform: translateX(4px); }

/* ---------- 3D orbs (CSS) ----------
   <span class="v-orb" style="--img:url(...)"></span>  — a glossy sphere with specular light. */
.v-orb {
  --size: 120px;
  position: relative; display: inline-block; flex: none; width: var(--size); height: var(--size); border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.75), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 70% 78%, rgba(0,0,0,0), rgba(0,0,0,.55) 75%),
    var(--img, var(--v-grad)) center / cover no-repeat;
  box-shadow:
    inset -12px -16px 32px rgba(0,0,0,.55),
    inset 10px 12px 26px rgba(255,255,255,.22),
    0 0 0 1px rgba(255,255,255,.12),
    0 24px 50px -10px rgba(0,0,0,.6),
    0 0 60px -10px color-mix(in srgb, var(--_tint, var(--v-accent)) 55%, transparent);
}
.v-orb::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -18%; height: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(4px);
}
.v-orb--float { animation: v-float 6s ease-in-out infinite; }
.v-orb--float:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.v-orb--float:nth-child(3n) { animation-duration: 8.5s; animation-delay: -4s; }
@keyframes v-float { 50% { transform: translateY(-10px); } }
.v-orb-stack { display: flex; }
.v-orb-stack .v-orb { --size: 40px; margin-left: -10px; }
.v-orb-stack .v-orb:first-child { margin-left: 0; }
.v-card h2, .v-card h3 { margin-top: 0; }

.v-media-card {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--v-r); background: var(--v-surface-solid); text-decoration: none; color: #fff;
  aspect-ratio: var(--v-ratio, 4 / 5);
  box-shadow: var(--v-shadow-1);
  transition: transform .45s var(--v-ease), box-shadow .45s var(--v-ease);
}
.v-media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--v-ease), opacity .5s; }
.v-media-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 45%, rgba(0,0,0,.82));
}
.v-media-card__top { position: absolute; z-index: 2; inset: 14px 14px auto 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.v-media-card__body { position: absolute; z-index: 2; inset: auto 18px 16px 18px; }
.v-media-card__title { font: 650 21px/1.15 var(--v-font-display); letter-spacing: -.02em; margin: 0; }
.v-media-card__meta { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.78); }
@media (hover: hover) {
  .v-media-card:hover { transform: translateY(-4px); box-shadow: var(--v-shadow-2); }
  .v-media-card:hover img { transform: scale(1.06); }
}

/* Skeleton shimmer */
.v-skeleton { position: relative; overflow: hidden; background: var(--v-surface); border-radius: var(--v-r); }
.v-skeleton::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  animation: v-shimmer 1.4s infinite;
}
@keyframes v-shimmer { to { transform: translateX(100%); } }

/* ---------- Forms ---------- */
.v-field { display: grid; gap: 6px; }
.v-label { font: 500 14px/1.2 var(--v-font); color: var(--v-text-2); }
.v-input, .v-select, .v-textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--v-r-sm);
  border: 1px solid var(--v-line); background: rgba(255, 255, 255, .04); color: var(--v-text);
  font: 400 16px/1.3 var(--v-font); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color var(--v-dur), background var(--v-dur), box-shadow var(--v-dur);
}
.v-textarea { min-height: 120px; resize: vertical; }
.v-select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23aaa' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.v-select option { background: #15151a; color: #fff; }
.v-input:focus, .v-select:focus, .v-textarea:focus { border-color: var(--v-accent); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px var(--v-accent-soft); }
.v-input::placeholder, .v-textarea::placeholder { color: var(--v-text-3); }
.v-search { position: relative; }
.v-search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--v-text-3); pointer-events: none; }
.v-search .v-input { padding-left: 44px; border-radius: var(--v-r-pill); }

/* ---------- Header / nav (retractable) ---------- */
.v-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  padding-top: var(--v-safe-t);
  transition: transform .45s var(--v-ease), background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.v-header.is-scrolled, .v-header.is-solid {
  background: var(--v-glass);
  backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom-color: var(--v-line);
}
.v-header.is-hidden { transform: translateY(-100%); }
/* Keep header controls legible over bright hero images before the frosted bar kicks in */
.v-header:not(.is-scrolled):not(.is-solid) { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0)); }
.v-header__bar { height: var(--v-header-h); display: flex; align-items: center; gap: 12px; }
.v-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 17px/1 var(--v-font-display); letter-spacing: -.02em; flex: none; }
.v-brand img { width: 32px; height: 32px; object-fit: contain; border-radius: 9px; }
.v-brand__mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--v-grad); color: var(--v-on-accent); font: 800 13px/1 var(--v-font-display); letter-spacing: -.02em;
}
.v-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.v-nav a {
  position: relative; padding: 8px 12px; border-radius: var(--v-r-pill); text-decoration: none;
  font: 500 14px/1 var(--v-font); color: var(--v-text-2); transition: color .2s, background .2s;
}
.v-nav a:hover { color: var(--v-text); background: var(--v-surface); }
.v-nav a[aria-current="page"] { color: var(--v-text); }
.v-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--v-accent);
}
.v-header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.v-nav + .v-header__actions { margin-left: 8px; }
.v-header__actions:first-child { margin-left: auto; }
.v-menu-btn { display: none; }
.v-menu-btn .v-burger { position: relative; width: 18px; height: 12px; }
.v-menu-btn .v-burger span {
  position: absolute; left: 0; right: 0; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--v-ease), top .35s var(--v-ease), opacity .2s;
}
.v-menu-btn .v-burger span:nth-child(1) { top: 2px; }
.v-menu-btn .v-burger span:nth-child(2) { top: 8.5px; }
.v-menu-btn[aria-expanded="true"] .v-burger span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.v-menu-btn[aria-expanded="true"] .v-burger span:nth-child(2) { top: 5.25px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .v-nav { display: none; }
  .v-menu-btn { display: inline-flex; }
  .v-header__actions, .v-nav + .v-header__actions { margin-left: auto; }
  .v-header__cta-desktop { display: none; }
}

/* Mobile drawer */
.v-drawer {
  position: fixed; z-index: 99; inset: 0; padding: calc(var(--v-header-h) + var(--v-safe-t) + 12px) var(--v-gutter) calc(24px + var(--v-safe-b));
  background: var(--v-glass-strong);
  backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--v-ease), visibility 0s linear .3s;
}
.v-drawer.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--v-ease); }
.v-drawer a.v-drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--v-line);
  font: 650 clamp(26px, 7vw, 34px)/1.1 var(--v-font-display); letter-spacing: -.025em; color: var(--v-text);
  opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--v-ease), transform .4s var(--v-ease), color .2s;
}
.v-drawer a.v-drawer__link[aria-current="page"] { color: var(--v-accent); }
.v-drawer a.v-drawer__link svg { width: 20px; height: 20px; color: var(--v-text-3); }
.v-drawer.is-open a.v-drawer__link { opacity: 1; transform: none; }
.v-drawer.is-open a.v-drawer__link:nth-child(2) { transition-delay: .03s; }
.v-drawer.is-open a.v-drawer__link:nth-child(3) { transition-delay: .06s; }
.v-drawer.is-open a.v-drawer__link:nth-child(4) { transition-delay: .09s; }
.v-drawer.is-open a.v-drawer__link:nth-child(5) { transition-delay: .12s; }
.v-drawer.is-open a.v-drawer__link:nth-child(6) { transition-delay: .15s; }
.v-drawer.is-open a.v-drawer__link:nth-child(7) { transition-delay: .18s; }
.v-drawer.is-open a.v-drawer__link:nth-child(8) { transition-delay: .21s; }
.v-drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.v-drawer__foot .v-btn { width: 100%; }
.v-drawer__apps .v-apps__title { padding: 0 0 12px; }
.v-drawer__apps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-drawer__apps-row a {
  display: grid; justify-items: center; gap: 8px; padding: 14px 6px; border-radius: var(--v-r);
  text-decoration: none; font: 500 13px/1.2 var(--v-font); color: var(--v-text-2); text-align: center;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--v-line);
}
.v-drawer__apps-row a[aria-current="true"] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--v-accent) 50%, transparent); color: var(--v-text); }
@media (min-width: 961px) { .v-drawer { display: none; } }

/* App switcher (the Fresno set) */
.v-apps { position: relative; }
.v-apps__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px; padding: 10px;
  border-radius: var(--v-r); background: linear-gradient(160deg, rgba(34,34,46,.8), rgba(14,14,20,.9)); border: 0;
  backdrop-filter: blur(36px) saturate(1.8); -webkit-backdrop-filter: blur(36px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--v-shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .22s var(--v-ease), transform .22s var(--v-ease), visibility 0s linear .22s;
}
.v-apps.is-open .v-apps__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--v-ease), transform .3s var(--v-ease-spring); }
.v-apps__title { font: 600 12px/1 var(--v-font); text-transform: uppercase; letter-spacing: .08em; color: var(--v-text-3); padding: 8px 10px 10px; }
.v-apps__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--v-r-sm); text-decoration: none; transition: background .2s; }
.v-apps__item:hover { background: var(--v-surface-2); }
.v-apps__item[aria-current="true"] { background: var(--v-surface); }
.v-apps__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; font: 800 14px/1 var(--v-font-display); color: #050505; }
.v-apps__icon--vibe { background: linear-gradient(135deg, #5ee7ff, #a78bfa); }
.v-apps__icon--bartenders { background: linear-gradient(135deg, #f5b544, #f07a2a); }
.v-apps__icon--tyb { background: linear-gradient(135deg, #f3dca0, #b98a3e); }
.v-apps__name { display: block; font: 600 15px/1.2 var(--v-font); color: var(--v-text); }
.v-apps__desc { display: block; font-size: 13px; color: var(--v-text-3); margin-top: 2px; }
@media (max-width: 960px) {
  .v-apps__panel { position: fixed; left: 12px; right: 12px; width: auto; top: calc(var(--v-header-h) + var(--v-safe-t) + 6px); }
}

/* ---------- Sheet (bottom sheet on phones, side panel on desktop) ---------- */
.v-sheet-backdrop {
  position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--v-ease), visibility 0s linear .3s;
}
.v-sheet-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--v-ease); }
.v-sheet {
  position: fixed; z-index: 150; right: 16px; top: calc(16px + var(--v-safe-t)); bottom: 16px; width: min(400px, calc(100vw - 32px));
  display: flex; flex-direction: column;
  border-radius: var(--v-r-lg); background: linear-gradient(160deg, rgba(30,30,40,.78), rgba(14,14,20,.88)); border: 0;
  backdrop-filter: blur(36px) saturate(1.8); -webkit-backdrop-filter: blur(36px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--v-shadow-2);
  transform: translateX(calc(100% + 32px)); visibility: hidden;
  transition: transform .5s var(--v-ease), visibility 0s linear .5s;
}
.v-sheet.is-open { transform: none; visibility: visible; transition: transform .5s var(--v-ease); }
.v-sheet__grab { display: none; }
.v-sheet__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 10px 22px; }
.v-sheet__title { font: 650 20px/1.2 var(--v-font-display); letter-spacing: -.02em; margin: 0; flex: 1; }
.v-sheet__body { padding: 8px 22px 22px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.v-sheet__foot { padding: 14px 22px calc(18px + var(--v-safe-b)); border-top: 1px solid var(--v-line); display: flex; gap: 10px; }
.v-sheet__foot .v-btn { flex: 1; }
@media (max-width: 720px) {
  .v-sheet {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 86dvh;
    border-radius: var(--v-r-lg) var(--v-r-lg) 0 0; border-bottom: 0;
    transform: translateY(100%);
  }
  .v-sheet.is-dragging { transition: none; }
  .v-sheet__grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--v-line-strong); margin: 10px auto 0; flex: none; }
  .v-sheet__head { padding-top: 10px; }
}

/* ---------- Footer ---------- */
.v-footer { border-top: 1px solid var(--v-line); padding: 40px 0 calc(40px + var(--v-safe-b)); color: var(--v-text-3); font-size: 14px; }
.v-footer__grid { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.v-footer__grid > * { flex: 1 1 150px; }
.v-footer__grid > :first-child { flex: 2 1 260px; }
.v-footer h4 { margin: 0 0 12px; font: 600 13px/1 var(--v-font); color: var(--v-text-2); letter-spacing: .02em; }
.v-footer a { display: block; padding: 5px 0; text-decoration: none; color: var(--v-text-3); }
.v-footer a:hover { color: var(--v-text); }
.v-footer__base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--v-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
@media (max-width: 720px) { .v-footer__grid > * { flex-basis: calc(50% - 20px); } .v-footer__grid > :first-child { flex-basis: 100%; } }

/* ---------- Toast ---------- */
.v-toast {
  position: fixed; z-index: 300; left: 50%; bottom: calc(24px + var(--v-safe-b)); translate: -50% 20px;
  padding: 12px 18px; border-radius: var(--v-r-pill); background: var(--v-glass-strong); border: 1px solid var(--v-line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--v-shadow-2);
  font: 500 15px/1.3 var(--v-font); opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--v-ease);
  max-width: calc(100vw - 32px);
}
.v-toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Reveal on scroll (content stays visible without JS) ---------- */
.v-js .v-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--v-ease), transform .8s var(--v-ease); }
.v-js .v-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .v-js .v-reveal { opacity: 1; transform: none; }
}

/* Touch screens (kept last so it wins over the base sizes): every control gets a 44px tap target (mouse users keep the compact 36px look). Text links grow their
   hit area with padding that negative margins cancel, so layout doesn't move. */
@media (pointer: coarse) {
  .v-btn--sm, .v-chip { min-height: 44px; }
  .v-btn--icon.v-btn--sm { width: 44px; }
  a.v-link { padding-block: 11px; margin-block: -11px; }
}
