/* ============================================================
   247 Play Systems — corporate site
   Hand-written CSS, no build step, no dependencies.

   Parent company of Fans Colony: this page's job is to read as a real,
   serious company to someone like a club or league partnership director
   evaluating whether to take a meeting. That ruled out both Fans Colony's
   dark "night-stadium" look (wrong entity) and this site's earlier warm
   cream-and-copper palette (read as boutique/editorial, not institutional).
   Cooler, higher-contrast, closer to sports-business/broadcast materials:
   deep navy ink, a neutral paper, a restrained brass-gold accent.

   No web fonts. A system stack costs zero requests and renders instantly on
   a slow connection, which matters more on a page whose job is credibility
   than a bespoke typeface would. Distinctiveness comes from scale, spacing
   and a single accent instead.
   ============================================================ */

:root {
  --paper:      #f5f6f7;   /* cool near-white, never pure #fff */
  --paper-2:    #eaecee;
  --ink:        #0d1526;   /* deep navy-black, never pure #000 */
  --ink-soft:   #4d5666;
  --rule:       #d7dbe1;
  --accent:     #a9812f;   /* muted brass-gold — institutional, not "AI purple" */
  --accent-ink: #7c5f22;

  --wrap: 1080px;
  --r: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Tinted to the ink hue rather than neutral black, so shadows read as
     depth on a cool ground instead of grey smudge. */
  --lift: 0 1px 2px rgba(13, 21, 38, 0.05), 0 8px 24px -12px rgba(13, 21, 38, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.wrap.narrow { max-width: 720px; }

.skip {
  position: absolute; left: 14px; top: -60px; z-index: 20;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip:focus { top: 14px; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.021em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 680; }
h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 660; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.012em; }
p  { text-wrap: pretty; }

.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 14px;
}

.lead, .section-lead {
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: var(--ink-soft);
  max-width: 56ch;
}

.link {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 129, 47, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link:hover, .link:focus-visible { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- Wordmark ---------- */
/* min-height gives the home link a proper tap target without changing how
   the wordmark looks — the baseline alignment of the two spans is preserved. */
.mark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; min-height: 44px; }
.mark-num {
  font-weight: 760; font-size: 21px; letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.mark-name { font-weight: 620; font-size: 16px; letter-spacing: -0.012em; }

/* ---------- Header ---------- */
.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 246, 247, 0.88);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
.bar nav { display: flex; align-items: center; gap: 8px; }
.bar nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14.5px; font-weight: 560; text-decoration: none;
  color: var(--ink-soft);
  padding: 0 12px; border-radius: var(--r);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.bar nav a:hover, .bar nav a:focus-visible { color: var(--ink); background: var(--paper-2); }
.nav-cta {
  color: var(--paper) !important; background: var(--ink);
  /* Horizontal padding only — the 44px min-height on `.bar nav a` sets the
     height, and vertical padding on top of it would overshoot. */
  padding: 0 17px !important;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--accent-ink) !important; color: var(--paper) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 11vw, 128px) 0 clamp(52px, 8vw, 96px);
  /* Warm light from the upper left — one light source, kept consistent
     with the shadow direction used on cards below. */
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(169, 129, 47, 0.08), transparent 58%),
    var(--paper);
  border-bottom: 1px solid var(--rule);
}
.hero h1 { margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }

.btn {
  display: inline-block;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 620; text-decoration: none;
  padding: 13px 26px; border-radius: var(--r);
  transition: background-color 0.2s var(--ease), transform 0.12s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--accent-ink); box-shadow: var(--lift); }
.btn:active { transform: translateY(1px); box-shadow: none; }

/* A secondary action, not an inline link — so it needs a real tap target.
   Underline drawn with a pseudo-element rather than border-bottom, because
   padding for the hit area would otherwise push the rule away from the text. */
.btn-quiet {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 4px;
  font-size: 15px; font-weight: 560; text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.btn-quiet::after {
  content: ''; position: absolute;
  left: 4px; right: 4px; bottom: 11px;
  height: 1px; background: var(--rule);
  transition: background-color 0.2s var(--ease);
}
.btn-quiet:hover, .btn-quiet:focus-visible { color: var(--ink); }
.btn-quiet:hover::after, .btn-quiet:focus-visible::after { background: var(--accent); }

/* ---------- Sections ---------- */
/* Slightly more below than above: the heading block already carries weight
   at the top, so equal padding reads top-heavy. */
.section { padding: clamp(58px, 8vw, 92px) 0 clamp(66px, 9vw, 104px); }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--rule); }
.section h2 { margin-bottom: 18px; }
.section-lead { margin: 0 0 40px; }

/* ---------- Ventures ---------- */
.venture {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 30px 32px;
  margin-top: 34px;
  box-shadow: var(--lift);
  max-width: 70ch;
}
.venture-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.venture h3 { font-size: 24px; }
.status {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.status-soon { background: rgba(169, 129, 47, 0.14); color: var(--accent-ink); }
.venture-line { font-size: 17.5px; font-weight: 560; margin: 0 0 14px; }
.venture p { color: var(--ink-soft); }
.venture .pledge {
  background: var(--paper-2);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 15.5px;
}
.venture .pledge strong { color: var(--ink); }

/* ---------- Contact form ---------- */
.contact { margin-top: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 620; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  color: var(--ink);
  font: inherit;
  font-size: 16px;             /* 16px stops iOS Safari zooming on focus */
  padding: 12px 14px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(169, 129, 47, 0.18);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}

/* Honeypot. Hidden from people, left in the DOM for bots to fill in.
   Not display:none — some bots skip those. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact button {
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: var(--r);
  font: inherit; font-size: 15px; font-weight: 620;
  padding: 13px 30px; cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.12s var(--ease), box-shadow 0.2s var(--ease);
}
.contact button:hover { background: var(--accent-ink); box-shadow: var(--lift); }
.contact button:active { transform: translateY(1px); box-shadow: none; }
.contact button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.contact button:disabled { opacity: 0.6; cursor: default; }

.form-status { font-size: 14.5px; font-weight: 620; margin: 14px 0 0; min-height: 1.2em; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: var(--accent-ink); }

.form-note { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; }
.direct { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: 56px 0 30px; }
.site-foot .mark-name { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
.foot-mark { margin: 0 0 12px; }
.foot-legal { font-size: 14px; color: #b3aca0; margin: 0; line-height: 1.75; }
.foot-legal .pending { color: #d8cfbf; font-style: italic; }
.foot-head { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8d857a; margin: 0 0 10px; }
.site-foot p { margin: 0 0 6px; font-size: 15px; }
.site-foot .link { color: #efe7da; border-bottom-color: rgba(239, 231, 218, 0.32); }
.site-foot .link:hover, .site-foot .link:focus-visible { color: #fff; border-bottom-color: var(--accent); }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px; color: #8d857a;
}

/* ============================================================
   Responsive — media queries stay LAST.
   They share specificity with the base rules they override, so a base rule
   declared below one silently wins. (Learned the hard way on Fans Colony,
   where a stray later rule turned a select box three times too tall.)
   ============================================================ */
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .bar { padding-top: 12px; padding-bottom: 12px; }
  .bar nav { gap: 2px; }
  .bar nav a { padding: 0 9px; font-size: 14px; }
  .nav-cta { padding: 0 14px !important; }
  .venture { padding: 24px 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-base { flex-direction: column; gap: 8px; }
  .hero-actions { gap: 12px; }
  .btn { padding: 13px 22px; }
}
