:root {
  --forest: #01472e;
  --sage: #ccd5ae;
  --olive: #e9edc9;
  --cream: #fefae0;
  --moss: #a3b18a;
  --red: #b7372f;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-forest: 0 24px 70px rgba(1, 71, 46, 0.2);
  color: var(--forest);
  background: var(--forest);
  font-family: "Inter", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--forest);
  background: var(--forest);
}

body,
button,
input {
  font-family: "Inter", system-ui, sans-serif;
}

button,
a,
input {
  border-radius: 999px;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button {
  cursor: pointer;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.5rem);
  left: clamp(0.75rem, 3vw, 3rem);
  right: clamp(0.75rem, 3vw, 3rem);
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
}

.brand,
.nav-pill a,
.cart-button,
.label,
.product-copy span,
.footer a,
.footer strong,
.footer-bottom,
form label,
form button {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand {
  font-size: clamp(1rem, 2vw, 1.6rem);
  letter-spacing: 0.02em;
}

.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.42rem;
  border: 1px solid rgba(254, 250, 224, 0.72);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-forest);
  backdrop-filter: blur(20px);
}

.nav-pill a {
  padding: 0.78rem 0.92rem;
  transition: background 1.2s var(--ease-premium), color 1.2s var(--ease-premium);
}

.nav-pill a:hover,
.nav-pill a:focus-visible {
  color: var(--cream);
  background: var(--forest);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.72rem 1rem;
  border: 0;
  color: var(--cream);
  background: var(--forest);
  box-shadow: var(--shadow-forest);
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  color: var(--forest);
  background: var(--cream);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 6.5rem clamp(1rem, 5vw, 5rem) clamp(2.2rem, 4vw, 4rem);
  background: var(--sage);
  border-bottom-left-radius: 5rem;
  border-bottom-right-radius: 5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: min(64svh, 48rem);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(5.4rem, 20vw, 20rem);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.07em;
  color: var(--forest);
}

.hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px);
  animation: revealUp 1.2s var(--ease-premium) forwards;
  animation-delay: var(--letter-delay);
}

.hero-title .hero-space {
  width: 0.1em;
}

.hero-centre {
  position: relative;
  display: grid;
  gap: 0.55rem;
  margin: clamp(0.4rem, 1vw, 0.9rem) 0 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-centre p {
  margin: 0;
}

.signature,
.story-signature {
  font-family: "Caveat", cursive;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.signature {
  color: rgba(1, 71, 46, 0.62);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.76;
  transform: rotate(-4deg);
}

.signature::after {
  display: block;
  width: 7rem;
  height: 1px;
  margin: 0.5rem auto 0;
  content: "";
  background: rgba(1, 71, 46, 0.42);
  transform: rotate(-2deg);
}

.hero-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) auto;
  gap: clamp(2rem, 22vw, 18rem);
  align-items: center;
  max-width: 70rem;
  margin: 0 auto;
}

.hero-bottom h2,
.story h2,
.newsletter h2 {
  margin: 0 0 1rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-bottom p,
.story-copy p,
.newsletter p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
}

.story-signature {
  margin-top: 1rem;
  color: rgba(1, 71, 46, 0.7);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.hero-stamp {
  display: grid;
  place-items: center;
  width: clamp(8.6rem, 15vw, 12.5rem);
  aspect-ratio: 1;
  color: rgba(1, 71, 46, 0.45);
  border: 1px solid rgba(1, 71, 46, 0.28);
  border-radius: 999px;
  transform: rotate(-9deg);
}

.hero-stamp strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 0.8;
}

.hero-stamp span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.floating-card {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border-radius: 3rem;
  box-shadow: var(--shadow-forest);
  transform: translate3d(0, var(--scroll-y, 0), 0);
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}

.hero-media--oven {
  top: 20%;
  left: max(-4rem, -3vw);
  width: clamp(8.5rem, 18vw, 18rem);
  aspect-ratio: 3 / 4;
}

.hero-media--pizza {
  right: clamp(-4rem, -2vw, -1rem);
  bottom: 23%;
  width: clamp(16rem, 31vw, 34rem);
  aspect-ratio: 1.14 / 1;
}

