/* ═══════════════════════════════════════════════
   TEKLOFTS — CAREERS, SUSTAINABILITY & MISC PAGES
   Prefixes: tkcar- / tkjob- / tkpage-
   ═══════════════════════════════════════════════ */

/* ── Shared page hero ── */
.tkcar-main, .tkpage-main {
  padding-top: calc(66px + 28px);
  min-height: 80vh;
}

/* ── Generic page hero ── */
.tkpage-hero {
  position: relative; overflow: hidden;
  padding: 4rem 0 3rem; border-bottom: 1px solid var(--clr-border);
  background: radial-gradient(ellipse 70% 80% at 50% 0%, var(--hero-color, rgba(13,148,136,.1)) 0%, transparent 60%), var(--clr-bg);
}
.tkpage-hero__orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: var(--hero-color, radial-gradient(circle,rgba(13,148,136,.12) 0%,transparent 65%));
  filter: blur(70px); pointer-events: none; top: -200px; left: 50%; transform: translateX(-50%);
}
.tkpage-hero__inner { position: relative; z-index: 2; }
.tkpage-hero__title {
  font-family: var(--font-display); font-size: clamp(2.25rem,5vw,3.75rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1;
  margin: .65rem 0 .75rem; color: var(--clr-text);
}
.tkpage-hero__sub { font-size: 1rem; color: var(--clr-text-2); max-width: 540px; line-height: 1.7; }
.tkpage-body { padding-block: 3rem 6rem; }

/* Sustainability pillars */
.tkpage-pillars {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-bottom: 3rem;
}
.tkpage-pillar {
  background: var(--clr-bg-2); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg); padding: 1.75rem;
}
.tkpage-pillar__icon { font-size: 2rem; margin-bottom: .75rem; }
.tkpage-pillar h2 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--clr-text); }
.tkpage-pillar p { font-size: .875rem; color: var(--clr-text-2); line-height: 1.7; }

.tkpage-callout {
  background: var(--clr-bg-2); border: 1px solid var(--clr-border-2);
  border-left: 4px solid var(--clr-teal); border-radius: var(--r-lg); padding: 2rem;
}
.tkpage-callout h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: .65rem; color: var(--clr-text); }
.tkpage-callout p { font-size: .9rem; color: var(--clr-text-2); line-height: 1.7; }

/* ═══════════════ CAREERS ═══════════════ */

.tkcar-hero {
  position: relative; overflow: hidden;
  padding: 4rem 0 3rem; border-bottom: 1px solid var(--clr-border);
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(13,148,136,.1) 0%, transparent 60%), var(--clr-bg);
}
.tkcar-hero__orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.12) 0%, transparent 65%);
  filter: blur(70px); pointer-events: none; top: -200px; left: 50%; transform: translateX(-50%);
}
.tkcar-hero__inner { position: relative; z-index: 2; }
.tkcar-hero__title {
  font-family: var(--font-display); font-size: clamp(2.25rem,5vw,3.75rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1;
  margin: .65rem 0 .75rem; color: var(--clr-text);
}
.tkcar-hero__sub { font-size: 1rem; color: var(--clr-text-2); max-width: 540px; line-height: 1.7; margin-bottom: 1.75rem; }

.tkcar-hero__stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.tkcar-stat { display: flex; flex-direction: column; gap: .2rem; padding: .5rem 2rem .5rem 0; }
.tkcar-stat strong {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tkcar-stat span { font-size: .75rem; color: var(--clr-text-3); font-family: var(--font-mono); letter-spacing: .05em; }
.tkcar-stat-div { width: 1px; height: 32px; background: var(--clr-border); margin-right: 2rem; flex-shrink: 0; }

.tkcar-body { padding-block: 3rem 6rem; }
.tkcar-section { margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--clr-border); }
.tkcar-section:last-of-type { border-bottom: none; }
.tkcar-section__title {
  font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 800; letter-spacing: -.04em; margin-bottom: 1.75rem;
}

/* Values grid */
.tkcar-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.tkcar-value {
  background: var(--clr-bg-2); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg); padding: 1.5rem;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.tkcar-value:hover { border-color: var(--clr-border-2); transform: translateY(-2px); }
.tkcar-value__icon { font-size: 1.75rem; margin-bottom: .75rem; }
.tkcar-value h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--clr-text); }
.tkcar-value p { font-size: .82rem; color: var(--clr-text-2); line-height: 1.6; }

/* Job listings */
.tkcar-jobs { display: flex; flex-direction: column; gap: .75rem; }
.tkcar-job {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--clr-bg-2); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg); padding: 1.5rem 1.75rem;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.tkcar-job:hover { border-color: var(--clr-teal); transform: translateX(4px); }
.tkcar-job__main { flex: 1; }

.tkcar-job__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .65rem; }
.tkcar-tag {
  display: inline-flex; align-items: center;
  padding: .18rem .6rem; border-radius: 9999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
}
.tkcar-tag--dept { background: rgba(13,148,136,.12); color: var(--clr-teal); border: 1px solid rgba(13,148,136,.25); }
.tkcar-tag--type { background: rgba(249,115,22,.1); color: var(--clr-orange); border: 1px solid rgba(249,115,22,.25); }
.tkcar-tag--loc  { background: var(--clr-surface); color: var(--clr-text-2); border: 1px solid var(--clr-border-2); }

