/* Mad Digi careers page. Everything is scoped to .mdcr so nothing leaks into the theme, header or footer. */

/* The careers page sits in the theme's default template: drop its top/bottom padding so the sections meet the header and footer. */
:where(.section-padding, .section-padding-2, .section-padding-3):has(> .container > .mdcr),
:where(.section-padding, .section-padding-2, .section-padding-3):has(> .container > * > .mdcr),
:where(.section-padding, .section-padding-2, .section-padding-3):has(> .container > * > * > .mdcr) { padding-top: 0 !important; padding-bottom: 0 !important; }
.entry-content:has(> .mdcr), article:has(> .entry-content > .mdcr) { margin: 0; padding: 0; }

.mdcr {
  --mdcr-gold: #FCAF17;
  --mdcr-gold-wash: #FFF4DC;
  --mdcr-gold-text: #8a5c00;
  --mdcr-ink: #27272E;
  --mdcr-ink-2: #31313a;
  --mdcr-ink-line: rgba(255, 255, 255, .1);
  --mdcr-on-ink: #c9c9d3;
  --mdcr-heading: #292930;
  --mdcr-text: #525260;
  --mdcr-muted: #77778a;
  --mdcr-band: #ECF2F6;
  --mdcr-line: #d6dee5;
  --mdcr-soft-line: #e6ecf1;
  --mdcr-field: #F6F9FB;
  --mdcr-error: #c4321f;
  --mdcr-error-wash: #fdecea;
  --mdcr-white: #fff;
  --mdcr-head: "DM Sans", sans-serif;
  --mdcr-body: "Poppins", sans-serif;
  --mdcr-ease: cubic-bezier(.2, .7, .2, 1);
  display: block;
  color: var(--mdcr-text);
  font-family: var(--mdcr-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.02em;
  text-align: left;
}
.mdcr *, .mdcr *::before, .mdcr *::after { box-sizing: border-box; }
.mdcr :where(h1, h2, h3, p, ol, ul, fieldset, legend, figure) { margin: 0; padding: 0; }
.mdcr :where(ol, ul) { list-style: none; }
.mdcr :where(li) { margin: 0; padding: 0; }
.mdcr :where(li)::before, .mdcr :where(li)::marker { content: none; }
.mdcr fieldset { border: 0; min-width: 0; }
.mdcr a { text-decoration: none; }
.mdcr [hidden] { display: none !important; }
.mdcr .mdcr-i { width: 20px; height: 20px; flex: 0 0 auto; }
.mdcr a:focus-visible, .mdcr button:focus-visible { outline: 3px solid var(--mdcr-gold); outline-offset: 3px; }
.mdcr [tabindex="-1"]:focus { outline: none; }

.mdcr .mdcr-nw { white-space: nowrap; }
.mdcr .mdcr-bleed { position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.mdcr .mdcr-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 24px); }
.mdcr .mdcr-sec { padding-block: clamp(64px, 8vw, 112px); scroll-margin-top: 90px; }
.mdcr .mdcr-band { background: var(--mdcr-band); }
.mdcr .mdcr-white { background: var(--mdcr-white); }

/* Section heads */
.mdcr .mdcr-head { display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.mdcr .mdcr-head--left { justify-items: start; margin-inline: 0; text-align: left; }
.mdcr .mdcr-eyebrow { display: flex; align-items: center; gap: 12px; font-size: .8125rem; font-weight: 600; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--mdcr-on-ink); }
.mdcr .mdcr-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--mdcr-gold); }
.mdcr .mdcr-eyebrow--dark { color: var(--mdcr-gold-text); }
.mdcr .mdcr-h2 { font-family: var(--mdcr-head); font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--mdcr-heading); text-wrap: balance; }
.mdcr .mdcr-h2--light { color: var(--mdcr-white); }
.mdcr .mdcr-lead { max-width: 56ch; font-size: 1.0625rem; line-height: 1.7; color: var(--mdcr-text); }

