/*
Theme Name: SKILLGATE
Theme URI: https://skillgate.example
Author: SKILLGATE / UNITeS Integrated
Description: SKILLGATE theme — technology talent recruitment, contract placement and workforce development. Navy (50%) · Teal (30%) · White (20%). Designed for the SKILLGATE Platform plugin.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hirehub-theme
*/

/* ============================================================
   COLOUR SYSTEM — 50% navy · 30% teal · 20% white
   ============================================================ */
:root {
	--navy: #0a1f44;
	--navy-deep: #06142e;
	--navy-2: #112b5c;
	--navy-3: #1a3a74;
	--teal: #0c8e86;
	--teal-bright: #14b8a6;
	--teal-light: #5eead4;
	--teal-soft: #d8f5f1;
	--white: #ffffff;
	--soft: #f3f7fa;
	--ink: #0a1f44;
	--text: #33445f;
	--muted: #5b6b84;
	--line: #dce5ef;
	--on-navy: #c9d6ea;
	--radius: 18px;
	--wrap: 1200px;

	/* legacy aliases used by older templates */
	--t-accent: var(--teal);
	--t-ink: var(--navy);
	--t-text: var(--text);
	--t-muted: var(--muted);
	--t-line: var(--line);
	--t-soft: var(--soft);
	--t-dark: var(--navy-deep);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; letter-spacing: -.02em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 12px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }

/* ---------- Header (navy) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 20, 46, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(94, 234, 212, .12); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 76px; max-width: 1320px; }
.header-actions .btn { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { display: grid; }
.wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.wm-a { color: #fff; }
.wm-b { color: var(--teal-bright); }
.brand img { max-height: 44px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.main-nav a { display: block; padding: .5rem .55rem; border-radius: 8px; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: #fff; background: rgba(20, 184, 166, .16); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.header-actions .link { color: #fff; font-weight: 600; text-decoration: none; padding: .5rem .7rem; font-size: .9rem; white-space: nowrap; }
.header-actions .link:hover { color: var(--teal-light); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; }
@media (max-width: 1280px) {
	.menu-toggle { display: block; }
	.main-nav, .header-actions { display: none; }
	.nav-open .main-nav, .nav-open .header-actions { display: flex; }
	.nav-open .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 16px; }
	.nav-open .main-nav { order: 3; width: 100%; margin: 0; }
	.nav-open .main-nav ul { flex-direction: column; width: 100%; }
	.nav-open .header-actions { order: 4; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn, .sg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: .96rem; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, color .15s; cursor: pointer; font-family: inherit; }
.btn:hover, .sg-btn:hover { transform: translateY(-2px); }
.btn-primary, .sg-btn-teal { background: var(--teal); color: #fff; }
.btn-primary:hover, .sg-btn-teal:hover { background: var(--teal-bright); color: #fff; box-shadow: 0 12px 28px rgba(12, 142, 134, .38); }
.sg-btn-navy { background: var(--navy); color: #fff; }
.sg-btn-navy:hover { background: var(--navy-2); color: #fff; box-shadow: 0 12px 28px rgba(10, 31, 68, .3); }
.sg-btn-white, .btn-light { background: #fff; color: var(--navy); }
.sg-btn-white:hover, .btn-light:hover { color: var(--teal); }
.sg-btn-ghost, .btn-ghost-dark { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.sg-btn-ghost:hover, .btn-ghost-dark:hover { border-color: var(--teal-light); color: var(--teal-light); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; border-radius: 10px; }

/* ---------- Shared section system ---------- */
.sg-section { padding: 96px 0; position: relative; }
.sg-navy { background: var(--navy); color: var(--on-navy); }
.sg-navy h2, .sg-navy h3 { color: #fff; }
.sg-teal { background: linear-gradient(135deg, var(--teal) 0%, #0a7a73 100%); color: #e6fffb; }
.sg-teal h2, .sg-teal h3 { color: #fff; }
.sg-white { background: var(--white); }
.sg-center { text-align: center; margin-top: 2.5rem; }
.sg-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.sg-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.sg-navy .sg-kicker { color: var(--teal-light); }
.sg-teal .sg-kicker { color: #fff; opacity: .85; }
.sg-heading { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.sg-heading .sg-kicker { justify-content: center; }
.sg-heading h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 .8rem; }
.sg-heading p { font-size: 1.1rem; margin: 0; opacity: .9; }
.sg-heading-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; text-align: left; margin-bottom: 2rem; }
.sg-heading-row .sg-kicker { justify-content: flex-start; }
.sg-heading-row h2 { margin: 0; }

/* ---------- HERO (navy) ---------- */
.sg-hero { position: relative; overflow: hidden; padding: 96px 0 110px; color: var(--on-navy);
	background:
		radial-gradient(900px 520px at 88% 8%, rgba(20, 184, 166, .28), transparent 62%),
		radial-gradient(700px 480px at -5% 105%, rgba(26, 58, 116, .9), transparent 60%),
		linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.sg-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(94,234,212,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(94,234,212,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.sg-hero-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1020px) { .sg-hero-grid { grid-template-columns: 1fr 1.05fr; } }
.sg-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); background: rgba(20, 184, 166, .12); border: 1px solid rgba(94, 234, 212, .3); padding: .45rem .95rem; border-radius: 999px; }
.sg-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 0 rgba(94,234,212,.6); animation: sg-pulse 2s infinite; }
.sg-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.7rem); margin: 1.2rem 0 1.1rem; letter-spacing: -.035em; line-height: 1.05; }
.sg-hero h1 span { display: block; color: var(--teal-light); }
.sg-hero-text { font-size: 1.15rem; max-width: 560px; margin: 0 0 2rem; }
.sg-hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.sg-hero-buttons.sg-center { justify-content: center; }
.sg-hero-points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; }
.sg-hero-points li { display: flex; align-items: center; gap: .5rem; }
.sg-hero-points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .7rem; font-weight: 800; }

