/* ---- PROGRAMS (2026-11-09) ----
   The four paid programs: Scout, Circle, Torch, Bridge. Shared shell for the
   four pages plus the "Four ways in" section on the homepage. Same ink
   outline + hard blue shadow as the homepage speech bubbles. */
:root { --ink: var(--text-primary); --flame: #FF6A1A; }

/* Homepage section */
.progs { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(40px, 6vw, 90px); }
.progs__kicker, .prog-kicker {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(13px, 1.1vw, 16px);
    letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.progs__title {
    margin-top: 14px; font-family: var(--font-display); font-weight: 700; color: var(--ink);
    font-size: clamp(40px, 7vw, 112px); line-height: .96; letter-spacing: -.045em;
}
.progs__title em, .prog-hero h1 em, .prog-big em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 50%, #7EB3FF 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.progs__grid {
    margin-top: clamp(40px, 5vw, 70px);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px);
}
.prog-card {
    position: relative; display: flex; flex-direction: column; gap: 14px;
    padding: 28px 26px 26px; min-height: 340px;
    background: var(--bg-white); color: var(--ink); text-decoration: none;
    border: 4px solid var(--ink); border-radius: 28px;
    box-shadow: 8px 8px 0 var(--accent);
    transition: transform .18s ease, box-shadow .18s ease;
}
.prog-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--accent); }
.prog-card:nth-child(odd)  { rotate: -1deg; }
.prog-card:nth-child(even) { rotate: 1deg; }
.prog-card svg { width: 64px; height: 64px; }
.prog-card__name {
    margin-top: 6px; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(34px, 3vw, 46px); letter-spacing: -.04em; line-height: 1;
}
.prog-card__line { font-size: 18px; line-height: 1.35; font-weight: 600; }
.prog-card__who { margin-top: auto; padding-right: 34px; font-size: 14px; color: var(--text-muted); }
.prog-card__go {
    position: absolute; right: 22px; bottom: 22px; font-size: 22px; font-weight: 700; color: var(--accent);
    transition: transform .18s ease;
}
.prog-card:hover .prog-card__go { transform: translateX(4px); }

