/* ═══════════════════════════════════════════════════════════════════════
   GeXOn AI — gx-forms.css · forms, booking calendar, careers, blog (v6)
   ───────────────────────────────────────────────────────────────────────
   Loaded after gx.css on contact, discovery-call, careers and blog.

   Sections 1–2 are the component CSS that scheduling.js, careers.js and
   blog.js render into, carried over from the v5 stylesheets by selector
   (so the scripts need no changes). Section 0 maps the v5 token names
   they reference onto the v6 palette, so they inherit the new look.
   Section 3 is v6 form styling, and wins by source order.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 0 · v5 → v6 token compatibility ─────────────────────────────────── */
:root {
  --color-text-primary: var(--ink);
  --color-text-secondary: var(--text-2);
  --color-text-muted: var(--text-3);
  --color-text-on-dark-muted: var(--on-dark-2);
  --color-border: var(--line);
  --color-border-dark: var(--line-dark);
  --color-bg-card: var(--white);
  --color-bg-primary: var(--paper);
  --color-surface: var(--paper-2);
  --color-accent: var(--teal-ink);
  --color-brand-dark: var(--ink);
  --color-error: var(--red);
  --teal-500: var(--teal); --teal-700: var(--teal-ink);
  --navy-700: var(--ink-3); --navy-800: var(--ink-2); --navy-900: var(--ink);
  --grey-50: #F7F9FB; --grey-100: #EEF1F5; --grey-200: #DCE2EA; --grey-700: var(--text-2);
  --green-500: var(--teal-ink);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-16: 4rem;
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-lg: 1.125rem; --text-xl: 1.25rem;
  --font-weight-normal: 400; --font-weight-medium: 520; --font-weight-semibold: 600;
  --line-height-snug: 1.35; --line-height-normal: 1.5; --line-height-relaxed: 1.65;
  --font-display: var(--font-sans); --font-body: var(--font-sans);
  --radius-md: 8px; --radius-xl: 16px; --radius-full: 999px;
  --shadow-sm: var(--shadow-1); --shadow-md: var(--shadow-2); --shadow-lg: var(--shadow-2); --shadow-xl: var(--shadow-3); --shadow-card: var(--shadow-1);
  --transition-fast: 160ms var(--ease); --transition-normal: 260ms var(--ease);
  --z-modal: 400;
  --container-max: var(--container);
}

/* ── 1–2 · Carried-over component CSS ─────────────────────────────────── */
/* ── from main.css ── */
.field-group {
  margin-bottom: var(--space-5);
}
.field-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}
.field-group label .optional {
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
}
.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(40, 192, 156, 0.15);
  outline: none;
}
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--color-text-muted);
}
.field-group--checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-weight: var(--font-weight-normal);
  cursor: pointer;
}
.field-group--checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  accent-color: var(--color-accent);
}
.field-error {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
  min-height: 1.25em;
}
.field-hint {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.phone-input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.phone-input-group .phone-country-select {
  width: 100%;
}
.phone-input-group input[type="tel"] {
  width: 100%;
}
@media (min-width: 480px) {
  .phone-input-group {
    flex-direction: row;
  }
  .phone-input-group .phone-country-select {
    flex: 0 0 auto;
    width: auto;
    min-width: 7.5rem;
  }
  .phone-input-group input[type="tel"] {
    flex: 1 1 auto;
    width: auto;
  }
}
.form-success {
  padding: var(--space-8);
  background: var(--teal-wash);
  border: 1px solid var(--green-500);
  border-radius: var(--radius-lg);
  text-align: center;
}
.form-success h3 {
  color: var(--green-500);
  margin-bottom: var(--space-3);
}
.form-error-banner {
  padding: var(--space-4);
  background: var(--red-wash);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-md);
  color: var(--color-error);
  margin-bottom: var(--space-6);
}
.field-group input.field--autofilled,
.field-group textarea.field--autofilled {
  background: rgba(40, 192, 156, 0.08);
  border-color: var(--color-accent);
}
.form-trust {
  padding: var(--space-4);
  background: var(--grey-100);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}
