/* PTI homepage, November 2026. Scoped to .h26 so no other page is affected. */
.h26 {
  --ink: #0b1730; --navy: #0b2451; --blue: #0b63ce; --blue-deep: #084ea4; --cyan: #12a8c4; --gold: #b97a05;
  --paper: #ffffff; --wash: #f3f6fb; --line: #d5e0ed; --muted: #4b5b72;
  --t-hero: clamp(2.5rem, 1.35rem + 4.3vw, 4.5rem);
  --t-h2: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  --t-lede: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --gap-section: clamp(4rem, 2.5rem + 5vw, 7.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color: var(--ink);
}
.h26 h1, .h26 h2, .h26 h3, .h26 p { margin: 0; }
.h26 h1, .h26 h2 { letter-spacing: -.035em; line-height: 1.04; font-weight: 700; text-wrap: balance; }
.h26 h2 { font-size: var(--t-h2); }
.h26 p { text-wrap: pretty; }
.h26 a { text-underline-offset: .2em; }
.h26 :focus-visible { outline: 3px solid #bc7900; outline-offset: 3px; border-radius: 6px; }
.h26 .wrap { width: min(calc(100% - 2.5rem), 1180px); margin-inline: auto; }

/* ---------- hero ---------- */
.h26 .hero26 { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--wash) 100%); border-bottom: 1px solid var(--line); }
.h26 .hero26::before { /* a wafer's die grid, drawn faintly behind the page */
  content: ""; position: absolute; right: -14vw; top: -18vw; width: 78vw; aspect-ratio: 1; border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, rgba(11,99,206,.075) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(11,99,206,.075) 0 1px, transparent 1px 44px);
  border: 1px solid rgba(11,99,206,.16); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 60%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 0 60%, transparent 71%);
}
.h26 .hero26__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.h26 .hero26 h1 { font-size: var(--t-hero); color: var(--navy); }
.h26 .hero26__lede { margin-top: 1.5rem; max-width: 34rem; font-size: var(--t-lede); line-height: 1.6; color: var(--muted); }
.h26 .hero26__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.h26 .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.35rem; border-radius: 12px; border: 1px solid transparent; font-weight: 650; font-size: 1rem; text-decoration: none; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s; }
.h26 .btn:active { transform: scale(.97); }
.h26 .btn--solid { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(11,99,206,.75); }
.h26 .btn--solid:hover { background: var(--blue-deep); transform: translateY(-1px); }
.h26 .btn--line { background: var(--paper); color: var(--navy); border-color: #b9c8da; }
.h26 .btn--line:hover { border-color: var(--navy); transform: translateY(-1px); }
.h26 .btn--onnavy { background: #fff; color: var(--navy); }
.h26 .btn--onnavy:hover { background: #e6effa; transform: translateY(-1px); }
.h26 .facts26 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); max-width: 34rem; }
.h26 .facts26 div { display: grid; gap: .15rem; }
.h26 .facts26 dt { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.h26 .facts26 dd { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--muted); }

/* ---------- course finder ---------- */
.h26 .finder { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 1px 2px rgba(11,23,48,.05), 0 28px 60px -28px rgba(8,35,78,.35); overflow: hidden; }
.h26 .finder__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.5rem 1.1rem; border-bottom: 1px solid var(--line); }
.h26 .finder__head h2 { font-size: 1.125rem; letter-spacing: -.015em; line-height: 1.3; }
.h26 .finder__head p { margin-top: .2rem; font-size: .875rem; color: var(--muted); }
.h26 .wafer { flex: none; width: 76px; height: 76px; }
.h26 .wafer circle { fill: #f7fafe; stroke: #9fb4cd; stroke-width: 1.2; }
.h26 .wafer rect { fill: #dfe8f3; transition: fill .35s var(--ease); }
.h26 .wafer rect.on { fill: var(--blue); }
.h26 .wafer rect.now { fill: var(--cyan); }
.h26 .finder__body { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); min-height: 23.5rem; }
.h26 .stages { display: grid; align-content: start; gap: 2px; margin: 0; padding: .6rem; list-style: none; background: var(--wash); border-right: 1px solid var(--line); }
.h26 .stages button { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 40px; padding: .4rem .7rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: .925rem; font-weight: 550; text-align: left; cursor: pointer; transition: background-color .15s, color .15s; }
.h26 .stages button::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: #b8c7d9; transition: background-color .15s, transform .18s var(--ease); }
.h26 .stages button:hover { background: #e4ecf6; }
.h26 .stages button[aria-selected="true"] { background: var(--navy); color: #fff; }
.h26 .stages button[aria-selected="true"]::before { background: var(--cyan); transform: scale(1.25); }
.h26 .panel { padding: 1.3rem 1.5rem 1.5rem; }
.h26 .panel h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; color: var(--navy); }
.h26 .panel > p { margin-top: .4rem; font-size: .925rem; line-height: 1.5; color: var(--muted); }
.h26 .panel ul { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.h26 .panel li { border-bottom: 1px solid var(--line); }
.h26 .panel li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: .65rem .1rem; color: var(--ink); font-weight: 600; font-size: .96rem; line-height: 1.35; text-decoration: none; }
.h26 .panel li a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); transition: transform .18s var(--ease); }
.h26 .panel li a:hover { color: var(--blue-deep); }
.h26 .panel li a:hover::after { transform: translateX(3px) rotate(45deg); }
.h26 .panel__all { display: inline-flex; align-items: center; min-height: 44px; margin-top: .4rem; font-size: .925rem; font-weight: 600; color: var(--blue-deep); }
.h26.js .panel[hidden] { display: none; }
.h26:not(.js) .stages { display: none; }
.h26:not(.js) .panel[hidden] { display: block; }
.h26:not(.js) .panel + .panel { border-top: 1px solid var(--line); }
.h26:not(.js) .panel__all { display: none; }
.h26:not(.js) .panel:last-child .panel__all { display: inline-block; }
.h26:not(.js) .finder__body { display: block; }
.h26.js .panel:not([hidden]) { animation: h26in .3s var(--ease); }
@keyframes h26in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- scheduled courses ---------- */
.h26 .sec { padding-block: var(--gap-section); }
.h26 .sched { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.h26 .sched__intro { position: sticky; top: 6.5rem; }
.h26 .sched__intro p { margin-top: 1.1rem; max-width: 26rem; color: var(--muted); font-size: 1.05rem; }
.h26 .sched__intro .btn { margin-top: 1.75rem; }
.h26 .rows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.h26 .rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.h26 .rows .title { display: flex; align-items: center; min-height: 44px; font-size: 1.08rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.h26 .rows .title:hover { color: var(--blue-deep); text-decoration: underline; }
.h26 .rows .lead .title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.025em; color: var(--navy); }
.h26 .rows p { grid-column: 1; max-width: 36rem; color: var(--muted); font-size: .96rem; }
.h26 .rows .dates { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .95rem; border: 1px solid #b9c8da; border-radius: 999px; font-size: .875rem; font-weight: 650; color: var(--navy); text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.h26 .rows .dates:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- onsite ---------- */
.h26 .onsite { background: var(--navy); color: #fff; }
.h26 .onsite__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.h26 .onsite h2 { color: #fff; }
.h26 .onsite p { margin-top: 1.2rem; color: #c9d8ec; font-size: 1.05rem; max-width: 34rem; }
.h26 .ticks { margin: 1.6rem 0 0; padding: 0; list-style: none; display: grid; gap: .8rem; max-width: 34rem; }
.h26 .ticks li { position: relative; padding-left: 1.9rem; color: #eaf1fb; line-height: 1.45; }
.h26 .ticks li::before { content: ""; position: absolute; left: .1rem; top: .28em; width: 14px; height: 8px; border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg); }
.h26 .onsite .hero26__actions { margin-top: 2.2rem; }
.h26 .onsite__media { position: relative; }
.h26 .onsite__media img { width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 20px; outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.h26 .onsite__note { position: absolute; left: 1rem; bottom: 1rem; max-width: 17rem; padding: .85rem 1rem; border-radius: 12px; background: rgba(7,22,46,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .9rem; line-height: 1.4; color: #dbe7f6; }
.h26 .onsite__note strong { display: block; color: #fff; }

/* ---------- book ---------- */
.h26 .book { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.h26 .book__cover { width: 100%; max-width: 20rem; height: auto; justify-self: center; filter: drop-shadow(0 30px 34px rgba(8,35,78,.28)); }
.h26 .book__copy > p { margin-top: 1.1rem; max-width: 38rem; color: var(--muted); font-size: 1.05rem; }
.h26 .book__copy .formats { font-size: .95rem; }
.h26 .pull { margin: 2.2rem 0 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--gold); max-width: 40rem; }
.h26 .pull blockquote { margin: 0; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--navy); text-wrap: balance; }
.h26 .pull figcaption { margin-top: .9rem; font-size: .95rem; color: var(--muted); }
.h26 .pull figcaption strong { color: var(--ink); }
.h26 .book__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.2rem; }
.h26 .founder { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.h26 .founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; }
.h26 .founder span { display: grid; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.h26 .founder strong { color: var(--ink); font-size: 1rem; }
.h26 .founder:hover strong { color: var(--blue-deep); text-decoration: underline; }
.h26 .wash { background: var(--wash); border-block: 1px solid var(--line); }

/* ---------- glossary and closing ---------- */
.h26 .gloss { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.h26 .gloss p { margin-top: .8rem; color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.h26 .close26 { background: #07162e; color: #fff; text-align: left; }
.h26 .close26__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; }
.h26 .close26 h2 { color: #fff; max-width: 18ch; }
.h26 .close26 p { margin-top: 1rem; color: #b9cbe2; max-width: 36rem; font-size: 1.05rem; }
.h26 .close26 .hero26__actions { margin-top: 0; }
.h26 .fineprint { margin-top: 3rem !important; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem !important; color: #8fa5c2 !important; max-width: none !important; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .h26 .hero26__grid, .h26 .sched, .h26 .onsite__grid, .h26 .book, .h26 .gloss, .h26 .close26__grid { grid-template-columns: minmax(0, 1fr); }
  .h26 .sched__intro { position: static; }
  .h26 .onsite__media { order: 2; }
  .h26 .book__cover { max-width: 14rem; justify-self: start; }
  .h26 .hero26::before { width: 130vw; right: -55vw; top: -30vw; }
}
@media (max-width: 640px) {
  .h26 .wrap { width: calc(100% - 2rem); }
  .h26 .finder__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .h26 .stages { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem .8rem; border-right: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .h26 .stages li { flex: none; scroll-snap-align: start; }
  .h26 .stages button { min-height: 44px; white-space: nowrap; background: var(--paper); border: 1px solid var(--line); }
  .h26 .stages button[aria-selected="true"] { border-color: var(--navy); }
  .h26 .panel { padding: 1.1rem 1.1rem 1.3rem; }
  .h26 .finder__head { padding: 1.1rem; }
  .h26 .wafer { width: 60px; height: 60px; }
  .h26 .facts26 { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .h26 .facts26 div { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; }
  .h26 .rows li { grid-template-columns: minmax(0, 1fr); }
  .h26 .rows .dates { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .35rem; }
  .h26 .btn { width: 100%; }
  .h26 .onsite__note { position: static; max-width: none; margin-top: .75rem; background: rgba(255,255,255,.08); }
}
@media (prefers-reduced-motion: reduce) {
  .h26 *, .h26 *::before, .h26 *::after { animation: none !important; transition: none !important; }
}
