/* Siragusa HQ — interim launch page. Colors come only from tokens.css. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--hq-base);
  color: var(--hq-light);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--hq-base);
  font-family: var(--hq-font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(a, button):focus-visible {
  outline: 2px solid var(--hq-signal-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgb(var(--hq-blue-rgb) / 0.35); color: var(--hq-light); }

.hq-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.hq-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 12px 18px;
  background: var(--hq-light);
  color: var(--hq-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.hq-skip:focus { top: 16px; }

/* ---------- Type ---------- */
.hq-eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--hq-font-text);
  font-size: 0.78rem;
  font-weight: 560;
  font-stretch: 118%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hq-warm);
}
.hq-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgb(var(--hq-warm-rgb) / 0.7);
}
.hq-display {
  margin: 22px 0 0;
  font-family: var(--hq-font-display);
  font-weight: 380;
  font-size: clamp(2.6rem, 1.3rem + 4.7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 13ch;
  text-wrap: balance;
}
.hq-dot { color: var(--hq-coral); }
.hq-h2 {
  margin: 18px 0 0;
  font-family: var(--hq-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.25rem + 2.3vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  max-width: 22ch;
  text-wrap: balance;
}
.hq-h3 {
  margin: 0 0 16px;
  font-family: var(--hq-font-text);
  font-size: 0.78rem;
  font-weight: 560;
  font-stretch: 115%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--hq-light-rgb) / 0.78);
}
.hq-note {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: rgb(var(--hq-light-rgb) / 0.74);
}

/* ---------- Buttons ---------- */
.hq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-family: var(--hq-font-text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: background-color var(--hq-dur-fast) var(--hq-ease-standard),
              border-color var(--hq-dur-fast) var(--hq-ease-standard),
              color var(--hq-dur-fast) var(--hq-ease-standard);
}
.hq-btn--primary {
  background: var(--hq-warm);
  color: var(--hq-base);
  border: 1px solid var(--hq-warm);
}
.hq-btn--primary:hover { background: var(--hq-light); border-color: var(--hq-light); }
.hq-btn--ghost {
  background: transparent;
  color: var(--hq-light);
  border: 1px solid rgb(var(--hq-light-rgb) / 0.34);
}
.hq-btn--ghost:hover { border-color: var(--hq-light); background: rgb(var(--hq-light-rgb) / 0.06); }

/* ---------- Header ---------- */
.hq-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px clamp(16px, 4vw, 40px);
}
.hq-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.hq-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(var(--hq-warm-rgb) / 0.55);
}
.hq-brand__name {
  font-family: var(--hq-font-display);
  font-size: 1.3rem;
  font-weight: 450;
  letter-spacing: 0.005em;
}
.hq-nav ul {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hq-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.76rem;
  font-weight: 560;
  font-stretch: 115%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(var(--hq-light-rgb) / 0.82);
  transition: color var(--hq-dur-fast) var(--hq-ease-standard);
}
.hq-nav a:hover { color: var(--hq-light); }