.field-group input[type="file"] {
  padding: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
}
.field-group input[type="file"]::file-selector-button {
  padding: var(--space-2) var(--space-4);
  margin-right: var(--space-3);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--navy-800);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}
.field-group input[type="file"]::file-selector-button:hover {
  opacity: 0.9;
}
.form-trust a {
  color: var(--color-accent);
  text-decoration: underline;
}
.scheduling-block {
  text-align: center;
  padding: var(--space-10);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  margin-top: var(--space-10);
  
  max-width: 820px;
  margin-inline: auto;
}
.scheduling-block h2,
.scheduling-block h3 {
  margin-bottom: var(--space-3);
}
.scheduling-block p {
  margin-bottom: var(--space-6);
}
.scheduling-fallback-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.scheduling-copy-email {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-decoration: underline;
  cursor: pointer;
}
.scheduling-copy-email:hover {
  color: var(--color-accent);
}
.scheduling-copy-email.is-copied {
  color: var(--color-accent);
  text-decoration: none;
}
.scheduling-block.scheduling-block--live {
  border-style: solid;
  padding: var(--space-6);
  text-align: left;
}
.scheduling-block.scheduling-block--live h2,
.scheduling-block.scheduling-block--live h3 {
  text-align: center;
  
  margin-bottom: var(--space-4);
}
.scheduling-picker {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
.scheduling-block--live .scheduling-picker {
  max-height: 620px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-6) var(--space-5) var(--space-2);
  margin-top: calc(-1 * var(--space-2));
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.scheduling-block--live .scheduling-picker::-webkit-scrollbar {
  width: 8px;
}
.scheduling-block--live .scheduling-picker::-webkit-scrollbar-track {
  background: transparent;
}
.scheduling-block--live .scheduling-picker::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full, 999px);
}
@media (max-width: 640px) {
  .scheduling-block--live .scheduling-picker {
    max-height: 75vh;
  }
}
.scheduling-picker--placeholder {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px dashed var(--color-border);
}
.scheduling-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: 460px;
  margin-inline: auto;
  text-align: center;
}
.scheduling-empty-state__icon {
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
  opacity: 0.6;
}
.scheduling-empty-state__text {
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}
.scheduling-status {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding: var(--space-6) 0;
}
.scheduling-status--success {
  color: var(--color-accent);
  font-weight: 600;
}
.scheduling-status--error {
  color: var(--color-error, #d33);
}
.scheduling-calendar {
  margin-bottom: var(--space-6);
  max-width: 360px;
  margin-inline: auto;
}
.scheduling-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.scheduling-calendar__month {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  color: var(--color-text-primary);
}
.scheduling-calendar__nav-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: transparent;
  font-size: var(--text-lg);
  line-height: 1;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.scheduling-calendar__nav-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.scheduling-calendar__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.scheduling-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: var(--space-2);
}
.scheduling-calendar__weekdays span {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.scheduling-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-1);
}
.scheduling-calendar__day {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-text-primary);
  cursor: default;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.scheduling-calendar__day--outside {
  color: var(--color-text-muted);
  opacity: 0.35;
}
.scheduling-calendar__day--unavailable {
  
  color: var(--color-text-muted);
  opacity: 0.45;
  cursor: default;
}
.scheduling-calendar__day--available {
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  color: var(--color-brand-dark);
  font-weight: 600;
  cursor: pointer;
}
.scheduling-calendar__day--available:hover {
  background: color-mix(in srgb, var(--color-accent) 32%, transparent);
}
.scheduling-calendar__day--today:not(.scheduling-calendar__day--selected)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-brand-dark);
}
.scheduling-calendar__day--selected {
  background: var(--color-accent);
  color: #fff;
}
.scheduling-days {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.scheduling-days__nav-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: var(--space-8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: transparent;
  font-size: var(--text-lg);
  line-height: 1;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.scheduling-days__nav-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.scheduling-days__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.scheduling-days__track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(var(--scheduling-visible-days, 1), 1fr);
  gap: var(--space-4);
  min-width: 0;
}
.scheduling-day-column {
  min-width: 0;
}
.scheduling-day-column__header {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.scheduling-day-column--active .scheduling-day-column__header {
  
  color: var(--teal-ink);
  border-bottom-color: var(--color-accent);
}
.scheduling-day-column__slots {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.scheduling-time-slot {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.scheduling-time-slot:hover {
  border-color: var(--color-accent);
}
.scheduling-time-slot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
@media (max-width: 480px) {
  .scheduling-days__nav-btn {
    margin-top: var(--space-6);
  }
}
.scheduling-confirm-panel {
  max-width: 420px;
  margin-inline: auto;
  padding: var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  
  margin-top: calc(-1 * var(--space-8));
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.03), var(--shadow-lg, var(--shadow-card));
  animation: scheduling-confirm-in 0.28s ease-out;
}
.scheduling-confirm-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  background: none;
  border: none;
  padding: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  cursor: pointer;
}
.scheduling-confirm-back:hover {
  color: var(--color-accent);
}
.scheduling-days--collapsed {
  display: none;
}
.scheduling-confirm-summary__title {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-lg);
  color: var(--color-text-primary);
}
.scheduling-confirm-summary__row {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}
.scheduling-confirm-summary__row:last-child {
  margin-bottom: 0;
}
.scheduling-confirm-summary__row .icon-inline {
  color: var(--color-accent);
}
.scheduling-confirm-summary__row--muted {
  color: var(--color-text-muted);
}
.scheduling-confirm-summary__row--muted .icon-inline {
  color: var(--color-text-muted);
}
.scheduling-confirm-divider {
  margin: var(--space-5) 0;
  border: none;
  border-top: 1px solid var(--color-border);
}
.scheduling-booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.scheduling-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
}
.scheduling-field input,
.scheduling-field textarea {
  font-weight: 400;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
}
.scheduling-google-signin {
  margin-bottom: var(--space-5);
}
.scheduling-google-signin__button {
  display: flex;
  justify-content: center;
}
.scheduling-google-signin__verified {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-accent);
  text-align: center;
}
.scheduling-or-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.scheduling-or-divider::before,
.scheduling-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.form-wrapper .field-group:last-of-type {
  margin-bottom: var(--space-6);
}
.form-intro-steps {
  list-style: none;
  margin: var(--space-6) 0 var(--space-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-intro-steps li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.form-intro-steps .step-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-wash);
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-xs);
}
/* ── from components.css ── */
.openings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.openings-tab {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.openings-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}
.openings-tab[aria-selected="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}
.openings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}
@media (min-width: 640px) {
  .openings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .openings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.opening-card {
  display: flex;
  flex-direction: column;
}
.opening-card__type {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--teal-wash);
  color: var(--teal-700);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}
