/*
Theme Name: Ecurie Aix
Theme URI: https://ecurie-aix.de
Author: Ecurie Aix
Description: Repository-owned public theme for the Ecurie Aix Operational Beta.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: ecurie-aix
*/

:root {
  --eax-blue: #0064c8;
  --eax-accent: #c61e15;
  --eax-black: #111;
  --eax-charcoal: #171717;
  --eax-white: #fff;
  --eax-soft: #c7c7c7;
  --eax-line: #555;
  --eax-rail-width: 7rem;
  --eax-header-height: 6rem;
  --eax-pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--eax-black);
  color: var(--eax-white);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
  overflow-x: clip;
}
.site-layout,
.site-content,
.site-main {
  overflow-x: clip;
  max-width: 100%;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--eax-blue); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: var(--eax-white); color: var(--eax-black); }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr); gap: 2rem; align-items: center; margin-left: 0; padding: 1.35rem var(--eax-pad); border-bottom: 1px solid var(--eax-line); background: var(--eax-black); transition: margin-left 0.25s ease; }
body.has-home-sidebar .site-header { margin-left: var(--eax-rail-width); }
.site-logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.1rem; font-weight: 900; letter-spacing: -.05em; }
.site-logo img { width: 10.5rem; max-height: 3.25rem; object-fit: contain; object-position: left center; }
.site-logo-mark { display: inline-grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 2px solid var(--eax-blue); color: var(--eax-blue); font-size: .7rem; letter-spacing: 0; }
.site-layout { display: block; margin-left: 0; }
body.has-home-sidebar .site-layout.with-home-sidebar { margin-left: var(--eax-rail-width); }
body.has-eax-sidebar .site-layout { margin-left: var(--eax-sidebar-width, 320px); }
.site-sidebar { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; display: flex; width: var(--eax-rail-width); flex-direction: column; justify-content: center; padding: 2rem 1.1rem; overflow: hidden; border-right: 1px solid var(--eax-line); background: var(--eax-black); }
.site-sidebar-wordmark { display: none; }
.site-sidebar-nav { position: relative; z-index: 1; }
.site-sidebar-nav ul { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-sidebar-nav a { display: flex; align-items: center; padding: 0; border: 0; background: transparent; color: #666; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); transition: color 0.2s ease; }
.site-sidebar-nav a:hover, .site-sidebar-nav a:focus-visible, .site-sidebar-nav a.is-active, .site-sidebar-nav a[aria-current="location"] { color: var(--eax-white); font-weight: 900; }
.site-sidebar-label { display: none; }
.site-content { min-width: 0; }
.primary-nav { display: flex; grid-column: 2; justify-self: center; gap: 1.35rem; color: var(--eax-soft); font-size: .82rem; white-space: nowrap; }
.primary-nav ul { display: flex; gap: 1.35rem; margin: 0; padding: 0; list-style: none; }
.primary-nav li { display: inline-flex; align-items: center; }
.primary-nav a { text-decoration: none; color: inherit; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .primary-nav .current-menu-item > a { color: var(--eax-white); }
.site-header-actions { display: flex; grid-column: 3; justify-self: end; align-items: center; gap: 2rem; }
.language-switch { display: flex; gap: .45rem; color: #888; font-size: .75rem; font-weight: 800; }
.language-switch a { text-decoration: none; }
.language-switch a[aria-current="true"], .language-switch a:hover { color: var(--eax-white); }
.join-link { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: .7rem 1rem; background: var(--eax-blue); color: var(--eax-white); font-size: .82rem; font-weight: 800; text-decoration: none; }
.join-link:hover { background: var(--eax-white); color: var(--eax-black); }

.site-main { min-height: 60vh; }
.page-wrap { max-width: 82rem; margin: 0 auto; padding: clamp(3rem, 8vw, 8rem) var(--eax-pad); }
.eyebrow, .wp-block-paragraph.is-style-eyebrow { margin: 0 0 1rem; color: var(--eax-blue); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.04em; }
h1 { max-width: 13ch; font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
.lede, .wp-block-paragraph.is-style-lede { max-width: 42rem; color: var(--eax-soft); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero { display: grid; min-height: min(72vh, 48rem); grid-template-columns: minmax(0, 1fr) minmax(18rem, .85fr); align-items: end; gap: 2rem; padding: clamp(2rem, 6vw, 6rem) var(--eax-pad); background: linear-gradient(110deg, #111 0%, #171717 58%, #0b2848 100%); }
.hero-copy { max-width: 48rem; }
.hero-media { min-height: 20rem; align-self: stretch; display: flex; align-items: end; justify-content: end; }
.hero-media img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; object-position: center; opacity: .78; mix-blend-mode: screen; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button-link { display: inline-flex; min-height: 2.75rem; align-items: center; padding: .75rem 1rem; border: 1px solid var(--eax-white); text-decoration: none; font-weight: 800; }
.button-link.primary { border-color: var(--eax-blue); background: var(--eax-blue); }
.button-link.secondary { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); color: var(--eax-white); }
.button-link:hover { border-color: var(--eax-white); background: var(--eax-white); color: var(--eax-black); }
.section-band, .wp-block-group.is-style-section-band { padding: clamp(3rem, 7vw, 7rem) var(--eax-pad); border-top: 1px solid var(--eax-line); background: var(--eax-charcoal); }
.section-band.light, .wp-block-group.is-style-section-band-light { background: #e8e8e8; color: var(--eax-black); }
.section-grid, .wp-block-columns.is-style-section-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--eax-line); }
.section-card, .wp-block-column.is-style-section-card, .wp-block-group.is-style-section-card { min-height: 12rem; padding: 1.5rem; background: var(--eax-charcoal); }
.section-card p, .wp-block-column.is-style-section-card p, .wp-block-group.is-style-section-card p { color: var(--eax-soft); }
.section-band.light .section-card, .wp-block-group.is-style-section-band-light .section-card, .wp-block-group.is-style-section-band-light .wp-block-column.is-style-section-card { background: #f6f6f6; }
.section-band.light .section-card p, .wp-block-group.is-style-section-band-light .section-card p, .wp-block-group.is-style-section-band-light .wp-block-column.is-style-section-card p { color: #444; }
.inline-link { color: var(--eax-blue); font-weight: 800; }
.route-note, .wp-block-paragraph.is-style-route-note { max-width: 48rem; padding: 1rem 1.2rem; border-left: 1px solid var(--eax-blue); background: var(--eax-charcoal); color: var(--eax-soft); }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; margin-left: 0; padding: 2.5rem var(--eax-pad); border-top: 1px solid var(--eax-line); background: var(--eax-black); color: var(--eax-soft); font-size: .85rem; }
body.has-home-sidebar .site-footer { margin-left: var(--eax-rail-width); }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--eax-white); text-underline-offset: .2em; }

@media (max-width: 900px) {
  :root { --eax-rail-width: 0rem; --eax-header-height: auto; }
  .site-header { margin-left: 0 !important; grid-template-columns: 1fr auto; padding: 1.1rem var(--eax-pad); }
  body.has-home-sidebar .site-header { margin-left: 0 !important; }
  body.has-home-sidebar .site-layout.with-home-sidebar { margin-left: 0 !important; }
  body.has-home-sidebar .site-footer { margin-left: 0 !important; }
  .site-logo img { width: 9.5rem; max-height: 2.75rem; }
  /* Hide desktop nav and desktop actions, show hamburger button */
  .primary-nav { display: none !important; }
  .site-header-actions .language-switch { display: none !important; }
  .site-header-actions .join-link { display: none !important; }
  .header-countdown-badge { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  /* Hide home sticky sidebar on mobile, allow block sidebar and drawer to adapt */
  .site-sidebar.home-sticky-sidebar { display: none !important; }
  .eax-sidebar-block { display: flex !important; position: static !important; width: 100% !important; }
  .section-grid, .wp-block-columns.is-style-section-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --eax-rail-width: 0rem; --eax-header-height: auto; }
  .site-header { padding: 0.9rem 1.25rem; }
  .site-logo img { width: 8.5rem; max-height: 2.4rem; }
  .button-link { min-height: 2.35rem; padding: 0.5rem 0.85rem; font-size: 0.82rem; }
  .hero-actions { gap: 0.5rem; margin-top: 1.5rem; }
  .hero-actions .button-link { flex: 1 1 auto; justify-content: center; text-align: center; }
  .site-footer { flex-direction: column; margin-left: 0 !important; padding: 2rem 1.25rem; }
  .site-footer nav { flex-wrap: wrap; }
  .people { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .eax-roster-toolbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px; }
  .eax-group-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .eax-group-filter-btn { white-space: nowrap; font-size: 10px; padding: 5px 8px; }
  .eax-roster-controls { justify-content: space-between; }
  .eax-roster-controls input[type="search"] { flex: 1; max-width: none; }
  .carcard { grid-template-columns: 1fr; }
  .eax-timeline-track { padding-right: 28px; padding-left: 0; margin-right: 0; margin-left: 0; }
  .eax-timeline-line { right: 8px; left: auto; }
  .eax-timeline-dot { right: -20px; left: auto; transform: translate(50%, -50%); width: 10px; height: 10px; }
  .eax-timeline-node.is-active .eax-timeline-dot { width: 14px; height: 14px; }
  .eax-timeline-node { padding: 14px 16px; }
  .has-dot-left .eax-timeline-track { padding-left: 28px; padding-right: 0; }
  .has-dot-left .eax-timeline-line { left: 8px; right: auto; }
  .has-dot-left .eax-timeline-dot { left: -20px; right: auto; transform: translate(-50%, -50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Ecurie Aix Components: People, Timeline, Car Blocks & Badges
   ========================================================================== */

/* Badges / Classes */
.cls { display: inline-block; padding: 3px 8px; background: #154e7d; color: #dbeeff; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.cls.dv { background: #3a2a52; color: #e2d6ff; }
.cls.ice { background: #3d3423; color: #f0e0c0; }
.cls.ev { background: #154e7d; color: #dbeeff; }

/* People Grid */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin: 1.5rem 0; }
.person { background: var(--eax-charcoal); border: 1px solid var(--eax-line); display: flex; flex-direction: column; overflow: hidden; }
.person .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #0a1119; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.person .txt { padding: 12px 14px 14px; border-top: 2px solid var(--eax-blue); display: flex; flex-direction: column; flex-grow: 1; }
.person .name { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.person .role { display: block; margin-top: 2px; color: var(--eax-soft); font-size: 12px; }
.person.lead .txt { border-top-color: #ff6535; }

/* Team Group Divided Sections */
.eax-people-groups-wrapper { display: flex; flex-direction: column; gap: 3rem; margin: 1.5rem 0; }
.eax-team-group-section { display: flex; flex-direction: column; gap: 1.25rem; }
.eax-team-group-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--eax-line, #383838); padding-bottom: 0.85rem; flex-wrap: wrap; gap: 12px; }
.eax-team-group-header-left { display: flex; align-items: center; gap: 12px; }
.eax-team-group-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.eax-team-group-title { margin: 0; font-size: clamp(1.25rem, 2.8vw, 1.75rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; color: var(--eax-white, #ffffff); }
.eax-team-group-lead { display: block; font-size: 11px; font-weight: 600; color: var(--eax-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; }
.eax-team-group-count { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eax-blue, #0064c8); background: rgba(0, 100, 200, 0.12); padding: 4px 12px; border-radius: 12px; border: 1px solid rgba(0, 100, 200, 0.25); white-space: nowrap; }
.eax-team-group-desc { font-size: 13px; color: var(--eax-soft); line-height: 1.5; max-width: 800px; margin-bottom: 4px; }
.eax-team-group-section .people { margin: 0; }

/* Season / Year Selector */
.eax-season-selector-wrapper { display: inline-flex; align-items: center; gap: 8px; }
.eax-season-selector-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eax-white); }
.eax-season-select { padding: 6px 12px; font-size: 12px; font-weight: 700; background: #111; border: 1px solid var(--eax-line); color: #fff; border-radius: 3px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.eax-season-select:hover, .eax-season-select:focus { border-color: var(--eax-blue); outline: none; background: #1a1a1a; }

/* Timeline Block */
.eax-block-timeline .timeline-title { margin-bottom: 2.5rem; }
.eax-timeline-track { position: relative; display: flex; flex-direction: column; gap: 28px; padding-right: 36px; margin-right: 10px; padding-left: 0; margin-left: 0; }
.eax-timeline-line { position: absolute; right: 14px; left: auto; top: 24px; bottom: 24px; width: 2px; background: var(--eax-line, #383838); pointer-events: none; }
.eax-timeline-progress { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(to bottom, var(--eax-blue, #0064c8), #72b9ff); box-shadow: none; transition: height 0.1s linear; }
.eax-timeline-node { position: relative; padding: 18px 24px; background: var(--eax-charcoal, #171717); border: 1px solid var(--eax-line, #383838); border-radius: 4px; transition: border-color 0.25s ease, background 0.25s ease; }
/* The dot is centered EXACTLY on the line on the right side: line is at right: 14px (center = 15px). Node ends 36px inside track. 36px - 15px = 21px outside right. Accounting for 1px node border, right: -22px with transform: translate(50%, -50%) centers it down to the exact subpixel. */
.eax-timeline-dot { position: absolute; right: -22px; left: auto; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #111; border: 2px solid var(--eax-line, #555); transform: translate(50%, -50%); transition: width 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease; z-index: 2; box-sizing: border-box; }
/* Passed nodes */
.eax-timeline-node.is-passed .eax-timeline-dot { background: var(--eax-blue, #0064c8); border-color: var(--eax-blue, #0064c8); }
/* Active current node highlighted on scroll - clean styling without glow or displacement */
.eax-timeline-node.is-active { border-color: var(--eax-blue, #0064c8); background: #1a1a1a; transform: none; box-shadow: none; }
.eax-timeline-node.is-active .eax-timeline-dot { width: 16px; height: 16px; background: var(--eax-blue, #0064c8); border: 2px solid #ffffff; box-shadow: none; }
.eax-timeline-node.is-active .eax-timeline-year-badge .year { color: #ffffff; text-shadow: none; }
.eax-timeline-node.is-active .eax-timeline-year-badge .tag { background: var(--eax-blue, #0064c8); color: #ffffff; }
.eax-timeline-year-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.eax-timeline-year-badge .year { font-size: 1.4rem; font-weight: 900; letter-spacing: -.04em; color: var(--eax-white, #fff); transition: color 0.2s ease; }
.eax-timeline-content .node-title { margin: 0 0 6px; font-size: 1.15rem; }
.eax-timeline-content .node-desc { margin: 0; color: var(--eax-soft, #aaa); font-size: 0.95rem; line-height: 1.5; }

/* In-depth link for each timeline event */
.eax-timeline-action { margin-top: 0.9rem; }
.eax-timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eax-blue, #0064c8);
  text-decoration: none;
  transition: all 0.15s ease;
}
.eax-timeline-link:hover, .eax-timeline-link:focus-visible {
  color: #72b9ff;
  transform: translateX(3px);
}
.eax-timeline-link-arrow { transition: transform 0.15s ease; }
.eax-timeline-link:hover .eax-timeline-link-arrow { transform: translateX(3px); }
.eax-timeline-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.eax-timeline-title-link:hover, .eax-timeline-title-link:focus-visible {
  color: var(--eax-blue, #72b9ff);
}

/* Optional left-side dot override */
.has-dot-left .eax-timeline-track { padding-right: 0; margin-right: 0; padding-left: 36px; margin-left: 10px; }
.has-dot-left .eax-timeline-line { left: 14px; right: auto; }
.has-dot-left .eax-timeline-dot { left: -22px; right: auto; transform: translate(-50%, -50%); }
.has-dot-left .eax-timeline-node.is-active { transform: none; }

/* Car Card & Specs Blocks */
.eax-block-car-card { border: 1px solid var(--eax-line); background: var(--eax-charcoal); }
.eax-block-car-card .car-media { min-height: 180px; }
.eax-block-car-card .body { padding: 1.5rem; }
.eax-block-car-specs .spec-item { transition: background 0.15s ease; }
.eax-block-car-specs .spec-item:hover { background: #202020; }

/* Interactive Toolbar */
.eax-group-filter-btn { padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; background: #111; color: var(--eax-soft); border: 1px solid var(--eax-line); border-radius: 2px; cursor: pointer; transition: all 0.15s ease; }
.eax-group-filter-btn:hover { background: var(--eax-blue); color: var(--eax-white); border-color: var(--eax-blue); }
.eax-group-filter-btn.active, .eax-group-filter-btn[aria-pressed="true"] { background: var(--eax-blue); color: var(--eax-white); border-color: var(--eax-blue); }

/* Car Card Wipe Animation */
.eax-block-car-card { transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; }
.eax-block-car-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 100, 200, 0.25); }
.eax-wipe-anim .car-media img { animation: eaxWipeIn 0.65s cubic-bezier(0.45, 0, 0.15, 1) both; }
@keyframes eaxWipeIn {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}/* Sponsors & Partner Wall */
.eax-sponsor-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.eax-sponsor-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 100, 200, 0.25) !important; }

/* Member Person Card Hover & Modal */
.eax-person.has-history { transition: transform 0.2s ease, border-color 0.2s ease; position: relative; }
.eax-person.has-history:hover { transform: translateY(-2px); border-color: var(--eax-blue); }
.eax-person.has-history:hover .eax-career-link { text-decoration: underline; color: #fff !important; }

/* European Tour Map & Cards */
.eax-map-node:hover circle:first-child { opacity: 0.6 !important; }
.eax-tour-card { transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.eax-tour-card:hover { border-color: var(--eax-blue) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 100, 200, 0.2); }

/* ==========================================================================
   Recruiting Portal / Join Us Layout, Sticky Countdown & Prerendered Tabs
   ========================================================================== */

.eax-recruiting-wrapper { margin: 2rem 0; width: 100%; }

/* Sticky Countdown Bar */
.eax-countdown-bar {
  position: sticky;
  top: 5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  background: #0f1620;
  border: 1px solid #1c2b3e;
  border-left: 4px solid var(--eax-blue);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
}
.eax-countdown-status { display: flex; align-items: center; gap: 0.65rem; font-size: 0.88rem; font-weight: 700; }
.eax-status-indicator { width: 10px; height: 10px; border-radius: 50%; background: #00e676; box-shadow: 0 0 8px #00e676; }
.eax-status-indicator.closed { background: var(--eax-accent); box-shadow: 0 0 8px var(--eax-accent); }
.eax-status-indicator.upcoming { background: #d97706; box-shadow: 0 0 8px #d97706; }
.eax-countdown-timer-group { display: flex; align-items: center; gap: 0.85rem; }
.eax-countdown-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--eax-soft); }
.eax-timer-display { display: flex; align-items: baseline; gap: 0.45rem; font-family: monospace, monospace; }
.eax-timer-unit { display: inline-flex; align-items: baseline; gap: 2px; background: #0a0e14; padding: 4px 7px; border-radius: 3px; border: 1px solid #223246; }
.eax-timer-unit strong { font-size: 1.15rem; font-weight: 900; color: #fff; min-width: 1.8ch; text-align: center; }
.eax-timer-unit small { font-size: 0.7rem; color: #72b9ff; text-transform: uppercase; }
.eax-timer-expired { color: var(--eax-accent); font-weight: 900; letter-spacing: 0.04em; background: rgba(198, 30, 21, 0.15); padding: 4px 10px; border-radius: 3px; border: 1px solid var(--eax-accent); }

/* 2-Column Department Layout */
.eax-join-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Sidebar */
.eax-dept-sidebar {
  position: sticky;
  top: 9.5rem;
  max-height: calc(100vh - 11rem);
  overflow-y: auto;
  background: var(--eax-charcoal);
  border: 1px solid var(--eax-line);
  border-radius: 6px;
  padding: 1.25rem 1rem;
}
.eax-dept-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #2c2c2c;
}
.eax-dept-sidebar-header h3 { margin: 0; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--eax-soft); }
.eax-dept-count { font-size: 0.75rem; background: #262626; color: #999; padding: 2px 7px; border-radius: 10px; }
.eax-dept-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.eax-dept-nav-item { margin: 0; }
.eax-dept-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: #bbb;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.eax-dept-nav-btn:hover { background: #222; color: #fff; border-color: #333; }
.eax-dept-nav-btn.is-active, .eax-dept-nav-btn[aria-selected="true"] {
  background: #0d2138;
  border-color: #173860;
  border-left: 3px solid var(--eax-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 100, 200, 0.2);
}
.eax-dept-nav-icon { font-size: 1.25rem; display: flex; align-items: center; justify-content: center; width: 28px; flex-shrink: 0; }
.eax-dept-nav-info { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.eax-dept-nav-title { font-size: 0.92rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eax-dept-nav-badge { font-size: 0.7rem; color: #72b9ff; margin-top: 2px; }
.eax-dept-nav-chevron { color: #555; font-size: 0.85rem; transition: transform 0.15s ease; }
.eax-dept-nav-btn.is-active .eax-dept-nav-chevron { color: var(--eax-blue); transform: translateX(3px); }

/* Department Main Panel */
.eax-dept-main-content { min-width: 0; }
.eax-dept-panel {
  background: var(--eax-charcoal);
  border: 1px solid var(--eax-line);
  border-radius: 6px;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.eax-dept-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--eax-line);
}
.eax-dept-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #0d2138;
  border: 1px solid #1a3a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.eax-dept-header-text { flex-grow: 1; }
.eax-dept-meta-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.eax-dept-badge-pill { background: #0064c8; color: #fff; font-size: 0.72rem; font-weight: 800; padding: 2px 9px; border-radius: 12px; letter-spacing: 0.04em; }
.eax-dept-lead-pill { background: #262626; color: var(--eax-soft); font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; }
.eax-dept-title { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.75rem); letter-spacing: -0.03em; }

/* Department Body Content */
.eax-dept-body-content { font-size: 1.05rem; line-height: 1.7; color: #e0e0e0; }
.eax-dept-body-content h3 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: 0.75rem; color: #fff; }
.eax-dept-body-content ul { padding-left: 1.35rem; margin-bottom: 1.5rem; }
.eax-dept-body-content li { margin-bottom: 0.5rem; color: var(--eax-soft); }

/* Apply Section */
.eax-apply-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #282828;
}
.eax-apply-header h3 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.eax-apply-header .description { margin: 0 0 1.5rem; color: var(--eax-soft); font-size: 0.95rem; }
.eax-form-iframe-container {
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.eax-form-fallback { margin-top: 0.75rem; font-size: 0.85rem; color: #888; text-align: right; }
.eax-form-fallback a { color: #72b9ff; text-decoration: underline; }

/* Closed Notice Card */
.eax-closed-card {
  background: #1c1414;
  border: 1px solid #4a2020;
  border-left: 4px solid var(--eax-accent);
  border-radius: 6px;
  padding: 1.75rem;
}
.eax-closed-tag { display: inline-block; font-size: 0.75rem; font-weight: 800; color: #fff; background: var(--eax-accent); padding: 3px 8px; border-radius: 3px; text-transform: uppercase; margin-bottom: 0.75rem; }
.eax-closed-card h4 { margin: 0 0 0.5rem; font-size: 1.25rem; color: #fff; }
.eax-closed-card p { margin: 0 0 1rem; color: var(--eax-soft); line-height: 1.6; }
.eax-next-window-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: #261919; border: 1px solid #5a2e2e; padding: 6px 12px; border-radius: 4px; font-size: 0.85rem; color: #f0a0a0; }

/* Full-Screen Takeover View */
.eax-takeover-view {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.eax-takeover-card {
  max-width: 620px;
  width: 100%;
  background: linear-gradient(145deg, #171717, #0c1824);
  border: 1px solid #233e5c;
  border-top: 4px solid var(--eax-accent);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.eax-takeover-badge {
  display: inline-block;
  background: var(--eax-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.eax-takeover-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; letter-spacing: -0.03em; color: #fff; }
.eax-takeover-desc { color: var(--eax-soft); font-size: 1.1rem; line-height: 1.6; margin: 0 0 2rem; }
.eax-next-window-card {
  background: #112233;
  border: 1px solid #1a3d66;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
}
.eax-next-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #72b9ff; }
.eax-next-date { font-size: 1.15rem; color: #fff; font-weight: 800; }
.eax-takeover-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Responsive Adjustments for Join Us */
@media (max-width: 900px) {
  .eax-join-layout { grid-template-columns: 1fr; }
  .eax-dept-sidebar {
    position: sticky;
    top: 4.5rem;
    z-index: 15;
    max-height: none;
    overflow-x: auto;
    padding: 0.75rem;
  }
  .eax-dept-nav-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 0.5rem;
  }
  .eax-dept-nav-btn {
    white-space: nowrap;
    border-left: 1px solid transparent;
    border-bottom: 3px solid transparent;
    padding: 0.6rem 0.9rem;
  }
  .eax-dept-nav-btn.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--eax-blue);
  }
  .eax-dept-nav-chevron { display: none; }
  .eax-countdown-bar { top: 4.5rem; }
}

/* ==========================================================================
   IBM Carbon Design System Overhaul (Ecurie Aix New Design)
   ========================================================================== */

/* 1. Header Application Countdown Badge */
.header-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: #1c1c1c;
  border: 1px solid #333333;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c7c7c7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-cd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24a148;
}
.header-countdown-badge.closed .header-cd-dot {
  background: #da1e28;
}
.header-countdown-badge.upcoming .header-cd-dot {
  background: #f1c21b;
}

/* 2. Mobile Menu Hamburger & Fullscreen Overlay (matches new-design-home-menu-mobile.png) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 35;
}
.mobile-menu-toggle .hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #111111;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.mobile-nav-active {
  overflow: hidden;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #262626;
}
.mobile-nav-logo img {
  width: 8.5rem;
  max-height: 2.6rem;
  object-fit: contain;
}
.mobile-nav-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-nav-list a {
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1.1;
  display: block;
}
.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
  color: var(--eax-blue);
  transform: scale(1.04);
}

/* 3. "Wir stellen ein" Ticker Carousel (matches new-design-home2.png) */
.eax-ticker-block {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #111111;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
  padding: 1.2rem 0;
}
.eax-ticker-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.eax-ticker-track {
  display: flex;
  width: max-content;
  user-select: none;
}
.eax-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.eax-ticker-dir-rtl .eax-ticker-track {
  animation: eaxMarqueeRTL var(--eax-ticker-duration, 25s) linear infinite;
}
.eax-ticker-dir-ltr .eax-ticker-track {
  animation: eaxMarqueeLTR var(--eax-ticker-duration, 25s) linear infinite;
}
.eax-ticker-block:hover .eax-ticker-track {
  animation-play-state: paused;
}
@keyframes eaxMarqueeRTL {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
@keyframes eaxMarqueeLTR {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}
.eax-ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.5rem;
}
.eax-ticker-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.eax-ticker-sep {
  margin-left: 2.5rem;
  color: var(--eax-blue);
  font-weight: 900;
}

/* 4. Sponsor Badges Row (matches new-design-home2.png) */
.sponsor-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem var(--eax-pad);
  background: #111111;
}
.sponsor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 1.75rem;
  border-radius: 9999px;
  background: #d4d4d4;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.sponsor-pill:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

/* Sponsor Carousel Continuous Infinite Marquee */
.eax-sponsor-carousel-block {
  overflow: hidden;
  background: #111111;
  padding: 2.25rem 0;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
  width: 100%;
  position: relative;
}
.eax-sponsor-carousel-track {
  display: flex;
  width: max-content;
  user-select: none;
}
.eax-sponsor-carousel-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  will-change: transform;
}
.eax-sponsor-carousel-dir-rtl .eax-sponsor-carousel-group {
  animation: eaxSponsorMarqueeRTL var(--eax-sponsor-carousel-duration, 30s) linear infinite;
}
.eax-sponsor-carousel-dir-ltr .eax-sponsor-carousel-group {
  animation: eaxSponsorMarqueeLTR var(--eax-sponsor-carousel-duration, 30s) linear infinite;
}
.eax-sponsor-carousel-block.has-pause-on-hover:hover .eax-sponsor-carousel-group {
  animation-play-state: paused;
}
@keyframes eaxSponsorMarqueeRTL {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@keyframes eaxSponsorMarqueeLTR {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.eax-sponsor-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 52px;
  padding: 0 1.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
}
.eax-sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.eax-sponsor-card-logo {
  max-height: 36px;
  max-width: 130px;
  object-fit: contain;
  display: block;
}
.eax-sponsor-card-badge {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

/* 5. Blueprint Outline Scroll Reveal Effect (matches new-design-home2.png & home3.png) */
.eax-blueprint-target,
.eax-blueprint-box,
.eax-blueprint-btn-wrap {
  position: relative;
}
.bp-line {
  position: absolute;
  background: #555555;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.bp-line-top {
  top: 0;
  left: -28px;
  right: -28px;
  height: 1px;
  transform-origin: center;
  transform: scaleX(0);
}
.bp-line-bottom {
  bottom: 0;
  left: -28px;
  right: -28px;
  height: 1px;
  transform-origin: center;
  transform: scaleX(0);
}
.bp-line-left {
  left: 0;
  top: -28px;
  bottom: -28px;
  width: 1px;
  transform-origin: center;
  transform: scaleY(0);
}
.bp-line-right {
  right: 0;
  top: -28px;
  bottom: -28px;
  width: 1px;
  transform-origin: center;
  transform: scaleY(0);
}

/* Elements fade in after blueprint lines draw */
.eax-blueprint-target > *:not(.bp-line),
.eax-blueprint-box > *:not(.bp-line),
.eax-blueprint-btn-wrap > *:not(.bp-line) {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

.eax-blueprint-target.is-revealed .bp-line-top,
.eax-blueprint-target.is-revealed .bp-line-bottom,
.eax-blueprint-box.is-revealed .bp-line-top,
.eax-blueprint-box.is-revealed .bp-line-bottom,
.eax-blueprint-btn-wrap.is-revealed .bp-line-top,
.eax-blueprint-btn-wrap.is-revealed .bp-line-bottom {
  transform: scaleX(1);
}
.eax-blueprint-target.is-revealed .bp-line-left,
.eax-blueprint-target.is-revealed .bp-line-right,
.eax-blueprint-box.is-revealed .bp-line-left,
.eax-blueprint-box.is-revealed .bp-line-right,
.eax-blueprint-btn-wrap.is-revealed .bp-line-left,
.eax-blueprint-btn-wrap.is-revealed .bp-line-right {
  transform: scaleY(1);
}

.eax-blueprint-target.is-revealed > *:not(.bp-line),
.eax-blueprint-box.is-revealed > *:not(.bp-line),
.eax-blueprint-btn-wrap.is-revealed > *:not(.bp-line) {
  opacity: 1;
  transform: translateY(0);
}

body.no-blueprint-anim .bp-line {
  transform: none !important;
}
body.no-blueprint-anim .eax-blueprint-target > *:not(.bp-line),
body.no-blueprint-anim .eax-blueprint-box > *:not(.bp-line),
body.no-blueprint-anim .eax-blueprint-btn-wrap > *:not(.bp-line) {
  opacity: 1 !important;
  transform: none !important;
}

/* 6. Hero Carbon Styling (Desktop Video + Gradient vs Mobile) */
.hero.eax-carbon-hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) var(--eax-pad);
  overflow: hidden;
  background: #111111;
}
.hero-media-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  overflow: hidden;
  z-index: 1;
}
.hero-video-element,
.hero-img-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-placeholder-video {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #484848;
  color: #c7c7c7;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-desktop-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111111 0%, rgba(17,17,17,0.85) 30%, rgba(17,17,17,0.15) 75%, transparent 100%);
  pointer-events: none;
}
.hero.eax-carbon-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}
.hero.eax-carbon-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 1.75rem;
}
.eax-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
}
.eax-blueprint-btn-wrap {
  display: inline-block;
}

@media (max-width: 900px) {
  .hero.eax-carbon-hero {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 75vh;
    padding: 3rem 1.5rem;
  }
  .hero-media-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  /* Crucial: NO gradient overlay on mobile, matching new-design-home1-mobile.png */
  .hero-desktop-gradient-overlay {
    display: none !important;
  }
  .hero.eax-carbon-hero h1 {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    line-height: 1.05;
  }
}

/* 7. Homepage Section 2 & 3 Carbon Cards (matches new-design-home2.png & home3.png) */
.carbon-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) var(--eax-pad);
  background: #111111;
  border-top: 1px solid #262626;
}
.carbon-card-visual {
  min-height: 380px;
  background: #d4d4d4;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.carbon-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carbon-card-copy p {
  color: #d4d4d4;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Current Events Route Strip (matches new-design-home3.png) */
.carbon-events-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem var(--eax-pad);
  border-top: 1px solid #333333;
  border-bottom: 1px solid #333333;
  background: #111111;
}
.carbon-events-label {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.carbon-events-route {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.carbon-event-stop {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.15s ease;
}
.carbon-event-stop:hover {
  color: var(--eax-blue);
}
.carbon-event-arrow {
  color: #ffffff;
  font-size: 1.4rem;
  letter-spacing: -0.1em;
}

@media (max-width: 900px) {
  .carbon-split-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .carbon-events-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .carbon-events-route {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* 8. Applications Carbon Layout (matches new-design-applications1.png & applications2.png) */
.eax-carbon-applications {
  background: #111111;
  color: #ffffff;
  min-height: 85vh;
}
.eax-carbon-app-layout {
  display: grid;
  grid-template-columns: clamp(260px, 24vw, 340px) minmax(0, 1fr);
  min-height: 80vh;
}
.eax-carbon-group-drawer {
  background: #111111;
  border-right: 1px solid #262626;
  padding: 1.5rem 0;
  position: sticky;
  top: 6rem;
  align-self: start;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}
.eax-carbon-dept-group {
  margin-bottom: 0.5rem;
}
.eax-carbon-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  scroll-margin-top: 7rem;
  transition: background 0.15s ease;
}
.eax-carbon-group-header:hover {
  background: #1c1c1c;
}
.eax-carbon-group-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eax-icon-placeholder {
  width: 20px;
  height: 14px;
  background: #d4d4d4;
  display: inline-block;
}
.eax-carbon-group-title {
  flex: 1;
}
.eax-carbon-group-arrow {
  font-size: 1.1rem;
  color: #888888;
}
.eax-carbon-subroles-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.eax-carbon-subrole-item {
  margin: 0;
}
.eax-carbon-role-btn {
  width: 100%;
  display: block;
  background: transparent;
  border: none;
  border-left: 4px solid transparent;
  padding: 0.65rem 1.5rem 0.65rem 3.4rem;
  color: #999999;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  scroll-margin-top: 7rem;
  transition: all 0.15s ease;
}
.eax-carbon-role-btn:hover {
  color: #ffffff;
  background: #181818;
}
.eax-carbon-role-btn.is-active {
  color: #ffffff;
  background: #1c1c1c;
  border-left-color: var(--eax-blue);
  font-weight: 900;
}
.eax-carbon-group-header.is-standalone-role.is-active {
  background: #1c1c1c;
  border-left: 4px solid var(--eax-blue);
}

.eax-carbon-content-area {
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
}
.eax-carbon-panel-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  line-height: 1.05;
}
.eax-carbon-panel-desc {
  max-width: 58rem;
  color: #cccccc;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}
.eax-carbon-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}
.eax-carbon-specs-heading {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: #ffffff;
}
.eax-carbon-bullet-list {
  margin: 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}
.eax-carbon-bullet-list li {
  font-size: 1.15rem;
  color: #d4d4d4;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.eax-carbon-apply-cta-box {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid #262626;
  text-align: center;
}
.eax-carbon-apply-sub {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
}
.eax-carbon-apply-giant {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 3rem;
  line-height: 1.0;
}
.eax-carbon-form-embed-wrapper {
  max-width: 52rem;
  margin: 0 auto;
}
.eax-carbon-form-placeholder {
  background: #161616;
  border: 1px solid #333333;
  padding: 3rem 2rem;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .eax-carbon-app-layout {
    grid-template-columns: 1fr;
  }
  .eax-carbon-group-drawer {
    border-right: none;
    border-bottom: 1px solid #262626;
    padding: 1rem;
  }
  .eax-carbon-specs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .eax-carbon-content-area {
    padding: 2rem 1.25rem;
  }
}

/* 9. Page Transition Line & Curtain */
.eax-transition-curtain {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: #111111;
  z-index: 99990;
  pointer-events: none;
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  border-right: 2px solid var(--eax-blue);
  opacity: 0;
}
.eax-transition-curtain.is-active {
  opacity: 1;
  width: 100vw;
  pointer-events: auto;
}
.eax-transition-curtain.is-drawer-expand {
  width: 320px;
}
body.is-page-transitioning .site-content {
  opacity: 0;
  transition: opacity 0.25s ease;
}

