/* ============================================================
   ADOLA Café — shared styles
   Editorial • Museum • Earthen
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette — dark espresso canvas, warm cream, muted gold, terracotta */
  --ink:      #181210;
  --ink-2:    #221915;
  --ink-3:    #2E2118;
  --cream:    #EFE3CF;
  --cream-2:  #F5EDDE;
  --cream-3:  #FBF6EC;
  --gold:     #C8993F;
  --gold-2:   #D9B05A;
  --terra:    #B5471E;
  --terra-2:  #C5683E;
  --brown:    #7A4E2E;
  --muted-ink: #6A584A;     /* on cream */
  --muted-cream: #9C8C75;   /* on ink */
  --rule-cream: rgba(239,227,207,0.16);
  --rule-ink: rgba(24,18,16,0.14);

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --pad-x: clamp(24px, 5vw, 88px);
  --section-y: clamp(80px, 11vw, 160px);
  --gutter: clamp(20px, 2.5vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream-3);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Type scale ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--ink { color: var(--brown); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 9vw, 144px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.h1 {
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.15;
}

.italic { font-style: italic; }

.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--cream);
  text-wrap: pretty;
}

.lede--ink { color: var(--ink-2); }

p { text-wrap: pretty; }

.body--sm { font-size: 14px; }

.mono-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  padding-inline: var(--pad-x);
  margin-inline: auto;
  max-width: 1640px;
}

.wrap--narrow { max-width: 1180px; }
.wrap--tight  { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 110px); }

.bg-ink   { background: var(--ink); color: var(--cream); }
.bg-cream { background: var(--cream-3); color: var(--ink); }
.bg-cream-2 { background: var(--cream-2); color: var(--ink); }

/* ---------- Pattern motif (Ethiopian textile inspired) ---------- */

.motif {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}

.motif--ink { color: var(--brown); }

.motif .bar {
  height: 1px;
  width: 60px;
  background: currentColor;
  opacity: 0.5;
}

.motif .glyph {
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}

.motif .glyph.fill { background: currentColor; }

/* Pattern band — repeating border for section dividers */
.pattern-band {
  height: 28px;
  background-image:
    linear-gradient(currentColor, currentColor),
    radial-gradient(circle at 50% 50%, currentColor 1.5px, transparent 1.6px),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1px, 14px 14px, 100% 1px;
  background-position: 0 0, 0 50%, 0 100%;
  background-repeat: repeat-x;
  color: var(--gold);
  opacity: 0.55;
}

.pattern-band--ink { color: var(--brown); opacity: 0.35; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), backdrop-filter 0.35s var(--ease), padding 0.3s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(20, 14, 12, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--cream);
  padding-block: 14px;
  border-bottom-color: var(--rule-cream);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.nav__brand img {
  height: 38px;
  width: auto;
  transition: filter 0.3s var(--ease);
}

/* Logo color follows current nav text color: invert black PNG to cream-ish when on dark */
.nav--dark .nav__brand img,
.nav--scrolled .nav__brand img {
  filter: invert(1) brightness(0.96) sepia(0.2) hue-rotate(-10deg) saturate(0.4);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--gold-2); transform: translateY(-1px); }

.nav__burger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--pad-x) 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a { font-family: var(--serif); font-size: 36px; font-weight: 400; }
.mobile-menu .nav__cta { margin-top: 32px; align-self: flex-start; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost:hover { background: var(--cream); color: var(--ink); }

.btn--ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost-ink:hover { background: var(--ink); color: var(--cream); }

.btn--link {
  border: none;
  padding: 0;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 4px;
}
.btn--link:hover { color: var(--gold); transform: translateX(4px); }

.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Image placeholders ---------- */

.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.img-wrap:hover img { transform: scale(1.04); }

.img-wrap::after {
  /* subtle warm vignette / film grain feel */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(24,18,16,0.25));
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.img-caption {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: rgba(24,18,16,0.6);
  padding: 6px 9px;
  border-radius: 2px;
  z-index: 1;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

.reveal--mask {
  opacity: 1;
  transform: none;
  position: relative;
  overflow: hidden;
}
.reveal--mask > * {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease);
}
.reveal--mask.in > * { transform: translateY(0); }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 110px) var(--pad-x) 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule-cream);
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--cream); opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer ul a:hover { opacity: 1; color: var(--gold); }

