/* =========================================================================
   Café Saffron — cafesaffron.uk
   Palette taken from the café's own menu card: cream, charcoal, saffron
   gold and the crocus-stigma crimson of the logo flower.
   ========================================================================= */

:root {
  --ink: #1e1b18;
  --ink-2: #35302a;
  --ink-soft: #5c544a;
  --cream: #fbf7ef;
  --sand: #f2e9d8;
  --sand-2: #e6d9c0;
  --saffron: #e9a13b;
  --saffron-deep: #c77b1b;
  --crimson: #c2452d;
  --white: #fff;

  --shell: min(1180px, 100% - 3rem);
  --radius: 14px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 8px rgb(30 27 24 / 6%);
  --shadow: 0 14px 40px -18px rgb(30 27 24 / 30%);
  --shadow-lg: 0 40px 80px -32px rgb(30 27 24 / 45%);

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); }

p { text-wrap: pretty; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 3rem + 7vw, 9rem);
}

/* Anchor targets must clear the fixed header. */
main section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head p { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.075em; }
.eyebrow + h2 { margin-top: 1.25rem; }

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* gold wipe on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, var(--saffron-deep), var(--saffron));
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover { color: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgb(30 27 24 / 22%);
}
.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
}

.flower {
  width: 1em;
  height: 1em;
  color: var(--crimson);
  flex: none;
}
.flower--spin { animation: spin 26s linear infinite; }

/* =========================================================================
   Header
   ========================================================================= */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  pointer-events: none; /* sits above the header */
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--saffron), var(--crimson));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgb(251 247 239 / 88%);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgb(30 27 24 / 8%), 0 12px 30px -24px rgb(30 27 24 / 60%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.is-stuck .nav { height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand .flower { font-size: 1.7rem; transition: transform 0.6s var(--ease); }
.brand:hover .flower { transform: rotate(72deg) scale(1.08); }
.brand span { line-height: 1; }

/* hero sits under a transparent header: invert until stuck */
.site-header:not(.is-stuck) .brand,
.site-header:not(.is-stuck) .nav-links a,
.site-header:not(.is-stuck) .nav-toggle { color: var(--cream); }
.site-header:not(.is-stuck) .brand { text-shadow: 0 2px 20px rgb(0 0 0 / 45%); }
.site-header:not(.is-stuck) .nav-links a { text-shadow: 0 1px 14px rgb(0 0 0 / 55%); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.6vw, 2.25rem);
  list-style: none;
  padding: 0;
}
.nav-links a {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.nav-links .btn { padding: 0.7rem 1.4rem; }
.nav-links .btn::after { display: none; }
/* Over the hero the header is transparent, so an ink-on-ink CTA disappears.
   Desktop only — on mobile the CTA sits inside an opaque cream drawer. */
@media (min-width: 861px) {
  .site-header:not(.is-stuck) .nav-links .btn {
    color: var(--ink);
    background: var(--cream);
    text-shadow: none;
  }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  justify-items: center;
  /* Rows must hug their content, or the bars sit too far apart to cross
     into an X when the button is toggled open. */
  align-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    background: var(--cream);
    box-shadow: var(--shadow);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.5s var(--ease);
  }
  .nav-links[data-open="true"] { clip-path: inset(0 0 0 0); }
  .site-header:not(.is-stuck) .nav-links a { color: var(--ink); text-shadow: none; }
  /* Full-width rows: inline anchors give ragged borders and small tap targets. */
  .nav-links a { display: block; padding: 0.9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--sand); }
  .nav-links a::after { display: none; }
  .nav-links li:last-child { margin-top: 1.25rem; }
  .nav-links .btn { width: 100%; padding: 1rem; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  color: var(--cream);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 58%;
  animation: kenburns 26s var(--ease) infinite alternate;
}
/* The storefront photo is bright and busy, so the copy needs a real scrim:
   heavy on the left where the text sits, clearing toward the shopfront. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgb(18 15 12 / 92%) 0%, rgb(18 15 12 / 72%) 32%, rgb(18 15 12 / 28%) 60%, rgb(18 15 12 / 20%) 100%),
    linear-gradient(180deg, rgb(18 15 12 / 55%) 0%, rgb(18 15 12 / 10%) 40%, rgb(18 15 12 / 75%) 100%);
}
@media (max-width: 700px) {
  .hero__media img { object-position: 72% 55%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgb(18 15 12 / 70%) 0%, rgb(18 15 12 / 45%) 35%, rgb(18 15 12 / 90%) 100%);
  }
}

.hero__inner { position: relative; }

.hero .eyebrow { color: var(--saffron); }
.hero .eyebrow::before { background: var(--saffron); }

.hero h1 {
  max-width: 15ch;
  margin-top: 1.5rem;
  font-size: clamp(2.9rem, 1.4rem + 5.2vw, 5.6rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 4px 40px rgb(18 15 12 / 55%);
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--saffron);
}
.hero__lede {
  max-width: 46ch;
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
  color: rgb(251 247 239 / 82%);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.hero .btn--ghost {
  --btn-fg: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgb(251 247 239 / 40%);
}

/* staggered entrance */
.hero__inner > * {
  opacity: 0;
  transform: translateY(28px);
  animation: fade-up 1s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 120ms + 200ms);
}

