/* HEXKIT ACADEMY Studio layout. Used by the live homepage and the Studio preview. */
:root {
  --ink: #1a1d21;
  --lime: #b8f000;
  --paper: #f4f5f0;
  --white: #fffcf7;
  --mid: #5c6370;
  --line: rgba(26, 29, 33, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 1.25rem, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.sticky-stack {
  position: sticky;
  top: 0;
  z-index: 80;
}

.urgency-banner:not(.is-ready) {
  display: none;
}

.urgency-banner {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--lime);
}

.urgency-banner.is-regular,
.urgency-banner.is-full {
  background: #e7eadf;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.urgency-inner {
  width: min(100% - 1.25rem, 1280px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1.25rem;
  padding: 0.55rem 0;
}

.urgency-copy {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.urgency-banner .urgency-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.site-header {
  position: relative;
  background: rgba(244, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 1.25rem, 1280px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.6rem 0;
}

.logo img {
  width: clamp(148px, 46vw, 210px);
  height: auto;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}

.search-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}

.search-open:hover {
  background: var(--ink);
  color: var(--paper);
}

.search-open-icon {
  display: block;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 16px;
  background: currentColor;
  border-radius: 1px;
}

.mini-nav-links {
  display: none;
  margin: 0;
  min-width: 0;
}

.mini-nav.is-open .mini-nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  gap: 0;
  padding: 0.35rem 0.85rem 0.75rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(26, 29, 33, 0.08);
  max-height: min(70dvh, 32rem);
  overflow-x: visible;
  overflow-y: auto;
}

.mini-nav.is-open .mini-nav-links a {
  display: flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.2rem;
  white-space: normal;
}

.mini-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  /* Extra top padding drops uppercase caps onto the logo's vertical center. */
  padding: calc(0.45rem + 1.5px) 0.15rem calc(0.45rem - 1.5px);
  line-height: 1;
}

.mini-nav a[aria-current="page"],
.mini-nav a[aria-current="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--lime);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 0.85rem;
  width: min(100% - 1.25rem, 1180px);
  margin: 0.75rem auto 1.25rem;
  padding-bottom: 0.5rem;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: #f7f7f5;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center;
}

.hero-caption {
  position: static;
  max-width: none;
  margin: 0.4rem 0 0;
  padding: 0;
  background: transparent;
  color: var(--mid);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero-copy {
  width: auto;
  min-width: 0;
  margin: 0;
  position: relative;
  background: transparent;
  padding: 0.15rem 0.1rem 0.2rem;
  box-shadow: none;
}

.hero-copy h1 {
  font-size: clamp(1.45rem, 3.6vw, 3.45rem);
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 8vw, 5.1rem);
}

.lede {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  font-size: 1.05rem;
  color: var(--mid);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.btn-primary:hover {
  background: #c8ff33;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover,
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-ctas .btn {
  max-width: 100%;
}

.path-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.15rem 0 0;
  align-items: stretch;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.9rem 0.95rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.path-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.path-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.path-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.path-machine {
  color: var(--mid);
}

.path-price {
  font-weight: 800;
}

.path-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.path-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-underline-offset: 0.16em;
}

@media (min-width: 720px) {
  .path-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.enroll-note {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  font-weight: 650;
  line-height: 1.45;
}

.seat-policy {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.enroll-micro {
  display: grid;
  gap: 0.2rem;
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: var(--mid);
  font-size: 0.92rem;
  line-height: 1.45;
}

.enroll-micro p {
  margin: 0;
}

.enroll-micro a {
  font-weight: 700;
  text-underline-offset: 0.16em;
}

.hero-copy .enroll-micro {
  color: var(--mid);
}

.mini-nav a.header-call {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  border-bottom: 0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
}

.mini-nav a.nav-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border-bottom: 0;
  border-radius: 999px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--lime);
}

/* The inline row is about 1482px wide, plus the 1.25rem page gutter.
   Full links, including Courses, fit from 1520px. Below that, Menu opens them. */
@media (max-width: 1519px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-brand,
  .mini-nav {
    flex: 1 1 auto;
  }

  .mini-nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1520px) {
  .header-inner {
    width: min(100% - 1.25rem, 1680px);
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .mini-nav {
    flex-wrap: nowrap;
  }

  .mini-nav-links,
  .mini-nav.is-open .mini-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    flex: 0 0 auto;
  }

  .mini-nav.is-open .mini-nav-links a,
  .mini-nav-links a {
    display: inline-flex;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: calc(0.45rem + 1.5px) 0.15rem calc(0.45rem - 1.5px);
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

.mini-nav a.nav-cta[aria-current="page"],
.mini-nav a.nav-cta[aria-current="true"] {
  box-shadow: none;
  border-bottom: 0;
  color: var(--ink);
}

.field-help {
  margin: 0.35rem 0 0;
  color: var(--mid);
  font-size: 0.82rem;
}

.included,
.pay-steps {
  margin: 0 0 1.25rem;
  padding: 0;
}

.included {
  list-style: none;
}

.included li,
.pay-steps li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--mid);
}

.pay-steps {
  padding-left: 1.2rem;
}

.pay-steps li + li,
.included li + li {
  margin-top: 0;
}

.school-box {
  margin-top: 1.4rem;
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.school-box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.policy .frame {
  margin: 0 0 1.4rem;
  max-width: 40rem;
}

.policy .frame img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.policy h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.policy h2 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1.45rem;
}

.policy p,
.policy li {
  color: var(--mid);
}

.policy ul,
.policy ol {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.policy li + li {
  margin-top: 0.4rem;
}

.footer-inner {
  width: min(100% - 1.25rem, 1180px);
  margin-inline: auto;
  display: grid;
  gap: 0.45rem;
}

.footer-tag,
.footer-fine {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.footer-nav a + a::before {
  content: "·";
  margin: 0 0.55rem;
  color: var(--mid);
  font-weight: 400;
}

.footer-reach {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

@media (max-width: 680px) {
  .footer-reach {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.15rem 1rem;
  }

  .footer-social {
    order: -1;
    width: 100%;
    justify-content: flex-end;
  }
}

.footer-reach-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.footer-social {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.footer-social a:hover {
  opacity: 0.62;
}

.footer-social svg {
  height: 1.35rem;
  width: auto;
  display: block;
  fill: currentColor;
}

.sticky-cta {
  display: none;
}

.sticky-cta-close {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

.btn.is-disabled,
.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.section {
  padding: 3.2rem 0;
  scroll-margin-top: 7.5rem;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.index-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--mid);
}

.section p.intro {
  margin: 0;
  max-width: 38rem;
  color: var(--mid);
}

.mosaic {
  display: grid;
  gap: 0.8rem;
}

.shot {
  margin: 0;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
}

.shot img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame {
  background: var(--white);
  padding: 0.45rem 0.45rem 0.7rem;
  box-shadow: 0 10px 30px rgba(26, 29, 33, 0.08);
}

.frame figcaption,
.shot figcaption {
  margin: 0.45rem 0.15rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mid);
}

.mosaic .frame-a img.fit-robot,
.mosaic .frame-b img.fit-robot {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  height: auto;
  background: #e6e7e2;
}

.mosaic .frame-c img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 42%;
}

img.fit-robot {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  background: #e6e7e2;
}

.why-copy {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.why-copy article h3 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
}

.why-copy article p {
  margin: 0;
  color: var(--mid);
}

.compare-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.why-copy .compare-jump {
  margin-top: 0.9rem;
}

.motion {
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.motion-player {
  margin: 0;
  background: #e6e7e2;
  padding: 0.45rem 0.45rem 0.7rem;
  box-shadow: 0 10px 30px rgba(26, 29, 33, 0.08);
}

.motion-player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #dfe1dc;
}

.motion-player figcaption {
  margin: 0.45rem 0.15rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mid);
}

.chapter-list {
  display: grid;
  gap: 0.65rem;
}

.chapter {
  margin: 0;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  box-shadow: 0 8px 24px rgba(26, 29, 33, 0.06);
}

button.chapter {
  display: block;
  width: 100%;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
}

.chapter strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  color: var(--ink);
}

.chapter span {
  display: block;
  margin-top: 0.2rem;
  color: var(--mid);
  font-size: 0.88rem;
}

button.chapter[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 4px 0 0 var(--lime);
}

.chapter-students {
  padding: 0.45rem 0.45rem 0.75rem;
}

.chapter-students img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 46%;
}

.chapter-students figcaption {
  margin: 0.5rem 0.2rem 0;
}

.compare-grid,
.curr-grid {
  display: grid;
  gap: 1rem;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.compare-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 40%;
}

.compare-card div {
  padding: 1rem 1rem 1.15rem;
}

.compare-card h2,
.compare-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
}

