/* ==========================================================================
   The Rec — preview-schools enhancements
   Additive override layer. Loads AFTER css/site.css.
   Nothing here changes the live site; it only refines the preview page.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. LOGO
   The supplied emblem is black-heavy artwork with a wordmark beneath it.
   At 64px on a dark hero the wordmark is unreadable and the mark disappears.
   Fix: use an emblem-only crop on a light plate, at a size you can actually read. */

.site-header .brand__mark--full,
.site-footer .brand__mark--full{
  width:auto;
  max-width:none;      /* the global img{max-width:100%} collapsed this inside its flex parent */
  height:64px;
  padding:5px 8px;
  background:linear-gradient(180deg,#FFFDF8 0%,#F2E8D8 100%);
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.55) inset;
  filter:none;
  object-fit:contain;
}
.site-header .brand__mark--full{height:64px}
.mobile-menu .brand__mark--full{
  width:auto;height:64px;padding:0;background:none;box-shadow:none;filter:none;border-radius:0;
}
.site-header.is-scrolled .brand__mark--full{
  box-shadow:0 4px 14px rgba(23,19,16,.16),0 0 0 1px rgba(23,19,16,.06) inset;
}

/* "In partnership with" strip removed at the owner's request —
   the full partner list already lives in the Partners section below.
   Hidden rather than deleted so it can be restored in one line. */
.trust{display:none !important}

/* ------------------------------------------------------- 2. PILLAR CARDS
   The scrim never rendered: each card fed a whole gradient into the colour
   slot of another gradient, which is invalid CSS, so browsers dropped the
   overlay entirely and white copy sat straight on the photo.
   Fix: hand the tint a real colour, then guarantee contrast behind the text. */

.pillar{min-height:560px}
/* The copy block starts about a third down the card, so the scrim has to be real by then.
   Measured on the three real photos (brightest pixel in each band, worst case): the old
   ramp left the kicker/headline at 1.15-2.3:1. This ramp holds white copy at 6.7:1 or
   better from 34% down while the top ~20% of the photo stays completely clear. */
