/* ==========================================================================
   LOZANO ENTERPRISES CORP — Careers landing page (/careers/)
   Scoped stylesheet. All selectors are namespaced `crs-` so nothing here
   can collide with main.css, header.html, jonathan.css or careers-cto.css.
   Brand tokens are inherited from main.css (--lc-gold, --lc-gold-soft).
   ========================================================================== */

.crs-page {
  --crs-max: 1200px;
  --crs-gutter: 28px;
  --crs-line: rgba(255, 255, 255, 0.10);
  --crs-line-soft: rgba(255, 255, 255, 0.06);
  --crs-gold: var(--lc-gold, #C8A64B);
  --crs-gold-soft: var(--lc-gold-soft, #D7B44C);
  --crs-ink: #F2F2F2;
  --crs-body: #C9C9C9;
  --crs-dim: #9C9C9C;
  --crs-panel: linear-gradient(180deg, #0C0C0C, #090909);

  color: var(--crs-ink);
  background:
    radial-gradient(1100px 620px at 12% -6%, rgba(200, 166, 75, 0.10), transparent 68%),
    linear-gradient(180deg, #070707, #0A0A0A 42%, #070707 100%);
  overflow-x: clip;
}

.crs-wrap {
  width: 100%;
  max-width: var(--crs-max);
  margin-inline: auto;
  padding-inline: var(--crs-gutter);
}

/* ---------- Shared type ---------------------------------------------------- */

.crs-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--crs-gold);
}

.crs-rule {
  height: 1px;
  border: 0;
  margin: 18px 0 0;
  background: linear-gradient(90deg, rgba(200, 166, 75, 0.85), rgba(200, 166, 75, 0.18) 42%, transparent 78%);
}

.crs-rule--short {
  width: 96px;
  margin: 20px 0 0;
  background: linear-gradient(90deg, rgba(200, 166, 75, 0.9), rgba(200, 166, 75, 0.12));
}

.crs-h2 {
  margin: 14px 0 0;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-wrap: balance;
}

.crs-p {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--crs-body);
  max-width: 74ch;
}

.crs-p--lead {
  font-size: 18px;
  color: #DCDCDC;
}

.crs-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--crs-gold);
}

.crs-index::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(200, 166, 75, 0.6);
}

.crs-section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--crs-line-soft);
}

/* ---------- Hero ----------------------------------------------------------- */

.crs-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(132px, 16vw, 190px) 0 clamp(56px, 7vw, 92px);
  border-bottom: 1px solid var(--crs-line-soft);
  overflow: hidden;
}

/* Architectural technical grid — pure CSS, no image requests. */
.crs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 104px 104px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 82% at 50% 0%, #000 12%, transparent 76%);
  mask-image: radial-gradient(120% 82% at 50% 0%, #000 12%, transparent 76%);
  pointer-events: none;
}

.crs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(760px 380px at 18% 0%, rgba(200, 166, 75, 0.14), transparent 70%);
  pointer-events: none;
}

/* Children carry the measure so the hero's left edge stays on the page grid. */
.crs-hero-inner > * {
  max-width: 960px;
}

.crs-hero-title {
  margin: 22px 0 0;
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-wrap: balance;
}

.crs-hero-desc {
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.68;
  color: #DCDCDC;
  max-width: 72ch;
}

.crs-hero-support {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--crs-body);
  max-width: 72ch;
}

/* ---------- Job list ------------------------------------------------------- */

.crs-jobs {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}

/* Reusable position card. Duplicate the <article class="crs-job"> block to
   add another opening — no CSS changes are required. */
.crs-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 34px 34px 36px;
  border: 1px solid var(--crs-line);
  background:
    radial-gradient(560px 280px at 6% 0%, rgba(200, 166, 75, 0.09), transparent 70%),
    var(--crs-panel);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.crs-job:hover {
  border-color: rgba(200, 166, 75, 0.42);
}

/* Executive (U.S.-based) opening. A single gold edge marks it as the
   leadership role without making the other openings read as secondary —
   same size, same type scale, same button treatment. */
.crs-job--executive {
  border-left: 2px solid rgba(200, 166, 75, 0.55);
}

.crs-job-org {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crs-gold);
}

.crs-job-title {
  margin: 12px 0 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.crs-job-desc {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--crs-body);
  max-width: 68ch;
}

.crs-job-meta {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--crs-line);
  border: 1px solid var(--crs-line);
}

.crs-job-meta > div {
  padding: 16px 18px 18px;
  background: #0A0A0A;
}

.crs-job-meta dt {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crs-gold);
}

.crs-job-meta dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
  color: #FFFFFF;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.crs-job-action {
  display: flex;
  justify-content: flex-end;
}

.crs-job-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 42px;
  border: 1px solid var(--crs-gold);
  background: linear-gradient(180deg, var(--crs-gold-soft), var(--crs-gold));
  color: #0A0A0A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.crs-job-button:hover {
  background: linear-gradient(180deg, #E5C566, var(--crs-gold-soft));
  transform: translateY(-1px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.7);
}

.crs-job-button:active {
  transform: translateY(0);
}

/* ---------- Criteria list -------------------------------------------------- */

.crs-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.crs-list > li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--crs-line-soft);
  font-size: 16px;
  line-height: 1.6;
  color: var(--crs-body);
}

.crs-list > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 27px;
  width: 12px;
  height: 1px;
  background: var(--crs-gold);
}

/* ---------- Locations / future ---------------------------------------------- */

.crs-panel {
  margin-top: 36px;
  padding: 32px 34px 34px;
  border: 1px solid var(--crs-line);
  background: var(--crs-panel);
}

.crs-panel .crs-p:first-child {
  margin-top: 0;
}

.crs-address {
  font-style: normal;
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--crs-body);
}

.crs-note {
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 2px solid rgba(200, 166, 75, 0.5);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--crs-body);
  max-width: 92ch;
}

/* ---------- Focus visibility ------------------------------------------------ */

.crs-page a:focus-visible {
  outline: 2px solid var(--crs-gold-soft);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Responsive ------------------------------------------------------ */

@media (max-width: 1080px) {
  .crs-job-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .crs-job {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .crs-job-action {
    justify-content: flex-start;
  }
  .crs-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .crs-page {
    --crs-gutter: 20px;
  }
  .crs-job {
    padding: 26px 20px 28px;
  }
  .crs-job-meta {
    grid-template-columns: minmax(0, 1fr);
  }
  .crs-panel {
    padding: 26px 20px 28px;
  }
  .crs-job-action {
    display: block;
  }
  .crs-job-button {
    width: 100%;
    padding: 18px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crs-job,
  .crs-job-button {
    transition: none;
  }
  .crs-job-button:hover {
    transform: none;
  }
}
