:root {
  --work-bg: #edf7e8;
  --work-bg-2: #f5faef;
  --work-ink: #183126;
  --work-muted: rgba(24, 49, 38, 0.64);
  --work-line: rgba(24, 49, 38, 0.13);
  --work-dark: #060706;
  --work-lime: #dce84e;
  --work-peach: #f5b99d;
  --work-blue: #b9d4ef;
  --work-lilac: #d9b6ef;
  --work-sage: #cfdab1;
}

.work-page {
  background: var(--work-bg);
  color: var(--work-ink);
}

.work-page .button-outline-dark {
  border: 1px solid rgba(24, 49, 38, 0.22);
  background: rgba(255, 255, 255, 0.28);
  color: var(--work-ink);
}

.work-page .button-outline-dark:hover {
  background: var(--work-ink);
  color: #fff;
}

.work-page .button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
}

.work-page .button-outline-light:hover {
  background: #fff;
  color: #080808;
}

.careers-hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(96px, 10vw, 136px) clamp(16px, 4vw, 58px) clamp(70px, 8vw, 112px);
  background: var(--work-bg);
}

.careers-hero-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 1040px;
  text-align: center;
}

.work-kicker {
  margin: 0;
  color: rgba(24, 49, 38, 0.58);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.careers-hero h1 {
  display: grid;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.careers-hero p:not(.work-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--work-muted);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.35;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.work-actions.left {
  justify-content: flex-start;
}

.careers-hero-image,
.why-careers,
.image-pair,
.culture-section,
.day-section,
.growth-section,
.benefits-section,
.process-section,
.roles-section,
.apply-section {
  padding: clamp(60px, 8vw, 124px) clamp(14px, 3vw, 42px);
  background: var(--work-bg);
}

.careers-hero-image {
  padding-top: 0;
}

.wide-image,
.image-tile,
.day-card,
.growth-image,
.process-image {
  overflow: hidden;
  border-radius: 8px;
  background: #dfe8dc;
}

.wide-image {
  max-width: 1500px;
  margin: 0 auto;
}

.wide-image img {
  width: 100%;
  height: min(68vh, 720px);
  min-height: 420px;
  object-fit: cover;
}

.careers-copy,
.culture-head,
.day-copy,
.benefits-head,
.roles-head {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 68px);
}

.careers-copy h2,
.culture-head h2,
.day-copy h2,
.growth-copy h2,
.benefits-head h2,
.process-copy h2,
.apply-copy h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 4.8vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
}

.growth-copy h2,
.process-copy h2 {
  max-width: 12ch;
  font-size: clamp(30px, 3.9vw, 64px);
}

.careers-copy p:not(.work-kicker),
.culture-head p,
.day-copy p,
.growth-copy p,
.process-copy p,
.apply-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--work-muted);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.38;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.why-card {
  display: grid;
  align-content: space-between;
  min-height: 250px;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid var(--work-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.why-card h3,
.culture-card h3,
.growth-list h3,
.process-steps h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 880;
  line-height: 0.96;
}

.growth-list h3,
.process-steps h3 {
  font-size: clamp(19px, 1.55vw, 26px);
  line-height: 1;
}

.why-card p,
.culture-card p,
.growth-list p,
.process-steps p {
  margin: 0;
  color: var(--work-muted);
  font-size: 14px;
  line-height: 1.36;
}

.growth-list p,
.process-steps p {
  font-size: 13px;
  line-height: 1.32;
}

.image-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 14px;
  padding-top: 0;
}

.image-tile img {
  width: 100%;
  height: clamp(360px, 48vw, 660px);
  object-fit: cover;
}

.culture-head {
  justify-items: center;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.culture-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.culture-card {
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: 18px;
  border-radius: 8px;
  color: #17241e;
}

.culture-card:nth-child(1) {
  background: var(--work-peach);
}

.culture-card:nth-child(2) {
  background: var(--work-blue);
}

.culture-card:nth-child(3) {
  background: #bdd5c6;
}

.culture-card:nth-child(4) {
  background: var(--work-sage);
}

.culture-card:nth-child(5) {
  background: var(--work-lilac);
}

.culture-card span,
.process-steps span {
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.62;
}

.day-copy {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.day-card img {
  width: 100%;
  height: clamp(260px, 32vw, 460px);
  object-fit: cover;
}

.growth-section,
.process-section,
.apply-section {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
}

.growth-image img,
.process-image img {
  width: 100%;
  height: clamp(500px, 46vw, 640px);
  object-fit: cover;
}

.growth-copy,
.process-copy,
.apply-copy {
  display: grid;
  gap: 18px;
}

.growth-list,
.process-steps {
  display: grid;
  gap: 8px;
}

.growth-list article,
.process-steps article {
  display: grid;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid var(--work-line);
}

.growth-list article:last-child,
.process-steps article:last-child {
  border-bottom: 1px solid var(--work-line);
}

.benefits-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(24px, 5vw, 84px);
  align-items: start;
}

.benefits-head {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.benefit-list {
  display: grid;
  border-top: 1px solid var(--work-line);
}

.benefit-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 0 14px;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--work-line);
  background: transparent;
  color: var(--work-ink);
  cursor: pointer;
  text-align: left;
}

.benefit-item span {
  min-width: 0;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 820;
  line-height: 1;
}

.benefit-item i {
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 49, 38, 0.18);
  border-radius: 50%;
  font-style: normal;
  font-size: 18px;
  transition: transform 260ms var(--ease), background 240ms ease, color 240ms ease;
}

