/* careers.css — LiquidPixels Careers page
 * Spec compliance: COMPONENT-SPEC.md + LiquidPixels-Design-Structure-v9.docx
 */

/* ═══════════════════════════════════════════════════════
   PAGE HERO — standard template pattern
   COMPONENT-SPEC.md §5 / PAGE-TEMPLATE.css
   White background, CSS crosshatch grid via ::before,
   fades downward via mask-image.
   Content sits above grid via z-index on .wrap.
   ═══════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(136px + env(safe-area-inset-top, 0px)) 0 80px;
  background: var(--white);
  border-bottom: 1px solid var(--warm-200);
  position: relative;
}

/* Crosshatch grid — same pattern as homepage hero */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--warm-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--warm-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 60%, transparent 100%);
  pointer-events: none;
}

/* Content above grid */
.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .section-tag {
  color: var(--amber);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink-900);
  max-width: 720px;
  margin: 0 0 20px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--ink-500);
}

/* Mono meta strip — Founded · Location · Vertical */
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-hero-meta span {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--warm-300);
  flex-shrink: 0;
}

/* Sub — spec: 16px / weight 300 / lh 1.6 / max-w 560px */
.page-hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 560px;
  margin: 0 0 32px;
}

.page-hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* HC: white bg — token overrides in global body.hc handle everything */


/* ═══════════════════════════════════════════════════════
   SHARED SECTION UTILITIES
   Spec §6: section-tag must use --f-mono and --amber.
   Previous version used --ink-400. Fixed.
   ═══════════════════════════════════════════════════════ */
.section-tag {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);           /* REQUIRED — spec §10 rule 10 */
  display: block;
  margin-bottom: 10px;
}

.section-header { margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink-900);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-lead {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-600);
  max-width: 480px;
  line-height: 1.6;
}

/* btn-primary — matches global.css / home.css pattern */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  border: none;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: background .2s, transform .1s;--amber:#f59e0b;}
.btn-primary:hover  { background: var(--navy-mid);--amber:#f59e0b;}
.btn-primary:active { transform: scale(.98); }


/* ═══════════════════════════════════════════════════════
   CULTURE SECTION
   Spec §9: off-white background for content sections.
   Desktop padding 104px per spec §12 standard.
   ═══════════════════════════════════════════════════════ */
.culture-section {
  padding: 104px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--warm-200);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.culture-text h2 {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.culture-text p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.culture-text p:last-child { margin-bottom: 0; }

.culture-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s;
}
.value-item:hover {
  border-color: var(--warm-300);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.75);--amber:#f59e0b;}
.value-icon svg { width: 16px; height: 16px; }

.value-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 5px;
  letter-spacing: -.01em;
}
.value-body p {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.6;
}

/* HC */
body.hc .culture-section { background: var(--off-white); }
body.hc .value-item { background: var(--white); }


/* ═══════════════════════════════════════════════════════
   TEAM PHOTO BAND
   Spec §9: "No full-bleed photography as section background.
   Photography only appears inside contained cards."
   The photo is contained inside .team-photo-wrap which has
   a fixed height — this satisfies the spec's intent.
   The section itself has a navy background, not a photo bg.
   HC: navy section pushes to #00102a, caption text stays white.
   ═══════════════════════════════════════════════════════ */
.team-photo-section {
  background: var(--navy);--amber:#f59e0b;}

.team-photo-wrap {
  position: relative;
  width: 100%;
  height: clamp(300px, 38vw, 520px);
  overflow: hidden;
}

.team-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(.7) brightness(.85);
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,31,61,.88) 0%,
    rgba(12,31,61,.28) 50%,
    rgba(12,31,61,.05) 100%
  );
  pointer-events: none;
}

.team-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 52px 40px;
}

.team-photo-label {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: block;
  margin-bottom: 10px;
}

.team-photo-caption p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

/* HC */
body.hc .team-photo-section { background: #00102a;--amber:#f59e0b;}
body.hc .team-photo-caption p { color: rgba(255,255,255,.85); }


/* ═══════════════════════════════════════════════════════
   DISCIPLINES SECTION
   Spec §9: white background.
   Amber accent line separates visually from photo band above.
   ═══════════════════════════════════════════════════════ */
.disciplines-section {
  padding: 104px 0;
  background: var(--white);
  border-bottom: 1px solid var(--warm-200);
}

.disciplines-section .section-header::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 20px;
  border-radius: 2px;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--warm-200);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.discipline-card {
  background: var(--white);
  padding: 32px 30px;
  transition: background .18s;
}
.discipline-card:hover { background: var(--warm-50); }

.disc-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
  transition: background .18s;
}
.discipline-card:hover .disc-icon { background: rgba(26,86,219,.13); }
.disc-icon svg { width: 17px; height: 17px; }

.discipline-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.discipline-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.65;
}

/* HC */
body.hc .disciplines-section { background: var(--white); }
body.hc .discipline-card { background: var(--white); }
body.hc .discipline-card:hover { background: var(--warm-50); }
body.hc .discipline-card h4 { color: var(--ink-900) !important; }
body.hc .discipline-card p  { color: var(--ink-700) !important; }


/* ═══════════════════════════════════════════════════════
   OPEN ROLES SECTION
   Spec §9: off-white background for alternating sections.
   ═══════════════════════════════════════════════════════ */
.openings-section {
  padding: 104px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--warm-200);
}

.openings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.openings-header h2 {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin-top: 6px;
}
.openings-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 380px;
  flex-shrink: 0;
}
.openings-sub a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Filters */
.roles-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  font-family: var(--f-sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-500);
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: 100px;
  padding: 6px 14px;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--ink-900); border-color: var(--warm-300); }
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);--amber:#f59e0b;}