/* Buttons */
.mdcr .mdcr-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.mdcr .mdcr-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; margin: 0; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 18px; cursor: pointer;
  font-family: var(--mdcr-body); font-size: 1rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; text-transform: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .2s;
}
.mdcr .mdcr-btn .mdcr-i { width: 18px; height: 18px; transition: transform .3s var(--mdcr-ease); }
.mdcr .mdcr-btn--gold { background: var(--mdcr-gold); color: var(--mdcr-ink); box-shadow: 0 18px 36px -18px rgba(252, 175, 23, .9); }
.mdcr .mdcr-btn--gold:hover { background: var(--mdcr-white); color: var(--mdcr-ink); }
.mdcr .mdcr-btn--gold:hover .mdcr-i--down { transform: translateY(3px); }
.mdcr .mdcr-btn--ghost { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: var(--mdcr-white); }
.mdcr .mdcr-btn--ghost .mdcr-i { color: var(--mdcr-gold); }
.mdcr .mdcr-btn--ghost:hover { border-color: var(--mdcr-gold); background: var(--mdcr-gold); color: var(--mdcr-ink); }
.mdcr .mdcr-btn--ghost:hover .mdcr-i { color: var(--mdcr-ink); }
.mdcr .mdcr-btn--ink { background: var(--mdcr-ink); color: var(--mdcr-white); }
.mdcr .mdcr-btn--ink .mdcr-i { color: var(--mdcr-gold); }
.mdcr .mdcr-btn--ink:hover { background: var(--mdcr-gold); color: var(--mdcr-ink); }
.mdcr .mdcr-btn--ink:hover .mdcr-i { color: var(--mdcr-ink); }
.mdcr .mdcr-btn:active { transform: translateY(1px); }

/* ------------------------------------------------------------------ hero */
.mdcr .mdcr-hero {
  isolation: isolate; overflow: hidden; padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 112px);
  background: var(--mdcr-ink); color: var(--mdcr-on-ink);
}
.mdcr .mdcr-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 80% at 100% 0%, #000, transparent 72%);
          mask-image: radial-gradient(70% 80% at 100% 0%, #000, transparent 72%);
}
.mdcr .mdcr-hero::after {
  content: ""; position: absolute; z-index: -1; right: -180px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 70px solid rgba(252, 175, 23, .07); pointer-events: none;
}
.mdcr .mdcr-hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .mdcr .mdcr-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.mdcr .mdcr-hero__copy { display: grid; gap: 24px; justify-items: start; }
.mdcr .mdcr-hero__title { font-family: var(--mdcr-head); font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.05em; color: var(--mdcr-white); text-wrap: balance; }
.mdcr .mdcr-hero__lead { max-width: 60ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.7; color: var(--mdcr-on-ink); }
.mdcr .mdcr-note {
  display: flex; gap: 16px; max-width: 640px; padding: 18px 20px; border-radius: 20px;
  border: 1px solid rgba(252, 175, 23, .28); background: linear-gradient(135deg, rgba(252, 175, 23, .12), rgba(252, 175, 23, .03));
}
.mdcr .mdcr-note__icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; background: var(--mdcr-gold); color: var(--mdcr-ink); }
.mdcr .mdcr-note__title { font-family: var(--mdcr-head); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--mdcr-white); }
.mdcr .mdcr-note__text { margin-top: 4px; font-size: .9375rem; line-height: 1.6; color: var(--mdcr-on-ink); }
.mdcr .mdcr-hero .mdcr-actions { margin-top: 4px; }

.mdcr .mdcr-board {
  position: relative; padding: 26px; border-radius: 30px; border: 1px solid var(--mdcr-ink-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.mdcr .mdcr-board__head { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mdcr-on-ink); }
.mdcr .mdcr-board__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #3ecf7a; }
.mdcr .mdcr-board__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(62, 207, 122, .45); animation: mdcr-pulse 2s var(--mdcr-ease) infinite; }
.mdcr .mdcr-board__list { display: grid; gap: 10px; margin-top: 18px; }
.mdcr .mdcr-board__list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.mdcr .mdcr-board__icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; background: rgba(252, 175, 23, .14); color: var(--mdcr-gold); }
.mdcr .mdcr-board__list span:last-child { display: grid; gap: 2px; min-width: 0; }
.mdcr .mdcr-board__list strong { font-family: var(--mdcr-head); font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--mdcr-white); }
.mdcr .mdcr-board__list small { font-size: .8125rem; line-height: 1.4; color: var(--mdcr-on-ink); }
.mdcr .mdcr-board__foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--mdcr-ink-line); font-size: .875rem; color: var(--mdcr-on-ink); }
.mdcr .mdcr-board__foot .mdcr-i { width: 17px; height: 17px; color: var(--mdcr-gold); }

