/* ============================================================================
   Skye College: site.css
   Bands, section heads, photo frames, cards, pathways, tables, forms, news.
   The look follows the 2026 guide: flat bold colour, big quarter-curves,
   the graphic devices scattered with intent, photography that is bright and
   real. Every colour is a token from colors_and_type.css.
   ========================================================================== */

.container { max-width: var(--content-w); margin: 0 auto; padding: 0 48px; box-sizing: border-box; }
@media (max-width: 700px) { .container { padding: 0 20px; } }

.dv { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: middle; }
.c-navy { color: var(--sk-navy); } .c-sun { color: var(--sk-sun); } .c-coral { color: var(--sk-coral); }
.c-blue { color: var(--sk-blue); } .c-ink { color: var(--sk-ink); } .c-white { color: var(--sk-white); }

/* ------------------------------------------------------------------- bands */
.band { position: relative; padding: 112px 0; overflow: hidden; }
.band--tight { padding: 80px 0; }
.band--mist { background: var(--sk-mist); }
.band--sun { background: var(--sk-sun); --accent: var(--sk-coral-dark); }
.band--blue-pale { background: var(--sk-blue-pale); }
.band--navy { background: var(--sk-navy); color: var(--fg-on-dark); --accent: var(--sk-sun); }
.band--ink { background: var(--sk-ink); color: var(--fg-on-dark); --accent: var(--sk-sun); }
.band--navy h2, .band--navy h3, .band--ink h2, .band--ink h3 { color: var(--sk-white); }
.band--navy .prose p, .band--ink .prose p, .band--navy .lede, .band--ink .lede { color: var(--fg-on-dark-muted); }
/* curved corners: a band can swoop in at the top-right or bottom-left */
.band--swoop-tr { border-top-right-radius: var(--r-swoop); }
.band--swoop-bl { border-bottom-left-radius: var(--r-swoop); }
@media (max-width: 700px) {
  .band { padding: 76px 0; }
  .band--swoop-tr { border-top-right-radius: 80px; } .band--swoop-bl { border-bottom-left-radius: 80px; }
}

/* devices scattered in a band (decorative, absolutely placed per use) */
.band-dv { position: absolute; pointer-events: none; z-index: 0; }
.band-dv svg { display: block; width: 100%; height: 100%; }
.band > .container { position: relative; z-index: 1; }

/* ---------------------------------------------------------- section heads */
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 15px var(--font-display); color: var(--sk-coral); margin: 0 0 16px;
}
.eyebrow-line::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: currentColor;
  -webkit-mask: url("/assets/devices/asterisk.svg") center / contain no-repeat; mask: url("/assets/devices/asterisk.svg") center / contain no-repeat;
}
.band--navy .eyebrow-line, .band--ink .eyebrow-line { color: var(--sk-sun); }
.band--sun .eyebrow-line { color: var(--sk-navy); }
.section-title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 20ch; text-wrap: balance; }
.section-title--center, .center .section-title { margin-left: auto; margin-right: auto; }
.lede { font-size: 1.2rem; color: var(--fg-2); max-width: 62ch; margin-top: 8px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.prose p { color: var(--fg-2); font-size: 17.5px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg-1); }
.band--navy .prose strong, .band--ink .prose strong { color: var(--sk-white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .btn-row { justify-content: center; }

/* --------------------------------------------------------------- layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--flip > :first-child { order: 2; }
.split--wide-media { grid-template-columns: .9fr 1.1fr; }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------------------------------------- photo frame */
/* The guide's signature crop: three soft corners and one big quarter-curve,
   with a block of colour peeking out behind. --frame sets that colour. */
.frame { position: relative; margin: 0; }
.frame__img {
  position: relative; z-index: 1; overflow: hidden;
  border-radius: var(--r-lg) var(--r-swoop) var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-card); background: var(--sk-mist);
}
.frame__img img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease-natural); }
.frame::before {
  content: ""; position: absolute; z-index: 0; inset: 28px -28px -28px 28px;
  border-radius: var(--r-lg) var(--r-swoop) var(--r-lg) var(--r-lg); background: var(--frame, var(--sk-sun));
}
.frame--bl .frame__img, .frame--bl::before { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-swoop); }
.frame--bl::before { inset: 28px 28px -28px -28px; }
.frame--coral { --frame: var(--sk-coral); } .frame--blue { --frame: var(--sk-blue); }
.frame--sun { --frame: var(--sk-sun); } .frame--navy { --frame: var(--sk-navy); }
.frame--portrait .frame__img img { aspect-ratio: 4 / 5; object-fit: cover; }
.frame__dv { position: absolute; z-index: 2; width: 84px; height: 84px; }
.frame__dv svg { width: 100%; height: 100%; display: block; }
.frame__dv--tl { left: -30px; top: -30px; } .frame__dv--br { right: -18px; bottom: -40px; }
.frame__dv--tr { right: -24px; top: -34px; } .frame__dv--bl { left: -26px; bottom: -36px; }
@media (hover: hover) and (pointer: fine) { .frame:hover .frame__img img { transform: scale(1.04); } }
@media (max-width: 700px) {
  .frame__img, .frame::before { border-top-right-radius: 90px; }
  .frame--bl .frame__img, .frame--bl::before { border-top-right-radius: var(--r-lg); border-bottom-left-radius: 90px; }
  .frame::before { inset: 16px -14px -16px 16px; } .frame--bl::before { inset: 16px 16px -16px -14px; }
  .frame__dv { width: 56px; height: 56px; }
}