/* Glyph strokes */
.g { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-a { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.g-f { fill: var(--accent); stroke: none; }
.g-fl { fill: var(--flame); stroke: none; }

/* Program page shell */
.prog-page .nav { position: relative; }
.prog-hero { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(30px, 5vw, 70px); }
.prog-hero h1 {
    margin-top: 12px; font-family: var(--font-display); font-weight: 700; color: var(--ink);
    font-size: clamp(64px, 15vw, 240px); line-height: .86; letter-spacing: -.06em;
}
.prog-hero__line {
    margin-top: 26px; max-width: 22em; font-family: var(--font-display); font-weight: 600; color: var(--ink);
    font-size: clamp(22px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.02em;
}
.prog-hero__who { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: var(--text-muted); }

.prog-sec { padding-top: clamp(50px, 7vw, 110px); padding-bottom: clamp(30px, 4vw, 60px); }
.prog-big {
    font-family: var(--font-display); font-weight: 700; color: var(--ink);
    font-size: clamp(30px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -.04em; max-width: 16em;
}
.prog-rules { margin-top: 34px; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.prog-rules li {
    list-style: none; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline;
    padding: 20px 0; border-bottom: 1px solid var(--border);
    font-size: clamp(18px, 1.7vw, 23px); line-height: 1.4;
}
.prog-rules li b { font-family: var(--font-display); font-size: 15px; letter-spacing: .1em; color: var(--accent); }

.prog-cta { padding: clamp(70px, 9vw, 130px) 0; text-align: center; }
.prog-cta h2 {
    font-family: var(--font-display); font-weight: 700; color: var(--ink);
    font-size: clamp(36px, 6vw, 92px); line-height: 1; letter-spacing: -.045em;
}
.prog-cta h2 em { font-style: normal; }
.prog-cta .btn-primary { margin-top: 34px; font-size: clamp(17px, 1.5vw, 21px); padding: 20px 44px; }

.prog-others { padding-bottom: 60px; }
.prog-others__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.prog-others a {
    padding: 10px 20px; border: 3px solid var(--ink); border-radius: 999px; background: var(--bg-white);
    font-family: var(--font-display); font-weight: 700; color: var(--ink); text-decoration: none;
    box-shadow: 4px 4px 0 var(--accent); transition: transform .15s ease;
}
.prog-others a:hover { transform: translate(-2px, -2px); }
.prog-others a[aria-current] { background: var(--ink); color: #fff; }

/* SCOUT: the year at a glance */
.scout-year {
    margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px;
}
.scout-m {
    display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 14px 10px;
    background: var(--bg-white); border: 3px solid var(--ink); border-radius: 16px;
}
.scout-m__n { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.scout-chip {
    display: block; padding: 6px 8px; border-radius: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.2;
    background: var(--tag-bg); color: var(--tag-text);
}
.scout-chip--call { background: var(--accent); color: #fff; }
.scout-any {
    margin-top: 12px; padding: 16px 20px; border: 3px dashed var(--ink); border-radius: 16px;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); text-align: center;
}
.scout-steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scout-step { padding: 26px; border-top: 4px solid var(--ink); }
.scout-step b { display: block; font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--accent); }
.scout-step h3 { margin-top: 12px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.scout-step p { margin-top: 8px; color: var(--text-muted); font-size: 17px; line-height: 1.45; }

/* CIRCLE: the ring */
.circle-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.circle-ring { width: 100%; max-width: 560px; justify-self: center; }
.circle-ring .seat { fill: var(--bg-white); stroke: var(--ink); stroke-width: 1.6; }
.circle-ring .founder { fill: var(--bg-white); stroke: var(--ink); stroke-width: 4; }
.circle-ring text { font-family: var(--font-display); font-weight: 700; fill: var(--ink); }
.circle-ring .ring-label { font-size: 15px; letter-spacing: .12em; fill: var(--text-muted); }
.circle-ring .pulse { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .5;
    transform-origin: 300px 300px; animation: ring-pulse 3.2s ease-out infinite; }
@keyframes ring-pulse { from { transform: scale(.55); opacity: .55; } to { transform: scale(1); opacity: 0; } }

/* TORCH: the route */
.torch-route { position: relative; margin-top: 40px; padding-left: 70px; }
.torch-route::before {
    content: ""; position: absolute; left: 26px; top: 10px; bottom: 10px; width: 0;
    border-left: 4px dashed var(--ink);
}
.torch-stop { position: relative; padding: 4px 0 46px; }
.torch-stop:last-child { padding-bottom: 0; }
.torch-stop::before {
    content: ""; position: absolute; left: -56px; top: 6px; width: 26px; height: 26px;
    background: var(--bg-white); border: 4px solid var(--ink); border-radius: 50%;
}
.torch-stop.is-lit::before { background: var(--flame); border-color: var(--flame); box-shadow: 0 0 0 8px rgba(255,106,26,.18); }
.torch-stop b { font-family: var(--font-display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.torch-stop h3 { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.035em; line-height: 1.02; }
.torch-stop p { margin-top: 8px; max-width: 34em; color: var(--text-muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; }
.torch-flame { width: 72px; height: 96px; animation: flicker 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flicker { from { transform: scale(1) rotate(-2deg); } to { transform: scale(1.06, .97) rotate(2deg); } }
.torch-ways { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.torch-way {
    padding: 28px; background: var(--bg-white); border: 4px solid var(--ink); border-radius: 24px;
    box-shadow: 8px 8px 0 var(--flame);
}
.torch-way h3 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.torch-way p { margin-top: 8px; font-size: 18px; line-height: 1.45; color: var(--text-muted); }

/* BRIDGE: the crossing */
.bridge-x { margin-top: 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; }
.bridge-bank {
    display: flex; align-items: center; justify-content: center; padding: 20px 22px;
    background: var(--ink); color: #fff; border-radius: 22px;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); text-align: center; line-height: 1.15;
}
.bridge-bank--far { background: var(--accent); }
.bridge-planks { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 0 10px; }
.bridge-planks::before, .bridge-planks::after {
    content: ""; position: absolute; left: 0; right: 0; height: 4px; background: var(--ink);
}
.bridge-planks::before { top: 0; }
.bridge-planks::after { bottom: 0; }
.bridge-plank {
    margin: 14px 0; padding: 16px 10px; min-height: 150px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: var(--bg-white); border: 3px solid var(--ink); border-radius: 12px;
}
.bridge-plank b { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--accent); }
.bridge-plank span { font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.2; }
.bridge-facts { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bridge-fact { padding: 24px; border: 3px solid var(--ink); border-radius: 22px; background: var(--bg-white); }
.bridge-fact b { display: block; font-family: var(--font-display); font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.bridge-fact p { margin-top: 10px; font-size: 17px; line-height: 1.45; }

@media (max-width: 1024px) {
    .progs__grid { grid-template-columns: repeat(2, 1fr); }
    .scout-year { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .progs__grid { grid-template-columns: 1fr; }
    .prog-card { min-height: 0; border-width: 3px; box-shadow: 6px 6px 0 var(--accent); }
    .scout-year { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .scout-m { min-height: 0; }
    .scout-steps, .torch-ways, .bridge-facts { grid-template-columns: 1fr; }
    .circle-wrap { grid-template-columns: 1fr; }
    .prog-rules li { grid-template-columns: 44px 1fr; }
    .bridge-x { grid-template-columns: 1fr; }
    .bridge-planks { grid-template-columns: 1fr; padding: 10px 0; gap: 0; }
    .bridge-planks::before, .bridge-planks::after { left: 22px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
    .bridge-planks::after { left: auto; right: 22px; }
    .bridge-plank { margin: 5px 36px; min-height: 0; flex-direction: row; align-items: center; gap: 14px; justify-content: flex-start; }
    .torch-route { padding-left: 54px; }
    .torch-route::before { left: 18px; }
    .torch-stop::before { left: -48px; }
}
@media (prefers-reduced-motion: reduce) {
    .torch-flame, .circle-ring .pulse { animation: none; }
}
