/* ============================================================
   WDS premium layer (27 Nov 2026). Loaded LAST on every page, after the
   page's inline CSS and css/header.css. Owns what every page shares:
   tokens, page background, Register button, outline button, serif accent
   words, gold rules, footer, designer credit, scroll reveal.
   ============================================================ */
:root{--gold:#C98A3C;--gold-soft:#E7C9A5;--gold-deep:#8A4F17;--cream:#FFF8EE;--serif:"Cormorant Garamond",Georgia,serif}
:root{--ease:cubic-bezier(.16,1,.3,1);--primary-text:#0369A1}
.hero h1 em,.sec-head h2 span,.app-copy h2 span{font-family:var(--serif);font-style:italic;font-weight:600;font-size:1.16em;letter-spacing:-.01em}
.sec-head h2::after,.wds-reviews-title::after{content:"";display:block;width:64px;height:2px;margin-top:18px;background:linear-gradient(90deg,var(--gold),var(--gold-soft))}
.sec-head.center h2::after,.wds-reviews-title::after{margin-left:auto;margin-right:auto}
::selection{background:#FED7AA;color:#0C4A6E}

/* Serif italic accent word inside headings, with a short gold rule under section headings */
.hero h1 em,.sec-head h2 span,.app-copy h2 span,.page-hero h1 span,.page-hero h1 em{font-family:var(--serif);font-style:italic;font-weight:600;font-size:1.16em;letter-spacing:-.01em}
html{scrollbar-color:#0C4A6E #EEF4F8;scrollbar-width:thin}
body{background:#FFFDF8}

/* Outline button */
.btn-outline{border-width:1.5px;border-color:var(--deep);border-radius:14px;padding:17px 28px;font-family:Poppins,sans-serif;font-weight:600}
.btn-outline:hover{background:var(--deep);color:#fff}

/* Register: deep-orange gradient with a light top edge (white text 4.6:1 or better) */
.btn-register{background:linear-gradient(100deg,#0E7490,#0369A1 34%,#C2410C 67%,#047857) 0 0/300% 100%;animation:wds-code 9s ease-in-out infinite alternate;color:#fff;font-family:Poppins,sans-serif;font-weight:600;letter-spacing:.01em;border:0;border-radius:14px;padding:17px 30px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(124,36,4,.35),0 14px 28px -12px rgba(181,57,10,.7)}
.btn-register::after{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11 4l6 6-6 6-1.4-1.4L13.2 11H3V9h10.2L9.6 5.4z"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11 4l6 6-6 6-1.4-1.4L13.2 11H3V9h10.2L9.6 5.4z"/></svg>') center/contain no-repeat;transition:transform .3s var(--ease)}
.btn-register:hover{animation-play-state:paused;filter:brightness(1.08)}
/* the four course colours (2, 3, 4, 5 weeks) drifting across the button; every stop keeps white text at 5:1 or better */
@keyframes wds-code{to{background-position:100% 0}}
@media (prefers-reduced-motion: reduce){.btn-register,header .nav a.nav-btn,.mobile-nav a[href="register.html"]{background-size:100% 100%!important}}
.btn-register:hover::after{transform:translateX(4px)}

/* Header + mobile-menu Register: same premium orange (moves into css/header.css at rollout) */
header .nav a.nav-btn,header .nav .nav-btn,.mobile-nav a[href="register.html"]{background:linear-gradient(100deg,#0E7490,#0369A1 34%,#C2410C 67%,#047857) 0 0/300% 100%!important;animation:wds-code 9s ease-in-out infinite alternate;border:0!important;font-family:Poppins,sans-serif;font-weight:600!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 22px -12px rgba(181,57,10,.7)!important}
header .nav a.nav-btn:hover,header .nav .nav-btn:hover,.mobile-nav a[href="register.html"]:hover{background:linear-gradient(100deg,#0E7490,#0369A1 34%,#C2410C 67%,#047857) 0 0/300% 100%!important;animation-play-state:paused;filter:brightness(1.08)}

/* ---------- Footer ---------- */
.footer .wrap{margin:0 auto}
.footer{text-align:left;background:#083652;color:#B9D3E5;padding:44px 0 28px;font-size:14.5px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}
.footer h3{color:#fff;font-size:15px;font-weight:600;margin-bottom:12px}
.footer ul{list-style:none;display:grid;gap:8px}
.footer a{color:#D6E8F5;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-family:Poppins,sans-serif;font-weight:700;font-size:18px;color:#fff}
.footer-brand img{width:44px;height:44px;border-radius:8px;background:#fff}
.footer-base{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;font-size:13.5px}
.footer .designer a{color:var(--primary-2)}
.footer{border-top:2px solid var(--gold);padding-bottom:92px} /* room so the WhatsApp and Chat buttons never sit on the last line */
/* Designer credit: centred on its own line, serif italic in soft gold between two hairlines */
.footer-base{flex-direction:column;align-items:center;text-align:center;gap:18px}
.footer .designer{order:-1;display:flex;flex-direction:column;align-items:center;gap:4px;width:100%}
.footer .designer small{font-size:11.5px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:#C9DCEA}
.footer .designer a{font-family:var(--serif);font-style:italic;font-weight:600;font-size:30px;line-height:1.1;color:#F0D2A4;text-decoration:none;display:flex;align-items:center;gap:18px}
.footer .designer a::before,.footer .designer a::after{content:"";width:clamp(28px,8vw,72px);height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.footer .designer a::after{transform:scaleX(-1)}
.footer .designer a:hover{color:#fff;text-decoration:none}
@media(max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:span 2}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}

/* Scroll reveal: content is visible by default; the script adds .js-reveal only when it can run.
   Uses the separate `translate` property so it never fights the cards' own hover transform. */
.js-reveal .reveal{opacity:0;translate:0 64px;scale:.94;transition:opacity 1.1s var(--ease) var(--d,0ms),translate 1.1s var(--ease) var(--d,0ms),scale 1.1s var(--ease) var(--d,0ms),transform .28s var(--ease),box-shadow .28s}
.js-reveal .steps li.reveal{translate:-72px 0;scale:1}
.js-reveal .video-frame.reveal,.js-reveal .points.reveal,.js-reveal .closing-grid>div:last-child.reveal{translate:72px 0}
html.js-reveal .reveal.reveal.in{opacity:1;translate:0 0;scale:1} /* doubled class: must outrank the directional rules above */
@media (prefers-reduced-motion: reduce){.js-reveal .reveal{opacity:1;translate:none;scale:none}}

/* ----- Premium course cards (trial, 27 Nov). Each course keeps its own colour end to end:
   edge, top strip, price, ticks and Enroll button. Fonts and week pills are unchanged. ----- */
.t2{--b1:#0E7490;--b2:#155E75;--n:"2"} .t3{--b1:#0369A1;--b2:#075985;--n:"3"}
.t4{--b1:#D4470C;--b2:#B5390A;--n:"4"} .t5{--b1:#047857;--b2:#065F46;--n:"5"}
.cards{gap:24px}
.cards .card{border-radius:26px;border:1.5px solid color-mix(in srgb,var(--c) 42%,#fff);background:linear-gradient(180deg,var(--tint) 0,#fff 190px);box-shadow:0 1px 2px rgba(15,23,42,.04),0 26px 50px -32px var(--b2)}
.cards .card:hover{box-shadow:0 1px 2px rgba(15,23,42,.05),0 36px 64px -30px var(--b1)}
.cards .card .top{height:6px;background:linear-gradient(90deg,var(--c),var(--b1))}
.cards .card .cbody{position:relative;padding:28px 26px 26px}
.cards .card .cbody>*{position:relative}
.cards .card .cbody::before{content:var(--n);position:absolute;right:16px;top:44px;font-family:Poppins,sans-serif;font-weight:800;font-size:132px;line-height:.8;color:var(--c);opacity:.11;pointer-events:none}
.cards .card h3{font-size:24px}
.cards .price{font-size:38px;color:var(--b1);border-bottom:1px solid var(--gold-soft)}
.cards .feat li::after{background:var(--b1)}
.cards .feat li.no::after{background:none}
.cards .card .enroll{background:linear-gradient(180deg,var(--b1),var(--b2));border-radius:14px;padding:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 16px 28px -16px var(--b2)}
.cards .card .enroll:hover{background:linear-gradient(180deg,var(--b1),var(--b2));filter:brightness(1.1)}
.cards .card.popular{border:2px solid #34D399;box-shadow:0 0 0 6px rgba(52,211,153,.14),0 34px 64px -30px rgba(4,120,87,.7)}
.cards .badge{top:16px;right:16px;font-size:11px;font-weight:600;padding:5px 12px;background:linear-gradient(135deg,#C98A3C,#A8691F);box-shadow:0 8px 16px -8px rgba(138,79,23,.8)}

/* ----- Inner pages ----- */
.sec-head h2::after,.page-hero h1::after{margin-left:auto;margin-right:auto}
.page-hero{background:linear-gradient(180deg,#F0F9FF 0,#FFFDF8 100%)}
.page-hero h1::after{content:"";display:block;width:64px;height:2px;margin-top:18px;background:linear-gradient(90deg,var(--gold),var(--gold-soft))}
/* small labels above headings: gold lettering, no pill (matches the Office Location label) */
.eyebrow{background:none;padding:0;border-radius:0;font-size:11.5px;font-weight:700;letter-spacing:.2em;color:var(--gold-deep)}
/* orange action buttons: deeper gradient so white text reads (4.6:1 or better) */
.btn-cta,.download .dl-btn,.submit-btn:not(:disabled),.btn-submit:not(:disabled){background:linear-gradient(180deg,#D4470C 0,#B5390A 100%);color:#fff;font-family:Poppins,sans-serif;font-weight:600;border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 28px -14px rgba(181,57,10,.7)}
.btn-cta:hover,.download .dl-btn:hover,.submit-btn:not(:disabled):hover,.btn-submit:not(:disabled):hover{background:linear-gradient(180deg,#C2410C 0,#9F3108 100%)}
/* closing bands: pale sky with dark text, as on the homepage */
.cta-band,.download{background:linear-gradient(135deg,#D6EEFC 0,#EAF6FE 100%);color:#2F4C61;border-top:1px solid #C5E4F7}
.cta-band h2,.download h2{color:var(--deep,#0C4A6E)}
.cta-band p,.download p{color:#2F4C61}