/* ------------------------------------------------------------------- cards */
.card { position: relative; background: var(--sk-white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); display: flex; flex-direction: column; }
.card > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.55rem; margin: 0 0 10px; }
.card__body p { color: var(--fg-2); font-size: 16px; }
.card__meta { font: 700 14px var(--font-display); color: var(--fg-3); margin: 0 0 6px; }
.card__link { margin: auto 0 0; padding-top: 10px; }

/* phase cards: a coloured tab with the phase's device */
.card--phase { border-top-right-radius: 70px; }
.card--phase .card__tag {
  position: absolute; z-index: 2; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--dot); color: var(--sk-ink); font: 700 13.5px var(--font-display);
  padding: 8px 14px 8px 10px; border-radius: var(--r-pill);
}
.card--phase.phase-senior .card__tag, .card--phase.phase-high .card__tag { color: var(--sk-white); }
.card--phase .card__tag svg { width: 16px; height: 16px; }
.card--phase .card__body { border-top: 6px solid var(--dot); }

/* --------------------------------------------------------------- pathways */
/* Our four pathways to thrive: four blocks of colour, each with a device. */
.pathways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.pathway {
  position: relative; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 90px;
  padding: 32px 28px 36px; display: flex; flex-direction: column;
  background: var(--pw); color: var(--pw-fg, var(--sk-white));
}
.pathway:nth-child(even) { border-radius: var(--r-lg) 90px var(--r-lg) var(--r-lg); }
.pathway h3 { color: inherit; font-size: 1.5rem; margin: 0 0 10px; }
.pathway p { margin: 0; font-size: 15.5px; opacity: .92; }
.pathway__dv { width: 56px; height: 56px; margin-bottom: 26px; color: var(--pw-dv, var(--sk-white)); }
.pathway__dv svg { width: 100%; height: 100%; display: block; }
.pathway--coral { --pw: var(--sk-coral); --pw-dv: var(--sk-sun); }
.pathway--blue  { --pw: var(--sk-blue); --pw-fg: var(--sk-ink); --pw-dv: var(--sk-white); }
.pathway--sun   { --pw: var(--sk-sun); --pw-fg: var(--sk-ink); --pw-dv: var(--sk-coral); }
.pathway--navy  { --pw: var(--sk-navy); --pw-dv: var(--sk-blue); }
.band--navy .pathway--navy, .band--ink .pathway--navy { --pw: var(--sk-white); --pw-fg: var(--sk-navy); }

