/* ============================================================
   DUNOARA CAFÉ — Design Tokens & Full Stylesheet
   Converted from Next.js / Tailwind v4 to Vanilla CSS
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Playwrite+US+Trad:wght@400&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand colors */
  --color-brand:               #cd8951;
  --color-brand-soft:          #d7a36d;
  --color-brand-softer:        #e9bf8b;
  --color-brand-medium:        #855938;
  --color-brand-strong:        #35271c;
  --color-brand-light:         #fcf7f0;

  /* Neutral text */
  --color-body:                #404040;
  --color-body-subtle:         #727272;
  --color-body-inverse:        #d3d3d3;
  --color-body-subtle-inverse: #a3a3a3;

  /* Testimonials */
  --color-quote:               #162b15;

  /* Spacing */
  --spacing-gutter:            4rem;   /* 64px */

  /* Fonts */
  --font-sans:    'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Playwrite US Trad', cursive;

  /* Backgrounds */
  --background: var(--color-brand-light);
  --foreground: var(--color-body);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}

@media (min-width: 64rem) {
  html { scroll-padding-top: 156px; }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  min-height: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.heading-display {
  font-family: var(--font-display);
  text-transform: capitalize;
  line-height: 1.5;
  font-weight: 400;
}

.font-sans    { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.font-script  { font-family: var(--font-script); }

/* Accent — script-face highlight inside headings */
.accent {
  font-family: var(--font-script);
  font-size: 0.875em;
  font-weight: 400;
}
.accent--soft   { color: var(--color-brand-soft); }
.accent--softer { color: var(--color-brand-softer); }

/* Shows <br> only on desktop (≥1024px) */
.desktop-break { display: none; }
@media (min-width: 64rem) { .desktop-break { display: inline; } }

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.page-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-brand-light);
  background-image: url('assets/img/texture.webp');
  background-size: 810px 534px;
  background-position: top left;
}

.section-gutter {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 40rem) {
  .section-gutter { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 64rem) {
  .section-gutter { padding-left: var(--spacing-gutter); padding-right: var(--spacing-gutter); }
}

/* ============================================================
   BUTTON COMPONENT
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 9999px;
  padding: 0.25rem;
  text-decoration: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--color-brand-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.76,0,0.24,1);
}
.btn:hover::before { transform: scaleX(1); }

.btn__circle {
  position: relative;
  z-index: 1;
  display: flex;
  width: 2.5rem; height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--color-brand-soft);
  outline: 4px solid var(--color-brand-soft);
  transition: background-color 500ms cubic-bezier(0.76,0,0.24,1),
              transform 500ms cubic-bezier(0.76,0,0.24,1);
}
.btn:hover .btn__circle { background: var(--color-brand-medium); }

.btn__circle img {
  width: 100%; height: 100%;
  transition: transform 500ms cubic-bezier(0.76,0,0.24,1);
}
.btn:hover .btn__circle img { transform: rotate(45deg); }

.btn__label {
  position: relative;
  z-index: 1;
  padding-right: 0.75rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color 500ms cubic-bezier(0.76,0,0.24,1);
}
.btn--light .btn__label { color: #fff; }
.btn--dark  .btn__label { color: var(--color-body); }
.btn--dark:hover .btn__label { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  inset-inline: 0;
  top: 1.5rem;
  z-index: 50;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 40rem) { #site-header { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) { #site-header { padding-left: var(--spacing-gutter); padding-right: var(--spacing-gutter); } }

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-radius: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background: rgba(53,39,28,0.8);
  padding: 1rem 3rem;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.header-logo { flex-shrink: 0; }
.header-logo img {
  height: 3rem;
  width: auto;
}
@media (min-width: 64rem) { .header-logo img { height: 4.75rem; } }

/* Desktop nav */
.header-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 64rem) {
  .header-nav__links {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.header-nav__links a {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: #fff;
  transition: color 200ms ease;
}
.header-nav__links a:hover { color: var(--color-brand-soft); }

/* Desktop CTA */
.header-nav__cta { display: none; }
@media (min-width: 64rem) { .header-nav__cta { display: block; } }

/* Hamburger */
.header-hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.75rem; height: 2.75rem;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 64rem) { .header-hamburger { display: none; } }

.header-hamburger span {
  display: block;
  width: 1.5rem; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
.header-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-hamburger.is-open span:nth-child(2) { opacity: 0; }
.header-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
#mobile-nav {
  display: none;
  margin-top: 0.5rem;
  max-height: calc(100dvh - 7.5rem);
  overflow-y: auto;
  border-radius: 24px;
  background: rgba(53,39,28,0.95);
  padding: 1rem 3rem;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}
#mobile-nav.is-open { display: block; }
@media (min-width: 64rem) { #mobile-nav { display: none !important; } }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav__links a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #fff;
}
.mobile-nav__cta { margin-top: 1.5rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  display: flex;
  min-height: 36rem;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.5rem 1rem 4rem;
}
@media (min-width: 40rem) { #hero { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) {
  #hero {
    height: 894px;
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-bottom: 6.25rem;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(231.74deg, rgba(0,0,0,0) 41.70%, rgba(0,0,0,0.9) 91.51%),
    linear-gradient(177.63deg, rgba(0,0,0,0) 48.93%, rgb(0,0,0) 96.96%),
    linear-gradient(180deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0) 32%);
}

