/* ============================================================================
   Ducey's on the Lake — marketing site
   ----------------------------------------------------------------------------
   Palette and type are lifted from the live basslake.com theme so this sits
   inside The Pines Resort's existing brand rather than beside it:
     navy   rgb(19,64,116)  #134074   (theme's primary)
     gold   rgb(255,205,42) #FFCD2A   (theme's CTA yellow)
     type   Playfair Display / Lato / Mrs Saint Delafield
   Everything darker or lighter than those is an extension built from them,
   not an invention.
============================================================================ */

/* ------------------------------------------------------------------ tokens */
:root {
  --navy-950: #04101F;
  --navy-900: #06152C;
  --navy-850: #0A1D3B;
  --navy-800: #0F2A54;
  --navy-700: #134074;
  --navy-600: #1B5591;
  --navy-500: #2A6FB0;

  --gold:      #FFCD2A;
  --gold-warm: #F5B921;
  --gold-deep: #C99A16;

  --cream: #F6F1E7;
  --sand:  #E4D9C3;
  --stone: #A9B4C4;

  --ink: #10161F;

  --font-display: 'Playfair Display', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Mrs Saint Delafield', 'Snell Roundhand', 'Brush Script MT', cursive;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------- utilities */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-wide { width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto; }

.script {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  display: block;
  font-weight: 400;
}

.eyebrow {
  font-size: .74rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.rule {
  width: 68px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.6rem 0;
  border: 0;
}
.rule.center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #DCE4EF; }
.muted { color: var(--stone); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .4s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 10px 34px -14px rgba(255, 205, 42, .8);
}
.btn-gold:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 18px 44px -16px rgba(255, 205, 42, .95); }

.btn-ghost { border-color: rgba(246, 241, 231, .38); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-ink { background: var(--navy-700); color: #fff; }
.btn-ink:hover { background: var(--navy-600); transform: translateY(-2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem var(--gutter);
  transition: background .5s var(--ease-out), padding .5s var(--ease-out), border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 21, 44, .93);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  padding-block: .85rem;
  border-bottom-color: rgba(255, 205, 42, .18);
}

.brand-lockup { display: flex; align-items: center; gap: .95rem; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 205, 42, .5);
  border-radius: 50%;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
}
.brand-text { line-height: 1.2; display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 2.1rem; }
.site-nav a {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: rgba(246, 241, 231, .82);
  position: relative; padding-block: .35rem;
  transition: color .3s;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: .78rem 1.5rem; font-size: .68rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid rgba(246, 241, 231, .3); border-radius: 2px;
  cursor: pointer; position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 12px; width: 20px; height: 1.5px;
  background: var(--cream); transition: transform .4s var(--ease-out), opacity .3s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-cta .btn-ghost { display: none; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.9rem;
    padding: 5rem 2.6rem;
    background: rgba(4, 16, 31, .985);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform .6s var(--ease-out);
    border-left: 1px solid rgba(255, 205, 42, .2);
  }
  .site-nav.open { transform: none; }
  .site-nav a { font-size: .9rem; }
}

/* ==========================================================================
   HERO — crossfading Ken Burns stack standing in for a video plate
   ==========================================================================
   No hero video file exists on basslake.com, so rather than ship a black
   <video> that never plays, the hero runs a slow zoom + crossfade over the
   resort's own photography. It reads as motion, weighs a fraction of a video,
   and never fails on mobile autoplay policies. Swapping in a real .mp4 later
   is a drop-in: give .hero-media a <video> child and delete .hero-slide.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.4s ease-in-out;
}
.hero-slide.active { opacity: 1; animation: kenburns 16s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.4%, -1.2%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active { animation: none; transform: scale(1.04); }
}

.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 105%, rgba(6, 21, 44, .96) 0%, rgba(6, 21, 44, 0) 62%),
    linear-gradient(to bottom, rgba(4, 16, 31, .82) 0%, rgba(4, 16, 31, .28) 34%, rgba(4, 16, 31, .55) 72%, var(--navy-950) 100%);
}
/* faint water-shimmer band, keeps the plate from reading as a flat photo */
.hero-shimmer {
  position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1;
  background: linear-gradient(to top, rgba(43, 111, 176, .16), transparent);
  mix-blend-mode: screen;
  animation: shimmer 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes shimmer { from { opacity: .35; } to { opacity: .85; } }

.hero-inner { text-align: center; padding: 7rem var(--gutter) 7.5rem; max-width: 940px; }
.hero-inner .script { margin-bottom: .3rem; }
.hero h1 {
  /* vh is in the clamp as well as vw so the headline shrinks on a short
     laptop viewport instead of pushing the CTAs under the scroll cue */
  font-size: clamp(2.6rem, min(8.2vw, 11.5vh), 6.2rem);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 60px rgba(0, 0, 0, .55);
}
.hero-tagline {
  margin: 1.7rem auto 0;
  max-width: 610px;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  color: #D6DFEC;
  letter-spacing: .02em;
}
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .9rem 1.9rem;
  margin-top: 1.5rem;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--stone);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-meta span::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.9rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--stone);
}
.scroll-cue i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; }
@media (max-height: 700px) { .scroll-cue { display: none; } .hero-inner { padding-block: 6rem 4rem; } }
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.section { position: relative; padding: clamp(6rem, 12vw, 10.5rem) 0; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.section-head p { margin-top: 1.4rem; }

.bg-navy   { background: var(--navy-900); }
.bg-deep   { background: var(--navy-950); }
.bg-cream  { background: var(--cream); color: var(--ink); }
.bg-cream .eyebrow { color: var(--gold-deep); }
.bg-cream .lede, .bg-cream p { color: #3B4553; }
.bg-cream .rule { background: linear-gradient(90deg, var(--gold-deep), transparent); }
.bg-cream .rule.center { background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); }

/* ==========================================================================
   SPLIT — image beside copy, image drifts on scroll
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split.flip > .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > .split-media { order: 0; } }

.split-media {
  position: relative;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  border-radius: 2px;
}
.split-media img {
  width: 100%; height: 118%; object-fit: cover;
  position: absolute; top: -9%; left: 0;
  will-change: transform;
}
.split-media::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 205, 42, .22);
  pointer-events: none;
}
.split-media .badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--gold); color: var(--navy-900);
  padding: .85rem 1.6rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}

/* ==========================================================================
   VENUES — the four Dine entries, as full-bleed cinematic panels
   ========================================================================== */
.venues { display: grid; gap: 3px; }

.venue {
  position: relative;
  min-height: clamp(460px, 62vh, 660px);
  display: grid; align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.venue-bg {
  position: absolute; inset: -8% 0;
  background-size: cover; background-position: center;
  z-index: -2;
  will-change: transform;
  transition: filter 1s var(--ease-out);
  filter: saturate(.92);
}
/* Two crossed gradients, not one. The venue photography is bright, busy resort
   imagery — a single bottom-up scrim left the headline sitting on a lit window
   or a green tree and the text disappeared. The left-to-right pass guarantees
   the column the copy actually occupies is always dark. */
.venue::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(4, 16, 31, .97) 0%, rgba(4, 16, 31, .8) 40%, rgba(4, 16, 31, .42) 74%, rgba(4, 16, 31, .3) 100%),
    linear-gradient(to right, rgba(4, 16, 31, .9) 0%, rgba(4, 16, 31, .68) 38%, rgba(4, 16, 31, .1) 74%, rgba(4, 16, 31, 0) 100%);
  transition: opacity .8s;
}
.venue:hover .venue-bg { filter: saturate(1.12); }