/* --------------------------------------------------------------- reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 56px; }
.reason { position: relative; padding-top: 6px; }
.reason__dv { width: 52px; height: 52px; margin-bottom: 18px; display: block; }
.reason h3 { font-size: 1.4rem; margin: 0 0 8px; }
.reason p { color: var(--fg-2); font-size: 16px; margin: 0; }
.band--navy .reason p, .band--ink .reason p { color: var(--fg-on-dark-muted); }

/* ------------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.stat { border-radius: var(--r-lg); padding: 30px 28px; background: var(--sk-mist); display: flex; flex-direction: column; gap: 6px; }
.stat__num { font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--sk-navy); }
.stat__label { color: var(--fg-2); font-size: 15.5px; }
.stat:nth-child(1) { background: var(--sk-sun-pale); } .stat:nth-child(1) .stat__num { color: var(--sk-coral-dark); }
.stat:nth-child(2) { background: var(--sk-blue-pale); }
.stat:nth-child(3) { background: var(--sk-coral-pale); } .stat:nth-child(3) .stat__num { color: var(--sk-coral-dark); }

/* ----------------------------------------------------------------- facts */
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.facts span { padding: 9px 16px; border-radius: var(--r-pill); background: var(--sk-white); border: 1.5px solid var(--line-soft); font: 600 14.5px var(--font-display); color: var(--sk-navy); }
.facts span:nth-child(4n+1) { border-color: var(--sk-coral); } .facts span:nth-child(4n+2) { border-color: var(--sk-blue); }
.facts span:nth-child(4n+3) { border-color: var(--sk-sun); } .facts span:nth-child(4n+4) { border-color: var(--sk-navy); }
.band--navy .facts span, .band--ink .facts span { background: transparent; color: var(--sk-white); }

/* ----------------------------------------------------------------- quote */
.pullquote { position: relative; margin: 0; max-width: 30ch; font: 700 clamp(1.8rem, 3.3vw, 2.8rem)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--sk-navy); text-wrap: balance; }
.pullquote cite { display: block; margin-top: 22px; font: 500 16px var(--font-sans); font-style: normal; color: var(--fg-3); letter-spacing: 0; }
.band--navy .pullquote, .band--ink .pullquote { color: var(--sk-white); }
.band--navy .pullquote cite, .band--ink .pullquote cite { color: var(--fg-on-dark-muted); }
.center .pullquote { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ mosaic */
/* Photo collage: joy as evidence, in colourful tiles of mixed shape */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; margin-top: 56px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sk-mist); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-natural); }
.mosaic { grid-template-areas: "a a b c" "d e b f" "i i g f" "i i h h"; grid-template-rows: repeat(4, 220px); }
.mosaic .m-a { grid-area: a; } .mosaic .m-b { grid-area: b; } .mosaic .m-c { grid-area: c; } .mosaic .m-d { grid-area: d; }
.mosaic .m-e { grid-area: e; } .mosaic .m-f { grid-area: f; } .mosaic .m-g { grid-area: g; } .mosaic .m-h { grid-area: h; } .mosaic .m-i { grid-area: i; }
.mosaic .m-curve-tr { border-top-right-radius: 120px; } .mosaic .m-curve-bl { border-bottom-left-radius: 120px; }
.mosaic .m-block { display: flex; align-items: center; justify-content: center; }
.mosaic .m-block svg { width: 46%; height: 46%; }
@media (hover: hover) and (pointer: fine) { .mosaic figure:hover img { transform: scale(1.05); } }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(8, 170px); grid-template-areas: "a a" "b c" "b d" "f e" "f g" "h h" "i i" "i i"; } }

/* ------------------------------------------------------------------ CTA */
.cta { position: relative; overflow: hidden; background: var(--sk-coral); color: var(--sk-white); padding: 120px 0; text-align: center; border-top-right-radius: var(--r-swoop); }
.cta h2 { color: var(--sk-white); font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; margin: 0 auto 18px; text-wrap: balance; }
.cta h2 em { color: var(--sk-sun); }
.cta p { max-width: 54ch; margin: 0 auto; font-size: 1.15rem; color: rgba(255,255,255,.92); }
.cta .btn-row { justify-content: center; }
.cta .container { position: relative; z-index: 1; }
.cta__dv { position: absolute; pointer-events: none; }
.cta__dv svg { width: 100%; height: 100%; display: block; }
.cta__dv--a { left: -60px; bottom: -70px; width: 280px; height: 280px; color: var(--sk-sun); }
.cta__dv--b { right: 6%; top: 40px; width: 90px; height: 90px; color: var(--sk-white); opacity: .9; }
.cta__dv--c { right: -40px; bottom: 30px; width: 170px; height: 170px; color: var(--sk-navy); }
.cta .wc-btn--ghost:hover { color: var(--sk-coral-dark); }
@media (max-width: 700px) { .cta { padding: 84px 0; border-top-right-radius: 80px; } .cta__dv--a { width: 160px; height: 160px; } .cta__dv--c { width: 90px; height: 90px; } .cta__dv--b { display: none; } }

