/**
 * Security Mixologists — site.css
 * Design system derived from the brand mark: a navy ring with three
 * converging swooshes. Cyan = cyber, gray = physical, sage = surveillance.
 * Swiss-editorial light layout, Archivo variable type, exact brand palette.
 */

/* ============================================
   TOKENS
   ============================================ */
:root {
  /* Brand palette — sampled from Logos/v1 */
  --navy: #054D65;        /* logo ring */
  --navy-ink: #0F172A;    /* LinkedIn banner background */
  --cyan: #039CBE;        /* swoosh 1 — cyber */
  --gray: #6D7577;        /* swoosh 2 — physical */
  --sage: #7FAB96;        /* swoosh 3 — surveillance */

  --paper: #FBFBF9;
  --paper-2: #F2F4F3;
  --black: #0B0F12;
  --text: #1A2024;
  --text-soft: #4E585E;
  --line: #0B0F12;
  --hairline: #DDE2E2;
  --on-navy-soft: #9FBFCB;

  --cyan-tint: #E3F3F7;
  --sage-tint: #ECF3EF;

  /* Type */
  --font: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --wdth-x: 125;          /* expanded display */

  --display-2xl: clamp(3rem, 1.4rem + 7.2vw, 7.25rem);
  --display-xl: clamp(2.4rem, 1.2rem + 4.6vw, 5rem);
  --display-lg: clamp(1.9rem, 1.1rem + 3vw, 3.4rem);
  --display-md: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  --body-lg: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  --body: 1rem;
  --small: 0.875rem;
  --label: 0.72rem;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1440px;
  --pad-section: clamp(4rem, 3rem + 5vw, 8rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Legacy var aliases used by inline styles on privacy/terms */
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --font-size-sm: 0.875rem;
  --font-weight-semibold: 600;
  --color-border: #DDE2E2;
}

/* ============================================
   BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

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

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ============================================
   TYPE SYSTEM
   ============================================ */
h1, h2, h3, h4 { color: var(--black); line-height: 1.05; }

.display {
  font-variation-settings: "wdth" var(--wdth-x);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.94;
  color: var(--black);
}

.display-2xl { font-size: var(--display-2xl); }
.display-xl { font-size: var(--display-xl); }
.display-lg { font-size: var(--display-lg); }
.display-md { font-size: var(--display-md); }

/* Letterspaced caps label — echoes "MIXOLOGISTS, LLC" in the wordmark */
.label {
  font-size: var(--label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--text-soft);
}

.label--tight { letter-spacing: 0.18em; }

.lede {
  font-size: var(--body-lg);
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 34em;
}

.text-secondary { color: var(--text-soft); }
.text-lg { font-size: var(--body-lg); }
.text-center { text-align: center; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Tri-color rule — the signature brand device */
.trirule {
  display: flex;
  height: 6px;
  width: 100%;
  max-width: 220px;
}
.trirule span { flex: 1; }
.trirule span:nth-child(1) { background: var(--cyan); }
.trirule span:nth-child(2) { background: var(--gray); }
.trirule span:nth-child(3) { background: var(--sage); }

/* Domain color coding */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--cyan { background: var(--cyan); }
.dot--gray { background: var(--gray); }
.dot--sage { background: var(--sage); }
.dot--navy { background: var(--navy); }

/* ============================================
   LAYOUT
   ============================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-prose { max-width: 820px; }

/* Section header: index number + rule + title (spec-sheet style) */
.sec-head {
  border-top: 2px solid var(--line);
  padding-top: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.sec-head .label { color: var(--black); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font);
  font-size: var(--label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: #fff;
  cursor: pointer;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.btn:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }

.btn .arr { transition: transform 220ms var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn--line { background: transparent; color: var(--black); }
.btn--line:hover { background: var(--black); color: #fff; transform: translateY(-2px); }

.btn--white { background: #fff; border-color: #fff; color: var(--black); }
.btn--white:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }

.btn--cyan { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn--cyan:hover { background: #fff; border-color: #fff; color: var(--black); }

/* Legacy alias for legal pages */
.btn-primary { composes: none; }
.btn.btn-primary { background: var(--black); color: #fff; }
.btn.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn.btn-secondary { background: transparent; color: var(--black); }
.btn.btn-secondary:hover { background: var(--black); color: #fff; }

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 249, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.8rem; }

.brand img { width: 40px; height: 40px; }

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word .b1 {
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
}

.brand-word .b2 {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.28rem;
}

.mainnav { display: none; align-items: center; gap: 2.2rem; list-style: none; }

.mainnav a:not(.btn) {
  font-size: var(--label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text);
  position: relative;
  padding: 0.4rem 0;
}

.mainnav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan) 33%, var(--gray) 33% 66%, var(--sage) 66%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.mainnav a:not(.btn):hover::after,
.mainnav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

.mainnav .btn { padding: 0.7rem 1.3rem; }

@media (min-width: 980px) { .mainnav { display: flex; } }

.navburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: none; border: 1px solid var(--line); cursor: pointer; padding: 11px;
}
.navburger span { display: block; height: 2px; background: var(--black); }
@media (min-width: 980px) { .navburger { display: none; } }

.mobilenav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem var(--gutter) 2rem;
}
.mobilenav.open { display: block; }
.mobilenav ul { list-style: none; }
.mobilenav a:not(.btn) {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.mobilenav .btn { margin-top: 1.25rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 2rem + 5vw, 7rem) var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-eyebrow .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero h1 { margin-bottom: 2rem; }

.hero .lede { margin-bottom: 2.5rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Animated ring visual */
.mixring {
  position: relative;
  width: min(78vw, 460px);
  margin: 0 auto;
  aspect-ratio: 1;
}

.mixring svg { width: 100%; height: 100%; display: block; }

.mixring .arc {
  fill: none;
  stroke-width: 30;
  stroke-linecap: round;
  stroke-dasharray: 264 848;   /* ~1/3 of circumference (r=177) with gaps */
  opacity: 0;
  animation: arc-in 1100ms var(--ease) forwards;
}

.mixring .arc--cyan { stroke: var(--cyan); animation-delay: 150ms; }
.mixring .arc--gray { stroke: var(--gray); animation-delay: 350ms; }
.mixring .arc--sage { stroke: var(--sage); animation-delay: 550ms; }

.mixring .spin {
  transform-origin: 50% 50%;
  animation: slow-spin 46s linear infinite;
}

.mixring .ring-base {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 30;
}

.mixring-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
}

.mixring-core img { width: 34%; height: auto; }

.mixring-core .label { letter-spacing: 0.3em; color: var(--text-soft); }

@keyframes arc-in {
  from { opacity: 0; stroke-dashoffset: 200; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  background: var(--black);
  color: #fff;
  overflow: hidden;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-set { display: flex; align-items: center; flex-shrink: 0; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 0 2.2rem;
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.ticker-item .dot { width: 7px; height: 7px; }

@keyframes ticker-move { to { transform: translateX(-50%); } }

/* ============================================
   SILOS → ONE (statement section)
   ============================================ */
.silos { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }

.silos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
  margin-top: 3rem;
}

@media (min-width: 820px) { .silos-grid { grid-template-columns: repeat(3, 1fr); } }

.silo {
  background: var(--paper);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  position: relative;
}

.silo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
}

.silo--cyan::before { background: var(--cyan); }
.silo--gray::before { background: var(--gray); }
.silo--sage::before { background: var(--sage); }

.silo .label { margin-bottom: 0.9rem; display: block; color: var(--black); letter-spacing: 0.22em; }

.silo p { font-size: var(--small); color: var(--text-soft); margin: 0; }

.silos-verdict {
  border: 2px solid var(--line);
  border-top: 0;
  background: var(--navy);
  color: #fff;
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
}

.silos-verdict .display-md { color: #fff; }

/* ============================================
   SERVICE MENU (index rows)
   ============================================ */
.menu-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0;
  border-top: 2px solid var(--line);
  align-items: start;
  position: relative;
  transition: padding-left 300ms var(--ease);
}

.menu-row:last-of-type { border-bottom: 2px solid var(--line); }

@media (min-width: 980px) {
  .menu-row { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 2.5rem; }
}

.menu-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  height: calc(100% + 2px);
  width: 0;
  transition: width 320ms var(--ease);
}

.menu-row--cyan::before { background: var(--cyan-tint); }
.menu-row--gray::before { background: var(--paper-2); }
.menu-row--sage::before { background: var(--sage-tint); }

.menu-row:hover::before { width: 100%; }

.menu-row > * { position: relative; }

.menu-num {
  font-variation-settings: "wdth" var(--wdth-x);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem);
  line-height: 0.9;
}

.menu-row--cyan .menu-num { color: var(--cyan); }
.menu-row--gray .menu-num { color: var(--gray); }
.menu-row--sage .menu-num { color: var(--sage); }

.menu-flag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.9rem;
}

.menu-body h3 {
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--display-md);
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

.menu-body p { color: var(--text-soft); max-width: 44em; }

.menu-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }

.menu-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 0.32rem 0.75rem;
  color: var(--black);
  background: transparent;
}

.menu-go {
  align-self: center;
  justify-self: start;
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  transition: transform 300ms var(--ease);
}

@media (min-width: 980px) { .menu-go { justify-self: end; } }

.menu-row:hover .menu-go { transform: translateX(8px); }

/* ============================================
   STATS BAND
   ============================================ */
.band {
  background: var(--navy-ink);
  color: #fff;
  padding: var(--pad-section) 0;
}

.band .display, .band h2, .band h3 { color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 820px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

.stat {
  background: var(--navy-ink);
  padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.stat-num {
  font-variation-settings: "wdth" var(--wdth-x);
  font-weight: 800;
  font-size: clamp(3.4rem, 2.4rem + 4vw, 6rem);
  line-height: 0.9;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

.stat-num .accent-cyan { color: var(--cyan); }

.stat .label { color: var(--on-navy-soft); }

.stat p { color: var(--on-navy-soft); font-size: var(--small); margin-top: 0.7rem; }

/* ============================================
   ENGAGEMENT
   ============================================ */
.engage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}

@media (min-width: 820px) { .engage-grid { grid-template-columns: 1fr 1fr; } }

.engage {
  background: var(--paper);
  padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
}

.engage .label { color: var(--black); display: block; margin-bottom: 1.25rem; }

.engage h3 {
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--display-md);
  margin-bottom: 1rem;
}

.engage > p { color: var(--text-soft); margin-bottom: 1.75rem; }

.engage ul { list-style: none; }

.engage li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--hairline);
  font-size: var(--small);
}

/* ============================================
   SPEC LISTS (services detail)
   ============================================ */
.spec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 2px solid var(--line);
  padding-top: 1.4rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.spec-num {
  font-variation-settings: "wdth" var(--wdth-x);
  font-weight: 800;
  font-size: clamp(3rem, 2rem + 4vw, 6rem);
  line-height: 0.85;
}

.spec-num--cyan { color: var(--cyan); }
.spec-num--gray { color: var(--gray); }
.spec-num--sage { color: var(--sage); }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 3rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 820px) { .spec-grid { grid-template-columns: 1fr 1fr; } }

