:root {
  --ink: #102536;
  --ink-soft: #3d5568;
  --sea: #2f6f8f;
  --sea-deep: #1d4a63;
  --clay: #d0603f;
  --sand: #f4ece0;
  --paper: #fbf8f3;
  --line: #e3d9ca;
  --white: #ffffff;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sea); }
img { max-width: 100%; display: block; }

/* header: a translucent dark bar so it reads on any photo */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(16, 37, 54, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.85); flex: none; }
.brand .words { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .01em; }
.brand .sub { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #f0c9a8; margin-top: 3px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-clay { background: var(--clay); color: var(--white); box-shadow: 0 6px 18px rgba(208,96,63,.35); }
.btn-clay:hover { background: #bb5034; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.55); padding: 9px 18px; font-size: 14px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* hero with a readable text panel */
.hero { position: relative; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; padding-top: 68px; }
.hero.tall { min-height: 100vh; min-height: 100svh; align-items: center; justify-content: center; }
.hero.short { min-height: min(56vh, 520px); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,37,54,.25) 0%, rgba(16,37,54,.15) 40%, rgba(16,37,54,.70) 100%);
}
.hero .inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) clamp(32px, 6vh, 64px); }
.panel {
  display: inline-block; max-width: 640px;
  background: rgba(16, 37, 54, .44);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #f6d2b4;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--clay); border-radius: 2px; }
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.005em;
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero h1 em { font-style: italic; color: #f6d2b4; }
.hero p.lede { font-size: clamp(16.5px, 1.8vw, 19px); line-height: 1.55; margin: 0; color: #eef2f5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* centred landing card (lobsterville.biz) */
.landing .panel { text-align: center; max-width: 560px; }
.landing .panel img.mark { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.landing .actions { justify-content: center; }
.more-soon { margin-top: 22px; font-size: 14px; letter-spacing: .04em; color: #d9e2e8; }
.more-soon b { color: #f6d2b4; font-weight: 600; }

/* sections */
section.block { padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); }
.wrap { max-width: 1180px; margin: 0 auto; }
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin: 0 0 10px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin: 0; }

footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 30px clamp(16px, 4vw, 48px); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
footer a { color: var(--white); }
.landing .hero footer { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; background: transparent; color: rgba(255,255,255,.8); }

/* reports index */
.clubs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 8px; }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--ink-soft); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.live { background: var(--sea); } .dot.soon { background: #d8cdbd; }
.league { margin-top: 32px; }
.league h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.club {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 104px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.club:hover { border-color: var(--sea); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,37,54,.08); }
.club .name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.club .div { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-soft); }
.club .tag { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.club.live .tag { background: #e3eff5; color: var(--sea-deep); }
.club.soon { color: #7f8c97; background: #fdfbf7; }
.club.soon .tag { background: #f1ebe1; color: #8a7f70; }

@media (max-width: 640px) {
  .bar { height: 60px; }
  .hero { padding-top: 60px; }
  .brand .name { font-size: 18px; }
  .brand .sub { display: none; }
  .brand img { width: 32px; height: 32px; }
  .btn-ghost { padding: 8px 14px; font-size: 13px; }
  .panel { display: block; }
}

/* landing: card on the left on wide screens so the photo's subject stays visible */
.landing .inner.side { display: flex; justify-content: flex-start; }
@media (max-width: 900px) { .landing .inner.side { justify-content: center; } }
.landing .inner.side { max-width: none; margin: 0; }
.landing .inner.side .panel { max-width: 470px; }
@media (min-width: 901px) { .landing .inner.side { padding-left: clamp(24px, 4vw, 56px); } }

/* account badge (reports site) */
.account { position: relative; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 5px 14px 5px 5px; font: 600 14px var(--sans);
}
.acct-btn:hover { background: rgba(255,255,255,.16); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: var(--white); font-weight: 700; font-size: 14px;
}
.acct-email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; z-index: 20;
  background: var(--white); color: var(--ink); border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(16,37,54,.18); padding: 8px;
}
.acct-menu[hidden] { display: none; }
.acct-who { font-size: 13px; color: var(--ink-soft); padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; overflow-wrap: anywhere; }
.acct-menu a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.acct-menu a:hover { background: var(--sand); }
@media (max-width: 640px) { .acct-email { display: none; } .acct-btn { padding: 4px; } }

/* centred section heads */
.clubs-head.centered { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 4px; }
.clubs-head.centered .legend { margin-top: 10px; }
.reports .league h3 { text-align: center; }

/* reports: one photo behind the whole page, header a plain bar, title box then clubs box */
body.reports { background: #0f2231; }
body.reports::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: url("/img/lobsterville-2400.webp") center 48% / cover no-repeat;
}
body.reports::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,37,54,.35) 0%, rgba(16,37,54,.55) 100%);
}
@media (max-width: 900px) { body.reports::before { background-image: url("/img/lobsterville-1200.webp"); } }
.reports .page {
  max-width: 1180px; margin: 0 auto;
  padding: calc(68px + clamp(28px, 6vh, 64px)) clamp(16px, 4vw, 48px) clamp(28px, 5vh, 48px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 32px);
}
.reports .title-box { text-align: center; color: var(--white); max-width: 620px; }
.reports .title-box img.mark { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.reports .title-box h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; margin: 0 0 12px; }
.reports .title-box h1 em { font-style: italic; color: #f6d2b4; }
.reports .title-box p.lede { font-size: clamp(16px, 1.8vw, 18.5px); margin: 0; color: #eef2f5; }
.clubs-box {
  width: 100%; background: rgba(251, 248, 243, .72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  border-radius: 20px; border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  padding: clamp(24px, 4vw, 44px) clamp(16px, 3.4vw, 40px);
}
.reports .page-foot { background: transparent; color: rgba(255,255,255,.85); }
.reports .club { background: rgba(255,255,255,.82); }
.reports .club.soon { background: rgba(253,251,247,.78); }

/* landing: the Research and Capital cards side by side, stacked on a phone (2026-11-21) */
.landing .cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: clamp(16px, 2.4vw, 28px); }
.landing .cards .panel { flex: 1 1 320px; max-width: 480px; display: flex; flex-direction: column; align-items: center; }
.landing .cards .panel .actions { margin-top: auto; padding-top: 24px; }
.landing .cards h1 { font-size: clamp(34px, 4.2vw, 50px); }
@media (max-width: 760px) {
  .landing .hero.tall .inner { padding-top: 24px; padding-bottom: 96px; }
}