.venue-inner { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); max-width: 780px; }
.venue-index {
  font-family: var(--font-display);
  font-size: .8rem; letter-spacing: .3em; color: var(--gold);
  display: block; margin-bottom: .9rem;
}
.venue h3 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.venue-kicker {
  margin: .8rem 0 0;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); font-weight: 700;
}
.venue p.venue-copy { margin: 1.4rem 0 0; max-width: 620px; color: #D2DBE7; }
.venue-hours {
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font-size: .78rem; color: var(--sand);
}
.venue-hours b { color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.venue-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* ==========================================================================
   PARALLAX QUOTE BREAK
   ========================================================================== */
.parallax-break {
  position: relative;
  min-height: 78vh;
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
}
.parallax-break .venue-bg { inset: -14% 0; }
.parallax-break::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(4, 16, 31, .78), rgba(4, 16, 31, .88));
}
.parallax-break blockquote {
  margin: 0; padding: 0 var(--gutter); max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.32;
}
.parallax-break cite {
  display: block; margin-top: 2rem;
  font-family: var(--font-body); font-style: normal;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}

/* ==========================================================================
   SIGNATURE DISHES
   ========================================================================== */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 205, 42, .16);
  margin-top: 4rem;
}
.dish {
  background: var(--navy-900);
  padding: 2.6rem 2rem;
  transition: background .5s var(--ease-out), transform .5s var(--ease-out);
  position: relative;
}
.dish:hover { background: var(--navy-800); transform: translateY(-4px); z-index: 2; }
.dish-emoji { font-size: 2rem; display: block; margin-bottom: 1.2rem; filter: saturate(1.1); }
.dish h4 { font-size: 1.28rem; }
.dish-price {
  display: block; margin-top: .55rem;
  font-family: var(--font-display); color: var(--gold); font-size: 1.5rem;
}
.dish p { margin: 1rem 0 0; font-size: .89rem; color: var(--stone); line-height: 1.65; }