/* ------------------------------------------------------------------ departments */
.mdcr .mdcr-depts { display: grid; gap: 20px; }
@media (min-width: 768px) { .mdcr .mdcr-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mdcr .mdcr-dept--other { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .mdcr .mdcr-depts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mdcr .mdcr-dept--other { grid-column: auto; } }
.mdcr .mdcr-dept {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 34px); border-radius: 30px;
  background: var(--mdcr-white); border: 1px solid var(--mdcr-soft-line); box-shadow: 0 2px 8px rgba(39, 39, 46, .04);
  transition: transform .35s var(--mdcr-ease), box-shadow .35s var(--mdcr-ease), border-color .35s;
}
.mdcr .mdcr-dept:hover { transform: translateY(-4px); border-color: rgba(252, 175, 23, .55); box-shadow: 0 40px 70px -40px rgba(39, 39, 46, .4); }
.mdcr .mdcr-dept__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--mdcr-gold-wash); color: var(--mdcr-gold-text); transition: background-color .3s, color .3s; }
.mdcr .mdcr-dept__icon .mdcr-i { width: 26px; height: 26px; }
.mdcr .mdcr-dept:hover .mdcr-dept__icon { background: var(--mdcr-gold); color: var(--mdcr-ink); }
.mdcr .mdcr-dept__title { margin-top: 6px; font-family: var(--mdcr-head); font-size: 1.375rem; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; color: var(--mdcr-heading); }
.mdcr .mdcr-dept__text { font-size: .9688rem; line-height: 1.7; color: var(--mdcr-text); }
.mdcr .mdcr-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mdcr .mdcr-tags li { padding: 6px 12px; border-radius: 999px; background: var(--mdcr-band); color: var(--mdcr-heading); font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.mdcr .mdcr-dept__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; align-self: flex-start;
  color: var(--mdcr-ink); font-weight: 600; font-size: .9688rem;
}
.mdcr .mdcr-dept__cta span { background-image: linear-gradient(var(--mdcr-gold), var(--mdcr-gold)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; }
.mdcr .mdcr-dept__cta .mdcr-i { width: 18px; height: 18px; transition: transform .3s var(--mdcr-ease); }
.mdcr .mdcr-dept__cta:hover { color: var(--mdcr-gold-text); }
.mdcr .mdcr-dept__cta:hover .mdcr-i { transform: translateX(4px); }
.mdcr .mdcr-dept__cta::after { content: ""; position: absolute; inset: 0; border-radius: 30px; }

/* ------------------------------------------------------------------ why */
.mdcr .mdcr-why { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) { .mdcr .mdcr-why { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .mdcr .mdcr-why .mdcr-head { margin: 0; position: relative; top: 0; } }
.mdcr .mdcr-why__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .mdcr .mdcr-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mdcr .mdcr-why__card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; } .mdcr .mdcr-why__card:last-child .mdcr-why__icon { grid-row: 1 / span 2; margin: 0; } }
.mdcr .mdcr-why__card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: var(--mdcr-band); border: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.mdcr .mdcr-why__card:hover { background: var(--mdcr-white); border-color: var(--mdcr-soft-line); }
.mdcr .mdcr-why__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 16px; background: var(--mdcr-ink); color: var(--mdcr-gold); }
.mdcr .mdcr-why__card h3 { font-family: var(--mdcr-head); font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; color: var(--mdcr-heading); }
.mdcr .mdcr-why__card p { font-size: .9375rem; line-height: 1.6; color: var(--mdcr-text); }

/* ------------------------------------------------------------------ process */
.mdcr .mdcr-ink { isolation: isolate; overflow: hidden; background: var(--mdcr-ink); color: var(--mdcr-on-ink); }
.mdcr .mdcr-ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 0% 100%, #000, transparent 72%);
          mask-image: radial-gradient(60% 70% at 0% 100%, #000, transparent 72%);
}
.mdcr .mdcr-ink::after { content: ""; position: absolute; z-index: -1; left: -160px; top: -200px; width: 440px; height: 440px; border-radius: 50%; border: 60px solid rgba(252, 175, 23, .06); pointer-events: none; }
.mdcr .mdcr-steps { position: relative; display: grid; gap: 28px; counter-reset: none; }
.mdcr .mdcr-step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; }
.mdcr .mdcr-step__marker { grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: var(--mdcr-ink-2); border: 1px solid rgba(252, 175, 23, .35); color: var(--mdcr-gold); z-index: 1; }
.mdcr .mdcr-step__icon .mdcr-i { width: 28px; height: 28px; }
.mdcr .mdcr-step__n { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 9px; background: var(--mdcr-gold); color: var(--mdcr-ink); font-family: var(--mdcr-head); font-size: .8125rem; font-weight: 700; }
.mdcr .mdcr-step__title { align-self: end; font-family: var(--mdcr-head); font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; color: var(--mdcr-white); }
.mdcr .mdcr-step__text { font-size: .9375rem; line-height: 1.65; color: var(--mdcr-on-ink); }
/* Connecting line: vertical on phones and tablets */
.mdcr .mdcr-step:not(:last-child)::after { content: ""; position: absolute; left: 35px; top: 80px; bottom: -24px; width: 2px; border-radius: 2px; background: repeating-linear-gradient(to bottom, rgba(252, 175, 23, .6) 0 6px, transparent 6px 12px); }
@media (min-width: 1024px) {
  .mdcr .mdcr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .mdcr .mdcr-step { grid-template-columns: 1fr; gap: 14px; justify-items: start; }
  .mdcr .mdcr-step__marker { grid-row: auto; margin-bottom: 8px; }
  .mdcr .mdcr-step:not(:last-child)::after { left: 88px; right: -24px; top: 35px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, rgba(252, 175, 23, .6) 0 6px, transparent 6px 12px); }
}