.compare-price {
  margin: 0.35rem 0 0.15rem;
  font-weight: 800;
}

.compare-meta,
.compare-card li {
  color: var(--mid);
}

.compare-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.compare-card-accent {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.compare-card-accent .compare-price {
  color: var(--lime);
}

.compare-card-accent .compare-meta,
.compare-card-accent li,
.compare-card-accent .fine {
  color: rgba(244, 245, 240, 0.78);
}

.ba {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
  --pos: 56%;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  z-index: 0;
  object-fit: cover;
  object-position: center 45%;
}

.ba-before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-tag {
  position: absolute;
  top: 0.7rem;
  z-index: 2;
  margin: 0;
  padding: 0.25rem 0.45rem;
  background: rgba(26, 29, 33, 0.8);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-tag-left {
  left: 0.7rem;
}

.ba-tag-right {
  right: 0.7rem;
}

.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--lime);
  z-index: 2;
  pointer-events: none;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 8px var(--ink);
}

.ba:focus-within .ba-handle::after {
  box-shadow: inset 0 0 0 8px var(--ink), 0 0 0 3px var(--paper);
}

.ba-note {
  margin: 0.7rem 0 0;
  color: var(--mid);
  font-size: 0.85rem;
}

.family-calc {
  display: grid;
  gap: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(26, 29, 33, 0.06);
}