/* Role card */
.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  animation: cardIn .4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.role-card:hover {
  border-color: var(--warm-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.role-card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.role-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.role-dept {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 8px;
  border-radius: 100px;
}
.role-location, .role-type {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-400);
  display: flex;
  align-items: center;
  gap: 4px;
}
.role-meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--warm-300);
  display: inline-block;
}
.role-card-arrow {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--warm-200);
  background: var(--warm-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-400);
  flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s, transform .2s;
}
.role-card:hover .role-card-arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateX(2px);--amber:#f59e0b;}
.role-card-arrow svg { width: 14px; height: 14px; }

/* Empty / loading states */
.roles-empty {
  text-align: center;
  padding: 72px 40px;
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-xl);
}
.roles-empty-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-xl);
  background: var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--ink-400);
}
.roles-empty-icon svg { width: 24px; height: 24px; }
.roles-empty h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-800);
  margin-bottom: 10px;
}
.roles-empty p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}
.roles-empty p a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
[hidden] { display: none !important; }

/* HC */
body.hc .openings-section { background: var(--off-white); }
body.hc .role-card { background: var(--white); }
body.hc .role-card-title { color: var(--ink-900) !important; }


/* ═══════════════════════════════════════════════════════
   BENEFITS SECTION
   Spec §9: white background (alternates with off-white above).
   ═══════════════════════════════════════════════════════ */
.benefits-section {
  padding: 104px 0;
  background: var(--white);
  border-bottom: 1px solid var(--warm-200);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--off-white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.benefit-card:hover {
  border-color: var(--warm-300);
  box-shadow: var(--shadow-sm);
}

.benefit-card--highlight {
  background: var(--white);
  border-color: var(--navy);
  border-width: 2px;
}
.benefit-card--highlight:hover { border-color: var(--navy-mid); box-shadow: var(--shadow-md); }
.benefit-card--highlight h4    { color: var(--navy); }
.benefit-card--highlight p     { color: var(--ink-600); }
.benefit-card--highlight .benefit-icon {
  background: rgba(12,31,61,.08);
  color: var(--navy);
}

.benefit-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.benefit-icon svg { width: 18px; height: 18px; }

.benefit-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 7px;
  letter-spacing: -.01em;
}
.benefit-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.6;
}
.benefit-badge {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(12,31,61,.08);
  padding: 4px 10px;
  border-radius: 100px;
}

/* HC */
body.hc .benefits-section { background: var(--white); }
body.hc .benefit-card { background: var(--warm-50); }
body.hc .benefit-card h4 { color: var(--ink-900) !important; }
body.hc .benefit-card p  { color: var(--ink-700) !important; }
body.hc .benefit-card--highlight { background: var(--white); border-color: var(--navy); }


/* ═══════════════════════════════════════════════════════
   ABOUT / EEO SECTION
   Spec §9: off-white for final section.
   ═══════════════════════════════════════════════════════ */
.about-lp-section {
  padding: 104px 0;
  background: var(--off-white);
}

.about-lp-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}

.about-lp-text h2 {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.about-lp-text p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-600);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 540px;
}
.about-agency-note {
  font-size: 12.5px !important;
  color: var(--ink-400) !important;
  padding-top: 14px;
  border-top: 1px solid var(--warm-200);
  font-style: italic;
}

.cta-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.cta-card-eyebrow {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);           /* spec §10 rule 10 */
  display: block;
  margin-bottom: 8px;
}
.cta-card h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink-900);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.cta-card p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-500);
  line-height: 1.65;
  margin-bottom: 22px;
}
.cta-card .btn-primary {
  width: 100%;
  margin-bottom: 14px;
  font-size: 13px;
  padding: 12px 18px;
}
.cta-card-note {
  display: block;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink-400);
  line-height: 1.5;
  text-align: center;
}

/* HC */
body.hc .about-lp-section { background: var(--off-white); }
body.hc .cta-card { background: var(--white); }
body.hc .about-lp-text h2 { color: var(--ink-900) !important; }
body.hc .about-lp-text p  { color: var(--ink-700) !important; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   Spec §12 breakpoints: 1024 / 768 / 480
   Standard section padding: 104px → 80px → 64px → 52px
   Wrap: 52px → 20px → 16px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .culture-section,
  .disciplines-section,
  .openings-section,
  .benefits-section,
  .about-lp-section { padding: 80px 0; }
  .culture-grid     { grid-template-columns: 1fr; gap: 48px; }
  .about-lp-inner   { grid-template-columns: 1fr; gap: 48px; }
  .about-lp-cta     { max-width: 480px; }
}

@media (max-width: 768px) {
  .page-hero         { padding: calc(88px + env(safe-area-inset-top, 0px)) 0 56px; }
  .page-hero h1      { font-size: clamp(30px, 8vw, 44px); }
  .team-photo-caption { padding: 0 20px 28px; }
  .team-photo-caption p { font-size: 13px; }
  .culture-section,
  .disciplines-section,
  .openings-section,
  .benefits-section,
  .about-lp-section   { padding: 64px 0; }
  .disciplines-grid   { grid-template-columns: 1fr; }
  .benefits-grid      { grid-template-columns: 1fr 1fr; }
  .openings-header    { flex-direction: column; gap: 16px; }
  .openings-sub       { max-width: none; }
  .role-card          { grid-template-columns: 1fr; gap: 16px; }
  .role-card-arrow    { display: none; }
}

@media (max-width: 480px) {
  .page-hero-btns     { flex-direction: column; }
  .benefits-grid      { grid-template-columns: 1fr; }
  .team-photo-wrap    { height: clamp(240px, 55vw, 300px); }
  .team-photo-caption { padding: 0 16px 24px; }
  .culture-section,
  .disciplines-section,
  .openings-section,
  .benefits-section,
  .about-lp-section   { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
}