/* Network visual */
.sg-network-card { background: linear-gradient(180deg, rgba(17, 43, 92, .85), rgba(10, 31, 68, .92)); border: 1px solid rgba(94, 234, 212, .22); border-radius: 26px; padding: 1.4rem; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.06); }
.sg-network-heading { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.sg-network-heading div:last-child { text-align: right; }
.sg-network-heading strong { display: block; color: #fff; font-size: .95rem; }
.sg-network-heading span { font-size: .78rem; color: var(--teal-light); }
.sg-network-stage { position: relative; height: 300px; }
.sg-network-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sg-network-line { fill: none; stroke: rgba(201, 214, 234, .35); stroke-width: 1.6; stroke-dasharray: 6 8; animation: sg-flow 3s linear infinite; vector-effect: non-scaling-stroke; }
.sg-line-teal { stroke: rgba(94, 234, 212, .6); animation-direction: reverse; }
.sg-node { fill: #c9d6ea; }
.sg-node-teal { fill: var(--teal-light); }
.sg-network-pill { position: absolute; z-index: 2; width: 33%; display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border-radius: 14px; background: rgba(6, 20, 46, .92); border: 1px solid rgba(201, 214, 234, .18); transform: translateY(-50%); animation: sg-float 6s ease-in-out infinite; }
.sg-network-pill.right { border-color: rgba(94, 234, 212, .35); }
.sg-network-pill.left { left: 0; }
.sg-network-pill.right { right: 0; }
.sg-network-pill.p1, .sg-network-pill.r1 { top: 13.6%; }
.sg-network-pill.p2, .sg-network-pill.r2 { top: 38.8%; animation-delay: -1.5s; }
.sg-network-pill.p3, .sg-network-pill.r3 { top: 64%; animation-delay: -3s; }
.sg-network-pill.p4, .sg-network-pill.r4 { top: 89.2%; animation-delay: -4.5s; }
.sg-network-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: rgba(201, 214, 234, .12); color: #fff; }
.sg-network-pill.right .sg-network-icon { background: var(--teal); }
.sg-network-pill strong { display: block; color: #fff; font-size: .82rem; line-height: 1.2; }
.sg-network-pill span { display: block; font-size: .7rem; color: #9fb0cb; line-height: 1.3; }
.sg-network-core { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 30% 30%, var(--teal-bright), var(--teal) 60%, #065f59); color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: .06em; box-shadow: 0 0 0 10px rgba(20, 184, 166, .12), 0 0 0 22px rgba(20, 184, 166, .06), 0 20px 50px rgba(12, 142, 134, .55); z-index: 3; }
.sg-network-core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(94, 234, 212, .6); animation: sg-ring 2.6s ease-out infinite; }
.sg-network-core small { display: block; font-size: .42rem; letter-spacing: .12em; margin-top: .4rem; opacity: .9; }
.sg-network-footer { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; margin-top: .8rem; padding-top: 1rem; border-top: 1px solid rgba(201, 214, 234, .12); }
.sg-network-footer strong { color: #fff; font-size: .95rem; }
.sg-network-footer span { font-size: .8rem; grid-column: 1; }
.sg-network-dots { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: .3rem; }
.sg-network-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); animation: sg-blink 1.4s infinite; }
.sg-network-dots i:nth-child(2) { animation-delay: .2s; }
.sg-network-dots i:nth-child(3) { animation-delay: .4s; }
@media (max-width: 560px) {
	.sg-network-stage { height: 260px; }
	.sg-network-pill { width: 38%; padding: .4rem; gap: .35rem; }
	.sg-network-pill span { display: none; }
	.sg-network-icon { width: 24px; height: 24px; font-size: .6rem; }
	.sg-network-pill strong { font-size: .7rem; }
	.sg-network-core { width: 78px; height: 78px; font-size: .78rem; }
	.sg-network-core small { display: none; }
}
@keyframes sg-flow { to { stroke-dashoffset: -56; } }
@keyframes sg-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -5px; } }
@keyframes sg-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes sg-pulse { 0% { box-shadow: 0 0 0 0 rgba(94,234,212,.6); } 100% { box-shadow: 0 0 0 10px rgba(94,234,212,0); } }
@keyframes sg-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Proof bar (teal) ---------- */
.sg-trust { background: linear-gradient(90deg, var(--teal), #0a7a73); padding: 34px 0; position: relative; z-index: 2; }
.sg-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 860px) { .sg-trust-grid { grid-template-columns: repeat(4, 1fr); } }
.sg-trust-item { display: flex; align-items: center; gap: .9rem; color: #e6fffb; }
.sg-trust-item + .sg-trust-item { position: relative; }
@media (min-width: 860px) { .sg-trust-item + .sg-trust-item::before { content: ""; position: absolute; left: -.75rem; top: 10%; bottom: 10%; width: 1px; background: rgba(255,255,255,.25); } }
.sg-trust-number { font-size: 2.3rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.sg-trust-label { font-size: .9rem; font-weight: 600; line-height: 1.3; }

/* ---------- About (white) ---------- */
.sg-about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .sg-about-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; } }
.sg-about-panel { position: relative; background: var(--navy); color: var(--on-navy); border-radius: 26px; padding: 2.5rem; overflow: hidden; }
.sg-about-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.45), transparent 70%); }
.sg-panel-kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: .8rem; }
.sg-about-panel h3 { color: #fff; font-size: 1.7rem; margin: 0 0 1rem; }
.sg-pipeline { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: 1.8rem; }
.sg-pipeline span { background: var(--teal); color: #fff; font-weight: 700; font-size: .82rem; padding: .45rem .8rem; border-radius: 999px; }
.sg-pipeline i { width: 18px; height: 2px; background: var(--teal-light); }
.sg-about-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 1rem; }
.sg-check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
@media (min-width: 560px) { .sg-check-list { grid-template-columns: 1fr 1fr; } }
.sg-check-list li { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: var(--navy); }
.sg-check-list li::before { content: "✓"; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--teal-soft); color: var(--teal); font-weight: 800; font-size: .8rem; }