/* ------------------------------------------------------------------ apply */
.mdcr .mdcr-apply__grid { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .mdcr .mdcr-apply__grid { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); align-items: start; } }
.mdcr .mdcr-apply__aside { display: grid; gap: 16px; align-content: start; }
.mdcr .mdcr-prep { display: grid; gap: 10px; margin-top: 4px; }
.mdcr .mdcr-prep li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.5; color: var(--mdcr-heading); }
.mdcr .mdcr-prep .mdcr-i { width: 20px; height: 20px; margin-top: 1px; color: var(--mdcr-gold-text); }
.mdcr .mdcr-mini { display: grid; gap: 8px; margin-top: 8px; padding: 18px; border-radius: 20px; background: var(--mdcr-white); border: 1px solid var(--mdcr-soft-line); }
.mdcr .mdcr-mini p { font-size: .875rem; font-weight: 500; color: var(--mdcr-muted); }
.mdcr .mdcr-mini a { display: inline-flex; align-items: center; gap: 10px; color: var(--mdcr-ink); font-weight: 600; font-size: .9688rem; overflow-wrap: anywhere; }
.mdcr .mdcr-mini a .mdcr-i { width: 18px; height: 18px; color: var(--mdcr-gold-text); }
.mdcr .mdcr-mini a:hover { color: var(--mdcr-gold-text); }

.mdcr .mdcr-panel {
  position: relative; padding: clamp(22px, 4vw, 48px); border-radius: 30px; background: var(--mdcr-white); border: 1px solid #e6ecf1;
  box-shadow: 0 2px 8px rgba(39, 39, 46, .05), 0 50px 100px -50px rgba(39, 39, 46, .45);
}
.mdcr .mdcr-form { display: grid; gap: 32px; }
.mdcr .mdcr-group { display: grid; gap: 0; }
.mdcr .mdcr-legend {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 18px; padding: 0;
  font-family: var(--mdcr-head); font-size: 1.125rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--mdcr-heading);
}
.mdcr .mdcr-legend span { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--mdcr-gold-wash); color: var(--mdcr-gold-text); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.mdcr .mdcr-legend::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--mdcr-soft-line); }
.mdcr .mdcr-grid { display: grid; gap: 18px 18px; }
.mdcr .mdcr-grid--after { margin-top: 18px; }
@media (min-width: 640px) {
  .mdcr .mdcr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdcr .mdcr-field--full { grid-column: 1 / -1; }
}

.mdcr .mdcr-field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.mdcr .mdcr-label { display: flex; align-items: baseline; gap: 6px; font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--mdcr-heading); letter-spacing: -.015em; }
.mdcr .mdcr-req { color: var(--mdcr-error); font-weight: 600; }
.mdcr .mdcr-opt { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--mdcr-band); color: var(--mdcr-muted); font-size: .6875rem; font-weight: 500; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; }