/* ==========================================================================
   ORDER CTA STRIP
   ========================================================================== */
.order-cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-850) 62%);
  overflow: hidden;
}
.order-cta::before {
  content: ''; position: absolute; inset: -40% -10% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(255, 205, 42, .16), transparent 62%);
  pointer-events: none;
}
.order-cta .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .order-cta .wrap { grid-template-columns: 1fr; } }
.order-cta h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.order-steps { display: grid; gap: 1.5rem; }
.order-step { display: flex; gap: 1.15rem; align-items: flex-start; }
.order-step i {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--font-display); font-style: normal; font-size: .86rem;
}
.order-step b { display: block; font-weight: 700; letter-spacing: .02em; }
.order-step span { font-size: .88rem; color: var(--stone); }

/* ==========================================================================
   BAR LIST (display only — not orderable, see menu-data.js)
   ========================================================================== */
.bar-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3.5rem; margin-top: 3.5rem; }
.bar-list { list-style: none; margin: 0; padding: 0; }
.bar-list li { padding: 1.15rem 0; border-bottom: 1px solid rgba(255, 205, 42, .16); }
.bar-list .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bar-list .name { font-family: var(--font-display); font-size: 1.12rem; }
.bar-list .dots { flex: 1; border-bottom: 1px dotted rgba(169, 180, 196, .45); transform: translateY(-4px); }
.bar-list .price { color: var(--gold); font-family: var(--font-display); font-size: 1.12rem; }
.bar-list .desc { font-size: .84rem; color: var(--stone); margin-top: .3rem; }

.bar-note {
  margin-top: 2.5rem; padding: 1.15rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: rgba(255, 205, 42, .07);
  font-size: .88rem; color: var(--sand);
}

/* ==========================================================================
   HISTORY TIMELINE
   ========================================================================== */
.timeline { margin-top: 4rem; display: grid; gap: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--gold-deep), rgba(201, 154, 22, .12));
}
.tl-item { display: grid; grid-template-columns: 15px 1fr; gap: 1.9rem; padding: 1.4rem 0; }
.tl-dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--gold-deep); background: var(--cream); margin-top: .55rem; }
.tl-year { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-deep); line-height: 1; }
.tl-item p { margin: .6rem 0 0; }

/* ==========================================================================
   VISIT / FOOTER
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.visit-card h4 { font-size: 1.1rem; letter-spacing: .04em; }
.visit-card .rule { margin: 1rem 0; }
.visit-card p { margin: 0; font-size: .93rem; color: var(--stone); }
.visit-card a:hover { color: var(--gold); }

.site-footer { background: var(--navy-950); padding: 4.5rem 0 3rem; border-top: 1px solid rgba(255, 205, 42, .16); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-bottom {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(169, 180, 196, .14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .76rem; color: var(--stone);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
