/* =========================================================
   Phoenix Coffee House — "Born of fire and coffee"
   Mobile-first. Dark espresso + copper/gold, burgundy accents.
   ========================================================= */

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg-0: #120B08;
  --bg-1: #1E120C;
  --bg-2: #2A1A11;
  --copper: #C8894F;
  --gold: #E3B074;
  --wine: #7A1F2B;
  --cream: #F4E8D6;
  --text: #EADBC6;
  --muted: #B49A80;
  --line: rgba(227, 176, 116, .18);
  --glass: rgba(255, 236, 214, .045);
  --glass-strong: rgba(255, 236, 214, .08);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --tabbar-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg-0);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% 120%, rgba(122, 31, 43, .16), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-0) 100%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--copper); color: var(--bg-0); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg-0);
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------- Preloader ---------------- */
.preloader {
  display: none;
}
.motion .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 50% at 50% 50%, #26160E 0%, var(--bg-0) 70%);
  transition: opacity .35s ease, visibility .35s;
  /* Safety net: never block the page if the script fails */
  animation: preloader-failsafe .01s 3s forwards;
}
.preloader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.preloader__flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 228, 180, .95), rgba(227, 176, 116, .35) 25%, transparent 60%);
  opacity: 0;
  pointer-events: none;
}
.preloader.is-lit .preloader__flash { animation: flash .55s ease-out forwards; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes flash {
  0% { opacity: 0; transform: scale(.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.6); }
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------------- Cursor glow (desktop) ---------------- */
.cursor-glow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor-glow {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 137, 79, .16) 0%, rgba(200, 137, 79, .06) 35%, transparent 65%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity .4s ease;
    will-change: transform;
  }
  .cursor-glow.is-on { opacity: 1; }
}

/* ---------------- Top bar ---------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 10px;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(18, 11, 8, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s var(--ease);
}
.topbar__brand img { height: 30px; width: auto; }
.topbar.is-scrolled .topbar__brand { opacity: 1; transform: none; pointer-events: auto; }

.lang {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lang button {
  position: relative;
  z-index: 1;
  min-width: 44px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: none;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s ease;
}
.lang button[aria-pressed="true"] { color: var(--bg-0); }
.lang__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  box-shadow: 0 4px 18px rgba(200, 137, 79, .35);
  transition: transform .45s var(--ease), width .45s var(--ease);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(72px + env(safe-area-inset-top)) var(--gutter) 88px;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 62%, rgba(200, 137, 79, .20) 0%, transparent 70%),
    radial-gradient(50% 40% at 15% 100%, rgba(122, 31, 43, .30) 0%, transparent 70%),
    linear-gradient(180deg, #0E0806 0%, var(--bg-0) 40%, var(--bg-1) 100%);
}
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.hero__steam {
  position: absolute;
  inset: -20%;
  z-index: -2;
  opacity: .6;
  pointer-events: none;
}
.hero__steam i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  background: radial-gradient(circle, rgba(244, 232, 214, .10), transparent 65%);
}
.hero__steam i:nth-child(1) { width: 60vmax; height: 40vmax; left: 10%; top: 35%; animation: drift1 26s ease-in-out infinite alternate; }
.hero__steam i:nth-child(2) { width: 50vmax; height: 50vmax; left: 45%; top: 20%; animation: drift2 32s ease-in-out infinite alternate; background: radial-gradient(circle, rgba(227, 176, 116, .10), transparent 65%); }
.hero__steam i:nth-child(3) { width: 40vmax; height: 30vmax; left: 25%; top: 60%; animation: drift3 22s ease-in-out infinite alternate; background: radial-gradient(circle, rgba(122, 31, 43, .18), transparent 65%); }
@keyframes drift1 { to { transform: translate3d(12%, -18%, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-16%, 10%, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(10%, -25%, 0) scale(1.2); } }

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .07;
  pointer-events: none;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  /* fade into the next section */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg-1));
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 3vh, 28px);
  width: 100%;
  max-width: 1200px;
}
.hero__logo {
  width: clamp(220px, 62vw, 520px);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(200, 137, 79, .25));
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3.3rem, min(25vw, 19vh), 13rem);
  padding-bottom: .12em;
  line-height: .9;
  letter-spacing: -.035em;
  color: var(--cream);
}
.hero__line { display: block; white-space: nowrap; }
.hero__title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--gold) 10%, var(--copper) 55%, #E9C48F 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: clamp(.78rem, 3.4vw, .9rem);
  white-space: nowrap;
  max-width: 100%;
  color: var(--text);
  transition: border-color .3s ease, background .3s ease;
}
.status-chip { height: 44px; }
/* hero text waits for its web fonts (it sits under the preloader meanwhile) so nothing reflows on screen */
.js:not(.fonts-ready) .hero__title,
.js:not(.fonts-ready) .status-chip { visibility: hidden; }
.status-chip:hover { border-color: rgba(227, 176, 116, .45); background: var(--glass-strong); }
.status-chip [data-status-label] { font-weight: 600; color: var(--cream); }
.status-chip [data-status-hint] { color: var(--muted); }
.status-chip__sep { color: var(--copper); }
@media (max-width: 374px) { .status-chip { padding-inline: 14px; gap: 8px; } }