/* ---------- Hero ---------- */
.hq-hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 980px);
  display: grid;
  align-items: center;
  padding: 132px 0 112px;
  overflow: hidden;
}
.hq-hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hq-atmos {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(42% 46% at 76% 34%, rgb(var(--hq-violet-rgb) / 0.20), transparent 70%),
    radial-gradient(38% 42% at 18% 86%, rgb(var(--hq-blue-rgb) / 0.12), transparent 72%),
    radial-gradient(30% 30% at 92% 88%, rgb(var(--hq-warm-rgb) / 0.06), transparent 70%);
}
.hq-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hq-field__links {
  fill: none;
  stroke: rgb(var(--hq-blue-rgb) / 0.17);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hq-field .n { fill: rgb(var(--hq-light-rgb) / 0.34); }
.hq-field .n--b { fill: rgb(var(--hq-blue-rgb) / 0.75); }
.hq-field .n--v { fill: rgb(var(--hq-violet-rgb) / 0.65); }
.hq-field .n--h { fill: rgb(var(--hq-light-rgb) / 0.7); }
.hq-field__ring {
  fill: none;
  stroke: rgb(var(--hq-blue-rgb) / 0.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hq-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgb(var(--hq-base-rgb) / 0.88) 0%,
    rgb(var(--hq-base-rgb) / 0.62) 38%,
    rgb(var(--hq-base-rgb) / 0) 68%),
    linear-gradient(0deg, rgb(var(--hq-base-rgb) / 1) 0%, rgb(var(--hq-base-rgb) / 0) 22%);
}
.hq-signals {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hq-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 48px;
}
.hq-lede {
  margin: 30px 0 0;
  max-width: 34ch;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.45;
  color: rgb(var(--hq-light-rgb) / 0.92);
}
.hq-sub {
  margin: 16px 0 0;
  max-width: 52ch;
  color: rgb(var(--hq-light-rgb) / 0.76);
}

/* Emblem with orbit rings — the bitmap stays at or under 178px so it is sharp on 2x screens */
.hq-emblem {
  --size: 178px;
  position: relative;
  justify-self: center;
  width: var(--size);
  height: var(--size);
  margin: 0 auto;
}
.hq-emblem img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgb(var(--hq-warm-rgb) / 0.65),
    0 0 0 8px rgb(var(--hq-base-rgb) / 0.9),
    0 0 0 9px rgb(var(--hq-warm-rgb) / 0.25),
    0 0 70px 6px rgb(var(--hq-blue-rgb) / 0.22),
    0 30px 80px rgb(0 0 0 / 0.45);
}
.hq-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hq-orbit--1 { inset: -36px; border: 1px solid rgb(var(--hq-warm-rgb) / 0.38); }
.hq-orbit--2 { inset: -84px; border: 1px solid rgb(var(--hq-blue-rgb) / 0.26); }
.hq-orbit--3 { inset: -146px; border: 1px dashed rgb(var(--hq-blue-rgb) / 0.18); }
.hq-orbit--2::after,
.hq-orbit--3::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hq-signal-blue);
  box-shadow: 0 0 12px rgb(var(--hq-blue-rgb) / 0.8);
}
.hq-orbit--2::after { top: 14%; left: 14%; transform: translate(-50%, -50%); }
.hq-orbit--3::after { top: 82%; right: 9%; width: 5px; height: 5px; background: var(--hq-signal-violet); box-shadow: 0 0 10px rgb(var(--hq-violet-rgb) / 0.8); }

/* Pause control (BD-005). Hidden until motion actually runs. */
.hq-motion-toggle {
  position: absolute;
  left: clamp(16px, 4vw, 40px);
  bottom: 28px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid rgb(var(--hq-light-rgb) / 0.26);
  border-radius: 999px;
  background: rgb(var(--hq-base-rgb) / 0.55);
  color: rgb(var(--hq-light-rgb) / 0.86);
  font: 560 0.72rem/1 var(--hq-font-text);
  font-stretch: 115%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--hq-dur-fast) var(--hq-ease-standard), color var(--hq-dur-fast) var(--hq-ease-standard);
}
.hq-motion-toggle[hidden] { display: none; }
.hq-motion-toggle:hover { border-color: var(--hq-light); color: var(--hq-light); }
.hq-motion-toggle__icon {
  position: relative;
  width: 10px;
  height: 12px;
}
.hq-motion-toggle__icon::before,
.hq-motion-toggle__icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 12px;
  background: currentColor;
  border-radius: 1px;
}
.hq-motion-toggle__icon::before { left: 0; }
.hq-motion-toggle__icon::after { right: 0; }
.hq-paused .hq-motion-toggle__icon::after { display: none; }
.hq-paused .hq-motion-toggle__icon::before {
  width: 0;
  height: 0;
  background: none;
  border-radius: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ---------- Motion (BD-005): one orchestrated moment, then pausable ambient drift ---------- */
@keyframes hq-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2.5%, 0) scale(1.07); }
}
@keyframes hq-spin { to { transform: rotate(360deg); } }
@keyframes hq-dot-in {
  0%, 86% { color: var(--hq-light); } /* 86% of intro + slow ≈ the 2000 ms convergence */
  100%    { color: var(--hq-coral); }
}
@media (prefers-reduced-motion: no-preference) {
  /* The headline itself is never faded or moved; only its full stop turns coral at convergence. */
  .hq-dot { animation: hq-dot-in calc(var(--hq-dur-intro) + var(--hq-dur-slow)) var(--hq-ease-enter) both; }
  .hq-motion .hq-atmos { animation: hq-drift var(--hq-ambient-period) var(--hq-ease-standard) infinite alternate; }
  .hq-motion .hq-orbit--3 { animation: hq-spin calc(var(--hq-ambient-period) * 4) linear infinite; }
  .hq-paused .hq-atmos,
  .hq-paused .hq-orbit--3 { animation-play-state: paused; }
  .hq-paused .hq-dot { animation: none; }
}