.opening-card__type--pool {
  background: rgba(15, 35, 64, 0.08);
  color: var(--navy-700);
}
.opening-card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.opening-card__desc {
  flex: 1;
  line-height: 1.6;
  max-height: calc(1.6em * 6);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.opening-card__desc p {
  margin: 0 0 var(--space-2);
}
.opening-card__desc ul,
.opening-card__desc ol {
  margin: 0 0 var(--space-2);
  padding-left: 1.3em;
}
.opening-card__desc h3,
.opening-card__desc h4 {
  margin: var(--space-2) 0 var(--space-1);
}
.opening-card__apply {
  margin-top: var(--space-4);
  align-self: flex-start;
}
.opening-card__more {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  color: var(--teal-700);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  cursor: pointer;
  align-self: flex-start;
}
.opening-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 35, 64, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.opening-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.opening-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden; 
}
.opening-modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--grey-100);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.opening-modal__close:hover {
  background: var(--grey-200);
  color: var(--color-text-primary);
}
.opening-modal__header {
  padding: var(--space-8) var(--space-8) var(--space-5);
  border-bottom: 1px solid var(--grey-100);
  flex-shrink: 0;
}
.opening-modal__header h3 {
  margin: var(--space-3) 0 var(--space-1);
  padding-right: var(--space-8); 
}
.opening-modal__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.opening-modal__scroll {
  overflow-y: auto;
  padding: var(--space-6) var(--space-8);
  flex: 1;
}
.opening-modal__body {
  line-height: 1.75;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}