.spec-item {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hairline);
}

.spec-item .dot { transform: translateY(-1px); }

/* Big statement / pull quote */
.statement {
  border-left: 6px solid var(--black);
  padding: 0.5rem 0 0.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
}

.statement p {
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  font-size: var(--display-md);
  line-height: 1.25;
  color: var(--black);
  text-transform: none;
  margin: 0;
}

.statement--cyan { border-color: var(--cyan); }
.statement--sage { border-color: var(--sage); }

/* ============================================
   FOUNDERS
   ============================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
}

@media (min-width: 900px) { .founder-grid { grid-template-columns: 1fr 1fr; } }

.founder-card { display: flex; flex-direction: column; }

.portrait {
  position: relative;
  width: min(62vw, 250px);
  aspect-ratio: 1;
  margin-bottom: 1.75rem;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--navy);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: var(--gray);
  border-bottom-color: var(--sage);
  transform: rotate(-30deg);
}

.founder-card h3 {
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--display-md);
  margin-bottom: 0.4rem;
}

.founder-role {
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.founder-card .bio { color: var(--text-soft); margin-bottom: 1.5rem; }

.founder-card .label { display: block; margin-bottom: 0.8rem; color: var(--black); }

.founder-card ul { list-style: none; margin-bottom: 1.5rem; }

.founder-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  font-size: var(--small);
  color: var(--text-soft);
}

.founder-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 8px;
  height: 8px;
  background: var(--navy);
}

.founder-meta { font-size: var(--small); color: var(--text-soft); margin-bottom: 0.6rem; }
.founder-meta strong { color: var(--black); }

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 0.3rem;
  margin-top: auto;
  align-self: flex-start;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.inline-link:hover { color: var(--cyan); border-color: var(--navy); }

.inline-link svg { width: 15px; height: 15px; fill: currentColor; }

/* ============================================
   AFFILIATIONS STRIP
   ============================================ */
