/* CO.PUBLIC coming soon — variant C
   Playful / cool. Logo, exact brand colors, Geist, literal copy, heritage photos.
   No product items. No gradients. Exact brand hex only.
*/

@font-face {
  font-family: Geist;
  src: url("assets/fonts/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0057A5;
  --blue-hover: #1D5EB3;
  --white: #FFFFFF;
  --black: #040606;
  --font: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad-x: clamp(20px, 5vw, 64px);
  --radius: 0;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-ui: 300ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--black);
  color: var(--white);
  font-size: 0.8125rem;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ---------- Grain (photos only) ---------- */
.c-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("assets/grain.png");
  background-size: 180px 180px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.22;
}

.c-tape {
  position: absolute;
  width: 46px;
  height: 9px;
  background: var(--black);
  pointer-events: none;
  z-index: 3;
}

.c-tape--tr {
  top: 10px;
  right: -7px;
  transform: rotate(14deg);
}

.c-tape--tl {
  top: 10px;
  left: -7px;
  transform: rotate(-11deg);
}

/* ---------- Hero ---------- */
.c-hero {
  position: relative;
  overflow-x: clip;
  padding: 28px var(--pad-x) 32px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-hero-pattern {
  position: absolute;
  top: 8%;
  left: -4%;
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  background-color: var(--white);
  background-image: url("assets/pattern-allover.png");
  background-size: 180px auto;
  background-repeat: repeat;
  transform: rotate(-12deg);
  z-index: 0;
  pointer-events: none;
}

.c-hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) min(500px, 66vw) minmax(0, 1.5fr);
  grid-template-areas:
    ". shot type"
    ". signup ."
    ". launch .";
  column-gap: 0;
  align-items: center;
  justify-items: center;
}

.c-display {
  grid-area: type;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  justify-self: start;
  align-self: center;
  margin: 0 0 0 44px;
  z-index: 2;
  pointer-events: none;
}

.c-display-left,
.c-display-right {
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: uppercase;
  color: var(--blue);
  max-width: none;
}

.c-hero-shot {
  grid-area: shot;
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  transform: rotate(-2.4deg);
  background: var(--black);
  border: 1px solid var(--black);
  box-shadow: none;
  filter: none;
}

.c-hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 955 / 1222;
  object-fit: cover;
  object-position: center 20%;
}

.c-hero-logo {
  position: absolute;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  width: 42%;
  height: auto;
  background: transparent;
  filter: none;
  z-index: 2;
}

/* Blue signup bar */
.c-signup {
  grid-area: signup;
  width: 100%;
  max-width: 28rem;
  margin: 2rem auto 0;
  background: var(--blue);
  padding: 8px;
  justify-self: stretch;
}

.signup-row {
  display: flex;
  width: 100%;
  min-width: 0;
}

.c-signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--white);
  border-right: 0;
  border-radius: 0;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.c-signup input[type="email"]::placeholder {
  color: var(--white);
  opacity: 1;
}

.c-signup input[type="email"]:-webkit-autofill,
.c-signup input[type="email"]:-webkit-autofill:hover,
.c-signup input[type="email"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0057A5 inset;
  -webkit-text-fill-color: #FFFFFF;
  caret-color: #FFFFFF;
}

.c-signup button {
  flex: 0 0 auto;
  height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--blue);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease);
}

.c-signup button:hover,
.c-signup button:focus-visible {
  background: var(--blue-hover);
  color: var(--white);
  border-color: var(--blue-hover);
}

.c-signup:focus-within input[type="email"],
.is-preview-focus .c-signup input[type="email"] {
  border-color: var(--white);
  border-width: 2px;
  padding: 0 15px;
}

.c-signup:focus-within button {
  border-width: 2px;
}

.form-error {
  margin: 0.65rem 8px 4px;
  font-size: 0.8125rem;
  color: var(--white);
}

.form-error[hidden],
.form-success[hidden],
.signup-row[hidden] {
  display: none !important;
}

.form-success {
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.c-launch {
  grid-area: launch;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

/* ---------- Pattern band ---------- */
.c-pattern {
  position: relative;
  height: 220px;
  overflow: clip;
  background: var(--white);
}

.c-pattern-shift {
  position: absolute;
  inset: -55%;
  background-image: url("assets/pattern-allover.png");
  background-repeat: repeat;
  background-size: 200px auto;
  background-color: var(--white);
  transform: rotate(-14deg);
  animation: c-drift 48s linear infinite;
}

@keyframes c-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 432px 407px;
  }
}

/* ---------- Heritage collage ---------- */
.c-heritage {
  position: relative;
  overflow-x: clip;
  padding: 48px var(--pad-x) 40px;
  background: var(--white);
}

.c-kicker {
  position: relative;
  z-index: 8;
  margin: 0 0 2.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

.c-collage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 980px;
  padding-top: 0.5rem;
}

.c-shot {
  position: absolute;
  margin: 0;
  transform: translateY(var(--para, 0px)) rotate(var(--rot, 0deg));
  transform-origin: center center;
  z-index: 1;
  will-change: transform;
}

.c-shot-float {
  position: relative;
  animation: c-float var(--dur, 8s) var(--ease) var(--delay, 0s) infinite;
}

.c-shot img {
  width: 100%;
  height: auto;
  box-shadow: none;
  filter: none;
  background: var(--black);
  border: 1px solid var(--black);
}

.c-shot:hover {
  z-index: 8;
}

.c-shot:hover .c-shot-float {
  /* lift only; no shadow or scale */
}

.c-shot:hover img {
  transform: translateY(-8px);
}

@keyframes c-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(var(--lift, -12px)) rotate(var(--wobble, 1deg));
  }
}