/* -------------------------------------------------------------- sub-nav */
.subnav {
  position: sticky; top: var(--wc-header-h, 72px); z-index: 40; display: flex;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft);
}
.subnav__track {
  flex: 1; max-width: var(--content-w); margin: 0 auto; padding: 0 32px; box-sizing: border-box;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; align-items: center;
}
.subnav__track::-webkit-scrollbar { display: none; }
.subnav__track a {
  flex: none; text-decoration: none; padding: 9px 16px; margin: 10px 0; border-radius: var(--r-pill);
  font: 600 14.5px var(--font-display); color: var(--fg-2);
}
.subnav__track a:hover { color: var(--sk-navy); background: var(--sk-mist); }
.subnav__track a.is-active { color: var(--sk-white); background: var(--sk-navy); }
.subnav__chev { display: none; }
.subnav-drop { display: none; }
@media (max-width: 899px) {
  .subnav { display: block; background: transparent; backdrop-filter: none; border: 0; }
  .subnav__track { display: none; }
  .subnav-drop { display: block; position: relative; }
}
.subnav-drop__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; cursor: pointer; background: var(--sk-navy); color: var(--sk-white);
  border: 0; padding: 12px 20px; font-family: inherit;
}
.subnav-drop__eyebrow { display: block; font: 600 12px var(--font-display); color: var(--sk-sun); }
.subnav-drop__current { display: block; font: 700 17px var(--font-display); }
.subnav-drop__meta { display: flex; align-items: center; gap: 12px; }
.subnav-drop__count { font-size: 13px; color: rgba(255,255,255,.7); }
.subnav-drop__tri { width: 20px; height: 20px; transition: transform var(--dur-fast); }
.subnav-drop.is-open .subnav-drop__tri { transform: rotate(180deg); }
.subnav-drop__list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5; list-style: none; margin: 0; padding: 0;
  background: var(--sk-white); max-height: 0; overflow: hidden; box-shadow: var(--sh-lift);
  transition: max-height 300ms var(--ease-natural);
}
.subnav-drop.is-open .subnav-drop__list { max-height: 76vh; overflow: auto; }
.subnav-drop__list a { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-top: 1px solid var(--line-soft); color: var(--fg-2); text-decoration: none; font-family: var(--font-display); }
.subnav-drop__dot { width: 10px; height: 10px; border-radius: 3px 3px 3px 8px; background: var(--sk-cloud); }
.subnav-drop__list a.is-active { color: var(--sk-navy); font-weight: 700; background: var(--sk-mist); }
.subnav-drop__list a.is-active .subnav-drop__dot { background: var(--sk-coral); }
[data-subnav-section] { scroll-margin-top: calc(var(--wc-header-h, 72px) + var(--wc-subnav-h, 58px) + 10px); }

/* --------------------------------------------------------------- tables */
.daytable { width: 100%; max-width: 760px; border-collapse: collapse; margin-top: 30px; }
.daytable th, .daytable td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; vertical-align: top; }
.daytable th { font: 700 14px var(--font-display); color: var(--sk-coral-dark); }
.daytable td:first-child { font-weight: 600; }
.daytable td:last-child, .daytable th:last-child { text-align: right; padding-right: 0; }

