/* Careers listing + detail — clean light surface (overrides base_landing dark form theme) */

.tt-careers--light {
  --tt-careers-bg: #f8fafc;
  --tt-careers-surface: #ffffff;
  --tt-careers-border: #e2e8f0;
  --tt-careers-text: #0f172a;
  --tt-careers-muted: #64748b;
  --tt-careers-accent: #c2410c;
  --tt-careers-accent-hover: #9a3412;
  --tt-careers-focus: #f97316;
  position: relative;
  z-index: 1;
  background-color: var(--tt-careers-bg) !important;
  color: var(--tt-careers-text) !important;
}

/* Gray utilities on light surfaces — beat base_landing inverted grays */
.tt-careers--light .text-stone-600,
.tt-careers--light .text-stone-700,
.tt-careers--light .text-slate-600,
.tt-careers--light .text-gray-600,
.tt-careers--light .text-gray-700 {
  color: #475569 !important;
}

.tt-careers--light .text-stone-950,
.tt-careers--light .text-slate-900,
.tt-careers--light .text-gray-900 {
  color: var(--tt-careers-text) !important;
}

.tt-careers--light .card,
.tt-careers--light .card-body,
.tt-careers--light .card-header {
  background: var(--tt-careers-surface) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--tt-careers-border) !important;
  color: var(--tt-careers-text) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

/* Paint within the careers shell only — fixed overlays bleed over the site footer */
.tt-careers--light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tt-careers-bg);
  z-index: -1;
  pointer-events: none;
}

/* Careers pages: hide landing chrome that floats below the content shell */
main:has(> .tt-careers--light) > .fixed.inset-0 {
  display: none !important;
}

body:has(.tt-careers--light) footer {
  position: relative;
  z-index: 2;
}

/* Solid surfaces — no landing-page bleed or backdrop blur on careers */
body:has(.tt-careers--light) .hex-grid-bg,
body:has(.tt-careers--light) .energy-ring-bg,
body:has(.tt-careers--light) .particles-bg {
  display: none !important;
}

.tt-careers--light [class*="backdrop-blur"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.tt-careers--light article.rounded-2xl.border {
  background-color: #ffffff !important;
}

/* Dark callout panels — high-contrast text (must beat any light-shell inheritance) */
.tt-careers--light .tt-careers-surface-dark,
.tt-careers--light .tt-careers-life-stats,
.tt-careers--light .tt-careers-life-footer,
.tt-careers--light section.bg-stone-900,
.tt-careers--light section.bg-slate-900 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
}

.tt-careers--light .tt-careers-surface-dark :is(h1, h2, h3, h4, strong),
.tt-careers--light .tt-careers-life-stats :is(h1, h2, h3, h4, strong),
.tt-careers--light .tt-careers-life-footer :is(h1, h2, h3, h4, strong),
.tt-careers--light section.bg-stone-900 :is(h1, h2, h3, h4, strong),
.tt-careers--light section.bg-slate-900 :is(h1, h2, h3, h4, strong) {
  color: #ffffff !important;
}

.tt-careers--light .tt-careers-surface-dark :is(p, li, span:not(.tt-careers-surface-dark__cta *)),
.tt-careers--light .tt-careers-life-stats :is(p, li, span),
.tt-careers--light .tt-careers-life-footer :is(p, li, span),
.tt-careers--light section.bg-stone-900 :is(p, li, span),
.tt-careers--light section.bg-slate-900 :is(p, li, span) {
  color: #cbd5e1 !important;
}

.tt-careers--light .tt-careers-surface-dark .tt-careers-surface-dark__kicker,
.tt-careers--light section.bg-stone-900 .text-orange-400,
.tt-careers--light section.bg-slate-900 .text-orange-400 {
  color: #fb923c !important;
}

.tt-careers--light section.bg-stone-900 .text-stone-300,
.tt-careers--light section.bg-slate-900 .text-slate-300 {
  color: #cbd5e1 !important;
}

.tt-careers--light .tt-careers-surface-dark a:not(.tt-careers-surface-dark__cta),
.tt-careers--light section.bg-stone-900 a.text-amber-400,
.tt-careers--light section.bg-stone-900 .text-amber-400 {
  color: #fbbf24 !important;
}

.tt-careers--light .tt-careers-surface-dark a:not(.tt-careers-surface-dark__cta):hover,
.tt-careers--light section.bg-stone-900 a.text-amber-400:hover {
  color: #fde68a !important;
}

.tt-careers-surface-dark__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: #ea580c !important;
  color: #ffffff !important;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.tt-careers-surface-dark__cta:hover {
  background: #c2410c !important;
  color: #ffffff !important;
}

/* Form controls — beat base_landing !important brown theme */
.tt-careers--light input[type="text"],
.tt-careers--light input[type="email"],
.tt-careers--light input[type="password"],
.tt-careers--light input[type="number"],
.tt-careers--light input[type="tel"],
.tt-careers--light input[type="url"],
.tt-careers--light input[type="search"],
.tt-careers--light input[type="date"],
.tt-careers--light input[type="time"],
.tt-careers--light input[type="datetime-local"],
.tt-careers--light select,
.tt-careers--light textarea,
.tt-careers--light .tt-careers-field {
  background: #ffffff !important;
  border: 1px solid var(--tt-careers-border) !important;
  color: var(--tt-careers-text) !important;
  border-radius: 0.625rem !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.tt-careers--light select {
  appearance: auto;
  cursor: pointer;
}

.tt-careers--light select option {
  background: #ffffff;
  color: var(--tt-careers-text);
}

.tt-careers--light input:focus,
.tt-careers--light select:focus,
.tt-careers--light textarea:focus,
.tt-careers--light .tt-careers-field:focus {
  outline: none !important;
  border-color: var(--tt-careers-focus) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18) !important;
  background: #ffffff !important;
}

