/* ==========================================================================
   Food Brothers Amsterdam — Cinematic Burger Showcase
   ========================================================================== */

:root{
  --bg: #0a0a0b;
  --bg-soft: #101012;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --border: rgba(255,255,255,0.09);
  --border-soft: rgba(255,255,255,0.05);
  --text: #f4f1ec;
  --text-dim: #a8a49d;
  --text-faint: #8f8b83; /* was #706c66 — 3.79:1 on --bg, fails WCAG AA; this is ~5.8:1 */
  --accent: #d9a55c;
  --accent-bright: #f0c07f;
  --accent-dim: rgba(217,165,92,0.14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Matches the hand-painted script on the restaurant's real storefront sign. */
  --font-logo: "Pacifico", cursive;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --nav-h: 84px;
  --nav-h-shrunk: 64px;
}

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

html{
  scroll-behavior: auto;
  background: var(--bg);
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,p{ margin: 0; }

::selection{ background: var(--accent); color: #1a1305; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #1a1305;
  font-weight: 700;
  border-radius: 8px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus{
  top: 1rem;
}

.noscript-banner{
  background: var(--surface);
  color: var(--text);
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.noscript-banner a{ color: var(--accent); text-decoration: underline; }

.eyebrow{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-head{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.section-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .3s ease;
}

.btn--primary{
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #1a1305;
  box-shadow: 0 8px 30px -8px rgba(217,165,92,0.55);
}

.btn--primary:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px -10px rgba(217,165,92,0.7);
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity .8s var(--ease-in-out), visibility .8s;
}

.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__mark{
  font-family: var(--font-logo);
  font-size: 2rem;
  letter-spacing: 0;
  color: var(--text);
}
.preloader__mark span{ color: var(--accent); padding: 0 .1em; }

.preloader__bar{
  width: min(240px, 60vw);
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__fill{
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: preloaderSlide 1.1s ease-in-out infinite;
}
@keyframes preloaderSlide{
  0%{ transform: translateX(-100%); }
  100%{ transform: translateX(350%); }
}
@media (prefers-reduced-motion: reduce){
  .preloader__fill{ animation: none; width: 100%; }
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 1000;
  background: transparent;
}

.scroll-progress__fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px 0 rgba(217,165,92,0.6);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height .45s var(--ease-out), background .45s ease, border-color .45s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled{
  height: var(--nav-h-shrunk);
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.nav__inner{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand{
  font-family: var(--font-logo);
  font-size: 1.5rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav__brand span{ color: var(--accent); padding: 0 .1em; }

.nav__links{
  display: flex;
  gap: clamp(1rem, 1.8vw, 2rem);
  flex: 1;
  justify-content: center;
}

.nav__links a{
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.4rem 0.1rem;
  transition: color .3s ease;
}

.nav__links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease-out);
}

.nav__links a:hover{ color: var(--text); }
.nav__links a:hover::after,
.nav__links a.is-active::after{ right: 0; }
.nav__links a.is-active{ color: var(--text); }

.lang-switch{
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.lang-switch button{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.65rem;
  border-radius: 100px;
  color: var(--text-faint);
  transition: color .25s ease, background .25s ease;
}
.lang-switch button:hover{ color: var(--text-dim); }
.lang-switch button.is-active{
  color: #1a1305;
  background: var(--accent);
}

.lang-switch--mobile{
  margin: 0.25rem 0 0;
  align-self: flex-start;
}
.lang-switch--mobile button{ font-size: 0.85rem; padding: 0.4rem 0.85rem; }

.lang-switch--footer{
  margin: 1.25rem 0 0;
  align-self: flex-start;
}
.lang-switch--footer button{ font-size: 0.8rem; }

@media (max-width: 1040px){
  .lang-switch:not(.lang-switch--mobile):not(.lang-switch--footer){ display: none; }
}

.nav__cta{
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.nav__cta:hover{
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav__toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
}
.nav__toggle span{
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
}

.nav__mobile{
  display: none;
}

@media (max-width: 1040px){
  .nav__links{ display: none; }
  .nav__cta{ display: none; }
  .nav__toggle{ display: flex; }

  .nav__mobile{
    display: flex;
    position: fixed;
    top: var(--nav-h-shrunk);
    left: 0; right: 0;
    background: rgba(10,10,11,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
    gap: 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease-out), opacity .35s ease, visibility .35s;
  }
  .nav__mobile.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__mobile a{ font-size: 1rem; color: var(--text-dim); }
  .nav__cta--mobile{
    display: inline-flex;
    width: fit-content;
    border: 1px solid var(--border);
    padding: 0.7rem 1.6rem;
    border-radius: 100px;
    color: var(--text);
    margin-top: .5rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg{
  position: absolute; inset: 0;
  z-index: 0;
}

.glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.glow--1{
  width: 50vw; height: 50vw;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(217,165,92,0.5), transparent 70%);
}
.glow--2{
  width: 45vw; height: 45vw;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(120,70,30,0.45), transparent 70%);
}
.glow--3{
  width: 55vw; height: 55vw;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(217,165,92,0.25), transparent 70%);
}

.grain{
  position: absolute; inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.1s var(--ease-in-out);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  animation-play-state: paused;
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 48%, black 75%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 85% at 50% 48%, black 75%, transparent 100%);
}
.hero__image.is-ready{
  opacity: 1;
  animation-play-state: running;
}

@keyframes heroKenBurns{
  from{ transform: scale(1); }
  to{ transform: scale(1.06); }
}

.hero__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 48% at 50% 42%, rgba(6,6,7,0.62) 0%, rgba(6,6,7,0.28) 45%, transparent 75%),
    linear-gradient(180deg, rgba(6,6,7,0.45) 0%, transparent 22%, transparent 72%, rgba(6,6,7,0.55) 100%);
}

.hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  margin-top: 8vh;
  pointer-events: none;
}

.hero__content .eyebrow{
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  display: flex;
  flex-direction: column;
  text-shadow: 0 4px 40px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.5);
}

.hero__sub{
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text);
  opacity: 0.82;
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.scroll-cue{
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.scroll-cue span{
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.scroll-cue__mouse{
  width: 22px; height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-cue__dot{
  width: 3px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot{
  0%{ transform: translateY(0); opacity: 1; }
  60%{ transform: translateY(10px); opacity: 0; }
  61%{ transform: translateY(0); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* generic reveal-up (used by JS / GSAP as starting state via CSS class) */
.reveal-up{
  opacity: 0;
  transform: translateY(28px);
}
.reveal-up.is-in{
  animation: revealUp 1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 0.09s);
}
@keyframes revealUp{
  to{ opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Story (ingredient rows)
   ========================================================================== */

.story{
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.story .section-head{ margin-bottom: clamp(3rem, 8vh, 6rem); }

.story__row{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  margin-bottom: clamp(4rem, 10vh, 7rem);
}

.story__row:last-child{ margin-bottom: 0; }

.story__row--reverse{
  grid-template-columns: 1fr 1.1fr;
}
.story__row--reverse .story__media{ order: 2; }
.story__row--reverse .story__text{ order: 1; }

.story__media{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

.story__media img{
  width: 100%; height: 130%;
  object-fit: cover;
  position: relative;
  top: -8%;
  will-change: transform;
}

.story__text{ max-width: 440px; }

.story__index{
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.story__text h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.story__text p{
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.7;
}

@media (max-width: 760px){
  .story__row, .story__row--reverse{
    grid-template-columns: 1fr;
  }
  .story__row--reverse .story__media,
  .story__row--reverse .story__text{ order: initial; }
}

/* ==========================================================================
   Details
   ========================================================================== */

.details{
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: var(--bg-soft);
}

.details .section-head{ margin-bottom: clamp(3rem, 7vh, 5rem); }

.details__grid{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.detail-card{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: transform .5s var(--ease-out), border-color .4s ease, background .4s ease;
}

.detail-card.is-in{
  animation: cardIn .9s var(--ease-out) forwards;
}
@keyframes cardIn{
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.detail-card:hover{
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.detail-card__num{
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.detail-card h3{
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.detail-card p{
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 980px){
  .details__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .details__grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Menu (featured items)
   ========================================================================== */

.menu{
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.menu .section-head{ margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.menu__sub{
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 1rem;
}

.menu__grid{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.menu-card{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: transform .5s var(--ease-out), border-color .4s ease;
}
.menu-card.is-in{ animation: cardIn .9s var(--ease-out) forwards; }
.menu-card:hover{ border-color: var(--accent); transform: translateY(-4px); }

.menu-card__media{
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.menu-card__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.menu-card:hover .menu-card__media img{ transform: scale(1.06); }

.menu-card__badge{
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217,165,92,0.4);
  color: var(--accent-bright);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.menu-card h3{
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.2rem 1.3rem 0.5rem;
}

.menu-card p{
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 1.3rem 1.3rem;
}

.menu-card__price{
  display: inline-block;
  margin: -0.6rem 1.3rem 1.3rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.menu__cta{
  text-align: center;
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

@media (max-width: 980px){
  .menu__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .menu__grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery{
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.gallery .section-head{ margin-bottom: clamp(3rem, 7vh, 5rem); }

/* Draggable, infinitely-wrapping photo wall. The track holds 4 copies of the
   same block tiled 2x2 (.drag-gallery__block); dragging/wheel-panning moves
   the track and wraps its position by one block's width/height, so it loops
   seamlessly forever in any direction instead of hitting an edge. */
.drag-gallery{
  position: relative;
  height: 85vh;
  max-height: 780px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background: #050506;
}

.drag-gallery__viewport{
  height: 100%;
  overflow: hidden;
}

.drag-gallery__track{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: fit-content;
  height: fit-content;
  cursor: grab;
  touch-action: none;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.drag-gallery__track.is-dragging{ cursor: grabbing; }

.drag-gallery__block{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  padding: 1.75rem;
  width: fit-content;
  height: fit-content;
}

.drag-gallery__item{
  position: relative;
  display: block;
  width: 150px;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.3);
}
.drag-gallery__item.is-in{
  animation: dragItemIn 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
.drag-gallery__item:nth-child(even){ margin-top: 55%; }

.drag-gallery__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

@keyframes dragItemIn{
  from{ opacity: 0; transform: scale(0.3); }
  to{ opacity: 1; transform: scale(1); }
}

.drag-gallery__hint{
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  pointer-events: none;
  transition: opacity .6s ease;
}
.drag-gallery__hint svg{ width: 16px; height: 16px; }
.drag-gallery__hint.is-hidden{ opacity: 0; }

@media (min-width: 720px){
  .drag-gallery__block{ gap: 2.75rem; padding: 2.75rem; }
  .drag-gallery__item{ width: 230px; height: 330px; border-radius: 14px; }
}

@media (max-width: 780px){
  .drag-gallery{ height: 70vh; }
}

@media (prefers-reduced-motion: reduce){
  .drag-gallery__item{ opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews{
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: var(--bg);
  overflow: hidden;
}

.reviews .section-head{ margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.reviews__stars{
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.reviews__intro{
  max-width: 560px;
  margin: 1.2rem auto 0;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.7;
}

.reviews__badge{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 7vh, 4.5rem);
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  text-align: left;
}

.reviews__badge-score{
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--text);
  line-height: 1;
}

.reviews__badge-meta{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 160px;
}
.reviews__badge-stars{ color: var(--accent); letter-spacing: 0.1em; font-size: 0.95rem; }
.reviews__badge-count{ font-weight: 600; font-size: 0.95rem; color: var(--text); }
.reviews__badge-source{ font-size: 0.8rem; color: var(--text-faint); }

.reviews__marquee{
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.reviews__track{
  display: flex;
  width: max-content;
  gap: 1.25rem;
  padding: 0 1.25rem;
  animation: reviewsScroll 42s linear infinite;
}
.reviews__track.is-paused,
.reviews__track:hover,
.reviews__track:focus-within{
  animation-play-state: paused;
}

@keyframes reviewsScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.review-card{
  flex: 0 0 auto;
  width: min(340px, 80vw);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform .4s var(--ease-out), border-color .4s ease;
}
.review-card:hover{
  transform: translateY(-4px);
  border-color: var(--accent);
}

.review-card__stars{
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-card__text{
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 4.9em;
}

.review-card__source{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-faint);
  font-size: 0.85rem;
  font-weight: 600;
}
.review-card__source svg{ width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 560px){
  .reviews__badge{ flex-direction: column; text-align: center; padding: 1.5rem; }
  .review-card{ width: min(280px, 78vw); padding: 1.4rem; }
}

/* ==========================================================================
   Order / CTA
   ========================================================================== */

.order{
  position: relative;
  padding: clamp(7rem, 18vh, 11rem) 1.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.order__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.order__sub{
  margin: 1.2rem auto 2.6rem;
  max-width: 460px;
  color: var(--text-dim);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.order .btn{ position: relative; z-index: 1; }

.order__actions{
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn--ghost{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover{
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact{
  padding: clamp(5rem, 12vh, 8rem) 1.5rem clamp(6rem, 14vh, 9rem);
  text-align: center;
  background: var(--bg);
}

.contact__grid{
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.contact__card{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 2.75rem);
}

.contact__address{
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.contact__phone{
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color .3s ease;
}
.contact__phone:hover{ color: var(--accent); }

.contact__hours{
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}
.contact__hours[hidden]{ display: none; }

.contact__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact__directions{
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  transition: opacity .3s ease;
}
.contact__directions:hover{ opacity: 0.8; }

.contact__map{
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.contact__map iframe{
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

@media (max-width: 860px){
  .contact__grid{ grid-template-columns: 1fr; }
  .contact__map{ order: -1; min-height: 220px; }
  .contact__map iframe{ min-height: 220px; }
}

.contact__form-card{
  max-width: 1000px;
  margin: 1.5rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 2.75rem);
  text-align: left;
}

.contact__form-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.contact__form-sub{
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.contact-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field{ margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.field:last-child{ margin-bottom: 0; }

.field label{
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}
.field__optional{ font-weight: 400; color: var(--text-faint); }

.field input,
.field textarea{
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.98rem;
  font-family: var(--font-body);
  transition: border-color .3s ease, box-shadow .3s ease;
  color-scheme: dark;
}
.field textarea{ resize: vertical; min-height: 110px; }

.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-error{
  background: rgba(220,80,60,0.12);
  border: 1px solid rgba(220,80,60,0.35);
  color: #ff9c8a;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.form-success{
  background: rgba(90,180,120,0.12);
  border: 1px solid rgba(90,180,120,0.35);
  color: #86e0a8;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 560px){
  .contact-form__row{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer{
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 3rem 1.5rem;
}

.footer__inner{
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand{
  font-family: var(--font-logo);
  font-size: 1.5rem;
  letter-spacing: 0;
}
.footer__brand span{ color: var(--accent); padding: 0 .1em; }

.footer__links{
  display: flex;
  gap: 1.8rem;
}
.footer__links a{
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color .3s ease;
}
.footer__links a:hover{ color: var(--text); }

.footer__meta{
  font-size: 0.78rem;
  color: var(--text-faint);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

@media (min-width: 640px){
  .footer__meta{ width: auto; text-align: right; margin-top: 0; }
}

/* ---- rich footer (index.html) ---- */

.footer--rich{
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vh, 6rem) 1.5rem 0;
}

.footer__glow{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(125% 90% at 50% 0%, rgba(217,165,92,0.16) 0%, transparent 60%);
}

.footer__grid{
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__col--brand .footer__brand{ font-size: 1.3rem; }

.footer__tagline{
  margin-top: 1rem;
  max-width: 320px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer__col-title{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.footer__col-links{
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer__col-links a{
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color .3s ease;
}
.footer__col-links a:hover{ color: var(--accent); }

.footer__contact-list{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__contact-list li{
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.footer__contact-list svg{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent);
}
.footer__contact-list a{
  color: var(--text-dim);
  transition: color .3s ease;
}
.footer__contact-list a:hover{ color: var(--accent); }

.footer__divider{
  position: relative;
  z-index: 1;
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0;
}

.footer__bottom{
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  text-align: center;
}
.footer--rich .footer__meta{ width: auto; text-align: center; margin-top: 0; }

.footer__wordmark{
  position: relative;
  z-index: 1;
  height: clamp(120px, 16vw, 220px);
}

.hover-text{
  width: 100%;
  height: 100%;
  display: block;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}
.hover-text text{
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 68px;
  letter-spacing: 0;
}
.hover-text__outline{
  fill: none;
  stroke: var(--border);
  stroke-width: 0.6;
  opacity: 0.4;
  transition: opacity .4s ease;
}
.hover-text.is-hovered .hover-text__outline{ opacity: 0.65; }

.hover-text__draw{
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.6;
  opacity: 0.55;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: footerTextDraw 3.5s var(--ease-out) forwards;
  animation-delay: 0.3s;
}

.hover-text__gradient{
  fill: none;
  stroke-width: 0.6;
}

@keyframes footerTextDraw{
  to{ stroke-dashoffset: 0; }
}

@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}
@media (max-width: 640px){
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__col--brand{ text-align: center; }
  .footer__tagline{ margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6,6,7,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  transition: opacity .35s ease;
}
.lightbox[hidden]{ display: none; }
.lightbox.is-visible{ opacity: 1; }

.lightbox img{
  max-width: 100%;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  transform: scale(0.96);
  transition: transform .35s var(--ease-out);
}
.lightbox.is-visible img{ transform: scale(1); }

.lightbox__close{
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background .3s ease, transform .3s ease;
}
.lightbox__close:hover{ background: var(--surface-2); transform: rotate(90deg); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up{ opacity: 1; transform: none; }
  .scroll-cue__dot{ animation: none; }

  .reviews__track{
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  /* the track holds two back-to-back copies of the review list for the
     infinite loop — with motion disabled, show only the first copy */
  .review-card:nth-child(n+7){ display: none; }
}
