/* SS Bucket Biryani website: Careers. Loaded after site.css, whose tokens, header, footer and motion it uses.
   Desktop values match the Figma at 1512 px. --u is one of its pixels: 1px from 1512 px up, less below, so the
   art and the big headings keep their proportions as the window narrows. */

.careers-page {
  --panel: #FBE4C2;
  --ink-copy: #3B0A0D;
  --ink-soft: #5A2A2C;
  --ink-note: #6B4446;
  --field-line: #E9CFA8;
  --form-ground: #FFFDF9;
  --gold-light: #F2C46B;
  --dark: #2A0508;
  --shade: rgba(60, 0, 0, .35);
  /* the site's red is 4.1:1 on the panel colour; this deeper one is 4.9:1, for small red text there */
  --red-deep: #C5061F;
}
.careers-page main { --u: min(1px, calc(100cqw / 1512)); }
/* the reset in site.css covers ul, not ol or form */
:where(.careers-page) :where(ol, form) { margin: 0; padding: 0; list-style: none; }

/* ---------- Shared pieces ---------- */
.cr-eyebrow { font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.cr-eyebrow--cream { color: var(--cream); }
.cr-eyebrow--deep { color: var(--red-deep); }

.cr-wrap { width: calc(885 * var(--u)); margin-inline: auto; }
.cr-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cr-h2 { font-family: var(--font-condensed); font-weight: 400; font-size: max(44px, calc(72 * var(--u))); line-height: .931; text-transform: uppercase; color: var(--maroon); }
.cr-lead { max-width: 472px; padding-top: 4px; font-size: 15px; line-height: 24px; color: var(--ink-copy); }

/* ---------- 1. The opening: grow with the bucket ---------- */
.cr-hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(906 * var(--u)); padding: calc(308 * var(--u)) var(--gutter) calc(88 * var(--u)); background: var(--red); color: var(--cream); }
/* two ribbons cross the opening, one each way */
.cr-ribbons { position: absolute; left: 0; right: 0; top: calc(153 * var(--u)); height: calc(112 * var(--u)); }
.cr-ribbon { position: absolute; left: calc(-91 * var(--u)); display: flex; width: max(calc(1693 * var(--u)), calc(100% + 182 * var(--u))); overflow: hidden; padding: max(6px, calc(10 * var(--u))) 0 max(8px, calc(13 * var(--u))); transform-origin: 0 0; box-shadow: 0 5px 13px rgba(60, 0, 0, .3); white-space: nowrap; }
/* each ribbon's words are one long row (the track), which runs along the ribbon where motion is on */
.cr-ribbon__track { display: flex; flex: none; }
.cr-ribbon li { display: flex; flex: none; align-items: center; gap: max(18px, calc(33 * var(--u))); padding: 0 max(10px, calc(16 * var(--u))) 0 max(10px, calc(17 * var(--u))); font-family: var(--font-condensed); font-size: max(15px, calc(22 * var(--u))); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; }
.cr-ribbon li::after { content: ""; flex: none; width: max(6px, calc(9 * var(--u))); aspect-ratio: 1; rotate: 45deg; background: var(--gold-light); }
.cr-ribbon--light { top: calc(66 * var(--u)); rotate: -2deg; background: var(--cream); color: var(--maroon); }
.cr-ribbon--dark { top: 0; rotate: 2deg; background: var(--dark); color: var(--cream); }
.cr-hero__inner { --a: var(--u); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) calc(388 * var(--a)); column-gap: calc(24 * var(--u)); width: calc(886 * var(--u)); margin-inline: auto; }
.cr-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.cr-hero__title { font-family: var(--font-condensed); font-weight: 400; font-size: max(64px, calc(118 * var(--u))); line-height: .924; text-transform: uppercase; }
.cr-hero__title em { font-style: normal; color: var(--dark); }
.cr-hero__text { max-width: 472px; margin-top: 16px; font-size: 15px; line-height: 24px; }
.cr-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
/* the art: the team in an arch, two stickers and the sign, placed as the Figma places them */
.cr-hero__art { position: relative; width: calc(388 * var(--a)); height: calc(441 * var(--a)); margin-top: calc(19 * var(--a)); }
.cr-hero__arch { position: absolute; left: calc(54 * var(--a)); top: 0; width: calc(310 * var(--a)); height: calc(388 * var(--a)); padding: calc(5.5 * var(--a)); border-radius: 999px 999px calc(24 * var(--a)) calc(24 * var(--a)); background: var(--cream); box-shadow: 0 20px 39px rgba(60, 0, 0, .45); }
.cr-hero__arch img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 999px 999px calc(19 * var(--a)) calc(19 * var(--a)); background: var(--maroon); }
.cr-hero__sticker { position: absolute; max-width: none; transform-origin: 0 0; filter: drop-shadow(2px 0 0 var(--cream)) drop-shadow(-2px 0 0 var(--cream)) drop-shadow(0 2px 0 var(--cream)) drop-shadow(0 -2px 0 var(--cream)) drop-shadow(0 11px 11px var(--shade)); }
.cr-hero__sticker--bucket { left: calc(-10 * var(--a)); top: calc(284 * var(--a)); width: calc(118 * var(--a)); rotate: -10deg; }
.cr-hero__sticker--popcorn { left: calc(313 * var(--a)); top: calc(23 * var(--a)); width: calc(94.5 * var(--a)); rotate: 12deg; }
.cr-sign { position: absolute; left: calc(72 * var(--a)); top: calc(375 * var(--a)); display: grid; place-items: center; width: calc(177 * var(--a)); height: calc(62 * var(--a)); padding: calc(10 * var(--a)); transform-origin: 0 0; rotate: 4deg; border-radius: calc(20 * var(--a)); background: var(--dark); box-shadow: 0 9px 19px rgba(60, 0, 0, .4); }
.cr-sign__lights { position: absolute; inset: calc(4.7 * var(--a)) calc(5.3 * var(--a)); width: calc(100% - 10.6 * var(--a)); height: calc(100% - 9.4 * var(--a)); overflow: visible; fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .79 12.6; }
.cr-sign span { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: calc(12 * var(--a)); background: var(--cream); font-family: var(--font-condensed); font-size: max(17px, calc(27 * var(--a))); line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--red); }
.cr-check { position: absolute; left: 0; right: 0; bottom: 0; display: flex; overflow: hidden; height: 24px; }
.cr-check img { flex: none; width: auto; max-width: none; height: 100% !important; }

