/* Tennis Tour visual system, TT 04 Hero, TT 05 Coverage cards and TT 08 Lockups. */
:root {
  color-scheme: light dark;
  --surface: #fff;
  --raised: #f6f7f8;
  --ink: #002137;
  --text: #002137;
  --muted: #697075;
  --accent: #c62c19;
  --action: #c62c19;
  --action-hover: #9d2617;
  --tint: #fef4f2;
  --border: #d1d9df;
  --border-strong: #80878d;
  --focus: #3b5c75;
  --display: Futura, "Arial Narrow", Impact, sans-serif;
  --ui: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --body: Charter, "Bitstream Charter", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #002137;
    --raised: #1e2d39;
    --ink: #1e2d39;
    --text: #fff;
    --muted: #c8dae9;
    --accent: #fea291;
    --tint: #4d170f;
    --border: #2b4354;
    --border-strong: #618bac;
    --focus: #fea291;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--surface); font: 17px/1.55 var(--body); }
a { color: inherit; text-underline-offset: .2em; }
:where(a, button, summary, input):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-family: var(--ui); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.frame { width: min(100%, 76rem); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 4.5rem); }
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-heading { max-width: 39rem; margin-bottom: 1.75rem; }
.section-heading p { margin-top: .75rem; color: var(--muted); }

.skip, .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  z-index: 2;
  inset: .75rem auto auto .75rem;
  width: auto;
  height: auto;
  clip-path: none;
  padding: .75rem 1rem;
  background: var(--surface);
}

.site-header { border-bottom: 1px solid var(--border); }
.header-inner, .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
}
.header-inner { padding-block: .875rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand img { display: block; width: clamp(18rem, 32vw, 24rem); height: auto; }
@media (min-width: 620px) and (prefers-color-scheme: dark) {
  .brand img { filter: brightness(0) invert(1); }
}
.brand-name { display: none; }
.beta-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--tint);
  color: var(--accent);
  font: 600 11px/14px var(--ui);
  letter-spacing: .1em;
  text-transform: uppercase;
}
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font: 600 .9375rem/1.3 var(--ui); }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover { color: var(--accent); text-decoration: underline; }

.hero { position: relative; isolation: isolate; }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 35%;
  background: radial-gradient(circle, currentColor 1.5px, transparent 2px) 0 0 / 11px 11px;
  clip-path: polygon(100% 7%, 100% 100%, 0 100%);
  opacity: .10;
  content: "";
}
.hero::after {
  display: block;
  height: 18px;
  background: var(--action);
  clip-path: polygon(0 83%, 100% 0, 100% 100%, 0 100%);
  content: "";
}
.hero-inner { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero h1 {
  max-width: 15ch;
  font: 900 clamp(2.75rem, 7vw, 5.75rem)/.98 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero p { max-width: 35rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.1875rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button, .signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .625rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 650 .9375rem/1.25 var(--ui);
  text-decoration: none;
  cursor: pointer;
}
.primary, .signup button { background: var(--action); color: #fff; }
.primary:hover, .signup button:hover { background: var(--action-hover); }
.secondary { border-color: var(--border-strong); background: var(--surface); }
.secondary:hover { border-color: var(--accent); color: var(--accent); }

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 1.5rem 3rem;
}
.signup-section .section-heading { margin-bottom: 0; }
.signup-panel { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--border); border-radius: 4px; background: var(--raised); }
.kit-slot { margin-top: .5rem; }
.kit-slot .formkit-submit { background-color: var(--action) !important; border-radius: 2px !important; }
.kit-slot .formkit-submit:hover { background-color: var(--action-hover) !important; }
.fine { margin-top: 1rem; color: var(--muted); font: .875rem/1.5 var(--ui); }
.fine a { color: var(--accent); }

.coverage { border-block: 1px solid var(--border); background: var(--raised); }
.coverage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.coverage-grid article { padding: 1.25rem; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); }
.coverage-grid article:first-child { border-color: var(--accent); background: var(--tint); }
.coverage-grid p { margin-top: .625rem; color: var(--muted); }