/* ---------- Sections ---------- */
.hq-section {
  position: relative;
  padding: clamp(80px, 10vw, 128px) 0;
  border-top: 1px solid rgb(var(--hq-light-rgb) / 0.08);
}

/* Teach */
.hq-teach {
  background: linear-gradient(180deg, var(--hq-base) 0%, rgb(var(--hq-light-rgb) / 0.022) 100%);
}
.hq-teach__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 56px;
  align-items: start;
}
.hq-card {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  background: rgb(var(--hq-light-rgb) / 0.035);
  border: 1px solid rgb(var(--hq-light-rgb) / 0.1);
  border-radius: 10px;
}
.hq-card::before,
.hq-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--hq-warm);
  border-style: solid;
}
.hq-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-top-left-radius: 10px; }
.hq-card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; border-bottom-right-radius: 10px; }
.hq-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 560;
  font-stretch: 115%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hq-warm);
}
.hq-name {
  margin: 12px 0 0;
  font-family: var(--hq-font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
  font-weight: 430;
  line-height: 1.15;
}
.hq-role {
  margin: 10px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgb(var(--hq-light-rgb) / 0.9);
}
.hq-role::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hq-signal-blue);
  box-shadow: 0 0 10px rgb(var(--hq-blue-rgb) / 0.7);
  transform: translateY(-2px);
}
.hq-creds {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
  color: rgb(var(--hq-light-rgb) / 0.84);
}
.hq-creds li {
  padding: 12px 0;
  border-top: 1px solid rgb(var(--hq-light-rgb) / 0.09);
}
.hq-card .hq-actions { margin-top: 28px; }

.hq-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 48px;
}
.hq-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--hq-warm-rgb) / 0.45);
}
.hq-stats dt {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgb(var(--hq-light-rgb) / 0.76);
}
.hq-stats dd {
  margin: 0;
  font-family: var(--hq-font-display);
  font-size: clamp(1.55rem, 1.2rem + 0.75vw, 1.95rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--hq-light);
}
.hq-block + .hq-block { margin-top: 44px; }
.hq-courses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hq-courses li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgb(var(--hq-light-rgb) / 0.08);
  color: rgb(var(--hq-light-rgb) / 0.9);
}
.hq-num {
  flex: none;
  min-width: 2.6em;
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--hq-warm);
}
.hq-log {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hq-log li {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgb(var(--hq-light-rgb) / 0.08);
  color: rgb(var(--hq-light-rgb) / 0.88);
}
.hq-log time {
  font-size: 0.8rem;
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hq-warm);
  padding-top: 3px;
}
.hq-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  border: 1px solid rgb(var(--hq-blue-rgb) / 0.55);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hq-signal-blue);
  vertical-align: 2px;
}

/* Cathy */
.hq-cathy {
  overflow: hidden;
  isolation: isolate;
}
.hq-cathy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(40% 70% at 88% 50%, rgb(var(--hq-violet-rgb) / 0.14), transparent 70%);
}
.hq-cathy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: start;
}
.hq-cathy__body p {
  margin: 0;
  max-width: 44ch;
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgb(var(--hq-light-rgb) / 0.86);
}
.hq-cathy__body .hq-note { margin-top: 14px; font-size: 0.95rem; color: rgb(var(--hq-light-rgb) / 0.74); }
.hq-cathy__body .hq-actions { margin-top: 28px; }