.fee-table-wrap { overflow-x: auto; margin-top: 18px; border-radius: var(--r-lg); background: var(--sk-white); box-shadow: var(--sh-card); }
.fee-table { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.fee-table th, .fee-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.fee-table th:first-child, .fee-table td:first-child { text-align: left; }
.fee-table thead th { background: var(--sk-navy); color: var(--sk-white); font: 700 13.5px var(--font-display); vertical-align: bottom; }
.fee-table thead th small { display: block; font: 400 12px var(--font-sans); color: var(--fg-on-dark-muted); margin-top: 3px; }
.fee-table .group td { background: var(--sk-mist); font: 700 14px var(--font-display); color: var(--sk-navy); }
.fee-table td:first-child small { display: block; color: var(--fg-3); font-size: 13px; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table .hl { font-weight: 700; color: var(--sk-navy); background: var(--sk-sun-pale); }
.fee-phase { display: flex; align-items: center; gap: 12px; margin: 56px 0 4px; }
.fee-phase:first-of-type { margin-top: 36px; }
.fee-phase h3 { margin: 0; font-size: 1.6rem; }
.fee-phase .dv { width: 28px; height: 28px; }

/* -------------------------------------------------------------- steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: var(--sk-white); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--sh-card); }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 20px; border-radius: 16px 16px 16px 34px;
  background: var(--st, var(--sk-coral)); color: var(--sk-white); font: 800 1.4rem var(--font-display);
}
.steps h3 { font-size: 1.3rem; margin: 0 0 8px; }
.steps p { font-size: 15.5px; color: var(--fg-2); margin: 0; }
.steps p a { font-weight: 600; }

/* ----------------------------------------------------------- accordion */
.faq { margin-top: 30px; border-top: 1px solid var(--line-soft); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 700 1.18rem var(--font-display); color: var(--sk-navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--sk-mist); color: var(--sk-coral); font: 700 22px/1 var(--font-display); transition: transform var(--dur-med) var(--ease-bounce);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sk-coral); color: var(--sk-white); }
.faq .faq__a { padding: 0 0 24px; color: var(--fg-2); max-width: 70ch; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- people */
.people { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.people__role { font: 700 15px var(--font-display); color: var(--sk-coral); margin: 0 0 8px; }
.people__name { font-size: clamp(2.2rem, 3.6vw, 3rem); margin: 0 0 22px; }
.signoff { font: 700 1.1rem var(--font-display); color: var(--sk-navy); margin-top: 26px; }

/* -------------------------------------------------------------- notes */
.note-panel { background: var(--sk-white); border-radius: var(--r-lg); padding: 24px 28px 24px 74px; margin-top: 34px; max-width: 72ch; box-shadow: var(--sh-card); position: relative; }
.note-panel::before { content: ""; position: absolute; left: 26px; top: 26px; width: 28px; height: 28px; background: var(--sk-sun); border-radius: 50%; box-shadow: inset 0 0 0 9px var(--sk-sun), inset 0 0 0 28px var(--sk-white); }
.note-panel p { margin: 0; color: var(--fg-2); font-size: 16px; }
.note-panel p + p { margin-top: 10px; }
.incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.incl > div { background: var(--sk-white); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-card); }
.incl h3 { font-size: 1.35rem; margin: 0 0 14px; }
.incl ul { margin: 0; padding-left: 20px; color: var(--fg-2); font-size: 15.5px; }
.incl li { margin-bottom: 6px; }
.incl li::marker { color: var(--sk-coral); }
.hours { margin: 14px 0 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15.5px; }
.hours dt { color: var(--fg-2); }
.hours dd { margin: 0; font-weight: 700; color: var(--sk-navy); white-space: nowrap; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 30px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 600 14.5px var(--font-display); color: var(--sk-navy); margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; box-sizing: border-box; font: 16px var(--font-sans); color: var(--sk-ink);
  padding: 14px 16px; border: 1.5px solid var(--sk-cloud); border-radius: var(--r-md); background: var(--sk-white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--sk-blue-pale); outline-offset: 0; border-color: var(--sk-blue); }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font: 400 15px var(--font-sans); color: var(--fg-2); }
.form .check input { width: auto; margin-top: 4px; accent-color: var(--sk-coral); }
.form .hp { position: absolute; left: -9999px; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 15.5px; min-height: 1.4em; }
.form__status.is-ok { color: var(--sk-navy); font-weight: 700; }
.form__status.is-err { color: var(--sk-coral-dark); font-weight: 700; }
.form-card { background: var(--sk-white); border-radius: var(--r-lg) 90px var(--r-lg) var(--r-lg); padding: 44px; box-shadow: var(--sh-lift); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--sk-mist); }
.tabs button { border: 0; background: none; cursor: pointer; padding: 11px 20px; border-radius: var(--r-pill); font: 600 15px var(--font-display); color: var(--fg-2); }
.tabs button[aria-selected="true"] { background: var(--sk-navy); color: var(--sk-white); }

.details { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.details li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.details .ic { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--sk-coral); }
.details svg { width: 26px; height: 26px; }
.details strong { display: block; font: 700 14px var(--font-display); color: var(--sk-navy); margin-bottom: 2px; }
.details span, .details a { font-size: 16.5px; color: var(--fg-1); }
.map { border: 0; width: 100%; height: 400px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 90px; display: block; margin-top: 30px; }

