/* Brand outline font: drop the licensed webfont at fonts/mr-mamoulian.woff2 */
@font-face {
  font-family: "Mr Mamoulian";
  src: url("fonts/mr-mamoulian.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Didot LP Display";
  src: url("fonts/Didot%20LP%20Display.woff2") format("woff2");
  font-display: swap;
}

/* Pizza Club. brand tokens */
:root {
  --navy: #0F1D3F;
  --pink: #D5B2AF;
  --cream: #F7F0E3;
  --red: #CC0000;
  --yellow: #F4B63F;

  --font-display: "Futura PT", Futura, "Jost", "Century Gothic", sans-serif;
  /* Brand outline face is Mr. Mamoulian (Comicraft, commercial). Self-hosted from fonts/ once
     licensed; until then Rubik 800 drawn as an outline is the closest free stand-in. */
  --font-hand: "Mr Mamoulian", "Rubik", "Arial Rounded MT Bold", sans-serif;

  /* Brand spec: Futura letter spacing -74, line spacing 0.96 */
  --track-tight: -0.074em;
  --leading-tight: 0.96;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
  --radius: 0;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: .75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.dot { color: var(--red); }
.dot-yellow { color: var(--yellow); }

.outline {
  --outline-ink: var(--cream);
  --outline-bg: var(--navy);
  font-family: var(--font-hand);
  font-weight: 800;
  letter-spacing: .07em;
  word-spacing: .15em;
  /* Stroke painted under the fill so only the outer edge shows, keeping letter shapes intact */
  color: var(--outline-bg);
  -webkit-text-stroke: .07em var(--outline-ink);
  paint-order: stroke fill;
  line-height: 1.1;
  text-transform: uppercase;
}
.outline .dot {
  /* Solid round Futura full stop rather than the outline face's hollow one */
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  color: var(--red);
  -webkit-text-stroke: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  background: var(--red);
  color: var(--cream);
  padding: .95rem 1.6rem;
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--navy); }

.btn-ghost { background: var(--cream); color: var(--navy); }
.btn-yellow { background: var(--yellow); color: var(--navy); border-color: var(--cream); box-shadow: 5px 5px 0 var(--cream); }
.btn-yellow:hover { box-shadow: 7px 7px 0 var(--cream); }
.btn-yellow:active { box-shadow: 2px 2px 0 var(--cream); }
.btn-small { padding: .5rem 1rem; box-shadow: 3px 3px 0 var(--navy); font-size: .85rem; }
.btn-small:hover { box-shadow: 5px 5px 0 var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem var(--gutter);
  background: var(--cream);
  border-bottom: 3px solid var(--navy);
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: var(--track-tight);
  text-decoration: none;
  white-space: nowrap;
}
.logo-light { color: var(--cream); }

.site-header ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}
.site-header nav a:not(.btn) {
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .03em;
}
.site-header nav a:not(.btn):hover { color: var(--red); }

@media (max-width: 760px) {
  .site-header li:not(:last-child) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  min-height: min(calc(100svh - 70px), 860px);
  padding: 0;
  border-bottom: 3px solid var(--navy);
}

.hero-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.wordmark {
  margin: 0;
  font-weight: 900;
  font-size: clamp(5rem, 15vw, 13rem);
  line-height: .86;
  letter-spacing: var(--track-tight);
}

.hosted-by {
  font-family: "Didot LP Display", Didot, "Bodoni 72", serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: .02em;
  margin: 1.5rem 0 0;
}

.hero-sub {
  max-width: 34ch;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  margin: 2rem 0 2.25rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-tag {
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--gutter);
}
.hero-tag p {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  text-align: center;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--pink);
  border-bottom: 3px solid var(--navy);
  overflow: hidden;
  padding: 1.1rem 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span:not(.pip) {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--cream);
  white-space: nowrap;
}
.pip {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Section basics ---------- */
section { padding: clamp(4rem, 9vw, 7rem) var(--gutter); }

.section-title,
.headline {
  font-weight: 900;
  letter-spacing: var(--track-tight);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  margin: 0;
}
.section-title {
  font-style: italic;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.headline { font-size: clamp(3rem, 7vw, 5.5rem); }
.headline-light { color: var(--cream); }

/* ---------- About ---------- */
.about {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-card {
  border: 3px solid var(--navy);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background: var(--cream);
  box-shadow: 12px 12px 0 var(--pink);
}
.about-lede {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.1rem;
  max-width: 26ch;
  margin: 1.75rem auto 1.25rem;
  line-height: 1.35;
}
.about-lede em { font-weight: 700; }
.about-strap {
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.about-copy p { margin: 0 0 1.25rem; font-size: 1.2rem; }
.about-copy p:first-child { font-size: 1.4rem; font-weight: 500; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- How ---------- */
.how { background: var(--navy); color: var(--cream); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step {
  border: 3px solid var(--cream);
  padding: 2rem 1.5rem;
}
.step-num {
  --outline-ink: var(--yellow);
  display: inline-block;
  font-size: 3rem;
  line-height: 1;
}
.step h3 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 1.5rem;
  line-height: 1.05;
  margin: 1rem 0 .75rem;
}
.step p { margin: 0; opacity: .9; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Rules ---------- */
.rules { background: var(--yellow); border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); }
.rules-inner { max-width: 860px; margin: 0 auto; }
.rules-title {
  --outline-ink: var(--navy);
  --outline-bg: var(--yellow);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  margin: 0 0 2.5rem;
}
.rules-list { list-style: none; margin: 0; padding: 0; }
.rules-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 1.1rem 0;
  border-bottom: 3px solid var(--navy);
}
.rules-list li:last-child { border-bottom: 0; }
.rules-list span {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-size: 1.2rem;
}

/* ---------- Who ---------- */
.who-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.who-card {
  padding: 2.25rem 2rem;
  border: 3px solid var(--navy);
}
.who-card h3 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: 1.9rem;
  line-height: 1;
  margin: 0 0 1rem;
}
.who-card p { margin: 0; }
.who-pink { background: var(--pink); }
.who-yellow { background: var(--yellow); }
.who-navy { background: var(--navy); color: var(--cream); }

@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--pink); border-top: 3px solid var(--navy); }
.faq .section-title { color: var(--cream); -webkit-text-stroke: 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq details {
  background: var(--cream);
  border: 3px solid var(--navy);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--red);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.5rem 1.4rem; }

/* ---------- Join ---------- */
.join {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  border-top: 3px solid var(--navy);
}
.join-inner { max-width: 640px; margin: 0 auto; }
.join p { font-size: 1.25rem; margin: 1.75rem 0 2.25rem; }
.join .btn { text-transform: none; font-size: clamp(1rem, 3.5vw, 1.15rem); word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 3rem var(--gutter) 2.5rem;
  border-top: 1px solid rgba(247, 240, 227, .2);
}
.site-footer .logo { font-size: 2.25rem; }
.site-footer p { margin: .5rem 0 0; font-weight: 700; text-transform: uppercase; }
.site-footer .small { font-size: .85rem; font-weight: 400; opacity: .7; text-transform: none; }
