:root {
  --red: #e8203a;
  --orange: #f7931e;
  --yellow: #f9d648;
  --teal: #25b8a6;
  --blue: #1d4f9c;
  --purple: #8a3fc7;
  --grad: linear-gradient(100deg, var(--red), var(--orange) 28%, var(--yellow) 50%, var(--teal) 74%, var(--blue));
  --ink: #12101a;
  --cream: #fff7ea;
  --paper: #fffdf8;
  --text: #1c1a24;
  --muted: #6c6878;
  --line: rgba(18, 16, 26, 0.09);
  --radius: 24px;
  --font: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3, h5 { margin: 0; letter-spacing: -0.03em; font-weight: 800; }
.wrap { width: min(1680px, 100% - clamp(32px, 7vw, 160px)); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.head.center { display: block; text-align: center; }
.head h2 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.08; }
.head-note { max-width: 380px; margin: 0; color: var(--muted); line-height: 1.6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 15px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.25s, box-shadow 0.25s, background-position 0.6s; }
.btn:hover { transform: translateY(-3px); }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-grad { background: var(--grad); background-size: 200% 100%; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 12px 30px -12px rgba(232, 32, 58, 0.65); }
.btn-grad:hover { background-position: 100% 0; }
.btn-ghost { background: #fff; color: var(--text); border: 2px solid var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 16px; }

/* Nav */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1720px, 100% - clamp(24px, 5vw, 120px)); display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(0,0,0,.25); }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: #34313f; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { height: 44px; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 18px; height: 2px; background: #fff; transition: transform 0.25s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 150px 0 90px; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; z-index: -1; opacity: 0.55; will-change: transform; }
.b1 { width: 46vw; height: 46vw; left: -14vw; top: -18vw; background: radial-gradient(closest-side, #ffc6cf, transparent); animation: drift 16s ease-in-out infinite; }
.b2 { width: 40vw; height: 40vw; right: -10vw; top: 10%; background: radial-gradient(closest-side, #bdeee6, transparent); animation: drift 18s ease-in-out infinite reverse; }
.b3 { width: 34vw; height: 34vw; left: 30%; bottom: -20vw; background: radial-gradient(closest-side, #ffe49a, transparent); animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(4vw, 3vw) scale(1.08); } }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 100px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; margin: 0 0 26px; box-shadow: 0 6px 20px -12px rgba(0,0,0,.25); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #1fc77a; box-shadow: 0 0 0 0 rgba(31,199,122,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(31,199,122,0); } 100% { box-shadow: 0 0 0 0 rgba(31,199,122,0); } }
.hero h1 { font-size: clamp(42px, 6vw, 96px); line-height: 1.02; font-weight: 900; letter-spacing: -0.04em; }
.hero h1 .grad-text { background-size: 200% 100%; animation: shimmer 6s linear infinite; padding-bottom: 0.06em; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: #4a4656; max-width: 580px; margin: 26px 0 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(22px, 4vw, 54px); margin-top: 48px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: -0.03em; }
.hero-stats span { font-size: 14px; color: var(--muted); font-weight: 500; }

.hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: center; }
/* the student cut-outs already include their own white frame and soft shadow */
.card { position: absolute; will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: contain; }
.c1 { width: 52%; aspect-ratio: 1; left: 0; top: 8%; transform: rotate(-6deg); animation: bob 7s ease-in-out infinite; }
.c2 { width: 46%; aspect-ratio: 553 / 641; right: 2%; top: 0; transform: rotate(5deg); animation: bob 8s ease-in-out infinite reverse; }
.c3 { width: 44%; aspect-ratio: 404 / 500; left: 30%; bottom: 0; transform: rotate(-2deg); animation: bob 9s ease-in-out infinite; z-index: 2; }
@keyframes bob { 50% { translate: 0 -14px; } }
.chip { position: absolute; z-index: 3; will-change: transform; padding: 12px 18px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); animation: bob 6s ease-in-out infinite; }
.k1 { left: -4%; bottom: 26%; background: var(--yellow); }
.k2 { right: -2%; top: 52%; animation-delay: -2s; }
.k3 { left: 40%; top: -2%; background: var(--ink); color: #fff; animation-delay: -4s; }
.k4 { right: 4%; bottom: 4%; background: var(--teal); color: #fff; animation-delay: -1s; }

/* Jump strip */
.strip { overflow: hidden; background: var(--ink); padding: 14px 0; transform: rotate(-1.2deg); margin: -16px -2vw 0; position: relative; z-index: 2; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.strip-track { display: flex; width: max-content; animation: slide 40s linear infinite; will-change: transform; }
.strip-track img { height: clamp(110px, 12vw, 180px); width: auto; border-radius: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* About */
.about { padding: 130px 0 40px; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 120px); }
.about h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; position: sticky; top: 120px; }
.about-copy p { font-size: 17px; line-height: 1.8; color: #45414f; margin: 0 0 20px; }
.about-copy b { color: var(--text); }
.sectors { list-style: none; padding: 0; margin: 6px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.sectors li:hover { transform: translateY(-2px) rotate(-1deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.sectors li.more { background: var(--yellow); border-color: var(--yellow); }

.perks-sec { padding: 90px 0 120px; background: var(--paper); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: #ddd; }
/* source photos carry a printed caption along the bottom; crop it away and show our own */
.perk img { width: 100%; height: 124%; object-fit: cover; object-position: top; transition: transform 0.8s; }
.perk:hover img { transform: scale(1.06); }
.perk figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.95); font-weight: 700; font-size: 15px; line-height: 1.25; transition: transform 0.3s; }
.perk figcaption span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.perk:hover figcaption { transform: translateY(-4px); }

/* Launchpad */
.launch { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(28px, 3.2vw, 44px) 0; isolation: isolate; }
.launch-inner { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 22px); text-align: center; }
.stars { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 420px); z-index: -1; will-change: transform; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(2px 2px at 55% 30%, #ffe49a, transparent), radial-gradient(1px 1px at 75% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 90% 15%, #bdeee6, transparent), radial-gradient(1px 1px at 20% 90%, #fff, transparent), radial-gradient(1.5px 1.5px at 65% 85%, #ffc6cf, transparent); background-size: 420px 420px; animation: stars 30s linear infinite; opacity: 0.8; }
@keyframes stars { to { transform: translateY(-420px); } }
.launch::after { content: ""; position: absolute; left: 50%; bottom: -40%; width: 80%; height: 80%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(247,147,30,.35), transparent); z-index: -1; }
.rocket { display: inline-block; font-size: clamp(30px, 3vw, 44px); animation: lift 3.5s ease-in-out infinite; }
@keyframes lift { 50% { transform: translate(3px, -6px) rotate(4deg); } }
.launch h2 { font-size: clamp(20px, 2.4vw, 38px); line-height: 1.25; margin: 0; }

/* Departments */
.depts { padding: 130px 0; background: var(--cream); }
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dept { --x: 50%; --y: 50%; position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s; }
.dept::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--x) var(--y), color-mix(in srgb, var(--c) 85%, #fff), var(--c)); clip-path: circle(0% at var(--x) var(--y)); transition: clip-path 0.55s cubic-bezier(.2,.8,.2,1); }
.dept:hover { transform: translateY(-6px); color: #fff; border-color: transparent; box-shadow: 0 30px 50px -28px var(--c); }
.dept:hover::before { clip-path: circle(150% at var(--x) var(--y)); }
.dept-n { font-size: 15px; font-weight: 800; color: var(--c); transition: color 0.35s; }
.dept:hover .dept-n { color: rgba(255,255,255,.85); }
.dept-ico { position: absolute; top: 20px; right: 22px; font-size: 34px; transition: transform 0.4s; }
.dept:hover .dept-ico { transform: scale(1.2) rotate(-8deg); }
.dept h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; margin: auto 0 18px; letter-spacing: -0.02em; }
.dept-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.dept-cta b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 0.3s, background 0.3s, color 0.3s; }
.dept:hover .dept-cta b { background: #fff; color: var(--c); transform: translateX(4px); }

/* Ten years + business tiles: WordPress layout (10-years graphic + 3 tiles, then 5 tiles) */
.family { padding: 80px 0; background: var(--paper); }
.family-grid { display: grid; grid-template-columns: repeat(15, 1fr); gap: 20px; }
.ten { grid-column: span 6; display: grid; place-items: center; }
.ten img { width: 100%; }
/* tile images carry their own rounded border */
.vtile { grid-column: span 3; display: block; border-radius: 22px; transition: transform 0.35s, box-shadow 0.35s; }
.vtile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vtile:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 30px 50px -28px rgba(0,0,0,.4); }
.vtile.reveal.in { transition: opacity 0.9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform 0.35s, box-shadow 0.35s; }

/* Clients */
.clients { padding: 120px 0; background: #fff; overflow: hidden; }
.logo-marquee { overflow: hidden; margin-top: 18px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; gap: 18px; width: max-content; animation: slide 80s linear infinite; will-change: transform; }
.logo-marquee.reverse .logo-track { animation-direction: reverse; animation-duration: 90s; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-card { width: 132px; height: 132px; flex: none; display: grid; place-items: center; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.logo-card:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 16px 30px -18px rgba(0,0,0,.35); }
/* source logos carry a thin grey frame at the edge; oversize slightly so the card clips it */
.logo-card img { width: 106%; max-width: none; height: 106%; object-fit: cover; }

/* Final CTA */
.final { padding: 120px 0; background: var(--paper); }
.final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(70px, 8vw, 120px) 30px; border-radius: 40px; background: var(--yellow); isolation: isolate; }
.final-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.6), transparent 30%), radial-gradient(circle at 85% 80%, rgba(247,147,30,.5), transparent 35%); }
.final-card h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; }
.final-card .grad-text { background: linear-gradient(100deg, var(--red), var(--purple)); -webkit-background-clip: text; background-clip: text; }
.final-card p { font-size: 18px; font-weight: 600; margin: 16px 0 34px; }
.fc-img { position: absolute; width: clamp(140px, 16vw, 250px); z-index: -1; }
.fc1 { left: 5%; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.fc2 { right: 5%; top: 50%; transform: translateY(-50%) rotate(7deg); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 80px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.foot-logo { width: 220px; background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer h5 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer h5.mt { margin-top: 26px; }
.footer p { line-height: 1.7; margin: 0 0 12px; }
.footer b { color: #fff; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background 0.25s, transform 0.25s; }
.socials a:hover { background: var(--grad); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
/* bottom bar, as on the WordPress site: socials · copyright · small entity logos */
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.6); }
.foot-bottom .socials { margin: 0; }
.foot-bottom .copy { flex: 1; text-align: center; min-width: 240px; color: rgba(255,255,255,.8); }
.entity-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.entity-row a { display: block; height: 32px; opacity: 0.85; transition: opacity 0.2s, transform 0.2s; }
.entity-row a:hover { opacity: 1; transform: translateY(-2px); }
.entity-row img { height: 100%; width: auto; }

/* Floating apply button */
.fab { position: fixed; z-index: 40; right: 20px; bottom: 20px; height: 54px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.dept.reveal.in { transition: opacity 0.9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s, background 0.35s; }
.offscreen *, .offscreen *::before, .offscreen *::after, .offscreen.strip .strip-track { animation-play-state: paused !important; }

/* Responsive */
@media (max-width: 1100px) {
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .family-grid { grid-template-columns: repeat(4, 1fr); }
  .ten { grid-column: span 4; }
  .vtile { grid-column: span 1; }
  .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -16px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all 0.25s; }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 16px; border-radius: 14px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about h2 { position: static; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ten, .vtile { grid-column: span 1; }
  .ten { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .fc-img { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav { padding-left: 14px; }
  .nav-logo img { height: 34px; }
  .hero { padding: 115px 0 70px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .chip { font-size: 12px; padding: 9px 13px; }
  .launch-inner { flex-direction: column; gap: 8px; }
  .launch h2 span { display: block; }
  .about, .depts, .family, .clients, .final { padding: 80px 0; }
  .perks { gap: 12px; }
  .perks-sec { padding: 60px 0 80px; }
  .perk figcaption { left: 8px; right: 8px; bottom: 8px; padding: 10px; font-size: 12px; gap: 8px; }
  .perk figcaption span { width: 26px; height: 26px; font-size: 10px; }
  .dept-grid { gap: 10px; }
  .dept { min-height: 170px; padding: 18px; }
  .dept-ico { font-size: 26px; top: 14px; right: 14px; }
  .dept h3 { font-size: 16px; margin-bottom: 12px; }
  .dept-cta { font-size: 12px; }
  .dept-cta b { width: 24px; height: 24px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .entity-row { justify-content: center; }
  .logo-card { width: 104px; height: 104px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .final-card { border-radius: 28px; }
  .fab { left: 16px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