/* Contact */
.hq-contact { text-align: left; }
.hq-contact__lead {
  margin: 20px 0 0;
  font-size: 1.15rem;
  color: rgb(var(--hq-light-rgb) / 0.86);
}
.hq-email {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--hq-font-display);
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.6rem);
  font-weight: 380;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgb(var(--hq-warm-rgb) / 0.6);
  overflow-wrap: anywhere;
  transition: color var(--hq-dur-fast) var(--hq-ease-standard), text-decoration-color var(--hq-dur-fast) var(--hq-ease-standard);
}
.hq-email:hover { color: var(--hq-warm); text-decoration-color: var(--hq-warm); }
.hq-contact .hq-note { max-width: 60ch; margin-top: 22px; }

/* Footer */
.hq-footer {
  padding: 40px 0 48px;
  border-top: 1px solid rgb(var(--hq-light-rgb) / 0.08);
  font-size: 0.88rem;
  color: rgb(var(--hq-light-rgb) / 0.72);
}
.hq-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.hq-footer p { margin: 0; max-width: 62ch; }
.hq-footer a { text-underline-offset: 0.2em; }

/* 404 */
.hq-plain {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hq-hero { padding: 120px 0 104px; min-height: auto; }
  .hq-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hq-emblem { --size: 112px; order: -1; justify-self: start; margin: 4px 0 28px 40px; }
  .hq-orbit--1 { inset: -22px; }
  .hq-orbit--2 { inset: -50px; }
  .hq-orbit--3 { inset: -86px; }
  .hq-scrim {
    background: linear-gradient(180deg,
      rgb(var(--hq-base-rgb) / 0.35) 0%,
      rgb(var(--hq-base-rgb) / 0.78) 42%,
      rgb(var(--hq-base-rgb) / 0.9) 100%);
  }
  .hq-teach__grid { grid-template-columns: minmax(0, 1fr); }
  .hq-cathy__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .hq-header { padding-top: 16px; column-gap: 12px; }
  .hq-brand { gap: 10px; }
  .hq-brand img { width: 34px; height: 34px; }
  .hq-brand__name { font-size: 1.12rem; }
  .hq-nav ul { gap: 14px; }
  .hq-nav a { font-size: 0.68rem; font-stretch: 100%; letter-spacing: 0.1em; }
  .hq-eyebrow { letter-spacing: 0.17em; }
  .hq-courses { grid-template-columns: minmax(0, 1fr); }
  .hq-log li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hq-actions .hq-btn { flex: 1 1 100%; }
  .hq-motion-toggle { bottom: 20px; }
}
@media (max-width: 380px) {
  .hq-hero { padding-top: 150px; } /* header wraps to two rows here */
  .hq-emblem { margin-left: 24px; }
  .hq-stats { gap: 18px; }
  .hq-eyebrow { gap: 10px; font-size: 0.7rem; letter-spacing: 0.12em; } /* keeps "Siragusa HQ · Now opening" on one line at 320 px */
  .hq-eyebrow::before { width: 18px; }
}

