:root {
  --ink: #633b2c;
  --muted: #7a685d;
  --accent: #986a3e;
  --cream: #fdf7ef;
  --sand: #f7ecdf;
  --white: #ffffff;
  --serif: "Hedvig Letters Serif", "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", sans-serif;
  --slide-w: 300px;
  --slide-h: 400px;
  --gap: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  text-align: center;
}

.hero {
  width: min(1480px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 52px 0 42px;
  border: 2px solid #2b211c;
  border-radius: 32px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(43, 33, 28, 0.16);
}

img {
  display: block;
}

.brand {
  height: 40px;
  width: auto;
}

.copy {
  max-width: 520px;
  padding-inline: 20px;
}

h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.timer {
  display: flex;
  gap: 10px;
}

.tick {
  min-width: 68px;
  padding: 8px 10px 7px;
  background: var(--white);
  border-radius: 14px;
}

.tick strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.tick span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  max-width: 460px;
  padding-inline: 20px;
  font-size: 0.92rem;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  gap: var(--gap);
  padding-right: var(--gap);
}

.marquee img {
  width: var(--slide-w);
  height: var(--slide-h);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
  flex: 0 0 auto;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.agency img {
  height: 40px;
  width: auto;
}

@media (max-width: 1240px) {
  :root {
    --slide-w: 240px;
    --slide-h: 320px;
    --gap: 12px;
  }

  .hero {
    padding: 40px 0 32px;
  }
}

@media (max-height: 760px), (max-width: 700px) {
  :root {
    --slide-w: 180px;
    --slide-h: 240px;
    --gap: 10px;
  }

  .hero {
    gap: 28px;
    padding: 24px 0 20px;
    border-radius: 20px;
  }

  .brand {
    height: 28px;
  }

  .tick {
    min-width: 58px;
  }

  .tick strong {
    font-size: 1.25rem;
  }

  .agency img {
    height: 34px;
  }
}

@media (max-height: 640px) {
  body {
    align-items: flex-start;
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }
}