.footer__mark img { height: 60px; width: auto; filter: invert(1) brightness(0.96) sepia(0.18) hue-rotate(-10deg) saturate(0.4); margin-bottom: 18px; }
.footer__mark p { font-family: var(--serif); font-style: italic; font-size: 18px; opacity: 0.8; max-width: 280px; }

.footer__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--muted-cream);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__base .social { display: flex; gap: 18px; }
.footer__base .social a { color: var(--muted-cream); transition: color 0.2s; }
.footer__base .social a:hover { color: var(--gold); }

/* ---------- Forms ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-ink);
}
.bg-ink .field label, .field--dark label { color: var(--muted-cream); }

.field input, .field textarea, .field select {
  font: inherit;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-ink);
  color: var(--ink);
  padding: 10px 0;
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
}
.bg-ink .field input, .bg-ink .field textarea, .bg-ink .field select,
.field--dark input, .field--dark textarea, .field--dark select {
  color: var(--cream);
  border-bottom-color: var(--rule-cream);
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 90px; }

.field .err {
  font-size: 12px;
  color: var(--terra-2);
  min-height: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.field.invalid .err { opacity: 1; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-bottom-color: var(--terra-2); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-status {
  padding: 14px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-top: 16px;
  border-radius: 2px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s, margin-top 0.3s;
}
.form-status.show { opacity: 1; max-height: 80px; margin-top: 24px; padding: 14px 18px; }

/* ---------- Cards / shop products ---------- */

.product-card {
  background: var(--cream-2);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-ink);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--brown); }

.product-card .img-wrap { aspect-ratio: 4 / 5; }
.product-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__body h3 { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.product-card__body .price { font-family: var(--mono); font-size: 13px; color: var(--brown); margin-top: auto; padding-top: 12px; }
.product-card__body p { font-size: 14px; color: var(--muted-ink); margin: 4px 0 0; }
.product-card__cta { padding: 0 22px 22px; }

/* ---------- Tabs (menu page) ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--rule-ink); }
.tabs button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 22px;
  color: var(--muted-ink);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tabs button.active { color: var(--ink); border-bottom-color: var(--gold); }
.tabs button:hover { color: var(--ink); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Menu list ---------- */

.menu-list { display: grid; gap: 0; }
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-ink);
}
.menu-row__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}
.menu-row__name .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: 4px;
}
.menu-row__desc { font-size: 14px; color: var(--muted-ink); margin-top: 4px; max-width: 60ch; }
.menu-row__price { font-family: var(--mono); font-size: 14px; color: var(--brown); white-space: nowrap; }

/* ---------- Hero — homepage ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: contrast(1.02) saturate(0.92);
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1.0); }
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,14,12,0.55) 0%, rgba(20,14,12,0.35) 35%, rgba(20,14,12,0.85) 100%),
    radial-gradient(ellipse at 60% 40%, transparent 30%, rgba(20,14,12,0.5));
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(92px, 12vh, 132px) var(--pad-x) clamp(40px, 6vw, 90px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: safe flex-end;
  gap: clamp(22px, 3.5vw, 56px);
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--rule-cream);
  margin-top: clamp(24px, 3vw, 50px);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 30px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cream);
  opacity: 0.7;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll::after {
  content: "";
  height: 36px; width: 1px;
  background: currentColor;
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%      { transform: scaleY(0.4); opacity: 0.3; }
}

@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* ---------- Page hero (non-homepage) ---------- */