/* ---------- 2. Why SS ---------- */
.cr-why { padding: calc(71 * var(--u)) var(--gutter) calc(71 * var(--u)); background: var(--cream); }
.cr-why__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(16 * var(--u)); margin-top: calc(41 * var(--u)); }
/* a card turns maroon and tips a little under a pointer, as the Figma's hover does */
.cr-why__card { display: flex; flex-direction: column; min-height: calc(231 * var(--u)); padding: calc(24 * var(--u)) calc(20 * var(--u)) calc(25 * var(--u)); border-radius: max(16px, calc(22 * var(--u))); background: var(--panel); transition: background-color .3s var(--tap), rotate .3s var(--tap); }
.cr-why__num { font-family: var(--font-condensed); font-size: max(48px, calc(66 * var(--u))); line-height: .9; color: var(--red); transition: color .3s var(--tap); }
.cr-why__card h3 { margin-top: auto; padding-top: 20px; font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 20px; color: var(--maroon); transition: color .3s var(--tap); }
.cr-why__card p { margin-top: 10px; font-size: 13px; line-height: 19px; color: var(--ink-copy); transition: color .3s var(--tap); }
@media (hover: hover) {
  .cr-why__card:hover { rotate: -1deg; background: var(--maroon); }
  .cr-why__card:hover .cr-why__num { color: var(--gold-light); }
  .cr-why__card:hover :is(h3, p) { color: var(--cream); }
}

