/* The Ontario Buzz — site styles */

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Radio Canada";
  src: url("../fonts/RadioCanada.ttf") format("truetype-variations");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Radio Canada Big";
  src: url("../fonts/RadioCanadaBig.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* brand */
  --red: #E60013;        /* TONB Red — Canadian Flag Red (Pantone 032) */
  --red-dark: #7E000C;
  --ink: #111111;
  --slate: #666666;
  --paper: #FFFFFF;
  --paper-soft: #F7F5F4;
  --line: #E9E5E4;       /* hairline borders */
  --max: 1120px;

  /* type scale (1.2 modular, base 1rem) */
  --fs-xs: 0.82rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.44rem;
  --fs-xl: 1.73rem;
  --fs-2xl: 2.07rem;
  --fs-3xl: 2.35rem;
  --fs-hero: clamp(2.5rem, 6.4vw, 4.9rem);

  /* radius */
  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* elevation — soft layered shadows, never a single harsh one */
  --shadow-1: 0 1px 2px rgba(17,17,17,0.04), 0 3px 10px rgba(17,17,17,0.05);
  --shadow-2: 0 2px 6px rgba(17,17,17,0.05), 0 12px 28px -6px rgba(17,17,17,0.10);
  --shadow-3: 0 8px 18px -6px rgba(17,17,17,0.14), 0 28px 60px -12px rgba(17,17,17,0.22);
  --shadow-red: 0 2px 4px -1px rgba(126,0,12,0.14), 0 6px 14px -3px rgba(230,0,19,0.22);
  --shadow-red-lg: 0 3px 6px -2px rgba(126,0,12,0.16), 0 10px 20px -4px rgba(230,0,19,0.30);
  --focus-ring: 0 0 0 3px rgba(230,0,19,0.12);

  /* motion */
  --ease: 180ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Radio Canada", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display {
  font-family: "Archivo Black", "Radio Canada Big", sans-serif;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

::selection { background: var(--red); color: #fff; }

a { color: var(--red); text-decoration: none; transition: color var(--ease); }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible, .site-nav a:focus-visible, .nav-burger:focus-visible {
  border-radius: var(--r-pill);
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(17,17,17,0.02), 0 8px 20px -12px rgba(17,17,17,0.10);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand img { height: 48px; width: auto; display: block; }
.brand .brand-name {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand .brand-name .accent { color: var(--red); }

.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color var(--ease);
}
.site-nav a:hover { color: var(--red); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a.cta {
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--r-pill);
}
.site-nav a.cta:hover { background: var(--red-dark); color: #fff; }

/* CSS-only hamburger (mobile) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 560px) {
  .nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border-radius: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger .bars {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: background-color var(--ease);
  }
  .nav-burger .bars::before,
  .nav-burger .bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--ease), top var(--ease);
  }
  .nav-burger .bars::before { top: -7px; }
  .nav-burger .bars::after { top: 7px; }
  .nav-toggle:checked ~ .nav-burger .bars { background: transparent; }
  .nav-toggle:checked ~ .nav-burger .bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger .bars::after { top: 0; transform: rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 2px solid var(--red);
    outline-offset: 2px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 6px 24px 10px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a {
    padding: 13px 2px;
    border-top: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .site-nav a:first-child { border-top: none; }
}

/* ---------- buttons (pills) ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color var(--ease), border-color var(--ease),
              color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  text-decoration: none;
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-red); }
.btn-ghost {
  background: var(--paper);
  border: 1px solid #D9D4D3;
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: 118px 0 40px; }
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 15em;
}
.hero h1 .accent { color: var(--red); }
.hero .tagline {
  margin-top: 26px;
  font-family: "Radio Canada Big", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero .sub {
  margin-top: 14px;
  font-size: var(--fs-md);
  color: var(--slate);
  max-width: 56ch;
}
.hero .actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- stats card ---------- */
.stats { padding: 56px 0 0; }
.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.stat {
  padding: 34px 24px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat .big {
  font-family: "Archivo Black", sans-serif;
  font-size: var(--fs-lg);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  margin-bottom: 6px;
}
.stat .big.long { font-size: 1.14rem; letter-spacing: 0.015em; }
.stat .small { font-size: var(--fs-sm); color: var(--slate); }

/* ---------- sections ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section.soft { background: var(--paper-soft); }
.section h2 {
  font-size: var(--fs-2xl);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.section .lede { color: var(--slate); font-size: var(--fs-md); max-width: 60ch; margin-bottom: 56px; }
.kicker {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  display: block;
  margin-bottom: 14px;
}

/* ---------- coverage columns ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cat { padding: 8px 30px; }
.cat:first-child { padding-left: 0; }
.cat + .cat { border-left: 1px solid var(--line); }
.cat .icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  display: block;
  margin-bottom: 18px;
}
.cat .icon svg { width: 100%; height: 100%; display: block; }
.cat h3 { font-size: var(--fs-base); margin-bottom: 10px; letter-spacing: 0.02em; }
.cat p { font-size: 0.93rem; color: var(--slate); line-height: 1.55; }

/* ---------- submit CTA card ---------- */
.submit-cta { padding: 0 0 104px; }
.submit-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 72px 48px;
  text-align: center;
  box-shadow: var(--shadow-3);
}
.submit-card h2 { font-size: var(--fs-xl); line-height: 1.15; color: #fff; }
.submit-card p {
  color: #B9B4B2;
  margin: 14px auto 0;
  max-width: 54ch;
}
.submit-card .btn { margin-top: 32px; }

/* ---------- page content (inner pages) ---------- */
.page { padding: 88px 0 104px; min-height: 45vh; }
.page h1 {
  font-size: clamp(1.9rem, 5vw, var(--fs-3xl));
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.page .lede { color: var(--slate); font-size: var(--fs-md); max-width: 60ch; margin-bottom: 30px; }
.page .content p { margin-bottom: 16px; max-width: 65ch; }
.page .content ul { margin: 0 0 16px 24px; }
.notice {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  color: var(--slate);
  margin-bottom: 30px;
}

/* ---------- footer ---------- */
.site-footer {
  background: #F1EFEE;
  color: var(--slate);
  padding: 76px 0 36px;
  margin-top: 0;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid #DDD8D6;
}
.site-footer h4 {
  color: var(--ink);
  font-family: "Radio Canada Big", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-xs);
  margin-bottom: 18px;
}
.site-footer a {
  color: var(--slate);
  display: block;
  margin-bottom: 10px;
  transition: color var(--ease);
}
.site-footer a:hover { color: var(--red); }
.site-footer .about .brand { margin-bottom: 16px; display: inline-flex; }
.site-footer .about .brand img { height: 48px; }
.site-footer .about .brand:hover { text-decoration: none; }
.site-footer .about p { font-size: 0.95rem; max-width: 44ch; }
.site-footer .social { display: flex; gap: 12px; margin-top: 22px; }
.site-footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #CFC9C7;
  border-radius: 50%;
  color: var(--ink);
  margin-bottom: 0;
  transition: background-color var(--ease), border-color var(--ease),
              color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.site-footer .social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}
.site-footer .social svg { width: 18px; height: 18px; display: block; }
.site-footer .legal-line {
  padding-top: 26px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer .legal-line span { color: var(--slate); }
.site-footer .legal-line .flag { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 84px 0 32px; }
  .stats-card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat .big { min-height: 0; }
  .cats { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .cat { padding: 0 26px; }
  .cat:first-child { padding-left: 26px; }
  .cat:nth-child(odd) { border-left: none; padding-left: 0; }
  .cat:nth-child(even) { border-left: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero { padding: 64px 0 24px; }
  .hero .tagline { margin-top: 20px; }
  .section { padding: 72px 0; }
  .submit-cta { padding: 0 0 72px; }
  .submit-card { padding: 52px 26px; border-radius: 20px; }
  .cats { grid-template-columns: 1fr; row-gap: 40px; }
  .cat, .cat:first-child, .cat:nth-child(odd), .cat:nth-child(even) {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }
  .site-footer .cols { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- maple leaf decor ---------- */
.hero, .submit-card, .page { position: relative; }
.hero, .page { overflow: hidden; }
.submit-card { overflow: hidden; }
.hero .wrap, .submit-card > *:not(.leaf-decor), .page .wrap { position: relative; z-index: 1; }
.leaf-decor {
  position: absolute;
  color: var(--red);
  pointer-events: none;
  z-index: 0;
}
.leaf-decor.light { color: #FFFFFF; opacity: 0.05; }
.leaf-inline {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  color: var(--red);
}
@media (max-width: 900px) {
  .leaf-decor { display: none; }
  .hero .leaf-decor:first-of-type { display: block; width: 150px !important; height: 150px !important; right: -30px !important; opacity: .07 !important; }
}

/* ---------- forms (BNC-style, TONB theme) ---------- */
.form-col { max-width: 680px; margin: 0 auto; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .helper { font-size: var(--fs-xs); color: var(--slate); margin: -4px 0 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #F3F0EF;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9C3C1; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  background: var(--paper);
  box-shadow: var(--focus-ring);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8F8987; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.upload {
  display: block;
  border: 2px dashed #D9D4D3;
  border-radius: var(--r-md);
  padding: 38px 24px;
  text-align: center;
  color: var(--slate);
  cursor: pointer;
  margin-bottom: 22px;
  transition: border-color var(--ease), background-color var(--ease);
}
.upload:hover { border-color: var(--red); background: #FFFAFA; }
.upload:focus-within { border-color: var(--red); box-shadow: var(--focus-ring); }
.upload strong { color: var(--ink); display: block; margin-bottom: 6px; }
.upload .fine { font-size: var(--fs-xs); }
.upload input {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 26px 16px;
  border: 0;
  border-radius: var(--r-sm);
  background: #F3F0EF;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--slate);
  cursor: pointer;
}
.upload input::file-selector-button {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #D9D4D3;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 10px 22px;
  margin-right: 12px;
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.upload input::file-selector-button:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.or {
  display: flex; align-items: center; gap: 18px;
  color: var(--slate); font-size: 0.8rem; letter-spacing: 0.16em;
  margin: 26px 0;
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.consent {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 400;
  transition: border-color var(--ease);
}
.consent:hover { border-color: #D9D4D3; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--red); }
.btn-block { display: block; width: 100%; text-align: center; }
.form-note {
  font-size: 0.85rem; color: var(--slate);
  margin-top: 14px; text-align: center;
}
/* advertise banner + split */
.page-banner {
  background: #F1EFEE;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.page-banner h1 {
  color: var(--ink); font-size: 1.15rem; letter-spacing: 0.04em; margin: 0;
}
.page.has-banner { padding-top: 64px; }
.adv-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  align-items: start;
}
.adv-grid .pitch h2 {
  color: var(--ink); font-size: var(--fs-xl); line-height: 1.15; margin-bottom: 22px;
}
.adv-grid .pitch h2 .accent { color: var(--red); }
.adv-grid .pitch p { color: var(--slate); margin-bottom: 16px; max-width: 55ch; }
.adv-grid .pitch .strong { color: var(--ink); font-weight: 700; }
.adv-grid .form-side { border-left: 1px solid var(--line); padding-left: 56px; }
/* contact info rows */
.info-rows { max-width: 680px; margin: 34px auto 0; }
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.info-row .ic { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.info-row .lbl {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 4px;
}
.info-row .val { color: var(--ink); }
.page-social { display: flex; gap: 12px; max-width: 680px; margin: 26px auto 0; }
.page-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid #D9D4D3; border-radius: 50%;
  color: var(--ink);
  transition: background-color var(--ease), border-color var(--ease),
              color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.page-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}
.page-social a svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: 1fr; gap: 34px; }
  .adv-grid .form-side { border-left: none; padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- fixed Ontario backdrop (static, centered; revealed on scroll) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/ontario.svg") no-repeat center 55%;
  background-size: 1300px auto;
}
@media (max-width: 900px) {
  body::before { background-size: 1000px auto; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .site-footer .social a, .page-social a { transition: none; }
}

/* ---------- consent reveal (BNC-style tag/credit field) ---------- */
.consent { display: block; }
.consent .consent-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}
.consent .consent-row input { width: auto; margin-top: 4px; accent-color: var(--red); }
.consent-extra {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.consent:has(input:checked) .consent-extra { display: block; }
.consent-extra label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.consent-extra input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #D9D4D3;
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
}
.consent-extra input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 0, 19, 0.12);
}
.consent-extra input::placeholder { color: #8F8987; }

/* ---------- legal pages ---------- */
.content h2 {
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin: 30px 0 10px;
}
.content ul li { margin-bottom: 8px; }
.updated { color: var(--slate); font-size: 0.88rem; margin-bottom: 26px; }

.hero .tagline .accent { color: var(--red); }
.stat .big .ink { color: var(--ink); }

/* ---------- contact tabs ---------- */
.tabwrap {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 34px;
}

.tabrail { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 92px; }
.tabrail .tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.25;
  transition: border-color .18s, background .18s, color .18s;
}
.tabrail .tab small {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 3px;
}
.tabrail .tab:hover { background: var(--paper-soft); transform: translateX(2px); }
.tab-icon { flex: none; width: 26px; height: 26px; color: var(--red); }
.tab-icon svg { width: 100%; height: 100%; }
.rail-note {
  margin-top: 10px;
  padding: 0 4px;
  font-size: var(--fs-xs);
  color: var(--slate);
  line-height: 1.6;
}

/* active tab */
.page .wrap:has(#contact:target)   .tab[href="#contact"],
.page .wrap:has(#submit:target)    .tab[href="#submit"],
.page .wrap:has(#advertise:target) .tab[href="#advertise"],
.page .wrap:not(:has(.tab-anchor:target)) .tab[href="#contact"] {
  border-left-color: var(--red);
  background: var(--paper-soft);
}
.page .wrap:has(#contact:target)   .tab[href="#contact"] small,
.page .wrap:has(#submit:target)    .tab[href="#submit"] small,
.page .wrap:has(#advertise:target) .tab[href="#advertise"] small,
.page .wrap:not(:has(.tab-anchor:target)) .tab[href="#contact"] small { color: var(--ink); }

/* tab scroll targets */
.tab-anchor { display: block; height: 0; scroll-margin-top: 96px; }

.panel {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px 48px 48px;
  box-shadow: var(--shadow-2);
}
.page .wrap:has(#contact:target)   #panel-contact,
.page .wrap:has(#submit:target)    #panel-submit,
.page .wrap:has(#advertise:target) #panel-advertise { display: block; }
/* default tab */
.page .wrap:not(:has(.tab-anchor:target)) #panel-contact { display: block; }

.panel > h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.12;
  margin-bottom: 12px;
}
.panel > .lede { margin-bottom: 22px; }
.panel .adv-strong { color: var(--ink); font-weight: 700; margin-bottom: 24px; max-width: 55ch; }
.panel .info-rows,
.panel .page-social { margin-left: 0; margin-right: 0; }
.panel form { max-width: 680px; }

@media (max-width: 900px) {
  .tabwrap { grid-template-columns: 1fr; gap: 22px; }
  
  .tabrail { position: static; }
  .tabrail .tab small { display: none; }
  .tabrail {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tabrail .tab {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--line);
    border-bottom: 3px solid transparent;
    padding: 12px 10px;
  }
  .tab-icon { display: none; }
  .rail-note { display: none; }
  .panel { padding: 28px 20px 32px; }
  .page .wrap:has(#contact:target)   .tab[href="#contact"],
  .page .wrap:has(#submit:target)    .tab[href="#submit"],
  .page .wrap:has(#advertise:target) .tab[href="#advertise"],
  .page .wrap:not(:has(.tab-anchor:target)) .tab[href="#contact"] {
    border-left-color: var(--line);
    border-bottom-color: var(--red);
  }
}

/* ---------- spotlight ---------- */
.spots {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}
.spots::-webkit-scrollbar { display: none; }
.spots:active { cursor: grabbing; }
.spots > .spot {
  flex: 0 0 min(400px, 85vw);
}
.spot {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 30px 26px;
  max-width: 560px;
}
.spot-soon {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  background: transparent;
  min-height: 320px;
}
.spot-soon span {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #C9C3C1;
  text-transform: uppercase;
}

/* card type chips */
.spot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spot-kind,
.spot-flag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}
.spot-flag { color: var(--red); background: rgba(230, 0, 19, 0.08); }
.spot-kind.is-ours { color: var(--ink); background: rgba(17, 17, 17, 0.07); }
.spot-kind.is-partner { color: var(--slate); background: rgba(17, 17, 17, 0.045); }
.spot-kind.is-paid { color: #FFFFFF; background: var(--ink); }

.spot-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
}
.spot-link:hover { color: var(--red); }
.spot-icon {
  display: block;
  width: 38px;
  height: 38px;
  color: var(--red);
  margin-bottom: 14px;
}
.spot-icon svg { width: 100%; height: 100%; display: block; }
.spot h3 { font-size: 1.22rem; margin-bottom: 8px; }
.spot p { color: var(--slate); margin-bottom: 18px; }
.spot-note {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  border-top: 2px solid var(--red);
  padding-top: 10px;
}
@media (max-width: 560px) {
  .spot { padding: 24px 22px 22px; }
}

/* perks row */
.spot-perks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.spot-perks li {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}
/* dot separator */
.spot-perks li:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* ---------- newsletter signup ---------- */
.subscribe {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-2);
}
.subscribe-copy h2 { font-size: var(--fs-xl); line-height: 1.15; }
.subscribe-copy .subscribe-title { color: var(--red); }
.subscribe-copy .subscribe-title .accent-ink { color: var(--ink); }
.subscribe-copy .lede { margin: 14px auto 0; max-width: 48ch; }
.subscribe-form { margin-top: 30px; position: relative; }
.subscribe-form > label {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-bottom: 8px;
}
.subscribe-row {
  display: flex;
  gap: 12px;
}
.subscribe-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #D9D4D3;
  border-radius: var(--r-pill);
  padding: 13px 22px;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.subscribe-row input:focus {
  border-color: var(--red);
  box-shadow: var(--focus-ring);
}
.subscribe-row input::placeholder { color: #8F8987; }
.subscribe-row .btn { flex: none; }
.subscribe-fine {
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--slate);
  text-align: left;
}
@media (max-width: 560px) {
  .subscribe { padding: 40px 22px; }
  .subscribe-row { flex-direction: column; }
  .subscribe-row .btn { width: 100%; }
}

/* red word inside a heading, usable in any band */
.accent-red { color: var(--red); }

/* ---------- the feed band ---------- */
.feed-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.feed-card {
  display: block;
  width: min(300px, 30vw);
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: var(--paper);
  transition: transform var(--ease), box-shadow var(--ease);
}
.feed-card img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.feed-card.tilt-l { transform: rotate(-3deg); }
.feed-card.tilt-c { transform: rotate(1deg) translateY(-10px); z-index: 1; }
.feed-card.tilt-r { transform: rotate(3deg); }
.feed-card:hover {
  transform: rotate(0) translateY(-8px);
  box-shadow: var(--shadow-3);
  z-index: 2;
}
.feed-follow { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
.feed-credit {
  text-align: center;
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--slate);
}
@media (max-width: 700px) {
  .feed-cards {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 4px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .feed-card { flex: none; width: 220px; }
  .feed-card.tilt-c { transform: rotate(1deg); }
}

/* ---------- About page (/about) ---------- */
.about-tagline {
  margin-top: 30px;
  font-family: "Radio Canada Big", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tweet-shot { margin: 26px 0; max-width: 577px; }
.tweet-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.tweet-shot figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--slate); }
#stand .content p, #promise .content p { margin-bottom: 16px; max-width: 65ch; }
#promise .content ul { margin: 0 0 16px 24px; max-width: 60ch; }
#stand .lede, #promise .lede, #follow .lede { margin-bottom: 40px; }
#follow .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   Bio page (/hi). Standalone: no site header or footer chrome.
   --------------------------------------------------------------------------- */

.bio-body { background: var(--paper-soft); }

.bio {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  overflow: hidden;
}

/* decor */
.bio-leaf {
  position: absolute;
  width: 220px;
  height: 220px;
  color: var(--red);
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}

.bio-head, .bio-links, .bio-feed, .bio-foot { position: relative; z-index: 1; }

/* header */
.bio-head { text-align: center; margin-bottom: 30px; }

/* badge art is a red circle on transparency: no plate behind it */
.bio-badge {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.bio-name {
  font-size: var(--fs-xl);
  letter-spacing: .01em;
  margin-top: 18px;
}
.bio-name .accent { color: var(--red); }

.bio-handle {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate);
  margin-top: 4px;
}

.bio-tag {
  font-size: var(--fs-sm);
  color: var(--ink);
  margin-top: 12px;
  line-height: 1.5;
}

/* slogan: both halves weight 600, colour is the only difference */
.bio-slogan {
  font-family: "Radio Canada Big", sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  margin-top: 2px;
}
.bio-slogan .accent { color: var(--red); }

.bio-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.bio-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: color var(--ease), border-color var(--ease), transform var(--ease);
}
.bio-social svg { width: 21px; height: 21px; }
.bio-social a:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }

/* link stack */
.bio-links { display: flex; flex-direction: column; gap: 12px; }

.bio-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.bio-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: #D9D4D3;
}
.bio-link:focus-visible { outline: none; box-shadow: var(--shadow-1), var(--focus-ring); }

.bio-ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--paper-soft);
  color: var(--red);
}
.bio-ic svg { width: 21px; height: 21px; }

.bio-txt { flex: 1; min-width: 0; }
.bio-txt strong {
  display: block;
  font-family: "Radio Canada Big", sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.3;
}
.bio-txt small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--slate);
  margin-top: 2px;
}

.bio-go { flex: none; font-size: 1.5rem; color: var(--slate); line-height: 1; }

.bio-chip {
  flex: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--slate);
}

/* primary row: red fill */
.bio-link.is-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  box-shadow: var(--shadow-red);
}
.bio-link.is-primary:hover { border-color: var(--red); box-shadow: var(--shadow-red-lg); }
.bio-link.is-primary .bio-ic { background: rgba(255,255,255,0.16); color: var(--paper); }
.bio-link.is-primary .bio-txt small { color: rgba(255,255,255,0.85); }
.bio-link.is-primary .bio-go { color: rgba(255,255,255,0.75); }

/* post strip */
.bio-feed { margin-top: 30px; }
.bio-feed-head {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}
.bio-feed-cards { display: flex; gap: 10px; }
.bio-feed-cards img {
  width: 33.333%;
  height: auto;
  display: block;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

/* footer */
.bio-foot { margin-top: 34px; text-align: center; }
.bio-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.bio-foot-links a { font-size: var(--fs-xs); color: var(--slate); }
.bio-foot-links a:hover { color: var(--red); }
.bio-foot-line { font-size: var(--fs-xs); color: var(--slate); margin-top: 10px; }
.bio-foot-line .flag { color: var(--red); }

@media (max-width: 420px) {
  .bio { padding: 34px 16px 32px; }
  .bio-badge { width: 128px; }
  .bio-link { padding: 14px 14px; gap: 12px; }
}