/* ---------------------------------------------------------------- film */
.film { position: relative; border-radius: var(--r-lg) var(--r-swoop) var(--r-lg) var(--r-lg); overflow: hidden; background: var(--sk-ink); box-shadow: var(--sh-lift); }
.film__frame { position: relative; aspect-ratio: 16 / 9; }
.film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----------------------------------------------------------------- news */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.news-card { text-decoration: none; color: inherit; display: flex; }
.news-card > .card { flex: 1; }
.news-card img { aspect-ratio: 16 / 10 !important; }
.news-card time, .article time { font: 700 14px var(--font-display); color: var(--sk-coral-dark); display: block; margin-bottom: 10px; }
.news-card h3 { font-size: 1.35rem; margin: 0 0 10px; }
.news-card:hover h3 { color: var(--sk-coral-dark); }
.article { max-width: none; }
.article > :not(.article__cover):not(.article-nav) { max-width: 72ch; }
.article p, .article li { font-size: 18px; line-height: 1.72; color: var(--fg-2); }
.article p { margin: 0 0 22px; }
.article > p:first-of-type { font-size: 21px; color: var(--fg-1); }
.article h2 { font-size: 1.8rem; margin: 46px 0 16px; }
.article blockquote { margin: 30px 0; padding: 4px 0 4px 26px; border-left: 5px solid var(--sk-sun); font: 700 1.35rem/1.35 var(--font-display); color: var(--sk-navy); }
.article__cover { width: 100%; border-radius: var(--r-lg) var(--r-swoop) var(--r-lg) var(--r-lg); aspect-ratio: 21 / 9; object-fit: cover; margin: 0 0 48px; box-shadow: var(--sh-card); }
.article-nav { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
@media (max-width: 760px) { .article__cover { aspect-ratio: 16 / 10; border-top-right-radius: 90px; } }

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .rv-h .rv-line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
  .rv-h .rv-line__i { display: block; transform: translateY(115%); transition: transform .82s cubic-bezier(.16,1,.3,1); transition-delay: var(--rv-d, 0s); }
  .rv-h.is-in .rv-line__i { transform: none; }
  .rv-fade { opacity: 0; transform: translateY(18px); transition: opacity .66s ease, transform .66s cubic-bezier(.16,1,.3,1); transition-delay: var(--rv-d, 0s); }
  .rv-fade.is-in { opacity: 1; transform: none; }
  .rv-tile { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--rv-d, 0s); }
  .rv-tile.is-in { opacity: 1; translate: none; }
  /* devices pop in with a little bounce */
  .band-dv, .frame__dv { animation: sk-pop .9s var(--ease-bounce) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes sk-pop { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }
}
@media (hover: hover) and (pointer: fine) {
  .card, .pathway, .news-card .card { transition: transform .34s var(--ease-natural), box-shadow .34s var(--ease-natural); }
  .card:hover, .pathway:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); }
  .card > img { transition: transform .8s var(--ease-natural); }
  .card:hover > img { transform: scale(1.04); }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .pathways { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .split, .split--wide-media, .people { grid-template-columns: 1fr; gap: 64px; }
  .split--flip > :first-child { order: 0; }
  .grid--3, .reasons, .news-list, .incl { grid-template-columns: 1fr 1fr; }
  .people .frame { max-width: 420px; }
}
@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4, .reasons, .news-list, .incl, .stats, .steps { grid-template-columns: 1fr; }
  .pathways { grid-template-columns: 1fr; }
  .pathway { min-height: 0; }
  .form { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; border-top-right-radius: 60px; }
  .stats { margin-top: 56px; }
  /* fee tables become one card per row */
  .fee-table-wrap { overflow-x: visible; }
  .fee-table { min-width: 0; display: block; }
  .fee-table thead { display: none; }
  .fee-table tbody, .fee-table tr, .fee-table td { display: block; width: 100%; box-sizing: border-box; }
  .fee-table tbody tr { padding: 16px 20px 14px; border-bottom: 1px solid var(--line-soft); }
  .fee-table tbody tr:last-child { border-bottom: 0; }
  .fee-table .group { padding: 0; }
  .fee-table td:first-child { padding: 0 0 10px; border: 0; font: 700 17px var(--font-display); color: var(--sk-navy); }
  .fee-table .group td:first-child { font-size: 14px; padding: 12px 20px; }
  .fee-table td[data-label] { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0; border: 0; text-align: right; font-size: 15.5px; }
  .fee-table td[data-label]::before { content: attr(data-label); flex: 1 1 auto; text-align: left; font-size: 14px; color: var(--fg-3); }
  .fee-table td.hl { border-radius: 10px; padding: 9px 12px; margin: 4px 0; }
}