.family-calc h2,
.family-calc h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
}

.family-calc .fine,
.calc-note {
  margin: 0.35rem 0 0.8rem;
  color: var(--mid);
  font-size: 0.9rem;
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.seg + .seg {
  margin-top: 0.55rem;
}

.seg button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 42px;
  padding: 0.4rem 0.9rem;
}

.seg button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.calc-readout {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.calc-readout div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}

.calc-readout dt {
  color: var(--mid);
}

.calc-readout dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.calc-readout .total dd {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 560;
  color: var(--ink);
}

.price-layout {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.price-layout .frame img {
  aspect-ratio: 4 / 5;
  height: auto;
}

.price-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 1.3rem 1.15rem 1.4rem;
}

.price-hero .kicker {
  color: var(--lime);
}

.value-was {
  margin: 0;
  color: rgba(244, 245, 240, 0.55);
  text-decoration: line-through;
}

.price-now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.price-hero .display {
  margin: 0.2rem 0;
  font-size: clamp(3.4rem, 12vw, 6rem);
  color: var(--lime);
}

.early-countdown {
  display: inline-block;
  margin: 0;
  padding: 0.28rem 0.55rem;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.early-countdown[hidden] {
  display: none;
}

.session-facts .early-countdown {
  margin-left: 0.35rem;
  vertical-align: middle;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(244, 245, 240, 0.16);
  font-size: 0.95rem;
}

.checkout-step {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.step-no {
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid rgba(244, 245, 240, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-weight: 800;
  font-size: 0.85rem;
}

.fine {
  color: var(--mid);
  font-size: 0.88rem;
}

.friend-note {
  margin-top: 0.2rem;
  color: var(--mid);
  font-size: 0.78rem;
  line-height: 1.4;
}

.price-hero .fine,
.enroll-panel .fine,
.checkout-step p {
  color: rgba(244, 245, 240, 0.75);
  font-size: 0.88rem;
}

.checkout-step a:not(.btn) {
  color: var(--lime);
}

.price-hero .enroll-micro,
.enroll-panel .enroll-micro,
.price-hero .enroll-note,
.enroll-panel .enroll-note,
.price-hero .seat-policy,
.enroll-panel .seat-policy {
  color: rgba(244, 245, 240, 0.88);
}

.waiver-more {
  margin: 0.15rem 0 0;
  max-width: 42rem;
}

.waiver-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-weight: 750;
}

.price-hero .waiver-more summary,
.enroll-panel .waiver-more summary {
  color: var(--lime);
}

.waiver-more .seat-policy {
  margin-top: 0;
}

.faq-enroll {
  margin: 1.25rem 0 0;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.6rem 0;
}

.pay-options .btn {
  width: 100%;
  text-align: center;
}

.btn-line {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 245, 240, 0.4);
}

.btn-line:hover {
  background: var(--paper);
  color: var(--ink);
}

.promo-stack {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.enroll-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.15rem 0 0.2rem;
}

.partner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.partner img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.curr-grid article {
  background: var(--white);
  border: 1px solid var(--line);
}

.curr-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 35%;
}

