/* ================================================================
   The Coffee Concept — Design System
   Cream + coffee brown, vintage-editorial
================================================================ */

:root {
  /* Palette */
  --cream: #f4ead8;
  --cream-2: #ede0c4;
  --ivory: #efe4cf;
  --paper: #f8f2e3;
  --espresso: #2a1e15;
  --espresso-soft: #3a2b1e;
  --coffee: #5a3a22;
  --terracotta: #c8642a;
  --olive: #7a7248;
  --line: rgba(42, 30, 21, 0.18);
  --line-strong: rgba(42, 30, 21, 0.32);

  /* Type */
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --serif-alt: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;

  /* Space */
  --pad: clamp(20px, 4vw, 64px);
  --pad-y: clamp(80px, 10vw, 160px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Native cursor is hidden only once motion.js has drawn the custom one */
html.has-cursor body,
html.has-cursor a,
html.has-cursor button,
html.has-cursor summary { cursor: none; }
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select { cursor: text; }
html.has-cursor select { cursor: pointer; }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--espresso); color: var(--cream); }

/* ================================================================
   Custom cursor
================================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--espresso);
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid var(--espresso);
  transition: width .3s ease, height .3s ease, border-color .3s ease, opacity .3s ease;
}
body.cursor-hover .cursor-dot { width: 0; height: 0; }
body.cursor-hover .cursor-ring { width: 70px; height: 70px; background: var(--espresso); border-color: var(--espresso); mix-blend-mode: difference; }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ================================================================
   Layout primitives
================================================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: var(--pad-y) 0;
  position: relative;
}

.section-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--coffee);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.section-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--coffee);
}

.eyebrow {
  font-family: var(--serif-alt);
  font-style: italic;
  color: var(--terracotta);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.h-display {
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.h-1 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
}

.h-2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.h-3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
}

/* Heading convention: the <em> line is italic Cormorant in terracotta */
.h-display em, .h-1 em, .h-2 em {
  font-family: var(--serif-alt);
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}

p.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--espresso-soft);
  max-width: 60ch;
}

p { color: var(--espresso-soft); }

/* ================================================================
   Header / Nav
================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-header.scrolled {
  background: rgba(244, 234, 216, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px var(--pad);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .logo {
  height: 54px;
  transition: height .4s ease;
}
.site-header.scrolled .logo { height: 42px; }

.nav-links {
  display: flex;
  gap: clamp(22px, 2.6vw, 44px);
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--espresso);
  transition: width .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s ease, color .3s ease;
}
.nav-cta:hover, .nav-cta.active { background: var(--espresso); color: var(--cream); }

.nav-mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--espresso);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 101;
}
.nav-mobile-toggle span {
  display: block;
  width: 18px; height: 1px;
  background: var(--espresso);
  transition: transform .35s ease, opacity .25s ease;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-links a { letter-spacing: 0.2em; font-size: 11px; }
  .nav-cta { padding: 10px 16px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 110px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .5s cubic-bezier(.7,0,.2,1), visibility 0s linear .5s;
}
.mobile-drawer.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.mobile-drawer a {
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 42px);
  color: var(--espresso);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 16px;
}
.mobile-drawer a em {
  font-family: var(--serif-alt);
  font-size: 16px;
  color: var(--terracotta);
}
.mobile-drawer a.active { color: var(--terracotta); }
.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.mobile-drawer-foot p {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 6px;
}
.mobile-drawer-foot a {
  font-size: 28px;
  border-bottom: none;
  padding: 0;
}

/* ================================================================
   Buttons
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover { background: var(--terracotta); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn .arr { transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ================================================================
   Marquee
================================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--cream);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 64px);
  font-style: italic;
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: '✦';
  color: var(--terracotta);
  font-style: normal;
  font-size: 0.6em;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ================================================================
   Reveal
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }

/* Split text */
.split-line {
  display: block;
  overflow: hidden;
  /* room for descenders (g, y, p) so they are not clipped */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.split-line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.split-line.in > span,
.reveal.in .split-line > span { transform: none; }

/* ================================================================
   Location card
================================================================ */
/* ================================================================
   Store cards — CLEAN, READABLE, PREMIUM
   Structure:
     ┌────────────────────────┐
     │ 01                     │  <- number badge (top-left)
     │                        │
     │ Scheme No. 140         │  <- store name (big serif)
     │ Vijay Nagar, Indore    │  <- city (italic)
     │                        │
     │ ── ADDRESS ──          │  <- label
     │ Shop No. 5, Anandvan-2 │  <- address
     │                        │
     │ ── PHONE ──            │  <- label
     │ +91 88787 98000        │  <- phone (clickable)
     │                        │
     │ [ Get Directions →   ] │  <- CTA button (full width)
     └────────────────────────┘
================================================================ */
.loc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}
@media (max-width: 1100px) { .loc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 640px)  { .loc-list { grid-template-columns: 1fr; gap: 16px; } }