.conference { margin-top: .625rem; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); }
.conference summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1.25rem;
  align-items: center;
  gap: .75rem;
  min-height: 4.25rem;
  padding: .75rem 1.125rem;
  list-style: none;
  cursor: pointer;
}
.conference summary::-webkit-details-marker { display: none; }
.conference summary:hover, .conference[open] summary { background: var(--raised); }
.conference summary:focus-visible { outline-offset: -2px; }
.mark { display: flex; align-items: center; gap: .875rem; font: 700 clamp(1rem, 2.3vw, 1.1875rem)/1.2 var(--ui); }
.mark img {
  flex: none;
  width: 4.5rem;
  height: 2.75rem;
  padding: .25rem;
  object-fit: contain;
  background: #fff;
  border-radius: 2px;
}
.count { white-space: nowrap; color: var(--muted); font: 600 .8125rem/1.2 var(--ui); }
.plus { grid-column: 3; grid-row: 1; position: relative; width: 1.25rem; height: 1.25rem; color: var(--accent); }
.plus::before, .plus::after { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; background: currentColor; content: ""; }
.plus::before { width: .875rem; height: 2px; }
.plus::after { width: 2px; height: .875rem; }
.conference[open] .plus::after { display: none; }
.conference-content { padding: 1rem 1.125rem 1.5rem; border-top: 1px solid var(--border); }
.pitch { font-size: 1.125rem; }
.meta { margin-block: .375rem 1rem; color: var(--muted); font: .875rem/1.4 var(--ui); }
.signup { max-width: 42rem; }
.signup .line { display: flex; align-items: stretch; gap: .5rem; }
.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: .625rem .75rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text);
  background: var(--surface);
  font: 1rem/1.3 var(--ui);
}
.signup input::placeholder { color: var(--muted); }
.also { min-width: 0; padding: 0; margin: .875rem 0 0; border: 0; }
.also legend { padding: 0; font: 700 .9375rem/1.35 var(--ui); }
.choices, .schools { margin: 0; padding: 0; list-style: none; }
.choices { columns: 2 14rem; column-gap: 1rem; margin-top: .25rem; }
.choices li, .schools li { break-inside: avoid; }
.choices label { display: flex; align-items: center; gap: .5rem; min-height: 44px; font: .875rem/1.3 var(--ui); cursor: pointer; }
.choices input { flex: none; width: 18px; height: 18px; accent-color: var(--action); }
.conference-content h3 { margin-top: 1.5rem; font-size: 1rem; }
.schools { columns: 3 13rem; column-gap: 1.25rem; margin-top: .5rem; font: .875rem/1.35 var(--ui); }
.schools li { display: flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding-block: .25rem; border-bottom: 1px solid var(--border); }
.sl { flex: none; width: 28px; height: 28px; object-fit: contain; background: #fff; }
.mono { display: inline-grid; place-items: center; color: var(--text); background: var(--raised); }
.teams { margin-inline-start: auto; color: var(--muted); font-weight: 600; }

.site-footer { background: var(--ink); color: #fff; }
.footer-inner { padding-block: 1.25rem; font: .875rem/1.5 var(--ui); }
.site-footer a:focus-visible { outline-color: #fea291; }

@media (max-width: 760px) {
  .signup-section, .coverage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 619px) {
  .brand img { width: 2.75rem; }
  .brand-name { display: inline; font: 700 .9375rem/1 var(--ui); }
  .header-inner { padding-block: .5rem; }
  nav { gap: .125rem .75rem; }
  .hero h1 { font-size: clamp(1.8rem, 8.5vw, 2.75rem); }
  .conference summary { grid-template-columns: minmax(0, 1fr) 1.25rem; gap: .25rem .5rem; padding-inline: .75rem; }
  .mark { gap: .5rem; }
  .mark img { width: 3.25rem; height: 2.25rem; }
  .count { grid-row: 2; grid-column: 1; margin-inline-start: 3.75rem; }
  .plus { grid-column: 2; grid-row: 1 / span 2; }
  .conference-content { padding-inline: .75rem; }
}
