/* Little Ruckus — Coming Soon · v3
   Brand-aligned: coral / navy / mustard / cream / green */

:root {
  --coral:  #E85A4F;
  --navy:   #1F2A44;
  --mustard:#E8A53A;
  --cream:  #FFF6E5;
  --green:  #6FB37A;
  --tan:    #C9A77A;  /* logo accent */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.serif { font-family: 'Fraunces', Georgia, serif; font-weight: 400; }
.mono  { font-family: 'DM Mono', ui-monospace, monospace; }

.cs3 {
  position: relative;
  min-height: 100vh;
  padding: clamp(20px, 3vw, 40px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  overflow: hidden;
}

.cs3__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cs3__corner {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ── footer ──────────────────────────────────────────── */
.cs3-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  opacity: 0.95;
}
.cs3-foot__line {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cs3-foot__socials {
  display: flex;
  gap: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cs3-foot__socials a {
  position: relative;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.cs3-foot__socials a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.cs3-foot__socials a:hover::after { transform: scaleX(1); }

/* ═════════════════════════════════════════════════════
   VARIANT A — Made for the mess (hero)
   ═════════════════════════════════════════════════════ */
.cs3--mess .cs3__center {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: clamp(16px, 4vw, 40px) 0;
  position: relative;
}

.cs3-mess__logo {
  margin-bottom: clamp(20px, 3vw, 36px);
  width: clamp(220px, 28vw, 380px);
}
.cs3-mess__logo img {
  width: 100%;
  /* The PNG is already coloured with brand tan + grey. Slight float effect. */
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.12));
}

.cs3-mess__shout {
  display: grid;
  grid-template-columns: 1fr;
  font-family: 'Fraunces', Georgia, serif;
  line-height: 0.86;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.cs3-mess__l1 {
  font-size: clamp(56px, 10vw, 140px);
  font-style: italic;
  font-weight: 300;
}
.cs3-mess__l2 {
  font-size: clamp(40px, 7vw, 96px);
  font-style: italic;
  font-weight: 300;
  align-self: center;
  margin-top: -0.04em;
}
.cs3-mess__l3 {
  position: relative;
  font-size: clamp(110px, 22vw, 320px);
  font-weight: 500;
  font-style: normal;
  margin-top: -0.04em;
}
.cs3-mess__scribble {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.04em;
  height: clamp(14px, 2vw, 26px);
}

.cs3-mess__lead {
  margin-top: clamp(22px, 3vw, 36px);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.35;
  max-width: 38ch;
  opacity: 0.95;
}

.cs3--mess .stamp,
.cs3--mess > .cs3__center > *:last-child {
  /* the Stamp component */
  margin-top: clamp(28px, 4vw, 44px);
}

/* ═════════════════════════════════════════════════════
   VARIANT B — Marquee chaos
   ═════════════════════════════════════════════════════ */
.cs3--chaos { gap: 0; padding-left: 0; padding-right: 0; padding-bottom: clamp(24px, 3vw, 40px); }
.cs3--chaos .cs3__top { padding: 0 clamp(24px, 5vw, 64px); }

.cs3-chaos__rows {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
  pointer-events: none;
  z-index: 0;
  top: 60px;
}
.cs3-chaos__row {
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.9;
  font-size: clamp(64px, 14vw, 180px);
}
.cs3-chaos__row:nth-child(odd) {
  font-style: italic;
  font-weight: 300;
}
.cs3-chaos__track {
  display: inline-block;
  animation: cs3-mq 40s linear infinite;
}
.cs3-chaos__row[style*="--mq-dir: -1"] .cs3-chaos__track {
  animation-direction: reverse;
}
.cs3-chaos__row > .cs3-chaos__track > * {
  display: inline-block;
  padding-right: 0.18em;
}
.cs3-chaos__star { font-style: normal; opacity: 0.85; }
@keyframes cs3-mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

.cs3-chaos__center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 64px);
}
.cs3-chaos__plate {
  background: var(--bg);
  border: 2px solid currentColor;
  padding: clamp(28px, 4vw, 52px) clamp(40px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  box-shadow: 6px 6px 0 currentColor;
}
.cs3-chaos__plate img {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.10));
}
.cs3-chaos__under {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.cs3-chaos__bullet { font-size: 16px; }

.cs3--chaos .cs3-foot { padding: 18px clamp(24px, 5vw, 64px) 0; position: relative; z-index: 2; }

/* the Stamp inside chaos sits absolute, top-right of plate */
.cs3-chaos__center > div:last-child {
  position: absolute;
  top: clamp(20px, 4vw, 40px);
  right: clamp(20px, 4vw, 40px);
}

/* ═════════════════════════════════════════════════════
   VARIANT C — Manifesto
   ═════════════════════════════════════════════════════ */
.cs3--man { gap: clamp(28px, 4vw, 56px); }
.cs3-man__hero {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
.cs3-man__logo { width: clamp(180px, 22vw, 300px); }
.cs3-man__logo img { width: 100%; }
.cs3-man__tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.85;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.cs3-man__tagline > :first-child {
  font-size: clamp(28px, 4.4vw, 60px);
  margin-bottom: 0.05em;
}
.cs3-man__big {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(72px, 12vw, 180px);
  line-height: 0.85;
}

.cs3-man__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 32px) clamp(28px, 4vw, 64px);
  border-top: 1px solid currentColor;
  padding-top: clamp(24px, 3vw, 40px);
}
.cs3-man__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px dashed currentColor;
}
.cs3-man__num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1;
  font-style: italic;
  opacity: 0.95;
}
.cs3-man__title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.05;
}
.cs3-man__desc {
  margin-top: 4px;
  font-size: clamp(13px, 1.1vw, 15px);
  opacity: 0.78;
  font-family: 'DM Sans', sans-serif;
}

.cs3-man__sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cs3-man__sign > :first-child {
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 32ch;
  opacity: 0.9;
}

/* ── responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .cs3 { padding: 20px 22px; }
  .cs3__top { font-size: 10px; }
  .cs3-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cs3-foot__socials { gap: 16px; }

  .cs3-mess__logo { width: 180px; margin-bottom: 18px; }
  .cs3-mess__lead { font-size: 16px; }

  .cs3-chaos__row { font-size: clamp(48px, 14vw, 88px); }
  .cs3-chaos__plate { padding: 28px 32px; }
  .cs3-chaos__plate img { width: 200px; height: auto; }
  .cs3-chaos__under { flex-direction: column; gap: 4px; font-size: 12px; }
  .cs3-chaos__center > div:last-child { top: 12px; right: 12px; transform: rotate(14deg) scale(0.75); }

  .cs3-man__hero { grid-template-columns: 1fr; gap: 16px; }
  .cs3-man__logo { width: 180px; }
  .cs3-man__list { grid-template-columns: 1fr; }
  .cs3-man__sign { flex-direction: column; align-items: flex-start; }
}
