/* ==========================================================================
   iFAP Institute - main stylesheet
   (all media queries live in css/responsive.css)
   ========================================================================== */

/* ---------- Fonts (self-hosted Google Fonts) ---------- */
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-greek-ext.woff2) format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-greek.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/alegreya-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Belleza'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/belleza-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Belleza'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/belleza-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Design tokens ---------- */
:root {
  --background: 0 0% 93%;
  --foreground: 283 23% 10%;
  --card: 0 0% 100%;
  --primary: 283 23% 25%;
  --primary-foreground: 0 0% 98%;
  --secondary: 0 0% 96.1%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 90%;
  --muted-foreground: 0 0% 45.1%;
  --accent: 321 16% 54%;
  --accent-foreground: 0 0% 100%;
  --border: 0 0% 85%;
  --input: 0 0% 89.8%;
  --ring: 283 23% 25%;
  --radius: 0.5rem;
  --font-body: 'Alegreya', serif;
  --font-headline: 'Belleza', sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
}

/* ---------- Base / reset (aligns Bootstrap reboot with the original design) ---------- */
*, ::before, ::after { border: 0 solid hsl(var(--border)); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
:root { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; background-color: transparent; background-image: none; border-radius: 0; cursor: pointer; }
button:focus:not(:focus-visible) { outline: 0; }

/* Container: centered, max-width per breakpoint (see responsive.css), one consistent side padding */
.container { width: 100%; max-width: none; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

.site-main { min-height: 100vh; }

/* Grid helpers (Bootstrap rows with the original gaps) */
.row.cards-gutter { --bs-gutter-x: 2rem; --bs-gutter-y: 2rem; }

.bg-card-white { background-color: hsl(var(--card)); }

/* ---------- Icons ---------- */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn-icon-end { margin-left: .5rem; }

/* ---------- Buttons ---------- */
.btn-ifap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  white-space: nowrap;
  height: 2.5rem;
  padding: .5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn-ifap-primary { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-ifap-primary:hover { background-color: hsl(var(--primary) / .9); color: hsl(var(--primary-foreground)); }
.btn-ifap-secondary { background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn-ifap-secondary:hover { background-color: hsl(var(--secondary) / .8); }
.btn-ifap-light { border: 1px solid hsl(var(--input)); background-color: hsl(var(--accent-foreground)); color: hsl(var(--accent)); flex-shrink: 0; }
.btn-ifap-light:hover { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-ifap-icon { width: 2.5rem; padding: 0; border: 1px solid hsl(var(--input)); background-color: hsl(var(--background)); }
.btn-ifap-icon:hover { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-ifap-lg { height: 2.75rem; padding: 0 2rem; }
.btn-ifap-xl { height: 3.5rem; padding: 0 2rem; font-size: 1.125rem; line-height: 1.75rem; }
.btn-link-ifap {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  font-size: .875rem; line-height: 1.25rem; font-weight: 700; color: hsl(var(--primary));
  text-underline-offset: 4px; border-radius: calc(var(--radius) - 2px);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.btn-link-ifap:hover { text-decoration: underline; color: hsl(var(--primary)); }

/* Badge */
.badge-ifap {
  display: inline-flex; align-items: center; width: fit-content;
  border: 1px solid transparent; border-radius: 9999px;
  padding: .125rem .625rem;
  font-size: .75rem; line-height: 1rem; font-weight: 600;
  background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  transition: background-color .15s var(--ease);
}
.badge-ifap:hover { background-color: hsl(var(--primary) / .8); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / .95);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background-color: hsl(var(--background) / .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; height: 4rem; }
.header-left { display: flex; margin-right: 1rem; }
.header-logo { display: flex; align-items: center; margin-right: 1.5rem; }
.header-logo img, .mobile-menu-logo img, .footer-logo img { width: 45px; height: auto; }
.main-nav { display: none; align-items: center; }
.main-nav > * + * { margin-left: .25rem; }
.nav-link-ifap {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  height: 2.5rem; padding: .5rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-link-solid { width: max-content; background-color: hsl(var(--background)); }
.nav-link-ifap:hover, .nav-link-ifap:focus-visible { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); outline: 0; }
.nav-link-solid:focus { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); outline: 0; }
.nav-chevron { position: relative; top: 1px; margin-left: .25rem; transition: transform .2s var(--ease); }
.header-actions { display: flex; flex: 1 1 0%; align-items: center; justify-content: flex-end; }
.header-actions > * + * { margin-left: .5rem; }
.header-register { display: none; }
.menu-toggle .icon { width: 1rem; height: 1rem; }

/* Dropdown menus (Bootstrap dropdown, styled like the original) */
.nav-menu {
  --bs-dropdown-min-width: 8rem;
  min-width: 8rem;
  margin: 0;
  padding: .25rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 1rem;
}
.nav-menu.show { display: grid; animation: menu-in .15s var(--ease); }
/* Positioned with CSS (data-bs-display="static"), so Popper's inline transform can't fight the open animation */
.main-nav .nav-menu[data-bs-popper] { top: 100%; left: 0; margin-top: 4px; transform-origin: top left; overflow: visible; }
/* invisible bridge over the 4px gap so the pointer never "leaves" while moving down into the menu */
.main-nav .nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-menu-academies { width: 500px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding: calc(.25rem + .5rem); }
.nav-menu-join { width: 300px; grid-template-columns: minmax(0, 1fr); gap: .25rem; padding: calc(.25rem + .5rem); }
.nav-menu-item {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  padding: .75rem; border-radius: calc(var(--radius) - 4px);
  font-size: .875rem; line-height: 1.25rem; color: hsl(var(--foreground)); white-space: normal;
  cursor: default; user-select: none;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-menu-item:hover, .nav-menu-item:focus-visible { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); outline: 0; }
.nav-menu-item:active { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.nav-menu-item:hover .nav-menu-desc, .nav-menu-item:focus-visible .nav-menu-desc, .nav-menu-item:active .nav-menu-desc { color: hsl(var(--accent-foreground)); }
.nav-menu-title { display: block; font-size: .875rem; line-height: 1; font-weight: 500; }
.nav-menu-desc {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin-top: .25rem; font-size: .875rem; line-height: 1.375; color: hsl(var(--muted-foreground));
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-.375rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-menu.show { animation: none; } }

/* Mobile menu (Bootstrap offcanvas, styled like the original sheet) */
.mobile-menu.offcanvas {
  --bs-offcanvas-width: 75%;
  --bs-offcanvas-transition: transform .5s ease-in-out;
  width: 75%;
  padding: 1.5rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  border-right: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.offcanvas-backdrop { --bs-backdrop-bg: #000; --bs-backdrop-opacity: .8; }
.mobile-menu-header { display: flex; flex-direction: column; text-align: center; }
.mobile-menu-title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.mobile-menu-logo { display: flex; align-items: center; }
.mobile-menu-links { display: flex; flex-direction: column; margin-top: 2rem; }
.mobile-menu-links > * + * { margin-top: 1rem; }
.mobile-menu-link, .mobile-menu-heading { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.mobile-menu-heading { padding-top: 1rem; border-top: 1px solid hsl(var(--border)); }
.mobile-menu-sublink { color: hsl(var(--muted-foreground)); }
.mobile-menu-close {
  position: absolute; right: 1rem; top: 1rem; border-radius: calc(var(--radius) - 4px); opacity: .7;
  transition: opacity .15s var(--ease);
}
.mobile-menu-close:hover { opacity: 1; }
.mobile-menu-close:focus { outline: 0; box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring)); }
.mobile-menu-close .icon { width: 1rem; height: 1rem; }

/* ---------- Heroes ---------- */
.home-hero, .page-hero {
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
/* min-height (not height) so long titles / short or landscape screens never overflow the hero */
.home-hero { min-height: 60vh; padding: 4rem 0; }
.page-hero { min-height: 16rem; padding: 3rem 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; color: transparent; }
.hero-overlay { position: absolute; inset: 0; background-color: hsl(var(--primary) / .7); }
.hero-overlay-light { background-color: hsl(var(--primary) / .6); }
.hero-content { position: relative; z-index: 10; }
.home-hero-content > * + * { margin-top: 1rem; }
.home-hero-title, .page-hero-title {
  font-family: var(--font-headline);
  font-size: 2.25rem; line-height: 2.5rem;
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));
}
.home-hero-text, .page-hero-text {
  max-width: 48rem; margin-left: auto; margin-right: auto;
  font-size: 1.125rem; line-height: 1.75rem;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));
}
.page-hero-text { margin-top: .5rem; }
.home-hero-actions { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }

/* YMAC announcement strip */
.ymac-strip { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); padding: 1.5rem 0; }
.ymac-strip-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  text-align: center;
}
.ymac-strip-text { font-family: var(--font-headline); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }

/* ---------- Home sections ---------- */
.home-section { width: 100%; padding: 3rem 0; }
.section-head { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-bottom: 3rem; }
.section-title { font-family: var(--font-headline); font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.05em; }
.section-subtitle { max-width: 900px; margin-top: .5rem; color: hsl(var(--muted-foreground)); }

/* Academy cards */
.academy-card-link { display: block; height: 100%; }
.academy-card {
  height: 100%; overflow: hidden;
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  background-color: hsl(var(--card)); color: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.academy-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-.5rem); }
.academy-card-media { position: relative; width: 100%; height: 12rem; }
.academy-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.academy-card-body { padding: 1.5rem; }
.academy-card-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.academy-card-icon { width: 2rem; height: 2rem; color: hsl(var(--primary)); }
.academy-card-title { font-family: var(--font-headline); font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -.025em; }
.academy-card-desc { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* Featured courses */
.featured-course {
  padding: 1.5rem; border-radius: var(--radius);
  background-color: hsl(var(--background));
  transition: all .3s var(--ease);
}
.featured-course:hover { box-shadow: var(--shadow-xl); background-color: #fff; }
.featured-course-badge { margin-bottom: .5rem; }
.featured-course-title { font-family: var(--font-headline); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: .5rem; }
.featured-course-text { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.featured-more { text-align: center; margin-top: 3rem; }

/* Call to action */
.cta-inner { display: grid; align-items: center; justify-content: center; gap: 1rem; text-align: center; }
.cta-title { font-family: var(--font-headline); font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.05em; }
.cta-subtitle { max-width: 600px; margin: .75rem auto 0; color: hsl(var(--muted-foreground)); }
.cta-action { width: 100%; max-width: 24rem; margin-left: auto; margin-right: auto; }

/* ---------- Course cards (courses + academy pages) ---------- */
.course-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  background-color: hsl(var(--card)); color: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease);
}
.course-card:hover { box-shadow: var(--shadow-xl); }
.course-card-header { display: flex; flex-direction: column; padding: 1.5rem; }
.course-card-header > * + * { margin-top: .375rem; }
.course-card-badge { margin-bottom: .5rem; }
.course-card-title { font-family: var(--font-headline); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -.025em; }
.course-card-body { flex-grow: 1; padding: 0 1.5rem 1.5rem; }
.course-card-desc { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.course-card-footer { display: flex; align-items: center; padding: 0 1.5rem 1.5rem; }

/* ---------- Courses page ---------- */
.courses-page { padding-top: 3rem; padding-bottom: 3rem; }
.courses-head { text-align: center; margin-bottom: 3rem; }
.courses-title { font-family: var(--font-headline); font-size: 2.25rem; line-height: 2.5rem; color: hsl(var(--primary)); }
.courses-intro { max-width: 42rem; margin: 1rem auto 0; font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.courses-tabs-wrap { display: flex; justify-content: center; margin-bottom: 2rem; }
/* Mobile/tablet: one swipeable row of tabs; desktop (>=1024px) switches to a 7-column grid */
.courses-tabs {
  position: relative;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: .25rem;
  max-width: 100%; padding: .25rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--muted)); color: hsl(var(--muted-foreground));
}
.courses-tabs::-webkit-scrollbar { display: none; }
.courses-tab {
  flex: 0 0 auto; scroll-snap-align: center; min-height: 2rem;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: .375rem .75rem; border-radius: calc(var(--radius) - 4px);
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  transition: all .15s var(--ease);
}
.courses-tab.active { background-color: hsl(var(--background)); color: hsl(var(--foreground)); box-shadow: var(--shadow-sm); }
.courses-pane { margin-top: .5rem; }
.courses-pane:focus { outline: 0; }

/* ---------- Academy pages ---------- */
.academy-courses { padding-top: 3rem; padding-bottom: 3rem; }
.academy-courses-head { margin-bottom: 3rem; }
.academy-courses-title { font-family: var(--font-headline); font-size: 1.875rem; line-height: 2.25rem; text-align: center; }

/* ---------- Content pages (careers, ymac, talent pool, register) ---------- */
.content-page { padding-top: 3rem; padding-bottom: 3rem; }
.content-narrow { max-width: 56rem; margin-left: auto; margin-right: auto; }
.intro-block { text-align: center; margin-bottom: 3rem; }
.intro-title { font-family: var(--font-headline); font-size: 1.875rem; line-height: 2.25rem; }
.intro-text { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }

/* Careers - openings accordion */
.openings { margin-bottom: 3rem; }
.openings-title { font-family: var(--font-headline); font-size: 1.5rem; line-height: 2rem; text-align: center; margin-bottom: 2rem; }
.jobs-accordion { width: 100%; }
.job-item { border-bottom: 1px solid hsl(var(--border)); }
.job-header { display: flex; }
.job-toggle {
  display: flex; flex: 1 1 0%; align-items: center; justify-content: space-between;
  padding: 1rem 0; font-weight: 500; text-align: left;
  transition: all .15s var(--ease);
}
.job-toggle:hover { text-decoration: underline; }
.job-summary { display: flex; flex-direction: column; width: 100%; padding-right: 1rem; }
.job-title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.job-meta { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.job-chevron { transition: transform .2s var(--ease); }
.job-toggle:not(.collapsed) .job-chevron { transform: rotate(180deg); }
.job-body { font-size: .875rem; overflow: hidden; }
.job-body.collapsing { transition: height .2s ease-out; }
.job-body-inner { padding-bottom: 1rem; }
.job-body-inner > * + * { margin-top: 1rem; }
.job-text { font-size: 1rem; line-height: 1.5rem; }

.info-card { text-align: center; background-color: hsl(var(--card)); padding: 2rem; border-radius: var(--radius); }
.info-card-title { font-family: var(--font-headline); font-size: 1.5rem; line-height: 2rem; }
.info-card-text { margin-top: .5rem; margin-bottom: 1rem; color: hsl(var(--muted-foreground)); }

/* Talent pool / register cards */
.form-card {
  max-width: 42rem; margin-left: auto; margin-right: auto;
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  background-color: hsl(var(--card)); color: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);
}
.form-card-header { display: flex; flex-direction: column; padding: 1.5rem; }
.form-card-header > * + * { margin-top: .375rem; }
.form-card-title { font-family: var(--font-headline); font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -.025em; }
.form-card-desc { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.form-card-body { padding: 0 1.5rem 1.5rem; }
.register-card { text-align: center; padding: 2rem; }
.register-card-title { font-size: 1.875rem; line-height: 2.25rem; }
.register-card-desc { font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.register-card-body { margin-top: 1.5rem; }
.register-card-text { margin-bottom: 2rem; color: hsl(var(--muted-foreground)); }

/* YMAC */
.benefits-card { background-color: hsl(var(--card)); padding: 2rem; border-radius: var(--radius); margin-bottom: 3rem; }
.benefits-title { font-family: var(--font-headline); font-size: 1.5rem; line-height: 2rem; text-align: center; margin-bottom: 1.5rem; }
.benefits-list { --bs-gutter-x: 2rem; --bs-gutter-y: 1rem; }
.benefit-item { display: flex; align-items: flex-start; }
.benefit-icon { width: 1.25rem; height: 1.25rem; margin-right: .75rem; margin-top: .25rem; color: hsl(var(--accent)); }
.ymac-cta { text-align: center; background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); padding: 2rem; border-radius: var(--radius); }
.ymac-cta-title { font-family: var(--font-headline); font-size: 1.875rem; line-height: 2.25rem; }
.ymac-cta-text { margin-top: .5rem; margin-bottom: 1.5rem; font-size: 1.125rem; line-height: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { --bs-gutter-x: 2rem; --bs-gutter-y: 2rem; }
.footer-block > * + * { margin-top: 1rem; }
.footer-logo { display: flex; align-items: center; }
.footer-logo img { filter: brightness(0) invert(1); }
.footer-about { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--primary-foreground) / .8); }
.footer-social { display: flex; }
.footer-social > * + * { margin-left: 1rem; }
.footer-social-link { color: hsl(var(--primary-foreground) / .8); transition: color .15s; }
.footer-social-link:hover { color: hsl(var(--primary-foreground)); }
.footer-social-link .icon { width: 1.25rem; height: 1.25rem; }
.footer-heading { font-family: var(--font-headline); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.footer-list > * + * { margin-top: .5rem; }
.footer-link { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--primary-foreground) / .8); }
.footer-link:hover { color: hsl(var(--primary-foreground)); text-decoration: underline; }
.footer-contact { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--primary-foreground) / .8); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--primary-foreground) / .2);
  text-align: center; font-size: .875rem; line-height: 1.25rem;
  color: hsl(var(--primary-foreground) / .6);
}
