@font-face {
  font-family: "AetherNeue";
  src: url("assets/fonts/AetherNeue-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "AetherNeue";
  src: url("assets/fonts/AetherNeue-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Oddval";
  src: url("assets/fonts/Oddval-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --night: #14111d;
  --ink: #1d1712;
  --sun: #f7c76b;
  --sun-soft: #ffdca2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: #f7f0e6;
  font-family: "AetherNeue", serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--night);
  background-image: url("assets/ritual-dinner-cliff/ritual-dinner-cliff-desktop-1920.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

.dinner-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.5rem
    calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

.dinner-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 17, 29, 0.18) 0%,
      rgba(20, 17, 29, 0.42) 42%,
      rgba(20, 17, 29, 0.82) 100%
    ),
    radial-gradient(
      circle at 20% 15%,
      rgba(247, 199, 107, 0.12),
      transparent 42%
    );
  pointer-events: none;
}

.dinner-hero__content {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  display: grid;
  gap: 1rem;
  animation: dinner-hero-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dinner-hero__eyebrow {
  margin: 0;
  font-family: "Oddval", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 240, 230, 0.8);
}

.dinner-hero__title {
  margin: 0;
  font-family: "Oddval", sans-serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 18px 55px rgba(10, 8, 16, 0.55);
}

.button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sun-soft), var(--sun));
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: "Oddval", sans-serif;
  font-size: 0.76rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  box-shadow: 0 16px 35px rgba(32, 25, 18, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(32, 25, 18, 0.22);
}

.button:focus-visible {
  outline: 2px solid rgba(247, 240, 230, 0.85);
  outline-offset: 3px;
}

@keyframes dinner-hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dinner-hero__content {
    animation: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}

@media (max-width: 768px) {
  body {
    background-image: url("assets/ritual-dinner-cliff/ritual-dinner-cliff-mobile-1080.jpg");
    background-position: center center;
  }
}