/* ---------- Reduced motion: the composed still frame ---------- */
@media (prefers-reduced-motion: reduce) {
  .hq-motion-toggle { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Day role (instructor card) */
.hq-dayrole {
  margin: 16px 0 0;
  padding: 12px 0 2px 16px;
  border-left: 2px solid var(--hq-warm);
}
.hq-dayrole__title {
  display: block;
  font-family: var(--hq-font-display);
  font-size: 1.12rem;
  font-weight: 450;
  color: var(--hq-light);
}
.hq-dayrole__org {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  color: rgb(var(--hq-light-rgb) / 0.82);
}
.hq-dayrole__org a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color var(--hq-dur-fast) var(--hq-ease-standard);
}
.hq-dayrole__org a:hover,
.hq-dayrole__org a:focus-visible {
  color: var(--hq-warm);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.hq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Inner pages ---------- */
.hq-header--page { position: relative; }
.hq-nav a[aria-current="page"] { color: var(--hq-warm); }
.hq-pagehead {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.hq-pagehead::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0 30%;
  z-index: -1;
  background: radial-gradient(45% 60% at 70% 40%, rgb(var(--hq-violet-rgb) / 0.16), transparent 70%);
}
.hq-h1 {
  margin: 18px 0 0;
  font-family: var(--hq-font-display);
  font-weight: 380;
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.016em;
}
.hq-pagehead__lede {
  margin: 22px 0 0;
  max-width: 52ch;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: rgb(var(--hq-light-rgb) / 0.88);
}
.hq-upcoming { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.hq-upcoming .hq-log { max-width: 820px; }
.hq-upcoming .hq-log li { grid-template-columns: 10em minmax(0, 1fr); }
.hq-grouphead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin-bottom: 32px;
}
.hq-grouphead .hq-h2 { margin: 0; }
.hq-grouphead .hq-note { margin: 0; }
.hq-note a, .hq-more {
  color: var(--hq-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgb(var(--hq-warm-rgb) / 0.6);
}
.hq-note a:hover, .hq-more:hover { color: var(--hq-warm); }

.hq-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hq-course {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  background: rgb(var(--hq-light-rgb) / 0.035);
  border: 1px solid rgb(var(--hq-light-rgb) / 0.1);
  border-top: 2px solid rgb(var(--hq-warm-rgb) / 0.7);
  border-radius: 10px;
  scroll-margin-top: 24px;
}
.hq-course__num {
  margin: 0;
  font-family: var(--hq-font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--hq-warm);
}
.hq-course__kind {
  display: block;
  margin-bottom: 8px;
  font-family: var(--hq-font-text);
  font-size: 0.72rem;
  font-weight: 560;
  font-stretch: 115%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--hq-light-rgb) / 0.75);
}
.hq-course__title {
  margin: 14px 0 0;
  font-family: var(--hq-font-display);
  font-size: 1.4rem;
  font-weight: 430;
  line-height: 1.2;
}
.hq-course__summary {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgb(var(--hq-light-rgb) / 0.86);
}
.hq-course__who {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: rgb(var(--hq-light-rgb) / 0.78);
}
.hq-course__who span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hq-warm);
}
.hq-course__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}
.hq-btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.88rem; }
@media (max-width: 560px) {
  .hq-course-grid { grid-template-columns: minmax(0, 1fr); }
  .hq-upcoming .hq-log li { grid-template-columns: minmax(0, 1fr); }
  .hq-course__actions .hq-btn { flex: 1 1 100%; }
}

/* ---------- Instructor portrait and enlarge dialog ---------- */
.hq-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hq-portrait {
  position: relative;
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--hq-light);
  box-shadow:
    0 0 0 1px rgb(var(--hq-warm-rgb) / 0.65),
    0 0 0 6px rgb(var(--hq-base-rgb) / 0.9),
    0 0 0 7px rgb(var(--hq-warm-rgb) / 0.25);
  transition: box-shadow var(--hq-dur-base) var(--hq-ease-standard);
}
.hq-portrait picture,
.hq-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.hq-portrait img { object-fit: cover; }
/* Small "+" badge: tells sighted users the portrait opens larger */
.hq-portrait::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgb(var(--hq-warm-rgb) / 0.7);
  background:
    linear-gradient(var(--hq-warm), var(--hq-warm)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--hq-warm), var(--hq-warm)) center / 1.5px 12px no-repeat,
    var(--hq-base);
}
.hq-portrait:hover {
  box-shadow:
    0 0 0 1px var(--hq-warm),
    0 0 0 6px rgb(var(--hq-base-rgb) / 0.9),
    0 0 0 7px rgb(var(--hq-warm-rgb) / 0.5);
}
.hq-portrait:focus-visible { outline-offset: 10px; border-radius: 50%; }