/* ---------- 3. The teams ---------- */
.cr-teams { padding: calc(72 * var(--u)) var(--gutter); background: var(--maroon); color: var(--cream); }
.cr-teams__grid { display: grid; grid-template-columns: calc(410 * var(--u)) minmax(0, 1fr); grid-template-areas: "head stage" "list stage"; column-gap: calc(63 * var(--u)); align-items: start; }
.cr-teams .cr-head { grid-area: head; }
.cr-teams .cr-h2, .cr-teams .cr-lead { color: var(--cream); }
.cr-teams__list { grid-area: list; display: grid; gap: calc(10 * var(--u)); margin-top: calc(27 * var(--u)); }
/* each team is a button: the one chosen (pointed at, tabbed to or pressed) is cream and steps out */
.cr-team { display: grid; grid-template-columns: max(36px, calc(48 * var(--u))) minmax(0, 1fr) auto; column-gap: 14px; align-items: center; width: 100%; min-height: calc(86 * var(--u)); padding: 13px 17px 14px 22px; border-radius: 16px; background: rgba(255, 243, 224, .08); text-align: left; color: var(--cream); transition: background-color .3s var(--tap), color .3s var(--tap), box-shadow .3s var(--tap), translate .3s var(--tap); }
.cr-team:hover { background: rgba(255, 243, 224, .16); }
.cr-team[aria-pressed="true"] { translate: 10px 0; background: var(--cream); color: var(--maroon); box-shadow: 0 11px 22px rgba(0, 0, 0, .3); }
.cr-team__num { font-family: var(--font-condensed); font-size: max(26px, calc(31.5 * var(--u))); line-height: 1; color: var(--gold-light); }
.cr-team[aria-pressed="true"] .cr-team__num, .cr-team[aria-pressed="true"] .icon { color: var(--red); }
.cr-team__words { display: flex; flex-direction: column; gap: 3px; }
.cr-team__words strong { font-family: var(--font-display); font-weight: 400; font-size: 17px; line-height: 20px; font-synthesis: none; }
.cr-team__words span { font-size: 13px; line-height: 17px; opacity: .9; }
.cr-team .icon { font-size: 17px; }
.cr-teams__stage { grid-area: stage; position: relative; justify-self: start; width: calc(394 * var(--u)); margin-top: calc(62 * var(--u)); rotate: 1deg; }
.cr-teams__arch { position: relative; aspect-ratio: 394 / 482; overflow: hidden; border: 4.7px solid var(--cream); border-radius: 999px 999px 24px 24px; background: var(--dark); box-shadow: 0 19px 35px rgba(0, 0, 0, .45); }
.cr-teams__photo { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity .35s var(--tap), visibility .35s; }
.cr-teams__photo[data-on] { opacity: 1; visibility: visible; }
.cr-teams__cap { position: absolute; left: 50%; bottom: -16px; display: flex; align-items: center; gap: 9px; padding: 7px 19px 7px 7px; translate: -50% 0; rotate: -1deg; border-radius: var(--radius-pill); background: var(--cream); white-space: nowrap; box-shadow: 0 8px 19px rgba(0, 0, 0, .3); }
.cr-teams__cap b { display: grid; place-items: center; width: 30px; height: 30px; padding-top: 2px; border-radius: 50%; background: var(--red); font-family: var(--font-condensed); font-weight: 400; font-size: 18px; line-height: 17px; color: var(--cream); }
.cr-teams__cap span { font-family: var(--font-serif); font-size: 13px; line-height: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--maroon); }
.cr-diamonds { display: flex; overflow: hidden; height: clamp(22px, calc(32 * var(--u, 1px)), 32px); background: var(--cream); }
.cr-diamonds img { flex: none; width: auto; max-width: none; height: 100% !important; }