.ingredient {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(4.8rem, 10vw, 9rem);
  aspect-ratio: 1;
  border: 1px solid rgba(1, 71, 46, 0.16);
  color: rgba(1, 71, 46, 0.7);
  background: rgba(254, 250, 224, 0.26);
  box-shadow: var(--shadow-forest);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.ingredient--basil {
  top: 10%;
  left: 7%;
}

.ingredient--olive {
  top: 11%;
  right: 8%;
}

.section-rounded {
  margin-top: -4.8rem;
  border-top-left-radius: 5rem;
  border-top-right-radius: 5rem;
}

.products {
  position: relative;
  z-index: 4;
  padding: clamp(7rem, 12vw, 12rem) clamp(1rem, 4vw, 4rem) clamp(5rem, 9vw, 9rem);
  color: var(--cream);
  background: var(--moss);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(10rem, 20rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 76rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(4.4rem, 15vw, 13rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}

.round-cta {
  display: grid;
  place-items: center;
  width: clamp(7.5rem, 12vw, 10rem);
  aspect-ratio: 1;
  border: 1px solid rgba(254, 250, 224, 0.86);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  transition: color 1.2s var(--ease-premium), background 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.round-cta svg {
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.round-cta:hover,
.round-cta:focus-visible {
  color: var(--forest);
  background: var(--cream);
  transform: rotate(4deg) scale(1.03);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 76rem;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;
  color: var(--forest);
  background: var(--cream);
  border-radius: 2.5rem;
  box-shadow: var(--shadow-forest);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2.5rem;
}

.product-image img {
  transition: transform 1.2s var(--ease-premium);
}

.product-image::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: rgba(1, 71, 46, 0.3);
  backdrop-filter: blur(2px);
  transition: opacity 1.2s var(--ease-premium);
}

.quick-add {
  position: absolute;
  inset: auto 1rem 0;
  z-index: 2;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.quick-add button {
  width: 100%;
  min-height: 3.25rem;
  border: 0;
  color: var(--forest);
  background: var(--cream);
  box-shadow: var(--shadow-forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  transform: scale(1.1);
}

.product-card:hover .product-image::after,
.product-card:focus-within .product-image::after,
.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  opacity: 1;
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  transform: translateY(-2rem);
}

.product-copy {
  display: grid;
  gap: 1rem;
  padding: 1.3rem 1.5rem 1.6rem;
}

.product-copy > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.product-copy h3 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-copy strong {
  font-size: 0.95rem;
}

.product-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-copy span {
  opacity: 0.65;
}

.story {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  padding: clamp(6rem, 10vw, 10rem) clamp(1rem, 7vw, 7rem);
  background: var(--olive);
}

.story-copy {
  max-width: 52rem;
}

.story-copy .label {
  margin: 0 0 1.25rem;
}

.story h2 {
  font-size: clamp(3.6rem, 11vw, 10rem);
}

.anniversary {
  display: grid;
  place-items: center;
  width: clamp(12rem, 25vw, 23rem);
  aspect-ratio: 1;
  border: 1px solid rgba(1, 71, 46, 0.28);
  border-radius: 999px;
}

.anniversary span {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(5.8rem, 13vw, 12rem);
  line-height: 0.8;
}

.anniversary small {
  font-weight: 800;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
}

.footer {
  position: relative;
  z-index: 6;
  padding: clamp(5.5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem) 2rem;
  color: var(--sage);
  background: var(--forest);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  max-width: 76rem;
  margin: 0 auto;
}

.newsletter {
  grid-column: span 6;
}

.newsletter h2 {
  color: var(--cream);
}

form {
  margin-top: 2rem;
}

form label {
  display: block;
  margin-bottom: 0.7rem;
}

form div {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(204, 213, 174, 0.45);
  border-radius: 0;
}

input {
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  outline: 0;
  color: var(--cream);
  background: transparent;
  font-size: 1rem;
}

input::placeholder {
  color: rgba(204, 213, 174, 0.55);
}

form button {
  min-height: 3.1rem;
  padding: 0 1.8rem;
  border: 0;
  color: var(--forest);
  background: var(--cream);
}

.footer-links {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-links nav,
.footer-links address {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  font-style: normal;
}

.footer-links address span,
.footer-links address a {
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 76rem;
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(204, 213, 174, 0.35);
  opacity: 0.72;
}

.flag {
  display: inline-grid;
  width: 6.2rem;
  height: 0.55rem;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 999px;
}

.flag::before,
.flag::after {
  content: "";
}

.flag {
  background: linear-gradient(90deg, var(--forest) 0 33%, var(--cream) 33% 66%, var(--red) 66% 100%);
  outline: 1px solid rgba(204, 213, 174, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, var(--scroll-y, 0), 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, calc(var(--scroll-y, 0) - 20px), 0) rotate(5deg);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-pill {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    justify-content: space-between;
    overflow-x: auto;
  }

  .nav-pill a {
    flex: 1;
    min-width: max-content;
    padding-inline: 0.85rem;
    text-align: center;
  }

  .brand {
    font-size: 1.25rem;
  }

  .hero {
    min-height: 100svh;
    padding: 6.25rem 1rem 7rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
  }

  .hero-content {
    min-height: 52svh;
  }

  .hero-title {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-centre {
    width: 100%;
    font-size: 1.15rem;
  }

  .signature {
    font-size: 1.65rem;
  }

  .hero-media--oven {
    top: 25%;
    left: -2.5rem;
    width: 8rem;
  }

  .hero-media--pizza {
    right: -3.25rem;
    bottom: 42%;
    width: 12.5rem;
  }

  .ingredient {
    display: none;
  }

  .hero-bottom,
  .section-head,
  .story,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    align-items: start;
    gap: 2.2rem;
  }

  .hero-bottom h2,
  .hero-bottom p {
    max-width: 19rem;
  }

  .hero-stamp {
    justify-self: start;
    width: 8rem;
  }

  .section-rounded {
    margin-top: -3rem;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
  }

  .products,
  .story,
  .footer {
    padding-inline: 1rem;
  }

  .section-head {
    align-items: start;
  }

  .round-cta {
    width: 8rem;
  }

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

  .product-card {
    border-radius: 2rem;
  }

  .product-image {
    aspect-ratio: 1.08 / 1;
    border-radius: 2rem;
  }

  .quick-add {
    opacity: 1;
    transform: translateY(-1rem);
  }

  .product-image::after {
    opacity: 1;
  }

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

  .newsletter,
  .footer-links {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 5rem;
  }
}

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

  .reveal,
  .hero-title span {
    opacity: 1;
    transform: none;
  }
}