.hero__content {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero__headline {
  font-family: var(--font-display);
  text-transform: capitalize;
  font-size: clamp(2.25rem, 6vw, 59.86px);
  line-height: 150%;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-brand-light);
  max-width: 35rem;
}

.hero__body {
  max-width: 33.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}
@media (min-width: 40rem) { .hero__body { font-size: 1.125rem; } }

.hero__cta { padding-top: 0.5rem; }

/* ============================================================
   RESERVED WARMTH (about)
   ============================================================ */
#about {
  width: 100%;
  padding: 4rem 1rem 5rem;
}
@media (min-width: 40rem) { #about { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) {
  #about {
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-top: 6.25rem;
    padding-bottom: 7.5rem;
  }
}

.about__inner {
  margin: 0 auto;
  max-width: 1512px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 64rem) {
  .about__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 4.75rem;
  }
}

/* Left column */
.about__left {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 64rem) { .about__left { gap: 2.25rem; } }

.about__img-wrap {
  position: relative;
  aspect-ratio: 618 / 410;
  width: 100%;
}
.about__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.about__copy { display: flex; flex-direction: column; gap: 1.5rem; }

.about__heading {
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  color: var(--color-brand-medium);
}

.about__body {
  max-width: 33.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-body-subtle);
}
@media (min-width: 40rem) { .about__body { font-size: 1.125rem; } }

/* Right column */
.about__right {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 64rem) { .about__right { gap: 3rem; } }

.about__table-header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about__orn {
  height: auto;
  width: clamp(5rem, 8vw, 7.875rem);
}

.about__table-heading {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  color: var(--color-brand-medium);
  text-align: center;
}

/* ============================================================
   PHOTO CAROUSEL
   ============================================================ */
.carousel {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

.carousel__stage {
  position: relative;
  aspect-ratio: 618 / 500;
  width: 100%;
}

/* Both plates occupy 96.4% of stage, offset from opposite corners */
.carousel__plate {
  position: absolute;
  height: 96.4%;
  width: 96.4%;
  overflow: hidden;
}
.carousel__plate--back { right: 0; bottom: 0; }
.carousel__plate--front { top: 0; left: 0; }

.carousel__plate img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 700ms ease-out;
}
.carousel__plate img.is-active { opacity: 1; }
.carousel__plate img.is-hidden { opacity: 0; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel__counter {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-family: var(--font-sans);
  line-height: 1.5;
}
.carousel__counter--current {
  width: 1.5rem;
  font-size: 1.125rem;
  color: var(--color-brand);
}
.carousel__counter--sep {
  font-size: 1rem;
  color: var(--color-body-subtle);
}
.carousel__counter--total {
  width: 1.5rem;
  font-size: 1.125rem;
  color: var(--color-body-subtle);
}

.carousel__arrows {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0;
  transition: opacity 200ms ease;
}
.carousel__btn:hover { opacity: 0.6; }
.carousel__btn img {
  display: block;
  width: 45px; height: 23px;
}
@media (min-width: 64rem) {
  .carousel__btn { padding: 0; height: 23px; }
}

/* ============================================================
   STEP INTO DUNOARA
   ============================================================ */
#step-into {
  display: flex;
  width: 100%;
  flex-direction: column;
}
@media (min-width: 64rem) {
  #step-into { flex-direction: row; align-items: stretch; }
}