.curr-grid article:nth-child(3) img {
  object-position: center 42%;
}

.curr-grid article:nth-child(4) img {
  object-position: center 18%;
}

.curr-grid div {
  padding: 0.9rem 1rem 1.05rem;
}

.curr-grid h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
}

.curr-grid p,
.faq-list p {
  margin: 0;
  color: var(--mid);
}

.faq-list {
  display: grid;
  gap: 0.45rem;
  max-width: 760px;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 560;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.55rem;
}

.waitlist-grid {
  display: grid;
  gap: 1rem;
}

.waitlist-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 32% 40%;
}

.waitlist-photo figcaption {
  margin-top: 0.45rem;
  color: var(--mid);
  font-size: 0.75rem;
}

form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check input {
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--ink);
}

.check label {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
}

.optional,
.form-note,
.mailto {
  color: var(--mid);
  font-size: 0.88rem;
}

.form-note {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.mailto a {
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 0.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
  color: var(--mid);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.instructor {
  display: grid;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 10px 30px rgba(26, 29, 33, 0.06);
}

.instructor-photo {
  width: 100%;
  max-width: 16.5rem;
  height: auto;
  aspect-ratio: 8 / 7;
  object-fit: cover;
  object-position: center 18%;
  background: var(--ink);
  justify-self: start;
}

.instructor h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.instructor p {
  margin: 0 0 0.7rem;
  color: var(--mid);
  max-width: 40rem;
}

.instructor a {
  font-weight: 700;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.45rem 0;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
}

.footer-address,
.place-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin: 0.15rem 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.45;
}

.footer-address strong,
.place-address strong {
  font-weight: 800;
}

.footer-address span,
.place-address span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--mid);
}

.footer-hours {
  margin: 0;
}

.site-footer .workshop-aside {
  margin: 0.85rem 0 0.2rem;
  font-size: 0.92rem;
}

.footer-entity {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.hero-next {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--mid);
}

.hero-next a {
  font-weight: 700;
  color: var(--ink);
}

.founder-photo {
  margin: 0 0 1.2rem;
  max-width: 280px;
}

.founder-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 7;
  object-fit: cover;
  object-position: center 18%;
}

.founder-photo figcaption {
  margin: 0.4rem 0 0;
  color: var(--mid);
  font-size: 0.75rem;
}