.loc-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  min-height: 340px;
}
.loc-card:hover {
  transform: translateY(-4px);
  border-color: var(--espresso);
  box-shadow: 0 20px 40px -20px rgba(42,30,21,0.3);
}

/* Number badge — top-left corner */
.loc-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 22px;
  flex-shrink: 0;
  align-self: flex-start;
}
.loc-head { margin-bottom: 22px; }

/* Store name (big serif) */
.loc-card .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--espresso);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* City (italic terracotta) */
.loc-card .city {
  font-family: var(--serif-alt);
  font-style: italic;
  font-size: 17px;
  color: var(--terracotta);
  line-height: 1.3;
  margin-bottom: 24px;
}

/* Info rows — address and phone */
.loc-card .hours.addr,
.loc-card .hours:not(.addr) {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-style: normal;
}
.loc-card .hours.addr {
  order: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--espresso-soft);
  padding-bottom: 14px;
}
.loc-card .hours.addr::before {
  content: 'Address';
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coffee);
  font-weight: 500;
  margin-bottom: 8px;
}

.loc-card .hours:not(.addr) {
  order: 2;
  padding-bottom: 20px;
  font-size: 14px;
}
.loc-card .hours:not(.addr)::before {
  content: 'Phone';
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coffee);
  font-weight: 500;
  margin-bottom: 8px;
}
.loc-card .hours a {
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 18px;
  font-style: normal;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, color .3s ease;
  display: inline-block;
}
.loc-card .hours a:hover {
  border-bottom-color: var(--terracotta);
  color: var(--terracotta);
}