.step-into__img-wrap {
  position: relative;
  height: 18rem;
  width: 100%;
}
@media (min-width: 40rem) { .step-into__img-wrap { height: 24rem; } }
@media (min-width: 64rem) { .step-into__img-wrap { height: 588px; flex: 1; } }

.step-into__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.step-into__panel {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-brand-strong);
  padding: 3.5rem 1.5rem;
}
@media (min-width: 40rem) { .step-into__panel { padding: 3.5rem 2.5rem; } }
@media (min-width: 64rem) {
  .step-into__panel { flex: 1; padding: var(--spacing-gutter); }
}

.step-into__texture {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.step-into__content {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.step-into__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-into__orn {
  height: auto;
  width: clamp(3.5rem, 6vw, 6.1875rem);
}

.step-into__heading {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  color: var(--color-brand-light);
  text-align: center;
}

.step-into__body {
  max-width: 578px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-body-inverse);
}
@media (min-width: 40rem) { .step-into__body { font-size: 1.125rem; } }

/* ============================================================
   SYMPHONY OF FLAVORS (menu)
   ============================================================ */
#menu {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}
@media (min-width: 64rem) {
  #menu { gap: 3rem; padding: 6.25rem 0; }
}

.symphony__heading-wrap {
  width: 100%;
  padding: 0 1rem;
}
@media (min-width: 40rem) { .symphony__heading-wrap { padding: 0 2rem; } }
@media (min-width: 64rem) { .symphony__heading-wrap { padding: 0 6.25rem; } }

/* Dish rail — drag-scrollable */
.dish-rail {
  display: flex;
  width: 100%;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 1rem 0.5rem;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}
.dish-rail::-webkit-scrollbar { display: none; }
.dish-rail.is-dragging { cursor: grabbing; }
@media (min-width: 40rem) { .dish-rail { padding: 0 2rem 0.5rem; } }
@media (min-width: 64rem) {
  .dish-rail { gap: 1.5rem; padding: 0 var(--spacing-gutter) 0.5rem; }
}

.dish-card {
  position: relative;
  aspect-ratio: 360 / 450;
  width: 15rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14.4px;
}
@media (min-width: 40rem) { .dish-card { width: 18rem; } }
@media (min-width: 64rem) { .dish-card { width: 360px; } }

.dish-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms ease-out;
}
.dish-card:hover img { transform: scale(1.1); }

.dish-card__scrim {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0) 32%),
    linear-gradient(176deg, rgba(0,0,0,0) 48.93%, #000 96.96%),
    linear-gradient(245deg, rgba(0,0,0,0) 41.70%, rgba(0,0,0,0.9) 91.51%);
  opacity: 0;
  transition: opacity 500ms ease-out;
}

.dish-card__name {
  font-family: var(--font-display);
  text-transform: capitalize;
  position: absolute;
  inset-inline: 1rem;
  bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-brand-softer);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
@media (min-width: 64rem) {
  .dish-card__name { bottom: 2rem; font-size: 2rem; }
}

/* On touch devices, show scrim/name always */
@media (hover: none) {
  .dish-card__scrim { opacity: 1; }
  .dish-card__name { opacity: 1; transform: none; }
}
/* On hover devices, show on hover */
@media (hover: hover) {
  .dish-card:hover .dish-card__scrim { opacity: 1; }
  .dish-card:hover .dish-card__name  { opacity: 1; transform: none; }
}

