:root {
  --color-canvas: #f6ead8;
  --color-surface: #fff9ef;
  --color-ink: #250812;
  --color-text-muted: #654953;
  --color-berry: #3d0b1d;
  --color-berry-deep: #2a0714;
  --color-berry-soft: #6b1735;
  --color-rose: #ffd3dc;
  --color-on-dark: #fff7e9;
  --color-on-dark-muted: #ead4d6;
  --color-glovo: #ffc244;
  --color-glovo-hover: #ffd166;
  --color-green: #83d7b3;
  --shadow-ring-dark: 0 0 0 1px oklch(1 0 0 / .1);
  --shadow-ring-light: 0 0 0 1px oklch(0 0 0 / .08);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 22%, rgba(107, 23, 53, .09), transparent 24rem),
    radial-gradient(circle at 94% 62%, rgba(255, 194, 68, .14), transparent 26rem),
    var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(61, 11, 29, .14) .65px, transparent .65px);
  background-size: 20px 20px;
  content: "";
  opacity: .22;
  pointer-events: none;
}

::selection {
  background: var(--color-berry);
  color: var(--color-on-dark);
}

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

a {
  color: inherit;
  text-underline-position: from-font;
  text-decoration-thickness: from-font;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.brand-ribbon {
  display: grid;
  min-height: 2.25rem;
  overflow: hidden;
  background: var(--color-berry-deep);
  color: var(--color-on-dark);
  place-items: center;
}

.brand-ribbon span {
  width: max-content;
  padding-inline: 1rem;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 2.25rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-shell {
  width: min(calc(100% - 24px), 68rem);
  margin-inline: auto;
  padding-block: 1rem calc(1.75rem + env(safe-area-inset-bottom));
}

.hero {
  display: grid;
  overflow: hidden;
  border-radius: 2.25rem;
  background:
    radial-gradient(circle at 0 0, rgba(255, 211, 220, .12), transparent 22rem),
    var(--color-berry);
  color: var(--color-on-dark);
  box-shadow:
    var(--shadow-ring-dark),
    0 1.75rem 5rem rgba(42, 7, 20, .25);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 1.75rem 1.5rem 1rem;
}

.wordmark {
  margin-block-end: 2rem;
  font: italic 700 clamp(2rem, 9vw, 2.75rem)/1 var(--font-display);
  letter-spacing: -.055em;
}

.kicker {
  color: var(--color-berry-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.kicker-on-dark {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--color-green);
}

.kicker-on-dark span {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 .3rem rgba(131, 215, 179, .13);
}

.hero h1 {
  max-width: 8ch;
  margin-block-start: .9rem;
  font: 600 clamp(2.75rem, 13vw, 6rem)/.9 var(--font-display);
  letter-spacing: -.07em;
}

.hero h1 em {
  color: var(--color-rose);
  font-weight: 400;
}

.hero-intro {
  max-width: 34rem;
  margin-block: 1.35rem 1.5rem;
  color: var(--color-on-dark-muted);
  font-size: clamp(1rem, 3.8vw, 1.125rem);
  line-height: 1.58;
}

.glovo-button {
  display: flex;
  width: 100%;
  min-height: 3.75rem;
  min-width: 0;
  max-width: 24rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.25rem;
  background: var(--color-glovo);
  color: #211704;
  font-size: .98rem;
  font-weight: 800;
  padding-block: .75rem;
  padding-inline: .75rem .9rem;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 0 0 1px oklch(0 0 0 / .08),
    0 .75rem 1.75rem rgba(0, 0, 0, .2);
}

.button-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .7rem;
}

.glovo-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  overflow: hidden;
  border-radius: .5rem;
  place-items: center;
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / .1);
}

.glovo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}

.button-arrow {
  flex: 0 0 auto;
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-1px);
}

.glovo-button:hover {
  background: var(--color-glovo-hover);
}

.glovo-button:active {
  filter: brightness(.94);
}

.glovo-button:focus-visible {
  outline: 3px solid var(--color-on-dark);
  outline-offset: 4px;
}

.cta-note {
  margin-block-start: .8rem;
  color: var(--color-on-dark-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.hero-media {
  position: relative;
  min-height: 24rem;
  padding: .75rem;
}

.hero-media::after {
  position: absolute;
  inset-inline: .75rem;
  bottom: .75rem;
  height: 30%;
  border-radius: 0 0 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(24, 3, 11, .62), transparent);
  content: "";
  pointer-events: none;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border-radius: 18rem 18rem 1.5rem 1.5rem;
  object-fit: cover;
  object-position: center 37%;
  outline: 1px solid oklch(1 0 0 / .1);
  outline-offset: -1px;
}

.hero-media figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 1.7rem;
  bottom: 1.55rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: var(--color-on-dark);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-shadow: 0 1px .75rem rgba(0, 0, 0, .65);
  text-transform: uppercase;
}

.showcase {
  position: relative;
  margin-block-start: 6.5rem;
}