.tt-careers--light input::placeholder,
.tt-careers--light textarea::placeholder,
.tt-careers--light .tt-careers-field::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.tt-careers--light label {
  color: var(--tt-careers-text);
}

.tt-careers--light .tt-careers-filter-panel {
  background: var(--tt-careers-surface);
  border: 1px solid var(--tt-careers-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.tt-careers--light .tt-careers-filter-panel label.inline-flex {
  color: var(--tt-careers-muted);
  font-weight: 500;
}

.tt-careers--light .tt-careers-btn-primary {
  background: var(--tt-careers-text) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.tt-careers--light .tt-careers-btn-primary:hover {
  background: #1e293b !important;
}

.tt-careers--light .tt-careers-btn-primary::before,
.tt-careers--light .tt-careers-btn-accent::before {
  display: none !important;
}

.tt-careers--light .tt-careers-btn-accent {
  background: var(--tt-careers-accent) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.tt-careers--light .tt-careers-btn-accent:hover {
  background: var(--tt-careers-accent-hover) !important;
}

.tt-careers--light button.tt-careers-modal__close {
  border: none !important;
  padding: 0 !important;
}

.tt-careers--light #tt-careers-apply-form button[type="submit"]:focus,
.tt-careers--light .tt-careers-btn-accent:focus,
.tt-careers--light .tt-careers-btn-primary:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
}

.tt-careers--light .tt-careers-prose :where(p):not(:last-child) {
  margin-bottom: 0.65rem;
}

.tt-careers--light .tt-careers-prose :where(ul, ol) {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.25rem;
}

.tt-careers--light .tt-careers-prose :where(li) {
  margin-bottom: 0.25rem;
}

.tt-careers--light .tt-careers-prose :where(a) {
  color: var(--tt-careers-accent);
  text-decoration: underline;
  font-weight: 600;
}

.tt-careers--light .tt-careers-prose :where(a:hover) {
  color: var(--tt-careers-accent-hover);
}

.tt-careers--light .tt-careers-prose :where(strong) {
  color: rgb(28 25 23);
  font-weight: 700;
}

.tt-careers-card__teaser {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
  color: rgb(68 64 60);
  line-height: 1.55;
  font-size: 0.95rem;
}

.tt-careers-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.tt-careers-card__view-link {
  font-weight: 700;
  color: var(--tt-careers-accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.tt-careers-card__view-link:hover {
  color: var(--tt-careers-accent-hover);
  text-decoration: underline;
}

/* Marketing navbar — scroll-up reveal */
#tt-site-nav[data-nav-hide-on-scroll] {
  transition: transform 0.25s ease;
  will-change: transform;
}

#tt-site-nav.is-nav-hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  #tt-site-nav[data-nav-hide-on-scroll] {
    transition: none;
  }
}

.tt-careers-detail-hero .tt-careers-sticky-cta {
  position: sticky;
  top: 5rem;
  z-index: 20;
}

.tt-careers-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tt-careers-modal.hidden {
  display: none;
}

.tt-careers-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.tt-careers-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

.tt-careers-modal__panel h2 {
  color: #0f172a;
  padding-right: 2rem;
}

.tt-careers-modal__panel form {
  color: #0f172a;
}

.tt-careers-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  background: #f1f5f9;
  border: none;
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-careers-modal__close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

body.tt-careers-modal-open {
  overflow: hidden;
}

.tt-careers-results {
  transition: opacity 0.15s ease;
}

.tt-careers-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.tt-careers-popular-search {
  cursor: pointer;
  font: inherit;
}

/* ——— Life at TumiTrust ——— */
.tt-careers-life {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%) !important;
}

.tt-careers-life-hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #f0f9ff 100%);
}

.tt-careers-life-hero > .relative {
  position: relative;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.tt-careers-life-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(14, 165, 233, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.tt-careers-life-values-grid :where(ul) {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tt-careers-life-values-grid :where(ul) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tt-careers-life-values-grid :where(li) {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0 !important;
  color: #334155 !important;
}

.tt-careers-life-values-grid :where(strong) {
  color: #0f172a !important;
  display: block;
  margin-bottom: 0.25rem;
}

.tt-careers-life-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tt-careers-life-card:hover {
  transform: translateY(-2px);
  border-color: #fdba74;
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.1);
}

.tt-careers-life-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  color: #c2410c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.tt-careers-life-benefit {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tt-careers-life-benefit:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.tt-careers-life-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: #f1f5f9;
  color: #c2410c;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.tt-careers-life-stats p {
  color: inherit !important;
}

.tt-careers-life-stats .text-slate-300 {
  color: #cbd5e1 !important;
}

.tt-careers-life-stats .text-orange-400 {
  color: #fb923c !important;
}

.tt-careers-life-footer h2,
.tt-careers-life-footer p,
.tt-careers-life-footer a {
  color: inherit;
}

.tt-careers-life-footer .text-white {
  color: #ffffff !important;
}

.tt-careers-life-footer .text-slate-400 {
  color: #94a3b8 !important;
}

.tt-careers-life-footer .text-orange-400 {
  color: #fb923c !important;
}

@media (prefers-reduced-motion: reduce) {
  .tt-careers-life-card:hover {
    transform: none;
  }
}
