/* ==========================================================================
   Extras Football — retro milk bar landing page
   ========================================================================== */

:root {
  --cherry: #D9432E;
  --cream: #F4E9D8;
  --cream-deep: #EADCC6;
  --green: #1F5C4C;
  --yellow: #F2B33D;
  --blue: #5B87A6;
  --ink: #2A2018;

  --font-slab: "Bevan", "Rockwell", Georgia, serif;
  --font-sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  --maxw: 620px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* --- Vintage print grain ---------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
}

/* --- Layout -------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 56px 0; }

/* --- Header ------------------------------------------------------------------ */
.site-header {
  padding: 24px;
}
.crest-link { display: inline-block; }
.logo {
  width: 168px;
  height: auto;
  /* the PNG carries ~7.5% transparent padding each side;
     pull left so the "Extras" glyph optically aligns with the content below */
  margin-left: -13px;
}

/* --- Headings -------------------------------------------------------------- */
h1, h2 {
  font-family: var(--font-slab);
  font-weight: 400;
  color: var(--green);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(2.2rem, 8.5vw, 3.9rem);
  hyphens: none;
}
.hero-accent { color: var(--cherry); }

h2 {
  font-size: clamp(1.9rem, 6vw, 2.5rem);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--blue);
  margin: 0 0 18px;
}

/* --- Hero ---------------------------------------------------------------- */
.hero { padding-top: 24px; padding-bottom: 64px; }
.hero-sub {
  font-size: 1.15rem;
  max-width: 34ch;
  margin: 0 0 32px;
}
.hero-note {
  font-weight: 500;
  color: var(--green);
  margin: 18px 0 0;
  font-size: 0.95rem;
}

/* --- Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 14px;
  padding: 16px 26px;
  border: 3px solid var(--ink);
  transition: transform 0.08s ease;
}
.btn:active { transform: translateY(2px); }

.btn-whatsapp {
  background: var(--cherry);
  color: #fff;
  border-color: #A62E1E;
}
.wa-icon { width: 24px; height: 24px; flex: none; }

/* --- Dashed rules (echo the crest ring) --------------------------------- */
.dash-rule {
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 3px dashed var(--green);
  opacity: 0.5;
}

/* --- About ------------------------------------------------------------------- */
.about p { font-size: 1.1rem; }
.about p + p { margin-top: 16px; }

/* --- Session details ---------------------------------------------------- */
.details { background: var(--cream-deep); }
.detail-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
  background: var(--green);
  border: 3px solid var(--green);
  border-radius: 16px;
  overflow: hidden;
}
.detail-grid li {
  background: var(--cream);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--blue);
}
.detail-value {
  font-family: var(--font-slab);
  font-size: 1.15rem;
  color: var(--green);
  line-height: 1.2;
}
.details-cta-line {
  margin: 24px 0 0;
  font-size: 0.98rem;
}
.details-cta-line a { color: var(--cherry); font-weight: 700; }

/* --- Sponsors ----------------------------------------------------------- */
.sponsors { text-align: center; padding: 44px 0; }
.sponsors-title {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.55;
  margin: 0 0 22px;
}
.sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sponsor {
  display: inline-flex;
  align-items: center;
}
.mark {
  display: block;
  background-color: var(--green);
  opacity: 0.75;
  transition: opacity 0.15s ease;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.sponsor:hover .mark,
.sponsor:focus-visible .mark { opacity: 1; }
.mark-max {
  width: 76px;
  height: 29px;
  -webkit-mask-image: url("assets/max-logo.png");
  mask-image: url("assets/max-logo.png");
}
.mark-sessionly {
  /* source PNG is icon + wordmark (438x100); reveal only the wordmark by
     scaling the whole image to 29px tall and showing its right edge */
  width: 94px;
  height: 29px;
  -webkit-mask-image: url("assets/sessionly-logo.png");
  mask-image: url("assets/sessionly-logo.png");
  -webkit-mask-size: 127px 29px;
  mask-size: 127px 29px;
  -webkit-mask-position: right center;
  mask-position: right center;
}
.sponsor-divider {
  width: 1px;
  height: 30px;
  background: var(--ink);
  opacity: 0.2;
}

/* --- Footer CTA -------------------------------------------------------------- */
.footer-cta { text-align: center; padding: 60px 0 48px; }
.footer-cta h2 { color: var(--cherry); }
.footer-logo {
  width: 190px;
  height: auto;
  margin: 40px auto 0;
}

/* --- Site footer ----------------------------------------------------------- */
.site-footer {
  text-align: center;
  padding: 28px 24px 40px;
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.55;
}
.site-footer p { margin: 0; }

/* --- Larger screens ------------------------------------------------------- */
@media (min-width: 700px) {
  section { padding: 72px 0; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
