/* Modernized homepage (front page only). Builds on homepage.css. */
.su-hm-hero { position: relative; overflow: hidden; }
.su-hm-hero__grid { position: absolute; inset: 0; pointer-events: none; opacity: .18;
	background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
	background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.su-hm-hero__inner { position: relative; z-index: 1; }
.su-hm-rise { animation: su-hm-rise .7s ease both; }
.su-hm-rise:nth-child(2) { animation-delay: .08s; } .su-hm-rise:nth-child(3) { animation-delay: .16s; }
.su-hm-rise:nth-child(4) { animation-delay: .24s; } .su-hm-rise:nth-child(5) { animation-delay: .32s; }
@keyframes su-hm-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.su-hm-facts { background: #111; color: #fff; border-top: 3px solid #CC0000; }
.su-hm-facts__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding-top: 30px; padding-bottom: 30px; }
.su-hm-facts__row div { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid #CC0000; padding-left: 14px; }
.su-hm-facts strong { font: 700 34px/1.1 Ubuntu, sans-serif; font-variant-numeric: tabular-nums; }
.su-hm-facts span { color: #CFCFCF; font-size: 14px; }
@media (max-width: 1100px) { .su-hm-facts__row { grid-template-columns: repeat(3, 1fr); row-gap: 22px; } }

.su-hm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.su-hm-head h2 { margin: 0 0 8px; }
.su-hm-head .suh-lead { max-width: 640px; margin: 0; }
.suh-section.is-alt { background: #F6F6F6; }

.su-hm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.su-hm-card { background: #fff; border: 1px solid var(--suh-line); border-radius: 14px; padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.su-hm-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: #CC0000; }
.su-hm-card > span, .su-hm-emp__list li > span { width: 46px; height: 46px; border-radius: 12px; background: #FBE9E9; color: #CC0000; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.suh .su-hm-card h3 { font-size: 18px; margin: 0 0 6px; }
.suh .su-hm-card p { margin: 0; color: #4A4A4A; font-size: 15px; }

.su-hm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.su-hm-tile a { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 24px; background: #fff; border: 1px solid var(--suh-line); border-radius: 14px; text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.su-hm-tile a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #CC0000; transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.su-hm-tile a:hover, .su-hm-tile a:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.su-hm-tile a:hover::before, .su-hm-tile a:focus-visible::before { transform: scaleY(1); }
.su-hm-tile__n { font-size: 13px; font-weight: 600; color: #CC0000; text-transform: uppercase; letter-spacing: .04em; }
.suh .su-hm-tile h3 { font-size: 18px; margin: 0; }
.suh .su-hm-tile p { margin: 0; color: #4A4A4A; font-size: 15px; flex: 1; }

.su-hm-years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.su-hm-years::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 4px; background: var(--suh-line); border-radius: 4px; }
.su-hm-years::after { content: ""; position: absolute; left: 24px; top: 24px; height: 4px; width: calc((100% - 48px) * var(--p, 0)); background: #CC0000; border-radius: 4px; transition: width 1.4s ease; }
.su-hm-year { position: relative; display: flex; flex-direction: column; gap: 8px; }
.su-hm-year__dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 20px/1 Ubuntu, sans-serif; box-shadow: 0 0 0 6px #fff; margin-bottom: 10px; }
.su-hm-year.is-open .su-hm-year__dot { background: #CC0000; }
.su-hm-year .suh-tag { align-self: flex-start; }
.suh .su-hm-year h3 { font-size: 18px; margin: 0; }
.suh .su-hm-year p { margin: 0; color: #4A4A4A; font-size: 15px; }
.su-hm-year__meta { font-size: 13px; font-weight: 600; color: #6A6A6A; }
.su-hm-year.is-open .su-hm-year__meta { color: #CC0000; }

.su-hm-emp { background: #111 linear-gradient(135deg, #111 55%, #2a0000); color: #fff; }
.su-hm-emp__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.suh .su-hm-emp h2, .suh .su-hm-emp h3 { color: #fff; }
.su-hm-emp p { color: #D6D6D6; }
.su-hm-emp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.su-hm-emp__list li { display: flex; gap: 16px; padding: 20px; border: 1px solid #2E2E2E; border-radius: 14px; background: rgba(255,255,255,.03); }
.su-hm-emp__list li > span { flex: none; margin: 0; background: rgba(204,0,0,.18); color: #FF5A5A; }
.suh .su-hm-emp__list h3 { font-size: 17px; margin: 0 0 4px; }
.su-hm-emp__list p { margin: 0; font-size: 15px; }

/* Scroll reveal (added by home.js only when motion is allowed). */
.su-hm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.su-hm-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
	.su-hm-cards { grid-template-columns: repeat(2, 1fr); }
	.su-hm-years { grid-template-columns: repeat(2, 1fr); }
	.su-hm-years::before, .su-hm-years::after { display: none; }
	.su-hm-emp__inner { grid-template-columns: 1fr; gap: 32px; }
	.su-hm-facts__row { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}
@media (max-width: 600px) {
	.su-hm-cards, .su-hm-years { grid-template-columns: 1fr; }
	.su-hm-facts strong { font-size: 28px; }
	.su-hm-head .suh-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.su-hm-rise { animation: none; }
	.su-hm-card, .su-hm-tile a, .su-hm-tile a::before, .su-hm-years::after { transition: none; }
	.su-hm-card:hover, .su-hm-tile a:hover { transform: none; }
	.su-hm-reveal { opacity: 1; transform: none; }
}

/* ===== v1.1.1 "pop" layer ===== */
@property --su-hm-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.su-hm-hero { isolation: isolate; }
.su-hm-hero__glow { position: absolute; inset: -20%; pointer-events: none; z-index: 0;
	background: radial-gradient(40% 50% at var(--mx, 75%) var(--my, 40%), rgba(204,0,0,.38), transparent 70%), radial-gradient(35% 45% at 15% 90%, rgba(255,90,90,.16), transparent 70%);
	animation: su-hm-drift 14s ease-in-out infinite alternate; }
@keyframes su-hm-drift { to { transform: translate3d(3%, -2%, 0) scale(1.05); } }
.su-hm-hero__svg { position: absolute; right: -2%; top: 50%; width: min(52vw, 640px); height: auto; transform: translateY(-50%); z-index: 0; opacity: .9; pointer-events: none; }
.su-hm-ln path, .su-hm-dev > * { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; }
.su-hm-dev > * { stroke: rgba(255,255,255,.35); fill: rgba(0,0,0,.25); }
.su-hm-flow { fill: none; stroke: #FF3B3B; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 40 560; filter: drop-shadow(0 0 6px #FF2A2A); animation: su-hm-flow 3.2s linear infinite; }
.su-hm-flow--b { animation-delay: -.8s; } .su-hm-flow--c { animation-delay: -1.6s; } .su-hm-flow--d { animation-delay: -2.4s; animation-duration: 4s; }
@keyframes su-hm-flow { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.su-hm-node circle { fill: #FF4040; filter: drop-shadow(0 0 5px #FF2A2A); transform-box: fill-box; transform-origin: center; animation: su-hm-node 2.4s ease-in-out infinite; }
.su-hm-node circle:nth-child(2n) { animation-delay: -1.2s; } .su-hm-node circle:nth-child(3n) { animation-delay: -.6s; }
@keyframes su-hm-node { 50% { opacity: .35; transform: scale(.7); } }
.su-hm-hero h1 { background: linear-gradient(100deg, #fff 30%, #FFB3B3 50%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: su-hm-rise .7s ease both, su-hm-shine 6s ease-in-out 1s infinite; }
@keyframes su-hm-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.su-hm-hero .suh-btn--red { box-shadow: 0 0 0 0 rgba(204,0,0,.6); animation: su-hm-rise .7s ease both, su-hm-ping 2.6s ease-out 1.2s infinite; }
@keyframes su-hm-ping { 0% { box-shadow: 0 0 0 0 rgba(255,60,60,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255,60,60,0); } }

/* Marquee of subject areas */
.su-hm-marquee { background: #CC0000; color: #fff; overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.su-hm-marquee__track { display: flex; width: max-content; animation: su-hm-mq 40s linear infinite; }
.su-hm-marquee:hover .su-hm-marquee__track { animation-play-state: paused; }
.su-hm-marquee span { font: 700 15px/1 Ubuntu, sans-serif; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.su-hm-marquee span::after { content: ""; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); margin-left: 22px; opacity: .7; }
@keyframes su-hm-mq { to { transform: translateX(-50%); } }

/* Big numbered headings */
.su-hm-eb { display: flex; align-items: center; gap: 12px; }
.su-hm-num { font: 700 44px/1 Ubuntu, sans-serif; color: transparent; -webkit-text-stroke: 1.5px #CC0000; letter-spacing: -.02em; }
.su-hm-emp .su-hm-num, .su-hm-ap .su-hm-num { -webkit-text-stroke-color: #FF5A5A; }

/* Cards: spotlight + tilt + animated gradient border */
.su-hm-card, .su-hm-tile a { --sx: 50%; --sy: 50%; position: relative; isolation: isolate; transform-style: preserve-3d; will-change: transform; }
.su-hm-card::after, .su-hm-tile a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
	background: radial-gradient(260px circle at var(--sx) var(--sy), rgba(204,0,0,.10), transparent 60%); }
.su-hm-card:hover::after, .su-hm-tile a:hover::after { opacity: 1; }
.su-hm-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: conic-gradient(from var(--su-hm-a), #CC0000, #FF8A8A, #111, #CC0000);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: su-hm-spin 4s linear infinite; }
.su-hm-card:hover::before { opacity: 1; }
@keyframes su-hm-spin { to { --su-hm-a: 360deg; } }
.su-hm-card > span { transition: transform .3s, background .3s, color .3s; }
.su-hm-card:hover > span { transform: rotate(-8deg) scale(1.1); background: #CC0000; color: #fff; }
.su-hm-tile .suh-link svg { transition: transform .25s; }
.su-hm-tile a:hover .suh-link svg { transform: translateX(5px); }

/* Facts bar glow */
.su-hm-facts { background: #0B0B0B radial-gradient(60% 120% at 50% 0%, rgba(204,0,0,.22), transparent 70%); }
.su-hm-facts strong { text-shadow: 0 0 18px rgba(255,60,60,.45); }

/* Dark apprenticeship timeline */
.su-hm-ap { background: #0B0B0B radial-gradient(50% 60% at 85% 0%, rgba(204,0,0,.25), transparent 70%); color: #fff; position: relative; overflow: hidden; }
.su-hm-ap::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 40px 40px; }
.su-hm-ap .suh-wrap { position: relative; }
.suh .su-hm-ap h2, .suh .su-hm-ap h3 { color: #fff; }
.suh .su-hm-ap .suh-lead, .suh .su-hm-ap .su-hm-year p { color: #CFCFCF; }
.su-hm-years--dark::before { background: #2A2A2A; }
.su-hm-years--dark::after { background: linear-gradient(90deg, #CC0000, #FF5A5A); box-shadow: 0 0 12px #FF2A2A, 0 0 24px rgba(255,42,42,.5); }
.su-hm-years--dark .su-hm-year { padding: 0 0 18px; }
.su-hm-years--dark .su-hm-year__dot { box-shadow: 0 0 0 6px #0B0B0B; background: #1D1D1D; border: 1px solid #3A3A3A; }
.su-hm-years--dark .su-hm-year.is-open .su-hm-year__dot { background: #CC0000; border-color: #FF5A5A; box-shadow: 0 0 0 6px #0B0B0B, 0 0 22px rgba(255,60,60,.8); animation: su-hm-ping 2.6s ease-out infinite; }
.su-hm-years--dark .su-hm-year__meta { color: #9A9A9A; }
.su-hm-years--dark .su-hm-year.is-open .su-hm-year__meta { color: #FF6B6B; }
.su-hm-years--dark .suh-tag { background: rgba(255,255,255,.08); color: #fff; border-color: #333; }

.su-hm-emp__list li { transition: transform .25s, border-color .25s, background .25s; }
.su-hm-emp__list li:hover { transform: translateX(6px); border-color: #CC0000; background: rgba(204,0,0,.08); }
.su-hm-reveal { transform: translateY(28px) scale(.98); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

@media (max-width: 960px) {
	.su-hm-hero__svg { width: 90vw; right: -25%; opacity: .35; }
	.su-hm-num { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.su-hm-hero__glow, .su-hm-flow, .su-hm-node circle, .su-hm-marquee__track, .su-hm-card::before, .su-hm-hero .suh-btn--red, .su-hm-years--dark .su-hm-year.is-open .su-hm-year__dot { animation: none; }
	.su-hm-hero h1 { animation: none; }
	.su-hm-flow { stroke-dasharray: none; opacity: .5; }
	.su-hm-marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
	.su-hm-card, .su-hm-tile a, .su-hm-emp__list li:hover { transform: none !important; }
}
