:root {
  --ink: #11140f;
  --deep: #07100b;
  --leaf: #4d9f42;
  --leaf-bright: #83c84b;
  --gold: #d9a936;
  --citrus: #ffc933;
  --berry: #b9252d;
  --paper: #f7f6ef;
  --white: #fffdf7;
  --muted: #6d7067;
  --line: rgba(17, 20, 15, 0.14);
  --shadow: 0 24px 70px rgba(17, 20, 15, 0.22);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

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

@keyframes softSweep {
  from {
    transform: translate3d(-4%, -2%, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(6%, 3%, 0) rotate(2deg);
  }
}

@keyframes railLift {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

body::selection {
  background: var(--citrus);
  color: var(--ink);
}

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

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(17, 20, 15, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 20, 15, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 92px 92px;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--white);
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(3, 9, 5, 0.88) 0%, rgba(3, 9, 5, 0.7) 39%, rgba(3, 9, 5, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 9, 5, 0.7) 0%, rgba(3, 9, 5, 0) 42%),
    url('/photos/hero-market.jpg');
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -16%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(217, 169, 54, 0.22), transparent 36%),
    linear-gradient(315deg, rgba(131, 200, 75, 0.12), transparent 34%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform-origin: center;
  animation: softSweep 10s ease-in-out infinite alternate;
}

.topbar,
.hero-content,
.hero-bottom {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
}

.brand::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--leaf-bright);
  box-shadow: 0 0 0 5px rgba(131, 200, 75, 0.18);
}

.brand-script {
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.topbar-contact {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 15px;
  border: 1px solid rgba(255, 253, 247, 0.26);
  background: rgba(7, 16, 11, 0.46);
  color: rgba(255, 253, 247, 0.88);
  font-size: 0.92rem;
  font-weight: 900;
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.topbar-contact:hover,
.topbar-contact:focus-visible {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  align-self: center;
  padding: 70px 0 44px;
}

.hero-content > * {
  animation: revealUp 560ms ease both;
}

.hero-content > :nth-child(2) {
  animation-delay: 70ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 140ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 210ms;
}

.hero-content > :nth-child(5) {
  animation-delay: 280ms;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 8.8rem;
  font-weight: 900;
  line-height: 0.82;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.46);
}

.hero-title span {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255, 253, 247, 0.9);
  font-size: 1.32rem;
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.hero-note {
  width: min(620px, 100%);
  display: grid;
  gap: 6px;
  margin-top: 28px;
  border-left: 4px solid var(--citrus);
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(7, 16, 11, 0.58), rgba(7, 16, 11, 0.18));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.hero-note strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
}

.hero-note span {
  color: rgba(255, 253, 247, 0.74);
  font-size: 0.95rem;
  font-weight: 680;
  line-height: 1.45;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--citrus);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(255, 201, 51, 0.3);
}

.button.secondary {
  border-color: rgba(255, 253, 247, 0.36);
  background: rgba(255, 253, 247, 0.1);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.hero-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 253, 247, 0.22);
  padding-top: 18px;
  color: rgba(255, 253, 247, 0.76);
  font-size: 0.92rem;
  font-weight: 800;
}

.photo-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--deep);
}

.photo-rail img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  animation: railLift 500ms ease both;
}

.photo-rail img:nth-child(2) {
  animation-delay: 80ms;
}

.photo-rail img:nth-child(3) {
  animation-delay: 160ms;
}

.photo-rail img:nth-child(4) {
  animation-delay: 240ms;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 56px;
  align-items: end;
}

.section h2,
.feature-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4rem;
  line-height: 0.98;
}

.intro p:last-child,
.feature-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.13rem;
  font-weight: 620;
  line-height: 1.65;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.department-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(17, 20, 15, 0.08);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.department-card:hover {
  border-color: rgba(77, 159, 66, 0.36);
  box-shadow: 0 24px 68px rgba(17, 20, 15, 0.13);
  transform: translateY(-4px);
}

.department-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  transition: transform 500ms ease;
}