.benefit-item em {
  grid-column: 1 / -1;
  max-height: 0;
  max-width: 58ch;
  overflow: hidden;
  color: var(--work-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.42;
  opacity: 0;
  transition: max-height 360ms var(--ease), opacity 260ms ease, margin 260ms ease;
}

.benefit-item.is-open em {
  max-height: 120px;
  margin-top: 12px;
  opacity: 1;
}

.benefit-item.is-open i,
.benefit-item:hover i {
  background: var(--work-ink);
  color: #fff;
  transform: rotate(45deg);
}

.roles-section {
  background: var(--work-bg-2);
}

.roles-head {
  justify-items: center;
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.roles-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 138px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.roles-head p {
  max-width: 680px;
  margin: 0;
  color: var(--work-muted);
  line-height: 1.36;
}

.role-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-chip {
  border: 1px solid var(--work-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--work-ink);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: #080808;
  color: #fff;
  transform: translateY(-1px);
}

.roles-list {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  gap: 8px;
}

.role-row {
  display: grid;
  grid-template-columns: 1.35fr 0.72fr 0.55fr 0.8fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(24, 49, 38, 0.1);
  border-radius: 8px;
  background: rgba(24, 49, 38, 0.08);
  transition: transform 220ms ease, background 220ms ease;
}

.role-row:hover {
  transform: translateY(-2px);
  background: #fff;
}

.role-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: 0;
}

.role-row p {
  margin: 0;
  color: var(--work-muted);
  font-size: 13px;
  line-height: 1.3;
}

.role-meta {
  color: rgba(24, 49, 38, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.role-actions {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}

.role-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.role-actions button:first-child {
  background: #080808;
  color: #fff;
}

.role-actions button:last-child {
  background: rgba(0, 0, 0, 0.08);
  color: var(--work-ink);
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--work-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.application-form label {
  display: grid;
  gap: 8px;
  color: rgba(24, 49, 38, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 49, 38, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--work-ink);
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: none;
  border-color: rgba(24, 49, 38, 0.45);
  box-shadow: 0 0 0 4px rgba(220, 232, 78, 0.32);
  background: #fff;
}

.application-form .field-error input,
.application-form .field-error select,
.application-form .field-error textarea,
.application-form .field-error span {
  border-color: #a82424;
  box-shadow: 0 0 0 3px rgba(168, 36, 36, 0.1);
}

.full-span,
.form-status,
.submit-button {
  grid-column: 1 / -1;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.form-status.is-error {
  display: block;
  background: rgba(168, 36, 36, 0.12);
  color: #7c1515;
}

.form-status.is-success {
  display: block;
  background: rgba(71, 125, 58, 0.14);
  color: #244f1f;
}

.file-field {
  position: relative;
}

.file-field input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-field span {
  display: flex;
  min-height: 47px;
  align-items: center;
  border: 1px dashed rgba(24, 49, 38, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 12px 13px;
  color: var(--work-muted);
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-field input {
  width: 18px;
  margin-top: 2px;
}

.submit-button {
  justify-self: start;
}

.careers-final {
  padding: clamp(88px, 12vw, 180px) clamp(16px, 3vw, 44px);
  background: #050505;
  color: #fff;
}

.careers-final-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.careers-final h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(36px, 5vw, 78px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.careers-final p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.32;
}

.work-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 900ms var(--ease);
}

.work-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .why-grid,
  .culture-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .growth-section,
  .process-section,
  .apply-section,
  .benefits-section {
    grid-template-columns: 1fr;
  }

  .benefits-head {
    position: static;
  }

  .role-row {
    grid-template-columns: 1fr;
  }

  .role-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .careers-hero {
    min-height: 100svh;
    padding: 96px 16px 72px;
  }

  .careers-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .careers-hero-image,
  .why-careers,
  .image-pair,
  .culture-section,
  .day-section,
  .growth-section,
  .benefits-section,
  .process-section,
  .roles-section,
  .apply-section,
  .careers-final {
    padding-inline: 16px;
  }

  .wide-image img {
    min-height: 340px;
    height: 56vh;
  }

  .image-pair,
  .why-grid,
  .culture-card-grid,
  .day-strip,
  .application-form {
    grid-template-columns: 1fr;
  }

  .why-card,
  .culture-card {
    min-height: 0;
    align-content: start;
    gap: 26px;
  }

  .why-card {
    padding: 20px;
  }

  .culture-card {
    padding: 18px;
  }

  .why-card h3,
  .culture-card h3 {
    font-size: clamp(23px, 7vw, 32px);
    line-height: 1;
  }

  .why-card p,
  .culture-card p {
    font-size: 14px;
    line-height: 1.36;
  }

  .image-tile img,
  .day-card img {
    height: 340px;
  }

  .growth-image img,
  .process-image img {
    height: 390px;
  }

  .growth-copy,
  .process-copy,
  .apply-copy {
    gap: 18px;
  }

  .growth-copy h2,
  .process-copy h2,
  .apply-copy h2 {
    max-width: 13ch;
    font-size: clamp(30px, 8.6vw, 42px);
  }

  .growth-list article,
  .process-steps article {
    gap: 10px;
    padding: 15px 0;
  }

  .benefit-item span {
    font-size: 20px;
  }

  .roles-head h2 {
    font-size: clamp(48px, 15vw, 82px);
  }

  .role-row {
    gap: 12px;
    padding: 15px;
  }

  .role-row h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .application-form {
    gap: 13px;
    padding: 16px;
  }

  .careers-final h2 {
    max-width: 15ch;
    font-size: clamp(29px, 8.4vw, 42px);
    line-height: 0.96;
  }

  .work-actions {
    display: grid;
    width: 100%;
  }

  .work-page .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
