/* =========================================================
   Zemer Coffee — site styles
   Colours and fonts are set once here; change them in :root.
   ========================================================= */

:root {
  --bg: #070606;
  --bg-raised: #0B0908;
  --bg-band: #0C0A09;
  --text: #EFE8DF;
  --text-strong: #F3EDE2;
  --text-soft: #BFB3A7;
  --text-body: #B3A79C;
  --text-muted: #A89C90;
  --text-faint: #8F847A;
  --nav-link: #BDB1A5;
  --gold: #E6C48E;
  --gold-line: #C9A96E;
  --copper: #B87333;
  --copper-light: #E6B58A;
  --open-green: #7FB77E;
  --rule: rgba(184, 115, 51, 0.16);
  --rule-gold: rgba(201, 169, 110, 0.2);

  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-body: 'Jost', 'Futura', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Font used for every price on the site. Change this one line to try another. */
  --font-price: 'Jost', 'Futura', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 32px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: var(--copper-light); }
a:hover { color: #F4D2B0; }
::selection { background: var(--copper); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--bg); padding: 12px 18px;
  font-size: 13px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: 1100px; margin: 0 auto; }
.section { padding: 112px var(--gutter); border-top: 1px solid var(--rule); }
.stack-center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.45em; text-transform: uppercase; color: var(--copper); }
.label { font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }
.label-strong { font-size: 11px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase; color: var(--text-faint); }
.display-xl {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.8vw, 66px); line-height: 1.08; letter-spacing: -0.015em;
  color: var(--text);
}
.accent { font-style: italic; color: var(--copper-light); }
.accent-gold { font-style: italic; color: var(--gold); }
.body-copy { max-width: 640px; font-size: 17px; line-height: 2; color: var(--text-body); }
.rule-short { display: block; width: 40px; height: 1px; background: rgba(201, 169, 110, 0.6); }
.rule-tiny { display: block; width: 24px; height: 1px; background: rgba(201, 169, 110, 0.5); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  border: 1px solid var(--gold-line); color: var(--gold); background: transparent;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; padding: 18px 32px;
  transition: background .35s, color .35s;
}
.btn:hover { background: var(--copper); color: var(--bg); }
.btn--small { padding: 14px 24px; letter-spacing: 0.28em; color: var(--copper-light); border-color: rgba(184, 115, 51, 0.6); }
.text-link { transition: color .3s; text-decoration: none; }
.text-link:hover { color: var(--copper-light) !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 6, 6, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 115, 51, 0.18);
}
.nav {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 16px;
}
.nav__links { display: flex; gap: 28px; flex-wrap: wrap; }
.nav__link {
  text-decoration: none; color: var(--nav-link); font-size: 12px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; padding: 14px 0; transition: color .3s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--copper-light); }
.nav__logo { justify-self: center; display: flex; align-items: center; }
.nav__logo img { height: 58px; width: auto; display: block; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 14px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  border: 1px solid rgba(201, 169, 110, 0.35); border-radius: 999px; text-decoration: none;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: #E6DCCF; white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); flex: none; }
.is-open .status-dot { background: var(--open-green); animation: pulse 2s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 183, 126, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(127, 183, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 183, 126, 0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; margin-top: calc(-1 * var(--header-h)); }
.hero__media {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #2a1408 0%, #0b0503 55%, #050303 100%);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%; display: block;
  filter: brightness(0.92) contrast(1.05);
}
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,3,2,0.85) 0%, rgba(5,3,2,0.45) 28%, rgba(5,3,2,0) 50%, rgba(5,3,2,0.25) 75%, rgba(5,3,2,0.75) 100%); }
.hero__shade--top { inset: 0 0 auto; height: 180px; background: linear-gradient(180deg, rgba(7,6,6,0.85), rgba(7,6,6,0)); }
.hero__shade--bottom { inset: auto 0 0; height: 200px; background: linear-gradient(0deg, rgba(7,6,6,1), rgba(7,6,6,0)); }
.hero__inner {
  position: relative; height: 100%; max-width: 1320px; margin: 0 auto;
  padding: calc(var(--header-h) + 0px) var(--gutter) 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.hero__intro { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; max-width: 360px; }
.hero__intro img { width: 30px; height: auto; display: block; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -0.02em; color: var(--text-strong);
}
.hero__lead { font-size: 15px; line-height: 1.9; color: var(--text-soft); letter-spacing: 0.02em; }
.hero__cta { flex: 1 1 0; display: flex; justify-content: flex-end; max-width: 340px; }
.hero__cta .btn { background: rgba(7, 6, 6, 0.45); }

/* ---------- Name meaning ---------- */
.meaning { padding: 48px var(--gutter); border-top: 1px solid rgba(201, 169, 110, 0.16); }
.meaning .stack-center { max-width: 640px; margin: 0 auto; gap: 12px; }
.meaning__wordmark { width: clamp(220px, 30vw, 380px); height: auto; display: block; }
.meaning__word { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--gold); }
.meaning__line { font-size: 15px; line-height: 1.6; color: var(--text-soft); }