.section-watermark {
  position: absolute;
  z-index: -1;
  inset-inline-end: -1rem;
  top: -4.5rem;
  color: var(--color-berry);
  font: italic 700 clamp(5rem, 18vw, 11rem)/1 var(--font-display);
  letter-spacing: -.07em;
  opacity: .055;
  pointer-events: none;
  white-space: nowrap;
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
}

.section-heading h2,
.closing h2 {
  margin-block-start: .65rem;
  font: 600 clamp(2.4rem, 10vw, 4.75rem)/.98 var(--font-display);
  letter-spacing: -.055em;
}

.section-heading > p {
  max-width: 31ch;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.product-group {
  margin-block-start: 3.75rem;
}

.group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1rem;
}

.group-heading h3 {
  font: 600 clamp(1.5rem, 6vw, 2rem)/1.1 var(--font-display);
  letter-spacing: -.03em;
}

.group-heading span,
.product-number {
  color: var(--color-berry-soft);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-block: -.35rem .9rem;
  color: var(--color-text-muted);
  font-size: .74rem;
  font-weight: 700;
}

.scroll-hint span {
  color: var(--color-berry-soft);
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-auto-columns: minmax(14rem, calc(100% - 1.75rem));
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: .2rem .2rem 1.25rem;
  scroll-padding-inline: .2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--color-berry-soft) transparent;
  scrollbar-width: thin;
}

.product-grid:focus-visible {
  border-radius: 1.5rem;
  outline: 3px solid var(--color-berry);
  outline-offset: 4px;
}

.product-card {
  min-width: 0;
  scroll-snap-align: start;
}

.product-card > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14rem 14rem 1.25rem 1.25rem;
  object-fit: cover;
  object-position: center 37%;
  outline: 1px solid oklch(0 0 0 / .1);
  outline-offset: -1px;
  box-shadow: 0 1rem 2.75rem rgba(61, 11, 29, .13);
}

.product-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  padding-block-start: 1.1rem;
  padding-inline: .25rem;
}

.product-number {
  padding-block-start: .24rem;
}

.product-card h4 {
  font: 650 1.2rem/1.2 var(--font-body);
  letter-spacing: -.025em;
}

.product-card p {
  margin-block-start: .4rem;
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.closing {
  display: grid;
  gap: 2rem;
  margin-block-start: 7rem;
  padding: 2rem 1.5rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, .34), transparent 17rem),
    var(--color-glovo);
  box-shadow:
    var(--shadow-ring-light),
    0 1.5rem 4rem rgba(61, 11, 29, .14);
}

.closing .kicker {
  color: var(--color-berry);
}

.closing h2 {
  max-width: 13ch;
}

.closing div > p:last-child {
  max-width: 36rem;
  margin-block-start: 1rem;
  color: #503415;
  line-height: 1.55;
}

.glovo-button-dark {
  align-self: end;
  background: var(--color-berry-deep);
  color: var(--color-on-dark);
}

.glovo-button-dark:hover {
  background: var(--color-berry);
}

.glovo-button-dark:focus-visible {
  outline-color: var(--color-berry-deep);
}

footer {
  padding-block-start: 2rem;
  color: var(--color-text-muted);
  font-size: .8rem;
  text-align: center;
}

footer span:first-child {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

@media (max-width: 22rem) {
  .hero-copy {
    padding-inline: 1rem;
  }

  .glovo-button {
    gap: .5rem;
    padding-inline: .6rem;
    font-size: .86rem;
  }

  .button-label {
    gap: .5rem;
  }

  .glovo-icon {
    width: 2rem;
    height: 2rem;
  }

  .button-arrow {
    display: none;
  }
}

@media (min-width: 48rem) {
  .site-shell {
    width: min(calc(100% - 3rem), 68rem);
    padding-block-start: 1.5rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .65fr);
    align-items: end;
  }

  .scroll-hint {
    display: none;
  }

  .product-grid {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-block-end: 0;
  }

  .closing {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
    align-items: end;
    padding: 3rem;
  }

  .closing .glovo-button {
    width: 100%;
  }
}

@media (min-width: 55rem) {
  .site-shell {
    padding-block-start: 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
    min-height: 39rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.25rem 1.5rem 3.25rem 3.25rem;
  }

  .wordmark {
    margin-block-end: 3.5rem;
  }

  .hero-media {
    min-height: 100%;
  }

  .hero-media > img {
    min-height: 100%;
  }
}

@media (hover: hover) {
  .glovo-button:hover {
    filter: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .glovo-button {
    transition:
      transform 150ms ease-out,
      box-shadow 150ms ease-out,
      background-color 150ms ease-out;
  }

  .glovo-button:hover {
    transform: translateY(-2px);
  }

  .glovo-button:active {
    transform: scale(.96);
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --color-text-muted: #49303a;
    --color-on-dark-muted: #fff1ee;
  }
}

@media (forced-colors: active) {
  .glovo-button:focus-visible,
  .product-grid:focus-visible {
    outline-color: Highlight;
  }
}

[dir="rtl"] .button-arrow {
  transform: translateY(-1px) scaleX(-1);
}