.pillar__tint{
  background:linear-gradient(180deg,
    rgba(13,11,10,0) 0%,
    rgba(13,11,10,.10) 16%,
    rgba(13,11,10,.48) 30%,
    rgba(13,11,10,.68) 40%,
    var(--pillar-ov,rgba(13,11,10,.84)) 52%,
    rgba(9,8,7,.92) 68%,
    rgba(9,8,7,.96) 100%);
}
.pillar--culinary{--pillar-ov:rgba(38,26,4,.84);--pillar-kicker:#FFE1A3}
.pillar--sports{--pillar-ov:rgba(58,0,10,.84);--pillar-kicker:#FFB6C3}
.pillar--wellness{--pillar-ov:rgba(8,32,12,.84);--pillar-kicker:#C6EDBA}

/* No second scrim: contrast is carried by the tint above plus text-shadow, which is what
   keeps the photographs visible. The kicker gets its own chip so its contrast never
   depends on what happens to sit behind it. */
.pillar__body{padding-top:0}
.pillar h3{color:#FFFCF6;text-shadow:0 1px 3px rgba(0,0,0,.55),0 2px 16px rgba(0,0,0,.65)}
.pillar p{color:#FFFCF6;text-shadow:0 1px 3px rgba(0,0,0,.7),0 2px 14px rgba(0,0,0,.6)}
.pillar__kicker{
  align-self:flex-start;
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(9,8,7,.62);
  border:1px solid rgba(255,255,255,.18);
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}
.pillar__tag{
  background:rgba(12,10,9,.58);
  border-color:rgba(255,255,255,.30);
  color:#FFF8EC;
  text-shadow:0 1px 6px rgba(0,0,0,.6);
}
.pillar__cta{text-shadow:0 1px 3px rgba(0,0,0,.65),0 1px 10px rgba(0,0,0,.6)}

/* ------------------------------------------------------- 3. PROGRAM GRID */

.proggrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:clamp(14px,2.2vw,18px);
}
@media (min-width:620px){.proggrid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1000px){.proggrid{grid-template-columns:repeat(4,1fr)}}

.prog{
  position:relative;
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
  color:inherit;
  text-align:left;
  width:100%;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:22px 20px 20px;
  display:flex;
  flex-direction:column;
  gap:11px;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.prog:hover,.prog:focus-visible{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:var(--border-strong);
}
.prog__ic{
  width:46px;height:46px;border-radius:13px;
  display:grid;place-items:center;
  background:var(--e-tint,#EFF7D9);
  color:var(--e-ink,var(--accent-deep));
}
.prog__ic svg{width:23px;height:23px}
.prog h3{
  font-family:var(--font-body);
  font-size:17px;
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.25;
  color:var(--ink);
}
.prog__sub{
  font-size:12.5px;
  line-height:1.55;
  color:var(--ink-3);
}
.prog__more{
  margin-top:auto;
  padding-top:4px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12.5px;
  font-weight:700;
  color:var(--accent-deep);
}
.prog__more svg{width:14px;height:14px;transition:transform .2s ease}
.prog:hover .prog__more svg{transform:translateX(3px)}

/* The whole card is clickable via a stretched button inside the heading,
   so the markup stays valid and screen readers get a real button. */
.prog__t{
  appearance:none;
  -webkit-appearance:none;
  background:none;
  border:0;
  padding:0;
  margin:0;
  font:inherit;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.prog__t::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  z-index:1;
}
.prog:has(.prog__t:focus-visible){
  outline:2px solid var(--accent);
  outline-offset:3px;
}
.prog .prog__t:focus-visible{outline:none}

/* ------------------------------------------------------------- 4. PANEL */

.progpanel{
  position:fixed;
  inset:0;
  z-index:200;
  display:none;
}
.progpanel.is-open{display:block}

.progpanel__backdrop{
  position:absolute;
  inset:0;
  background:rgba(11,9,8,.66);
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  opacity:0;
  transition:opacity .24s ease;
}
.progpanel.is-open .progpanel__backdrop{opacity:1}

.progpanel__card{
  position:absolute;
  left:50%;
  top:50%;
  width:min(560px,calc(100% - 32px));
  max-height:min(84vh,720px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--surface);
  border-radius:20px;
  padding:clamp(24px,4vw,36px);
  box-shadow:0 40px 90px -30px rgba(11,9,8,.65);
  opacity:0;
  transform:translate(-50%,-50%) scale(.965);
  transition:opacity .24s ease,transform .24s cubic-bezier(.2,.7,.2,1);
}
.progpanel.is-open .progpanel__card{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}

.progpanel__close{
  position:absolute;
  top:14px;right:14px;
  width:38px;height:38px;
  display:grid;place-items:center;
  border:1px solid var(--border);
  background:var(--bg);
  border-radius:999px;
  cursor:pointer;
  color:var(--ink-2);
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.progpanel__close:hover{border-color:var(--border-strong);color:var(--ink);background:var(--bg-alt,var(--bg))}
.progpanel__close svg{width:18px;height:18px}

.progpanel__eyebrow{
  display:block;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent-deep);
  margin-bottom:10px;
}
.progpanel__title{
  font-family:var(--font-display);
  font-size:clamp(26px,3.4vw,32px);
  line-height:1.1;
  letter-spacing:-.02em;
  color:var(--ink);
  margin:0 0 6px;
  padding-right:40px;
}
.progpanel__sub{
  font-size:13px;
  font-weight:600;
  color:var(--accent-deep);
  margin:0 0 16px;
}
.progpanel__body{
  font-size:15.5px;
  line-height:1.62;
  color:var(--ink-2);
  margin:0 0 20px;
}
.progpanel__list{
  list-style:none;
  margin:0 0 26px;
  padding:0;
  display:grid;
  gap:9px;
}
.progpanel__list li{
  position:relative;
  padding-left:26px;
  font-size:14.5px;
  line-height:1.5;
  color:var(--ink-2);
}
.progpanel__list li::before{
  content:"";
  position:absolute;
  left:0;top:.42em;
  width:14px;height:14px;
  border-radius:999px;
  background:rgba(192,0,32,.1);
  box-shadow:inset 0 0 0 1px rgba(192,0,32,.28);
}
.progpanel__list li::after{
  content:"";
  position:absolute;
  left:4.5px;top:calc(.42em + 4.5px);
  width:5px;height:5px;
  border-radius:999px;
  background:var(--accent);
}
.progpanel__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.progpanel__note{
  font-size:12.5px;
  color:var(--ink-3);
  margin:14px 0 0;
}

@media (max-width:520px){
  .progpanel__card{
    top:auto;
    bottom:0;
    left:0;
    width:100%;
    max-height:88vh;
    border-radius:20px 20px 0 0;
    transform:translateY(14px);
  }
  .progpanel.is-open .progpanel__card{transform:translateY(0)}
}

@media (prefers-reduced-motion:reduce){
  .progpanel__backdrop,.progpanel__card{transition:none}
  .prog:hover,.prog:focus-visible{transform:none}
}

/* ------------------------------------------- 5. "FOR SCHOOLS" 3-STEP BAND */

.schoolsteps{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:clamp(26px,3.4vw,38px);
}
@media (min-width:820px){.schoolsteps{grid-template-columns:repeat(3,1fr)}}
.schoolsteps__item{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px 22px;
  box-shadow:var(--shadow-sm);
}
.schoolsteps__num{
  display:inline-grid;
  place-items:center;
  width:30px;height:30px;
  border-radius:9px;
  background:rgba(192,0,32,.09);
  color:var(--accent-deep);
  font-weight:800;
  font-size:13px;
  margin-bottom:12px;
}
.schoolsteps__item h3{
  font-family:var(--font-body);
  font-size:16px;
  font-weight:700;
  color:var(--ink);
  margin:0 0 6px;
}
.schoolsteps__item p{
  font-size:14px;
  line-height:1.55;
  color:var(--ink-2);
  margin:0;
}

/* ------------------------------------------------- 6. FORM STATUS STATES */

.form-error{
  display:none;
  margin-top:12px;
  padding:12px 14px;
  border-radius:10px;
  background:rgba(192,0,32,.07);
  border:1px solid rgba(192,0,32,.24);
  font-size:13.5px;
  line-height:1.5;
  color:#7d0015;
}
.form-error.is-visible{display:block}
.form-error a{font-weight:700;color:var(--accent-deep)}

#contactForm.is-sending button[type="submit"]{opacity:.7;pointer-events:none}

/* ------------------------------------------------------- 7. A11Y POLISH */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}

.form-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px;height:1px;
  overflow:hidden;
}

/* ------------------------------------------------- 9. HERO FRAME MONTAGE
   The right-hand frame cycles the real program photos we already have.
   Frame one stays in the markup (and in the LCP path); the others only get
   a src when their turn approaches, so the header weight stays flat. */

.hero__frame{aspect-ratio:4/5}

.hero__frame>img.hero__slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  border-radius:30px;
  object-fit:cover;
  object-position:center 38%;
  opacity:0;
  transform:scale(1.03);
  z-index:1;
  /* Only the slow zoom transitions now. The swap itself is a clip-path
     wipe driven from JS, so two frames are never blended together. */
  transition:transform 7.6s ease-out;
  will-change:opacity, transform;
}
.hero__frame>img.hero__slide.is-active{
  opacity:1;
  transform:scale(1.085);
  z-index:2;
}

/* Anyone who asked the OS for less motion gets the still frame. */
@media (prefers-reduced-motion:reduce){
  .hero__frame>img.hero__slide,
  .hero__frame>img.hero__slide.is-active{transition:none;transform:none}
}

/* ------------------------------------------------- 10. BACK TO TOP
   Sits out of the way until you are a screen or two down, then floats
   above the content. Icon-only, so the label is a screen-reader span. */

.to-top{
  position:fixed;
  right:clamp(16px,2.4vw,28px);
  bottom:clamp(16px,2.4vw,28px);
  z-index:60;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  padding:0;
  border-radius:999px;
  border:1px solid rgba(253,248,240,.3);
  background:rgba(23,19,16,.74);
  color:#FBF3E4;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(0,0,0,.45);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .28s ease,transform .28s ease,visibility .28s ease,
             background-color .2s ease,border-color .2s ease;
}
.to-top.is-visible{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--accent);border-color:rgba(255,255,255,.55)}
.to-top:active{transform:scale(.94)}
.to-top svg{width:20px;height:20px}

@media (prefers-reduced-motion:reduce){
  .to-top{transition:opacity .01s linear,visibility .01s linear;transform:none}
  .to-top.is-visible{transform:none}
}

/* ------------------------------------------------- 11. PODCAST PLAYER
   The card forced the native control panel to var(--ink) but never declared
   color-scheme:dark, so Chrome kept drawing its dark glyphs on top of that
   dark panel. Everything except the red play button disappeared. */

.podcast__audio{
  color-scheme:dark;                 /* light glyphs on the dark panel */
  height:56px;
  border-radius:14px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(253,250,240,.22);
}
.podcast__audio:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
}
.podcast__audio::-webkit-media-controls-panel{
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
}
.podcast__audio::-webkit-media-controls-current-time-display,
.podcast__audio::-webkit-media-controls-time-remaining-display{
  color:#FBF3E4;
  font-weight:600;
  text-shadow:0 1px 2px rgba(0,0,0,.5);
}
.podcast__audio::-webkit-media-controls-mute-button,
.podcast__audio::-webkit-media-controls-volume-slider{
  filter:brightness(0) invert(1) opacity(.85);
}

/* ------------------------------------------------- 12. CUSTOM PODCAST PLAYER
   Native <audio controls> cannot be styled past a grey track and grey icons,
   and it went dark-on-dark in the card. This is our own transport: brand
   accent for play, gold for progress, cream numerals that actually read. */

.player{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:24px;
  padding:11px 24px 11px 11px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.05));
  border:1px solid rgba(253,250,240,.24);
  box-shadow:0 14px 34px -18px rgba(0,0,0,.85);
}
.player audio{display:none}

