:root {
  --background: #f4ead8;
  --background-deep: #decaab;
  --surface: rgba(255, 248, 238, 0.82);
  --surface-strong: #fff7ed;
  --foreground: #34261c;
  --ink-soft: rgba(52, 38, 28, 0.74);
  --line: rgba(104, 78, 50, 0.18);
  --olive: #5d6c4d;
  --olive-deep: #404834;
  --clay: #ad6c49;
  --clay-soft: #ca9068;
  --shadow-soft: 0 24px 60px rgba(96, 63, 33, 0.14);
  --shadow-frame: 0 14px 34px rgba(96, 63, 33, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(173, 108, 73, 0.14), transparent 18%),
    linear-gradient(180deg, #f8f0e3 0%, #efdfc5 46%, #dcc198 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    radial-gradient(rgba(112, 90, 63, 0.08) 0.7px, transparent 0.7px);
  background-size: auto, 16px 16px;
  mix-blend-mode: multiply;
}

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

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

.bakery-site {
  overflow: hidden;
}

.hero-section,
.menu-section,
.story-section,
.gallery-section,
.contact-section {
  position: relative;
}

.hero-section {
  min-height: 100svh;
  padding: 1.5rem clamp(1.25rem, 2vw, 2rem) 3rem;
  background:
    radial-gradient(circle at 14% 15%, rgba(255, 255, 255, 0.62), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(202, 144, 104, 0.18), transparent 18%);
}

.hero-section::before,
.menu-section::before,
.gallery-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  left: clamp(1.25rem, 2vw, 2rem);
  right: clamp(1.25rem, 2vw, 2rem);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.topbar,
.hero-grid,
.flavor-marquee,
.menu-section,
.story-section,
.gallery-section,
.contact-section,
.order-rail {
  max-width: 1240px;
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--olive);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ghost-link,
.secondary-link,
.inline-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--olive-deep);
  font-size: 0.98rem;
}

.ghost-link::after,
.secondary-link::after,
.inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
  transform-origin: left;
}

.ghost-link:hover::after,
.secondary-link:hover::after,
.inline-link:hover::after {
  transform: scaleX(0.45);
}

.order-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(104, 78, 50, 0.16);
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(255, 248, 238, 0.94), rgba(250, 239, 221, 0.88)),
    rgba(255, 248, 238, 0.85);
  box-shadow: var(--shadow-frame);
  backdrop-filter: blur(10px);
}

.order-rail-copy {
  display: grid;
  gap: 0.15rem;
}

.order-rail-copy span {
  color: var(--olive);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.order-rail-copy strong {
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.order-rail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--clay) 0%, #91573d 100%);
  color: #fff8f2;
  box-shadow: 0 12px 24px rgba(145, 87, 61, 0.22);
}

.hero-brand {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 1.2rem auto 0;
}

.hero-brand img {
  width: min(100%, 44rem);
  border-radius: 1.8rem;
  border: 1px solid rgba(104, 78, 50, 0.16);
  box-shadow: 0 22px 44px rgba(96, 63, 33, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  min-height: calc(100svh - 11rem);
}

.hero-copy {
  max-width: 31rem;
  padding-block: 1.2rem 2rem;
  animation: rise-in 800ms ease both;
}

.hero-kicker {
  margin: 0 0 1rem;
  color: var(--clay);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.story-copy h2,
.contact-copy h2,
.order-card-copy h3,
.featured-loaf h3,
.menu-visual-note h3 {
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.7rem, 8.3vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 8ch;
  text-wrap: balance;
}

.hero-text,
.story-copy p,
.contact-copy p,
.order-card-copy p,
.featured-loaf p,
.flavor-meta p,
.contact-detail p {
  color: var(--ink-soft);
  line-height: 1.68;
}

.hero-text {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.8rem;
  padding: 0.96rem 1.4rem;
  border: 1px solid rgba(57, 65, 54, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--olive) 0%, var(--olive-deep) 100%);
  color: #faf5ee;
  box-shadow: 0 12px 30px rgba(57, 65, 54, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(57, 65, 54, 0.24);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.hero-facts dt,
.contact-detail span {
  margin-bottom: 0.25rem;
  color: var(--olive);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-facts dd,
.contact-detail strong,
.contact-action strong {
  margin: 0;
  font-size: 1rem;
}

.hero-collage {
  position: relative;
  min-height: 44rem;
  animation: fade-in 900ms ease both 140ms;
}

.collage-panel {
  position: absolute;
  overflow: hidden;
  background: #f7f0e3;
  border-radius: 1.65rem;
  border: 1px solid rgba(114, 93, 71, 0.14);
  box-shadow: var(--shadow-frame);
  padding: 0.8rem;
}

.collage-panel::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(114, 93, 71, 0.08);
  pointer-events: none;
}

.collage-panel img,
.featured-loaf img,
.story-image img,
.gallery-card img,
.order-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.collage-panel-main {
  inset: 1rem 0 3rem 12%;
  transform: rotate(-2deg);
}

.collage-panel-top {
  width: 36%;
  top: 4%;
  left: -2%;
  aspect-ratio: 0.92;
  transform: rotate(4deg);
}

.collage-panel-bottom {
  width: 44%;
  right: 2%;
  bottom: 0;
  aspect-ratio: 0.82;
  transform: rotate(5deg);
}

.collage-panel-main,
.collage-panel-top,
.collage-panel-bottom {
  animation: drift 10s ease-in-out infinite;
}

.collage-panel-top {
  animation-delay: -2s;
}

.collage-panel-bottom {
  animation-delay: -4s;
}

.flavor-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 1.5rem;
  padding-block: 0.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 241, 228, 0.45);
}

.flavor-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.95rem 0;
  color: var(--olive-deep);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: marquee 30s linear infinite;
}

