/* ============================================================
   Beasteatwr — Design System
   BEM naming throughout
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --color-charcoal: #1a1413;
  --color-charcoal-soft: #2a201e;
  --color-red: #d62828;
  --color-red-dark: #a51c1c;
  --color-orange: #f77f00;
  --color-amber: #fcbf49;
  --color-cream: #fdf6ec;
  --color-cream-dark: #f3e6d4;
  --color-white: #ffffff;
  --color-text: #2a201e;
  --color-text-muted: #6f6058;
  --color-line: #e7d9c8;

  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 14px 40px rgba(26, 20, 19, 0.16);
  --shadow-sm: 0 6px 18px rgba(26, 20, 19, 0.1);
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-red);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-charcoal);
}

p {
  margin: 0 0 1em;
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--dark {
  background: var(--color-charcoal);
  color: var(--color-cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-cream);
}

.section--cream {
  background: var(--color-cream-dark);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 14px;
}

.section--dark .section__eyebrow {
  color: var(--color-amber);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.section__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.section--dark .section__lead {
  color: var(--color-cream-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(214, 40, 40, 0.4);
}

.btn--primary:hover {
  background: var(--color-red-dark);
  box-shadow: 0 14px 30px rgba(214, 40, 40, 0.5);
}

.btn--accent {
  background: var(--color-orange);
  color: var(--color-charcoal);
  box-shadow: 0 10px 24px rgba(247, 127, 0, 0.4);
}

.btn--accent:hover {
  background: var(--color-amber);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-cream);
  color: var(--color-cream);
}

.btn--ghost:hover {
  background: var(--color-cream);
  color: var(--color-charcoal);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-red);
  color: var(--color-red);
}

.btn--outline:hover {
  background: var(--color-red);
  color: var(--color-white);
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(26, 20, 19, 0.55);
  transition: background var(--transition), box-shadow var(--transition),
    height var(--transition);
}

.header--scrolled {
  background: rgba(26, 20, 19, 0.97);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 0.02em;
}

.header__logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 1.2rem;
}

.header__logo:hover .header__logo-mark {
  background: var(--color-orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--color-cream);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link--active {
  color: var(--color-amber);
}

.nav__cta {
  margin-left: 10px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger__bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-cream);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger--open .burger__bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger--open .burger__bar:nth-child(2) {
  opacity: 0;
}

.burger--open .burger__bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-cream);
  padding-top: var(--header-h);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 20, 19, 0.92) 0%,
    rgba(26, 20, 19, 0.6) 45%,
    rgba(26, 20, 19, 0.2) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-amber);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--color-white);
  margin-bottom: 18px;
}

.hero__title-accent {
  color: var(--color-orange);
}

.hero__text {
  font-size: 1.2rem;
  color: var(--color-cream-dark);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-cream);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.hero__scroll-dot {
  width: 22px;
  height: 36px;
  border: 2px solid var(--color-cream);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-dot::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-amber);
  border-radius: 3px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    top: 6px;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 18px;
  }
}

/* Hero entrance animation hooks */
.hero__inner .hero__eyebrow,
.hero__inner .hero__title,
.hero__inner .hero__text,
.hero__inner .hero__actions {
  opacity: 0;
  transform: translateY(28px);
}

.hero--loaded .hero__eyebrow {
  animation: heroIn 0.7s 0.1s forwards;
}
.hero--loaded .hero__title {
  animation: heroIn 0.7s 0.28s forwards;
}
.hero--loaded .hero__text {
  animation: heroIn 0.7s 0.46s forwards;
}
.hero--loaded .hero__actions {
  animation: heroIn 0.7s 0.64s forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sub hero (interior pages) */
.subhero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 70px;
  color: var(--color-cream);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 19, 0.85),
    rgba(26, 20, 19, 0.7)
  );
}

.subhero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.subhero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--color-white);
  margin-bottom: 12px;
}

.subhero__text {
  color: var(--color-cream-dark);
  font-size: 1.1rem;
  margin: 0;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  color: var(--color-amber);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--color-cream);
}

/* ============================================================
   Dishes / cards grid
   ============================================================ */