.position-line {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.essay p,
.guide-list {
  max-width: 40rem;
}

.policy .essay-photo {
  margin: 0.2rem 0 1.2rem;
  max-width: 40rem;
}

.policy .essay-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.policy .essay-photo.portrait {
  max-width: 18rem;
}

.policy .essay-photo figcaption {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
}

.guide-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.guide-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.guide-list a {
  font-weight: 700;
}

.guide-list p {
  margin: 0.25rem 0 0;
}

/* Blog index: thumb left, copy right. Borders stay on .guide-list li. */
.guide-list-thumbs {
  margin: 1.5rem 0;
  display: grid;
  gap: 0;
}

.guide-list-thumbs > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.guide-list-thumbs .guide-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.guide-list-thumbs .guide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 560px) {
  .guide-list-thumbs > li {
    grid-template-columns: 88px 1fr;
  }
}

.seat-left {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

#enroll,
#weekends,
#notify,
#faq {
  scroll-margin-top: 6.5rem;
}

.weekend-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.weekend-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.05rem;
}

.weekend-card-main {
  display: grid;
  gap: 0.2rem;
}

.weekend-card .kicker {
  margin: 0;
}

.weekend-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.status-chip {
  display: inline-block;
  width: fit-content;
  margin: 0.25rem 0 0;
  padding: 0.28rem 0.55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.status-chip.is-confirmed {
  background: var(--lime);
  border-color: var(--lime);
}

.weekend-seats {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.weekend-card .fine {
  margin: 0;
}

.weekend-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.weekend-card-compact {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
}

.weekend-card-compact .weekend-card-main {
  flex: 1 1 16rem;
}

.weekend-card-compact .weekend-actions {
  margin-top: 0;
  padding-top: 0;
}

.weekend-card.is-later {
  opacity: 0.78;
  border-style: dashed;
  padding: 0.7rem 0.8rem 0.75rem;
}

.weekend-card.is-later h3 {
  font-size: 1.2rem;
}

.weekend-card.is-later .weekend-actions .btn {
  min-height: 44px;
}

.weekend-policy {
  margin: 0.15rem 0 1.25rem;
  max-width: 42rem;
  color: var(--mid);
}

.course-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.1rem;
}

.next-event {
  display: flex;
  flex-direction: column;
}

.next-event .kicker {
  order: -1;
  margin-bottom: 0.35rem;
}

.course-card h2,
.course-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.course-card h2 {
  font-size: 1.7rem;
}

.course-card p {
  margin: 0 0 0.7rem;
  max-width: 40rem;
}

.course-card .compare-jump {
  margin-top: 0.35rem;
}

.course-card .course-photo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 0 0.9rem;
}

.course-card .course-photo-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.level-ladder {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.level-ladder li {
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}

.level-ladder li:last-child {
  border-bottom: 1px solid var(--line);
}

.level-ladder strong {
  display: block;
  font-weight: 750;
}

.track-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  align-items: stretch;
}

.track-cards .course-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-cards .level-ladder {
  max-width: none;
  margin-top: auto;
}

.track-cards .path-kicker {
  margin: 0 0 0.35rem;
}

.track-cards h3 {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.2rem;
}

@media (min-width: 720px) {
  .track-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .weekend-list:not(.weekend-list-compact) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.session-facts {
  display: grid;
  gap: 0;
  margin: 0 0 1.25rem;
}

.session-facts div {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.session-facts dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.session-facts dd {
  margin: 0;
  font-weight: 650;
}

.enroll-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 1.3rem 1.15rem 1.4rem;
  margin: 0 0 1.25rem;
}

.enroll-panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.enroll-panel p,
.enroll-panel li {
  color: rgba(244, 245, 240, 0.82);
}

.enroll-panel a:not(.btn) {
  color: var(--lime);
}

.enroll-panel .btn-primary.is-disabled {
  background: var(--lime);
  color: var(--ink);
}

.youth-points {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.youth-points li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  color: var(--mid);
}

.youth-points strong {
  color: var(--ink);
}

.thanks {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: 3rem 0 4rem;
}

.thanks h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.thanks ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  max-width: 36rem;
  color: var(--mid);
}

.thanks li + li {
  margin-top: 0.45rem;
}

.ba input[type="range"] {
  touch-action: pan-y;
}