/* live dot */
.dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6FD08C;
  box-shadow: 0 0 10px #6FD08C;
}
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: #6FD08C;
  animation: pulse 1.8s ease-out infinite;
}
.is-closed .dot { background: #E0564F; box-shadow: 0 0 10px #E0564F; }
.is-closed .dot::after { color: #E0564F; }
@keyframes pulse {
  from { transform: scale(1); opacity: .9; }
  to { transform: scale(3.2); opacity: 0; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 38px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--gold);
  animation: scroll-cue 1.8s var(--ease) infinite;
}
@keyframes scroll-cue { to { top: 110%; } }

/* ---------------- Marquee ---------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(122, 31, 43, .18), rgba(200, 137, 79, .07), rgba(122, 31, 43, .18));
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 5vw, 2.6rem);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--cream);
}
.marquee__track { display: flex; width: max-content; }
.motion .marquee__track { animation: marquee 38s linear infinite; }
.motion .marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 44s; }
.marquee span { padding-right: .6em; }
.marquee b { font-weight: 400; color: var(--copper); padding: 0 .3em; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------------- Sections ---------------- */
.section {
  position: relative;
  padding-block: clamp(72px, 12vw, 150px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
}
.kicker span:first-child {
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: 0;
  color: var(--gold);
}
.kicker span:first-child::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: var(--copper);
}
.h2 {
  margin: 0 0 clamp(28px, 5vw, 56px);
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 9vw, 6rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--cream);
  text-wrap: balance;
}

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* reveal start states (only when motion layer is active) */
.motion.gsap-ready [data-reveal] { opacity: 0; }

/* ---------------- Cards ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.card {
  --tx: 0px; --ty: 0px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 150px;
  padding: 18px 16px 16px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 236, 214, .07), rgba(255, 236, 214, .02));
  border: 1px solid rgba(227, 176, 116, .16);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 236, 214, .06);
  transform: perspective(900px) translate3d(var(--tx), var(--ty), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), border-color .3s ease, box-shadow .4s ease;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.card.is-tracking { transition: transform .12s linear, border-color .3s ease, box-shadow .4s ease; }
.card:hover, .card:focus-visible {
  border-color: rgba(227, 176, 116, .3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .4), 0 0 40px rgba(200, 137, 79, .12), inset 0 1px 0 rgba(255, 236, 214, .1);
}
/* tactile press on touch */
.card:active { transform: perspective(900px) scale(.96); transition-duration: .12s; }

.card__border {
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0 62%, var(--copper) 74%, #FFE1B0 82%, var(--gold) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .4s ease;
}
.card:hover .card__border, .card:focus-visible .card__border { opacity: 1; animation: run-border 2.4s linear infinite; }
@keyframes run-border { to { --angle: 360deg; } }

.card__shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(227, 176, 116, .16), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.card:hover .card__shine { opacity: 1; }

.card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 5.4vw, 1.9rem);
  line-height: 1.05;
  color: var(--cream);
}
.card__sub {
  font-size: clamp(.7rem, 3.1vw, .8rem);
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: break-word;
}
.card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease), stroke .3s ease;
}
.card:hover .card__arrow { transform: translate(3px, -3px); stroke: var(--gold); }