/* ---------- Services (navy) ---------- */
.sg-services-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .sg-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sg-services-grid { grid-template-columns: repeat(4, 1fr); } }
.sg-service-card { position: relative; background: var(--navy-2); border: 1px solid rgba(201,214,234,.1); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .2s, border-color .2s, background .2s; overflow: hidden; }
.sg-service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--teal-bright); transition: width .3s; }
.sg-service-card:hover { transform: translateY(-6px); border-color: rgba(94,234,212,.35); background: var(--navy-3); }
.sg-service-card:hover::before { width: 100%; }
.sg-service-icon { font-size: 2.4rem; font-weight: 800; color: var(--teal-light); letter-spacing: -.04em; line-height: 1; margin-bottom: 1rem; }
.sg-service-card h3 { margin: 0 0 .6rem; font-size: 1.15rem; }
.sg-service-card p { margin: 0; font-size: .95rem; }

/* ---------- How it works (navy, CSS-only tabs) ---------- */
.sg-how-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.sg-how-tab-labels { display: flex; justify-content: center; gap: .4rem; background: var(--navy-deep); padding: .35rem; border-radius: 14px; width: fit-content; margin: 0 auto 2.5rem; border: 1px solid rgba(201,214,234,.12); }
.sg-how-tab-labels label { padding: .7rem 1.4rem; border-radius: 10px; font-weight: 700; cursor: pointer; color: var(--on-navy); }
#sg-how-partners:checked ~ .sg-how-tab-labels label[for="sg-how-partners"],
#sg-how-candidates:checked ~ .sg-how-tab-labels label[for="sg-how-candidates"] { background: var(--teal); color: #fff; }
#sg-how-partners:focus-visible ~ .sg-how-tab-labels label[for="sg-how-partners"],
#sg-how-candidates:focus-visible ~ .sg-how-tab-labels label[for="sg-how-candidates"] { outline: 3px solid var(--teal-light); }
.sg-how-panel { display: none; grid-template-columns: 1fr; gap: 1rem; counter-reset: sg-step; }
#sg-how-partners:checked ~ .sg-how-panel-partners, #sg-how-candidates:checked ~ .sg-how-panel-candidates { display: grid; }
@media (min-width: 900px) { .sg-how-panel { grid-template-columns: repeat(5, 1fr); } }
.sg-how-step { position: relative; background: var(--navy-2); border: 1px solid rgba(201,214,234,.1); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
@media (min-width: 900px) { .sg-how-step:not(:nth-child(5))::after { content: "→"; position: absolute; right: -.95rem; top: 50%; transform: translateY(-50%); color: var(--teal-light); font-weight: 800; z-index: 1; } }
.sg-how-step span { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-light); margin-bottom: .5rem; }
.sg-how-step p { margin: 0; color: #fff; font-weight: 600; }
.sg-how-panel .sg-btn { grid-column: 1 / -1; justify-self: center; margin-top: 1rem; }

/* ---------- Placements (teal) ---------- */
.sg-teal .hh-job-card { border: 0; box-shadow: 0 10px 30px rgba(6,20,46,.18); }
.sg-teal .hh-empty { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.sg-teal .hh-empty p { color: #e6fffb; }
.sg-career-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 800px) { .sg-career-grid { grid-template-columns: 1fr 1fr; } }
.sg-career-card { background: var(--navy); border-radius: var(--radius); padding: 2rem; color: var(--on-navy); }
.sg-career-card h3 { margin: 0 0 .6rem; font-size: 1.35rem; }
.sg-career-card a { color: var(--teal-light); font-weight: 700; text-decoration: none; }
.sg-career-card a:hover { color: #fff; }

/* ---------- Training (navy) ---------- */
.sg-training-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .sg-training-grid { grid-template-columns: 1.1fr .9fr; } }
.sg-training h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 1rem; }
.sg-training-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .55rem; counter-reset: tl; }
.sg-training-list li { counter-increment: tl; display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; background: var(--navy-2); border-radius: 12px; color: #fff; }
.sg-training-list li::before { content: counter(tl, decimal-leading-zero); font-weight: 800; color: var(--teal-light); font-size: .85rem; }
.sg-training-list li:first-child { background: var(--teal); }
.sg-training-list li:first-child::before { color: #fff; }
.sg-cert-panel { background: #fff; color: var(--text); border-radius: 24px; padding: 2rem; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.sg-cert-panel .sg-panel-kicker { color: var(--teal); }
.sg-cert-panel small { display: block; color: var(--muted); margin-top: 1rem; font-size: .78rem; }

/* ---------- Track record (white) ---------- */
.sg-track-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sg-track-item { text-align: center; padding: 2rem 1rem; border-radius: var(--radius); background: var(--soft); border-top: 4px solid var(--teal); }
.sg-track-item strong { display: block; font-size: 2.4rem; color: var(--navy); letter-spacing: -.03em; }
.sg-track-item span { color: var(--muted); font-weight: 600; }
.sg-track-empty { grid-column: 1 / -1; text-align: center; padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.sg-admin-hint { color: var(--teal); font-weight: 600; font-size: .9rem; }

/* ---------- Startups ---------- */
.sg-startups { padding: 0 0 96px; background: #fff; }
.sg-startup-box { display: grid; gap: 2rem; align-items: center; background: radial-gradient(600px 300px at 100% 0%, rgba(20,184,166,.35), transparent 60%), var(--navy); border-radius: 28px; padding: 3rem; color: var(--on-navy); }
@media (min-width: 900px) { .sg-startup-box { grid-template-columns: 1fr auto; } }
.sg-startup-box .sg-kicker { color: var(--teal-light); }
.sg-startup-box h2 { color: #fff; margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sg-startup-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sg-startup-box li { background: rgba(20,184,166,.16); border: 1px solid rgba(94,234,212,.3); color: #fff; padding: .35rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; }

/* ---------- Final CTA (teal) ---------- */
.sg-final-cta { text-align: center; padding: 90px 0; color: #e6fffb; background: radial-gradient(700px 300px at 50% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, var(--teal), #0a7a73); }
.sg-final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .8rem; }
.sg-final-cta p { max-width: 580px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- Talent categories (plugin shortcode) ---------- */
.hh-cat-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .hh-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .hh-cat-grid { grid-template-columns: repeat(3, 1fr); } }
.hh-cat-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hh-cat-card:hover { border-color: var(--teal); box-shadow: 0 20px 40px rgba(10,31,68,.08); transform: translateY(-4px); }
.hh-cat-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--teal-light); }
.hh-cat-card h3 { margin: .4rem 0 0; font-size: 1.15rem; }
.hh-cat-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.hh-cat-roles summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: .9rem; list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.hh-cat-roles summary::-webkit-details-marker { display: none; }
.hh-cat-roles summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--teal-soft); color: var(--teal); font-weight: 800; }
.hh-cat-roles[open] summary::before { content: "–"; }
.hh-cat-roles ul { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .3rem; }
.hh-cat-roles a { color: var(--text); text-decoration: none; font-size: .9rem; }
.hh-cat-roles a:hover { color: var(--teal); }
.hh-cat-cta { margin-top: auto; padding-top: .6rem; font-weight: 700; text-decoration: none; font-size: .9rem; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(700px 300px at 90% 0%, rgba(20,184,166,.28), transparent 65%), var(--navy); color: var(--on-navy); padding: 72px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 0; }
.page-hero p { margin: .7rem 0 0; font-size: 1.12rem; max-width: 720px; }
.page-kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: .6rem; }
.page-hero .crumbs { font-size: .88rem; margin-bottom: .7rem; }
.page-hero .crumbs a { text-decoration: none; font-weight: 600; color: var(--teal-light); }
.content-area { padding: 60px 0 96px; }
.entry-content { max-width: 840px; margin: 0 auto; font-size: 1.04rem; }
.entry-content.is-wide { max-width: var(--wrap); }
.entry-content h2 { font-size: 1.8rem; margin-top: 2.4rem; }
.entry-content h3 { font-size: 1.28rem; margin-top: 2rem; }
.entry-content li { margin-bottom: .45rem; }
.entry-content ol.wp-block-list { counter-reset: ol; list-style: none; padding-left: 0; }
.entry-content ol.wp-block-list > li { counter-increment: ol; position: relative; padding: .9rem 1rem .9rem 3.6rem; background: var(--soft); border-radius: 12px; margin-bottom: .6rem; }
.entry-content ol.wp-block-list > li::before { content: counter(ol); position: absolute; left: 1rem; top: .85rem; width: 1.8rem; height: 1.8rem; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.entry-content ul.wp-block-list { padding-left: 1.2rem; }
.entry-content ul.wp-block-list li::marker { color: var(--teal); }
.entry-content .sg-lead { font-size: 1.2rem; color: var(--navy); }
.entry-content .sg-num { display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; border-radius: 10px; background: var(--teal); color: #fff; font-size: .95rem; margin-right: .5rem; vertical-align: middle; }
.entry-content .sg-placeholder { border: 2px dashed #9fb0cb; background: #f7f9fc; padding: .9rem 1.1rem; border-radius: 12px; color: var(--muted); font-style: italic; }
.entry-content .wp-block-button__link { background: var(--teal); color: #fff; border-radius: 12px; font-weight: 700; padding: .85rem 1.4rem; }
.entry-content .wp-block-button__link:hover { background: var(--teal-bright); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.job-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: 1fr 320px; } }
.job-aside { position: sticky; top: 100px; align-self: start; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 1.6rem; }
.job-aside h3 { margin-top: 0; font-size: 1.1rem; color: #fff; }
.job-aside a:not(.btn) { color: var(--teal-light); }

.auth-page { min-height: calc(100vh - 76px); background: radial-gradient(700px 400px at 100% 0%, rgba(20,184,166,.25), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(26,58,116,.8), transparent 60%), var(--navy); padding: 64px 0 90px; }

/* ---------- Footer (deep navy) ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0cb; padding: 76px 0 32px; font-size: .94rem; border-top: 4px solid var(--teal); }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal .admin-login { color: var(--teal-light); font-weight: 600; }

/* ---------- Portal pages ---------- */
body.hh-portal-page { background: #f3f7fa; }
body.hh-portal-page .hh-portal { min-height: 100vh; }
.admin-bar .hh-sidebar { top: 32px; height: calc(100vh - 32px) !important; }

/* Blog */
.post-list { display: grid; gap: 1.5rem; max-width: 840px; margin: 0 auto; }
.post-item { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.post-item h2 { margin: 0 0 .3rem; font-size: 1.4rem; }
.post-item h2 a { color: var(--navy); text-decoration: none; }
.post-meta { color: var(--muted); font-size: .88rem; }