@media (max-width: 640px) {
  .sticky-cta:not([hidden]):not(.is-tucked) {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 0.45rem;
    align-items: center;
    padding: 0.5rem 0.7rem calc(0.5rem + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .sticky-cta .btn {
    flex: 1 1 auto;
  }

  body.has-sticky-cta {
    padding-bottom: 4.75rem;
  }
}

@media print {
  .sticky-cta,
  .mini-nav,
  .site-header,
  .skip-link,
  .urgency-banner,
  .search-dialog,
  .search-open,
  .hero-welcome {
    display: none !important;
  }

  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

@media (min-width: 720px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .header-brand {
    justify-content: flex-start;
    flex: 0 0 auto;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.75rem;
    margin-top: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  }

  .mosaic {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    align-items: start;
  }

  .frame-a {
    grid-row: 1 / span 2;
  }

  .frame-b {
    margin-top: 14%;
    margin-left: -22%;
    position: relative;
    z-index: 2;
  }

  .frame-c {
    margin-left: -4%;
    margin-top: -16%;
    position: relative;
    z-index: 3;
  }

  .why-copy {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.5rem;
  }

  .compare-grid,
  .curr-grid,
  .price-layout,
  .family-calc,
  .partner,
  .waitlist-grid {
    grid-template-columns: 1fr 1fr;
  }

  .instructor {
    grid-template-columns: 16.5rem minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
  }

  .ba {
    aspect-ratio: 16 / 8;
  }

  .motion {
    grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .motion-player video {
    transform: none;
  }
}

.frame img.fit-robot,
.partner img.fit-robot,
.compare-card img.fit-robot,
.curr-grid img.fit-robot,
.price-layout .frame img.fit-robot,
.mosaic .frame-a img.fit-robot,
.mosaic .frame-b img.fit-robot {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  background: #e6e7e2;
}

/* "Not another coding camp" only: three equal cards across the section, lined up with the header. */
#why .mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0.85rem 0 0;
}

#why .mosaic .frame,
#why .mosaic .frame-a,
#why .mosaic .frame-b,
#why .mosaic .frame-c {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  grid-column: auto;
  margin: 0;
  position: static;
  z-index: auto;
  min-width: 0;
  height: auto;
}

#why .mosaic .frame img,
#why .mosaic .frame-a img.fit-robot,
#why .mosaic .frame-b img.fit-robot,
#why .mosaic .frame-c img {
  display: block;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 58%;
  background: #e6e7e2;
}

#why .mosaic .frame-c img {
  object-position: center 30%;
}

#why .mosaic .frame img,
#why .mosaic img.pose-full,
#why .mosaic img.fit-robot {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 46%;
  height: auto;
  background: #e6e7e2;
}

#why .mosaic .frame-b img {
  object-position: center 62%;
}

#why .mosaic .frame-c img {
  object-fit: cover;
  object-position: center 32%;
}

.curr-grid img,
.curr-grid img.fit-robot,
.curr-grid img.pose-full {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 40%;
  height: auto;
  background: #e6e7e2;
}

.curr-grid article:nth-child(3) img {
  object-position: center 42%;
}

.curr-grid article:nth-child(4) img {
  object-position: center 18%;
}

.compare-card img,
.compare-card img.fit-robot {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 40%;
  height: auto;
  background: #e6e7e2;
}

.waitlist-photo img,
.waitlist-photo img.pose-full {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 58%;
  height: auto;
  background: #e6e7e2;
}

.partner img,
.partner img.fit-robot,
.partner img.pose-full {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 46%;
  height: auto;
  background: #e6e7e2;
}

.course-card .course-photo-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

#why .mosaic figcaption,
.frame figcaption,
.motion-player figcaption,
.waitlist-photo figcaption,
.chapter-students figcaption {
  flex: 0 0 auto;
  margin: 0.55rem 0.15rem 0;
  line-height: 1.35;
}

@media (max-width: 640px) {
  #why .mosaic {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: none;
  }

  #why .mosaic figcaption {
    font-size: 0.92rem;
  }
}