.hq-lightbox {
  width: min(92vw, 520px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--hq-light);
  border: 1px solid rgb(var(--hq-light-rgb) / 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgb(var(--hq-warm-rgb) / 0.3), rgb(var(--hq-blue-rgb) / 0.08) 48%, transparent 72%),
    var(--hq-base);
}
.hq-lightbox::backdrop { background: rgb(var(--hq-base-rgb) / 0.86); }
.hq-lightbox__figure { margin: 0; padding: 56px 24px 0; }
.hq-lightbox__figure img { width: 100%; height: auto; }
.hq-lightbox__caption {
  margin: 0 -24px;
  padding: 16px 24px 22px;
  text-align: center;
  border-top: 1px solid rgb(var(--hq-warm-rgb) / 0.35);
  background: rgb(var(--hq-base-rgb) / 0.94);
}
.hq-lightbox__name {
  display: block;
  font-family: var(--hq-font-display);
  font-size: 1.35rem;
  font-weight: 430;
}
.hq-lightbox__role {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgb(var(--hq-light-rgb) / 0.75);
}
.hq-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid rgb(var(--hq-light-rgb) / 0.34);
  background: rgb(var(--hq-base-rgb) / 0.7);
  color: var(--hq-light);
  font: 560 0.9rem/1 var(--hq-font-text);
  cursor: pointer;
}
.hq-lightbox__close:hover { border-color: var(--hq-light); }
@media (prefers-reduced-motion: no-preference) {
  .hq-lightbox[open] { animation: hq-lightbox-in var(--hq-dur-slow) var(--hq-ease-enter); }
  @keyframes hq-lightbox-in {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- /teach page: "valuation in motion" (BD-005 amendment, agreed by both founders 2026-10-12) ---------- */
body.hq-tp { background: transparent; } /* the fixed field sits between the page background and the content */
.hq-tp-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 45% at 84% 18%, rgb(var(--hq-violet-rgb) / 0.17), transparent 70%),
    radial-gradient(46% 50% at 10% 82%, rgb(var(--hq-blue-rgb) / 0.13), transparent 72%),
    radial-gradient(30% 30% at 60% 60%, rgb(var(--hq-warm-rgb) / 0.04), transparent 70%),
    var(--hq-base);
}
.hq-tp-canvas { display: block; width: 100%; height: 100%; }
.hq-tp-nowrap { white-space: nowrap; }

.hq-tp-hero { position: relative; isolation: isolate; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hq-tp-hero::before { /* keeps the moving field quiet behind the headline and buttons */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(var(--hq-base-rgb) / 0.78) 0%, rgb(var(--hq-base-rgb) / 0.5) 46%, rgb(var(--hq-base-rgb) / 0) 72%);
  -webkit-mask-image: linear-gradient(180deg, var(--hq-base) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, var(--hq-base) 72%, transparent 100%);
}
.hq-tp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}
.hq-tp-hero__copy .hq-role { margin-top: 18px; }
.hq-tp-hero__copy .hq-pagehead__lede { max-width: 36ch; }
.hq-tp-hero__figure {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
  margin: 0;
  border-bottom: 1px solid rgb(var(--hq-warm-rgb) / 0.45);
}
.hq-tp-hero__figure::before { /* compass-ring halo behind the cut-out */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 84%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgb(var(--hq-warm-rgb) / 0.34);
  background: radial-gradient(closest-side, rgb(var(--hq-light-rgb) / 0.12), rgb(var(--hq-blue-rgb) / 0.06) 60%, transparent 100%);
}
.hq-tp-hero__figure::after { /* second, fainter orbit */
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(6% - 22px);
  width: calc(84% + 44px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px dashed rgb(var(--hq-blue-rgb) / 0.22);
  pointer-events: none;
}
.hq-tp-hero__figure img { position: relative; width: 100%; height: auto; }

.hq-tp .hq-section { border-top: 0; padding: clamp(20px, 3vw, 40px) 0; background: none; }
.hq-tp-panel {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid rgb(var(--hq-light-rgb) / 0.09);
  border-radius: 14px;
  background: rgb(var(--hq-base-rgb) / 0.8);
}
.hq-tp-panel .hq-h2 { margin-top: 14px; }

.hq-tp-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.hq-tp-bio p { margin: 18px 0 0; max-width: 66ch; color: rgb(var(--hq-light-rgb) / 0.9); }
.hq-tp-bio p:first-child { margin-top: 26px; font-size: 1.12rem; color: var(--hq-light); }
.hq-tp-facts { background: rgb(var(--hq-base-rgb) / 0.86); }
.hq-tp-facts .hq-kicker { margin: 0 0 4px; }

.hq-tp-teaching__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.hq-tp-thumbs {
  flex: none;
  width: min(300px, 38%);
  margin: -24px 0 -41px;
  border-bottom: 1px solid rgb(var(--hq-warm-rgb) / 0.45);
}
.hq-tp-thumbs img { width: 100%; height: auto; }
.hq-tp-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
}
.hq-tp-two .hq-block + .hq-block { margin-top: 0; }
.hq-tp-two .hq-courses { grid-template-columns: minmax(0, 1fr); }

