@font-face {
  font-family: "NAMU Display";
  src: url("./assets/NAMU-1400.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NAMU Text";
  src: url("./assets/NAMU-1850.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NAMU Wide";
  src: url("./assets/NAMU-1910.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #042141;
  --lemon: #deec7f;
  --white: #fff;
  font-family: "NAMU Text", Arial, sans-serif;
  color: var(--white);
  background: var(--navy);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { min-width: 280px; }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { color: var(--navy); background: var(--lemon); }

.landing {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: clamp(18px, 2.5vh, 32px) 4.4vw clamp(24px, 3.7vh, 48px);
}

.backdrop, .backdrop::after, .backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.backdrop { z-index: -1; overflow: hidden; }
.backdrop img { object-fit: cover; object-position: 50% 50%; }
.backdrop::after { content: ""; background: rgb(4 33 65 / 40%); }

.brand { text-align: center; }
.tagline {
  display: flex;
  justify-content: space-between;
  font-family: "NAMU Wide", Arial, sans-serif;
  font-size: clamp(0.75rem, 1.458vw, 2rem);
  line-height: 1.2;
  color: var(--lemon);
  text-transform: uppercase;
  white-space: nowrap;
}

h1 {
  font-family: "NAMU Display", Arial, sans-serif;
  font-size: 17.818vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.356vw;
  white-space: nowrap;
  margin: -0.084em -1vw 0;
}

.delivery {
  width: min(100%, 40rem);
  margin: auto;
  padding: clamp(48px, 6vh, 90px) 0 clamp(40px, 6vh, 72px);
}

h2 {
  font-family: "NAMU Wide", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.875rem;
}

.delivery-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  color-scheme: light;
}

.delivery-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #111;
  padding: 0.875rem 0.75rem 2.5rem;
  min-width: 0;
  text-decoration: none;
  transition: background-color 180ms ease;
  -webkit-tap-highlight-color: rgb(222 236 127 / 40%);
}

.delivery-card:focus-visible {
  outline: 4px solid var(--lemon);
  outline-offset: 5px;
  z-index: 1;
}

.service-logo { height: 67px; display: flex; align-items: center; justify-content: center; }
.service-logo img { flex-shrink: 0; }
.qr-code { width: 182px; height: 182px; object-fit: contain; }
.order-link {
  margin-top: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.order-label { text-decoration: underline; text-underline-offset: 0.18em; }
.provider-name { white-space: nowrap; }
.arrow { display: none; }
.card-divider {
  position: absolute;
  width: 1px;
  height: 289px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.card-divider img { position: absolute; top: 0; left: 0; transform: rotate(90deg); transform-origin: 0 0; }
.brand-signature { display: flex; justify-content: center; }
.brand-signature img { width: 84px; height: 134px; }

@media (hover: hover) {
  .bolt:hover { background: #f0faf4; }
  .glovo:hover { background: #fff9e9; }
}

@media (min-width: 761px) and (max-height: 900px) {
  .delivery { width: clamp(28rem, 33.333vw, 40rem); max-width: 100%; padding-top: 28px; padding-bottom: 28px; }
  h2 { font-size: 1rem; margin-bottom: 1.2rem; }
  .delivery-card { padding-top: 10px; padding-bottom: 18px; }
  .service-logo { height: 50px; }
  .service-logo img { transform: scale(0.88); }
  .qr-code { width: 128px; height: 128px; }
  .order-link { margin-top: 12px; }
  .card-divider { height: 200px; }
  .card-divider img { transform: rotate(90deg) scaleX(0.692); }
  .brand-signature { height: 100px; }
  .brand-signature img { transform: scale(0.746); transform-origin: top center; }
}

@media (max-width: 760px) {
  .landing { padding: 30px 24px 26px; gap: 0; }
  .backdrop img { object-position: 23% 50%; }
  .backdrop::after { background: linear-gradient(180deg, rgb(4 33 65 / 43%), rgb(4 33 65 / 25%) 35%, rgb(4 33 65 / 58%) 100%); }
  .tagline { font-size: 0.75rem; max-width: 225px; margin-inline: auto; }
  h1 { font-size: 17.5vw; letter-spacing: -0.035em; line-height: 1.3; margin: 0 -12px; }
  .delivery { width: 100%; max-width: 28rem; padding: 110px 0 36px; margin: auto; }
  h2 { font-size: 0.875rem; letter-spacing: 0.23em; margin-bottom: 20px; }
  .delivery-options { grid-template-columns: 1fr; gap: 12px; background: transparent; }
  .delivery-card { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 17px 18px; min-height: 100px; background: var(--white); }
  .service-logo { height: 67px; width: 132px; flex: 0 0 132px; }
  .service-logo img { transform: scale(0.73); }
  .order-link { display: flex; flex: 1 1 8rem; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.875rem; line-height: 1.5; margin-top: 0; }
  .arrow { display: inline; text-decoration: none; font-family: Arial, sans-serif; font-size: 1.5rem; }
  .qr-code, .card-divider { display: none; }
  .brand-signature { height: 92px; }
  .brand-signature img { transform: scale(0.6866); transform-origin: top center; }
}

@media (max-width: 374px) {
  .landing { padding-right: 18px; padding-left: 18px; }
  .tagline { max-width: 215px; }
  .delivery-card { padding: 12px; }
  .service-logo { width: 112px; flex-basis: 112px; }
  .service-logo img { transform: scale(0.64); }
  .order-link { gap: 6px; }
}

@media (max-width: 760px) and (max-height: 700px) {
  .landing { padding-top: 22px; padding-bottom: 20px; }
  .delivery { padding-top: 40px; padding-bottom: 28px; }
  .brand-signature { height: 75px; }
  .brand-signature img { transform: scale(0.56); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