/* ---------- About ---------- */
.about .stack-center { gap: 28px; }
.about__tagline { font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; line-height: 2; color: var(--gold-line); }
.about__drop { width: 1px; height: 64px; background: linear-gradient(180deg, var(--copper), rgba(184, 115, 51, 0)); }
.about__more { display: flex; flex-direction: column; align-items: center; gap: 28px; animation: reveal .6s ease-out both; }
.about__more h3 { margin-top: 16px; font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.2; color: var(--gold); }
.about__signoff { font-family: var(--font-display); font-style: italic; font-size: 28px; line-height: 1.4; color: var(--text-strong); }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Signatures ---------- */
.signatures { background: linear-gradient(180deg, var(--bg-band) 0%, var(--bg) 100%); }
.signatures .wrap { display: flex; flex-direction: column; gap: 64px; }
.signatures__head { gap: 24px; }
.signatures__sub { font-size: 14px; letter-spacing: 0.08em; color: #9C9086; }
.tile-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--rule-gold); border: 1px solid var(--rule-gold);
}
.tile { background: var(--bg-raised); padding: 44px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tile__name {
  font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--text-strong);
  /* Room for two lines on every tile, name centred in it, so the line and price sit at the same height across the row */
  min-height: 2.4em; display: flex; align-items: center; justify-content: center;
}
.price { font-family: var(--font-price); font-weight: 400; letter-spacing: 0.04em; font-variant-numeric: lining-nums tabular-nums; }
.tile__price { font-size: 19px; color: var(--gold); margin-top: 4px; }
.center-row { display: flex; justify-content: center; }

/* ---------- Visit ---------- */
.visit { padding-block: 160px; }
.visit .wrap { display: flex; flex-direction: column; gap: 88px; }
.visit__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: rgba(184, 115, 51, 0.22); border: 1px solid rgba(184, 115, 51, 0.22);
}
.visit__card { background: var(--bg); padding: 44px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.visit__address { font-family: var(--font-display); font-size: 22px; line-height: 1.5; font-style: normal; }
.visit__small-link { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-line); padding: 10px 0; }
.visit__pair { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.visit__value { font-family: var(--font-display); font-size: 20px; line-height: 1.3; color: var(--text-strong); text-decoration: none; padding: 4px 0; }
.visit__value--email { font-size: 15px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.hours-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; color: var(--text-muted); }
.hours-status .status-dot { width: 6px; height: 6px; }
.hours-status.is-open { color: #CFE3CC; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px var(--gutter) 48px; border-top: 1px solid var(--rule); }
.site-footer .stack-center { max-width: 1100px; margin: 0 auto; gap: 20px; }
.site-footer__logo { width: 220px; height: auto; display: block; }
.site-footer__links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.site-footer__links a { font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-line); padding: 12px 0; }
.site-footer__legal { font-size: 12px; letter-spacing: 0.2em; color: var(--text-faint); }
.site-footer__company { font-size: 12px; line-height: 1.8; letter-spacing: 0.04em; color: var(--text-faint); max-width: 560px; }

/* ---------- Menu page ---------- */
.menu-hero { padding: 140px var(--gutter) 80px; }
.menu-hero .stack-center { max-width: 760px; margin: 0 auto; gap: 22px; }
.menu-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 92px); line-height: 1; letter-spacing: -0.02em; color: var(--text-strong);
}
.menu-hero p { font-size: 15px; line-height: 1.9; color: var(--text-muted); }

