:root {
  --black: #030303;
  --white: #ffffff;
  --cream: #f1eadc;
  --warm: #c9753d;
  --peach: #f4b08d;
  --sage: #65735d;
  --moss: #253228;
  --sand: #d8ccb7;
  --ink: #101010;
  --muted: #6c655b;
  --line: rgba(16, 16, 16, 0.16);
  --max: min(1180px, calc(100vw - 42px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 40px;
  color: var(--white);
  transition: background 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: var(--black);
}

.brand,
.site-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid currentColor;
  font-weight: 800;
}

.site-nav {
  gap: 38px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.site-nav a,
.lang-button {
  transition: opacity 0.22s ease;
}

.site-nav a:hover,
.lang-button:hover {
  opacity: 0.7;
}

.header-actions {
  justify-content: flex-end;
  gap: 22px;
}

.lang-button {
  background: transparent;
  color: currentColor;
  font-weight: 800;
}

.header-cta,
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 38px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-cta:hover,
.hero-button:hover {
  transform: translateY(-4px);
}

.hero {
  position: relative;
  min-height: 125vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.08)),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
  background-size: cover;
  filter: saturate(1.08) contrast(0.98) brightness(0.86);
  transform: scale(calc(1.04 + (var(--scroll, 0) * 0.000035)));
  transform-origin: center;
  animation: photoBreath 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    radial-gradient(circle at 52% 38%, rgba(244, 176, 141, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.26), rgba(3, 3, 3, 0.22) 45%, rgba(3, 3, 3, 0.9));
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(840px, calc(100vw - 40px));
  margin-top: -156px;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 22px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6.35vw, 5.9rem);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.hero-note {
  max-width: 700px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-button {
  margin-top: 34px;
}

.site-gallery {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 18px;
  overflow: hidden;
  padding-block: 22px 24px;
  pointer-events: auto;
}

.site-gallery::before,
.site-gallery::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 220px);
  content: "";
  pointer-events: none;
}

.site-gallery::before {
  left: 0;
  background: linear-gradient(90deg, rgba(3, 3, 3, 0.76), transparent);
}

.site-gallery::after {
  right: 0;
  background: linear-gradient(270deg, rgba(3, 3, 3, 0.76), transparent);
}

.gallery-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding-inline: 34px;
  transform: translateX(calc(var(--scroll, 0) * -0.1px));
  animation: galleryCarousel 34s linear infinite;
}

.site-gallery:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-card {
  flex: 0 0 390px;
  min-height: 220px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(80px) rotate(var(--tilt, 0deg));
  animation: cardEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.2s + (var(--card-index) * 0.11s));
}

.gallery-card--store {
  --tilt: -3deg;
  align-self: center;
  background:
    linear-gradient(rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.58)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1100&q=82");
  background-size: cover;
  background-position: center;
}

.gallery-card--pos {
  flex-basis: 470px;
  min-height: 248px;
  background: var(--sand);
  color: var(--black);
}

.gallery-card--routes {
  --tilt: 3deg;
  align-self: center;
  background:
    linear-gradient(rgba(37, 50, 40, 0.18), rgba(37, 50, 40, 0.64)),
    url("https://images.unsplash.com/photo-1534536281715-e28d76689b4d?auto=format&fit=crop&w=1100&q=82");
  background-size: cover;
  background-position: center;
}

