/* ============================================
   PALETTE & TYPE  (change colours here)
   ============================================ */
:root {
  --ivory: #f8f4ec;
  --ivory-2: #f1eadd;
  --champagne: #e7d8bd;
  --navy: #121a2e;
  --navy-2: #1b2540;
  --gold: #b8975a;
  --gold-soft: #d7bf8c;
  --ink: #1a2133;
  --ink-soft: #5d6274;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", -apple-system, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, .7, .18, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   CINEMATIC INTRO + FILM GRAIN
   ============================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--navy);
  pointer-events: none;
  animation: introOut 1s 1.1s var(--ease) forwards;
}
.intro-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 4rem;
  color: var(--gold-soft);
  opacity: 0;
  animation: markIn 1.1s .1s var(--ease) forwards;
}
@keyframes markIn  { from { opacity: 0; transform: translateY(10px); letter-spacing: .3em; } to { opacity: 1; transform: none; letter-spacing: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(248,244,236,.92), rgba(248,244,236,0));
  transition: background .5s;
}
/* over the navy section */
.topbar.dark { background: linear-gradient(to bottom, rgba(18,26,46,.9), rgba(18,26,46,0)); }
.topbar.dark .monogram { color: var(--ivory); }
.topbar.dark .music-btn { color: var(--ivory); background: rgba(18,26,46,.6); }
.monogram {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .18em;
  color: var(--ink);
}
.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(248,244,236,.7);
  border: 1px solid rgba(184,151,90,.45);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s;
}
.music-btn:hover { border-color: var(--gold); background: #fff; }
.music-btn:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.music-label b { font-weight: 500; color: var(--gold); }

/* small equaliser bars: still when off, moving when on */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 4px; background: var(--gold); border-radius: 1px; transition: height .3s; }
.music-btn[aria-pressed="true"] .eq i { animation: eq 1s ease-in-out infinite; }
.music-btn[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.4s; }
.music-btn[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }

/* ============================================
   SHARED TYPE
   ============================================ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow .dash { width: 36px; height: 1px; background: var(--gold); opacity: .6; }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  text-align: center;
  margin-top: 14px;
  color: var(--ink);
}
.light { color: var(--ivory); }
.eyebrow.light { color: var(--gold-soft); }

/* Scroll reveal (only when JavaScript runs) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px clamp(16px, 5vw, 64px) 100px;
}
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 34vh;
  color: var(--navy);
  opacity: .06;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent);
          mask-image: linear-gradient(to top, #000 40%, transparent);
}

.title {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 300;
  line-height: .98;
  margin: 26px 0 28px;
}
.title-hello {
  font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 10px;
}
.title-name {
  font-size: clamp(3rem, 7.4vw, 6.2rem);
  letter-spacing: -.01em;
  color: var(--ink);
}
.lede {
  max-width: 30em;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.scroll-cue i {
  position: relative;
  width: 56px; height: 1px;
  background: rgba(26,33,51,.2);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

.hero-text [data-reveal]:nth-child(1) { --delay: 1.3s; }
.hero-text [data-reveal]:nth-child(2) { --delay: 1.45s; }
.hero-text [data-reveal]:nth-child(3) { --delay: 1.6s; }
.hero-text [data-reveal]:nth-child(4) { --delay: 1.75s; }
.hero .photo { --delay: 1.5s; }

/* ============================================
   PHOTO – cinematic zoom, parallax, light
   ============================================ */
.photo {
  justify-self: end;
  width: min(100%, 440px);
  perspective: 1400px;
}
.photo-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
  padding: 12px;
  background: #fff;
  box-shadow:
    0 50px 80px -40px rgba(18, 26, 46, .45),
    0 0 0 1px rgba(184, 151, 90, .25);
}
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--champagne);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;   /* shows the printed photo, hides the table below it */
  --py: 0px;
  translate: 0 var(--py);
  scale: 1.1;
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { scale: 1.1;  transform-origin: 40% 40%; }
  to   { scale: 1.18; transform-origin: 60% 45%; }
}
/* warm drifting light leak */
.photo-light {
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 220, 170, .35), transparent 45%);
  mix-blend-mode: soft-light;
  animation: lightDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes lightDrift { to { transform: translate(18%, 12%); } }