/* Search deep-links land below the sticky banner and header. */
main h1[id],
main h2[id],
main h3[id],
main details[id],
main dt[id] {
  scroll-margin-top: 7.5rem;
}

#weekends,
#pay-card {
  scroll-margin-top: 16rem;
}

@media (min-width: 720px) {
  #weekends,
  #pay-card {
    scroll-margin-top: 8.5rem;
  }
}

@media (max-width: 720px) {
  .mini-nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 0.55rem;
  }

  .mini-nav a.header-call {
    font-size: 0.68rem;
    padding-inline: 0.15rem;
  }

  .search-open {
    min-height: 44px;
  }
}

/* Full-bleed background video, limited to the home hero.
   The mount stays hidden until site.js sets .has-welcome-video. */
.hero-welcome[hidden] {
  display: none !important;
}

.hero.has-welcome-video {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100svh - var(--hero-stack, 8.75rem));
  min-height: calc(100dvh - var(--hero-stack, 8.75rem));
  overflow: hidden;
  background: var(--ink);
  padding: 2.25rem 0;
}

.hero.has-welcome-video .hero-welcome {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero.has-welcome-video .hero-welcome-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: var(--ink);
}

.hero.has-welcome-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 29, 33, 0.94) 0%, rgba(26, 29, 33, 0.9) 42%, rgba(26, 29, 33, 0.78) 100%);
}

.hero.has-welcome-video .hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 42rem);
  margin: 0 auto 0 max(1.25rem, calc((100% - 1180px) / 2));
  padding: 0;
  color: var(--paper);
  pointer-events: none;
}

.hero.has-welcome-video .hero-copy a,
.hero.has-welcome-video .hero-copy button {
  pointer-events: auto;
}

.hero.has-welcome-video .hero-copy :focus-visible {
  outline-color: var(--lime);
}

.hero.has-welcome-video .hero-copy h1 {
  max-width: 16ch;
  color: var(--paper);
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
}

.hero.has-welcome-video .path-card {
  background: rgba(20, 22, 26, 0.88);
  border-color: rgba(244, 245, 240, 0.32);
  color: var(--paper);
}

.hero.has-welcome-video .path-kicker {
  color: var(--lime);
}

.hero.has-welcome-video .path-card h2,
.hero.has-welcome-video .path-price {
  color: var(--paper);
}

.hero.has-welcome-video .path-machine {
  color: rgba(244, 245, 240, 0.88);
}

.hero.has-welcome-video .path-more {
  color: var(--lime);
}

.hero.has-welcome-video .hero-copy .position-line {
  color: var(--paper);
}

.hero.has-welcome-video .hero-copy .kicker {
  color: var(--lime);
}

.video-footnote {
  display: none;
  margin: 0 0 1.15rem;
  max-width: 38rem;
  font-size: 0.78rem;
  font-weight: 450;
  line-height: 1.45;
  color: var(--mid);
}

.hero.has-welcome-video ~ #why .video-footnote {
  display: block;
}

.hero.has-welcome-video .hero-copy .lede,
.hero.has-welcome-video .hero-copy .enroll-note,
.hero.has-welcome-video .hero-copy .hero-next {
  color: var(--paper);
}

.hero.has-welcome-video .hero-copy .hero-next a {
  color: var(--lime);
}

.hero.has-welcome-video .hero-copy .btn-secondary {
  color: var(--paper);
  border-color: rgba(244, 245, 240, 0.75);
  background: transparent;
}

.hero.has-welcome-video .hero-copy .btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero.has-welcome-video .hero-media {
  display: none;
}

