/* Snowdrop Care and Training: rebrand preview by Care Operation.
   Brand: the logo's deep teal-blue, with hi-vis amber for actions (construction, safety); Sora + Manrope. */
:root {
  --royal: #05628a; --royal-2: #0a7fae; --night: #062b3c; --night-2: #0b3d54; --amber: #ffb81c; --amber-2: #ffd166; --amber-ink: #1d1400;
  --ink: #0c2230; --muted: #4c6472; --paper: #f5f9fb; --paper2: #e9f2f6; --line: #d5e4ea; --white: #fff;
  --serif: "Sora", system-ui, sans-serif; --sans: "Manrope", system-ui, sans-serif;
  --r: 22px; --r-sm: 14px; --shadow: 0 24px 60px -28px rgba(6, 43, 60, .45); --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px; --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--royal); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.shead { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.shead p { color: var(--muted); font-size: 1.1rem; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: 10px 16px; background: var(--amber); color: var(--amber-ink); border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.pvbar { margin: 0; padding: 7px var(--pad); text-align: center; font-size: 13px; font-weight: 600; background: var(--night); color: #cfe6ef; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .93rem; }
.btn--amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 10px 26px -12px rgba(255, 184, 28, .9); }
.btn--amber:hover { background: var(--amber-2); transform: translateY(-2px); }
.btn--blue { background: var(--royal); color: #fff; }
.btn--blue:hover { background: var(--royal-2); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--line { background: transparent; color: var(--royal); border-color: var(--line); }
.btn--line:hover { border-color: var(--royal); }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.lnk .ic { width: 16px; height: 16px; }

/* intro: the snowdrop draws itself, then the word mark rises */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 500; background: radial-gradient(circle at 50% 40%, var(--night-2), var(--night) 70%); color: #fff;
  animation: introOut .8s 2.3s var(--ease) forwards; }
.intro__in { display: grid; justify-items: center; gap: 18px; }
.intro .mark { width: 92px; height: auto; }
.intro .mk { stroke: #9fdcf3; }
.intro .mk--leaf { stroke: var(--amber); }
.intro .mk { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.4s .15s var(--ease) forwards; }
.intro .mk--in { animation-delay: .45s; }
.intro .mk--leaf { animation-delay: .75s; }
.intro__word { display: grid; justify-items: center; margin: 0; opacity: 0; transform: translateY(10px); animation: rise .7s 1.15s var(--ease) forwards; }
.intro__word b { font: 800 clamp(1.8rem, 5vw, 2.6rem)/1 var(--serif); letter-spacing: .08em; }
.intro__word span { font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; opacity: .8; margin-top: 6px; }
.intro__bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.intro__bar i { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left; animation: bar 2.1s .1s linear forwards; transform: scaleX(0); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* logo mark and word mark */
.mark { width: 34px; height: auto; overflow: visible; }
.mk { fill: none; stroke: var(--royal); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--royal); margin-right: auto; min-width: 0; }
.word { display: grid; line-height: 1; }
.word b { font: 800 1.35rem/1 var(--serif); letter-spacing: .04em; }
.word small { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); margin-top: 4px; white-space: nowrap; }
.brand:hover .mk--leaf { animation: nod .7s var(--ease); transform-origin: 50% 90%; }
@keyframes nod { 40% { transform: rotate(-6deg); } 70% { transform: rotate(4deg); } }
.brand--light, .brand--light .word small { color: #fff; }
.brand--light .mk { stroke: #9fdcf3; }
.brand--light .mk--leaf { stroke: var(--amber); }

/* header: a floating glass dock */
.hd { position: sticky; top: 10px; z-index: 100; padding: 0 var(--pad); margin-top: 10px; }
.hd__in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 14px 40px -20px rgba(6, 43, 60, .45); transition: padding .3s var(--ease); }
.hd.is-scrolled .hd__in { padding-block: 6px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; display: flex; align-items: center; }
.nav a { padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .96rem; }
.nav a:hover, .nav a[aria-current] { color: var(--royal); background: var(--paper2); }
.mega__t { border: 0; background: none; padding: 6px; margin-left: -10px; color: var(--muted); cursor: pointer; border-radius: 8px; }
.mega__t .ic { width: 16px; height: 16px; transition: transform .25s; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(640px, 90vw); padding: 14px; border-radius: 22px; background: #fff; box-shadow: var(--shadow);
  border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translate(-30%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-30%, 0); }
.has-mega.is-open .mega__t .ic { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega__it { display: flex !important; gap: 12px; align-items: center; padding: 10px 12px !important; }
.mega__it .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--paper2); color: var(--royal); }
.mega__it span { display: grid; }
.mega__it small { color: var(--muted); font-weight: 500; }
.mega__all { display: flex !important; justify-content: center; gap: 8px; align-items: center; margin-top: 8px; background: var(--paper2); }
.hd__act { display: flex; align-items: center; gap: 10px; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--royal); white-space: nowrap; }
.hd__menu { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; color: var(--ink); }
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(6, 43, 60, .55); }
.drawer[hidden] { display: none; }
.drawer__in { position: absolute; inset: 0 0 0 auto; width: min(380px, 88vw); padding: 24px; background: var(--night); color: #fff; display: grid; align-content: start; gap: 18px;
  animation: slideIn .35s var(--ease); overflow-y: auto; }
.drawer__in nav { display: grid; gap: 4px; }
.drawer__in nav a { color: #fff; text-decoration: none; font: 700 1.3rem var(--serif); padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer__x { justify-self: end; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer__cta { display: grid; gap: 10px; }
@keyframes slideIn { from { transform: translateX(100%); } }
@media (max-width: 1080px) { .nav, .hd__tel span { display: none; } .hd__menu { display: grid; } }
@media (max-width: 560px) { .hd__act .btn { display: none; } .word b { font-size: 1.15rem; } .word small { letter-spacing: .2em; } }

/* hero */
.hero { position: relative; margin-top: -84px; padding: 150px 0 100px; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 20% 20%, #0d4c68 0%, transparent 60%), radial-gradient(60% 60% at 90% 80%, #0a5b7f 0%, transparent 60%), var(--night); }
.hero__bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: float 14s ease-in-out infinite alternate; }
.hero__bg i:nth-child(1) { width: 380px; height: 380px; left: -80px; top: 30%; background: #0a7fae; }
.hero__bg i:nth-child(2) { width: 280px; height: 280px; right: 10%; top: -60px; background: rgba(255, 184, 28, .35); animation-duration: 18s; }
.hero__bg i:nth-child(3) { width: 220px; height: 220px; right: 30%; bottom: -80px; background: #1aa0c8; animation-duration: 11s; }
@keyframes float { to { transform: translate(40px, -30px) scale(1.1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__k { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: .9rem; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--amber), #ffe08a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #cfe3ec; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.hf { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px);
  animation: rise .7s calc(.25s + var(--i) * .1s) var(--ease) both; opacity: 0; transform: translateY(10px); }
.hf .ic { color: var(--amber); width: 22px; height: 22px; }
.hf span { display: grid; line-height: 1.25; }
.hf small { color: #a9c8d6; }
.hero__art { position: relative; aspect-ratio: 1 / .95; transition: transform .4s var(--ease); }
.ha { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .15); }
.ha img { width: 100%; height: 100%; object-fit: cover; }
.ha--1 { inset: 0 18% 18% 0; animation: rise 1s .2s var(--ease) both; }
.ha--2 { width: 42%; aspect-ratio: 4 / 3; right: 0; top: 8%; animation: rise 1s .4s var(--ease) both, bob 7s 1.4s ease-in-out infinite alternate; }
.ha--3 { width: 38%; aspect-ratio: 4 / 3; right: 6%; bottom: 0; animation: rise 1s .55s var(--ease) both, bob 8s 1.6s ease-in-out infinite alternate-reverse; }
.ha--card { left: 4%; bottom: 2%; width: 40%; padding: 8px; background: rgba(255, 255, 255, .92); animation: rise 1s .7s var(--ease) both, bob 6s 1.8s ease-in-out infinite alternate; }
.ha--card img { border-radius: 18px; }
@keyframes bob { to { transform: translateY(-12px); } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding-top: 130px; } .hero__art { max-width: 560px; } }
@media (max-width: 480px) { .hero__facts { grid-template-columns: 1fr; } .hero__btns .btn { flex: 1 1 100%; } }

/* accreditation marquee */
.trust { padding: 36px 0; background: #fff; border-bottom: 1px solid var(--line); }
.trust__in { display: grid; gap: 14px; justify-items: center; text-align: center; }
.trust__k { margin: 0; font-weight: 800; color: var(--royal); font-size: .95rem; }
.trust__bodies { margin: 0; color: var(--muted); font-size: .95rem; }
.marq { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marq__row { display: flex; gap: 48px; width: max-content; list-style: none; margin: 0; padding: 6px 0; animation: marq 32s linear infinite; }
.marq__row li { flex: none; height: 70px; display: grid; place-items: center; }
.marq__row img { max-height: 64px; width: auto; filter: grayscale(.2); }
.marq:hover .marq__row { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* CSCS steps and the deal */
.cscs { background: var(--paper); }
.cscs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--royal), var(--amber)); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 18px 20px 18px 0; }
.step__n { grid-row: span 2; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font: 800 1.4rem var(--serif); color: #fff; background: var(--royal); box-shadow: 0 10px 24px -12px var(--royal); z-index: 1; }
.step h3 { margin: 4px 0 2px; }
.step p { margin: 0; color: var(--muted); }
.deal { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--night); color: #fff; box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.deal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(255, 184, 28, .28), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(10, 127, 174, .5), transparent 60%); }
.deal__pic { position: absolute; right: -30px; top: -30px; width: 190px; opacity: .9; transform: rotate(14deg); }
.deal__helmet { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
.deal__k { display: inline-flex; gap: 8px; align-items: center; color: var(--amber); font-weight: 800; margin: 0 0 6px; }
.deal h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; max-width: 70%; }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--amber); margin-top: 3px; }
.deal__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.deal__facts span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: .9rem; }
.deal__facts .ic { width: 16px; height: 16px; color: var(--amber); }
.deal__gift { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 184, 28, .14); border: 1px dashed rgba(255, 184, 28, .6); font-size: .95rem; color: #e7f1f5; }
.deal__gift .ic { color: var(--amber); }
@media (max-width: 900px) { .cscs__grid { grid-template-columns: 1fr; } }

/* glass course carousel: tune the studio carousel to this brand */
.cf-sec .cf-card { --cw: min(400px, 80vw); }
.cf-sec .cf-tag .ic, .cf-sec .cf-pill .ic, .cf-sec .cf-more .ic { width: 16px; height: 16px; }

/* course finder */
.finder { background: #fff; }
.finder__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 .97rem var(--sans); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--royal); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }
.finder__box { padding: 22px; border-radius: 26px; background: var(--paper2); }
.finder__h { font-weight: 800; color: var(--royal); margin-bottom: 12px; }
.finder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.finder__list li { display: grid; grid-template-columns: 48px 1fr 44px; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 6px 20px -16px rgba(6, 43, 60, .5);
  transition: opacity .3s, transform .35s var(--ease); }
.finder__list li.is-off { display: none; }
.finder__list li.is-in { animation: rise .45s var(--ease) both; }
.fi__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--royal); color: #fff; }
.finder__list li span { display: grid; min-width: 0; }
.finder__list small { color: var(--muted); }
.finder__list a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); }
@media (max-width: 900px) { .finder__grid { grid-template-columns: 1fr; } }

