:root {
  --radius: 0.5rem;
  --background: #ffffff;
  --foreground: oklch(0.3 0.02 265);
  --card: oklch(1 0 0);
  --primary: #2b3077;
  --primary-foreground: oklch(0.984 0.003 247.858);
  --muted-foreground: oklch(0.554 0.046 257.417);
  --accent: #86c440;
}

* { box-sizing: border-box; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

html { scroll-behavior: smooth; }

.home-shell {
  position: relative;
  min-height: calc(100svh - 181px); /* the 181px header sits above the shell, as in the reference */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
}

.site-header,
.page-grid {
  width: min(100%, 1480px);
  margin-inline: auto;
  padding-inline: clamp(1.4rem, 4vw, 4.75rem);
}

.site-header {
  height: clamp(5rem, 11vh, 7.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 3;
}

.brand-link {
  display: inline-flex;
  width: min(15.5rem, 46vw);
  transition: transform 180ms ease, opacity 180ms ease;
}

.brand-link:hover { transform: translateY(-2px); opacity: 0.9; }
.brand-link img { width: 100%; height: auto; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(20rem, 1.02fr);
  column-gap: clamp(2rem, 3vw, 4rem);
  align-items: end;
  align-content: start;
  padding-top: clamp(1rem, 4vh, 2.4rem);
  flex: 1;
  min-height: 0;
  padding-bottom: clamp(0.8rem, 2vh, 1.6rem);
}

.intro-column { align-self: end; max-width: 47rem; container-type: inline-size; }

h1, h2 { font-family: "Plus Jakarta Sans", sans-serif; color: var(--primary); letter-spacing: 0; line-height: 1.2; }

/* page text colour as in the reference (the shared layout wrapper would make it darker) */
.site-shell { color: var(--foreground); }

.intro-column #page-title {
  margin: 0;
  font-size: min(clamp(1.85rem, 2.9vw, 3.3rem), 6.25cqw);
  font-weight: 800;
  line-height: 1.1;
}

.intro-column .headline-line { display: block; white-space: nowrap; }
.intro-column .headline-accent { margin-top: clamp(1.1rem, 3vh, 2rem); color: var(--accent); }
.intro-column .delivery-word,
.intro-column .delivery-number,
.intro-column .delivery-ways { color: #d93632; }

.lead-copy {
  max-width: 48rem;
  font-size: clamp(1.1rem, 1.3vw, 1.28rem);
  line-height: 1.58;
}

.lead-copy { margin: clamp(1.1rem, 2.3vh, 1.75rem) 0 0; color: var(--foreground); }

.hero-visual { align-self: end; margin: 0; min-width: 0; width: 100%; }
.hero-visual figure { margin: 0; }
.hero-visual .merchant-ticker { margin: 0 0 2.5rem; }

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 0.4rem 4.5rem 0.4rem 0.4rem;
  box-shadow: 1.3rem 1.3rem 0 rgba(134, 196, 64, 0.32), 0 2rem 4rem rgba(43, 48, 119, 0.18);
}

.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.merchant-ticker {
  width: 100%;
  margin-top: clamp(1.1rem, 2.4vh, 1.75rem);
  border: 1px solid rgba(43, 48, 119, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(0.7rem, 1.2vh, 1rem) clamp(0.9rem, 1.4vw, 1.3rem);
  box-shadow: 0 0.6rem 1.6rem rgba(43, 48, 119, 0.07);
}

.ticker-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 1.35vw, 1.4rem);
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-title::after {
  content: "";
  height: 2px;
  width: 3.2rem;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.65;
}

.ticker-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-half {
  display: flex;
  gap: clamp(0.6rem, 1vw, 0.9rem);
  padding-right: clamp(0.6rem, 1vw, 0.9rem);
}

.merchant-tile {
  display: grid;
  place-items: center;
  width: clamp(6.5rem, 9vw, 8.5rem);
  height: 4.5rem;
  border: 1px solid rgba(43, 48, 119, 0.14);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0.45rem 0.6rem;
  box-shadow: 0 0.5rem 1.4rem rgba(43, 48, 119, 0.08);
}

.merchant-tile img {
  display: block;
  height: 3.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.25rem);
  margin-top: clamp(1.25rem, 2.6vh, 2rem);
}

.audience-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 11.5rem;
  padding: clamp(0.9rem, 1.3vw, 1.2rem);
  border: 1px solid rgba(43, 48, 119, 0.12);
  border-top: 0.28rem solid var(--panel-accent);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.9rem 2.4rem rgba(43, 48, 119, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.audience-panel:hover { transform: translateY(-4px); box-shadow: 0 1.2rem 2.7rem rgba(43, 48, 119, 0.13); }
.audience-panel-navy { --panel-accent: var(--primary); }
.audience-panel-green { --panel-accent: var(--accent); }

.audience-heading { display: flex; min-width: 0; align-items: center; gap: 0.9rem; }
.audience-heading h2 { margin: 0; font-size: clamp(1.3rem, 1.6vw, 1.65rem); font-weight: 800; }
.audience-panel-green h2 { color: var(--accent); }
.audience-heading p { margin: 0.2rem 0 0; font-size: 1.1rem; color: var(--muted-foreground); }

.store-actions { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.store-badge-link { display: inline-flex; align-items: center; justify-content: center; height: 2.35rem; width: 7.7rem; border-radius: 0.45rem; transition: transform 160ms ease, filter 160ms ease; }
.store-badge-link:hover { transform: translateY(-3px); filter: drop-shadow(0 0.5rem 0.45rem rgba(43, 48, 119, 0.2)); }
.store-badge-link:focus-visible, .more-link:focus-visible, .brand-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.store-badge-link img { display: block; height: 100%; width: 100%; }

.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  margin-top: auto;
}

.more-link svg { transition: transform 160ms ease; }
.more-link:hover { color: var(--accent); }
.more-link:hover svg { transform: translate(3px, -3px); }

@media (max-width: 1199px) {
  .home-shell { overflow-x: clip; overflow-y: visible; }
  .page-grid { height: auto; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr); padding-bottom: 1.5rem; }
  .more-link { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .site-header { height: 5rem; }
  .page-grid { display: flex; flex-direction: column; gap: 2rem; }
  .intro-column { padding-top: 0; align-self: stretch; width: 100%; }
  .intro-column #page-title { font-size: min(clamp(1.85rem, 7.2vw, 2.6rem), 6.25cqw); }
  .hero-visual { order: -1; }
  .photo-frame { border-radius: 0.35rem 2.5rem 0.35rem 0.35rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-panel { padding: 1.4rem; }
  .store-actions { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Tablets, phones and any portrait screen: do not stretch the hero to the full screen height (it left a large empty gap above the footer) */
@media (max-width: 1199px), (orientation: portrait) {
  .home-shell { min-height: 0; }
}

/* the shared .hero-visual padding (merchant page hero) must not apply to this home hero */
.home-shell .hero-visual { padding: 0; }