.hero__scroll {
  position: absolute;
  inset: auto 0 1.75rem;
  /* Decoration only. It spans the full width and sits over the hero buttons,
     so without this it swallows their clicks. */
  pointer-events: none;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(251 247 239 / 60%);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--saffron), transparent);
  animation: drop 2.2s ease-in-out infinite;
}
/* Must come after the base rule above, or it loses the cascade tie. */
@media (max-width: 700px) {
  .hero__scroll { display: none; }
}

/* drifting saffron petals */
.petals {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.petals i {
  position: absolute;
  top: -8%;
  width: 14px;
  height: 14px;
  color: var(--saffron);
  opacity: 0;
  animation: drift var(--dur, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.petals svg { width: 100%; height: 100%; }

/* =========================================================================
   Trust strip
   ========================================================================= */
.trust {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  background: var(--ink);
  color: var(--cream);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.75rem, 1rem + 2vw, 3rem);
  text-align: center;
}
.trust__item { display: grid; gap: 0.35rem; }
.trust__num {
  font-family: var(--display);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--saffron);
  font-variant-numeric: tabular-nums;
}
.trust__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(251 247 239 / 62%);
}
.trust__item + .trust__item { border-left: 1px solid rgb(251 247 239 / 12%); }
@media (max-width: 700px) { .trust__item + .trust__item { border-left: 0; } }

/* =========================================================================
   Story
   ========================================================================= */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 1rem + 6vw, 6rem);
}
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; } }

.story__copy h2 { margin-bottom: 1.75rem; }
.story__copy p + p { margin-top: 1.15rem; }
.story__copy p { color: var(--ink-soft); }
.story__sig {
  margin-top: 2rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
}
.story__sig small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-deep);
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.collage picture { display: block; }
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.collage__tall { grid-row: span 2; aspect-ratio: 3 / 4.6; }
.collage__a { aspect-ratio: 4 / 3; margin-top: clamp(1rem, 4vw, 3rem); }
.collage__b { aspect-ratio: 4 / 3; }

.collage__badge {
  position: absolute;
  left: -1.25rem;
  bottom: 6%;
  display: grid;
  place-items: center;
  gap: 0.3rem;
  width: clamp(104px, 12vw, 132px);
  aspect-ratio: 1;
  padding: 0.5rem;
  text-align: center;
  color: var(--ink);
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.collage__badge .flower {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--ink);
}
.collage__badge span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* =========================================================================
   Signature (dark)
   ========================================================================= */
.signature {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.signature::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgb(233 161 59 / 14%), transparent);
  pointer-events: none;
}
.signature h2 { color: var(--cream); }
.signature .section-head p { color: rgb(251 247 239 / 68%); }

.saffron-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.scard {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  background: rgb(251 247 239 / 4%);
  border: 1px solid rgb(251 247 239 / 10%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background 0.5s var(--ease);
}
.scard::before {
  content: "";
  position: absolute;
  inset: auto auto -60% -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(233 161 59 / 30%), transparent);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.scard:hover {
  transform: translateY(-6px);
  border-color: rgb(233 161 59 / 45%);
  background: rgb(251 247 239 / 7%);
}
.scard:hover::before { opacity: 1; }
.scard .flower { font-size: 2rem; color: var(--saffron); }
.scard h3 { color: var(--cream); }
.scard p { color: rgb(251 247 239 / 66%); font-size: 0.95rem; }
.scard .price {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--saffron);
}

/* =========================================================================
   Menu
   ========================================================================= */
.menu { background: linear-gradient(180deg, var(--cream), var(--sand)); }

