/* Burnside Coffee Bar — styles
   Palette pulled from the Burnside logo: warm black, gunmetal greys, logo gold.
   Layout: one cold "instrument panel" hero (the 34° readout), ordering steps,
   drinks, house rules, SNOBscription, visit. Single dark theme by design. */

:root {
  --void: #0b0a08;
  --hull: #13120f;
  --panel: #1b1a16;
  --line: #2f2c24;
  --fg: #f2eee0;
  --dim: #a39c86;
  --faint: #6e6856;
  --gold: #f2cc3c;
  --amber: #f0b43c;
  --glow: linear-gradient(100deg, var(--gold), var(--amber));

  --f-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --f-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  background: var(--void);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; letter-spacing: .02em; margin: 0; }
.label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: .95em 1.4em;
  border: 1px solid var(--line); color: var(--fg); background: transparent;
  transition: border-color .2s, background .2s, color .2s;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn.prime { background: var(--gold); color: var(--void); border-color: var(--gold); }
.btn.prime:hover { background: var(--fg); border-color: var(--fg); color: var(--void); }
.btn.is-disabled, .btn.is-disabled:hover { color: var(--faint); border-color: var(--line); background: var(--hull); cursor: not-allowed; }
.foot .is-disabled { color: var(--faint); opacity: .55; cursor: not-allowed; }