.gallery-card--campaign {
  --tilt: -1.5deg;
  background:
    linear-gradient(rgba(244, 176, 141, 0.1), rgba(244, 176, 141, 0.72)),
    url("https://images.unsplash.com/photo-1557838923-2985c318be48?auto=format&fit=crop&w=1100&q=82");
  background-size: cover;
  background-position: center;
  color: var(--black);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-hero {
  width: min(350px, 80%);
  margin: 48px 24px 0;
}

.store-hero span,
.route-panel small,
.campaign-panel small,
.metric-grid small {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-hero strong,
.route-panel strong,
.campaign-panel strong {
  display: block;
  font-size: 1.74rem;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.product-strip {
  display: flex;
  gap: 10px;
  margin: 18px 24px 0;
}

.product-strip span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 30px 28px 18px;
}

.metric-grid div {
  min-height: 96px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.metric-grid strong {
  display: block;
  font-size: 1.72rem;
  letter-spacing: -0.05em;
}

.order-lines {
  display: grid;
  gap: 10px;
  padding: 0 28px 24px;
}

.order-lines span {
  height: 16px;
  background: rgba(16, 16, 16, 0.14);
}

.route-panel {
  width: min(360px, calc(100% - 54px));
  margin: 56px 24px 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--black);
}

.campaign-panel {
  width: min(380px, calc(100% - 56px));
  margin: 56px 24px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.numbers-band {
  background: var(--black);
  color: var(--white);
  padding: 98px 40px 86px;
}

.numbers-intro {
  max-width: 680px;
  margin: 0 auto 54px;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
  line-height: 1.7;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  width: var(--max);
  margin: 0 auto;
}

.number-item {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.number-item strong {
  display: block;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.08em;
}

.number-item span {
  display: block;
  max-width: 280px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.growth-section {
  padding: 110px 40px;
  background: var(--white);
}

.section-heading {
  width: min(820px, calc(100vw - 42px));
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.split-copy h2,
.final-card h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.08em;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.final-card p {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading--left p:not(.eyebrow) {
  margin-left: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 1px;
  width: var(--max);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.solution-card {
  min-height: 360px;
  padding: 28px;
  background: var(--cream);
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.solution-card:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-8px);
}

.solution-card span {
  display: block;
  color: var(--warm);
  font-weight: 800;
}

.solution-card h3 {
  margin: 92px 0 18px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.solution-card:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.editorial-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 760px;
  background: var(--moss);
  color: var(--white);
}

.split-image {
  min-height: 760px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=84");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 0);
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px clamp(32px, 6vw, 90px);
}

.split-copy p {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 32px;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
  text-transform: uppercase;
}

.marquee-section {
  overflow: hidden;
  background: #10291f;
  color: rgba(255, 255, 255, 0.72);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.76rem, 1vw, 0.98rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  width: 0.34em;
  height: 0.34em;
  border-radius: 999px;
  background: #39a46b;
  content: "";
  opacity: 0.9;
}

.process-section {
  padding: 110px 40px;
  background: var(--cream);
}

.process-section .section-heading,
.process-rows {
  width: var(--max);
}

.process-rows {
  margin: 50px auto 0;
}

.process-row {
  display: grid;
  grid-template-columns: 88px 0.85fr 1fr;
  gap: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.process-row span {
  color: var(--warm);
  font-weight: 800;
}

.process-row strong {
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.process-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  min-height: 760px;
  display: grid;
  place-items: center;
  padding: 100px 40px;
  background:
    linear-gradient(rgba(3, 3, 3, 0.42), rgba(3, 3, 3, 0.42)),
    url("https://images.unsplash.com/photo-1497215842964-222b430dc094?auto=format&fit=crop&w=1800&q=84");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.65fr);
  gap: 70px;
  padding: 72px 40px 32px;
  background: var(--black);
  color: var(--white);
}

.footer-brand,
.footer-nav,
.footer-bottom {
  width: 100%;
}

.footer-brand p {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.footer-nav {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: end;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav a {
  opacity: 0.78;
  transition: opacity 0.22s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.final-card {
  width: min(940px, calc(100vw - 42px));
  padding: clamp(36px, 7vw, 82px);
  background: var(--cream);
  color: var(--black);
  text-align: center;
}

.final-card p {
  margin-inline: auto;
}

.hero-button--dark {
  background: var(--black);
  color: var(--white);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: 280px;
  padding: 14px 16px;
  background: var(--black);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.solution-card.reveal,
.process-row.reveal,
.number-item.reveal {
  transition-delay: calc(var(--reveal-index, 0) * 80ms);
}

@keyframes photoBreath {
  from {
    filter: saturate(1.05) contrast(0.98) brightness(0.82);
  }

  to {
    filter: saturate(1.22) contrast(1.04) brightness(0.9);
  }
}

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
}

@keyframes galleryCarousel {
  from {
    transform: translateX(calc(var(--scroll, 0) * -0.1px));
  }

  to {
    transform: translateX(calc(-50% + (var(--scroll, 0) * -0.1px)));
  }
}

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

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

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

  .site-nav {
    display: none;
  }

  .site-gallery {
    bottom: 28px;
  }

  .gallery-track {
    gap: 24px;
  }

  .gallery-card {
    flex-basis: 360px;
    min-height: 235px;
  }

  .gallery-card--pos {
    flex-basis: 440px;
    min-height: 260px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .metric-grid div {
    min-height: auto;
  }

  .numbers-grid,
  .solution-grid,
  .editorial-split,
  .process-row {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 260px;
  }

  .solution-card h3 {
    margin-top: 54px;
  }

  .split-image {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .lang-button {
    display: none;
  }

  .header-cta {
    min-height: 48px;
    padding-inline: 18px;
  }

  .hero {
    min-height: 1060px;
  }

  .hero-content {
    margin-top: -150px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-note {
    font-size: 0.98rem;
  }

  .hero-button {
    min-height: 58px;
    padding-inline: 28px;
  }

  .site-gallery {
    bottom: 18px;
    padding-block: 14px 24px;
  }

  .gallery-track {
    gap: 16px;
    padding-inline: 18px;
    animation-duration: 28s;
  }

  .gallery-card {
    flex-basis: 250px;
    min-height: 200px;
  }

  .gallery-card--pos {
    flex-basis: 310px;
    min-height: 210px;
    height: 210px;
  }

  .store-hero,
  .route-panel {
    margin-top: 62px;
  }

  .store-hero strong,
  .route-panel strong {
    font-size: 1.7rem;
  }

  .card-topline {
    padding: 14px 16px;
    font-size: 0.62rem;
  }

  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 28px 14px 0;
  }

  .metric-grid div {
    min-height: 92px;
    padding: 14px;
  }

  .metric-grid strong {
    font-size: 1.28rem;
  }

  .order-lines {
    display: none;
  }

  .numbers-band {
    padding: 72px 20px;
  }

  .growth-section,
  .process-section,
  .final-cta {
    padding: 78px 20px;
  }

  .section-heading h2,
  .split-copy h2,
  .final-card h2 {
    font-size: 3rem;
  }

  .editorial-split {
    min-height: 0;
  }

  .split-image {
    min-height: 420px;
  }

  .split-copy {
    padding: 70px 22px;
  }

  .process-row {
    gap: 18px;
  }

  .process-row strong {
    font-size: 1.7rem;
  }

  .final-card {
    padding: 34px 22px;
  }

  .marquee-section {
    padding: 12px 0;
  }

  .marquee-track,
  .marquee-track span {
    gap: 20px;
  }

  .marquee-track span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 20px 28px;
  }

  .footer-nav {
    justify-items: start;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  .reveal,
  .gallery-card {
    opacity: 1;
    transform: none;
  }
}
