:root {
  --cream: #fbf3e4;
  --paper: #fffaf1;
  --flour: #f5e6cc;
  --espresso: #28170d;
  --brown: #5a341f;
  --brown-soft: #8b603b;
  --olive: #314b2f;
  --sage: #7c8755;
  --honey: #c48736;
  --line: rgba(90, 52, 31, 0.2);
  --shadow: 0 24px 70px rgba(40, 23, 13, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, #fffaf1 0%, #f8efdf 100%);
  color: var(--espresso);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.2), rgba(255, 250, 241, 0.74)),
    url("public/images/spring-water-hero.png") center top / cover no-repeat;
  opacity: 0.16;
  filter: saturate(0.9) contrast(0.95) blur(1px);
  transform: scale(1.02);
}

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

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

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.header-action:focus-visible,
.text-link:focus-visible,
.quick-links a:focus-visible,
.brand:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--espresso);
  color: white;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(40, 23, 13, 0.78), rgba(40, 23, 13, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2rem);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

.header-action {
  justify-self: end;
  border: 1px solid rgba(255, 250, 241, 0.7);
  padding: 0.72rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--espresso);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(40, 23, 13, 0.9) 0%, rgba(40, 23, 13, 0.66) 36%, rgba(40, 23, 13, 0.08) 78%),
    linear-gradient(0deg, rgba(40, 23, 13, 0.58), rgba(40, 23, 13, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding: 8rem clamp(1.2rem, 7vw, 6rem) 6rem;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.7rem, 8vw, 7.9rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions,
.section-heading,
.contact,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.button-primary {
  background: var(--honey);
  color: var(--espresso);
}

.button-secondary {
  border-color: rgba(255, 250, 241, 0.65);
  color: var(--paper);
}

.quick-links {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 2rem));
  margin: -4.5rem auto 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-links a {
  min-height: 10rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
  outline-offset: -3px;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--olive);
  font-weight: 800;
}

.quick-links strong,
.quick-links small {
  display: block;
}

.quick-links strong {
  margin-bottom: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.quick-links small {
  color: rgba(40, 23, 13, 0.72);
  line-height: 1.55;
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro-copy > p {
  color: rgba(40, 23, 13, 0.72);
  font-size: 1.12rem;
  line-height: 1.75;
}

.values {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.values article {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.values h3,
.menu-item h3,
.steps h3,
.pickup-note h3 {
  margin-bottom: 0.35rem;
}

.values p,
.menu-item span,
.steps p,
.pickup-note p,
.contact-card p {
  color: rgba(40, 23, 13, 0.7);
  line-height: 1.65;
}

.about-photo {
  margin: 2rem 0 0;
  padding: 1rem;
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about-photo figcaption {
  padding-top: 0.75rem;
  color: rgba(40, 23, 13, 0.7);
  font-size: 0.92rem;
}

.menu {
  width: 100%;
  background: var(--cream);
  padding-left: max(1rem, calc((100% - 1160px) / 2));
  padding-right: max(1rem, calc((100% - 1160px) / 2));
}

.text-link {
  color: var(--olive);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--honey);
  padding-bottom: 0.1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.menu-item {
  min-height: 15rem;
  padding: 1.4rem;
  background: var(--paper);
  border: 1px solid rgba(90, 52, 31, 0.12);
}

.menu-item.featured {
  background: var(--olive);
  color: var(--paper);
}

.menu-item.featured span,
.menu-item.featured p {
  color: rgba(255, 250, 241, 0.88);
}

.menu-item p {
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ordering {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1rem;
  align-items: stretch;
}

.order-panel {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--espresso);
  color: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.steps article {
  border-top: 1px solid rgba(255, 250, 241, 0.2);
  padding-top: 1.2rem;
}

.steps span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--honey);
  color: var(--espresso);
  font-weight: 900;
}

.steps p {
  color: rgba(255, 250, 241, 0.72);
}

.pickup-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 2rem;
  background: var(--flour);
  border: 1px solid var(--line);
}

.pickup-note img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.legal-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact {
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.contact > div:first-child {
  max-width: 600px;
}

.contact-card {
  width: min(440px, 100%);
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.contact-card .button {
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  background: var(--espresso);
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.order-request {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  color: var(--espresso);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(40, 23, 13, 0.2);
  background: var(--paper);
  color: var(--espresso);
  padding: 0.9rem 1rem;
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(40, 23, 13, 0.55);
}

.form-note {
  max-width: 28rem;
  margin: 0;
  color: rgba(40, 23, 13, 0.72);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-actions p {
  margin: 0;
  color: rgba(40, 23, 13, 0.72);
}

.social {
  border-top: 1px solid var(--line);
}

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

.social-grid a {
  display: grid;
  gap: 0.5rem;
  min-height: 8rem;
  align-content: center;
  padding: 1.4rem;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--line);
}

.social-grid span {
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.social-grid strong {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
    background: rgba(40, 23, 13, 0.86);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(40, 23, 13, 0.38), rgba(40, 23, 13, 0.86) 58%, rgba(40, 23, 13, 0.95)),
      linear-gradient(90deg, rgba(40, 23, 13, 0.62), rgba(40, 23, 13, 0));
  }

  .hero-content {
    align-self: end;
    padding-top: 9rem;
  }

  .hero-actions,
  .section-heading,
  .contact,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-links,
  .intro-grid,
  .menu-grid,
  .ordering,
  .steps {
    grid-template-columns: 1fr;
  }

  .quick-links {
    margin-top: 0;
    width: 100%;
    box-shadow: none;
  }

  .quick-links a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-links a:last-child {
    border-bottom: 0;
  }

  .menu {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gallery-grid,
  .order-request,
  .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .header-action {
    padding-inline: 0.9rem;
  }

  h1 {
    font-size: 3.25rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.45rem;
    line-height: 1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .order-request {
    padding: 1rem;
  }
}