.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(150px, 18vh, 220px) var(--pad-x) clamp(70px, 9vw, 130px);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.9);
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,12,0.7), rgba(20,14,12,0.92));
}
.page-hero__inner { position: relative; z-index: 1; max-width: 1180px; }
.page-hero__crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

/* ---------- Two-up split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}
.split--asym { grid-template-columns: 5fr 7fr; }
@media (max-width: 820px) { .split--asym { grid-template-columns: 1fr; } }

/* ---------- Three-col ---------- */
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
@media (max-width: 820px) {
  .three { grid-template-columns: 1fr; }
}

/* ---------- Offers grid (homepage main offers) ---------- */
@media (max-width: 1080px) {
  .offers { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .offers { grid-template-columns: 1fr !important; }
}

/* ---------- Number stat ---------- */
.stat__num {
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 92px);
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
}
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Marquee ribbon ---------- */

.ribbon {
  background: var(--ink);
  color: var(--cream);
  border-block: 1px solid var(--rule-cream);
  overflow: hidden;
  position: relative;
}
.ribbon__track {
  display: flex;
  gap: 60px;
  padding: 22px 0;
  white-space: nowrap;
  animation: scroll-x 38s linear infinite;
  width: max-content;
}
.ribbon__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 38px);
  color: var(--cream);
}
.ribbon__track .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 8px;
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------- Step cards (ceremony) ---------- */

.step {
  padding: 32px 28px;
  background: var(--cream-2);
  border: 1px solid var(--rule-ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.step:hover { transform: translateY(-4px); background: var(--cream); }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
}
.step h3 { font-size: 26px; }
.step p { font-size: 15px; color: var(--muted-ink); }

.bg-ink .step {
  background: var(--ink-2);
  color: var(--cream);
  border-color: var(--rule-cream);
}
.bg-ink .step:hover { background: var(--ink-3); }
.bg-ink .step p { color: var(--muted-cream); }

/* ---------- Quote / testimonial ---------- */

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  text-wrap: balance;
}

/* ---------- Instagram grid ---------- */

.insta {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 920px) { .insta { grid-template-columns: repeat(3, 1fr); } }
.insta .img-wrap { aspect-ratio: 1 / 1; }

/* ---------- Café gallery (About) ---------- */
.cafe-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
@media (max-width: 820px) {
  .cafe-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .cafe-gallery .img-wrap { grid-column: span 1 !important; grid-row: span 1 !important; }
  .cafe-gallery .img-wrap:first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* ---------- Helpers ---------- */

.center { text-align: center; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }
.gap-48 { gap: 48px; }
.col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-12 { margin-bottom: 12px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }

/* ---------- Map placeholder ---------- */

.map-placeholder {
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 12px, var(--cream-3) 12px, var(--cream-3) 24px);
  position: relative;
  border: 1px solid var(--rule-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder::after {
  content: "GOOGLE MAPS";
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brown);
  background: var(--cream-3);
  padding: 8px 14px;
}
.map-placeholder .pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  background: var(--terra);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 4px 16px rgba(181,71,30,0.4);
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */

body.loading { overflow: hidden; }

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

#loader.loader--out {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

#loader img {
  height: 72px;
  width: auto;
  filter: invert(1) brightness(0.96) sepia(0.2) hue-rotate(-10deg) saturate(0.4);
  animation: loaderPulse 1.6s var(--ease) infinite alternate;
}

@keyframes loaderPulse {
  from { opacity: 0.6; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1.00); }
}

#loader__bar {
  width: 120px;
  height: 1px;
  background: var(--rule-cream);
  position: relative;
  overflow: hidden;
}

#loader__bar::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--gold);
  animation: loaderBar 1.1s var(--ease) infinite;
}