.opening-modal__body p {
  margin: 0 0 var(--space-4);
}
.opening-modal__body ul,
.opening-modal__body ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.5em;
}
.opening-modal__body ul {
  list-style: disc;
}
.opening-modal__body ol {
  list-style: decimal;
}
.opening-modal__body li {
  margin-bottom: var(--space-1);
}
.opening-modal__body h3,
.opening-modal__body h4 {
  margin: var(--space-5) 0 var(--space-2);
  color: var(--navy-800);
  font-family: var(--font-display);
}
.opening-modal__body h3:first-child,
.opening-modal__body h4:first-child {
  margin-top: 0;
}
.opening-modal__footer {
  padding: var(--space-5) var(--space-8);
  border-top: 1px solid var(--grey-100);
  flex-shrink: 0;
}
.opening-modal__footer .btn {
  width: 100%;
}
@media (max-width: 640px) {
  .opening-modal__header,
  .opening-modal__scroll,
  .opening-modal__footer {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}
.openings-empty {
  text-align: center;
  padding: var(--space-8);
  color: var(--color-text-secondary);
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-10);
}
.tag-input {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.tag-input:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(40, 192, 156, 0.15);
}
.tag-input--autofilled {
  background: rgba(40, 192, 156, 0.08);
  border-color: var(--color-accent);
}
.tag-input__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2) var(--space-1) var(--space-3);
  background: var(--teal-wash);
  color: var(--teal-700);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
}
.tag-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 122, 96, 0.18);
  color: var(--teal-700);
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 1;
  padding: 0;
}
.tag-chip__remove:hover {
  background: var(--teal-700);
  color: var(--white);
}
.tag-input__field {
  flex: 1 1 8rem;
  min-width: 8rem;
  border: none;
  outline: none;
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--color-text-primary);
  background: transparent;
}
.tag-input__field:disabled {
  cursor: not-allowed;
  color: var(--color-text-muted);
}
.tag-input__suggestions {
  position: absolute;
  top: calc(100% + var(--space-1));
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 12rem;
  overflow-y: auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.tag-input__suggestion {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border: none;
  background: none;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  cursor: pointer;
}
.tag-input__suggestion:hover,
.tag-input__suggestion--active {
  background: rgba(40, 192, 156, 0.1);
}
/* ── from process.css ── */
.scheduling-skeleton { padding: var(--space-2, 0.5rem) 0; }
.scheduling-skeleton__head {
  height: 20px;
  width: 42%;
  margin: 0 auto var(--space-5, 1.25rem);
  border-radius: var(--radius-sm, 4px);
  background: var(--grey-100);
}
.scheduling-skeleton__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2, 0.5rem);
}
.scheduling-skeleton__cell {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--grey-100);
}
@media (prefers-reduced-motion: no-preference) {
  .scheduling-skeleton__head,
  .scheduling-skeleton__cell { animation: sched-skeleton-pulse 1.4s ease-in-out infinite; }
}
.opening-modal { border-radius: var(--radius-2xl, 24px); }
/* ── from blog.css ── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}
@media (min-width: 700px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-empty {
  text-align: center;
  
  color: var(--color-text-secondary);
  padding: var(--space-16) var(--space-4);
  grid-column: 1 / -1;
}
.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.blog-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--grey-100);
  display: block;
}
.blog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__badge-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.blog-card__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--teal-wash);
  color: var(--teal-ink);
}
.blog-card__badge--event {
  background: rgba(15, 35, 64, 0.08);
  color: var(--navy-700);
}
.blog-card__date {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.blog-card h3 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
  color: var(--navy-800);
}
.blog-card__excerpt {
  flex: 1;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__cta {
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
}
.blog-detail__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  font-weight: var(--font-weight-semibold);
}
.blog-detail__cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
}
.blog-detail__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.blog-detail__event-box {
  background: var(--grey-50);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}
.blog-detail__event-box dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
}
.blog-detail__event-box dd {
  margin: 0 0 var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--navy-800);
}
.blog-detail__event-box dd:last-child { margin-bottom: 0; }
.blog-detail__body {
  max-width: 760px;
  line-height: 1.75;
  font-size: var(--text-lg);
}
.blog-detail__body p { margin: 0 0 var(--space-5); }
.blog-detail__body h2, .blog-detail__body h3, .blog-detail__body h4 {
  color: var(--navy-800);
  margin: var(--space-8) 0 var(--space-3);
}
.blog-detail__body ul, .blog-detail__body ol { margin: 0 0 var(--space-5); padding-left: 1.4em; }
.blog-detail__body blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  border-left: 3px solid var(--color-accent);
  background: var(--grey-50);
  font-style: italic;
  color: var(--grey-700);
}
.blog-detail__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}
.blog-detail__body pre {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.blog-detail__body code {
  font-family: var(--font-mono);
  background: var(--grey-100);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}
.blog-detail__body pre code { background: none; padding: 0; }
.blog-detail__related {
  max-width: 760px;
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.blog-detail__related-heading {
  font-size: var(--text-xl);
  color: var(--navy-800);
  margin: 0 0 var(--space-5);
}
.blog-detail__related .blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.blog-carousel {
  position: relative;
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-100);
  touch-action: pan-y;
}
.blog-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
}
.blog-carousel__track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}
.blog-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 35, 64, 0.55);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-carousel__nav--prev { left: var(--space-3); }
.blog-carousel__nav--next { right: var(--space-3); }
.blog-carousel__dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
}
.blog-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}
.blog-carousel__dot.active { background: #fff; }
.blog-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.blog-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes scheduling-confirm-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sched-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* ── 3 · v6 form styling ────────────────────────────────────────────────
   Overrides the carried-over rules by source order. */