.tkcar-job__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.025em; color: var(--clr-text); margin-bottom: .35rem; }
.tkcar-job__excerpt { font-size: .875rem; color: var(--clr-text-2); line-height: 1.6; margin-bottom: .5rem; }
.tkcar-job__closing { font-size: .75rem; color: var(--clr-text-3); font-family: var(--font-mono); }

.tkcar-empty {
  text-align: center; padding: 4rem 2rem;
  background: var(--clr-bg-2); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
}
.tkcar-empty__icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .5; }
.tkcar-empty h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: .65rem; }
.tkcar-empty p { font-size: .9rem; color: var(--clr-text-2); max-width: 460px; margin-inline: auto; line-height: 1.7; }

/* Process */
.tkcar-process {
  display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap;
  background: var(--clr-bg-2); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg); padding: 2rem;
}
.tkcar-process__step { flex: 1; min-width: 130px; text-align: center; padding: .5rem 1rem; }
.tkcar-process__num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad-teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .9rem; font-weight: 800; color: #fff;
  margin: 0 auto .85rem; box-shadow: 0 3px 10px rgba(13,148,136,.3);
}
.tkcar-process__step h3 { font-family: var(--font-display); font-size: .92rem; font-weight: 700; margin-bottom: .35rem; color: var(--clr-text); }
.tkcar-process__step p { font-size: .8rem; color: var(--clr-text-2); line-height: 1.55; }
.tkcar-process__arrow { font-size: 1.25rem; color: var(--clr-border-2); padding-top: 1.25rem; flex-shrink: 0; }

/* ═══════════════ SINGLE JOB ═══════════════ */

.tkjob-main { padding-top: calc(66px + 28px); min-height: 80vh; }
.tkjob-wrap { padding-block: 2rem 6rem; }
.tkjob-breadcrumb { margin-bottom: 2rem; }
.tkjob-breadcrumb a { font-size: .85rem; color: var(--clr-teal); text-decoration: none; transition: opacity .2s; }
.tkjob-breadcrumb a:hover { opacity: .75; }

.tkjob-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }

.tkjob-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--clr-border); }
.tkjob-title { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: .65rem; color: var(--clr-text); }
.tkjob-closing { font-size: .82rem; color: var(--clr-text-3); font-family: var(--font-mono); margin-top: .5rem; }

.tkjob-body { font-size: .95rem; color: var(--clr-text-2); line-height: 1.8; }
.tkjob-body h2, .tkjob-body h3 { font-family: var(--font-display); color: var(--clr-text); margin: 1.75rem 0 .65rem; letter-spacing: -.025em; }
.tkjob-body h2 { font-size: 1.2rem; font-weight: 700; }
.tkjob-body h3 { font-size: 1rem; font-weight: 700; }
.tkjob-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.tkjob-body li { margin-bottom: .45rem; }
.tkjob-body p  { margin-bottom: .85rem; }
.tkjob-body strong { color: var(--clr-text); }

.tkjob-apply-block {
  margin-top: 3rem; padding: 2rem;
  background: var(--clr-bg-2); border: 1px solid var(--clr-border-2);
  border-left: 4px solid var(--clr-teal); border-radius: var(--r-lg);
}
.tkjob-apply-block h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; color: var(--clr-text); }
.tkjob-apply-block p { font-size: .875rem; color: var(--clr-text-2); line-height: 1.65; }

.tkjob-sidebar { position: sticky; top: calc(66px + 28px + 1.5rem); }
.tkjob-sidebar__card {
  background: var(--clr-bg-2); border: 1px solid var(--clr-border-2);
  border-radius: var(--r-lg); padding: 1.5rem;
}
.tkjob-sidebar__title {
  font-family: var(--font-mono); font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--clr-text-3);
  margin-bottom: 1.1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--clr-border);
}
.tkjob-sidebar__row {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .55rem 0; border-bottom: 1px solid var(--clr-border);
}
.tkjob-sidebar__row:last-of-type { border-bottom: none; }
.tkjob-sidebar__label { font-size: .68rem; color: var(--clr-text-3); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tkjob-sidebar__row > span:last-child { font-size: .875rem; color: var(--clr-text); font-weight: 500; }
.tkjob-sidebar__back { margin-top: .85rem; text-align: center; }
.tkjob-sidebar__back a { font-size: .82rem; color: var(--clr-teal); text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .tkcar-values  { grid-template-columns: repeat(2,1fr); }
  .tkcar-job     { flex-direction: column; align-items: flex-start; }
  .tkjob-layout  { grid-template-columns: 1fr; }
  .tkjob-sidebar { position: static; }
}
@media (max-width: 600px) {
  .tkcar-values        { grid-template-columns: 1fr; }
  .tkcar-process       { flex-direction: column; }
  .tkcar-process__arrow{ display: none; }
  .tkpage-pillars      { grid-template-columns: 1fr; }
}