/* ============================================================
   SECTION HEADING (reusable)
   ============================================================ */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.section-heading--start {
  align-items: flex-start;
  text-align: left;
}

.section-heading__orn {
  height: auto;
  width: clamp(3.5rem, 7vw, var(--orn-w, 75px));
}

.section-heading__title {
  color: var(--color-brand-medium);
}
.section-heading__title--lg { font-size: clamp(1.875rem, 3.4vw, 3rem); }
.section-heading__title--md { font-size: clamp(1.75rem, 2.9vw, 2.5rem); }

.section-heading__desc {
  max-width: 31rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-body-subtle);
}
@media (min-width: 40rem) { .section-heading__desc { font-size: 1.125rem; } }

/* ============================================================
   PHILOSOPHY & JOURNEY
   ============================================================ */
#philosophy {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  padding-top: 4rem;
  padding-bottom: 5rem;
}
@media (min-width: 64rem) {
  #philosophy {
    grid-template-columns: 1fr 1fr;
    padding-top: 6.25rem;
    padding-bottom: 7.5rem;
  }
}

.philosophy__img-wrap {
  position: relative;
  aspect-ratio: 756 / 500;
  width: 100%;
}
@media (min-width: 64rem) {
  .philosophy__img-wrap { aspect-ratio: auto; height: 500px; }
}
.philosophy__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.philosophy__copy {
  display: flex;
  align-items: center;
  padding: 3rem 1.5rem;
}
@media (min-width: 40rem) { .philosophy__copy { padding: 3rem; } }
@media (min-width: 64rem) { .philosophy__copy { padding: 4.9375rem 5.25rem; } }

.philosophy__copy .section-heading { width: 100%; }
.philosophy__copy .section-heading__desc { max-width: 588px; }

/* ============================================================
   DISCOVER BAND
   ============================================================ */
