/* beingjonshaw.com — shared styles (refactor: Dec 25, 2025) */

:root{
  --bg:#051622;
  --panel: rgba(15,16,20,.70);
  --card: rgba(255,255,255,.06);
  --text:#EAF7F6;
  --muted: rgba(234,247,246,.72);
  --accent:#1BA098;
  --accent2: rgba(27,160,152,.14);
  --accent3: rgba(27,160,152,.22);
  --danger:#ff4d6d;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(0,0,0,.45);
  --border: rgba(255,255,255,.10);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* Theme helpers */
body.theme-teal{
  --bg:#051622;
  --accent:#1BA098;
  --accent2: rgba(27,160,152,.14);
  --accent3: rgba(27,160,152,.22);
}
body.theme-orange{
  --bg:#1F3044;
  --accent:#FB9039;
  --accent2: rgba(251,144,57,.14);
  --accent3: rgba(251,144,57,.22);
}
body.theme-burnt{
  --bg:#0B1320;
  --accent:#E4580B;
  --accent2: rgba(228,88,11,.14);
  --accent3: rgba(228,88,11,.22);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--sans);
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  line-height: 1.55;
}

/* Links: default to clean (no underline). Use component styles for emphasis. */
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection{ background: rgba(255,255,255,.12); }

/* Skip link */
.skip-link{
  position:absolute;
  left:12px;
  top:10px;
  padding:10px 12px;
  background: rgba(0,0,0,.75);
  border:1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration:none;
  transform: translateY(-200%);
  transition: transform .15s ease;
  z-index: 9999;
}
.skip-link:focus{
  transform: translateY(0);
}

/* Background */
.bg{
  position:fixed;
  inset:0;
  z-index:-2;
  overflow:hidden;
  background:
    radial-gradient(1200px 700px at 15% 15%, var(--accent3), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(222,185,146,.10), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, var(--accent2), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.35) 45%, rgba(0,0,0,.92));
}
.grain{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.6"/></svg>');
  mix-blend-mode: overlay;
}
.orb{
  position:absolute;
  width:520px;
  height:520px;
  border-radius:999px;
  filter: blur(50px);
  opacity:.55;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 55%);
  animation: float 11s ease-in-out infinite;
}
.orb.two{
  width:640px; height:640px;
  left:auto; right:-200px; top:14%;
  opacity:.42;
  animation-duration: 14s;
}
.orb.one{ left:-240px; top:-200px; }
.grid{
  position:absolute; inset:-2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity:.08;
  transform: perspective(900px) rotateX(55deg) translateY(-180px);
  transform-origin: top;
}
@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(22px,28px) scale(1.03); }
}

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 44px;
}