.c-shot--hurdles {
  top: 6%;
  left: 8%;
  width: 44%;
  z-index: 2;
}

.c-shot--tracksuits {
  top: 16%;
  left: 48%;
  width: 24%;
  z-index: 4;
}

.c-shot--brooklyn {
  top: 6%;
  left: 70%;
  width: 27%;
  z-index: 5;
}

.c-shot--players {
  top: 40%;
  left: 26%;
  width: 30%;
  z-index: 6;
}

.c-shot--cricket {
  top: 52%;
  left: 0%;
  width: 23%;
  z-index: 3;
}

.c-shot--stadium {
  top: 58%;
  left: 60%;
  width: 32%;
  z-index: 3;
}

/* ---------- About + values ---------- */
.c-about {
  position: relative;
  overflow-x: clip;
  padding: clamp(48px, 7vw, 88px) var(--pad-x) 72px;
  background: var(--white);
}

.c-about-cp {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(38vw, 420px);
  height: auto;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  filter: none;
}

.c-about-grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.c-about-heading {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--black);
}

.c-about-copy {
  max-width: 44rem;
  margin: 0 0 3.5rem;
}

.c-about-copy p {
  margin: 0 0 1.1em;
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--black);
}

.c-about-copy p:last-child {
  margin-bottom: 0;
}

.c-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-values-list li {
  margin: 0;
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--black);
}

/* ---------- Marquee ---------- */
.c-marquee {
  overflow: clip;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 0;
}

.c-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  width: max-content;
  animation: c-marquee 32s linear infinite;
}

.c-marquee-item {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex-shrink: 0;
  height: clamp(2rem, 5.2vw, 3rem);
}

.c-marquee-icon,
.c-marquee-word {
  display: block;
  height: 100%;
  width: auto;
}


@keyframes c-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.c-footer {
  padding: 32px var(--pad-x);
  text-align: center;
  background: var(--white);
}

.c-footer a {
  color: var(--black);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: lowercase;
  transition: color var(--t-ui) var(--ease);
}

.c-footer a:hover,
.c-footer a:focus-visible {
  color: var(--blue);
}

.c-credit {
  margin: 12px 0 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: rgba(4, 6, 6, 0.42);
  text-transform: none;
}

.c-footer .c-credit a {
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: inherit;
  text-transform: none;
  text-decoration: none;
}

.c-footer .c-credit a:hover,
.c-footer .c-credit a:focus-visible {
  color: var(--blue);
}


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .c-shot-float,
  .c-pattern-shift,
  .c-marquee-track,
  .c-signup button,
  .c-shot img,
  .c-footer a {
    animation: none !important;
    transition: none !important;
  }

  .c-shot {
    --para: 0px;
  }

  .c-shot:hover img {
    transform: none;
  }

  .c-marquee-track {
    width: 100%;
    justify-content: center;
    transform: none;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .c-hero {
    padding: 24px var(--pad-x) 32px;
    min-height: 0;
    justify-content: flex-start;
  }

  .c-hero-pattern {
    width: 52vw;
    height: 52vw;
    top: 12.5rem;
    left: -20%;
  }

  .c-hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .c-display {
    display: block;
    position: relative;
    z-index: 4;
    margin: 0;
    justify-self: auto;
    align-self: stretch;
    font-size: clamp(4rem, 18vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.84;
    text-transform: uppercase;
    color: var(--blue);
  }

  .c-display-left,
  .c-display-right {
    display: block;
    position: static;
    justify-self: auto;
    margin: 0;
    font-size: inherit;
  }

  .c-hero-shot {
    width: min(82%, 280px);
    max-width: none;
    align-self: flex-end;
    margin: -72px 0 0;
    transform: rotate(-1.8deg);
  }

  .c-hero-logo {
    width: 50%;
    bottom: 10%;
  }

  .c-signup {
    margin-top: 2.25rem;
    max-width: none;
  }

  .signup-row {
    flex-direction: column;
  }

  .c-signup input[type="email"],
  .c-signup:focus-within input[type="email"],
  .is-preview-focus .c-signup input[type="email"] {
    border: 1px solid var(--white);
    border-bottom: 0;
    width: 100%;
    padding: 0 16px;
  }

  .c-signup:focus-within input[type="email"],
  .is-preview-focus .c-signup input[type="email"] {
    border-width: 2px;
    border-bottom-width: 0;
    padding: 0 15px;
  }

  .c-signup button {
    width: 100%;
    border: 1px solid var(--white);
  }

  .c-launch {
    margin-top: 1rem;
  }

  .c-pattern {
    height: 140px;
  }

  .c-heritage {
    padding: 32px var(--pad-x) 24px;
  }

  .c-collage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 24px;
  }

  .c-shot {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 82%;
    margin: -22px 0;
  }

  .c-shot--hurdles {
    width: 94%;
    align-self: flex-start;
    z-index: 2;
  }

  .c-shot--tracksuits {
    width: 70%;
    align-self: flex-end;
    z-index: 3;
  }

  .c-shot--brooklyn {
    width: 74%;
    align-self: flex-start;
    z-index: 4;
  }

  .c-shot--players {
    width: 80%;
    align-self: flex-end;
    z-index: 5;
  }

  .c-shot--cricket {
    width: 68%;
    align-self: flex-start;
    z-index: 3;
  }

  .c-shot--stadium {
    width: 78%;
    align-self: flex-end;
    z-index: 4;
  }

  .c-about {
    padding: 56px var(--pad-x) 48px;
  }

  .c-about-cp {
    width: 58vw;
    top: auto;
    bottom: -8%;
    right: -18%;
    opacity: 1;
  }

  .c-about-grid {
    margin-top: 0;
  }

  .c-pattern-shift {
    background-size: 140px auto;
  }
}