.tabs {
  position: relative;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 3rem;
  padding: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgb(255 255 255 / 65%);
  border: 1px solid var(--sand-2);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.tabs::-webkit-scrollbar { display: none; }

.tabs__pill {
  position: absolute;
  z-index: 0;
  top: 0.4rem;
  left: 0;
  height: calc(100% - 0.8rem);
  background: var(--ink);
  border-radius: 100px;
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
  will-change: transform, width;
}
.tab {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding: 0.8rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: color 0.35s var(--ease);
}
.tab[aria-selected="true"] { color: var(--cream); }

.panel[hidden] { display: none; }
.panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0.25rem 3.5rem;
}
.panel__note {
  max-width: 70ch;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}
.panel__foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--sand-2);
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid rgb(30 27 24 / 8%);
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.dish__name {
  font-family: var(--display);
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--ink);
}
.dish__tag {
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--saffron-deep);
  background: rgb(233 161 59 / 16%);
  border-radius: 4px;
  vertical-align: 2px;
}
.dish__star {
  margin-left: 0.4rem;
  font-size: 0.75rem;
  color: var(--crimson);
}
.dish__price {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--saffron-deep);
  font-variant-numeric: tabular-nums;
}
.dish__desc {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.menu__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 3rem;
}
.menu__cta p { font-size: 0.9rem; color: var(--ink-soft); }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow-sm);
}
.tile button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
.tile picture { display: block; width: 100%; height: 100%; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
/* Overlays are decoration only — the button beneath them is the click target. */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgb(20 17 14 / 78%));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  pointer-events: none;
  padding: 1.1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  color: var(--cream);
  transform: translateY(0.75rem);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.tile:hover img, .tile:focus-within img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-within::after { opacity: 1; }
.tile:hover figcaption, .tile:focus-within figcaption { transform: none; opacity: 1; }

.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
@media (max-width: 900px) {
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: span 1; }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgb(20 17 14 / 92%);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82svh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.5s var(--ease);
}
.lightbox[data-open="true"] img { transform: scale(1); }
.lightbox figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgb(251 247 239 / 72%);
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  font-size: 1.5rem;
  color: var(--cream);
  border: 1px solid rgb(251 247 239 / 25%);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.lightbox__close:hover { transform: rotate(90deg); background: rgb(251 247 239 / 10%); }

/* =========================================================================
   Reviews (dark)
   ========================================================================= */
.reviews {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.reviews h2 { color: var(--cream); }
.reviews .section-head p { color: rgb(251 247 239 / 68%); }

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.reviews__head .section-head { margin-bottom: 0; }

.scores { display: flex; flex-wrap: wrap; gap: 1rem; }
.score {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.5rem;
  text-align: center;
  background: rgb(251 247 239 / 5%);
  border: 1px solid rgb(251 247 239 / 12%);
  border-radius: var(--radius);
}
.score b {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--saffron);
  font-variant-numeric: tabular-nums;
}
.score span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(251 247 239 / 60%);
}

/* marquee of pull quotes */
.marquee {
  position: relative;
  display: flex;
  margin-bottom: 3.5rem;
  padding-block: 1.25rem;
  border-block: 1px solid rgb(251 247 239 / 12%);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 3rem;
  padding-right: 3rem;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
  font-style: italic;
  color: rgb(251 247 239 / 78%);
}
.marquee__item .flower { color: var(--saffron); font-size: 1.1em; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.chip {
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(251 247 239 / 70%);
  border: 1px solid rgb(251 247 239 / 18%);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--saffron);
  border-color: var(--saffron);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 1.5rem;
  align-items: start;
}
/* The HTML ships every review so non-JS crawlers can read them. Where JS runs,
   show only the first page until main.js takes over and manages the count. */
html.js .review-grid:not([data-hydrated]) .review:nth-child(n + 7) { display: none; }

