/* === Theme tokens === */
:root{
    --hrt-bg: #0a0a0a;
    --hrt-panel: #121212;
    --hrt-text: #ebebeb;
    --hrt-dim: #b7b7b7;
    --hrt-line: #242424;
    --hrt-blue: #0069ff; /* your specified HRT blue */
    --hrt-green: #2ecc71;
    --hrt-orange: #ff9f43;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 6px 20px rgba(0,0,0,.35);
  }
  
  body.page--standard{
    background: linear-gradient(180deg, #0a0a0a 0%, #0c0c0c 60%, #0a0a0a 100%);
    color: var(--hrt-black);
  }
  
  /* === Hero === */
  .about-hero{
    position: relative;
    padding: clamp(48px, 8vw, 96px) 20px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--hrt-line);
  }
  .about-hero::after{
    content:"";
    position:absolute; inset:-40%;
    background:
      radial-gradient(60% 40% at 50% -10%, rgba(0,105,255,.25), transparent 60%),
      radial-gradient(40% 25% at 80% 10%, rgba(0,105,255,.12), transparent 60%);
    filter: blur(30px);
    pointer-events:none;
  }
  .about-hero h1{ font-size: clamp(28px, 4vw, 48px); letter-spacing:.3px; }
  .about-hero .lede{
    max-width: 900px; margin: 12px auto 0;
    color: var(--hrt-dim); font-size: clamp(16px, 2vw, 18px);
  }
  
  /* === Sticky Category Bar === */
  .section-nav{
    position: sticky; top: 0; z-index: 20;
    background: rgba(10,10,10,.75); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hrt-line);
  }
  .section-nav .chips{
    display: flex; gap: 10px; overflow-x: auto; padding: 12px 20px;
    scroll-snap-type: x proximity;
  }
  .section-nav .chip{
    scroll-snap-align: start;
    padding: 8px 12px; border: 1px solid var(--hrt-line);
    border-radius: 999px; white-space: nowrap; color: var(--hrt-dim);
    transition: border-color .2s, color .2s, background .2s;
  }
  .section-nav .chip:hover, .section-nav .chip:focus{
    border-color: var(--hrt-blue); color: #fff; background: rgba(0,105,255,.08);
  }
  
  /* === Section blocks === */
  .about-body{ padding: 36px 20px 64px; }
  .about-copy{ max-width: 1100px; margin: 0 auto; }
  
  .section{
    margin: 40px 0;
  }
  .section h2{
    display: flex; align-items: center; gap: 10px;
    font-size: clamp(22px, 2.2vw, 28px);
  }
  .section h2 .hash{
    opacity: 0; transition: opacity .2s; color: var(--hrt-blue);
    font-weight: 700; text-decoration: none;
  }
  .section h2:hover .hash{ opacity: 1; }
  
  /* === Course grid cards === */
  .course-grid{
    display: grid; gap: 14px;
    grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
    margin-top: 16px;
  }
  .card{
    background: linear-gradient(180deg, var(--hrt-panel), #0f0f0f);
    border: 1px solid var(--hrt-line);
    border-radius: var(--radius);
    padding: 16px; box-shadow: var(--shadow);
  }
  .card h3{
    font-size: 16px; margin: 0 0 8px;
  }
  .card p{
    color: var(--hrt-black); font-size: 14px; margin: 0 0 10px;
  }
  .tags{ display:flex; flex-wrap: wrap; gap: 8px; }
  
  /* === Pills / badges === */
  .pill{
    display:inline-flex; align-items:center; gap:6px;
    font-size: 12px; padding: 4px 8px; border-radius: 999px;
    border: 1px solid var(--hrt-line); color: var(--hrt-dim);
    background: #0d0d0d;
  }
  .pill.nra{
    border-color: rgba(0,105,255,.6);
    color:#e8f0ff; background: rgba(0,105,255,.1);
    font-weight:600;
  }
  
  /* === Details (expanders) === */
  .card details{
    margin-top: 8px; border-top: 1px dashed var(--hrt-line); padding-top: 8px;
  }
  .card summary{
    cursor: pointer; color: #fff;
    list-style: none;
  }
  .card summary::-webkit-details-marker{ display:none; }
  .card summary::after{
    content: "＋"; margin-left: 6px; color: var(--hrt-blue);
  }
  details[open] summary::after{ content: "–"; }
  
  /* === CTA band === */
  .cta-band{
    margin: 48px 0 0; padding: 36px 20px;
    background: linear-gradient(180deg, rgba(0,105,255,.08), transparent);
    border-top: 1px solid var(--hrt-line);
  }
  .cta-band .cta-content{
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  }
  .btn.btn-primary{
    display:inline-block; padding: 12px 16px; border-radius: 10px;
    background: var(--hrt-blue); color: #fff; text-decoration: none; font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,105,255,.28);
  }
  .btn.btn-primary:hover{ filter: brightness(1.1); }
  
  /* === Utilities === */
  hr{ border: none; border-top:1px solid var(--hrt-line); margin: 28px 0; opacity: .6; }
  
  /* === Shared About / Labs Layout (HRT + Havoc Labs) === */

.page--standard .about-hero{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--hrt-black);
  color: var(--hrt-white);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 6vw, 10%);
  text-align: left;
  border-bottom: 1px solid rgba(26,26,26,.4);
}