.photo-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(18, 26, 46, .35);
  pointer-events: none;
}
.photo figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}
.photo figcaption span {
  font-family: var(--sans);
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   HOUSE FAVOURITES
   ============================================ */
.favourites {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(80px, 14vh, 140px) clamp(16px, 5vw, 48px);
}
.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: clamp(48px, 8vh, 72px);
  background: rgba(184, 151, 90, .3);   /* shows as a fine line between cards */
  border: 1px solid rgba(184, 151, 90, .3);
}
.menu-item {
  position: relative;
  background: var(--ivory);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  transition: background .6s var(--ease);
}
.menu-item:nth-child(2) { --delay: .15s; }
.menu-item:hover { background: #fffdf8; }
.menu-item::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 28px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .6s var(--ease), left .6s var(--ease);
}
.menu-item:hover::after { width: 60px; left: calc(50% - 30px); }

.menu-icon {
  width: 44px; height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .6s var(--ease);
}
.menu-item:hover .menu-icon { transform: translateY(-4px) rotate(-4deg); }
.menu-no {
  display: block;
  margin: 18px 0 8px;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.menu-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--ink);
}
.menu-item p {
  max-width: 24em;
  margin: 14px auto 0;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============================================
   FINALE – navy section with gift box
   ============================================ */
.finale {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(90px, 14vh, 140px) 16px 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(184,151,90,.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--ivory);
}

.gift-stage {
  position: relative;
  width: 280px;
  height: 420px;
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gift-glow {
  position: absolute;
  left: 50%; bottom: 60px;
  width: 420px; height: 420px;
  margin-left: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,191,140,.32) 0%, rgba(184,151,90,.12) 35%, transparent 65%);
  opacity: 0;
  transform: scale(.6);
  transition: opacity 1.4s .9s var(--ease), transform 1.8s .9s var(--ease);
  pointer-events: none;
}