/* notice bar */
.notice { border-bottom: 1px solid var(--line); background: var(--hull); }
.notice .wrap {
  display: flex; flex-wrap: wrap; gap: .4em 1em; align-items: center; justify-content: center;
  padding-block: .55rem; font-family: var(--f-mono); font-size: .74rem; color: var(--dim); text-align: center;
}
.notice b { color: var(--gold); font-weight: 500; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 8, .84);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.mark img { width: 190px; }
nav.links { display: flex; gap: 1.6rem; }
nav.links a { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--dim); }
nav.links a:hover { color: var(--fg); }
@media (max-width: 860px) {
  nav.links { display: none; }
  .mark img { width: 150px; }
  header.top .btn { padding: .8em 1em; }
}

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.12; text-transform: lowercase; margin-top: 1.2rem; }
.hero h1 em { font-style: normal; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 46ch; color: var(--dim); font-size: 1.08rem; margin: 1.6rem 0 2rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.gauge { position: relative; aspect-ratio: 1; max-width: 400px; width: 100%; justify-self: center; }
.gauge svg { width: 100%; height: 100%; display: block; }
.gauge .read { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.gauge .bolt { width: 22px; margin-bottom: .6rem; opacity: .9; }
.gauge .deg { font-family: var(--f-display); font-size: clamp(4rem, 10vw, 6.6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gauge .deg sup { font-size: .35em; vertical-align: top; color: var(--gold); margin-left: .05em; }
.gauge .sub { margin-top: .9rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .gauge { max-width: 300px; order: -1; }
}

/* sections */
section.band { padding-block: clamp(4rem, 9vw, 7rem); border-bottom: 1px solid var(--line); }
section.band:last-of-type { border-bottom: 0; }

/* ordering steps — the order is the point, so they're numbered and joined by bolt arrows */
:root { --bolt-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 30'%3E%3Cg fill='none' stroke='%23fff000' stroke-width='1.6' stroke-linejoin='miter' vector-effect='non-scaling-stroke'%3E%3Cpath d='M1 9 L40 13.5 L36 5 L79 16 L44 26 L40 17.5 Z' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M70 9 L79 16 L70 23' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E"); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.steps li { position: relative; padding: 1.6rem 1.9rem 1.8rem; border-right: 1px solid var(--line); min-width: 0; }
.steps li:first-child { padding-left: 1.4rem; }
.steps li:last-child { border-right: 0; padding-right: 1.4rem; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1;
  right: 0; top: 2.2rem; width: 52px; height: 22px;
  transform: translate(50%, -50%);
  background: var(--void) var(--bolt-arrow) center / contain no-repeat;
}
.steps .n { font-family: var(--f-mono); font-size: .75rem; color: var(--gold); letter-spacing: .14em; }
.steps h3 { font-size: .95rem; margin: 1.1rem 0 .6rem; text-transform: lowercase; line-height: 1.3; }
.steps p { margin: 0; color: var(--dim); font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child, .steps li:last-child { border-right: 0; padding: 1.6rem 1.4rem 1.9rem; }
  .steps li:not(:last-child) { border-bottom: 1px solid var(--line); }
  .steps li:not(:last-child)::after { right: auto; top: auto; left: 50%; bottom: 0; transform: translate(-50%, 50%) rotate(90deg); }
}

/* drinks */
.drinks { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.art { position: relative; border: 1px solid var(--line); background: #000; overflow: hidden; }
.art img { width: 100%; aspect-ratio: 466 / 900; object-fit: cover; }
.art figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.col { min-width: 0; }
.col h3 {
  font-size: .9rem; text-transform: lowercase; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem;
}
.col h3 .label { font-size: .66rem; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1.2rem; padding-block: .9rem; border-bottom: 1px dashed var(--line); }
.item:last-child { border-bottom: 0; }
.item b { font-weight: 600; font-size: 1.05rem; }
.item .p { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.item small { grid-column: 1 / -1; color: var(--dim); font-size: .92rem; line-height: 1.5; }
.col h3.sub-head { margin-top: 2.8rem; }
.price-note { margin-top: 1.4rem; color: var(--faint); font-size: .85rem; font-family: var(--f-mono); }
@media (max-width: 960px) {
  .drinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art { grid-column: 1 / -1; }
  .art img { aspect-ratio: 16 / 7; object-position: center 40%; }
  .art figcaption { display: none; }
}
@media (max-width: 640px) { .drinks { grid-template-columns: 1fr; } }

/* house rules */
.rules { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.rules p { color: var(--dim); max-width: 60ch; }
.rules p.big { font-family: var(--f-display); font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--fg); text-transform: lowercase; margin-top: 1.2rem; }
.nope { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); }
.nope li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.nope li:last-child { border-bottom: 0; }
.nope li span:last-child { color: var(--faint); }
.nope li.yes span:last-child { color: var(--gold); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }

/* SNOBscription */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tier { background: var(--hull); padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.tier h3 { font-size: .95rem; text-transform: lowercase; }
.tier .amt { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.tier .amt small { font-family: var(--f-mono); font-size: .75rem; color: var(--dim); letter-spacing: .08em; margin-left: .3em; }
.tier p { margin: 0; color: var(--dim); font-size: .95rem; }
.tier.full { background: var(--panel); position: relative; }
.tier.full::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--glow); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 3rem; margin: 2.5rem 0 0; list-style: none; padding: 0; }
.perks li { padding: .75rem 0 .75rem 1.7rem; border-bottom: 1px dashed var(--line); position: relative; }
.perks li::before {
  content: ""; position: absolute; left: 0; top: .95em; width: .7rem; height: 1.15rem;
  background: url("/assets/images/brand/bolt.png") center / contain no-repeat;
}
.snob-note { margin-top: 1.6rem; color: var(--dim); font-size: .92rem; }
@media (max-width: 860px) { .tiers, .perks { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.visit > div { min-width: 0; }
.visit .label { display: block; margin-bottom: .8rem; }
.visit p { margin: 0 0 .35rem; }
.visit .val { font-size: 1.1rem; overflow-wrap: anywhere; }
.visit a.val { text-decoration: none; border-bottom: 1px solid var(--line); }
.visit a.val:hover { border-color: var(--gold); }
.visit .dir { color: var(--gold); }
.hours { font-family: var(--f-mono); font-size: .92rem; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.visit .cta { margin-top: 1rem; grid-column: 1 / -1; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* footer */
footer.foot { border-top: 1px solid var(--line); padding-block: 2.5rem; }
footer.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
footer.foot img { width: 14px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--fg); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.2rem; padding-block: 5rem; }
.lost img { width: 40px; }
.lost h1 { font-size: clamp(1.8rem, 5vw, 3rem); text-transform: lowercase; }
.lost p { color: var(--dim); margin: 0 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