.page--standard .about-hero h1{
  margin: 0 0 .5rem;
  font-size: clamp(1.8rem, 2.2rem + 1.2vw, 3rem);
  letter-spacing: .02em;
}

.page--standard .about-hero .lede{
  margin: .25rem 0 0;
  font-size: clamp(1rem, .9rem + .6vw, 1.25rem);
  line-height: 1.6;
  max-width: 70ch;
  color: #f4f4f4;
}

/* Two-column about body */
.page--standard .about-body{
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 6vw, 10%);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--hrt-white);
  color: var(--hrt-black);
  align-items: flex-start;
}

@media (max-width: 980px){
  .page--standard .about-body{
    grid-template-columns: 1fr;
  }
}

/* Main copy column */
.page--standard .about-copy{
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  line-height: 1.7;
  display: grid;
  gap: 1rem;
}

.page--standard .about-copy ul{
  margin: .25rem 0 1rem;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.page--standard .about-copy .pull{
  border-left: 4px solid var(--hrt-red);
  padding-left: .9rem;
  margin: .25rem 0;
  font-weight: 600;
}

/* Right column / aside */
.page--standard .about-aside{
  display: grid;
  gap: 1rem;
  align-content: flex-start;
}

/* About/Labs cards only */
.page--standard .about-aside .card{
  background: #ffffff;
  border: 1px solid rgba(26,26,26,.12);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.page--standard .about-aside .card h3{
  margin: 0 0 .5rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hrt-black);
}

.page--standard .about-aside .card ul{
  margin: .25rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.6;
  list-style: disc;
}

.page--standard .about-aside .card p{
  margin: .25rem 0 0;
  line-height: 1.6;
  font-size: .95rem;
}

/* Shared About-style CTA */
.page--standard .about-cta{
  background: #f7f7f7;
  border-top: 1px solid rgba(26,26,26,.08);
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 6vw, 10%);
  display: grid;
  gap: .75rem;
}

.page--standard .about-cta h2{
  margin: 0;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.page--standard .about-cta p{
  margin: 0;
  max-width: 70ch;
}

.page--standard .about-actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

/* Base button + primary variant (for these pages) */
.page--standard .btn{
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: .7rem 1rem;
  border: 2px solid var(--hrt-black);
  background: var(--hrt-white);
  color: var(--hrt-black);
}

.page--standard .btn:hover{
  text-decoration: underline;
  text-decoration-color: var(--hrt-red);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.page--standard .btn-primary{
  background: var(--hrt-blue);
  color: #ffffff;
  border-color: var(--hrt-blue);
}

.page--standard .btn-primary:hover{
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

/* Disable snap-pane behavior on single-content pages */
.page--standard .pane{
  block-size: auto;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  overflow: visible;
}