/* icons */
.ico {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.ico .steam { opacity: .35; transition: opacity .3s ease; }
.card:hover .ico .steam { opacity: 1; animation: steam 1.4s ease-in-out infinite; }
.card:hover .ico .s2 { animation-delay: .2s; }
.card:hover .ico .s3 { animation-delay: .4s; }
@keyframes steam {
  0% { transform: translateY(2px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-5px); opacity: 0; }
}
.ico--pin .pin { transform-origin: 24px 39px; }
.ico--pin .shadow { fill: rgba(227, 176, 116, .18); stroke: none; transform-origin: 24px 42px; }
.card:hover .ico--pin .pin { animation: pin-bounce .9s var(--ease) infinite; }
.card:hover .ico--pin .shadow { animation: pin-shadow .9s var(--ease) infinite; }
@keyframes pin-bounce { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-5px); } }
@keyframes pin-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 45% { transform: scale(.65); opacity: .5; } }
.ico--insta .lens { transform-origin: 24px 24px; transition: transform .5s var(--ease); }
.ico--insta .flash { fill: var(--gold); stroke: none; }
.card:hover .ico--insta .lens { transform: scale(.75); }
.card:hover .ico--insta .flash { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .1; } }
.ico--mail .flap { transform-origin: 24px 14px; transition: transform .5s var(--ease); }
.card:hover .ico--mail .flap { transform: scaleY(-1) translateY(1px); }

/* ---------------- Hours ---------------- */
.hours { background: radial-gradient(70% 60% at 80% 50%, rgba(200, 137, 79, .08), transparent 70%); }
.hours__grid {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.hours__card {
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 236, 214, .06), rgba(255, 236, 214, .015));
  border: 1px solid var(--line);
}
.hours__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.hours__days {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
}
.hours__time {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 10vw, 3.6rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: lining-nums tabular-nums;
}
.hours__time i { font-style: normal; color: var(--copper); }
.status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.status .dot { width: 11px; height: 11px; }
.status__label {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  line-height: 1.1;
  color: var(--cream);
}
.hours__hint { margin: 6px 0 0; color: var(--text); font-size: 1rem; }
.hours__now { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.hours__now b { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }

.dial {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 1;
}
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: none; stroke: rgba(227, 176, 116, .1); stroke-width: 10; }
.dial__open {
  fill: none;
  stroke: url(#dial-grad);
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  filter: drop-shadow(0 0 6px rgba(200, 137, 79, .45));
}
.dial__ticks line { stroke: rgba(227, 176, 116, .35); stroke-width: 1; }
.dial__ticks line.major { stroke: var(--gold); stroke-width: 1.5; }
.dial__ticks text { fill: var(--muted); font: 600 7px var(--sans); letter-spacing: .05em; text-anchor: middle; dominant-baseline: middle; }
.dial__hand { transform-origin: 100px 100px; transition: transform 1s var(--ease); }
.dial__hand line { stroke: rgba(244, 232, 214, .25); stroke-width: 1; stroke-dasharray: 2 3; }
.dial__hand circle { fill: var(--cream); stroke: var(--bg-0); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(255, 225, 176, .8)); }
.dial__hub { fill: var(--copper); }
.dial__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}
.dial__center b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 7vw, 2.6rem);
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.dial__center span { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }

