/* Tipsy Life — site styles
   Palette from the original site and the owner's Oct 24 brief: charcoal base, deep burgundy,
   rose, muted brass and warm cream. Brass is the one call-to-action color. */
:root {
  --bg: #0e0a0c;
  --bg-2: #160f13;
  --panel: #1f141a;
  --line: #3a2630;
  --text: #f5ede0;
  --muted: #b9aba3;
  --accent: #d4a24e;
  --accent-hi: #f0c875;
  --accent-ink: #1a1208;
  --wine: #7d1f3d;
  --rose: #b83358;
  --link: #f0c875;
  --danger: #ff8a8a;
  --radius: 14px;
  --max: 1120px;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.65;
  padding-bottom: 76px; /* room for the mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #ffe1a3; }
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
h1 em, h2 em { font-style: italic; color: var(--accent-hi); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.eyebrow, .kicker { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 600; color: var(--accent); margin-bottom: .9em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead-sm { font-size: 1.12rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.age-note { margin: 0; text-align: center; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #0a0709; padding: 6px 12px; border-bottom: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 .98rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 10, 12, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; line-height: 1; }
.brand-name small { display: block; font: 500 .62rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.nav-main { display: none; gap: 2px; }
.nav-main a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 999px; font-size: .92rem; white-space: nowrap; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--text); background: var(--panel); }
.header-cta { display: none; white-space: nowrap; }
.menu-btn { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 12px; width: 48px; height: 48px; cursor: pointer; display: grid; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.nav-mobile { display: none; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.nav-mobile.open { display: grid; gap: 4px; }
.nav-mobile a:not(.btn) { color: var(--text); text-decoration: none; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 12px; }
@media (min-width: 900px) { .header-cta { display: inline-flex; margin-left: auto; } }
@media (min-width: 1180px) {
  .nav-main { display: flex; }
  .header-cta { margin-left: 0; }
  .menu-btn, .nav-mobile, .nav-mobile.open { display: none; }
}
@media (max-width: 360px) { .brand-name small { display: none; } }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg-2); border-top: 1px solid var(--line); }
.action-bar .btn { width: 100%; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* Hero */
.hero { padding: 56px 0 64px; background:
  radial-gradient(900px 520px at 88% -10%, rgba(125, 31, 61, .55), transparent 62%),
  radial-gradient(700px 420px at -10% 115%, rgba(212, 162, 78, .14), transparent 60%); }
.hero-sub { padding-bottom: 28px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } .hero { padding: 92px 0; } .hero-sub { padding-bottom: 36px; } }

/* The one motion moment: the light line draws once around the glass, the pour fills,
   and a brass spark lands. Plays once. The glow behind it stays still (playbook: no decorative loops). */