/* Conference speaking: the full-length conference photo stands beside the panel */
.hq-tp-speaking__grid {
  display: grid;
  grid-template-columns: clamp(170px, 18vw, 230px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hq-tp-speaking__panel { grid-column: 2; grid-row: 1; }
.hq-tp-speaking__figure {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  isolation: isolate;
  margin: 0;
  border-bottom: 1px solid rgb(var(--hq-warm-rgb) / 0.45);
}
.hq-tp-speaking__figure::before { /* soft light behind the figure, echoing the hero's halo */
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 2%;
  width: 150%;
  height: 72%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--hq-light-rgb) / 0.1), rgb(var(--hq-blue-rgb) / 0.06) 55%, transparent 100%);
  pointer-events: none;
}
.hq-tp-speaking__figure img { display: block; width: 100%; height: auto; }

.hq-tp-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hq-tp-point { width: min(100%, 440px); justify-self: end; display: flex; flex-direction: column; }
/* the button sits right above the fingertip (81% across the cut-out) */
.hq-tp-point__btn { align-self: flex-end; white-space: nowrap; } /* spans the fingertip, 81% across the cut-out */
.hq-tp-point__figure { margin: 14px 0 0; border-bottom: 1px solid rgb(var(--hq-warm-rgb) / 0.45); }
.hq-tp-point__figure img { width: 100%; height: auto; }
.hq-tp-point__note { margin-top: 12px; }
.hq-tp-cta .hq-email { font-size: clamp(1.45rem, 1rem + 1.5vw, 2.2rem); overflow-wrap: anywhere; }
.hq-tp-toggle, .hq-page-toggle { background: rgb(var(--hq-base-rgb) / 0.88); }

/* The pause control stays on screen wherever motion runs page-wide (/teach, /courses, home) */
.hq-tp-toggle, .hq-page-toggle { position: fixed; left: clamp(16px, 4vw, 40px); bottom: 20px; z-index: 20; }