.department-card:hover img {
  transform: scale(1.035);
}

.department-card div {
  padding: 24px;
}

.department-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.department-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  margin: 26px 0 0;
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(7, 16, 11, 0.92), rgba(7, 16, 11, 0.78)),
    url('/photos/pantry-shelf.jpg');
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.feature-copy {
  max-width: 760px;
}

.feature-copy p:last-child {
  color: rgba(255, 253, 247, 0.76);
  margin-top: 24px;
}

.loyalty {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(217, 169, 54, 0.45);
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 253, 247, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.loyalty:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 201, 51, 0.78);
  background: rgba(255, 253, 247, 0.13);
}

.loyalty-small {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.loyalty strong {
  margin: 8px 0;
  color: var(--citrus);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: 0.9;
}

.loyalty span:last-child {
  color: rgba(255, 253, 247, 0.78);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.5;
}

.gallery-section {
  padding-bottom: 112px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-areas:
    'tall wide wide'
    'tall smallA smallB';
  gap: 14px;
}

.gallery-tile {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery-tile.tall {
  grid-area: tall;
}

.gallery-tile.wide {
  grid-area: wide;
}

.gallery-tile.smallA {
  grid-area: smallA;
}

.gallery-tile.smallB {
  grid-area: smallB;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.035);
}

.gallery-tile figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-panel {
  position: relative;
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--leaf), var(--gold), var(--berry));
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.62fr);
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  align-items: stretch;
}

.contact-panel,
.business-card {
  border-radius: 8px;
  overflow: hidden;
}

.contact-panel {
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(17, 20, 15, 0.09);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  min-height: 70px;
  justify-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #ffffff;
  font-weight: 800;
  line-height: 1.35;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: rgba(77, 159, 66, 0.55);
  box-shadow: 0 12px 28px rgba(17, 20, 15, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.contact-list span {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.business-card {
  margin: 0;
  min-height: 100%;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.business-card img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 9.8rem;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 88svh;
  }

  .hero-title {
    font-size: 6.4rem;
  }

  .hero-copy {
    font-size: 1.14rem;
  }

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

  .intro,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .department-grid {
    grid-template-columns: 1fr;
  }

  .department-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.48fr) 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'wide wide'
      'tall smallA'
      'tall smallB';
  }

  .business-card img {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 18px;
  }

  .topbar {
    align-items: center;
  }

  .brand {
    gap: 8px;
  }

  .brand-script {
    font-size: 1.7rem;
  }

  .hero-content {
    padding: 56px 0 32px;
  }

  .hero-title {
    font-size: 4.6rem;
  }

  .hero-copy {
    max-width: 34rem;
    font-size: 1.02rem;
  }

  .hero-note {
    margin-top: 22px;
    padding: 14px 15px;
  }

  .hero-bottom {
    display: grid;
    font-size: 0.82rem;
  }

  .button {
    width: 100%;
  }

  .photo-rail img {
    height: 180px;
  }

  .section {
    width: min(calc(100% - 28px), 1180px);
    padding: 68px 0;
  }

  .section h2,
  .feature-copy h2,
  .contact-panel h2 {
    font-size: 2.7rem;
  }

  .department-card {
    display: block;
  }

  .feature-band {
    gap: 32px;
    padding: 70px 18px;
  }

  .loyalty {
    min-height: 240px;
    padding: 26px;
  }

  .loyalty strong {
    font-size: 4rem;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
  }

  .gallery-tile {
    min-height: 310px;
  }

  .contact-section {
    width: min(calc(100% - 28px), 1180px);
  }

  .contact-panel {
    padding: 28px;
  }

  .business-card img {
    min-height: 360px;
  }

  .footer {
    width: min(calc(100% - 28px), 1180px);
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 3.85rem;
  }
  .topbar {
    gap: 14px;
  }

  .topbar-contact {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .section h2,
  .feature-copy h2,
  .contact-panel h2 {
    font-size: 2.35rem;
  }
}

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