/* --------------------------------------------------------- campus tiles */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.space { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-card); background: var(--sk-navy); }
.space:nth-child(4n+1) { border-top-left-radius: 70px; } .space:nth-child(4n+4) { border-bottom-right-radius: 70px; }
.space > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-natural); }
.space figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; color: var(--sk-white);
  background: linear-gradient(180deg, rgba(30,32,56,0), rgba(30,32,56,.86));
}
.space figcaption strong { display: block; font: 700 1.15rem var(--font-display); }
.space figcaption span { display: block; font-size: 14px; color: rgba(255,255,255,.85); margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .space:hover > img { transform: scale(1.05); } }
.grid .space { aspect-ratio: 4 / 5; }
@media (max-width: 1000px) { .spaces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .spaces { grid-template-columns: 1fr; } .grid .space { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------- film sound pill */
.film__sound {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px 12px 16px; border: 0; border-radius: var(--r-pill); cursor: pointer;
  background: var(--sk-sun); color: var(--sk-ink); font: 600 15px var(--font-display);
}
.film__sound svg { width: 18px; height: 18px; }

/* white cards keep dark text inside dark bands */
.band--navy .card h3, .band--ink .card h3, .band--navy .steps h3, .band--ink .steps h3 { color: var(--sk-navy); }
.bank-card { background: rgba(255,255,255,.07); box-shadow: none; border: 1px solid var(--line-on-dark); }
.band--navy .bank-card h3 { color: var(--sk-white); }
.band--navy .bank-card p { color: var(--fg-on-dark-muted); }
.bank-card p:first-of-type { color: var(--sk-white) !important; font-size: 17px; line-height: 1.7; }
.bank-card a { color: var(--sk-sun); }
.band--navy .prose li, .band--ink .prose li { margin-bottom: 8px; }
.article ul { padding-left: 22px; margin: 0 0 22px; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--sk-coral); }
.band--sun .reason p { color: var(--sk-ink); }
.reason__dv svg, .pathway__dv svg { width: 100%; height: 100%; display: block; }
.band--navy .facts span:nth-child(4n+4), .band--ink .facts span:nth-child(4n+4) { border-color: rgba(255,255,255,.55); }
.pullquote--long { position: relative; font: 500 clamp(1.2rem, 1.7vw, 1.5rem)/1.5 var(--font-display); letter-spacing: -.005em; max-width: 58ch; padding-left: 64px; }
.pullquote--long::before { content: "“"; position: absolute; left: 0; top: -.35em; font: 700 5rem/1 var(--font-display); color: var(--sk-coral); }
@media (max-width: 700px) { .pullquote--long { padding-left: 0; padding-top: 44px; } .pullquote--long::before { top: -8px; } }
@media (max-width: 700px) { .band-dv { display: none; } }

/* ThriveYouth: its own logo as a tilted sticker on the faith photos */
.ty-badge { position: absolute; z-index: 3; right: -22px; bottom: -34px; width: 170px; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 10px 18px rgba(30,32,56,.25)); }
.frame--bl .ty-badge { right: auto; left: -18px; }
@media (max-width: 700px) { .ty-badge { width: 120px; bottom: -26px; } }

/* Subject groups (High School core, electives, non-examined) */
.pill-group { margin-top: 34px; }
.pill-group + .pill-group { margin-top: 26px; }
.pill-group__label { font: 700 15px var(--font-display); color: var(--sk-coral-dark); margin: 0; }

/* Film on a phone: edge to edge and square, so it reads as video rather than
   a thin strip. The 16:9 player is scaled up and centred; the sides crop. */
@media (max-width: 700px) {
  .film { margin-left: -20px !important; margin-right: -20px !important; border-radius: 0 70px 0 0; }
  .film__frame { aspect-ratio: 1 / 1; overflow: hidden; }
  .film__frame iframe { width: 177.78%; left: -38.89%; }
  .film__sound { left: 16px; bottom: 16px; }
}
@media (max-width: 480px) { .hours dd { white-space: normal; text-align: right; } .hours div { gap: 16px; } }
