/* Winsor Education in the Babel Academy layout (22 Nov 2026). Babel's green becomes Winsor burgundy, its yellow lead line Winsor gold. */
:root {
  --burg: #800020; --burg-d: #4A0013; --gold: #D4AF37; --gold-ink: #74580C; --paper: #FDFBF7; --cream: #F6F0E4; --ink: #212529; --mute: #45484D; --line: #E3D8C2;
  --serif: "Fraunces", Georgia, serif; --sans: "Figtree", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px; --r: 14px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 40px); color: var(--burg); }
.center { text-align: center; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: 8px; top: 8px; translate: 0 -200%; background: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { translate: 0 0; }
:focus-visible { outline: 3px solid var(--burg); outline-offset: 3px; }
:is(.band, .ftr, .topbar, .acc details) :focus-visible, .acc summary:focus-visible { outline-color: var(--gold); }
.skip:focus { outline-color: var(--burg); }
.band .btn-light:focus-visible { outline-color: #fff; }

/* buttons: step on hover, press on click */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: background-color .15s var(--ease), color .15s, translate .15s var(--ease), scale .09s; }
.btn:hover { translate: 0 -1px; }
.btn:active { scale: .97; }
.btn-main { background: var(--burg); color: #fff; }
.btn-main:hover { background: var(--burg-d); }
.btn-line { border-color: var(--burg); color: var(--burg); background: transparent; }
.btn-line:hover { background: var(--cream); }
.btn-light { background: #fff; color: var(--burg); }
.btn-light:hover { background: var(--cream); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns.center { justify-content: center; }

/* top contact bar */
.topbar { background: var(--burg); color: #fff; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; min-height: 40px; flex-wrap: wrap; }
.tb-contact, .tb-right { display: flex; align-items: center; gap: 6px 20px; flex-wrap: wrap; }
.topbar a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.topbar a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.tb-soc { display: flex; gap: 4px; }
.tb-soc a { width: 34px; justify-content: center; }
.tb-soc svg { width: 17px; height: 17px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: block; flex: none; }
.lv { display: block; height: 62px; width: auto; }
.lv .lv-mono path { fill: #721749; fill-rule: evenodd; }
.lv .lv-rule, .lv .lv-words path { fill: #4F5050; fill-rule: evenodd; }
.lv.lv-dark .lv-mono path { fill: #E6D3A0; }
.lv.lv-dark .lv-rule, .lv.lv-dark .lv-words path { fill: #fff; }
.hdr nav { margin-left: auto; }
.nav { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nl { display: inline-flex; align-items: center; min-height: 46px; padding: 0 12px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); border-radius: 6px; transition: color .15s; }
.nl:hover, .has-dd:focus-within .nl { color: var(--burg); }
.dd { position: absolute; left: 0; top: 100%; min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 34px rgba(74, 0, 19, .12); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s var(--ease), visibility .18s; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; translate: 0 0; }
.dd a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; font-size: 15px; }
.dd a:hover { background: var(--cream); color: var(--burg); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: var(--burg); }
.menu[hidden] { display: none; }
.menu { padding: 8px 20px 20px; display: grid; gap: 2px; background: #fff; border-top: 1px solid var(--line); }
.menu a:not(.btn) { padding: 12px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 12px; }
@media (max-width: 1180px) { .hdr nav, .hdr-cta { display: none; } .burger { display: flex; } .hdr-in { min-height: 76px; } .lv { height: 46px; } }

/* hero: words left, a big photo with a round left edge bleeding off the right */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); color: var(--burg); }
.hero-lead { margin: 18px 0 0; font-size: 19px; max-width: 34ch; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tick { flex: none; width: 21px; height: 21px; margin-top: 2px; color: var(--burg); }
.ticks.sm li { font-size: 14.5px; }
.ticks.sm .tick { width: 18px; height: 18px; }
.hero-media { position: relative; margin-right: calc((100vw - min(var(--wrap), 100vw - 40px)) / -2); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 420px 0 0 420px; }
@media (max-width: 900px) {
  .hero { padding: 32px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { margin-right: -20px; }
  .hero-media img { border-radius: 220px 0 0 220px; aspect-ratio: 16 / 11; }
}

/* burgundy bands */
.band { background: var(--burg); color: #fff; padding: 72px 0; }
.band h2 { color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gold-lead { margin: 18px 0 14px; color: var(--gold); font-size: 19px; font-weight: 700; line-height: 1.5; }
.about p:not(.gold-lead) { margin: 0 0 12px; color: #F3E7E9; max-width: 60ch; }
.about .btn { margin-top: 14px; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 900px) { .band { padding: 52px 0; } .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* sections */
.sec { padding: 76px 0; }
.sub { margin: 10px auto 0; max-width: 56ch; color: var(--mute); font-size: 17px; }
@media (max-width: 900px) { .sec { padding: 52px 0; } }

/* what makes Winsor different: burgundy bars that open */
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.why-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--cream); }
.acc { margin-top: 26px; display: grid; gap: 12px; }
.acc details { background: var(--burg); color: #fff; border-radius: 10px; overflow: hidden; }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px 16px 22px; cursor: pointer; font-weight: 700; font-size: 16.5px; }
.acc summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--gold); color: var(--burg-d); }
.plus .pv { transition: opacity .18s var(--ease); }
.acc details[open] .plus .pv { opacity: 0; }
.acc details p { margin: 0; padding: 0 22px 20px; color: #F3E7E9; }
.acc summary:hover { background: var(--burg-d); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } .why-media img { border-width: 0; } }

/* courses: photos with a curved foot */
.cgrid { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: translate .15s var(--ease), box-shadow .15s; }
.ccard:hover { translate: 0 -2px; box-shadow: 0 14px 30px rgba(74, 0, 19, .1); }
.cimg { display: block; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 22% 22%; border-bottom: 5px solid var(--burg); }
.cimg img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; transition: scale .6s var(--ease); }
.ccard:hover .cimg img { scale: 1.03; }
.cbody { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.cbody h3 { font-size: 21px; color: var(--burg); }
.cbody p { margin: 8px 0 0; font-size: 15px; color: var(--mute); }
.cmore { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--burg); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 1080px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cgrid { grid-template-columns: 1fr; } }

/* reviews */
.score { display: flex; width: max-content; max-width: 100%; margin: 16px auto 0; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.stars { display: inline-flex; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.rgrid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rcard { margin: 0; padding: 22px; background: #fff; color: var(--ink); border-radius: var(--r); display: flex; flex-direction: column; }
.rcard blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; }
.rcard figcaption { margin-top: auto; padding-top: 16px; }
.rcard b { display: block; color: var(--burg); }
.rcard span { font-size: 13.5px; color: var(--mute); }
@media (max-width: 1080px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rgrid { grid-template-columns: 1fr; } }

/* life at Winsor grid */
.lgrid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lcell { display: block; overflow: hidden; border-radius: 10px; }
.lcell img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: scale .6s var(--ease); }
.lcell:hover img { scale: 1.03; }
@media (max-width: 700px) { .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* accreditations */
.accred { padding-top: 0; }
.logos { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 28px 32px; }
.logos li { display: flex; justify-content: center; }
.logos img { height: 54px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; } .logos img { height: 44px; } }

/* footer */
.ftr { background: var(--burg); color: #F3E7E9; padding: 56px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ftr h3 { font-size: 20px; color: var(--gold); margin-bottom: 10px; }
.ftr-grid > div > a:not(.brand), .ftr-grid span { display: block; padding: 5px 0; text-decoration: none; font-size: 15px; }
.ftr-grid a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.ftr p { margin: 14px 0; font-size: 15px; max-width: 36ch; }
.ftr .tb-soc a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: #fff; }
.ftr-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 40px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; }
.ftr-legal a { margin-left: 16px; text-decoration: none; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } .ftr-legal a { margin: 0 16px 0 0; } }

/* hero enters once */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero-copy > * { animation: rise .7s var(--ease) both; }
  [data-enter] .hero-copy > *:nth-child(2) { animation-delay: .08s; } [data-enter] .hero-copy > *:nth-child(3) { animation-delay: .16s; } [data-enter] .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  [data-enter] .hero-media img { animation: settle 1.1s var(--ease) both .1s; }
}
@keyframes rise { from { opacity: 0; translate: 0 16px; } }
@keyframes settle { from { opacity: 0; scale: 1.04; } }

/* closing call to action */
.close-cta { margin: 64px auto 0; max-width: 720px; text-align: center; padding-top: 56px; border-top: 1px solid var(--line); }
.close-cta p { margin: 14px auto 0; color: var(--mute); font-size: 17px; max-width: 56ch; }

/* 23 Nov: Wiser Minds polish */
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.band .btn-light:focus-visible, .hero2 :focus-visible, .ready-main :focus-visible, .ann :focus-visible { outline-color: var(--gold); }

/* moving strip */
.ann { background: var(--burg-d); color: #F6E9EC; font-size: 14.5px; overflow: hidden; white-space: nowrap; }
.ann-track { display: flex; width: max-content; animation: ann 55s linear infinite; }
.ann:hover .ann-track, .ann:focus-within .ann-track { animation-play-state: paused; }
.ann-set { display: flex; align-items: center; }
.ann a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 22px; text-decoration: none; }
.ann a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ann-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes ann { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ann { overflow-x: auto; } .ann-track { animation: none; } .ann-set[aria-hidden] { display: none; } }

/* hero: one tagline, then the whole group */
.hero2 { position: relative; background: var(--burg); color: #fff; padding: 72px 0 0; text-align: center; isolation: isolate; }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: var(--paper); z-index: -1; }
.hero2 h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -.02em; color: #fff; }
.hero2 h1 span { display: block; }
.hero2 h1 .gold { color: var(--gold); }
.hero2-lead { margin: 22px auto 0; max-width: 58ch; font-size: 18.5px; color: #F3E7E9; }
.hero2 .btns { margin-top: 30px; }
.hero2-photo { margin-top: 48px; }
.hero2-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 22px; }
@media (max-width: 700px) {
  .hero2 { padding-top: 48px; }
  .hero2::after { height: 90px; }
  .hero2-lead { font-size: 17px; }
  .hero2 .btns .btn { width: 100%; }
  .hero2-photo { margin-top: 32px; }
  .hero2-photo img { aspect-ratio: 4 / 3; border-radius: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero2-in > * { animation: rise .7s var(--ease) both; }
  [data-enter] .hero2-in > :nth-child(2) { animation-delay: .1s; } [data-enter] .hero2-in > :nth-child(3) { animation-delay: .18s; }
  [data-enter] .hero2-photo { animation: settle 1.1s var(--ease) both .22s; }
}
.courses { padding-top: 64px; }

/* how it works */
.steps { background: var(--cream); }
.steps-row { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 22px; left: 16%; right: 16%; height: 2px; background: var(--line); }
.steps-row li { position: relative; text-align: center; }
.step-n { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: var(--burg); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 6px var(--cream); }
.steps-row h3 { margin-top: 16px; font-size: 21px; color: var(--burg); }
.steps-row p { margin: 8px auto 0; max-width: 32ch; color: var(--mute); }
.steps .btns { margin-top: 36px; }
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; gap: 26px; } .steps-row::before { display: none; } }

/* ready to start */
.ready-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.ready-main { background: var(--burg); color: #fff; border-radius: 22px; padding: 48px; }
.ready-main h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.ready-main p { margin: 14px 0 0; max-width: 52ch; color: #F3E7E9; font-size: 17px; }
.ready-side { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 36px; display: flex; flex-direction: column; gap: 4px; }
.ready-side h3 { font-size: 24px; color: var(--burg); margin-bottom: 10px; }
.ready-side a, .ready-side span { padding: 7px 0; text-decoration: none; font-size: 16.5px; }
.ready-side a { font-weight: 600; color: var(--burg); }
.ready-side a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ready-side span { color: var(--mute); }
@media (max-width: 860px) { .ready-grid { grid-template-columns: 1fr; } .ready-main { padding: 32px 24px; } .ready-side { padding: 28px 24px; } }

.stars { position: relative; }
.stars-off { display: inline-flex; color: rgba(255, 255, 255, .32); }
.stars-on { position: absolute; left: 0; top: 0; display: inline-flex; width: 88%; overflow: hidden; white-space: nowrap; }
.stars-on svg { flex: none; }