/* Directions CTA — full-width, always visible */
.loc-card .go {
  order: 3;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  position: static;
  width: auto; height: auto;
  text-decoration: none;
  transition: background .3s ease;
}
.loc-card .go-label {
  color: inherit;
}
.loc-card .go svg {
  width: 12px; height: 12px;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.loc-card .go:hover {
  background: var(--terracotta);
}
.loc-card .go:hover svg {
  transform: translate(2px, -2px);
}

/* Coming-soon pills */
.coming-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.coming-pill {
  padding: 10px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  font-family: var(--serif-alt);
  font-style: italic;
  font-size: 16px;
  color: var(--coffee);
  background: transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.coming-pill:hover {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
  border-style: solid;
}

/* ================================================================
   Team
================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  position: relative;
}
.team-photo {
  aspect-ratio: 3 / 4;
  background: var(--coffee);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  transition: transform .5s ease;
}
.team-card:hover .team-photo { transform: translateY(-6px); }
.team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(200,100,42,0.35), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(122,114,72,0.4), transparent 45%),
    linear-gradient(180deg, #6b4327 0%, #3a2416 100%);
}
.team-photo .initials {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(80px, 10vw, 140px);
  line-height: 1;
  opacity: 0.5;
  letter-spacing: -0.02em;
}
.team-info {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.team-info h3 {
  font-family: var(--serif);
  font-size: 30px;
}
.team-info span {
  font-family: var(--serif-alt);
  font-style: italic;
  color: var(--coffee);
  font-size: 18px;
}

/* ================================================================
   Menu list (editorial)
================================================================ */
.menu-list { list-style: none; }
.menu-item {
  border-top: 1px solid var(--line-strong);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 40px;
  align-items: baseline;
  transition: padding .4s ease;
  position: relative;
}
.menu-item:last-child { border-bottom: 1px solid var(--line-strong); }
.menu-item:hover { padding-left: 20px; }
.menu-item .num {
  font-family: var(--serif-alt);
  font-style: italic;
  color: var(--terracotta);
  font-size: 18px;
}
.menu-item .name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
}
.menu-item .desc {
  font-family: var(--serif-alt);
  font-style: italic;
  font-size: 16px;
  color: var(--coffee);
  margin-top: 6px;
  max-width: 70ch;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .menu-item { grid-template-columns: 40px 1fr; gap: 16px; }
}

/* ================================================================
   Instagram strip
================================================================ */
.ig-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 0;
}
@media (max-width: 900px) { .ig-strip { grid-template-columns: repeat(3, 1fr); } }
.ig-tile {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.ig-tile::before {
  content: '';
  position: absolute; inset: 0;
  transition: transform .8s ease;
}
.ig-tile:hover::before { transform: scale(1.1); }
.ig-tile:nth-child(1)::before { background: radial-gradient(circle at 30% 40%, #8a5a35, #2a1e15); }
.ig-tile:nth-child(2)::before { background: radial-gradient(circle at 60% 60%, #c8642a, #3a2416); }
.ig-tile:nth-child(3)::before { background: radial-gradient(circle at 40% 30%, #6b4327, #1e1610); }
.ig-tile:nth-child(4)::before { background: radial-gradient(circle at 70% 50%, #7a7248, #2a2416); }
.ig-tile:nth-child(5)::before { background: radial-gradient(circle at 20% 70%, #a35a2a, #2a1e15); }
.ig-tile:nth-child(6)::before { background: radial-gradient(circle at 50% 40%, #5a3a22, #1e1410); }
.ig-tile .ig-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transition: opacity .3s ease;
  font-size: 24px;
}
.ig-tile:hover .ig-icon { opacity: 1; }

/* ================================================================
   Footer
================================================================ */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 100px 0 30px;
  position: relative;
}
.site-footer h2 {
  color: var(--cream);
  font-size: clamp(48px, 8vw, 130px);
  line-height: 0.9;
  margin-bottom: 60px;
}
.site-footer h2 em {
  font-family: var(--serif-alt);
  color: var(--terracotta);
  font-style: italic;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0 60px;
  border-top: 1px solid rgba(244,234,216,0.15);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  opacity: 0.6;
}
.footer-grid a, .footer-grid p {
  color: rgba(244,234,216,0.8);
  font-size: 14px;
  line-height: 2;
  display: block;
}
.footer-grid a:hover { color: var(--terracotta); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(244,234,216,0.15);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244,234,216,0.5);
}
@media (max-width: 700px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* ================================================================
   Ornaments
================================================================ */
.ornament {
  display: inline-block;
  font-family: var(--serif);
  color: var(--terracotta);
}

.bean {
  display: inline-block;
  width: 16px; height: 22px;
  border-radius: 50% / 45%;
  background: var(--espresso);
  position: relative;
  transform: rotate(-20deg);
}
.bean::after {
  content: '';
  position: absolute;
  left: 50%; top: 15%;
  width: 1.5px; height: 70%;
  background: var(--cream);
  transform: translateX(-50%) rotate(0deg);
  border-radius: 2px;
}

/* Big italic display line */
.italic-display {
  font-family: var(--serif-alt);
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}

/* Section number */
.section-num {
  font-family: var(--serif-alt);
  font-style: italic;
  font-size: 20px;
  color: var(--coffee);
  display: block;
  margin-bottom: 20px;
}

/* ================================================================
   Utility
================================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-2-uneven { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .grid-2, .grid-2-uneven { grid-template-columns: 1fr; gap: 40px; } }

.text-center { text-align: center; }
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 40px; }
.mt-l { margin-top: 80px; }

.divider-star {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  color: var(--terracotta);
  font-size: 20px;
}
.divider-star::before, .divider-star::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 200px;
}

/* ================================================================
   Shared page furniture (v4)
================================================================ */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--espresso); color: var(--cream);
  padding: 10px 18px; border-radius: 999px; font-size: 13px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 150; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: var(--terracotta);
  transform-origin: left; transform: scaleX(0);
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--espresso); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(42,30,21,.5);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background .3s ease;
}
.to-top.shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--terracotta); }
.to-top { border: 1px solid rgba(244,234,216,.25); }


/* Inner-page hero (shared) */
.page-hero { padding: 200px 0 100px; position: relative; overflow: hidden; }
.page-hero .h-display { font-size: clamp(60px, 11vw, 180px); }
.page-hero .h-display em {
  font-family: var(--serif-alt); font-style: italic;
  color: var(--terracotta); font-weight: 500;
}
.page-hero .lead { max-width: 52ch; }
.page-hero-photo {
  position: absolute; right: 6vw; top: 22%;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 3/4; overflow: hidden; border-radius: 6px;
  box-shadow: 0 30px 60px rgba(42,30,21,.35);
  transform: rotate(3deg); z-index: 0;
  border: 6px solid var(--paper);
}
.page-hero-photo.tilt-left { transform: rotate(-3deg); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .page-hero-photo { right: 3vw; width: clamp(200px, 24vw, 280px); } }
@media (max-width: 900px) {
  .page-hero { padding: 150px 0 80px; }
  .page-hero-photo { position: relative; right: auto; top: auto; margin: 50px 0 0 auto; width: min(62vw, 280px); opacity: 1; }
}

/* Dark CTA band (shared) */
.dark-cta {
  display: flex; justify-content: space-between;
  align-items: end; gap: 40px; flex-wrap: wrap;
}

/* Stats band (shared) */
.stats-band { padding: 100px 0; background: var(--espresso); color: var(--cream); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; } }
.stat { border-left: 1px solid rgba(244,234,216,0.18); padding-left: 30px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--terracotta); margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--serif-alt); font-style: italic;
  font-size: 20px; color: rgba(244,234,216,0.85); line-height: 1.25;
}
@media (max-width: 500px) { .stat { padding-left: 18px; } }

/* Cinema band (shared) */
.cinema-band { position: relative; height: min(85vh, 780px); overflow: hidden; }
.cinema-photo { position: absolute; inset: 0; }
.cinema-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.62); }
.cinema-overlay {
  position: absolute; bottom: 60px;
  left: var(--pad); right: var(--pad);
  color: var(--cream); max-width: 760px;
}
@media (max-width: 700px) { .cinema-band { height: 62vh; } .cinema-overlay { bottom: 36px; } }

/* Section headers: title left, lead right */
.split-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 60px; align-items: end;
}
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; gap: 24px; } }