.gift {
  position: relative;
  width: 220px;
  height: 200px;
  margin-bottom: 20px;
}
/* box body */
.gift-base {
  position: absolute;
  left: 10px; bottom: 0;
  width: 200px; height: 140px;
  z-index: 3;
  background: linear-gradient(160deg, #fbf7ef 0%, var(--champagne) 100%);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.6), inset 0 -12px 24px rgba(184,151,90,.18);
}
.gift-base::before {     /* vertical ribbon */
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 26px;
  margin-left: -13px;
  background: linear-gradient(90deg, #a5864d, var(--gold-soft) 50%, #a5864d);
}
/* lid */
.gift-lid {
  position: absolute;
  left: 0; bottom: 136px;
  width: 220px; height: 40px;
  z-index: 4;
  background: linear-gradient(160deg, #fffaf1 0%, #eadfc8 100%);
  box-shadow: 0 8px 14px -6px rgba(0,0,0,.35);
  transform-origin: 15% 100%;
}
.gift-lid::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 28px;
  margin-left: -14px;
  background: linear-gradient(90deg, #a5864d, var(--gold-soft) 50%, #a5864d);
}
.bow {
  position: absolute;
  left: 50%; bottom: 34px;
  width: 110px;
  margin-left: -55px;
  fill: var(--gold-soft);
  stroke: #a5864d;
  stroke-width: 1.5;
}

/* pasta inside the box */
.pasta {
  position: absolute;
  left: 10px; bottom: 20px;
  width: 200px; height: 100px;
  z-index: 2;
}
.nest {
  position: absolute;
  left: 50%; bottom: 0;
  width: 160px; height: 110px;
  margin-left: -80px;
  opacity: 0;
  overflow: visible;
}
.nest-ribbons ellipse { fill: none; }
.nest-ribbons { stroke: #f2dfb2; stroke-width: 7; }
.nest-outline { stroke: #a07d43; stroke-width: 9; }   /* thin golden edge under the ribbons */
.leaf { fill: #8a9a66; stroke: #5f6e43; stroke-width: .8; }
.leaf-vein { fill: none; stroke: #5f6e43; stroke-width: .7; opacity: .7; }
.gift-stage.is-open .nest {
  animation:
    nestRise 1.6s 1s var(--ease) forwards,
    nestBob 4s 2.6s ease-in-out infinite alternate;
}
@keyframes nestRise {
  0%   { opacity: 0; transform: translateY(0); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(-104px); }
}
@keyframes nestBob {
  from { opacity: 1; transform: translateY(-104px); }
  to   { opacity: 1; transform: translateY(-112px); }
}

.piece {
  position: absolute;
  left: 50%; bottom: 0;
  width: 64px; height: 64px;
  margin-left: -32px;
  opacity: 0;
  transform: translate(calc(var(--tx) * .15), 30px) rotate(0deg) scale(.7);
}
.pf { fill: #f2dfb2; stroke: #a07d43; stroke-width: 1.2; stroke-linejoin: round; }
.pl { fill: none; stroke: #b8935a; stroke-width: 1; stroke-linecap: round; opacity: .85; }

/* ----- the opening sequence ----- */
.gift-stage.is-open .gift { animation: wiggle .7s var(--ease); }
.gift-stage.is-open .gift-lid { animation: lidOff 1.2s .6s var(--ease) forwards; }
.gift-stage.is-open .gift-glow { opacity: 1; transform: scale(1); }
.gift-stage.is-open .piece {
  animation:
    rise 1.4s calc(1.1s + var(--d)) var(--ease) forwards,
    hover 5s calc(2.6s + var(--d)) ease-in-out infinite alternate;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-2.5deg); }
  40% { transform: rotate(2deg); }
  60% { transform: rotate(-1.2deg); }
  80% { transform: rotate(.6deg); }
}
@keyframes lidOff {
  0%   { transform: translate(0, 0) rotate(0); opacity: 1; }
  35%  { transform: translate(0, -26px) rotate(-4deg); opacity: 1; }
  100% { transform: translate(-60px, -180px) rotate(-24deg); opacity: 0; }
}
@keyframes rise {
  0%   { opacity: 0; transform: translate(calc(var(--tx) * .15), 30px) rotate(0) scale(.7); }
  25%  { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(1); }
}
@keyframes hover {
  from { transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(1); }
  to   { transform: translate(var(--tx), calc(var(--ty) - 10px)) rotate(calc(var(--r) + 6deg)) scale(1); }
}

/* PRESS HERE button */
.press-btn {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 18px 54px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-indent: .42em;       /* balances the letter-spacing */
  color: var(--gold-soft);
  background: transparent;
  border: 1px solid rgba(215, 191, 140, .6);
  cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease), opacity .6s, transform .6s var(--ease);
}
.press-btn::before {         /* gold fill that sweeps in on hover */
  content: "";
  position: absolute; inset: 0;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.press-btn span { position: relative; }
.press-btn:hover { color: var(--navy); border-color: var(--gold-soft); }
.press-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.press-btn:active { transform: scale(.98); }
.press-btn:focus-visible { outline: 1px solid var(--gold-soft); outline-offset: 5px; }
.press-btn.used {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* Gluten-Free Pasta label */
.gift-label {
  margin-top: -40px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s 2.6s var(--ease), transform 1.2s 2.6s var(--ease);
}
.gift-label.show { opacity: 1; transform: none; }
.label-kicker {
  font-size: .66rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.label-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.15;
  margin: 8px 0 10px;
  color: var(--ivory);
}
.label-note {
  font-size: .9rem;
  color: rgba(248, 244, 236, .6);
}

.finale-skyline {
  display: block;
  width: 100%;
  max-width: 1440px;
  height: auto;
  margin-top: clamp(60px, 10vh, 100px);
  color: var(--gold);
  opacity: .14;
  -webkit-mask-image: linear-gradient(to top, #000 50%, transparent);
          mask-image: linear-gradient(to top, #000 50%, transparent);
}
.footer {
  width: 100%;
  padding: 22px 16px 28px;
  text-align: center;
  font-size: .66rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, .45);
  border-top: 1px solid rgba(184, 151, 90, .2);
}
.footer span { color: var(--gold); margin: 0 8px; }

/* ============================================
   PHONE & TABLET
   ============================================ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
    text-align: center;
  }
  .hero .eyebrow { justify-content: center; }
  .title { align-items: center; }
  .lede { margin: 0 auto; }
  .scroll-cue { display: none; }
  .photo { justify-self: center; width: min(100%, 380px); }
  .hero-skyline { height: 18vh; }
}
@media (max-width: 600px) {
  .menu { grid-template-columns: 1fr; }
  .music-btn { padding: 8px 12px; letter-spacing: .16em; }
  .gift-stage { transform: scale(.9); transform-origin: bottom center; }
  .press-btn { padding: 16px 40px; }
}

/* ============================================
   REDUCED MOTION – no movement, same content
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