.affil-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid var(--line);
  background: var(--line);
  gap: 2px;
}

@media (min-width: 820px) { .affil-row { grid-template-columns: repeat(4, 1fr); } }

.affil {
  background: var(--paper);
  padding: 2rem 1rem;
  text-align: center;
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.affil:hover { background: var(--navy); color: #fff; }

/* ============================================
   PODCAST BAND
   ============================================ */
.podcast {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 980px) { .podcast { grid-template-columns: auto minmax(0, 1fr) auto; gap: 3.5rem; } }

.podcast-art { width: 148px; height: 148px; border: 1px solid rgba(255,255,255,0.2); }

.podcast .lede { color: var(--on-navy-soft); }

.podcast .label { color: var(--cyan); margin-bottom: 1rem; display: block; }

/* ============================================
   BIG CTA
   ============================================ */
.bigcta {
  background: var(--black);
  color: #fff;
  padding: var(--pad-section) 0;
  position: relative;
  overflow: hidden;
}

.bigcta::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.bigcta .wrap { position: relative; }

.bigcta .display-xl { color: #fff; margin-bottom: 1.25rem; }

.bigcta .accent-word { color: var(--cyan); }

.bigcta p { color: #A7B0B6; max-width: 40em; margin-bottom: 2.5rem; font-size: var(--body-lg); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-ink);
  color: #fff;
  padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 2rem;
}

@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); } }