.glow { width: min(300px, 70vw); margin: 0 auto; }
.glow svg { width: 100%; height: auto; overflow: visible; }
.glow .frame, .glow .line { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.glow .frame { animation: draw 2.6s cubic-bezier(.3,.7,.2,1) .2s forwards; }
.glow .line { animation: draw 2.2s cubic-bezier(.3,.7,.2,1) .6s forwards; }
.glow .pour { opacity: 0; transform-origin: 130px 150px; transform: scaleY(.2); animation: pour 1.4s ease-out 2.2s forwards; }
.glow .spark { opacity: 0; animation: spark 1.2s ease-out 2.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pour { to { opacity: 1; transform: scaleY(1); } }
@keyframes spark { 50% { opacity: 1; } to { opacity: .8; } }
@media (prefers-reduced-motion: reduce) {
  .glow .frame, .glow .line { animation: none; stroke-dashoffset: 0; }
  .glow .pour { animation: none; opacity: 1; transform: none; }
  .glow .spark { animation: none; opacity: .8; }
}

/* Layout blocks */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.trio { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio article, .night, .drink { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.trio p:last-child, .night p:last-child, .drink p:last-child { margin: 0; }
.nights { display: grid; gap: 14px; }
@media (min-width: 700px) { .nights { grid-template-columns: 1fr 1fr; } }
.drinks { display: grid; gap: 14px; margin-bottom: 24px; }
@media (min-width: 700px) { .drinks { grid-template-columns: 1fr 1fr; } }
.drink h2 { font-size: 1.7rem; margin-bottom: .2em; }
.note-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; background: rgba(212, 162, 78, .06); }
.note-card svg { width: 28px; height: 28px; flex: none; color: var(--accent); margin-top: 4px; }
.note-card h3 { margin-bottom: .2em; }
.note-card p { margin: 0; }

.paths { display: grid; gap: 12px; }
@media (min-width: 760px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path { display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--text); text-decoration: none; }
.path:hover { border-color: var(--accent); color: var(--text); }
.path strong { display: block; font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; }
.path span { color: var(--muted); font-size: .94rem; }

.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { padding: 22px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(odd) { border-right: 1px solid var(--line); } .facts > div:nth-last-child(-n+2) { border-bottom: 0; } }
.facts h3 { margin-bottom: .25em; }
.facts p { margin: 0; color: var(--muted); }

.band { background: linear-gradient(90deg, rgba(125, 31, 61, .35), var(--bg-2)); }
.band-row { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .band-row { grid-template-columns: 1fr auto; } }

/* Forms */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); font: 1rem var(--font-body);
  color-scheme: dark;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(212, 162, 78, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .9rem; margin-top: 6px; }
.err:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 .95rem var(--font-body); cursor: pointer; }
.choice[aria-pressed="true"] { border-color: var(--accent); background: rgba(212, 162, 78, .16); }
.form-note { margin: 12px 0 0; }
.form-status { padding: 14px 16px; border-radius: 10px; margin-top: 12px; }
.form-status.ok { background: rgba(120, 220, 150, .1); border: 1px solid rgba(120, 220, 150, .5); }
.form-status.bad { background: rgba(255, 120, 120, .1); border: 1px solid rgba(255, 120, 120, .5); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.contact-cards { display: grid; gap: 12px; margin: 8px 0 24px; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-cards { grid-template-columns: repeat(5, 1fr); } }
.contact-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; background: var(--bg-2); }
.contact-card:hover { border-color: var(--accent); color: var(--text); }
.contact-card strong { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.contact-card span { color: var(--muted); word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: #0a0709; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 600 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent-hi); }
.footer-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 48px 20px; }
@media (max-width: 480px) { .hide-sm { display: none; } }

/* Happy hour & specials (owner, Nov 22 2026) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.specials { display: grid; gap: 14px; margin-bottom: 12px; scroll-margin-top: 110px; }
@media (min-width: 760px) { .specials { grid-template-columns: repeat(3, 1fr); } }
.special { border: 1px solid var(--accent); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, rgba(212, 162, 78, .08), var(--bg)); }
.special h3 { font-size: 1.7rem; margin-bottom: .15em; }
.special p:last-child { margin: 0; color: var(--accent-hi); font-weight: 600; }
#specials { scroll-margin-top: 110px; }

/* Signature drinks (owner, Nov 22 2026): color is a cue only */
.signatures { display: grid; gap: 14px; margin: 14px 0 12px; }
@media (min-width: 760px) { .signatures { grid-template-columns: repeat(3, 1fr); } }
.sig { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px 76px; background: var(--panel); min-height: 96px; }
.sig h3 { font-size: 1.45rem; margin: 0 0 .2em; }
.sig p { margin: 0; }
.sig-glass { position: absolute; left: 22px; top: 22px; width: 36px; height: 48px; border: 2px solid var(--accent); border-top: 0; border-radius: 0 0 14px 14px; overflow: hidden; }
.sig-glass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: var(--sig); box-shadow: 0 0 18px var(--sig); opacity: .9; }

/* Tonight at Tipsy Life: the signature experience. Live status from the owner's real hours and specials. No motion. */
.tonight-wrap { padding: 8px 0 8px; }
.tonight { display: grid; gap: 18px; border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 24px; background: linear-gradient(135deg, rgba(125, 31, 61, .28), var(--bg-2) 60%); }
@media (min-width: 900px) { .tonight { grid-template-columns: 1.1fr 1.4fr auto; align-items: center; padding: 28px 32px; } }
.tonight h2 { margin: 0 0 .2em; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.tonight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tonight-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.tonight-list strong { color: var(--accent-hi); font-weight: 600; }
.t-live { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-ink); background: var(--accent-hi); border-radius: 999px; padding: 2px 9px; }
.t-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; background: var(--muted); }
.t-dot.on { background: #6fd08c; box-shadow: 0 0 10px #6fd08c; }
.tonight-cta { justify-self: start; }
/* Privacy page */
.prose h2 { font-size: 1.5rem; margin: 1.4em 0 .3em; }
.prose p { max-width: 62ch; }
.footer-base a { color: inherit; }
/* Phones: smaller glass so the Tonight panel sits closer to the first screen */
@media (max-width: 600px) { .glow { width: 190px; } }

.action-bar .btn { padding-left: 8px; padding-right: 8px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