.menu-body { padding: 24px var(--gutter) 120px; }
.menu-grid {
  max-width: 1040px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  column-gap: 96px; row-gap: 80px; align-items: start;
}
.menu-section { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.menu-section--wide { grid-column: 1 / -1; }
.menu-section__head { display: flex; flex-direction: column; gap: 6px; }
.menu-section__title-row { display: flex; align-items: center; gap: 18px; }
.menu-section__title-row h2 { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 32px; line-height: 1.1; color: var(--gold); white-space: nowrap; }
.menu-section__title-row::after { content: ""; flex: 1 1 auto; height: 1px; background: rgba(201, 169, 110, 0.3); }
.menu-section__sub { font-size: 14px; letter-spacing: 0.04em; color: var(--text-faint); }
.menu-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 26px 96px; }
.menu-group { display: flex; flex-direction: column; gap: 16px; }
.menu-group__name { margin-top: 4px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-line); }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.menu-item { display: flex; align-items: baseline; gap: 12px; }
.menu-item__name { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-strong); }
.menu-item__note { font-size: 13px; color: var(--text-faint); }
.menu-item__dots { flex: 1 1 auto; min-width: 16px; border-bottom: 1px dotted rgba(201, 169, 110, 0.28); transform: translateY(-4px); }
.menu-item__price { font-size: 17px; color: var(--gold); white-space: nowrap; }

.deals { padding: 88px var(--gutter) 120px; background: var(--bg-raised); border-top: 1px solid rgba(201, 169, 110, 0.16); }
.deals .wrap { max-width: 1040px; display: flex; flex-direction: column; gap: 48px; }
.deals__head { gap: 14px; }
.deals__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; color: var(--text-strong); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: rgba(201, 169, 110, 0.22); border: 1px solid rgba(201, 169, 110, 0.22); }
.deal { background: var(--bg); padding: 52px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.deal h3 { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 32px; line-height: 1.1; color: var(--gold); }
.deal__what { font-size: 13px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; line-height: 2.1; color: var(--text-strong); }
.deal__price { font-size: 32px; font-weight: 300; color: var(--gold); }
.deals__notes { gap: 10px; max-width: 620px; margin: 8px auto 0; }
.deals__notes p:first-child { font-size: 14px; line-height: 1.8; color: var(--text-muted); }
.deals__notes p:last-child { font-size: 12px; letter-spacing: 0.08em; color: var(--text-faint); }

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 80px var(--gutter); }
.not-found .stack-center { gap: 24px; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .hero__inner { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 28px; padding-bottom: 64px; }
  .hero__cta { justify-content: flex-start; flex: none; }
  .hero__intro { flex: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(5,3,2,0.9) 0%, rgba(5,3,2,0.45) 45%, rgba(5,3,2,0.1) 100%); }
}
@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .tile-grid { grid-template-columns: minmax(0, 1fr); }
  .tile__name { min-height: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 72px; }
  .status-badge { display: none; }
  .nav { gap: 8px; }
  .nav__links { gap: 16px; }
  .nav__link { letter-spacing: 0.18em; font-size: 11px; }
  .nav__logo img { height: 44px; }
  .btn--small { padding: 12px 14px; letter-spacing: 0.18em; font-size: 11px; }
  .section { padding-block: 80px; }
  .visit { padding-block: 96px; }
  .visit .wrap { gap: 56px; }
  .menu-hero { padding-top: 96px; padding-bottom: 56px; }
  .menu-grid, .menu-groups { column-gap: 0; row-gap: 56px; }
  .menu-item__name { letter-spacing: 0.12em; }
  .menu-section__title-row h2 { font-size: 28px; }
}
@media (max-width: 380px) {
  .nav__links .nav__link:nth-child(2) { display: none; }
}

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