/* ---------- 4. Open roles ---------- */
.cr-roles { padding: calc(67 * var(--u)) var(--gutter) calc(70 * var(--u)); background: var(--cream); }
.cr-roles__bar { display: flex; flex-direction: column; gap: 11px; padding-top: 27px; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chip { position: relative; min-height: 34px; padding: 7px 16px; border: 1.6px solid var(--maroon); border-radius: var(--radius-pill); font-weight: 500; font-size: 12px; line-height: 15px; color: var(--maroon); transition: background-color .3s var(--tap), color .3s var(--tap); }
.cr-chip::after { content: ""; position: absolute; inset: -5px -4px; }
.cr-chip:hover { background: rgba(126, 13, 18, .08); }
.cr-chip[aria-pressed="true"] { background: var(--maroon); color: var(--cream); }
.cr-where select { width: 100%; min-height: 49px; padding: 8px 36px 8px 17px; border: .5px solid var(--maroon); border-radius: var(--radius-pill); background-color: var(--white); font: 500 12px/15px var(--font-text); color: var(--maroon); }
.cr-roles__count { margin-top: 12px; padding: 12px 0 0 14px; font-family: var(--font-serif); font-size: 15px; line-height: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.cr-roles__list { display: grid; gap: 11px; margin-top: 13px; }
.cr-role { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 109px; padding: 17px 20px; border-radius: 16px; background: var(--white); transition: box-shadow .3s var(--tap); }
.cr-role[hidden] { display: none; }
.cr-role:hover { box-shadow: 0 14px 28px rgba(126, 13, 18, .14); }
.cr-role h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 21px; color: var(--maroon); font-synthesis: none; }
.cr-role p { margin-top: 3px; font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.cr-role__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.cr-role__tags li { padding: 2px 9px; border-radius: var(--radius-pill); background: var(--panel); font-weight: 500; font-size: 12px; line-height: 15px; color: var(--maroon); }
.cr-role__tags .cr-role__team { background: var(--maroon); color: var(--cream); }
.cr-apply { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 19px; border-radius: var(--radius-pill); background: var(--red); font-weight: 500; font-size: 13px; line-height: 16px; color: var(--cream); transition: box-shadow .3s var(--tap); }
.cr-apply .icon { font-size: 15px; }
.cr-apply:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, .28); }
.cr-apply--cream { background: var(--cream); color: var(--maroon); }
.cr-cv { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 11px; padding: 17px 20px; border: 1.6px solid var(--maroon); border-radius: 16px; background: var(--maroon); color: var(--cream); transition: border-color .3s var(--tap), box-shadow .3s var(--tap); }
.cr-cv:hover { border-color: var(--gold-light); box-shadow: 0 14px 28px rgba(126, 13, 18, .14); }
.cr-cv h3 { font-family: var(--font-serif); font-weight: 400; font-size: 19px; line-height: 21px; }
.cr-cv p { margin-top: 3px; font-size: 13px; line-height: 20px; }

/* ---------- 5. How hiring works ---------- */
.cr-process { padding: calc(72 * var(--u)) var(--gutter); background: var(--panel); }
.cr-process .cr-head { gap: 13px; }
.cr-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; margin-top: calc(44 * var(--u)); }
/* the red line runs through the four numbers */
.cr-steps::before { content: ""; position: absolute; left: 8%; width: 84.1%; top: 27px; height: 1.6px; background: var(--red); }
.cr-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cr-step__num { display: grid; place-items: center; width: 55px; height: 55px; padding-top: 3px; border: 3.9px solid var(--panel); border-radius: 50%; background: var(--red); font-family: var(--font-condensed); font-size: 35px; line-height: 1; color: var(--cream); }
.cr-step h3 { margin-top: 13px; font-family: var(--font-serif); font-weight: 400; font-size: 17px; line-height: 19px; color: var(--maroon); }
.cr-step p { max-width: 189px; margin-top: 7px; font-size: 12px; line-height: 20px; color: var(--ink-copy); }

