/* Edge Sports Ventures.
   Deliberately not the card-grid-and-pill-badges look: that layout is what every
   generated landing page converges on. This is built as a DOCUMENT - a serif
   masthead, hairline rules, a numbered index of work, scope stated in words
   rather than coloured tags. Self-contained because this site deploys
   separately from edge-site and cannot reach its stylesheet. */
:root {
  --ink:    #0B1A2B;   /* same navy as the Soccer Edge mark */
  --ink-70: #3d4a5c;
  --ink-45: #6f7b8b;
  --ink-20: #c6cdd6;
  --rule:   #e4e8ee;
  --paper:  #fbfaf8;   /* warm, not the default cold #f8fafc */
  --blue:   #2F6BFF;
  --measure: 34rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* One family throughout. The display serif read as fussy rather than clean, and a
   second face was doing work the layout already does. Character now comes from
   weight, tracking and scale - the rules, the numbering and the index carry the
   editorial feel without a decorative typeface. */
h1, h2, h3, .display {
  font-family: inherit;
  font-weight: 600; letter-spacing: -.025em;
}
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-20); }
a:hover { border-bottom-color: var(--blue); color: var(--blue); }
.wrap { max-width: 61rem; margin: 0 auto; padding: 0 2rem; }

/* Masthead -------------------------------------------------------------- */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .75rem; border: 0; }
.logo img { width: 30px; height: 30px; display: block; }
.logo span { font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; color: var(--ink); }
.masthead nav { font-size: .875rem; }
.masthead nav a { margin-left: 1.5rem; border: 0; color: var(--ink-45); }
.masthead nav a:hover { color: var(--ink); }

/* Lede ------------------------------------------------------------------ */
.lede { padding: 5.5rem 0 4rem; }
.kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-45); margin-bottom: 1.75rem; }
.lede h1 { font-size: clamp(2.25rem, 5.2vw, 3.5rem); line-height: 1.08; margin: 0 0 1.5rem;
  max-width: 19ch; letter-spacing: -.032em; }
.lede h1 em { font-style: normal; color: var(--blue); }
.lede .stand { font-size: 1.1875rem; color: var(--ink-70); max-width: var(--measure); margin: 0; }

/* Sections -------------------------------------------------------------- */
.section { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; gap: .5rem 3rem; margin-bottom: 2.5rem; }
@media (min-width: 820px) { .section-head { grid-template-columns: 12rem 1fr; } }
.section-head h2 { font-size: 1.375rem; margin: 0; }
.section-head p { margin: 0; color: var(--ink-70); max-width: var(--measure); }
.section-no { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }

/* The index of work: rows, not cards ------------------------------------ */
.index { border-top: 1px solid var(--rule); }
.row { display: grid; gap: .25rem 3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
  align-items: start; }
@media (min-width: 820px) { .row { grid-template-columns: 12rem 1fr 7.5rem; } }
.row h3 { font-size: 1.0625rem; margin: 0; }
.row p { margin: 0; color: var(--ink-70); max-width: var(--measure); }
.row .meta { font-size: .8125rem; color: var(--ink-45); }
.row .meta b { display: block; font-weight: 600; color: var(--ink); }
.row:hover { background: #fff; }
.row a { font-size: .9375rem; }

/* Carry-over list ------------------------------------------------------- */
.carry { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.carry div { display: grid; gap: .25rem 3rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 820px) { .carry div { grid-template-columns: 12rem 1fr; } }
.carry dt, .carry b { font-weight: 600; }
.carry p { margin: 0; color: var(--ink-70); max-width: var(--measure); }

/* Close ----------------------------------------------------------------- */
.close { padding: 4rem 0 2rem; border-top: 1px solid var(--rule); }
.close p { font-size: 1.5rem; font-weight: 600; line-height: 1.35; letter-spacing: -.025em;
  max-width: 30ch; margin: 0 0 1.5rem; }
.colophon { border-top: 1px solid var(--rule); padding: 1.5rem 0 3rem; color: var(--ink-45);
  font-size: .8125rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Figures ---------------------------------------------------------------
   Plates, not cards: a hairline frame, a plain caption underneath, no
   shadow, no radius, no hover lift. The page needed something to look at
   without going back to the grid-of-tiles it was built to get away from. */
.plate { margin: 0; }
.plate img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: #fff; }
.plate figcaption { margin-top: .75rem; font-size: .8125rem; color: var(--ink-45); max-width: var(--measure); }
.plate-lede { margin-top: 3.5rem; }

/* Two plates side by side on wide screens, stacked on narrow. */
.plates { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 820px) { .plates { grid-template-columns: 1fr 1fr; } }

/* A dark band to break up the paper, carrying the mark at size. ---------- */
.band { background: var(--ink); color: #fff; margin-top: 0; }
.band .wrap { padding-top: 4rem; padding-bottom: 4rem; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 820px) { .band .wrap { grid-template-columns: 9rem 1fr; gap: 4rem; } }
.band img { width: 100%; max-width: 9rem; height: auto; }
.band p { font-size: 1.375rem; font-weight: 500; line-height: 1.45; letter-spacing: -.02em;
  margin: 0; max-width: 34ch; }
.band em { font-style: normal; color: #8db0ff; }

/* The analytics plate sits full-bleed-ish: it is a wide strip, not a card. */
.strip { margin-top: 2.5rem; }
.strip img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.strip figcaption { margin-top: .75rem; font-size: .8125rem; color: var(--ink-45); max-width: var(--measure); }