@media print {
  .hero.has-welcome-video {
    display: block;
    min-height: 0;
    overflow: visible;
    background: transparent;
    padding: 0;
  }

  .hero.has-welcome-video::before {
    content: none;
  }

  .hero.has-welcome-video .hero-media {
    display: flex;
  }

  .hero.has-welcome-video .hero-copy,
  .hero.has-welcome-video .hero-copy h1,
  .hero.has-welcome-video .hero-copy .position-line,
  .hero.has-welcome-video .hero-copy .lede,
  .hero.has-welcome-video .hero-copy .enroll-note,
  .hero.has-welcome-video .hero-copy .hero-next,
  .hero.has-welcome-video .hero-copy .kicker,
  .hero.has-welcome-video .hero-copy .hero-next a,
  .hero.has-welcome-video .path-card,
  .hero.has-welcome-video .path-card h2,
  .hero.has-welcome-video .path-price,
  .hero.has-welcome-video .path-machine {
    color: var(--ink);
  }

  .hero.has-welcome-video .path-card {
    background: var(--white);
    border-color: var(--line);
  }

  .hero.has-welcome-video .path-kicker,
  .hero.has-welcome-video .path-more {
    color: var(--ink);
  }
}

@media (max-width: 640px) {
  .hero.has-welcome-video::before {
    background: rgba(26, 29, 33, 0.9);
  }

  .hero.has-welcome-video {
    align-items: flex-start;
    padding-top: 0.6rem;
    padding-bottom: 1rem;
  }

  .hero.has-welcome-video .hero-copy .kicker {
    margin-bottom: 0.28rem;
  }

  .hero.has-welcome-video .hero-copy h1 {
    max-width: none;
    margin-bottom: 0.7rem;
    font-size: 1.85rem;
  }

  .hero.has-welcome-video .path-card {
    padding: 0.8rem 0.8rem 0.9rem;
  }

  .hero.has-welcome-video .path-card h2 {
    font-size: 1.3rem;
  }

  .hero.has-welcome-video .path-card p {
    font-size: 0.92rem;
  }

  .hero.has-welcome-video .hero-copy .position-line {
    margin-bottom: 0.28rem;
    font-size: 1.02rem;
  }

  .hero.has-welcome-video .hero-copy .lede {
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
  }

  .hero.has-welcome-video .hero-copy .enroll-note {
    margin-top: 0.28rem;
    font-size: 0.84rem;
  }

  .hero.has-welcome-video .hero-copy .hero-next {
    margin-top: 0.22rem;
  }
}

html.search-locked,
html.search-locked body,
html.email-gate-locked,
html.email-gate-locked body {
  overflow: hidden;
}

.search-dialog {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem 0.75rem;
  background: rgba(26, 29, 33, 0.46);
}

.search-dialog[hidden] {
  display: none !important;
}

.search-panel {
  width: min(100%, 40rem);
  max-height: min(86vh, 38rem);
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 18px 50px rgba(26, 29, 33, 0.18);
  padding: 0.95rem 1rem 1.1rem;
}

.search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.search-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.search-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.search-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.search-form {
  margin: 0.8rem 0 0;
}

.search-input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  padding: 0.65rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

.search-status {
  margin: 0.75rem 0 0;
  color: var(--mid);
  font-size: 0.92rem;
}

.search-results {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
}

.search-hit {
  display: block;
  padding: 0.75rem 0.15rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  border-radius: 0.35rem;
}

.search-hit-page {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.search-hit-section {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.search-hit-snippet {
  display: block;
  margin-top: 0.3rem;
  color: var(--mid);
  font-size: 0.92rem;
  line-height: 1.45;
}

.search-hit mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 0.15em;
}

.search-hit:hover .search-hit-section,
.search-hit:focus-visible .search-hit-section {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.email-gate {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(26, 29, 33, 0.46);
  overflow: auto;
}

.email-gate[hidden] {
  display: none !important;
}

.email-gate-panel {
  width: min(100%, 28rem);
  margin-top: 0.25rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 18px 50px rgba(26, 29, 33, 0.18);
  padding: 0.95rem 1rem 1.1rem;
}

.email-gate-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.email-gate-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.email-gate-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.email-gate-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.email-gate-lead {
  margin: 0.75rem 0 0;
  color: var(--mid);
  font-size: 0.95rem;
}

.email-gate form {
  margin-top: 0.9rem;
  background: transparent;
  border: 0;
  padding: 0;
}

.email-gate .btn {
  width: 100%;
}