.mdcr .mdcr-control { position: relative; display: flex; align-items: center; }
.mdcr .mdcr-control > .mdcr-i:first-child { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: #9a9aab; pointer-events: none; transition: color .2s; }
.mdcr .mdcr-input {
  display: block; width: 100%; min-height: 54px; margin: 0; padding: 14px 16px; border: 1.5px solid var(--mdcr-line); border-radius: 16px;
  background: var(--mdcr-field); color: var(--mdcr-ink); font-family: var(--mdcr-body); font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: -.01em;
  box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background-color .2s, box-shadow .25s;
}
.mdcr input.mdcr-input, .mdcr select.mdcr-input { height: 54px; }
.mdcr .mdcr-input.has-icon { padding-left: 46px; }
.mdcr .mdcr-input::placeholder { color: #a2a2b2; opacity: 1; }
.mdcr .mdcr-input:hover { border-color: #bcc8d2; background: var(--mdcr-white); }
.mdcr .mdcr-input:focus { border-color: var(--mdcr-ink); background: var(--mdcr-white); box-shadow: 0 0 0 4px rgba(252, 175, 23, .32); }
.mdcr .mdcr-control:focus-within > .mdcr-i:first-child { color: var(--mdcr-ink); }
.mdcr .mdcr-textarea { height: auto; min-height: 112px; padding-top: 14px; resize: vertical; line-height: 1.6; }
.mdcr .mdcr-select { padding-right: 46px; cursor: pointer; color: var(--mdcr-ink); text-overflow: ellipsis; }
.mdcr .mdcr-select.is-empty { color: #a2a2b2; }
.mdcr .mdcr-select option { color: var(--mdcr-ink); }
.mdcr .mdcr-control--select > .mdcr-i--caret { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--mdcr-ink); pointer-events: none; transition: transform .25s; }
.mdcr .mdcr-control--select:focus-within > .mdcr-i--caret { transform: translateY(-50%) rotate(180deg); }

.mdcr .mdcr-err { display: none; align-items: flex-start; gap: 6px; font-size: .8125rem; font-weight: 500; line-height: 1.4; color: var(--mdcr-error); }
.mdcr .is-invalid > .mdcr-err { display: flex; animation: mdcr-in .25s var(--mdcr-ease); }
.mdcr .mdcr-err::before { content: "!"; display: inline-grid; place-items: center; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--mdcr-error); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 1; }
.mdcr .mdcr-field.is-invalid .mdcr-input { border-color: var(--mdcr-error); background: var(--mdcr-error-wash); }
.mdcr .mdcr-field.is-invalid .mdcr-input:focus { box-shadow: 0 0 0 4px rgba(196, 50, 31, .16); }
.mdcr .mdcr-field.is-invalid .mdcr-control > .mdcr-i:first-child { color: var(--mdcr-error); }
.mdcr .is-shake { animation: mdcr-shake .35s; }

/* Conditional blocks: animate open/closed without losing what was typed */
.mdcr .mdcr-cond { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--mdcr-ease), opacity .3s, margin-top .45s var(--mdcr-ease); margin-top: 0; }
.mdcr .mdcr-cond > * { min-height: 0; overflow: hidden; }
.mdcr .mdcr-cond.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 18px; }
.mdcr .mdcr-cond.is-open > * { overflow: visible; }
.mdcr .mdcr-cond.is-animating > * { overflow: hidden; }
.mdcr .mdcr-cond__inner { padding: 20px; border-radius: 22px; background: linear-gradient(180deg, var(--mdcr-gold-wash), rgba(255, 244, 220, .35)); border: 1px solid rgba(252, 175, 23, .35); }
.mdcr .mdcr-cond__title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--mdcr-head); font-size: 1rem; font-weight: 600; color: var(--mdcr-heading); }
.mdcr .mdcr-cond__title .mdcr-i { width: 20px; height: 20px; color: var(--mdcr-gold-text); }
.mdcr .mdcr-cond__inner .mdcr-input { background: var(--mdcr-white); }
.mdcr .mdcr-cond__inner .mdcr-field.is-invalid .mdcr-input { background: var(--mdcr-error-wash); }
/* Inner padding is clipped while the block is collapsed: the focus ring needs room. */
.mdcr .mdcr-cond > .mdcr-grid { padding: 4px; margin: -4px; }

/* Chips (multi-select) */
.mdcr .mdcr-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mdcr .mdcr-chip { position: relative; display: inline-flex; cursor: pointer; }
.mdcr .mdcr-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mdcr .mdcr-chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--mdcr-line);
  background: var(--mdcr-white); color: var(--mdcr-heading); font-size: .875rem; font-weight: 500; line-height: 1.2; transition: background-color .2s, border-color .2s, color .2s;
}
.mdcr .mdcr-chip .mdcr-i { width: 0; height: 15px; stroke-width: 3; opacity: 0; transition: width .2s, opacity .2s; }
.mdcr .mdcr-chip:hover span { border-color: var(--mdcr-ink); }
.mdcr .mdcr-chip input:checked + span { background: var(--mdcr-ink); border-color: var(--mdcr-ink); color: var(--mdcr-white); }
.mdcr .mdcr-chip input:checked + span .mdcr-i { width: 15px; opacity: 1; color: var(--mdcr-gold); }
.mdcr .mdcr-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(252, 175, 23, .4); }