/* ---------------- Find us ---------------- */
.find__grid { display: grid; gap: 24px; }
.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(200, 137, 79, .15), transparent 60%),
    repeating-linear-gradient(0deg, rgba(227, 176, 116, .05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(227, 176, 116, .05) 0 1px, transparent 1px 40px),
    var(--bg-1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.map iframe {
  position: absolute;
  inset: -60px 0 0;   /* hides the embed's top info card */
  width: 100%;
  height: calc(100% + 60px);
  border: 0;
  filter: invert(.92) hue-rotate(180deg) sepia(.4) saturate(.9) brightness(.82) contrast(1.05);
  opacity: 0;
  transition: opacity .8s ease;
}
.map iframe.is-loaded { opacity: 1; }
.map::after {
  /* copper vignette to blend the map into the theme */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(18, 11, 8, .85);
  background: linear-gradient(180deg, rgba(122, 31, 43, .08), rgba(200, 137, 79, .06));
  mix-blend-mode: normal;
}
.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -64px 0 0 -29px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--bg-0);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(227, 176, 116, .12), 0 10px 30px rgba(0, 0, 0, .5);
  pointer-events: none;
}
.map__pin img { width: auto; height: 36px; transform: rotate(45deg); }
.motion .map__pin { animation: pin-float 2.6s ease-in-out infinite; }
@keyframes pin-float { 50% { translate: 0 -6px; } }

.find__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.find__label {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
}
.find__address {
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.1;
  color: var(--cream);
}
.find__coords { margin: 0 0 24px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.find__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(227, 176, 116, .35);
  background: var(--glass);
  font-weight: 600;
  font-size: .95rem;
  color: var(--cream);
  transition: transform .25s var(--ease), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover { border-color: var(--gold); background: var(--glass-strong); }
.btn:hover svg { transform: translate(2px, -2px) rotate(8deg); }
.btn:active { transform: scale(.97); }
.btn--solid {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg-0);
  box-shadow: 0 10px 30px rgba(200, 137, 79, .3);
}
.btn--solid:hover { background: linear-gradient(135deg, #F0C48C, var(--gold)); box-shadow: 0 14px 40px rgba(200, 137, 79, .45); }

/* ---------------- Footer ---------------- */
.footer {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: radial-gradient(60% 80% at 50% 100%, rgba(122, 31, 43, .22), transparent 70%);
}
.footer__logo { width: clamp(220px, 60vw, 460px); height: auto; margin: 0 auto 24px; }
.footer__line {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 4.5vw, 2rem);
  color: var(--gold);
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: .85rem;
  color: var(--muted);
}
.footer__meta a { transition: color .2s ease; }
.footer__meta a:hover { color: var(--gold); }

/* ---------------- Mobile tab bar ---------------- */
.tabbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  background: rgba(18, 11, 8, .82);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  border-radius: 14px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s ease, background .2s ease, transform .15s ease;
}
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a:active { transform: scale(.9); color: var(--gold); background: rgba(227, 176, 116, .08); }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 400px) {
  .cards { gap: 14px; }
  .card { padding: 20px 18px 18px; min-height: 164px; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .cards { gap: 18px; }
  .card { min-height: 200px; padding: 26px 24px 24px; }
  .card__sub { font-size: .88rem; }
  .ico { width: 54px; height: 54px; }
  .find__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: stretch; }
  .map { aspect-ratio: auto; min-height: 420px; }
  .hero { padding-bottom: 100px; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { min-height: 280px; }
  .hours__grid { grid-template-columns: 1.1fr 1fr; }
  .dial { margin: 0 0 0 auto; }
}

@media (min-width: 1440px) {
  .wrap { max-width: 1320px; }
}

/* short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero__title { font-size: clamp(2.4rem, 9vh + 4vw, 5rem); }
  .hero__logo { width: clamp(180px, 30vw, 320px); }
  .hero__scroll { display: none; }
}

/* =========================================================
   Reduced motion: everything static and readable
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__embers, .hero__steam { display: none; }
  .card { transform: none !important; }
  .dot::after { display: none; }
}