#discover {
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--color-brand-strong);
}
@media (min-width: 64rem) { #discover { height: 100vh; } }

.discover__bg {
  position: absolute;
  inset: 0;
}
.discover__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* The zooming image wrapper */
.discover__zoom-wrap {
  position: absolute;
  left: 0;
  width: 100%;
  height: 125.64%;
  top: -12.82%;
  will-change: transform;
  transform: scale(0.25);
}
.discover__zoom-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

/* Keyframe fires when .is-animating is added by JS IntersectionObserver */
@keyframes discoverImageZoom {
  0%   { transform: scale(0.25); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.discover__zoom-wrap.is-animating {
  animation: discoverImageZoom 2200ms cubic-bezier(0.76,0,0.24,1) 1000ms forwards;
}

/* Content card */
.discover__card {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(53,39,28,0.9);
  padding: 1.5rem;
  opacity: 0;
  transform: translate3d(0, 72px, 0);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}
@media (min-width: 64rem) {
  .discover__card {
    left: auto;
    right: 2.5rem;
    bottom: auto;
    top: 37%;
    width: 650px;
    padding: 2.25rem;
  }
}

.discover__card-texture {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

@keyframes discoverCardReveal {
  0%   { opacity: 0; transform: translate3d(0, 72px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.discover__card.is-animating {
  animation: discoverCardReveal 900ms cubic-bezier(0.76,0,0.24,1) 3700ms forwards;
}

.discover__card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.discover__card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.discover__orn {
  height: auto;
  width: clamp(5rem, 9vw, 9.4375rem);
}

.discover__heading {
  max-width: 36.125rem;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  color: var(--color-brand-light);
  text-align: center;
}

.discover__body {
  max-width: 36.125rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-body-inverse);
}
@media (min-width: 40rem) { .discover__body { font-size: 1.125rem; } }

@media (prefers-reduced-motion: reduce) {
  .discover__zoom-wrap.is-animating,
  .discover__card.is-animating {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}
@media (min-width: 64rem) {
  #testimonials { gap: 3rem; padding: 6.25rem 0; }
}

.testimonials__heading-wrap {
  width: 100%;
  padding: 0 1rem;
}
@media (min-width: 40rem) { .testimonials__heading-wrap { padding: 0 2rem; } }
@media (min-width: 64rem) { .testimonials__heading-wrap { padding: 0 6.25rem; } }

.testimonials__scroll-area {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.testimonials__rail {
  display: flex;
  width: 100%;
  gap: 2rem;
  overflow-x: auto;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials__rail::-webkit-scrollbar { display: none; }
@media (min-width: 40rem) { .testimonials__rail { padding: 0 2rem; } }
@media (min-width: 64rem) {
  .testimonials__rail { gap: 4rem; padding: 0 var(--spacing-gutter); }
}

.testimonial-card {
  display: flex;
  width: 17rem;
  flex-shrink: 0;
  scroll-snap-align: start;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 40rem) { .testimonial-card { width: 354.828px; } }

.testimonial-card__stars {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.testimonial-card__stars img {
  width: 1.5rem; height: 1.5rem;
}
@media (min-width: 40rem) {
  .testimonial-card__stars img { width: 1.75rem; height: 1.75rem; }
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 600;
  color: var(--color-quote);
}

.testimonial-card__body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-quote);
}

.testimonial-card__author {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1;
  font-weight: 500;
  color: var(--color-quote);
}

.testimonials__arrows {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials__arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 200ms ease;
}
.testimonials__arrow-btn:hover { opacity: 0.6; }
.testimonials__arrow-btn img {
  display: block;
  height: 23px;
}

/* ============================================================
   YOUR WAY TO DUNOARA (contact)
   ============================================================ */
#contact {
  width: 100%;
  padding: 4rem 1rem 5rem;
}
@media (min-width: 40rem) { #contact { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) {
  #contact {
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-top: 6.25rem;
    padding-bottom: 7.5rem;
  }
}

.contact__inner {
  margin: 0 auto;
  max-width: 1512px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .contact__inner {
    flex-direction: row;
    align-items: stretch;
    gap: 4.75rem;
  }
}

/* Map column */
.contact__map-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 64rem) { .contact__map-col { gap: 2.25rem; } }

.contact__map-header {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact__map-orn {
  height: auto;
  width: clamp(6rem, 10vw, 10.5rem);
}

.contact__map-heading {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  color: var(--color-brand-medium);
  text-align: center;
}

.contact__map-embed {
  position: relative;
  min-height: 18rem;
  width: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 14.4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 12px 28px rgba(53,39,28,0.12);
  outline: 1px solid rgba(205,137,81,0.2);
}

.contact__map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.contact__map-link {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-body);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  outline: 1px solid rgba(0,0,0,0.1);
  transition: background 200ms ease;
}
.contact__map-link:hover { background: var(--color-brand-light); }

/* Info card column */
.contact__info-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.contact__card {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--color-brand-strong);
  padding: 1.25rem 1.5rem;
}

.contact__card-texture {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.contact__card-inner {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 620px;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 0;
}

/* Find us / Contact us row */
.contact__meta-row {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  padding: 0 1rem;
}
@media (min-width: 40rem) {
  .contact__meta-row {
    flex-direction: row;
    padding: 0 2.25rem;
  }
}

.contact__meta-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0.625rem 0.625rem 2.25rem;
}

.contact__meta-title {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-brand-softer);
}

.contact__meta-body {
  width: 100%;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-brand-light);
}
.contact__meta-body a { transition: color 200ms ease; }
.contact__meta-body a:hover { color: var(--color-brand-soft); }

/* "We are serving from" label, above the opening hours */
.contact__hours-title {
  width: 100%;
  padding: 0.5rem 1rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-brand-softer);
}

/* Opening hours — rows keep their own bottom rule; no rule above the first row */
.contact__hours {
  width: 100%;
}

.contact__hours-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.23) 0 16px,
    transparent 16px 22px
  );
  background-size: 100% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
}
@media (min-width: 40rem) {
  .contact__hours-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.contact__hours-day {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  line-height: 39px;
  color: var(--color-brand-light);
  text-transform: capitalize;
}
@media (min-width: 40rem) { .contact__hours-day { padding-right: 0.375rem; } }

.contact__hours-times {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .contact__hours-times { justify-content: center; gap: 2.25rem; }
}

.clock {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.clock__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--color-brand-light);
}