.field-group { display: grid; gap: 0.4rem; align-content: start; margin-bottom: var(--s-5); }
.field-group label, .field-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field-group .optional, .field-group label span[aria-hidden] { font-weight: 400; color: var(--text-3); }
.field-group input:not([type="checkbox"]):not([type="radio"]),
.field-group select,
.field-group textarea,
.scheduling-field input, .scheduling-field textarea, .scheduling-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-base);
  line-height: 1.4;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field-group textarea { min-height: 140px; resize: vertical; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus,
.scheduling-field input:focus, .scheduling-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--teal-wash-2);
}
.field-group [aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { min-height: 0; font-size: var(--fs-sm); color: var(--red); }
.field-error:empty { display: none; }
.field-hint { font-size: 0.8125rem; color: var(--text-3); }
.phone-input-group { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: var(--s-2); }
.checkbox-label { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 400 !important; color: var(--text-2) !important; }
.checkbox-label input { width: 20px; height: 20px; margin-top: 0.1rem; accent-color: var(--ink); flex-shrink: 0; }
.checkbox-label a { color: var(--teal-ink); }
.form-wrapper { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); box-shadow: var(--shadow-2); }
.form-success { padding: var(--s-6); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; background: #F2FBF8; }
.form-success h3 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.form-success p + p { margin-top: var(--s-2); }
.form-success a { color: var(--teal-ink); }
.form-error-banner { margin-bottom: var(--s-5); padding: var(--s-4) var(--s-5); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); border-radius: var(--radius); background: var(--red-wash); font-size: var(--fs-sm); }

/* Goal cards: step one of the contact form. Radio inputs styled as
   cards; the native radio stays in the tab order and is visually hidden. */