/* Header + nav */
header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(5,22,34,.58);
  border-bottom: 1px solid var(--border);
}
.headerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 18px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand{
  display:flex;
  gap: 12px;
  align-items:center;
  min-width: 240px;
}
.logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), rgba(255,255,255,.08));
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.brandTitle{
  font-weight: 820;
  letter-spacing:.2px;
}
.brandSub{
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

.menu-toggle{
  display:none;
  align-items:center;
  gap:8px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  font-weight: 650;
}
nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.navLinks{
  display:flex;
  align-items:center;
  gap: 10px;
}
nav a{
  text-decoration:none;
  font-family: var(--mono);
  font-size: 13px;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: rgba(234,247,246,.92);
}
nav a:hover{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}
nav a.active, nav a[aria-current="page"]{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Panels / cards */
.panel{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: var(--card);
  /* Enhanced in supporting browsers */
  background: color-mix(in srgb, var(--accent) 8%, rgba(255,255,255,.05));
}

.h1{
  font-size: 44px;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.6px;
}
.h2{
  font-size: 22px;
  margin: 0;
}

/* Make default headings match the design even when pages use raw h1/h2 tags */
h1{ font-size: 44px; line-height: 1.02; margin: 0; letter-spacing: -0.6px; }
.h2{ font-size: 22px; margin: 0; }
.lead{
  color: rgba(234,247,246,.82);
  font-size: 16px;
  line-height: 1.6;
}

/* Element typography defaults (most pages use plain h1/h2 tags) */
h1{
  font-size: 46px;
  line-height: 1.05;
  margin: 14px 0 10px;
  letter-spacing: -0.6px;
}
h2{
  font-size: 22px;
  margin: 0 0 8px;
}
h3{
  font-size: 16px;
  margin: 0 0 8px;
}
p{ margin: 10px 0; }
.muted{ color: var(--muted); }

.kicker{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}

/* Buttons */
.btnRow{ display:flex; gap: 12px; flex-wrap:wrap; margin-top: 6px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 16px;
  padding: 12px 14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  text-decoration:none;
  font-family: var(--mono);
  font-size: 13px;
  cursor:pointer;
}
.btn.primary{
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, transparent), rgba(255,255,255,.05));
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

/* Index hero + chips + TOC (missing from first refactor) */
.hero{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items: stretch;
}
.heroLeft{ padding: 24px; }

.chips{ margin-top: 22px; margin-bottom: 22px; display:flex; flex-wrap:wrap; gap: 10px; }
.chip{
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.chip b{ color: var(--accent); }

.socialLink{
  display:inline-block;
  margin-top:12px;
  color: var(--accent);
  font-weight: 850;
}
.socialLink:hover{ text-decoration: underline; text-underline-offset: 3px; }

.rightTop{
  aspect-ratio: 16/9;
  border-bottom: 1px solid var(--border);
  position: relative;
  background:
    radial-gradient(700px 350px at 30% 25%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
    radial-gradient(700px 350px at 70% 70%, rgba(255,255,255,.07), transparent 60%),
    rgba(255,255,255,.04);
  border-radius: 16px 16px 0 0;
}
.videoLabel{
  position:absolute; left: 14px; top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
}
.playCenter{ position:absolute; inset:0; display:grid; place-items:center; }
.playCircle{
  width: 82px; height: 82px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.25);
  box-shadow: 0 18px 60px rgba(0,0,0,.4);
  display:grid; place-items:center;
  transition: transform .15s ease, background .15s ease;
}
.rightTop:hover .playCircle{ transform: scale(1.04); background: rgba(0,0,0,.35); }
.triangle{
  width:0; height:0;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
  opacity: .95;
}
.rightBody{ padding: 16px; }
.tocTitle{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing:.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 10px;
}
.toc{ display:flex; flex-direction:column; gap: 10px; }
.toc a{
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 850;
}
.toc a:hover{ background: rgba(255,255,255,.08); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.toc span{ font-family: var(--mono); font-weight: 800; font-size: 12px; color: var(--muted); }

/* Layout helpers (existing site patterns) */
.grid2{ display:grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pad{ padding: 18px; }
.padLg{ padding: 22px; }

/* Two-column inner pages (Who/What/Why/Done/Fun) */
.page{
  margin-top: 18px;
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 16px;
  align-items: start;
}
.side{
  padding: 16px;
  background: rgba(15,16,20,.55);
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 45px rgba(0,0,0,.35);
}
.side .k{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing:.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.side a{
  display:block;
  margin-top:10px;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 850;
}
.side a:hover{
  background: rgba(255,255,255,.08);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
.main{ padding: 24px; }

.hr{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 16px 0;
}

.bullets{
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  color: rgba(234,247,246,.86);
}
.bullets li{ margin: 8px 0; }
.bullets li::marker{ color: rgba(255,255,255,.35); }

/* Footer */
.footer{
  margin-top: 18px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(234,247,246,.70);
  opacity: .95;
}
.footer a{
  color: rgba(234,247,246,.82);
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer a:hover{ color: rgba(234,247,246,.95); }

/* Pager */
.pager{
  margin-top: 16px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.pager a{
  min-width: 210px;
}

/* Modal */
dialog{
  width: min(860px, 92vw);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(10,12,16,.92);
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  padding: 0;
}
dialog::backdrop{ background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }

.modalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.modalBody{ padding: 16px; }

.closeBtn{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 14px;
  padding: 8px 10px;
  cursor:pointer;
}

.videoPlaceholder{
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  padding: 26px;
  text-align:center;
}
.placeholderText .big{ font-weight: 800; letter-spacing:.2px; }
.placeholderText .small{ margin-top: 10px; color: rgba(234,247,246,.72); line-height: 1.6; font-size: 13px; }

/* Responsive */
@media (max-width: 940px){
  .grid2{ grid-template-columns: 1fr; }
  .hero{ grid-template-columns: 1fr; }
  .page{ grid-template-columns: 1fr; }
  .menu-toggle{ display:inline-flex; }
  nav{ position:relative; }
  .navLinks{
    display:none;
    position:absolute;
    right:0;
    top: calc(100% + 10px);
    flex-direction:column;
    gap: 6px;
    padding: 10px;
    background: rgba(5,22,34,.92);
    border:1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 26px 80px rgba(0,0,0,.45);
    min-width: 220px;
  }
  nav[data-open="true"] .navLinks{ display:flex; }
  nav a{ width:100%; }
}
@media (max-width: 560px){
  .h1{ font-size: 36px; }
}

/* Common text helpers used across pages */
.sub{
  color: rgba(234,247,246,.78);
  line-height: 1.6;
  margin: 10px 0 0;
  font-size: 14px;
}
.sub.mt0{ margin-top:0; }
.sub.mt6{ margin-top:6px; }

.accentText{ color: var(--accent); }

.quizGrid2{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 740px){
  .quizGrid2{ grid-template-columns: 1fr; }
}

.cardTight{
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.quizBox{
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}

.kicker.zero{ margin:0; }

.h2Tight{
  margin: 6px 0 0;
  font-size: 22px;
}

/* Fun page helpers */
.rowBetween{
  margin-top: 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}
.pill{
  font-family: var(--mono);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.flexWrap{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.resultBox{
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.resultTitle{
  font-weight: 950;
  margin-bottom: 10px;
}
.gridGap8{
  display:grid;
  gap: 8px;
}
.debugNote{
  display:none;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(234,247,246,.70);
}
.footerMonoNote{
  font-family: var(--mono);
  opacity: .9;
}

/* Utility spacing (used to replace former inline styles) */
.mt12{ margin-top:12px !important; }
.mt14{ margin-top:14px !important; }
.gridGap10{ display:grid; gap:10px; }

/* Layout utilities */
.grid2Tight{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 740px){
  .grid2Tight{ grid-template-columns: 1fr; }
}

/* Dashed highlight card */
.dashedCard{
  margin-top:14px;
  padding:16px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}

/* Done page proof blocks */
.proofTitle{ font-weight: 950; }
.proofDesc{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}
.proofTag{
  display:inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}


/* Fun page: split sidebar into stacked panels */
.sideNoBg{
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.sidePanel{
  padding: 16px;
  background: rgba(15,16,20,.55);
  border-radius: 18px;
  box-shadow: 0 14px 45px rgba(0,0,0,.35);
}


/* Accessibility: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/* Hero spacing fix: ensure separation between pills and buttons */
.heroActions{
  margin-top: 20px;
}

@media (max-width: 640px){
  .heroActions{
    margin-top: 24px;
  }
}


/* Hero pill spacing: separate lower pill row from actions */
.pillRowSecondary{
  margin-bottom: 20px;
}

@media (max-width: 640px){
  .pillRowSecondary{
    margin-bottom: 24px;
  }
}


/* Hero pill spacing: push pill group away from headline and actions */
.pillGroupSpaced{
  margin-top: 20px;
  margin-bottom: 28px;
}

.pillRowSpaced{
  margin-top: 16px;
  margin-bottom: 28px;
}


/* Higher-contrast secondary buttons (used heavily in the Fun page quiz choices) */
.btn.secondary{
  border-color: rgba(255,255,255,.28);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
}
.btn.secondary:hover{
  background: rgba(0,0,0,.30);
}


/* Fun page quiz contrast bump */
.quizBox{
  border: 1px dashed rgba(255,255,255,.35);
  background: rgba(0,0,0,.22);
}
.resultBox{
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.22);
}
.pill{
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(0,0,0,.18);
}
.resultTitle{
  color: rgba(255,255,255,.95);
}
.debugNote{
  color: rgba(255,255,255,.80);
}


/* Quiz action buttons (Next / Restart) contrast + states */
.quizBox .btn{
  color: rgba(255,255,255,.95);
}

.quizBox .btn.primary{
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 70%, #000),
    rgba(0,0,0,.35)
  );
  border-color: rgba(255,255,255,.35);
}

.quizBox .btn.secondary{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.35);
}

.quizBox .btn:hover{
  background: rgba(0,0,0,.45);
}

.quizBox .btn:disabled{
  opacity: .55;
  background: rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.18);
  cursor: not-allowed;
}


/* Quiz: clearer right/wrong states */
.choiceBtn.isWrong{
  border-color: rgba(255,120,120,.55) !important;
  background: rgba(255,80,80,.12) !important;
}
.choiceBtn.isCorrect,
.choiceBtn.isCorrectReveal{
  border-color: rgba(120,255,170,.55) !important;
  background: rgba(80,255,160,.12) !important;
}
.choiceBtn.isCorrectReveal{
  box-shadow: 0 0 0 1px rgba(120,255,170,.22) inset;
}

.debugNote.ok{ color: rgba(170,255,210,.90) !important; }
.debugNote.bad{ color: rgba(255,190,190,.90) !important; }


/* Readability: slightly stronger surfaces (improves text contrast through overlays) */
.card{
  background: color-mix(in srgb, rgba(0,0,0,.42) 60%, rgba(255,255,255,.05));
  border-color: rgba(255,255,255,.18);
}

.sidePanel{
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.16);
}

.quizBox, .resultBox{
  background: rgba(0,0,0,.28);
}

.chip{
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.20);
}


/* Navigation + chips: stronger outline for readability */
.nav a, .navLink{
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(0,0,0,.18);
}

.nav a:hover, .navLink:hover{
  border-color: rgba(255,255,255,.40);
  background: rgba(0,0,0,.26);
}

.nav a.active, .navLink.active, .nav a[aria-current="page"]{
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset;
}

/* Chips + pills */
.chip, .pill{
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(0,0,0,.20);
}


/* Pager (Next / Previous) contrast */
.pager .btn{
  border-color: rgba(255,255,255,.30);
  background: rgba(0,0,0,.26);
  color: rgba(255,255,255,.94);
}
.pager .btn:hover{
  background: rgba(0,0,0,.36);
  border-color: rgba(255,255,255,.45);
}


/* Play the Intro button: extra emphasis */
#playBtn{
  font-weight: 700;
  letter-spacing: .02em;
  border-width: 2px;
  border-color: rgba(255,255,255,.55);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 80%, #000),
    rgba(0,0,0,.35)
  );
}

#playBtn:hover{
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 90%, #000),
    rgba(0,0,0,.45)
  );
}

#playBtn:focus-visible{
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: 2px;
}


/* Play the Intro: guaranteed readable contrast */
#playBtn{
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 92%, #000),
    rgba(0,0,0,.45)
  );
}

#playBtn svg, #playBtn .triangle{
  fill: #ffffff;
}

#playBtn:hover{
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 98%, #000),
    rgba(0,0,0,.55)
  );
}



/* Hero intro text: keep line length aligned with headline */
.hero .sub{ max-width: 62ch; }