.menu-section,
.story-section,
.gallery-section,
.contact-section {
  padding: clamp(4.8rem, 8vw, 7.5rem) clamp(1.25rem, 2vw, 2rem);
}

.menu-section,
.gallery-section {
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.68), rgba(249, 243, 233, 0));
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.75rem;
}

.section-heading h2,
.story-copy h2,
.contact-copy h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
}

.featured-loaf {
  display: grid;
  gap: 1rem;
}

.featured-loaf img {
  aspect-ratio: 0.88;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 260ms ease;
}

.featured-loaf:hover img,
.gallery-card:hover img,
.story-image:hover img {
  transform: scale(1.025);
}

.featured-loaf h3,
.order-card-copy h3 {
  margin: 0;
  font-size: 1.45rem;
}

.featured-loaf p {
  margin: 0.35rem 0 0;
}

.menu-details {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(21rem, 0.98fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.flavor-listing {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding: 2rem 2rem 2.2rem;
  border: 1px solid rgba(114, 93, 71, 0.16);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.flavor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.flavor-meta p,
.contact-detail p {
  margin: 0;
}

.flavor-listing ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flavor-listing li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
}

.flavor-listing li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--clay-soft);
}

.menu-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.9fr);
  gap: 1rem;
  margin-top: 0.25rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.menu-visual-image {
  margin: 0;
  overflow: hidden;
  min-height: 18rem;
  padding: 0.7rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(104, 78, 50, 0.14);
  background: rgba(255, 249, 240, 0.9);
  box-shadow: var(--shadow-frame);
}

.menu-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.menu-visual-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(110, 74, 56, 0.08), rgba(93, 108, 77, 0.08));
}

.menu-visual-note h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.order-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.15rem;
  border: 1px solid rgba(114, 93, 71, 0.16);
  border-radius: 2rem;
  background: rgba(250, 245, 236, 0.78);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
}

.order-card img {
  aspect-ratio: 0.68;
  border-radius: 1.35rem;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}

.story-copy h2,
.contact-copy h2 {
  max-width: 12ch;
}

.story-image {
  overflow: hidden;
  margin: 0;
  border-radius: 2rem;
  border: 1px solid rgba(114, 93, 71, 0.14);
  box-shadow: var(--shadow-soft);
  background: #fbf5e8;
  padding: 0.9rem;
}

.story-image img {
  aspect-ratio: 1.02;
  border-radius: 1.25rem;
  transition: transform 280ms ease;
}

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

.gallery-card {
  grid-column: span 4;
  overflow: hidden;
  margin: 0;
  padding: 0.75rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(114, 93, 71, 0.14);
  background: rgba(250, 244, 233, 0.78);
  box-shadow: var(--shadow-frame);
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 8;
}

.gallery-card img {
  height: 100%;
  min-height: 18rem;
  border-radius: 1rem;
  transition: transform 280ms ease;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-action,
.contact-detail {
  min-height: 13rem;
  padding: 1.6rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(114, 93, 71, 0.14);
  box-shadow: var(--shadow-soft);
}

.contact-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #667554 0%, #434c37 100%);
  color: #f9f4eb;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.contact-action:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(57, 65, 54, 0.22);
}

.contact-action span {
  color: rgba(249, 244, 235, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(250, 245, 236, 0.82);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }

  50% {
    transform: translateY(-8px) rotate(var(--rotation, 0deg));
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.collage-panel-main {
  --rotation: -2deg;
}

.collage-panel-top {
  --rotation: 4deg;
}

.collage-panel-bottom {
  --rotation: 5deg;
}

@media (max-width: 980px) {
  .hero-grid,
  .story-section,
  .contact-section,
  .menu-details,
  .order-rail,
  .menu-visual,
  .featured-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 32rem;
    margin-top: 1rem;
  }

  .gallery-card,
  .gallery-card.wide {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .hero-section {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-brand {
    margin-top: 1rem;
  }

  .hero-brand img {
    width: min(100%, 30rem);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
  }

  .hero-facts,
  .flavor-listing ul {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 24rem;
  }

  .collage-panel-main {
    inset: 1rem 0 2rem 10%;
  }

  .collage-panel-top {
    width: 45%;
    top: 0;
  }

  .collage-panel-bottom {
    width: 52%;
  }

  .flavor-listing,
  .order-rail {
    padding: 1rem;
  }

  .gallery-card img,
  .story-image img {
    min-height: 16rem;
  }
}