/* ================================================================
   Dish cards — horizontal food showcase
================================================================ */
.dish-strip {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 28vw, 380px);
  gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 50px var(--pad) 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--coffee) transparent;
}
.dish-strip.dragging { scroll-snap-type: none; cursor: grabbing; }
.dish-strip.dragging * { pointer-events: none; }
.dish {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  user-select: none;
}
.dish-photo {
  aspect-ratio: 4/5; overflow: hidden; border-radius: 6px;
  position: relative; background: var(--espresso);
}
.dish-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
  -webkit-user-drag: none;
}
.dish:hover .dish-photo img { transform: scale(1.06); }
.dish-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(244,234,216,.94); color: var(--espresso);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  padding: 7px 12px; border-radius: 999px;
}
.dish-tag { transition: background .3s ease, color .3s ease; }
a.dish-tag:hover { background: var(--espresso); color: var(--cream); }
.dish-body { padding: 20px 4px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.dish-body h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.dish-body span { font-family: var(--serif-alt); font-style: italic; color: var(--terracotta); font-size: 17px; white-space: nowrap; }
.dish p { font-size: 14px; margin-top: 8px; padding: 0 4px; max-width: 36ch; }

/* ================================================================
   Photo mosaic (moments / community)
================================================================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(90px, 9vw, 140px);
  gap: 14px;
}
.mosaic figure { overflow: hidden; border-radius: 6px; position: relative; background: var(--espresso); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--serif-alt); font-style: italic; font-size: 17px;
  color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.mosaic .m-a { grid-column: 1 / 6;  grid-row: span 4; }
.mosaic .m-b { grid-column: 6 / 9;  grid-row: span 2; }
.mosaic .m-c { grid-column: 9 / 13; grid-row: span 3; }
.mosaic .m-d { grid-column: 6 / 9;  grid-row: span 3; }
.mosaic .m-e { grid-column: 9 / 13; grid-row: span 2; }
.mosaic .m-f { grid-column: 1 / 6;  grid-row: span 1; background: var(--terracotta); display: flex; align-items: center; justify-content: center; }
.mosaic .m-f p { color: var(--cream); font-family: var(--serif-alt); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); text-align: center; padding: 0 20px; }
@media (max-width: 800px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .mosaic .m-a, .mosaic .m-b, .mosaic .m-c, .mosaic .m-d, .mosaic .m-e { grid-column: auto; grid-row: span 1; }
  .mosaic .m-a { grid-column: 1 / 3; }
  .mosaic .m-f { grid-column: 1 / 3; grid-row: span 1; min-height: 0; }
}

/* ================================================================
   Lightbox
================================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(20,14,10,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
  cursor: auto;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.lightbox figure { max-width: min(92vw, 1200px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 4px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: var(--cream); font-family: var(--serif-alt); font-style: italic; font-size: 20px; margin-top: 16px; text-align: center; }
.lightbox button {
  position: absolute; color: var(--cream); cursor: pointer;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(244,234,216,.3);
  font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease;
}
.lightbox button:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lb-close { top: 22px; right: 22px; font-size: 18px !important; }
.lb-prev { left: 22px; top: 50%; translate: 0 -50%; }
.lb-next { right: 22px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 36px; left: 30px; color: rgba(244,234,216,.6); font-size: 12px; letter-spacing: .3em; }
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: 22px; translate: none; }
  .lightbox img { max-height: 70vh; }
}
html.has-cursor .lightbox, html.has-cursor .lightbox button { cursor: pointer; }
.lightbox.open ~ .cursor-dot, .lightbox.open ~ .cursor-ring { display: none; }

/* ================================================================
   Reduced motion
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}

/* Form honeypot (spam trap) — hidden from people */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
button[disabled] { opacity: .6; pointer-events: none; }
.form-status.error { color: #b3261e; }