.player__play{
  flex:none;
  width:46px;height:46px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;border:0;border-radius:50%;
  background:var(--accent);
  color:#FFF6EE;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(192,0,32,.5);
  transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease;
}
.player__play:hover{background:var(--accent-deep);transform:scale(1.06);box-shadow:0 10px 24px rgba(192,0,32,.62)}
.player__play:active{transform:scale(.95)}
.player__play:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

.player__i{width:20px;height:20px;fill:currentColor}
.player__i--pause{display:none}
.player.is-playing .player__i--play{display:none}
.player.is-playing .player__i--pause{display:block}

.player__track{
  position:relative;
  flex:1 1 auto;
  height:36px;
  padding:0 8px;
  display:flex;
  align-items:center;
  cursor:pointer;
  touch-action:none;
  border-radius:999px;
}
.player__rail{
  position:absolute;left:8px;right:8px;height:6px;border-radius:999px;
  background:rgba(253,250,240,.55);
  box-shadow:inset 0 1px 1px rgba(0,0,0,.35);
}
.player__fill{
  position:absolute;left:8px;width:0;height:6px;border-radius:999px;
  background:linear-gradient(90deg,var(--gold) 0%,#F6D79A 100%);
  box-shadow:0 0 12px rgba(217,164,65,.35);
}
.player__knob{
  position:absolute;left:8px;top:50%;
  width:15px;height:15px;border-radius:50%;
  background:#FFF8EC;
  box-shadow:0 2px 8px rgba(0,0,0,.6),0 0 0 3px rgba(217,164,65,.35);
  transform:translate(-50%,-50%);
  transition:transform .12s ease;
  pointer-events:none;
}
.player__track:hover .player__knob{transform:translate(-50%,-50%) scale(1.15)}
.player__track:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

.player__time{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:14px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
  color:#FFFDF8;
}
.player__time #podDur{color:rgba(253,248,240,.8)}
.player__slash{color:rgba(253,248,240,.4)}

@media (max-width:520px){
  .player{padding:9px 14px 9px 9px;gap:10px;border-radius:20px}
  .player__play{width:42px;height:42px}
  .player__time{font-size:12.5px}
}

/* ------------------------------------------------- 13. HERO FRAME NUDGE
   Owner request: shift the rotating frame 30px. Positive = to the right
   (outward). Change 30px to -30px to move it toward the copy instead.
   Only applied where there is room — at 1024px the same nudge left only
   10px between the card and the screen edge. */
@media (min-width:1200px){
  .hero__art{transform:translateX(30px)}
}

/* ------------------------------------------------- 14. HERO WOW PASS
   Grain, ticks and pointer tilt for the rotating frame. */

/* fine film grain — kills the stock-photo sheen without washing the faces */
.hero__frame::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  border-radius:30px;
  opacity:.13;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size:180px 180px;
}
.hero__frame::after{z-index:5}     /* keep the vignette above the grain */
.hero__mini{z-index:6}             /* label stays on top of both */