.clock__meridiem {
  display: flex;
  height: 1.9333em;
  width: 0.8333em;
  flex-direction: column;
  justify-content: space-between;
  /* Push the AM/PM stack down so its midpoint aligns with the digit's visual center */
  margin-top: 0.35em;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.4vw, 1.875rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-body-subtle-inverse);
  text-transform: capitalize;
}

.clock__dash {
  display: block;
  height: 2px;
  width: 25px;
  background: var(--color-brand-light);
  align-self: center;
}

.contact__cta { display: flex; justify-content: center; padding-top: 2.875rem; }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery {
  width: 100%;
  padding: 1.5rem 1rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gallery__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: clamp(6px, 1vw, 14.4px);
}

.gallery__tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.gallery__tile-scrim {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(176deg, #000 3.04%, rgba(0,0,0,0) 51.07%),
    linear-gradient(176deg, rgba(0,0,0,0) 21.22%, #000 96.96%);
  opacity: 0;
  transition: opacity 500ms ease-out;
}
.gallery__tile:hover .gallery__tile-scrim { opacity: 1; }

.gallery__tile-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(1.25rem, 5vw, 4rem);
  height: clamp(1.25rem, 5vw, 4rem);
  transform: translate(-50%, -50%) scale(0.5);
  color: var(--color-brand-light);
  opacity: 0;
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.gallery__tile:hover .gallery__tile-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.gallery__tile-icon svg {
  width: 100%; height: 100%;
  stroke: currentColor;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-brand-strong);
  padding: 3rem 1rem 0;
}
@media (min-width: 40rem) { #site-footer { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) {
  #site-footer {
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-top: 4rem;
  }
}

.footer__texture {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.footer__inner {
  position: relative;
  margin: 0 auto;
  max-width: 1512px;
  display: flex;
  flex-direction: column;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(248,245,239,0.06);
  padding: 2.5rem 0;
}
@media (min-width: 64rem) {
  .footer__top {
    min-height: 200px;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
}
@media (min-width: 64rem) {
  .footer__logo-wrap {
    height: 100%;
    border-right: 1px solid rgba(248,245,239,0.06);
    padding-right: 2.75rem;
    padding-left: 0.625rem;
  }
}

.footer__logo {
  height: auto;
  width: 10rem;
}
@media (min-width: 64rem) { .footer__logo { width: 236px; } }

.footer__links-wrap {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 64rem) {
  .footer__links-wrap {
    width: auto;
    align-items: flex-start;
    padding-left: 2.5rem;
  }
}

.footer__links-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
  color: #f8f5ef;
}

.footer__quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}
@media (min-width: 64rem) {
  .footer__quick-links {
    justify-content: flex-start;
    gap: 0.75rem 2rem;
  }
}

.footer__quick-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--color-body-inverse);
  text-transform: uppercase;
  transition: color 200ms ease;
}
.footer__quick-links a:hover { color: var(--color-brand-soft); }

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
@media (min-width: 64rem) {
  .footer__socials { justify-content: flex-start; gap: 1.25rem; }
}

.footer__social-link {
  display: flex;
  width: 2.75rem; height: 2.75rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 64rem) {
  .footer__social-link { width: 1.25rem; height: 1.25rem; }
}
.footer__social-link img { width: 1.25rem; height: 1.25rem; }

/* Footer bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
}
@media (min-width: 40rem) { .footer__bottom { flex-direction: row; } }

.footer__copyright {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.25;
  color: #fff;
}
@media (min-width: 40rem) { .footer__copyright { text-align: left; } }
.footer__copyright a { text-decoration: underline; }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 64rem) {
  .footer__legal-links { flex-nowrap: nowrap; justify-content: flex-start; }
}

.footer__legal-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-body-inverse);
  text-transform: uppercase;
  transition: color 200ms ease;
}
.footer__legal-links a:hover { color: var(--color-brand-soft); }

/* ============================================================
   MENU PAGE — MenuHero + TabList + MenuBrowser
   ============================================================ */

