/* The Gilded Hour – landing page
   Palette comes from the brand: espresso-brown signage, gold leaf, the speckled cream cup, and London dusk. */
:root {
  --espresso: #22140e;
  --roast: #3b251a;
  --gilt: #d4a84b;
  --gilt-deep: #9a7430;
  --cream: #f1e8d8;
  --dusk: #1c2740;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Jost", "Futura", "Century Gothic", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border: 1px solid var(--gilt);
  border-radius: 999px;
  background: var(--gilt);
  color: var(--espresso);
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--cream); border-color: var(--cream); }
.btn--ghost { background: transparent; color: var(--gilt); }
.btn--ghost:hover { background: var(--gilt); color: var(--espresso); border-color: var(--gilt); }
.btn--small { padding: 0.55em 1.2em; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(34, 20, 14, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav__mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gilt);
  text-decoration: none;
}

/* ---------- 1. Hero: drone flight video ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--espresso);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Text sits in a right-hand column so the cup (centre-left in the final frame) stays clear.
   The shade darkens only that side; the flight on the left stays bright. */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(22, 13, 9, 0.88) 0%, rgba(22, 13, 9, 0.62) 28%, rgba(22, 13, 9, 0.28) 44%, transparent 62%),
    linear-gradient(to top, rgba(22, 13, 9, 0.6), transparent 16%),
    linear-gradient(to bottom, rgba(22, 13, 9, 0.45), transparent 18%);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-46%);
  width: min(38vw, 34rem);
}
.hero__place {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 400;
  color: var(--gilt);
}
.hero__title {
  margin-top: 0.35rem;
  font-size: clamp(2.6rem, 5.2vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gilt);
  /* engraved-gold feel: a light top edge and a soft drop, like the sign letters */
  background: linear-gradient(180deg, #f3d891 0%, var(--gilt) 45%, #a8802f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 18px rgba(0, 0, 0, 0.55));
}
.hero__lead {
  margin-top: 1rem;
  max-width: 30rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--cream);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
}
.hero__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: rgba(241, 232, 216, 0.8);
}
.hero__replay {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--gilt);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.hero__replay[hidden] { display: none; }
.hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(212, 168, 75, 0.2);
}
.hero__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
}

/* One orchestrated entrance as the flight begins */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero__place, .hero__title, .hero__lead, .hero__actions {
  animation: hero-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__place { animation-delay: 0.3s; }
.hero__title { animation-delay: 0.5s; }
.hero__lead { animation-delay: 0.8s; }
.hero__actions { animation-delay: 1s; }

/* ---------- 2. Day to dusk ---------- */
.day__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--dusk);
}
.day__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.day__img--dusk { clip-path: inset(0 0 0 100%); }
.day__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 12, 8, 0.82) 0%, rgba(20, 12, 8, 0.45) 45%, transparent 75%);
}
.day__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  max-width: 46rem;
}
.day__clock {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.9;
  color: var(--gilt);
  font-variant-numeric: tabular-nums;
}
.day__title {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  max-width: 18ch;
}
.day__moments {
  position: relative;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  min-height: 3.4em;
  max-width: 26rem;
}
.day__moment {
  position: absolute;
  inset: 0 auto auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.day__moment.is-active { opacity: 1; transform: none; }

/* ---------- 3. Inside gallery ---------- */
.inside { background: var(--espresso); }
.inside__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 5vh, 48px);
  padding: 88px 0 32px;
  overflow: hidden;
}
.inside__intro { padding: 0 var(--gutter); max-width: var(--measure); }
.inside__title { font-size: clamp(2.4rem, 6vw, 5rem); color: var(--gilt); margin-bottom: 0.5rem; }
.inside__hint { margin-top: 0.4rem; font-size: 0.95rem; color: var(--gilt); }
.inside__track {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter);
  width: max-content;
  perspective: 1400px;
}
.card {
  margin: 0;
  /* fit the card, its caption and the intro text inside one screen height */
  width: min(62vw, 720px, (100svh - 400px) * 1.5);
  transform-style: preserve-3d;
  will-change: transform;
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.card figcaption { margin-top: 0.9rem; font-size: 1rem; color: var(--cream); }

/* ---------- 4. Menu ---------- */
.menu {
  background: var(--cream);
  color: var(--espresso);
  padding: clamp(72px, 12vh, 140px) var(--gutter);
}
.menu__title { font-size: clamp(2.2rem, 5.5vw, 4.5rem); max-width: 14ch; margin-bottom: clamp(32px, 6vh, 64px); }
.menu__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.menu__col h3 {
  font-size: 1.4rem;
  color: var(--gilt-deep);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gilt);
  margin-bottom: 0.4rem;
}
.menu__col dl { margin: 0; }
.menu__col dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(34, 20, 14, 0.15);
}
.menu__col dt { font-weight: 400; }
.menu__col dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 5. Visit ---------- */
.visit {
  position: relative;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  background:
    linear-gradient(rgba(28, 39, 64, 0.82), rgba(34, 20, 14, 0.94)),
    url("assets/cafe-at-dusk.jpg") center / cover;
}
.visit__inner { max-width: 60rem; }
.visit__title { font-size: clamp(2.6rem, 8vw, 7rem); color: var(--gilt); }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin: clamp(32px, 6vh, 56px) 0;
}
.visit__grid h3 { font-family: var(--body); font-weight: 500; font-size: 1rem; color: var(--gilt); margin-bottom: 0.4rem; }
.visit__grid p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 28px var(--gutter);
  font-size: 0.9rem;
  color: rgba(241, 232, 216, 0.7);
  background: var(--espresso);
}
.footer__mark { font-family: var(--display); font-weight: 700; color: var(--gilt); }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
  /* Portrait crop puts the cup in the middle, so the text moves to the top */
  .hero__content { top: 84px; right: var(--gutter); left: var(--gutter); width: auto; transform: none; }
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(22, 13, 9, 0.9) 0%, rgba(22, 13, 9, 0.6) 40%, transparent 62%),
      linear-gradient(to top, rgba(22, 13, 9, 0.6), transparent 16%);
  }
  .card { width: min(82vw, (100svh - 400px) * 1.5); }
  .day__shade { background: linear-gradient(0deg, rgba(20, 12, 8, 0.85) 0%, rgba(20, 12, 8, 0.5) 60%, rgba(20, 12, 8, 0.2) 100%); }
  .day__copy { justify-content: flex-end; padding-bottom: 64px; }
}

/* ---------- Reduced motion: no pinning, everything shown as still images ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__place, .hero__title, .hero__lead, .hero__actions { animation: none; }
  .hero__progress { display: none; }
  .day__img--dusk { clip-path: inset(0 0 0 50%); }
  .day__moment { position: static; opacity: 1; transform: none; margin-bottom: 0.4rem; }
  .day__moments { min-height: 0; }
  .inside__track { width: auto; overflow-x: auto; padding-bottom: 16px; }
  .inside__hint { display: none; }
}