/* ---------- 6. Apply ---------- */
.cr-apply-section { padding: calc(71 * var(--u)) var(--gutter) calc(73 * var(--u)); background: var(--cream); }
.cr-apply-grid { display: grid; grid-template-columns: calc(336 * var(--u)) minmax(0, 1fr); column-gap: calc(45 * var(--u)); align-items: start; }
.cr-lead--apply { padding-top: 15px; max-width: 336px; }
.cr-note { margin-top: 14px; max-width: 336px; font-size: 12px; line-height: 18px; color: var(--ink-note); }
.cr-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 15px; padding: 28px; border: 1.5px solid var(--maroon); border-radius: 25px; background: var(--form-ground); }
.cr-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cr-field--wide { grid-column: 1 / -1; }
.cr-field > span { font-weight: 600; font-size: 12px; line-height: 14px; color: var(--maroon); }
.cr-field small { font-weight: 400; font-size: inherit; }
.cr-field :is(input, select, textarea) { width: 100%; min-height: 45px; padding: 10px 16px; border: 1.6px solid var(--field-line); border-radius: 13px; background-color: var(--cream); font: 400 13px/21px var(--font-text); color: var(--ink-copy); }
.cr-field select { min-height: 42px; padding-right: 36px; }
.cr-field textarea { min-height: 87px; resize: vertical; }
/* the browser's grey placeholder is 4.2:1 on the field; this is 7:1 */
.cr-field ::placeholder { color: var(--ink-note); opacity: 1; }
.cr-field input[type="file"] { padding: 8px 11px; background: var(--white); }
.cr-field input[type="file"]::file-selector-button { margin-right: 8px; padding: 1px 6px; border: 1px solid #767676; border-radius: 5px; background: #EFEFEF; font: 13px/17px Arial, sans-serif; color: #000; }
.cr-send { grid-column: 1 / -1; min-height: 44px; margin-top: 2px; border-radius: var(--radius-pill); background: var(--red); font-weight: 500; font-size: 13.5px; line-height: 17px; color: var(--cream); transition: background-color .3s var(--tap), box-shadow .3s var(--tap); }
.cr-send:hover { background: #C8061F; box-shadow: 0 8px 17px rgba(0, 0, 0, .28); }
/* an empty status line takes no room, and is still there to be announced */
.cr-form__status { grid-column: 1 / -1; font-size: 13px; line-height: 20px; color: var(--maroon); }
.cr-form__status:empty { position: absolute; }

/* ---------- Narrower windows ---------- */
@container page (max-width: 1100px) {
  .cr-wrap { width: min(100%, 885px); }
  .cr-hero__inner { --a: min(1px, calc(100cqw / 1290)); width: min(100%, 886px); }
  .cr-teams__grid { grid-template-columns: minmax(0, 1fr) min(42%, 394px); column-gap: 40px; }
  .cr-teams__stage { width: 100%; }
  .cr-why__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cr-why__card { min-height: 0; padding: 22px 20px; }
}
@container page (max-width: 900px) {
  .cr-hero { min-height: 0; padding-top: 236px; padding-bottom: 88px; }
  .cr-ribbons { top: 96px; height: 96px; }
  .cr-ribbon--light { top: 48px; }
  /* the art goes under the words */
  .cr-hero__inner { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .cr-hero__inner { --a: min(1px, calc((100cqw - 2 * var(--gutter)) / 420)); }
  .cr-hero__art { justify-self: center; margin-top: 0; }
  .cr-why { padding-top: 72px; padding-bottom: 72px; }
  .cr-why__cards { margin-top: 32px; }
  /* the photo leads the teams, so a choice shows at once */
  .cr-teams__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "list"; }
  .cr-teams__stage { justify-self: center; width: min(100%, 360px); margin-top: 36px; }
  .cr-teams__list { margin-top: 44px; }
  .cr-team[aria-pressed="true"] { translate: 0 0; }
  .cr-roles { padding-top: 72px; padding-bottom: 72px; }
  .cr-process { padding-top: 72px; padding-bottom: 72px; }
  .cr-apply-section { padding-top: 72px; padding-bottom: 72px; }
  .cr-apply-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .cr-lead--apply, .cr-note { max-width: 560px; }
}
@container page (max-width: 760px) {
  .cr-role, .cr-cv { flex-direction: column; align-items: flex-start; }
  .cr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .cr-steps::before { display: none; }
  .cr-hero__title { font-size: clamp(56px, 16cqw, 96px); }
}
@container page (max-width: 480px) {
  .cr-hero__actions .btn-compact { padding-inline: 18px; }
  .cr-why__cards { grid-template-columns: minmax(0, 1fr); }
  .cr-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  /* phones zoom in on fields under 16 px */
  .cr-field :is(input, select, textarea), .cr-where select { font-size: 16px; }
}

/* ==========================================================================
   Motion (see the motion notes in site.css: everything hangs off data-motion="on")
   ========================================================================== */

/* The opening. Its two ribbons slide in along themselves, one from each side, and then run without end, one each
   way, while the opening is on screen (ribbon-run is in site.css): a track holds its words eight times over and
   runs the length of one, so where it starts again cannot be seen. The team's photo is there from the first
   frame, in low light (lit). The stickers are placed by their top left corners, so each is carried a fifth of its
   size across as it pops: that keeps its middle where it is while it grows. The sign swings up on its corner. */
[data-motion="on"] .cr-ribbon--dark { --from-x: -8%; }
[data-motion="on"] .cr-ribbon--light { --from-x: 8%; }
.cr-ribbon__track { --run: -12.5%; }
[data-motion="on"] .cr-hero[data-live] .cr-ribbon__track { animation: ribbon-run 11s linear infinite; }
[data-motion="on"] .cr-hero[data-live] .cr-ribbon--light .cr-ribbon__track { animation-direction: reverse; }
[data-motion="on"] .cr-hero__sticker { --from-x: 20%; --from-y: 20%; }
[data-motion="on"] .cr-sign { --from-y: 40%; --from-turn: -6deg; }

/* Further down: the arch of the teams tips into its tilt from its own side, and the red line is drawn through the
   four steps as they arrive, each number landing on it in turn. */
[data-motion="on"] .cr-teams__stage { --from-x: 6%; --from-y: 6%; --from-turn: 4deg; }
@container page (max-width: 900px) {
  [data-motion="on"] .cr-teams__stage { --from-x: 0px; --from-y: 10%; }
}
.cr-steps::before { transform-origin: 0 50%; }
@media screen {
  [data-motion="on"] .cr-steps:not(:has(.cr-step[data-seen]))::before { transform: scaleX(0); }
}
[data-motion="on"] .cr-steps:has(.cr-step[data-seen]:not([data-rested]))::before { animation: draw var(--dur-enter) var(--ease-out) calc(var(--scene-wait, 0ms) + var(--stagger)) backwards; }
[data-motion="on"] .cr-step[data-seen]:not([data-rested]) .cr-step__num { animation: grow var(--dur-short) var(--ease-overshoot) calc(var(--reveal-start) + var(--step) * var(--stagger) + 150ms) backwards; }

/* ---------- Motion: hover and press ---------- */
.cr-field :is(input, select, textarea) { transition: border-color var(--dur-hover), box-shadow var(--dur-hover); }
@media (prefers-reduced-motion: no-preference) {
  .cr-chip { transition: background-color .3s var(--tap), color .3s var(--tap), transform var(--dur-hover) var(--ease-out); }
  .cr-apply { transition: box-shadow .3s var(--tap), transform var(--dur-hover) var(--ease-out); }
  .cr-send { transition: background-color .3s var(--tap), box-shadow .3s var(--tap), transform var(--dur-hover) var(--ease-out); }
  .cr-team { transition: background-color .3s var(--tap), color .3s var(--tap), box-shadow .3s var(--tap), translate .3s var(--tap), scale var(--dur-hover) var(--ease-out); }
  .cr-apply .icon, .cr-team .icon { transition: transform var(--dur-hover) var(--ease-out); }
  .cr-chip:active { transform: scale(.97); transition-duration: var(--dur-press); }
  .cr-team:active { scale: .985; transition-duration: .3s, .3s, .3s, .3s, var(--dur-press); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cr-apply:hover, .cr-send:hover { transform: translateY(-2px); }
  .cr-apply:hover .icon, .cr-team:hover .icon { transform: translateX(4px); }
}
/* after the hover rules, so a press wins while the pointer is still over the button */
@media (prefers-reduced-motion: no-preference) {
  .cr-apply:active, .cr-send:active { transform: scale(.97); transition-duration: var(--dur-press); }
}