.review {
  display: grid;
  gap: 0.85rem;
  padding: 1.75rem;
  background: rgb(251 247 239 / 4%);
  border: 1px solid rgb(251 247 239 / 10%);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.review:hover {
  transform: translateY(-5px);
  background: rgb(251 247 239 / 7%);
  border-color: rgb(233 161 59 / 40%);
  box-shadow: var(--shadow-lg);
}
.review[hidden] { display: none; }

.review__stars {
  display: flex;
  gap: 0.15rem;
  color: var(--saffron);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.review__title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
}
.review__text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgb(251 247 239 / 72%);
}
.review__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review__more {
  justify-self: start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--saffron);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(251 247 239 / 10%);
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(140deg, var(--saffron), var(--saffron-deep));
  border-radius: 50%;
}
.review__who { display: grid; line-height: 1.35; }
.review__who b { font-size: 0.9rem; color: var(--cream); font-weight: 600; }
.review__who time { font-size: 0.76rem; color: rgb(251 247 239 / 50%); }
.review__src {
  margin-left: auto;
  padding: 0.3rem 0.65rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
}
.review__src[data-src="tripadvisor"] { color: #cdf3c0; background: rgb(52 224 161 / 14%); }
.review__src[data-src="google"] { color: #cfe0ff; background: rgb(120 165 255 / 16%); }

.reviews__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 3rem;
  text-align: center;
}
.reviews__disclaimer {
  flex-basis: 100%;
  font-size: 0.8rem;
  color: rgb(251 247 239 / 45%);
}
.reviews__disclaimer a { color: rgb(251 247 239 / 70%); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: linear-gradient(180deg, var(--sand), var(--cream)); }

.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0 3.5rem;
}

.faq__item {
  border-bottom: 1px solid rgb(30 27 24 / 10%);
}
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.4rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 {
  flex: 1;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 600;
}
/* the +/- toggle */
.faq__item summary::after {
  content: "";
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--saffron-deep);
  transition: transform 0.4s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover h3 { color: var(--saffron-deep); }

.faq__item > p {
  padding-bottom: 1.5rem;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.faq__item[open] > p { animation: fade-up 0.5s var(--ease) backwards; }

/* With JS off, <details> still opens on click — but make sure the answers are
   never visually hidden for a printout. */
@media print { .faq__item > p { display: block !important; } }

/* =========================================================================
   Visit
   ========================================================================= */
.visit__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--sand-2);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.status__dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-soft);
}
.status[data-open="true"] .status__dot { background: #2f9e44; }
.status[data-open="true"] .status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2s ease-out infinite;
}
.status[data-open="false"] .status__dot { background: var(--crimson); }

.hours { width: 100%; border-collapse: collapse; margin-block: 0.5rem 2rem; }
.hours th, .hours td { padding: 0.7rem 0; text-align: left; font-weight: 400; font-size: 0.95rem; }
.hours th { color: var(--ink); font-weight: 600; }
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr { border-bottom: 1px solid rgb(30 27 24 / 8%); }
.hours tr[data-today="true"] th, .hours tr[data-today="true"] td { color: var(--saffron-deep); font-weight: 600; }

.contact { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.contact__row { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__row svg { width: 20px; flex: none; margin-top: 3px; color: var(--saffron-deep); }
.contact__row a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact__row a:hover { border-color: currentColor; }
.contact__row span { color: var(--ink-soft); }

.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--sand);
}
.map iframe { width: 100%; height: clamp(340px, 46vh, 520px); border: 0; filter: saturate(0.85); }
/* Sits clear of OpenStreetMap's attribution strip, which must stay legible. */
.map__pin {
  position: absolute;
  inset: auto 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgb(251 247 239 / 94%);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map__pin b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.map__pin span { font-size: 0.85rem; color: var(--ink-soft); }
.map__pin .btn { padding: 0.7rem 1.2rem; font-size: 0.8rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem;
  background: var(--ink);
  color: rgb(251 247 239 / 60%);
  font-size: 0.88rem;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(251 247 239 / 12%);
}
.site-footer .brand { color: var(--cream); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; }
.footer__links a { text-decoration: none; transition: color 0.3s; }
.footer__links a:hover { color: var(--saffron); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
}
.footer__bottom p { color: rgb(251 247 239 / 45%); }

/* back to top */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--saffron); color: var(--ink); }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
/* Scoped to html.js: only hide content we can guarantee JS will reveal again.
   Without this, a visitor with JavaScript disabled sees a blank page. */
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@keyframes fade-up {
  to { opacity: 1; transform: none; }
}
@keyframes drop {
  0%, 100% { transform: scaleY(0.35); transform-origin: 50% 0; opacity: 0.4; }
  50%      { transform: scaleY(1);    transform-origin: 50% 0; opacity: 1; }
}
@keyframes drift {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(var(--x, 60px), 120svh, 0) rotate(540deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================================
   Reduced motion — keep the design, drop the movement
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal, .reveal, .hero__inner > *, .dish { opacity: 1; transform: none; }
  .petals, .hero__scroll i { display: none; }
  .marquee__track { animation: none; flex-wrap: wrap; white-space: normal; }
}

@media print {
  .site-header, .hero__scroll, .to-top, .petals, .marquee, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .panel[hidden] { display: block !important; }
}