/* CV upload */
.mdcr .mdcr-drop {
  position: relative; display: grid; place-items: center; min-height: 148px; padding: 22px; border-radius: 20px; border: 2px dashed #bccad5;
  background: var(--mdcr-field); text-align: center; transition: border-color .2s, background-color .2s, box-shadow .25s;
}
.mdcr .mdcr-drop__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; font-size: 0; }
.mdcr .mdcr-drop:hover, .mdcr .mdcr-drop.is-over { border-color: var(--mdcr-gold); background: var(--mdcr-gold-wash); }
.mdcr .mdcr-drop:focus-within { border-color: var(--mdcr-ink); box-shadow: 0 0 0 4px rgba(252, 175, 23, .32); }
.mdcr .mdcr-drop__empty { display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.mdcr .mdcr-drop__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--mdcr-ink); color: var(--mdcr-gold); }
.mdcr .mdcr-drop__icon .mdcr-i { width: 22px; height: 22px; }
.mdcr .mdcr-drop__text { font-size: .9688rem; color: var(--mdcr-heading); }
.mdcr .mdcr-drop__text strong { font-weight: 600; text-decoration: underline; text-decoration-color: var(--mdcr-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mdcr .mdcr-drop__or { color: var(--mdcr-muted); }
.mdcr .mdcr-drop__hint { font-size: .8125rem; color: var(--mdcr-muted); }
.mdcr .mdcr-drop.has-file { min-height: 0; place-items: stretch; padding: 14px; border-style: solid; border-color: rgba(252, 175, 23, .7); background: var(--mdcr-gold-wash); }
.mdcr .mdcr-drop.has-file .mdcr-drop__input { pointer-events: none; }
.mdcr .mdcr-drop__file { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; text-align: left; animation: mdcr-in .3s var(--mdcr-ease); }
.mdcr .mdcr-drop__icon--file { flex: 0 0 50px; background: var(--mdcr-gold); color: var(--mdcr-ink); }
.mdcr .mdcr-drop__meta { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.mdcr .mdcr-drop__meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9688rem; font-weight: 600; color: var(--mdcr-heading); }
.mdcr .mdcr-drop__meta span { font-size: .8125rem; color: var(--mdcr-muted); }
.mdcr .mdcr-drop__remove {
  display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; margin: 0; padding: 0; border: 1px solid var(--mdcr-line); border-radius: 14px;
  background: var(--mdcr-white); color: var(--mdcr-ink); cursor: pointer; box-shadow: none; transition: background-color .2s, color .2s, border-color .2s;
}
.mdcr .mdcr-drop__remove .mdcr-i { width: 18px; height: 18px; }
.mdcr .mdcr-drop__remove:hover { background: var(--mdcr-ink); border-color: var(--mdcr-ink); color: var(--mdcr-white); }
.mdcr .mdcr-field.is-invalid .mdcr-drop { border-color: var(--mdcr-error); background: var(--mdcr-error-wash); }

.mdcr .mdcr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Alert */
.mdcr .mdcr-alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(196, 50, 31, .25); background: var(--mdcr-error-wash); color: #8f2414; font-size: .9375rem; line-height: 1.5; animation: mdcr-in .3s var(--mdcr-ease); }
.mdcr .mdcr-alert .mdcr-i { width: 20px; height: 20px; margin-top: 1px; color: var(--mdcr-error); }
.mdcr .mdcr-alert a { color: #8f2414; font-weight: 600; text-decoration: underline; }

/* Submit */
.mdcr .mdcr-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 4px; }
.mdcr .mdcr-btn--submit { min-height: 58px; padding: 0 12px 0 28px; font-size: 1.0625rem; }
.mdcr .mdcr-btn__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; background: var(--mdcr-ink); color: var(--mdcr-gold); transition: transform .3s var(--mdcr-ease), background-color .25s, color .25s; }
.mdcr .mdcr-btn__icon .mdcr-i { width: 18px; height: 18px; }
.mdcr .mdcr-btn--submit:hover, .mdcr .mdcr-btn--submit:focus-visible { background: var(--mdcr-ink); color: var(--mdcr-white); box-shadow: 0 18px 36px -18px rgba(39, 39, 46, .7); }
.mdcr .mdcr-btn--submit:hover .mdcr-btn__icon, .mdcr .mdcr-btn--submit:focus-visible .mdcr-btn__icon { background: var(--mdcr-gold); color: var(--mdcr-ink); transform: rotate(-12deg) translateX(2px); }
.mdcr .mdcr-spinner { display: none; width: 38px; height: 38px; border-radius: 14px; background: var(--mdcr-ink); position: relative; }
.mdcr .mdcr-spinner::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2.5px solid rgba(252, 175, 23, .3); border-top-color: var(--mdcr-gold); animation: mdcr-spin .8s linear infinite; }
.mdcr .mdcr-btn--submit[aria-busy="true"] { cursor: progress; background: var(--mdcr-gold); color: var(--mdcr-ink); }
.mdcr .mdcr-btn--submit[aria-busy="true"] .mdcr-btn__icon { display: none; }
.mdcr .mdcr-btn--submit[aria-busy="true"] .mdcr-spinner { display: block; }
.mdcr .mdcr-btn--submit:disabled { opacity: 1; }
.mdcr .mdcr-fine { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 240px; font-size: .8125rem; line-height: 1.5; color: var(--mdcr-muted); }
.mdcr .mdcr-fine .mdcr-i { width: 16px; height: 16px; margin-top: 1px; color: var(--mdcr-gold-text); }
.mdcr .mdcr-fine a { color: var(--mdcr-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--mdcr-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mdcr .is-sending .mdcr-input, .mdcr .is-sending .mdcr-chip, .mdcr .is-sending .mdcr-drop { opacity: .65; pointer-events: none; }
.mdcr .mdcr-progress { height: 4px; border-radius: 4px; background: var(--mdcr-band); overflow: hidden; flex: 1 1 100%; }
.mdcr .mdcr-progress span { display: block; height: 100%; width: 0; background: var(--mdcr-gold); transition: width .2s; }

/* Success */
.mdcr .mdcr-success { display: grid; justify-items: center; gap: 14px; padding: clamp(24px, 4vw, 48px) 8px; text-align: center; animation: mdcr-in .5s var(--mdcr-ease); }
.mdcr .mdcr-success p { max-width: 46ch; font-size: 1.0625rem; line-height: 1.7; color: var(--mdcr-text); }
.mdcr .mdcr-success__badge { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 8px; border-radius: 30px; background: var(--mdcr-gold); color: var(--mdcr-ink); box-shadow: 0 24px 48px -20px rgba(252, 175, 23, .95); animation: mdcr-pop .6s var(--mdcr-ease) both .1s; }
.mdcr .mdcr-success__badge::after { content: ""; position: absolute; inset: -10px; border-radius: 36px; border: 2px solid rgba(252, 175, 23, .35); animation: mdcr-ring 1.6s var(--mdcr-ease) .3s both; }
.mdcr .mdcr-success__badge .mdcr-i { width: 42px; height: 42px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: mdcr-draw .5s ease-out .45s forwards; }
.mdcr .mdcr-success__title { font-family: var(--mdcr-head); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; color: var(--mdcr-heading); text-wrap: balance; }
.mdcr .mdcr-success .mdcr-success__ref { margin-top: 6px; padding: 10px 16px; border-radius: 14px; background: var(--mdcr-band); font-size: .9375rem; color: var(--mdcr-heading); }
.mdcr .mdcr-success__ref strong { font-family: var(--mdcr-head); letter-spacing: .02em; white-space: nowrap; }
.mdcr .mdcr-success .mdcr-btn { margin-top: 8px; }

/* ------------------------------------------------------------------ HR contact */
.mdcr .mdcr-hr__card {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 30px;
  background: var(--mdcr-ink); color: var(--mdcr-on-ink);
}
.mdcr .mdcr-hr__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 90% at 100% 50%, #000, transparent 72%); mask-image: radial-gradient(70% 90% at 100% 50%, #000, transparent 72%); }
.mdcr .mdcr-hr__card::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -160px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(252, 175, 23, .08); }
@media (min-width: 1024px) { .mdcr .mdcr-hr__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.mdcr .mdcr-hr__copy { display: grid; gap: 14px; }
.mdcr .mdcr-hr__copy .mdcr-h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.mdcr .mdcr-hr__text { max-width: 48ch; font-size: 1.0625rem; line-height: 1.7; color: var(--mdcr-on-ink); }
.mdcr .mdcr-hr__actions { display: grid; gap: 12px; }
.mdcr .mdcr-hr__wa {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 22px; background: var(--mdcr-gold); color: var(--mdcr-ink);
  box-shadow: 0 24px 48px -24px rgba(252, 175, 23, .9); transition: background-color .25s, transform .25s var(--mdcr-ease);
}
.mdcr .mdcr-hr__wa:hover { background: var(--mdcr-white); transform: translateY(-2px); }
.mdcr .mdcr-hr__wa-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--mdcr-ink); color: var(--mdcr-gold); }
.mdcr .mdcr-hr__wa-icon .mdcr-i { width: 24px; height: 24px; }
.mdcr .mdcr-hr__wa-text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.mdcr .mdcr-hr__wa-text small { font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.mdcr .mdcr-hr__wa-text strong { font-family: var(--mdcr-head); font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.mdcr .mdcr-hr__wa > .mdcr-i { width: 20px; height: 20px; transition: transform .3s var(--mdcr-ease); }
.mdcr .mdcr-hr__wa:hover > .mdcr-i { transform: translateX(4px); }
.mdcr .mdcr-hr__mail { display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 16px; border-radius: 22px; border: 1px solid var(--mdcr-ink-line); background: rgba(255, 255, 255, .04); color: var(--mdcr-white); transition: border-color .25s, background-color .25s; }
.mdcr .mdcr-hr__mail .mdcr-i { flex: 0 0 52px; width: 52px; height: 22px; color: var(--mdcr-gold); }
.mdcr .mdcr-hr__mail span { display: grid; gap: 2px; min-width: 0; }
.mdcr .mdcr-hr__mail small { font-size: .8125rem; color: var(--mdcr-on-ink); }
.mdcr .mdcr-hr__mail strong { font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.mdcr .mdcr-hr__mail:hover { border-color: var(--mdcr-gold); background: rgba(252, 175, 23, .1); }

@keyframes mdcr-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mdcr-pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes mdcr-ring { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.25); } }
@keyframes mdcr-draw { to { stroke-dashoffset: 0; } }
@keyframes mdcr-spin { to { transform: rotate(360deg); } }
@keyframes mdcr-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes mdcr-pulse { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }

/* Tablet */
@media (min-width: 640px) and (max-width: 1023px) {
  .mdcr .mdcr-hero__grid { grid-template-columns: 1fr; }
  .mdcr .mdcr-board__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mdcr .mdcr-board__list li { flex-direction: column; align-items: flex-start; }
  .mdcr .mdcr-hr__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones */
@media (max-width: 639px) {
  .mdcr .mdcr-sec { padding-block: 64px; }
  .mdcr .mdcr-hero { padding-block: 44px 64px; }
  .mdcr .mdcr-hero__copy { gap: 20px; }
  .mdcr .mdcr-note { flex-direction: column; gap: 12px; padding: 16px; }
  .mdcr .mdcr-actions { flex-direction: column; align-self: stretch; width: 100%; }
  .mdcr .mdcr-actions .mdcr-btn { width: 100%; }
  .mdcr .mdcr-board { display: none; } /* phones: the department cards follow right below */
  .mdcr .mdcr-dept { border-radius: 26px; }
  .mdcr .mdcr-why__card { padding: 20px; }
  .mdcr .mdcr-step { grid-template-columns: 60px 1fr; gap: 4px 16px; }
  .mdcr .mdcr-step__marker { width: 60px; height: 60px; border-radius: 20px; }
  .mdcr .mdcr-step:not(:last-child)::after { left: 29px; top: 68px; }
  .mdcr .mdcr-step__title { font-size: 1.125rem; }
  .mdcr .mdcr-panel { padding: 22px 16px; border-radius: 26px; margin-inline: -4px; }
  .mdcr .mdcr-cond__inner { padding: 16px 14px; }
  .mdcr .mdcr-submit { flex-direction: column; align-items: stretch; }
  .mdcr .mdcr-btn--submit { width: 100%; justify-content: space-between; }
  .mdcr .mdcr-hr__card { border-radius: 26px; }
  .mdcr .mdcr-hr__wa { padding: 14px; gap: 12px; }
  .mdcr .mdcr-hr__wa-icon { flex-basis: 46px; width: 46px; height: 46px; }
  .mdcr .mdcr-hr__mail { padding: 14px; gap: 12px; }
  .mdcr .mdcr-hr__mail .mdcr-i { flex-basis: 46px; width: 46px; }
}
@media (max-width: 380px) {
  .mdcr .mdcr-hr__wa > .mdcr-i { display: none; }
  .mdcr .mdcr-opt { padding: 1px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .mdcr *, .mdcr *::before, .mdcr *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .mdcr .mdcr-success__badge .mdcr-i { stroke-dashoffset: 0; }
}
