/* FOILING.TV — foiling racing sailboats */
:root {
  --ink: #070b12;
  --navy: #0b1c33;
  --navy-2: #122844;
  --red: #c8102e;
  --gold: #d4b06a;
  --foam: #eef3f8;
  --paper: #f4f1ea;
  --line: rgba(255,255,255,.14);
  --ink-line: rgba(7,11,18,.12);
  --text: #121821;
  --muted: #4c5968;
  --shadow: 0 18px 40px rgba(7,11,18,.18);
  --radius: 16px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1,h2,h3 { font-family: "Bebas Neue", "Oswald", sans-serif; letter-spacing: .03em; line-height: .95; margin: 0 0 .4em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 10vw, 7.2rem); }
h2 { font-size: clamp(1.85rem, 5.5vw, 3.6rem); }
h3 { font-size: 1.35rem; letter-spacing: .04em; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.kicker {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .6rem;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,11,18,.94);
  backdrop-filter: blur(14px);
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { font-family: "Bebas Neue", sans-serif; font-size: 1.7rem; letter-spacing: .12em; text-decoration: none; color: #fff; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: .2rem 1.1rem; align-items: center; flex-wrap: wrap; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: .92rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: .35rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a.cta { background: var(--red); color: #fff; padding: .45rem .8rem; border-radius: 999px; }
.menu-btn {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem .85rem;
  font: 600 .95rem/1 "Outfit", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.hero {
  background:
    linear-gradient(180deg, rgba(7,11,18,.25), rgba(7,11,18,.78)),
    radial-gradient(1000px 480px at 85% 10%, rgba(200,16,46,.28), transparent 55%),
    linear-gradient(160deg, #0b1c33 0%, #070b12 60%, #152a4a 100%);
  color: #fff;
  padding: 5rem 0 4.2rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 80px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}
.hero-home {
  padding: 0;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
}
.hero-home .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: 0;
}
.hero-home .hero-overlay {
  position: relative;
  z-index: 1;
  padding: 6.2rem 0 4.6rem;
  background:
    linear-gradient(180deg, rgba(7,11,18,.18) 0%, rgba(7,11,18,.42) 40%, rgba(7,11,18,.78) 100%);
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
}
.hero .kicker { color: var(--gold); }
.hero p.lede { max-width: 40rem; font-size: 1.15rem; color: rgba(255,255,255,.88); margin: 1rem 0 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0; cursor: pointer;
  padding: .85rem 1.2rem; border-radius: 999px;
  font: 600 .95rem/1 "Outfit", sans-serif;
  letter-spacing: .06em; text-transform: uppercase;
  min-height: 44px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #e01b3a; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.band { padding: 4rem 0; }
.band-ink { background: var(--ink); color: #fff; }
.band-navy { background: var(--navy); color: #fff; }
.intro { max-width: 44rem; color: var(--muted); margin-bottom: 2rem; }
.split { display: grid; gap: 2rem; grid-template-columns: 1.15fr .85fr; align-items: start; }
.card, .spot, .post-card, .video-card, .team-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.spot, .post-card { padding: 1.25rem 1.3rem 1.35rem; }
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.tag {
  display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: #e8eef6; color: #0b1c33; padding: .2rem .5rem; border-radius: 999px; font-weight: 600; margin: 0 .3rem .4rem 0;
}
.tag-mute { background: #efe8d8; color: #3d2e10; }
.grid-3 { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; }
.filter {
  border: 1px solid var(--ink-line); background: #fff; border-radius: 999px;
  padding: .55rem .9rem; font: 600 .78rem/1 "Outfit", sans-serif;
  letter-spacing: .04em; text-transform: uppercase; cursor: pointer; color: var(--text);
  min-height: 44px;
}
.filter[aria-pressed="true"], .filter:hover { background: var(--ink); color: #fff; }
.search {
  width: 100%; max-width: 28rem; font: inherit; padding: .7rem .9rem;
  border-radius: 10px; border: 1px solid var(--ink-line); margin: 0 0 1.1rem;
  min-height: 44px;
}
.thumb {
  position: relative; aspect-ratio: 16/9; background: #111; cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45));
}
.play span {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--red);
  box-shadow: var(--shadow);
  position: relative;
}
.play span::before {
  content: "";
  position: absolute; inset: 0;
  margin: auto 0 auto 21px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}
.dur {
  position: absolute; right: .55rem; bottom: .55rem;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: .75rem; letter-spacing: .04em; padding: .15rem .4rem; border-radius: 4px;
}
.video-frame { position: absolute; inset: 0; border: 0; width: 100%; height: 100%; }
.video-card .body { padding: 1rem 1.05rem 1.15rem; }
.featured-player {
  position: relative; aspect-ratio: 16/9; background: #111;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  margin: 0 0 .7rem;
  width: 100%;
}
.featured-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.featured-caption { margin: 0 0 1.5rem; color: var(--muted); overflow-wrap: break-word; }
.empty-note { padding: 1.2rem; background: #fff; border-radius: var(--radius); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; align-items: end; margin-bottom: .4rem; }
.count { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.load-more { display: flex; justify-content: center; margin: 1.6rem 0 0; }
form.stack { display: grid; gap: .85rem; }
label { font-size: .88rem; font-weight: 600; display: grid; gap: .3rem; }
input, select, textarea {
  font: inherit; padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--ink-line); background: #fff; width: 100%;
  max-width: 100%;
  min-height: 44px;
}
textarea { min-height: 8rem; resize: vertical; }
.form-status { min-height: 1.3em; font-size: .92rem; }
.form-status.ok { color: #0b6b4a; }
.form-status.err { color: #9b1c1c; }
.signup { display: grid; grid-template-columns: 1fr 1fr auto; gap: .6rem; align-items: end; }
.signup label { color: inherit; }
.site-footer { background: #06080c; color: rgba(255,255,255,.8); padding: 3rem 0 5.5rem; }
.site-footer h2 { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; }
.tiny { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 2rem; overflow-wrap: break-word; }
.tiny a { color: var(--gold); }
.article { max-width: 44rem; margin: 0 auto; padding: 3.2rem 0 5rem; }
.article a { color: #9b1c1c; }
.page-hero { padding: 3.4rem 0 2rem; background: var(--navy); color: #fff; }
.page-hero p { max-width: 44rem; color: rgba(255,255,255,.84); }

/* Teams */
.team-card { padding: 0; }
.team-card-link { display: block; padding: 1.25rem 1.3rem 1.4rem; text-decoration: none; height: 100%; }
.team-card-link:hover h3 { color: var(--red); }
.team-card-spotlight { outline: 2px solid var(--gold); }
.team-more { display: inline-block; margin-top: .4rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--red); }
.team-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 2rem;
}
.team-facts div { background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.team-facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.team-facts dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.official-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.team-bio .intro { color: var(--text); }

@media (max-width: 860px) {
  .split, .grid-3, .grid-2, .foot-grid, .signup, .team-facts { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 1rem;
    gap: .15rem;
  }
  .nav a { padding: .85rem .2rem; min-height: 44px; display: flex; align-items: center; }
  .nav a.cta { justify-content: center; }
  .site-header .bar { flex-wrap: wrap; }
  .nav.open { display: flex; }
  .hero-home, .hero-home .hero-overlay { min-height: min(88vh, 640px); }
  .hero-home .hero-overlay { padding: 4.4rem 0 3.2rem; }
  .hero p.lede { font-size: 1.02rem; }
  .band { padding: 2.6rem 0; }
  .page-hero { padding: 2.4rem 0 1.5rem; }
  .filters { gap: .4rem; }
}
@media (max-width: 430px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  h3 { font-size: 1.2rem; }
  .hero-home, .hero-home .hero-overlay { min-height: 32rem; }
  .actions { gap: .55rem; }
  .btn { width: auto; }
  .play span { width: 50px; height: 50px; }
}

/* Video pages and FISHING.TV-style cards */
.video-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.video-card-link:hover h3 { color: var(--red); }
.video-hero { padding-bottom: 1.1rem; }
.video-page .featured-player { margin-bottom: 1rem; }
.video-actions {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .7rem; margin: 0 0 1rem;
}
.video-actions .btn-ghost { background: var(--red); color: #fff; border: 0; }
.credit { font-size: .95rem; color: var(--muted); margin: 0 0 1rem; }
.pagination {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center;
  margin: 2rem 0 0;
}
.pagination a, .pagination span {
  min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: .4rem .75rem; border-radius: 8px;
  border: 1px solid var(--ink-line); text-decoration: none; background: #fff;
}
.pagination a[aria-current="page"] { background: var(--ink); color: #fff; }
.blog-count { color: var(--muted); margin: 0 0 1.2rem; }
.article { max-width: 44rem; margin: 0 auto; padding: 2.2rem 0 5rem; }
.article .meta { margin-bottom: 1.2rem; }
.article .featured-player { margin: 1.4rem 0; }
.article h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-top: 1.4rem; }
.sources { font-size: .9rem; color: var(--muted); }
.sources a { color: #9b1c1c; }
@media (max-width: 860px) {
  .video-actions { flex-direction: column; align-items: stretch; }
  .video-actions .btn { width: 100%; }
}

.sister-sites { margin: 2rem 0 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--ink-line); }
.sister-sites p { color: var(--muted); }

.byline { font-size: .95rem; color: var(--muted); margin: .4rem 0 1.1rem; font-weight: 500; }
.page-hero .byline { color: rgba(255,255,255,.82); }

.article-cover { margin: 1.1rem 0 0; max-width: 52rem; }
.article-cover img { width: 100%; height: auto; display: block; border-radius: 2px; }
.post-card .post-card-image { display: block; margin: 0 0 .85rem; }
.post-card .post-card-image img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; border-radius: 2px; }
.post-card .byline { margin: .15rem 0 .55rem; font-size: .85rem; }

.page-hero-media { margin: 1.15rem 0 0; max-width: 52rem; }
.page-hero-media img,
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.team-card-image { display: block; margin: 0 0 .9rem; }
.team-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
@media (max-width: 860px) {
  .hero-home .hero-img,
  .page-hero-media,
  .article-cover,
  .featured-player,
  .team-card-image {
    display: block;
    visibility: visible;
  }
  .hero-home .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .page-hero-media img,
  .article-cover img {
    width: 100%;
    height: auto;
  }
}