/* MenuHero — taller than home hero (966px), centre-aligned */
#menu-hero {
  position: relative;
  display: flex;
  min-height: 32rem;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.5rem 1rem 4rem;
}
@media (min-width: 40rem) { #menu-hero { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) {
  #menu-hero {
    height: 966px;
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-bottom: 6.25rem;
  }
}

.menu-hero__bg {
  position: absolute;
  inset: 0;
}
.menu-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.menu-hero__scrim {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 31.82%, rgba(0,0,0,0.9) 79.55%),
    linear-gradient(180deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0) 32%);
}

.menu-hero__content {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.menu-hero__headline {
  font-family: var(--font-display);
  text-transform: capitalize;
  max-width: 53rem;
  font-size: clamp(2.25rem, 5.2vw, 3.742rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-brand-light);
}

.menu-hero__body {
  max-width: 39.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}
@media (min-width: 40rem) { .menu-hero__body { font-size: 1.125rem; } }

/* ============================================================
   TAB LIST
   ============================================================ */
.tab-list-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-brand-medium) transparent;
  padding-bottom: 0.5rem;
}
.tab-list-wrap::-webkit-scrollbar {
  display: block;
  height: 6px;
}
.tab-list-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.tab-list-wrap::-webkit-scrollbar-thumb {
  background: var(--color-brand-medium);
  border-radius: 10px;
}

.category-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-brand-medium);
  color: var(--color-brand-light);
  border: none;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .category-mobile-toggle { display: none; }
}

.tab-list {
  display: flex;
  width: max-content;
  margin: 0 auto;
  align-items: center;
  gap: 0;
  border-radius: 30px;
  background: var(--color-brand-medium);
  padding: 0.5rem;
}

@media (max-width: 767px) {
  #category-tab-wrap {
    overflow: visible;
    position: relative;
  }
  
  #category-tab-list.tab-list {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  #category-tab-list.tab-list.is-open {
    display: flex;
  }
  #category-tab-list .tab-btn {
    width: 100%;
    text-align: left;
    border-radius: 10px;
    padding: 0.75rem 1rem;
  }
}

.tab-btn {
  cursor: pointer;
  border: none;
  border-radius: 30px;
  padding: 0.625rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
  color: var(--color-brand-light);
  background: transparent;
}
@media (min-width: 40rem) {
  .tab-btn { padding: 0.75rem 1.5rem; font-size: 1rem; }
}
.tab-btn[aria-selected="true"] {
  background: var(--color-brand-light);
  color: var(--color-brand-medium);
}
.tab-btn:not([aria-selected="true"]):hover { color: #fff; }

/* ============================================================
   MENU BROWSER SECTION
   ============================================================ */
#menu-browser {
  width: 100%;
  padding: 4rem 1rem 5rem;
}
@media (min-width: 40rem) { #menu-browser { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 64rem) {
  #menu-browser {
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-top: 6.25rem;
    padding-bottom: 7.5rem;
  }
}

.menu-browser__inner {
  margin: 0 auto;
  max-width: 1384px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 64rem) { .menu-browser__inner { gap: 3rem; } }

.menu-browser__tabs-area {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 64rem) { .menu-browser__tabs-area { gap: 3rem; } }

/* Dish grid */
.menu-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 40rem) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Text-only dish card: name + price on one line, description below, dashed
   rule underneath (same dashed motif the contact hours block uses, darkened
   for the light page background). */
.menu-item {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.125rem 0.5rem 1.375rem;
  background-image: repeating-linear-gradient(
    to right,
    rgba(53, 39, 28, 0.16) 0 16px,
    transparent 16px 22px
  );
  background-size: 100% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.menu-item__info {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

.menu-item__header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.menu-item__name {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-brand-medium);
  text-transform: capitalize;
  margin: 0;
}

.menu-item__price {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-body);
  white-space: nowrap;
}

.menu-item__desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-body-subtle);
  text-align: left;
  margin: 0;
}

/* Empty state */
.menu-empty {
  padding: 3rem 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-body-subtle);
}