/* progress ticks under the card, one per photo, all clickable */
.hero__dots{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:16px;
  padding-left:4px;
}
.hero__dot{
  width:26px;
  height:4px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(253,248,240,.34);
  cursor:pointer;
  transition:background-color .25s ease,width .25s ease;
}
.hero__dot:hover{background:rgba(253,248,240,.62)}
.hero__dot.is-on{width:38px;background:var(--gold)}
.hero__dot:focus-visible{outline:2px solid var(--gold);outline-offset:5px}

/* pointer tilt: lean toward the cursor, settle back on leave */
@media (min-width:1024px){
  .hero__art{perspective:1100px}
  .hero__frame{
    transform-origin:50% 50%;
    transition:transform .45s cubic-bezier(.22,1,.36,1);
  }
  .hero__frame.is-tilting{transition:none}
}
@media (prefers-reduced-motion:reduce){
  .hero__frame,.hero__frame.is-tilting{transition:none;transform:none}
  .hero__frame::before{display:none}
}

/* ------------------------------------------------- 15. GALLERY, THREE UP
   The old six-tile mosaic reused the hero's girl, fencing shot and salad jar.
   Only three photos on this site are not already used above, so the grid is
   now an honest three-up strip instead of six tiles propped up with repeats. */

@media (min-width:768px){
  .gallery{
    grid-template-columns:repeat(3,1fr);
    grid-auto-flow:row;
    gap:18px;
  }
  .gallery__item,
  .gallery__item--tall,
  .gallery__item:nth-child(1){
    grid-column:auto;
    grid-row:auto;
    aspect-ratio:4/3;
  }
}
@media (max-width:767px){
  .gallery__item,
  .gallery__item--tall{aspect-ratio:4/3}
}
/* the base stylesheet only reveals captions on hover; with three tiles the
   captions carry the section, so they stay on for everyone including touch */