@media (max-width: 960px) {
  .hq-tp-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hq-tp-hero__figure { justify-self: center; width: min(86%, 420px); }
  .hq-tp-about__grid,
  .hq-tp-two,
  .hq-tp-cta__grid,
  .hq-tp-speaking__grid { grid-template-columns: minmax(0, 1fr); }
  .hq-tp-point { justify-self: center; }
  .hq-tp-speaking__panel,
  .hq-tp-speaking__figure { grid-column: 1; grid-row: auto; }
  .hq-tp-speaking__figure { justify-self: center; width: min(46%, 220px); }
}
@media (max-width: 560px) {
  .hq-tp-teaching__head { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .hq-tp-thumbs { width: 74%; align-self: flex-end; margin: 4px 0 -33px; }
  .hq-tp-point__btn { align-self: stretch; margin-left: 0; }
  .hq-tp-toggle, .hq-page-toggle { bottom: 14px; width: 44px; padding: 0; justify-content: center; } /* icon only on phones; the label stays for screen readers */
  .hq-tp-toggle .hq-motion-toggle__label,
  .hq-page-toggle .hq-motion-toggle__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* Short bio on the home page instructor card */
.hq-card__bio { margin: 22px 0 0; color: rgb(var(--hq-light-rgb) / 0.88); }
.hq-card__bio .hq-more { white-space: nowrap; }

/* ---------- Page fields (BD-005 amendment, agreed by both founders 2026-10-12) ----------
   /courses, BD-005b: "current to insight". Graph paper behind the page; in the page head, traces carry
   current into a fine-line bulb that comes on (assets/js/courses-field.js).
   Home, BD-005c: the hero's network carries on below the hero (assets/js/home-field.js). */
body.hq-cf,
body.hq-hf { background: transparent; } /* the fixed field sits between the page background and the content */

.hq-cf-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 80% 22%, rgb(var(--hq-violet-rgb) / 0.15), transparent 70%),
    radial-gradient(44% 50% at 8% 88%, rgb(var(--hq-blue-rgb) / 0.11), transparent 72%),
    radial-gradient(28% 30% at 62% 64%, rgb(var(--hq-warm-rgb) / 0.035), transparent 70%),
    var(--hq-base);
}
.hq-cf-canvas { display: block; width: 100%; height: 100%; }
.hq-cf-bulb {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hq-cf .hq-pagehead::before { opacity: 0.6; } /* the bulb brings its own light */
.hq-cf .hq-course {
  background:
    linear-gradient(rgb(var(--hq-light-rgb) / 0.035), rgb(var(--hq-light-rgb) / 0.035)),
    rgb(var(--hq-base-rgb) / 0.9);
}

.hq-hf-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--hq-base);
}
.hq-hf-field::before { /* the hero's atmosphere, carried down the page */
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(40% 44% at 82% 30%, rgb(var(--hq-violet-rgb) / 0.14), transparent 70%),
    radial-gradient(40% 44% at 14% 80%, rgb(var(--hq-blue-rgb) / 0.11), transparent 72%),
    radial-gradient(30% 30% at 90% 90%, rgb(var(--hq-warm-rgb) / 0.05), transparent 70%);
}
.hq-hf-canvas { /* quieter behind the content column, as the hero's scrim keeps it quiet behind its text */
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, var(--hq-base) 0%, rgb(var(--hq-base-rgb) / 0.55) 22%, rgb(var(--hq-base-rgb) / 0.55) 78%, var(--hq-base) 100%);
  mask-image: linear-gradient(90deg, var(--hq-base) 0%, rgb(var(--hq-base-rgb) / 0.55) 22%, rgb(var(--hq-base-rgb) / 0.55) 78%, var(--hq-base) 100%);
}
.hq-hf .hq-footer,
.hq-cf .hq-footer { background: rgb(var(--hq-base-rgb) / 0.86); } /* the legal line stays on a plain ground */
/* The hero keeps its own field. Over its last 180 px the hero's network fades out and the page field fades in. */
.hq-hf .hq-hero { background: linear-gradient(180deg, var(--hq-base) calc(100% - 180px), transparent 100%); }
.hq-hf .hq-hero__field {
  -webkit-mask-image: linear-gradient(180deg, var(--hq-base) calc(100% - 180px), transparent 100%);
  mask-image: linear-gradient(180deg, var(--hq-base) calc(100% - 180px), transparent 100%);
}
.hq-hf .hq-teach { background: none; }
.hq-hf .hq-card {
  background:
    linear-gradient(rgb(var(--hq-light-rgb) / 0.035), rgb(var(--hq-light-rgb) / 0.035)),
    rgb(var(--hq-base-rgb) / 0.88);
}
@media (prefers-reduced-motion: no-preference) {
  .hq-motion .hq-hf-field::before { animation: hq-drift var(--hq-ambient-period) var(--hq-ease-standard) infinite alternate; }
  .hq-paused .hq-hf-field::before { animation-play-state: paused; }
}
/* Keyboard focus never lands under the fixed pause control (WCAG 2.4.11) */
html:has(body.hq-tp, body.hq-cf, body.hq-hf) { scroll-padding-bottom: 96px; }

/* ---------- Plain text pages: Accessibility and Privacy (approved by both founders 2026-10-12) ---------- */
.hq-legal { padding: 0 0 clamp(64px, 8vw, 104px); }
.hq-legal__body { max-width: 68ch; }
.hq-legal__body .hq-h3 { margin: 44px 0 12px; }
.hq-legal__body .hq-h3:first-child { margin-top: 0; }
.hq-legal__body p,
.hq-legal__body ul { margin: 0 0 14px; color: rgb(var(--hq-light-rgb) / 0.88); }
.hq-legal__body ul { padding-left: 1.2em; }
.hq-legal__body li + li { margin-top: 8px; }
.hq-legal__body li::marker { color: var(--hq-warm); }
.hq-legal__body a { color: var(--hq-light); text-decoration-color: rgb(var(--hq-warm-rgb) / 0.6); text-underline-offset: 0.2em; }
.hq-legal__body a:hover { color: var(--hq-warm); }
.hq-legal__body .hq-note { margin-top: 36px; color: rgb(var(--hq-light-rgb) / 0.74); }
.hq-legal__body .hq-note + .hq-note { margin-top: 6px; }
.hq-footer a[aria-current="page"] { color: var(--hq-warm); }
/* At the very end of a page with a fixed pause control, keep the footer's last line clear of it */
body.hq-tp .hq-footer,
body.hq-cf .hq-footer,
body.hq-hf .hq-footer { padding-bottom: 104px; }