/* languages */
.langs { background: var(--paper); }
.langs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.langs__pic { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.langs__pic img { width: 100%; height: 100%; object-fit: cover; }
.langs__badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); font-weight: 700; }
.langs__badge b { font: 800 1.4rem var(--serif); color: var(--royal); }
.langs__k { font-weight: 800; margin: 18px 0 10px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--royal); color: #fff; font-weight: 700; font-size: .93rem; }
.tags--soft li { background: #fff; color: var(--royal); border: 1px solid var(--line); }
.tags--area li { background: #fff; color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 900px) { .langs__grid { grid-template-columns: 1fr; } }

/* testimonials: a slow moving rail */
.voices { background: var(--night); color: #fff; overflow: hidden; }
.voices .shead p { color: #a9c8d6; }
.voices__rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.voices__track { display: flex; gap: 18px; width: max-content; padding: 6px 0 10px; animation: marq 80s linear infinite; }
.voices__rail:hover .voices__track, .voices__rail:focus-within .voices__track { animation-play-state: paused; }
.qt { margin: 0; flex: none; width: min(380px, 80vw); padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 12px; align-content: start; }
.qt__m .ic { color: var(--amber); width: 28px; height: 28px; }
.qt blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.qt figcaption { display: grid; font-size: .9rem; color: #a9c8d6; }
.qt figcaption b { color: #fff; font-size: 1rem; }

/* employers */
.emp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 26px; }
.ticks--two .ic { color: var(--royal); }
.emp__pics { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.emp__pics figure { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.emp__pics img { width: 100%; height: 100%; object-fit: cover; }
.emp__a { aspect-ratio: 4 / 5; }
.emp__b { aspect-ratio: 4 / 4.6; transform: translateY(-40px); }
.emp__pics img.emp__partners { height: auto; }
.emp__partners { grid-column: 1 / -1; width: 100%; max-width: 520px; justify-self: center; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
@media (max-width: 900px) { .emp__grid { grid-template-columns: 1fr; } .ticks--two { grid-template-columns: 1fr; } }

/* booking form */
.book { background: linear-gradient(180deg, var(--paper2), var(--paper)); }
.book__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.mini { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.mini li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.mini b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); }
.book__alt { color: var(--muted); }
.form { padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.form legend { font-weight: 800; margin-bottom: 10px; font-size: 1.05rem; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .93rem; }
.field input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--line); font: inherit; background: var(--paper); }
.field input:focus { border-color: var(--royal); outline: none; box-shadow: 0 0 0 4px rgba(5, 98, 138, .15); }
.form__note { margin: 0; color: var(--muted); font-size: .9rem; }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

/* contact and map */
.reach__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.reach__card { padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--night); color: #fff; }
.reach__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.reach__list li { display: flex; gap: 14px; }
.reach__list .ic { color: var(--amber); margin-top: 3px; }
.reach__list span { display: grid; }
.reach__list b { font-size: .85rem; color: #a9c8d6; font-weight: 700; }
.reach__list a { color: #fff; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.reach__map { position: relative; border-radius: 28px; overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: radial-gradient(circle at 50% 45%, rgba(255, 184, 28, .35) 0 10px, transparent 11px), repeating-linear-gradient(0deg, transparent 0 46px, rgba(5, 98, 138, .08) 46px 48px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(5, 98, 138, .08) 46px 48px), var(--paper2); }
.reach__map::before { content: attr(data-addr); position: absolute; left: 50%; top: calc(45% + 24px); transform: translateX(-50%); font-weight: 800; color: var(--royal); white-space: nowrap; }
.reach__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reach__map .btn { position: absolute; right: 16px; bottom: 16px; }
@media (max-width: 900px) { .reach__grid { grid-template-columns: 1fr; } }

/* sub-page hero */
.sub { position: relative; margin-top: -84px; padding: 170px 0 80px; color: #fff; isolation: isolate; overflow: hidden; }
.sub__bg { position: absolute; inset: 0; z-index: -1; }
.sub__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: zoom 12s ease-out forwards; }
.sub__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 43, 60, .94) 25%, rgba(6, 43, 60, .55) 75%, rgba(6, 43, 60, .3)); }
@keyframes zoom { to { transform: scale(1); } }
.sub__k { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: .9rem; }
.sub .lead { color: #d3e6ee; }

/* courses page */
.jump { position: sticky; top: 84px; z-index: 50; padding: 10px 0; background: rgba(245, 249, 251, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jump__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; font-size: .93rem; }
.jump a .ic { width: 18px; height: 18px; color: var(--royal); }
.courses { display: grid; gap: clamp(22px, 3vw, 34px); padding: clamp(40px, 6vw, 80px) 0; }
.course { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 160px; }
.course__pic { position: relative; min-height: 260px; }
.course__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course__ic { position: absolute; left: 18px; top: 18px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); }
.course__body { padding: clamp(22px, 3vw, 36px); }
.course__tag { color: var(--royal); font-weight: 800; margin-bottom: 4px; }
.clist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.clist li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.clist span { display: grid; min-width: 0; }
.clist small { color: var(--muted); }
@media (max-width: 900px) { .course { grid-template-columns: 1fr; } .course__pic { min-height: 220px; } }
@media (max-width: 520px) { .clist li { flex-direction: column; align-items: stretch; } .clist .btn { justify-self: start; align-self: flex-start; } }

/* options, story, services */
.opts__grid, .svcs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.opt, .svc { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.opt:hover, .svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.opt__k { color: var(--royal); font-weight: 800; margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.opt--best { background: var(--night); color: #fff; border-color: transparent; }
.opt--best .opt__k { color: var(--amber); }
.opt .btn { justify-self: start; margin-top: 8px; }
.svc__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--paper2); color: var(--royal); }
.svc__ic .ic { width: 26px; height: 26px; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.story__pic { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.story__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; } }

/* call to action and footer */
.cta { padding: 0 0 clamp(50px, 7vw, 90px); }
.cta__in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px;
  background: linear-gradient(110deg, var(--royal), var(--night)); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta__in::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 184, 28, .25); filter: blur(30px); }
.cta__in h2 { margin-bottom: .3em; }
.cta__in p { margin: 0; color: #d3e6ee; max-width: 52ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.ft { background: var(--night); color: #cfe3ec; padding: 64px 0 28px; }
.ft__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ft h3 { color: #fff; font-size: 1rem; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft a { color: #cfe3ec; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__brand p { margin-top: 16px; max-width: 34ch; }
.ft__c li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.ft__c .ic { color: var(--amber); margin-top: 3px; }
.ft__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 6px; font-size: .85rem; }
.ft__base p { margin: 0; }
.ft__cred { opacity: .75; }
@media (max-width: 900px) { .ft__grid { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft__grid { grid-template-columns: 1fr; } }

/* reveal on scroll (visible without script) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .08s); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .intro-on .intro { display: none; }
  .hf, .ha { opacity: 1; transform: none; }
}

/* =================== rework (owner, 19 Nov): photo hero, photo cards, compact booking, Angels map and footer */
/* home hero: the site photo behind a deep blue gradient, same style as the page heroes */
.hero { padding: 170px 0 110px; min-height: min(92vh, 900px); display: grid; align-items: center; }
.hero__bg { background: var(--night); }
.hero__bg .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: zoom 14s ease-out forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 43, 60, .96) 0%, rgba(6, 43, 60, .86) 42%, rgba(6, 43, 60, .45) 75%, rgba(6, 43, 60, .25)), linear-gradient(0deg, rgba(6, 43, 60, .8), transparent 40%); }
.hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero__side { display: grid; gap: 14px; justify-items: end; }
.hcard { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .75); animation: rise .9s var(--ease) both; }
.hcard--photo { width: min(320px, 80%); padding: 8px; background: rgba(255, 255, 255, .92); animation-delay: .35s; transform: rotate(-3deg); }
.hcard--photo img { border-radius: 16px; }
.hcard--deal { width: min(380px, 100%); padding: 22px; display: grid; gap: 6px; color: #fff; text-decoration: none; background: rgba(6, 43, 60, .55); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation-delay: .5s; transition: transform .3s var(--ease), background .3s; }
.hcard--deal:hover { transform: translateY(-4px); background: rgba(6, 43, 60, .72); }
.hcard__k { display: inline-flex; gap: 6px; align-items: center; color: var(--amber); font-weight: 800; font-size: .9rem; }
.hcard--deal b { font: 800 1.5rem var(--serif); }
.hcard--deal > span:not(.hcard__k):not(.hcard__go) { color: #cfe3ec; }
.hcard__go { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; color: var(--amber); margin-top: 4px; }
.hcard--mini { display: flex; gap: 12px; align-items: center; padding: 8px 16px 8px 8px; background: rgba(255, 255, 255, .92); color: var(--ink); animation-delay: .65s; }
.hcard--mini img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.hcard--mini span { display: grid; line-height: 1.25; }
.hcard--mini small { color: var(--muted); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .35); animation: bob 2s ease-in-out infinite alternate; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__side { justify-items: start; grid-template-columns: 1fr; } .hcard--photo { display: none; } .hero { min-height: 0; } }

/* photo cards: any card can carry a photo under a deep blue gradient */
.pcard { position: relative; isolation: isolate; overflow: hidden; color: #fff; border: 0; }
.pcard__bg { position: absolute; inset: 0; z-index: -1; }
.pcard__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(6, 43, 60, .55) 0%, rgba(6, 43, 60, .88) 50%, rgba(6, 43, 60, .97) 100%), linear-gradient(120deg, rgba(10, 127, 174, .35), transparent 60%); }
.pcard:hover .pcard__bg img { transform: scale(1.07); }
.opt.pcard, .svc.pcard { min-height: 300px; align-content: end; background: var(--night); }
.opt.pcard p, .svc.pcard p { color: #d3e6ee; }
.opt.pcard .opt__k { color: var(--amber); }
.opt.pcard .btn--line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.opt--best.pcard .pcard__bg::after { background: linear-gradient(170deg, rgba(6, 43, 60, .35) 0%, rgba(6, 43, 60, .85) 55%, rgba(6, 43, 60, .97)), linear-gradient(120deg, rgba(255, 184, 28, .35), transparent 60%); }
.opt--best.pcard { outline: 2px solid var(--amber); outline-offset: -2px; }
.svc.pcard .svc__ic { background: var(--amber); color: var(--amber-ink); }
.svc.pcard .lnk { color: var(--amber); }
.deal__bg { position: absolute; inset: 0; z-index: -2; }
.deal__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }

/* course finder: photo thumbnails */
.fi__ic { position: relative; overflow: hidden; background: var(--night) !important; }
.fi__ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.fi__ic .ic { position: relative; color: #fff; }
.finder__box { background: linear-gradient(160deg, var(--paper2), #fff); }

/* compact booking: photo panel left, a two-column form right */
.book.sec { padding: clamp(48px, 6vw, 80px) 0; }
.book__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: stretch; gap: 20px; }
.book__panel { border-radius: 28px; display: flex; }
.pcard__in { position: relative; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; width: 100%; }
.pcard__k { color: var(--amber); font-weight: 800; margin: 0 0 8px; }
.book__panel p { color: #d3e6ee; }
.book__panel .mini { margin: 6px 0 18px; }
.book__panel .mini li { color: #fff; }
.book__alt { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.book__alt a { color: #fff; font-weight: 800; }
.book__alt .ic { color: var(--amber); }
.book .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; padding: clamp(18px, 2.4vw, 28px); align-content: start; }
.form__full { grid-column: 1 / -1; }
.form legend { margin-bottom: 8px; font-size: 1rem; }
.form legend small { color: var(--muted); font-weight: 600; }
.chips--sm { gap: 8px; }
.chips--sm .chip { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field input { min-height: 46px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form__foot .form__note { flex: 1 1 260px; }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } .book__panel { min-height: 320px; } }
@media (max-width: 640px) { .book .form { grid-template-columns: 1fr; } .row--3 { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* map band (Angels style): the map full width with a floating glass card */
.xmap { position: relative; height: clamp(420px, 46vw, 540px); background: var(--paper2); overflow: clip; }
.xmap__frame { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 40% 50%, rgba(255, 184, 28, .4) 0 10px, transparent 11px), repeating-linear-gradient(0deg, transparent 0 46px, rgba(5, 98, 138, .08) 46px 48px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(5, 98, 138, .08) 46px 48px), var(--paper2); }
.xmap__frame iframe { position: absolute; inset: 0 0 auto 0; width: 100%; height: calc(100% + 34px); border: 0; filter: saturate(.8) contrast(1.03); }
.xmap__card { position: absolute; right: max(20px, (100vw - var(--wrap)) / 2); top: 50%; translate: 0 -50%; width: min(420px, calc(100% - 40px)); padding: 30px; border-radius: 28px;
  background: rgba(6, 43, 60, .93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #cfe3ec; box-shadow: var(--shadow); }
.xmap__card h2 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: 8px; }
.xmap__k { display: inline-flex; gap: 6px; align-items: center; color: var(--amber); font-weight: 800; margin: 0 0 8px; }
.xmap__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.xmap__list li { display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.xmap__list .ic { color: var(--amber); }
.xmap__list a { color: #fff; font-weight: 700; }
.xmap__card .hours li { padding: 7px 0; font-size: .95rem; }
.xmap__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 720px) { .xmap { height: auto; display: flex; flex-direction: column; } .xmap__frame { position: relative; height: 300px; } .xmap__card { position: relative; right: auto; top: auto; translate: none; width: auto; margin: -50px 16px 24px; } }

/* footer (Angels style): photo CTA card, three cards, base row */
.xf { background: var(--night); color: #a9c3d1; padding: 0 0 20px; }
.xf__wrap { padding: clamp(20px, 3vw, 40px) clamp(12px, 2.4vw, 36px) 0; }
.xf__cta { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: end;
  padding: clamp(32px, 5vw, 76px); border-radius: 32px; color: #fff; }
.xf__cta::before { content: ""; position: absolute; inset: 0 32px auto; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, var(--amber) 12%, var(--amber) 88%, transparent); }
.xf__bg { position: absolute; inset: 0; z-index: -1; }
.xf__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; }
.xf__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 98, 138, .97) 0%, rgba(6, 43, 60, .9) 38%, rgba(6, 43, 60, .55) 68%, rgba(6, 43, 60, .3) 100%); }
.xf__k { color: var(--amber); font-weight: 800; margin: 0 0 12px; }
.xf__cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 16ch; margin-bottom: 14px; }
.xf__cta h2 em { display: block; font-style: normal; color: var(--amber); }
.xf__copy > p:not(.xf__k) { color: #d3e6ee; max-width: 50ch; font-size: 1.05rem; }
.xf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.xf__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xf__steps li { display: flex; gap: 14px; align-items: center; padding: 15px 20px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); font-weight: 700; color: #fff; transition: transform .4s var(--ease), background .3s; }
.xf__steps li:hover { transform: translateX(-6px); background: rgba(255, 255, 255, .16); }
.xf__steps b { color: var(--amber); font-size: .9rem; }
.xf__grid { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 16px; margin-top: 16px; }
.xf__card { padding: 28px; border-radius: 26px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.xf__tag { margin: 18px 0 12px; color: #fff; font-size: 1.05rem; line-height: 1.5; }
.xf__bodies { font-size: .88rem; margin: 0; }
.xf__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xf__col h3, .xf__talk h3 { font: 800 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.xf__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xf__col a { display: inline-flex; align-items: center; gap: 6px; color: #a9c3d1; text-decoration: none; transition: color .3s; }
.xf__ar { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.xf__col a:hover { color: #fff; }
.xf__col a:hover .xf__ar { opacity: 1; transform: none; }
.xf__talk { display: grid; align-content: start; gap: 6px; }
.xf__big { font: 800 1.7rem var(--serif); color: #fff; text-decoration: none; }
.xf__small { color: #cfe3ec; }
.xf__mail { color: var(--amber-2); font-weight: 700; overflow-wrap: anywhere; text-decoration: none; margin-top: 4px; }
.xf__addr { display: flex; gap: 8px; margin: 4px 0 0; font-size: .95rem; }
.xf__addr .ic { width: 18px; color: var(--amber); }
.xf__top { justify-self: start; margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff; font: 700 .95rem var(--sans); cursor: pointer; }
.xf__up { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); transform: rotate(180deg); transition: transform .4s var(--ease); }
.xf__top:hover .xf__up { transform: rotate(180deg) translateY(3px); }
.xf__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; padding: 20px 6px 6px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.xf__base p { margin: 0; }
.xf__base a { color: #cfe3ec; }
.xf__dev { color: var(--amber) !important; font-weight: 800; }
.xf__cred { opacity: .75; max-width: 70ch; }
@media (max-width: 1020px) { .xf__cta { grid-template-columns: 1fr; } .xf__bg::after { background: linear-gradient(180deg, rgba(6, 43, 60, .95), rgba(6, 43, 60, .8)); } .xf__grid { grid-template-columns: 1fr 1fr; } .xf__cols { grid-column: 1 / -1; order: 3; } }
@media (max-width: 640px) { .xf__grid, .xf__cols { grid-template-columns: 1fr; } .xf__cta { padding: 32px 22px; border-radius: 26px; } }

/* emails always stay on one line */
.xf__mail, .xmap__list a[href^="mailto"], .ft__c a[href^="mailto"] { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
.xf__mail { font-size: clamp(13px, 1.02vw, 15.5px); letter-spacing: -.01em; }
.xmap__list li { overflow-wrap: normal; }
.xmap__list a[href^="mailto"] { font-size: clamp(13.5px, 1.1vw, 15.5px); }

/* richer mega menu: icon tiles and a featured photo card */
.mega { width: min(860px, 92vw); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; padding: 16px; transform: translate(-36%, 8px); }
.has-mega:hover .mega, .has-mega.is-open .mega { transform: translate(-36%, 0); }
.mega__h { display: flex; gap: 8px; align-items: center; margin: 4px 8px 10px; font-weight: 800; color: var(--royal); font-size: .9rem; }
.mega__h .ic { width: 18px; height: 18px; }
.mega__it { border-radius: 14px; transition: background .2s, transform .2s var(--ease); }
.mega__it:hover { background: var(--paper2) !important; transform: translateX(3px); }
.mega__it .ic { background: linear-gradient(140deg, var(--royal), var(--night-2)); color: #fff; transition: background .2s; }
.mega__it:hover .ic { background: linear-gradient(140deg, var(--amber), #ff9d00); color: var(--amber-ink); }
.mega__feat { position: relative; isolation: isolate; overflow: hidden; display: flex !important; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 100%; padding: 20px !important;
  border-radius: 18px !important; color: #fff !important; background: var(--night) !important; text-decoration: none; }
.mega__fbg { position: absolute; inset: 0; z-index: -1; }
.mega__fbg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__fbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 43, 60, .2), rgba(6, 43, 60, .92) 60%); }
.mega__feat:hover .mega__fbg img { transform: scale(1.06); }
.mega__fk { display: inline-flex; gap: 6px; align-items: center; color: var(--amber); font-weight: 800; font-size: .85rem; }
.mega__fk .ic { width: 16px; height: 16px; }
.mega__feat b { font: 800 1.25rem var(--serif); }
.mega__feat > span:not(.mega__fk):not(.mega__fgo):not(.mega__fbg) { font-weight: 500; color: #d3e6ee; font-size: .9rem; }
.mega__fgo { display: inline-flex; gap: 6px; align-items: center; color: var(--amber); font-weight: 800; font-size: .9rem; }
.mega__fgo .ic { width: 16px; height: 16px; }

/* phone menu with icons and a courses list */
.dnav a, .dnav summary { display: flex !important; align-items: center; gap: 12px; }
.dnav > a .ic, .dnav summary > .ic:first-child { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--amber); }
.dnav__sub summary { list-style: none; cursor: pointer; color: #fff; font: 700 1.3rem var(--serif); padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dnav__sub summary::-webkit-details-marker { display: none; }
.dnav__car { margin-left: auto; transition: transform .25s; }
.dnav__sub[open] .dnav__car { transform: rotate(180deg); }
.dnav__sub > div { display: grid; gap: 2px; padding: 8px 0 8px 10px; }
.dnav__sub > div a { font: 600 1rem var(--sans) !important; border: 0 !important; padding: 8px 4px !important; }
.dnav__sub > div a .ic { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #9fdcf3; flex: none; }
.dnav__sub > div a span { display: grid; line-height: 1.2; }
.dnav__sub > div small { color: #a9c3d1; font-weight: 500; font-size: .8rem; }