.grid {
  display: grid;
  gap: 28px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.dish {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.dish:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.dish__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dish:hover .dish__img {
  transform: scale(1.08);
}

.dish__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 50px;
}

.dish__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dish__title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.dish__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.dish__price {
  font-weight: 700;
  color: var(--color-red);
  font-size: 1.2rem;
}

/* ============================================================
   Menu list
   ============================================================ */
.menu-cat {
  margin-bottom: 64px;
}

.menu-cat__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.menu-cat__title {
  font-size: 1.9rem;
  white-space: nowrap;
  margin: 0;
}

.menu-cat__rule {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange), transparent);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.menu-item {
  display: flex;
  gap: 18px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.menu-item:hover {
  transform: translateX(6px);
}

.menu-item__img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.menu-item__body {
  flex: 1;
}

.menu-item__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.menu-item__name {
  font-size: 1.12rem;
  margin: 0;
}

.menu-item__price {
  font-weight: 700;
  color: var(--color-red);
  white-space: nowrap;
}

.menu-item__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

/* ============================================================
   Story strip
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat {
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-orange);
  line-height: 1;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.section--dark .stat__label {
  color: var(--color-cream-dark);
}

/* ============================================================
   Reviews
   ============================================================ */
.review {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review__stars {
  color: var(--color-amber);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review__text {
  font-style: italic;
  color: var(--color-text);
  flex: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.review__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.review__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review__role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  color: var(--color-cream);
  background-size: cover;
  background-position: center;
  padding: 90px 0;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(165, 28, 28, 0.92),
    rgba(26, 20, 19, 0.92)
  );
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta__title {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta__text {
  color: var(--color-cream-dark);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.12);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(26, 20, 19, 0.85)
  );
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  transform: translateY(10px);
  transition: transform var(--transition);
}

.gallery__item:hover .gallery__caption {
  transform: translateY(0);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}

.form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__group {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.18);
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 14px;
}

.form__success {
  display: none;
  background: #1f7a3d;
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-weight: 600;
}

.form__success--show {
  display: block;
}

.info-card {
  background: var(--color-charcoal);
  color: var(--color-cream);
  border-radius: var(--radius);
  padding: 32px;
}

.info-card__title {
  color: var(--color-cream);
  font-size: 1.4rem;
}

.info-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.info-list__item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(253, 246, 236, 0.12);
  font-size: 0.95rem;
}

.info-list__item:last-child {
  border-bottom: none;
}

.info-list__icon {
  color: var(--color-amber);
  flex-shrink: 0;
}

.info-list__item a {
  color: var(--color-cream);
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(253, 246, 236, 0.12);
  font-size: 0.95rem;
}

.hours__row:last-child {
  border-bottom: none;
}

.hours__day {
  color: var(--color-cream-dark);
}

.map {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, var(--color-charcoal-soft), var(--color-charcoal));
  display: grid;
  place-items: center;
  color: var(--color-cream);
  text-align: center;
}

.map__pin {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.map__label {
  font-weight: 600;
}

.map__sub {
  font-size: 0.85rem;
  color: var(--color-cream-dark);
}

/* ============================================================
   Legal / prose
   ============================================================ */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 38px;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 26px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose__meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-charcoal);
  color: var(--color-cream-dark);
  padding: 64px 0 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 38px;
  margin-bottom: 44px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-cream);
  margin-bottom: 14px;
}

.footer__about {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer__title {
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a {
  color: var(--color-cream-dark);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--color-amber);
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer__contact-item a {
  color: var(--color-cream-dark);
}

.footer__bottom {
  border-top: 1px solid rgba(253, 246, 236, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--color-cream-dark);
}

.footer__legal a:hover {
  color: var(--color-amber);
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  max-width: 880px;
  margin: 0 auto;
  background: var(--color-charcoal);
  color: var(--color-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: none;
  border: 1px solid rgba(252, 191, 73, 0.3);
}

.cookie--show {
  display: block;
  animation: cookieIn 0.5s ease;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie__title {
  color: var(--color-cream);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.cookie__text {
  font-size: 0.92rem;
  color: var(--color-cream-dark);
  margin-bottom: 18px;
}

.cookie__text a {
  color: var(--color-amber);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie__btn {
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
    transform var(--transition);
}

.cookie__btn:hover {
  transform: translateY(-2px);
}

.cookie__btn--accept {
  background: var(--color-orange);
  color: var(--color-charcoal);
}

.cookie__btn--accept:hover {
  background: var(--color-amber);
}

.cookie__btn--decline {
  background: transparent;
  border-color: rgba(253, 246, 236, 0.4);
  color: var(--color-cream);
}

.cookie__btn--settings {
  background: transparent;
  border-color: var(--color-amber);
  color: var(--color-amber);
}

.cookie__settings {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(253, 246, 236, 0.14);
  display: none;
}

.cookie__settings--show {
  display: block;
}

.cookie__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie__option label {
  font-size: 0.9rem;
}

.cookie__option-name {
  font-weight: 700;
  display: block;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.12s;
}
.reveal--delay-2 {
  transition-delay: 0.24s;
}
.reveal--delay-3 {
  transition-delay: 0.36s;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--color-charcoal);
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 26px 40px;
    transform: translateX(105%);
    transition: transform var(--transition);
    box-shadow: var(--shadow);
    align-items: stretch;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav__link {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(253, 246, 236, 0.1);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin: 18px 0 0;
    width: 100%;
    justify-content: center;
  }

  .burger {
    display: flex;
    z-index: 1100;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 19, 0.55);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav-backdrop--show {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 60px 0;
  }
  .grid--3,
  .grid--4,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .menu-list {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
  .gallery__item--tall {
    grid-row: span 1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cookie__actions {
    flex-direction: column;
  }
  .cookie__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery__item--wide {
    grid-column: span 1;
  }
}

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