/* ==========================================================
   Cloud Staffing Professionals — corporate site styles
   No animations, transitions or transforms anywhere.
   ========================================================== */
:root {
  --navy: #3a4248;
  --navy-deep: #2a3136;
  --blue: #00b8d9;        /* cyan: primary buttons and links (original scheme) */
  --blue-dark: #0097b2;
  --accent: #00b8d9;      /* cyan: rules and small highlights */
  --accent-dark: #0097b2;
  --paper: #f4f6f7;
  --line: #dde3ea;
  --ink: #2a3136;
  --muted: #5f6b76;
  --white: #ffffff;

  --display: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--navy-deep); }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .95rem; padding: .75rem 1.4rem; border-radius: var(--radius); text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.3; }
.btn-accent { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-accent:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-outline:hover { background: var(--white); color: var(--navy-deep); }
.btn-light { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn-light:hover { background: var(--paper); }
.btn-outline-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-dark:hover { background: var(--white); color: var(--navy-deep); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; height: 56px; background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .bar { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; margin-left: 2rem; }
.nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .9rem; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-cta { background: var(--accent); color: #fff !important; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-left: 1.4rem; }
.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; }
.nav-toggle span { top: 21px; } .nav-toggle span::before { top: -7px; left: 0; } .nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; } .nav-toggle[aria-expanded="true"] span::after { top: 0; }

/* ---- Industries dropdown ---- */
.has-sub { position: relative; }
.sub-toggle { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; font-size: .9rem; color: rgba(255,255,255,.85); cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.sub-toggle::after { content: "\25BE"; font-size: .8em; }
.sub-toggle:hover, .sub-active .sub-toggle { color: var(--accent); }
.sub { list-style: none; margin: 0; padding: .4rem 0; position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; }
.sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav ul.sub { display: none; flex-direction: column; }
.nav .has-sub.open ul.sub, .nav .has-sub:hover ul.sub, .nav .has-sub:focus-within ul.sub { display: block; }
.sub li { padding: 0; }
.nav .sub a { display: block; padding: .55rem 1.1rem; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.nav .sub a:hover { background: var(--paper); color: var(--blue); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 520px; display: grid; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-page { min-height: 380px; }
.hero-short { min-height: 300px; }
.bg-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42,49,54,.86) 0%, rgba(42,49,54,.6) 50%, rgba(42,49,54,.25) 100%); }
.hero .bg-still { object-position: 70% 40%; }
.hero-content { width: min(var(--max), 100%); margin: 0 auto; padding: 4.5rem var(--pad); }
.hero-grid { display: grid; grid-template-columns: 1fr; }
.hero-art { display: none; }
.hero-content h1 { color: var(--white); max-width: 20ch; }
.hero-sub { font-size: 1.15rem; max-width: 56ch; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.badge { display: inline-block; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.scroll-hint { display: none; }

/* ---- Video carousel ---- */
.overview { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.overview-inner { max-width: var(--max); margin: 0 auto; }
.overview-head { margin-bottom: 1.5rem; text-align: center; }
.overview-head p { color: var(--muted); margin: 0; }
.carousel { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: .75rem; max-width: 900px; margin: 0 auto; }
.vid-stage video { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); display: block; }
.vid-panel[hidden] { display: none; }
.car-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.car-nav:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.vid-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; max-width: 900px; margin: 1rem auto 0; }
.vid-thumbs button { display: flex; align-items: center; gap: .6rem; padding: .5rem; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy-deep); cursor: pointer; font: inherit; font-size: .9rem; font-weight: 500; }
.vid-thumbs button:hover { border-color: var(--blue); }
.vid-thumbs button[aria-selected="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.vid-thumbs img { width: 88px; aspect-ratio: 16 / 9; object-fit: cover; flex: none; }
@media (max-width: 960px) { .carousel { grid-template-columns: 1fr; } .car-nav { display: none; } .vid-thumbs { grid-template-columns: 1fr 1fr; margin: 1rem 0 0; } }
@media (max-width: 600px) { .vid-thumbs { grid-template-columns: 1fr; } }

/* ---- Industry tiles ---- */
.bands { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bands-head { grid-column: 1 / -1; }
.bands-head h2 { margin-bottom: .25rem; }
.bands-head p { color: var(--muted); margin: 0; }
.band { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); isolation: auto; min-height: 0; overflow: hidden; }
.band .bg-still { position: static; height: 190px; z-index: auto; }
.band-content { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.band h2 { font-size: 1.35rem; margin: 0; color: var(--navy-deep); }
.band p { margin: 0; color: var(--muted); font-size: .98rem; }
.band .btn { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 600; }
.band .btn::after { content: " \203A"; }
.band:hover h2 { color: var(--blue); }

/* ---- Why section ---- */
.why { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); }
.why-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.why-grid > div p { color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.why-list li { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 1.25rem 1.5rem; }
.why-list h3 { margin-bottom: .3rem; }
.why-list p { color: var(--muted); margin: 0; }
.why-light { background: var(--white); }
.why-light .why-list { grid-template-columns: 1fr 1fr; }
.why-light .why-list li { background: var(--paper); }

/* ---- Split CTA ---- */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel { display: grid; align-items: center; padding: 3.5rem var(--pad); color: var(--white); text-decoration: none; }
.split-panel.employers { background: var(--navy-deep); }
.split-panel.seekers { background: var(--blue); }
.split-panel h2 { color: var(--white); }
.split-panel p { max-width: 44ch; font-size: 1.05rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.9); }
.split-panel > div { max-width: 560px; margin: 0 auto; width: 100%; }

/* ---- Testimonials ---- */
.testimonials { background: var(--white); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.testimonials h2 { max-width: var(--max); margin: 0 auto 2rem; }
.quotes { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quotes figure { margin: 0; background: var(--paper); padding: 1.75rem; border-left: 3px solid var(--blue); }
.quotes blockquote { margin: 0 0 1rem; font-size: 1.02rem; }
.quotes figcaption { color: var(--muted); font-size: .95rem; }
.quotes figcaption strong { display: block; color: var(--ink); }

/* ---- Inner page content ---- */
.intro { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 0; }
.lead { font-size: 1.2rem; max-width: 64ch; color: var(--ink); }
.lead-sm { font-size: 1.02rem; color: var(--muted); max-width: 64ch; }
.two-col { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.two-col h2 { margin-top: 1.75rem; } .two-col h2:first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { padding: .45rem 0 .45rem 1.5rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: .45rem; color: var(--blue); font-weight: 700; }
.steps { padding-left: 1.25rem; } .steps li { margin-bottom: .75rem; }
.small { font-size: .85rem; }

/* ---- Forms ---- */
.form { background: var(--paper); padding: 2rem; border: 1px solid var(--line); }
.form h2 { font-size: 1.5rem; }
.form label { display: block; font-weight: 600; margin-bottom: 1rem; font-size: .92rem; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: .3rem; padding: .7rem .8rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); background: var(--white); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { color: var(--muted); font-size: .88rem; margin-top: 1rem; }
.form .success { background: var(--navy-deep); color: var(--white); padding: 1rem; }
.form .form-error { color: #b42318; font-weight: 600; margin-top: 1rem; }
.form .form-error a { color: inherit; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Services page ---- */
.hero-services { min-height: 380px; }
.hero-comic { display: none; }
.brochure { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.brochure-head { max-width: var(--max); margin: 0 auto 2rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.brochure-head p { color: var(--muted); max-width: 52ch; margin: 0; }
.brochure-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.brochure .btn-outline-dark { color: var(--navy-deep); border-color: var(--navy-deep); }
.brochure .btn-outline-dark:hover { background: var(--navy-deep); color: var(--white); }
.deck { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: .5rem; outline: none; }
.deck-stage { position: relative; height: 70vh; width: calc(70vh * 935 / 1210); max-width: 100%; margin: 0 auto; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.deck-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: none; }
.deck-stage img.active { display: block; }
.deck-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.deck-nav:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.deck-count { position: absolute; bottom: -2rem; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }
.deck-thumbs { max-width: var(--max); margin: 3rem auto 0; display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.deck-thumbs button { width: 64px; padding: 0; border: 2px solid transparent; background: #fff; cursor: pointer; overflow: hidden; }
.deck-thumbs button img { display: block; width: 100%; }
.deck-thumbs button:hover, .deck-thumbs button[aria-current="true"] { border-color: var(--blue); }
.deck.fullscreen { position: fixed; inset: 0; z-index: 100; margin: 0; max-width: none; background: var(--navy-deep); padding: 1rem; }
.deck.fullscreen .deck-stage { height: calc(100vh - 2rem); width: calc((100vh - 2rem) * 935 / 1210); }
.deck.fullscreen .deck-count { bottom: .75rem; color: #fff; }
.services-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
.svc { border-top: 1px solid var(--line); }
.svc:last-of-type { border-bottom: 1px solid var(--line); }
.svc summary { list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.svc[open] summary::after { content: "\2013"; }
.svc summary h3 { margin: 0 0 .1rem; font-size: 1.15rem; }
.svc summary p { margin: 0; color: var(--muted); font-size: .95rem; }
.svc summary h3:only-child { margin: 0; }
.svc > p { margin: 0 0 1.25rem; color: var(--muted); max-width: 60ch; }
.svc .checklist { margin: 0 0 1.25rem; }
.svc-side { background: var(--paper); padding: 1.75rem; border: 1px solid var(--line); position: sticky; top: 5.5rem; }
.svc-side h2 { font-size: 1.3rem; }
.svc-side .btn { margin-top: .5rem; }

/* ---- Careers ---- */
.steps-big { padding-left: 0; list-style: none; counter-reset: step; margin-bottom: 2rem; }
.steps-big li { position: relative; padding: 0 0 1rem 3rem; counter-increment: step; }
.steps-big li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; }
.openings { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.openings-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.openings p { color: var(--muted); max-width: 58ch; }
.openings .hero-actions { margin-top: 1rem; }
.openings-note { border-left: 3px solid var(--blue); padding-left: 1.25rem; }

/* ---- Team ---- */
.staff { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.staff-inner { max-width: var(--max); margin: 0 auto; }
.staff .badge { color: var(--blue); }
.staff-title { margin-bottom: .25rem; }
.staff-group { margin-top: 2.5rem; }
.staff-group h2 { font-size: 1.3rem; padding-bottom: .5rem; border-bottom: 2px solid var(--blue); display: inline-block; margin-bottom: 1.25rem; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; align-items: stretch; }
.staff-card { position: relative; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.hero-frame { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-frame-tbd { display: grid; place-content: center; text-align: center; color: var(--muted); }
.hero-frame-tbd span { font-size: 2.5rem; font-weight: 700; }
.hero-frame-tbd small { display: block; margin-top: .25rem; }
.staff-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.staff-body h3 { font-size: 1.1rem; margin: 0; }
.staff-body .role { color: var(--muted); font-size: .92rem; margin: .1rem 0 .5rem; }
.staff-body .years { font-size: .9rem; margin: 0 0 .5rem; color: var(--ink); }
.burst { font-weight: 600; margin-right: .25rem; }
.staff-body h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin: .75rem 0 .25rem; }
.staff-body ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; }
.staff-body li { margin-bottom: .2rem; }
.staff-more { margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--line); }
.staff-more summary { list-style: none; cursor: pointer; padding: .6rem 0 .2rem; font-size: .9rem; font-weight: 600; color: var(--blue); display: flex; justify-content: space-between; align-items: center; }
.staff-more summary::-webkit-details-marker { display: none; }
.staff-more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.staff-more[open] summary::after { content: "\2013"; }
.staff-more-body { padding: 0 0 .5rem; }
.staff-card-tbd { border-style: dashed; }

/* ---- Credentials strip ---- */
.creds { background: var(--white); border-bottom: 1px solid var(--line); padding: 1.5rem var(--pad); }
.creds + .overview { border-top: 0; }
.creds ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.creds li { display: flex; align-items: center; gap: .9rem; }
.creds strong { font-size: 1.6rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.creds span { font-size: .9rem; color: var(--muted); line-height: 1.3; }

/* ---- Engagement models ---- */
.engage { background: var(--paper); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.engage-inner { max-width: var(--max); margin: 0 auto; }
.eng-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.eng-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 1.5rem; }
.eng-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.eng-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- Where we place ---- */
.where { background: var(--white); padding: clamp(3rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.where-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.where p { max-width: 52ch; color: var(--muted); }

/* ---- Resources / guides ---- */
.guides { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--pad); display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.guides > h2 { grid-column: 1 / -1; margin: 0; }
.guides-inline { padding-top: 0; }
.guide-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: var(--blue); }
.guide-card h2, .guide-card h3 { font-size: 1.15rem; margin: 0; }
.guide-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.guide-card span { margin-top: auto; color: var(--blue); font-weight: 600; font-size: .95rem; }
.post-cat { color: var(--blue); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.article-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.article { font-size: 1.05rem; max-width: 72ch; }
.article h2 { font-size: 1.5rem; margin-top: 2rem; }
.article p { margin-bottom: 1.1em; }
.article .checklist li { border-bottom: 0; padding: .3rem 0 .3rem 1.5rem; }
.article-meta { color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.article-side { position: sticky; top: 5.5rem; display: grid; gap: 1.5rem; }
.guide-cta { background: var(--navy-deep); color: #fff; padding: 1.5rem; }
.guide-cta h3 { color: #fff; } .guide-cta p { color: rgba(255,255,255,.85); }
.related { background: var(--paper); padding: 1.5rem; border: 1px solid var(--line); } .related h3 { font-size: 1.1rem; } .related ul { font-size: .95rem; }

/* ---- Job board ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jobs-hero { min-height: 440px; }
.jobs-hero .hero-sub a { color: #fff; }
.job-search { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 760px; margin-top: 1.5rem; }
.job-search input[type=search] { width: 100%; padding: .85rem 1rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); background: #fff; color: var(--ink); }
.job-remote { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; gap: 1.2rem; align-items: center; color: #fff; font-weight: 500; font-size: .95rem; }
.job-remote legend { float: left; margin-right: .5rem; padding: 0; }
.job-remote label { display: inline-flex; gap: .35rem; align-items: center; }
.job-search-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 56px; gap: .75rem; }
.job-clear { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.job-board { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--pad); scroll-margin-top: 80px; }
.job-count { font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.job-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 0 1.4rem 1.4rem; text-decoration: none; color: var(--ink); }
a.job-card:hover { border-color: var(--blue); }
.job-banner { display: flex; align-items: center; gap: .5rem; margin: 0 -1.4rem 1rem; padding: .6rem 1.4rem; background: var(--paper); color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.job-banner svg { width: 18px; height: 18px; fill: var(--blue); flex: none; }
.job-new { position: absolute; top: .55rem; right: 1rem; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 2px; letter-spacing: .05em; }
.job-card h2 { font-size: 1.2rem; margin: 0 0 .4rem; }
.job-meta { color: var(--muted); font-size: .9rem; margin: 0 0 .7rem; }
.job-meta span { color: #c0c8d0; margin: 0 .25rem; }
.job-sum { margin: 0 0 1rem; color: var(--ink); font-size: .95rem; }
.job-view { margin-top: auto; color: var(--blue); font-weight: 600; font-size: .95rem; }
.job-card-cta { background: var(--paper); border-style: dashed; border-top-style: dashed; padding-top: 1.4rem; justify-content: center; gap: .6rem; }
.job-card-wide { grid-column: 1 / -1; }
.job-more-wrap { text-align: center; margin-top: 2rem; }
.job-more { color: var(--navy-deep); border-color: var(--navy-deep); }
.job-more[hidden] { display: none; }
.job-page { background: var(--paper); padding: 2.5rem var(--pad) 2rem; }
.job-detail { max-width: var(--max); margin: 0 auto; }
.job-head { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 0 2rem 2rem; }
.job-head .job-banner { margin: 0 -2rem 1.5rem; }
.job-head-row { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.job-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); gap: .4rem 2.5rem; margin: 0; font-size: .95rem; }
.job-facts div { display: flex; gap: .4rem; } .job-facts dt { font-weight: 600; } .job-facts dt::after { content: ":"; } .job-facts dd { margin: 0; }
.job-apply { flex: none; }
.job-body { max-width: var(--max); margin: 2rem auto 0; background: #fff; padding: 2.5rem; border: 1px solid var(--line); }
.job-body h2, .job-body h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; } .job-body h2:first-child, .job-body h3:first-child { margin-top: 0; }
.job-body ul { padding-left: 1.3rem; } .job-body li { margin-bottom: .35rem; }
.job-pay { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 2rem !important; }
.job-pay span { font-weight: 600; color: var(--blue); }
.job-eeo { font-size: .85rem; color: var(--muted); margin: 1.5rem 0; line-height: 1.7; }
.job-back { margin-top: 1.5rem; }

/* ---- Unghosted ---- */
.ung-ghost { display: none; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 3.5rem var(--pad) 2rem; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.foot-logo { height: 44px; width: auto; margin-bottom: 1rem; background: var(--white); padding: .4rem .6rem; border-radius: var(--radius); }
.foot-links { list-style: none; padding: 0; margin: 0; } .foot-links li { margin-bottom: .5rem; }
.site-footer a { color: var(--white); text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.linkedin { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; margin-bottom: 1rem; }
.copyright { max-width: var(--max); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-header.menu-open { height: 100vh; height: 100dvh; overflow-y: auto; }
  .site-header .bar { flex-wrap: wrap; align-content: flex-start; height: auto; min-height: 56px; }
  .brand, .nav-toggle { height: 56px; }
  .nav { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; margin: 0; padding: .5rem 0 2rem; }
  .site-header.menu-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .nav ul li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: 1.1rem; color: #fff; }
  .nav-cta { display: flex; justify-content: center; margin: 1.5rem 0 0; padding: .9rem; text-align: center; }
  .sub-toggle { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.1rem; }
  .nav ul.sub, .nav .has-sub:hover ul.sub, .nav .has-sub:focus-within ul.sub { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .5rem 1rem; display: none; }
  .sub::before { display: none; }
  .nav .has-sub.open ul.sub { display: block; }
  .nav ul .sub li { border-bottom: 0; }
  .nav .sub a { padding: .7rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav .sub li:last-child a { border-bottom: 0; }
  .why-grid, .split-cta, .two-col, .quotes, .services-grid, .openings-inner, .why-light .why-list, .article-wrap, .where-inner { grid-template-columns: 1fr; }
  .bands { grid-template-columns: 1fr 1fr; }
  .creds ul, .eng-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form .row, .job-search { grid-template-columns: 1fr; }
  .svc-side, .article-side { position: static; }
  .deck { grid-template-columns: 40px 1fr 40px; } .deck-nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .deck-stage { height: auto; width: 100%; aspect-ratio: 935 / 1210; }
  .job-head-row { flex-direction: column; } .job-body { padding: 1.5rem; }
}
@media (max-width: 600px) { .bands, .creds ul, .eng-grid, .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Training hub ---------- */
.train-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--pad) clamp(3rem, 6vw, 5rem); }
.gate { max-width: 520px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); padding: 2rem; }
.gate h2 { font-size: 1.4rem; margin-top: 0; }
.gate form { display: flex; gap: .6rem; margin-top: 1rem; }
.gate input { flex: 1; padding: .7rem .8rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); }
.gate-err { color: #b42318; font-weight: 600; }
.gate p.muted, .muted { color: var(--muted); font-size: .92rem; }
.train-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.quick-links { background: var(--navy-deep); color: #fff; padding: 1.5rem; }
.quick-links h3 { margin: 0 0 .75rem; font-size: 1.05rem; color: #fff; }
.quick-links ul { list-style: none; margin: 0; padding: 0; }
.quick-links li { padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.quick-links li:first-child { border-top: 0; }
.quick-links a { color: #fff; text-decoration: none; font-weight: 600; }
.quick-links a:hover { text-decoration: underline; }
.quick-links small { display: block; color: rgba(255,255,255,.7); font-weight: 400; font-size: .85rem; }
.progress { background: var(--white); border: 1px solid var(--line); padding: 1.25rem 1.5rem; }
.progress h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
#prog-bar { height: 10px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
#prog-bar span { display: block; height: 100%; background: var(--blue); }
.progress .row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: .5rem; font-size: .92rem; color: var(--muted); }
.progress button { background: none; border: 0; color: var(--blue); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
.train-tabs { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 2px solid var(--line); margin-bottom: 2rem; }
.train-tabs button { font: inherit; font-weight: 600; font-size: .95rem; padding: .7rem 1rem; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--muted); cursor: pointer; }
.train-tabs button:hover { color: var(--ink); }
.train-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.train-panel h2 { margin-top: 0; }
.train-panel .lead-sm { margin-bottom: 1.5rem; }
.mark-done { margin-top: 2rem; font: inherit; font-weight: 600; padding: .7rem 1.2rem; border: 1px solid var(--blue); color: var(--blue); background: #fff; border-radius: var(--radius); cursor: pointer; }
.mark-done.is-done { background: var(--blue); color: #fff; }
.btn-outline-navy { background: #fff; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline-navy:hover { background: var(--navy-deep); color: #fff; }
.btn[disabled] { opacity: .45; cursor: default; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.split-side { grid-template-columns: 300px minmax(0,1fr); }
.box { background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; }
.box h3, .box h4 { margin-top: 0; }
/* curriculum */
#day-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin-bottom: 1.5rem; }
#day-nav button { font: inherit; font-weight: 600; padding: .6rem .4rem; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
#day-nav button small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
#day-nav button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
#day-nav button[aria-selected="true"] small { color: rgba(255,255,255,.8); }
.day-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.day-head h3 { margin: 0; font-size: 1.3rem; }
.day-head div { display: flex; gap: .5rem; }
.day-head button { font: inherit; font-weight: 600; padding: .5rem .9rem; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.day-head button:hover { border-color: var(--blue); color: var(--blue); }
.tasklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.tasklist li { border-top: 1px solid var(--line); }
.tasklist li:last-child { border-bottom: 1px solid var(--line); }
.tasklist label { display: grid; grid-template-columns: 24px 1fr; gap: .9rem; padding: .8rem 0; cursor: pointer; align-items: start; }
.tasklist input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--blue); }
.tasklist input:checked + span { color: var(--muted); text-decoration: line-through; }
/* first call */
.fc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.fc-fields label { font-size: .85rem; font-weight: 600; }
.fc-fields input { display: block; width: 100%; margin-top: .25rem; padding: .55rem .7rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); background: #fff; }
.fc-step { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 1.75rem; }
.fc-step .stage-num, .stage-num { color: var(--blue); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .3rem; }
.fc-step h3 { margin: 0 0 .25rem; font-size: 1.35rem; }
.fc-step .goal { color: var(--muted); margin: 0 0 1.25rem; }
.say-label { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin: 0 0 .3rem; }
.fc-step blockquote, .script { margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: var(--paper); border-left: 4px solid var(--blue); font-size: 1.05rem; line-height: 1.55; }
mark { background: #e3effc; color: var(--blue-dark); padding: 0 .2em; font-weight: 600; }
.fc-line { margin-bottom: .9rem; }
.fc-line strong { display: block; font-size: .92rem; color: var(--navy); }
.fc-line p { margin: .15rem 0 0; }
.fc-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
#fc-dots { display: flex; gap: .35rem; }
#fc-dots button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
#fc-dots button[aria-selected="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.tool { margin-top: 1.5rem; }
.tool h4 { margin: 0 0 .5rem; display: flex; justify-content: space-between; align-items: center; }
.copy-btn { font: inherit; font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }
.script { font-size: .98rem; }
.endmsg { background: var(--navy-deep); color: #fff; padding: 1rem 1.25rem; margin-top: 1rem; font-weight: 600; }
/* objections */
.aim-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.aim-key div { background: var(--paper); border: 1px solid var(--line); padding: 1.25rem; }
.aim-key b { display: block; font-size: 2rem; color: var(--blue); line-height: 1; }
.aim-key strong { display: block; margin: .4rem 0 .25rem; }
.aim-key p { margin: 0; color: var(--muted); font-size: .92rem; }
.obj { background: #fff; border: 1px solid var(--line); padding: 1.5rem; margin-bottom: 1.25rem; }
.obj-q { font-size: 1.15rem; font-weight: 600; margin: 0 0 1rem; color: var(--navy-deep); }
.obj-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.obj-step { text-align: left; font: inherit; background: var(--paper); border: 1px solid var(--line); padding: .9rem 1rem; cursor: pointer; display: block; }
.obj-step:hover { border-color: var(--blue); }
.obj-step.open { background: #fff; border-color: var(--blue); }
.aim-letter { font-weight: 700; font-size: 1.4rem; color: var(--blue); margin-right: .4rem; }
.aim-name { font-weight: 600; }
.aim-text { display: block; margin-top: .6rem; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.obj-hint { margin: .9rem 0 0; color: var(--muted); font-size: .88rem; }
.obj-tools { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.obj-tools button { font: inherit; font-size: .88rem; font-weight: 600; padding: .45rem .9rem; border: 1px solid var(--line); background: #fff; cursor: pointer; }
#obj-practice label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .9rem; }
#obj-practice input, #obj-practice textarea { display: block; width: 100%; margin-top: .3rem; padding: .6rem .8rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); background: #fff; }
.pr-out { margin-top: 1rem; padding: 1rem; background: #fff; border-left: 4px solid var(--blue); }
/* sales */
#sales-steps { display: grid; gap: .4rem; }
#sales-steps button { font: inherit; font-weight: 600; text-align: left; padding: .8rem 1rem; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; gap: .75rem; align-items: center; color: var(--ink); }
#sales-steps button .num { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; }
#sales-steps button[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
#sales-steps button[aria-selected="true"] .num { background: #fff; color: var(--blue); }
#sales-detail { background: #fff; border: 1px solid var(--line); padding: 1.75rem; }
#sales-detail h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
#sales-detail h4 { margin: 1.25rem 0 .5rem; font-size: 1rem; }
.stage-nav { display: flex; gap: .6rem; margin-top: 1.5rem; }
/* job flow */
.targets { width: 100%; border-collapse: collapse; margin: 1rem 0 0; }
.targets th, .targets td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.targets thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.targets td { font-weight: 600; font-size: 1.1rem; }
.jf-row { padding: .9rem 0; border-top: 1px solid var(--line); }
.jf-head { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.jf-bar { height: 10px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.jf-bar span { display: block; height: 100%; background: var(--blue); }
.jf-btns { display: flex; gap: .4rem; margin-top: .5rem; }
.jf-btns button { width: 40px; height: 36px; font: inherit; font-size: 1.2rem; font-weight: 600; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.jf-btns button:hover { border-color: var(--blue); color: var(--blue); }
#jf-status { font-weight: 600; margin: 1rem 0 0; }
/* glossary */
.gl-controls { display: grid; grid-template-columns: 1fr 260px auto; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.gl-controls input, .gl-controls select { padding: .65rem .8rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); background: #fff; width: 100%; }
.gl-table { width: 100%; border-collapse: collapse; }
.gl-table th { width: 160px; text-align: left; vertical-align: top; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--line); color: var(--navy-deep); }
.gl-table td { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.gl-table td small { display: block; color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.card { background: var(--navy-deep); color: #fff; min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; cursor: pointer; font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.card #card-back { font-weight: 400; font-size: 1.05rem; }
.card-nav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .75rem; }
.card-nav button { font: inherit; font-weight: 600; padding: .5rem .9rem; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.card-nav button:hover { border-color: var(--blue); color: var(--blue); }
/* quiz */
.q-setup { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.q-setup select { padding: .65rem .8rem; font: inherit; border: 1px solid #c3ccd6; border-radius: var(--radius); background: #fff; }
#q-text { font-size: 1.25rem; font-weight: 600; margin: .25rem 0 1.25rem; }
#q-opts { display: grid; gap: .6rem; }
.q-opt { font: inherit; text-align: left; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.q-opt:hover:not([disabled]) { border-color: var(--blue); }
.q-opt.right { border-color: #1a7f4b; background: #e7f6ee; }
.q-opt.wrong { border-color: #b42318; background: #fbeae8; }
#q-fb { font-weight: 600; margin: 1rem 0; }
#q-result h3 { font-size: 3rem; margin: 0 0 .5rem; color: var(--blue); }
/* jeopardy */
.jeo-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
#jeo-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.jeo-col { display: grid; gap: .4rem; }
.jeo-cat { background: var(--navy-deep); color: #fff; font-weight: 700; text-align: center; padding: .9rem .5rem; min-height: 64px; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.jeo-cell { font: inherit; font-weight: 700; font-size: 1.3rem; color: #fff; background: var(--blue); border: 0; padding: 1rem .5rem; cursor: pointer; }
.jeo-cell:hover { background: var(--blue-dark); }
.jeo-cell.used { background: var(--paper); color: var(--muted); }
.jeo-modal { position: fixed; inset: 0; background: rgba(42,49,54,.85); display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 200; }
.jeo-modal .inner { background: #fff; max-width: 640px; width: 100%; padding: 2.5rem; text-align: center; }
.jeo-modal .inner p.cat { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin: 0 0 .75rem; }
#jeo-clue { font-size: 1.4rem; font-weight: 600; margin: 0 0 1.5rem; }
#jeo-ans { font-size: 1.2rem; background: var(--paper); padding: 1rem; margin: 0 0 1.5rem; }
.jeo-modal .btns { display: flex; gap: .6rem; justify-content: center; }
/* library */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.lib-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); text-decoration: none; color: var(--ink); }
.lib-card:hover { border-color: var(--blue); }
.lib-card h3 { font-size: 1.1rem; margin: 0; }
.lib-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.lib-card span { margin-top: auto; color: var(--blue); font-weight: 600; }
@media (max-width: 900px) {
  .train-top, .split, .split-side, .fc-fields, .obj-steps, .aim-key { grid-template-columns: 1fr; }
  #day-nav { grid-template-columns: repeat(5, 1fr); }
  .gl-controls { grid-template-columns: 1fr; }
  #jeo-board { grid-template-columns: repeat(5, 1fr); gap: .25rem; }
  .jeo-cell { font-size: .95rem; padding: .7rem .2rem; }
  .jeo-cat { font-size: .72rem; padding: .5rem .2rem; }
}
/* training: course, videos, game */
.lesson-nav { display: grid; gap: .3rem; margin-top: .75rem; }
.lesson-nav button { font: inherit; font-size: .9rem; font-weight: 600; text-align: left; padding: .55rem .7rem; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; gap: .6rem; align-items: center; color: var(--ink); }
.lesson-nav button .ln { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; flex: none; }
.lesson-nav button[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.lesson-nav button[aria-selected="true"] .ln { background: #fff; color: var(--blue); }
.lesson { background: #fff; border: 1px solid var(--line); padding: 2rem; max-width: 76ch; }
.lesson h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
.lesson h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; color: var(--navy-deep); }
.lesson p { margin: 0 0 .9rem; }
.lesson .checklist li { border-bottom: 0; padding: .25rem 0 .25rem 1.5rem; }
.lesson-check { margin-top: 2rem; }
.lc-q { margin-bottom: 1.25rem; }
.lc-q p { margin: 0 0 .5rem; }
.lc-opts { display: grid; gap: .4rem; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.vid-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); text-decoration: none; color: var(--ink); }
.vid-card:hover { border-color: var(--blue); }
.vid-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.vid-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy-deep); margin: -1.25rem -1.25rem .5rem; width: calc(100% + 2.5rem); }
.vid-len { font-size: .78rem; color: var(--muted); font-weight: 600; }
.vid-go { margin-top: auto; color: var(--blue); font-weight: 600; font-size: .92rem; }
#video-list h3 { margin: 1.5rem 0 .75rem; }
.scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.score { background: var(--navy-deep); color: #fff; padding: .75rem 1rem; display: grid; gap: .25rem; border: 3px solid transparent; }
.score.turn { border-color: var(--accent); }
.score input { font: inherit; font-weight: 600; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); color: #fff; width: 100%; }
.score strong { font-size: 1.5rem; }
.dd { color: #b42318; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .5rem; }
.wager { display: flex; gap: .6rem; align-items: center; justify-content: center; margin: 0 0 1rem; flex-wrap: wrap; }
.wager span { font-size: .9rem; color: var(--muted); }
.wager input { width: 120px; padding: .5rem; font: inherit; border: 1px solid #c3ccd6; }
.judge-list { margin-top: 1.25rem; display: grid; gap: .5rem; text-align: left; }
.judge { display: grid; grid-template-columns: 1fr auto auto; gap: .5rem; align-items: center; background: var(--paper); padding: .5rem .75rem; }
.judge span { font-weight: 600; }
.judge button { font: inherit; font-weight: 600; padding: .45rem .8rem; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.judge button[data-ok="1"]:hover { background: #e7f6ee; border-color: #1a7f4b; }
.judge button[data-ok="0"]:hover { background: #fbeae8; border-color: #b42318; }
.judge button[disabled] { opacity: .4; cursor: default; }
.final-wagers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin: 1rem 0; }
.final-wagers label { font-weight: 600; font-size: .9rem; }
.final-wagers input { display: block; width: 100%; margin-top: .3rem; padding: .5rem; font: inherit; border: 1px solid #c3ccd6; }
.final-scores { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.final-scores li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
[hidden] { display: none !important; }