@keyframes loaderBar {
  from { left: -100%; }
  to   { left: 100%; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 999;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */

.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s var(--ease);
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(200,153,63,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, opacity 0.3s;
}

.cursor-dot--hover { width: 4px; height: 4px; background: var(--gold-2); }
.cursor-ring--hover { width: 56px; height: 56px; border-color: var(--gold); }
.cursor-ring--img   { width: 72px; height: 72px; border-color: var(--cream); opacity: 0.6; }

/* ============================================================
   GRAIN TEXTURE OVERLAY
   ============================================================ */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8000;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============================================================
   IMAGE CLIP REVEAL
   ============================================================ */

.img-wrap.img-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.img-wrap.img-reveal.img-revealed {
  clip-path: inset(0% 0 0 0);
}

/* ============================================================
   ENHANCED REVEAL VARIANTS
   ============================================================ */

.reveal--left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal--right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal--left.in,
.reveal--right.in,
.reveal--scale.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   HOVER LIFT on cards
   ============================================================ */

.step, .product-card {
  will-change: transform;
}

/* ============================================================
   SECTION ENTRANCE LINES (decorative)
   ============================================================ */

.section-line {
  display: block;
  height: 1px;
  background: var(--rule-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}

.section-line.in { transform: scaleX(1); }

/* ============================================================
   FLOATING COFFEE PARTICLE CANVAS
   ============================================================ */

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}

/* ============================================================
   NAV: enhanced transition
   ============================================================ */

.nav--scrolled .nav__brand img {
  filter: invert(1) brightness(0.96) sepia(0.2) hue-rotate(-10deg) saturate(0.4);
}

/* ============================================================
   MENU TAB: ink underline slide
   ============================================================ */

.tabs button {
  position: relative;
  overflow: hidden;
}

.tabs button::before {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.tabs button.active::before { transform: scaleX(1); }

/* ============================================================
   HERO: floating subtle badge
   ============================================================ */

.hero__badge {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted-cream);
  animation: badgeSpin 20s linear infinite;
}

@keyframes badgeSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero__badge svg {
  width: 90px;
  height: 90px;
}

@media (max-width: 1080px) { .hero__badge { display: none; } }

/* ============================================================
   SPLIT TEXT headline reveal
   ============================================================ */

.display .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.display .word {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal--mask.in .display .word {
  transform: translateY(0);
}

/* ============================================================
   FOOTER: link hover glow
   ============================================================ */

.footer ul a:hover {
  text-shadow: 0 0 18px rgba(200,153,63,0.3);
}

/* ============================================================
   JOURNEY GRID (About page)
   4-col → 2-col tablet → 1-col mobile
   ============================================================ */

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-ink);
}

.journey-grid > div {
  padding: 32px 24px 24px 0;
  border-right: 1px solid var(--rule-ink);
}

.journey-grid > div:last-child {
  padding-right: 0;
  border-right: none;
}

@media (max-width: 820px) {
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-grid > div {
    padding: 28px 20px 28px 0;
    border-bottom: 1px solid var(--rule-ink);
  }
  .journey-grid > div:nth-child(2n) {
    border-right: none;
    padding-left: 20px;
    padding-right: 0;
  }
  .journey-grid > div:nth-child(2n-1) {
    border-right: 1px solid var(--rule-ink);
  }
}

@media (max-width: 460px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .journey-grid > div {
    border-right: none !important;
  }
}

/* ============================================================
   CATERING INCLUDED LIST
   Responsive grid for the package items breakdown
   ============================================================ */

.catering-included-list {
  border-top: 1px solid var(--rule-cream);
}

.catering-included-list > div {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-cream);
  align-items: baseline;
}

@media (max-width: 600px) {
  .catering-included-list > div {
    grid-template-columns: 48px 1fr;
    gap: 14px 12px;
  }
  .catering-included-list > div > :last-child {
    grid-column: 2;
    margin-top: -8px;
  }
}

/* ============================================================
   THREE-COL: tablet 2-col fallback
   ============================================================ */

@media (max-width: 1100px) and (min-width: 821px) {
  .three--tablet-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   SHOP PRODUCT GRID: 2-col on tablet
   ============================================================ */

@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 540px) {
  .shop-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   MOBILE PADDING FIXES
   ============================================================ */

@media (max-width: 540px) {
  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