.choices { border: 0; margin: 0 0 var(--s-8); padding: 0; }
.choices legend { margin-bottom: var(--s-4); padding: 0; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; }
.choices__grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (min-width: 640px) { .choices__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: grid;
  gap: 0.2rem;
  height: 100%;
  min-height: 72px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.choice label b { font-weight: 600; font-size: var(--fs-sm); }
.choice label span { font-size: 0.8125rem; color: var(--text-3); line-height: 1.4; }
.choice label:hover { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + label b::after { content: " ✓"; color: var(--teal-ink); }
.choice input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

.form-grid { display: grid; gap: 0 var(--s-5); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-step-label { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--s-4); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.form-step-label b { color: var(--teal-ink); font-weight: 500; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-3); }

/* Booking widget, restyled in v6 terms. */
.scheduling-block { padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-2); }
.scheduling-block h2 { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.scheduling-calendar__day--available { font-weight: 600; }
.scheduling-calendar__day--selected, .scheduling-time-slot.is-active, .scheduling-time-slot[aria-pressed="true"] { background: var(--ink) !important; color: var(--on-dark) !important; border-color: var(--ink) !important; }
.scheduling-time-slot { border-radius: var(--radius-sm); }
.scheduling-copy-email { border: 0; background: none; padding: 0; color: var(--teal-ink); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* Careers + blog cards inherit the v6 surfaces. */
.opening-card, .blog-card { border-radius: var(--radius-lg) !important; border-color: var(--line) !important; box-shadow: none !important; }
.opening-card:hover, .blog-card:hover { border-color: var(--ink) !important; }

/* Contact page */
.contact-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-facts > div { display: grid; gap: 0.2rem; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .contact-facts > div { grid-template-columns: 140px 1fr; align-items: baseline; } }
.contact-facts dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.contact-facts dd { margin: 0; font-weight: 520; }
.contact-facts a { color: var(--ink); }
.copy-btn { margin-left: 0.5rem; padding: 0.15rem 0.55rem; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: var(--fs-xs); color: var(--text-2); }
.copy-btn.is-copied { border-color: var(--teal-ink); color: var(--teal-ink); }
@media (pointer: coarse) { .copy-btn { min-height: 44px; padding-inline: 0.9rem; } }
@media (min-width: 1024px) { .contact-split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

/* v5 class aliases for markup that careers.js / blog.js / scheduling.js
   still emit, so rendered content matches the v6 components. */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn.btn-primary { --btn-bg: var(--ink); --btn-fg: var(--on-dark); --btn-bd: var(--ink); }
.btn.btn-outline, .btn.btn-outline-white { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn.btn-outline:hover { --btn-bd: var(--ink); --btn-bg: var(--white); }
.btn.btn-sm { min-height: 38px; padding: 0.45rem 0.95rem; font-size: 0.8125rem; }
.btn.btn-lg { min-height: 54px; padding: 0.85rem 1.6rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6); }
.icon-inline { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
.page-hero--compact { padding-bottom: var(--s-10); }
#talent > .container { max-width: calc(920px + var(--gutter) * 2); }
.openings-tab { min-height: 40px; padding: 0.45rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: var(--fs-sm); font-weight: 540; color: var(--text-2); }
.openings-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

/* Discovery call: the topic the visitor came from (?topic=), and the
   one-line data notice above "Confirm Call". */
.topic-note { margin-top: var(--s-5); padding: 0.7rem 0.9rem; border-left: 3px solid var(--teal); background: var(--teal-wash); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--fs-sm); color: var(--text); max-width: 60ch; }
.scheduling-consent { margin: 0; font-size: 0.8125rem; color: var(--text-3); }
.scheduling-consent a { color: inherit; }

/* No open slots, or the calendar could not be reached: an on-page
   "request a time" form, then WhatsApp and email (scheduling.js). The
   picker's scroll box is for the calendar; the form needs none of it. */
.scheduling-block--live .scheduling-picker.scheduling-picker--request { max-height: none; overflow: visible; }
.scheduling-picker--request .scheduling-status { text-align: left; padding: 0 0 var(--s-4); color: var(--text-2); }
.scheduling-picker--request .scheduling-status--sub { margin-top: var(--s-6); padding-bottom: var(--s-3); font-size: var(--fs-sm); color: var(--text-3); }
.scheduling-picker--request .scheduling-status--success { color: var(--teal-ink); font-weight: 600; }
.scheduling-picker--request .scheduling-status--error { color: var(--red); }
.scheduling-request .form-foot { margin-top: var(--s-4); padding-top: var(--s-4); }
.scheduling-request .form-foot + .scheduling-status { margin-top: var(--s-3); }
.scheduling-picker--request .scheduling-fallback-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--s-3); }
