/* Earth & Sage art direction: the provided palette is the only chromatic source. */
:root {
  --paper: #f4f3ef;
  --linen: #eae6df;
  --ink: #2b2b2a;
  --sage: #606c5a;
  --caramel: #c87a53;
  --sun-wash: rgba(244, 243, 239, 0.62);
  --soft-line: rgba(96, 108, 90, 0.22);
  --warm-shadow: 14px 14px 34px rgba(43, 43, 42, 0.12), -10px -10px 24px rgba(255, 255, 255, 0.5);
}

body {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(43, 43, 42, 0.13) 0.5px, transparent 0.7px);
  background-size: 6px 6px;
}

.site-header {
  background: rgba(244, 243, 239, 0.9);
  border-bottom-color: var(--soft-line);
  box-shadow: 0 8px 25px rgba(43, 43, 42, 0.04);
}

.brand {
  letter-spacing: 0.06em;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.text-link)::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:not(.text-link):hover::after,
.nav-links a:not(.text-link):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  background-color: var(--ink);
}

.hero::before {
  background-position: calc(50% + var(--hero-x, 0px)) calc(50% + var(--hero-y, 0px));
  transition: background-position 500ms ease-out;
}

.hero::after {
  width: 68%;
  height: 40%;
  right: -15%;
  bottom: 3%;
  border: 1px solid rgba(200, 122, 83, 0.42);
  background: rgba(96, 108, 90, 0.32);
  box-shadow: 0 0 70px rgba(200, 122, 83, 0.18);
  animation: teaGlow 7s ease-in-out infinite;
}

.hero-inner {
  position: relative;
}

.hero-inner::before {
  content: 'SETARIA  ·  AFTERNOON MENU';
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(234, 230, 223, 0.5);
  border-radius: 2px;
  color: #eae6df;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hero h1 {
  text-shadow: 0 4px 28px rgba(43, 43, 42, 0.5);
}

.button {
  border: 1px solid rgba(244, 243, 239, 0.24);
  border-radius: 2px;
  box-shadow: 4px 5px 0 rgba(43, 43, 42, 0.24), 0 12px 26px rgba(43, 43, 42, 0.15);
}

.button:hover,
.button:focus-visible {
  background: var(--caramel);
  box-shadow: 2px 3px 0 rgba(43, 43, 42, 0.22), 0 8px 19px rgba(43, 43, 42, 0.16);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: var(--caramel);
}

.entity,
.card {
  border-color: var(--soft-line);
  background: rgba(244, 243, 239, 0.72);
  box-shadow: var(--warm-shadow);
}

.entity {
  position: relative;
  overflow: hidden;
}

.entity::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(200, 122, 83, 0.18);
  pointer-events: none;
}

.card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  border-color: rgba(200, 122, 83, 0.58);
  box-shadow: 10px 13px 28px rgba(43, 43, 42, 0.13), -7px -7px 18px rgba(255, 255, 255, 0.48);
  transform: translateY(-4px);
}

.facts {
  border-color: var(--soft-line);
  background: rgba(96, 108, 90, 0.16);
}

.facts div {
  position: relative;
  min-height: 74px;
  background: rgba(234, 230, 223, 0.82);
}

.facts div::before {
  content: 'MENU';
  display: block;
  margin-bottom: 2px;
  color: var(--caramel);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.feature-image,
.gallery img {
  border: 1px solid rgba(200, 122, 83, 0.25);
  box-shadow: var(--warm-shadow);
}

.feature-image {
  filter: saturate(0.78) sepia(0.06) contrast(0.98);
}

.section.tinted,
.page-hero {
  background: var(--linen);
}

.section.tinted {
  border-top: 1px solid rgba(96, 108, 90, 0.1);
  border-bottom: 1px solid rgba(96, 108, 90, 0.1);
}

.notice,
.download-bar {
  border-radius: 2px;
}

.notice {
  background: rgba(234, 230, 223, 0.88);
  box-shadow: inset 3px 0 var(--caramel);
}

.download-bar {
  border: 1px solid rgba(200, 122, 83, 0.4);
  box-shadow: var(--warm-shadow);
}

.gallery button {
  overflow: hidden;
  border-radius: 3px;
}

.gallery img {
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery button:hover img,
.gallery button:focus-visible img {
  filter: saturate(0.84) sepia(0.1);
  transform: scale(1.035);
}

.site-footer {
  border-top: 3px solid var(--sage);
}

@keyframes teaGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  50% { transform: translate3d(-18px, -10px, 0) scale(1.04); opacity: 1; }
}

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

@media (max-width: 800px) {
  .hero {
    min-height: 590px;
  }

  .hero-inner::before {
    font-size: 9px;
  }

  .card:hover {
    transform: none;
  }
}