.gallery__item .gallery__cap{opacity:1;transform:none}

/* ------------------------------------------------- 16. RED ON DARK
   The "Why The Rec" panel and the podcast card both sit on #171310. Their
   red was --accent-deep #8E0018 (1.93:1) and --accent #C00020 (2.87:1) —
   effectively invisible. The stylesheet already carries #F26B82 for dark
   surfaces (footer hover, 6.33:1), so the dark panels reuse that colour
   rather than inventing a new one. */

.impact__card .eyebrow{color:#F26B82}
.impact__card .eyebrow::before{background:#F26B82}
.impact__card .impact-item__ic{
  background:rgba(242,107,130,.15);
  color:#F26B82;
}
.podcast__card .podcast__epnum{color:#F26B82}

/* ------------------------------------------------- 17. PROGRAM INDEX
   The section shipped twice — the legacy .enrich grid (13 cards) was set to
   display:grid in site.css, which beats the [hidden] attribute, so both
   lists rendered. That is now hidden outright, and the ten programs below
   are a compact expandable index instead of a 3-screen card wall. */

.enrich{display:none !important}

.proggrid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:30px;
}
@media (min-width:880px){
  .proggrid{grid-template-columns:1fr 1fr;gap:12px}
}

/* rows keep their own height — without this, expanding one row stretches its
   neighbour into a tall empty card */
.proggrid{align-items:start}

.prog{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 26px;
  grid-template-areas:"ic t ch" "ic sub ch";
  align-items:center;
  /* column-gap/row-gap below; a later `gap:0` shorthand used to reset both to zero,
     which is why the icon circle sat flush against the program name. */
  column-gap:18px;
  row-gap:2px;
  padding:13px 16px;
  border-radius:14px;
  box-shadow:none;
  cursor:pointer;
  background:var(--surface);
  border:1px solid var(--border);
  transition:border-color .2s ease,background-color .2s ease;
}
.prog:hover,
.prog:focus-within{
  transform:none;
  box-shadow:none;
  border-color:var(--border-strong);
  background:#FFFDFA;
}
.prog.is-open{
  border-color:var(--border-strong);
  background:#FFFDFA;
}

.prog__ic{
  grid-area:ic;
  width:44px;height:44px;
  border-radius:12px;
}
.prog__ic svg{width:21px;height:21px}

.prog h3{grid-area:t;font-size:16px;line-height:1.2;margin:0}
.prog__t{font:inherit;color:inherit;text-align:left}
.prog__t::after{display:none}          /* row click is handled on the card */

.prog__sub{
  grid-area:sub;
  font-size:12.5px;
  color:var(--ink-3);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.prog__more{
  grid-area:ch;
  justify-self:end;
  margin:0;
  padding:0;
  color:var(--ink-3);
}
.prog__more-t{display:none}
.prog__more svg{width:15px;height:15px;transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s}
.prog:hover .prog__more svg{transform:none}
.prog.is-open .prog__more svg{transform:rotate(90deg);color:var(--accent-deep)}

/* expanding body: 0fr -> 1fr keeps it smooth without measuring heights */
.prog__body{
  grid-column:1 / -1;
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .38s cubic-bezier(.4,0,.2,1);
}
.prog.is-open .prog__body{grid-template-rows:1fr}
.prog__bodyin{overflow:hidden}

.prog__body p{
  margin:14px 0 0;
  font-size:14px;
  line-height:1.62;
  color:var(--ink-2);
  max-width:62ch;
}
.prog__body ul{
  list-style:none;
  margin:13px 0 0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.prog__body li{
  font-size:12px;
  font-weight:600;
  letter-spacing:.01em;
  padding:5px 11px;
  border-radius:999px;
  background:var(--e-tint,#F3EFE7);
  color:var(--e-ink,var(--ink-2));
}
.prog__cta{
  appearance:none;
  -webkit-appearance:none;
  margin:16px 0 2px;
  padding:0;
  border:0;
  background:none;
  font:inherit;
  font-size:13.5px;
  font-weight:700;
  color:var(--accent-deep);
  display:inline-flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
}
.prog__cta::after{content:"→";transition:transform .2s ease}
.prog__cta:hover::after{transform:translateX(3px)}

@media (prefers-reduced-motion:reduce){
  .prog__body,.prog__bodyin{transition:none}
  .prog__more svg{transition:none}
}

/* ---------------------------------------------------- 18. FOOTER CREDIT
   "Website designed by Arnow Solutions" sits in the footer's bottom bar next to
   the copyright. Muted like its neighbour, but a real link: underlined at rest,
   gold on hover, 44px-ish hit area kept by the parent's line height. */
.footer__credit{color:rgba(253,251,247,.55)}
.footer__credit a{
  color:rgba(253,251,247,.82);
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-color:rgba(253,251,247,.30);
  transition:color .18s ease,text-decoration-color .18s ease;
}
.footer__credit a:hover,.footer__credit a:focus-visible{color:#F2C877;text-decoration-color:currentColor}