.footer-brand { display: flex; align-items: flex-start; gap: 1rem; flex-direction: column; }

.footer-brand img { width: 56px; height: 56px; }

.footer-brand .fb-word {
  font-variation-settings: "wdth" 120;
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.footer-brand .fb-tag {
  font-size: var(--label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
}

.footer h4 {
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 0.7rem; }

.footer li a { color: #D4DBDF; font-size: var(--small); transition: color 180ms; }

.footer li a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--on-navy-soft);
}

.footer-bottom .trirule { max-width: 90px; height: 4px; }

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.pagehero {
  padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-bottom: 2px solid var(--line);
}

.pagehero .label { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; color: var(--black); }

.pagehero h1 { margin-bottom: 1.5rem; }

.pagehero .lede { max-width: 44em; }

.pagehero .trirule { margin-top: 2.25rem; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.55rem;
}

.form-input, .form-textarea {
  width: 100%;
  font-family: var(--font);
  font-size: var(--body);
  color: var(--black);
  background: #fff;
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 0.9rem 1rem;
  transition: box-shadow 160ms var(--ease), border-color 160ms var(--ease);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-tint);
}

.form-textarea { min-height: 150px; resize: vertical; }

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B0F12' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

input[type="file"].form-input::file-selector-button {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--black);
  color: #fff;
  border: 0;
  padding: 0.55rem 1rem;
  margin-right: 1rem;
  cursor: pointer;
}

.form-hint { font-size: 0.78rem; color: var(--text-soft); margin-top: 0.5rem; }

.form-input.error, .form-textarea.error { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }

.form-alert { border: 1px solid; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: var(--small); }
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 0.4rem; }
.form-alert--success { border-color: #1E8E5A; background: #EAF6F0; color: #14563A; }
.form-alert--error { border-color: #C0392B; background: #FBEDEA; color: #7C241A; }

/* Info panel (contact sidebar) */
.panel {
  border: 2px solid var(--line);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  margin-bottom: 1.75rem;
  background: #fff;
}

.panel--tint { background: var(--cyan-tint); border-color: var(--navy); }

.panel h3 {
  font-variation-settings: "wdth" 114;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.panel p { font-size: var(--small); color: var(--text-soft); }

/* ============================================
   LEGAL PAGE COMPAT (privacy / terms markup)
   ============================================ */
.card {
  background: #fff;
  border: 2px solid var(--line);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.callout-secondary {
  background: var(--cyan-tint);
  border: 2px solid var(--navy);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.container-prose h1 { font-variation-settings: "wdth" 118; font-weight: 800; text-transform: uppercase; font-size: var(--display-lg); }
.container-prose h2 { font-variation-settings: "wdth" 112; font-weight: 800; font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; }
.container-prose h3 { font-weight: 700; font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.container-prose ul, .container-prose ol { margin: 0 0 1rem 1.4rem; }
.container-prose li { margin-bottom: 0.4rem; }
.container-prose a:not(.btn) { color: var(--navy); border-bottom: 1px solid var(--cyan); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 2px solid var(--line);
  padding: 1.1rem 0;
  transform: translateY(102%);
  transition: transform 420ms var(--ease);
}

.cookie-banner.active { transform: translateY(0); }

.cookie-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 820px) { .cookie-content { flex-direction: row; align-items: center; justify-content: space-between; } }

.cookie-text { font-size: 0.82rem; color: var(--text-soft); margin: 0; max-width: 52em; }

.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

.cookie-actions .btn { padding: 0.65rem 1.2rem; }

/* ============================================
   REVEAL
   ============================================ */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}

.rv.on { opacity: 1; transform: none; }

.rv-1 { transition-delay: 100ms; }
.rv-2 { transition-delay: 200ms; }
.rv-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .mixring .arc { animation: none; opacity: 1; }
  .mixring .spin { animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
