/*! nh-career-role-v1.css - Careers Template (Webflow CMS page "Careers Template", /careers/{slug}). Port of the role page parts of v3/src/styles/careers.css
 * (127.0.0.1:5175/careers/<slug>/): role hero, the role copy beside the "At a glance" card, the application card (Webflow form), other open roles.
 * Loads AFTER nh-directory-v1.css and nh-careers-v2.css (tokens, eyebrow, h2, hero, buttons, FAQ, CTA are shared with the Careers page).
 * Runtime: nh-career-role-runtime-v1.js (+ nh-careers-runtime-v2.js). Docs: claude/build-log-careers-role-template.md */
.cr-main{--cr-error:#a3261e;--cr-arrow-left:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='m11 6-6 6 6 6'/%3E%3C/svg%3E");--cr-arrow-right:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E");--cr-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.cr-h2-s{font-size:clamp(1.75rem,1.379rem + 1.524vw,2.75rem)}
.cr-main .cr-caption br{display:none}
@media (min-width:768px){.cr-main .cr-caption br{display:inline}}

/* Role hero: the walkway at dusk, shorter than the Careers hero */
.cr-hero-role{min-height:clamp(600px,55.5vw,800px)}
.cr-hero-role .cr-hero_img,.cr-hero-role .cr-hero_img-m{position:absolute;inset:0;object-position:center 46%;filter:saturate(.85)}
.cr-hero-role .cr-hero_inner{padding-top:clamp(96px,8.6vw,124px);padding-bottom:clamp(56px,6vw,88px)}
.cr-hero-role .cr-hero_title{font-size:clamp(2.5rem,1.479rem + 4.19vw,5.25rem)}
.cr-hero-role .cr-hero_lead{max-width:24em}
.cr-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-bottom:clamp(12px,1.8vw,26px);font-size:14px;line-height:1.3;color:#d4cec5;text-decoration:none;transition:color .3s ease}
.cr-back::before{content:'';flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--cr-arrow-left) center/contain no-repeat;mask:var(--cr-arrow-left) center/contain no-repeat;transition:transform .5s var(--cr-ease)}
.cr-back:hover{color:#fff}
.cr-back:hover::before{transform:translateX(-4px)}
.cr-back.cr-back-ink{margin:14px 0 0 clamp(24px,2.2vw,32px);color:var(--cr-muted)}
.cr-back.cr-back-ink:hover{color:var(--cr-ink)}
.cr-hero_tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.cr-hero_tag{margin:0;padding:8px 14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.05);font-size:13px;line-height:1.2;color:#d4d0c6}
.cr-hero_tag-exp::after{content:" of experience"}
.cr-hero_tag.w-dyn-bind-empty{display:none}
@media (prefers-reduced-motion:no-preference){
.cr-hero .cr-back,.cr-hero_tags{animation:cr-fade-up 1s var(--cr-ease) both}
.cr-hero .cr-back{animation-delay:.05s}
.cr-hero_tags{animation-delay:.85s}
}

/* The role's copy (CMS rich text) beside the "At a glance" card. The rich text fields carry their own h2 (About the Role, Key Responsibilities,
   Requirements); the page shows its own two-voice headings instead, so those are hidden. */
.cr-role_grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,370px);align-items:start;gap:clamp(40px,7.5vw,108px)}
.cr-role_block+.cr-role_block{margin-top:clamp(36px,3.9vw,56px);padding-top:clamp(36px,3.9vw,56px);border-top:1px solid var(--cr-line)}
.cr-role_block .cr-eyebrow{margin-bottom:clamp(20px,2.1vw,30px)}
.cr-rich :is(h1,h2,h3,h4){display:none}
.cr-rich :is(p,ul,ol){margin:0}
.cr-rich p+p{margin-top:1em}
.cr-role_about{max-width:41em;margin-top:22px;font-size:clamp(1rem,.954rem + .19vw,1.125rem);line-height:1.55;color:var(--cr-muted)}
.cr-role_about p{font:inherit;line-height:inherit;color:inherit}
.cr-duties{margin-top:26px}
.cr-duties :is(ul,ol){padding:0;list-style:none;border-top:1px solid var(--cr-line);counter-reset:cr-duty}
.cr-duties li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:16px;margin:0;padding:18px 0;border-bottom:1px solid var(--cr-line);font-size:17px;line-height:1.45;color:#2c2b28;counter-increment:cr-duty}
.cr-duties li::before{content:counter(cr-duty,decimal-leading-zero);padding-top:4px;font-size:12px;font-variant-numeric:tabular-nums;color:#8a847b}
.cr-bring{margin-top:clamp(32px,3.3vw,48px);padding:clamp(24px,2.5vw,36px);border:1px solid #e6e2dc;border-radius:22px;background:#f1eee8}
.cr-checks{margin-top:22px}
.cr-checks :is(ul,ol){display:grid;gap:14px;padding:0;list-style:none}
.cr-checks li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:14px;margin:0;font-size:16px;line-height:1.45;color:#3b3935}
.cr-checks li::before{content:'';width:16px;height:16px;margin-top:3px;background:#8a7a6c;-webkit-mask:var(--cr-check) center/contain no-repeat;mask:var(--cr-check) center/contain no-repeat}

/* At a glance (sticky on desktop) */
.cr-glance{position:sticky;top:104px}
.cr-glance_card{padding:clamp(24px,2.2vw,32px);border-radius:24px;background:var(--cr-stone)}
.cr-glance_card .cr-eyebrow{margin-bottom:22px;font-size:11px}
.cr-glance_title{margin:0;padding-bottom:22px;font-family:var(--body-font);font-size:clamp(1.5rem,1.384rem + .476vw,1.8125rem);font-weight:500;line-height:1.12;letter-spacing:-.035em;color:var(--cr-ink)}
.cr-glance_row{padding:16px 0;border-top:1px solid #d9d1c6}
.cr-glance_label{margin:0 0 6px;font-size:12px;line-height:1.3;color:#7b756e}
.cr-glance_value{margin:0;font-size:17px;line-height:1.3;color:var(--cr-ink)}
.cr-glance_action{margin-top:12px}
.cr-glance_action .gl-button,.cr-form_submit .gl-button{display:flex;width:100%;min-height:52px;padding:14px 24px;gap:20px;font-size:15px;font-weight:500;white-space:nowrap}
.cr-glance_action .gl-button .gl-button_icon,.cr-form_submit .gl-button .gl-button_icon{width:18px;height:18px;transition:transform .5s var(--cr-ease)}
.cr-glance_action .gl-button .gl-button_icon svg,.cr-form_submit .gl-button .gl-button_icon svg{width:18px;height:18px}
.cr-glance_action .gl-button:hover .gl-button_icon,.cr-form_submit .gl-button:hover .gl-button_icon{transform:translateX(4px)}
.cr-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px;padding-top:18px;border-top:1px solid #d9d1c6}
.cr-share_label{margin:0 auto 0 0;font-size:13px;line-height:1.3;color:#6f675e}
.cr-share_list{display:flex;gap:8px}
.cr-share_button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:1px solid #cfc6ba;border-radius:50%;background:transparent;color:#4b4944;cursor:pointer;text-decoration:none;transition:background-color .35s ease,border-color .35s ease,color .35s ease,transform .5s var(--cr-ease)}
.cr-share_button:hover{border-color:var(--cr-ink);background:var(--cr-ink);color:#fff;transform:translateY(-2px)}
.cr-share_button:focus-visible{outline:2px solid var(--cr-ink);outline-offset:3px}
.cr-share_status{flex-basis:100%;margin:0;font-size:12px;line-height:1.4;color:#6f675e}
.cr-share_status:empty{display:none}

/* The application card (stone section): photo + the Webflow form */
.cr-apply{background:var(--cr-stone)}
.cr-apply .cr-head .cr-body{max-width:640px}
.cr-apply_card{display:grid;grid-template-columns:minmax(0,37fr) minmax(0,63fr);overflow:hidden;border-radius:26px;background:var(--cr-canvas);box-shadow:0 40px 90px -50px rgba(72,54,36,.35)}
.cr-apply_photo{position:relative;overflow:hidden;min-height:100%;margin:0;background:#2a2a27}
.cr-apply_img,.cr-apply_img-m{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;filter:brightness(.78) saturate(.55)}
.cr-apply_img-m{display:none!important}
.cr-apply_photo::after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.cr-apply_caption{position:absolute;left:clamp(22px,2.3vw,34px);right:clamp(22px,2.3vw,34px);bottom:clamp(24px,2.5vw,36px);z-index:1}
.cr-caption{margin:0;font-family:var(--body-font);font-size:clamp(1.625rem,1.44rem + .76vw,2.125rem);font-weight:500;line-height:1.1;letter-spacing:-.035em;color:var(--cr-on-dark)}
.cr-caption .cr-serif{color:#e5d9cc}
.cr-apply_note{max-width:320px;margin:14px 0 0;font-size:14px;line-height:1.5;color:#d6d1c5}
.cr-form-block{margin:0}
.cr-form{display:grid;align-content:start;gap:20px;margin:0;padding:clamp(24px,3.4vw,48px)}
.cr-form_title{margin:0;font-family:var(--body-font);font-weight:500;font-size:clamp(1.5rem,1.361rem + .571vw,1.875rem);line-height:1.15;letter-spacing:-.03em;color:var(--cr-ink)}
.cr-form_meta{margin:-12px 0 0;font-size:13px;line-height:1.4;color:var(--cr-faint)}
.cr-form_meta span+span::before{content:" · "}
.cr-form_row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cr-field{margin:0}
.cr-field label{display:block;margin:0 0 8px;font-family:var(--body-font);font-size:13px;line-height:1.3;font-weight:500;color:#2c2b28}
.cr-field_mark{font:inherit;color:inherit}
.cr-field_note{font-size:12px;font-weight:400;color:#8a847b}
.cr-field input{display:block;width:100%;height:52px;margin:0;padding:0 16px;border:1px solid #e0dbd3;border-radius:15px;background:#f4f2ee;font-family:var(--form-font,var(--body-font));font-size:16px;font-weight:400;line-height:normal;color:var(--cr-ink);box-shadow:none;transition:border-color .25s ease,background-color .25s ease,box-shadow .25s ease}
.cr-field input::placeholder{color:#a39d93;opacity:1}
.cr-field input:hover{border-color:#cbc4b9}
.cr-field input:focus{outline:none;border-color:var(--cr-ink);background:#fff;box-shadow:0 0 0 4px rgba(16,16,16,.07)}
.cr-field input[readonly]{border-color:#e3ded6;background:#ebe7e0;color:var(--cr-muted);cursor:default}
.cr-field input[readonly]:focus{border-color:#b9b1a5;background:#ebe7e0;box-shadow:none}
.cr-field input[aria-invalid]{border-color:var(--cr-error)}
.cr-field input[aria-invalid]:focus{box-shadow:0 0 0 4px rgba(163,38,30,.12)}
.cr-field_hint{margin:8px 0 0;font-size:12px;line-height:1.4;color:#8a847b}
.cr-field_error{margin:8px 0 0;font-size:13px;line-height:1.4;color:var(--cr-error)}
.cr-field_error[hidden]{display:none}
.cr-form_submit{margin-top:4px}
.cr-form_native{display:none!important}
.cr-form.is-loading .cr-form_submit .gl-button{opacity:.72;cursor:progress}
.cr-form.is-loading .cr-form_submit .gl-button_icon{animation:cr-nudge .9s ease-in-out infinite}
@keyframes cr-nudge{50%{transform:translateX(6px)}}
.cr-form_required{margin:0;font-size:12px;line-height:1.4;text-align:center;color:#8a847b}
.cr-form-block .w-form-done{display:none;padding:clamp(24px,3.4vw,48px);border:0;background:none;font-size:16px;line-height:1.55;text-align:center;color:#3b3935}
.cr-form-block .w-form-fail{margin:0 clamp(24px,3.4vw,48px) clamp(24px,3.4vw,48px);padding:12px 16px;border-radius:12px;background:rgba(163,38,30,.08);font-size:14px;line-height:1.5;text-align:center;color:var(--cr-error)}

/* Other open roles (CMS Collection List of Careers; the runtime drops the role being viewed) */
.cr-more{padding-bottom:0}
.cr-more_inner{padding-bottom:var(--cr-space);border-bottom:1px solid var(--cr-line)}
.cr-more .cr-eyebrow{margin-bottom:clamp(20px,2.1vw,30px)}
.cr-more_head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:clamp(24px,2.5vw,36px)}
.cr-more_all{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;font-weight:500;line-height:1.3;white-space:nowrap;color:var(--cr-ink);text-decoration:none}
.cr-more_all::after{content:'';flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--cr-arrow-right) center/contain no-repeat;mask:var(--cr-arrow-right) center/contain no-repeat;transition:transform .5s var(--cr-ease)}
.cr-more_all:hover::after{transform:translateX(4px)}
.cr-more_grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cr-more_item{min-width:0}
.cr-card{position:relative;display:grid;align-content:start;gap:10px;height:100%;padding:26px 76px 28px 28px;border:1px solid #e6e2dc;border-radius:18px;background:#f1eee8;color:var(--cr-ink);text-decoration:none;transition:background-color .4s ease,border-color .4s ease,box-shadow .6s ease,transform .7s var(--cr-ease)}
@media (hover:hover){.cr-card:hover{border-color:#d8d3cc;background:#fff;box-shadow:0 28px 56px -36px rgba(72,54,36,.4);transform:translateY(-4px)}}
.cr-card:focus-visible{outline:2px solid var(--cr-ink);outline-offset:3px}
.cr-card_meta{font-size:12px;line-height:1.3;color:#7b756e}
.cr-card_meta span+span::before{content:" · "}
.cr-card_title{font-size:clamp(1.25rem,1.157rem + .381vw,1.5rem);font-weight:500;line-height:1.15;letter-spacing:-.025em}
.cr-card_body{font-size:15px;line-height:1.45;color:var(--cr-muted)}
.cr-card_arrow{position:absolute;top:50%;right:28px;width:18px;height:18px;translate:0 -50%;background:var(--cr-muted);-webkit-mask:var(--cr-arrow-right) center/contain no-repeat;mask:var(--cr-arrow-right) center/contain no-repeat;transition:transform .6s var(--cr-ease),background-color .3s ease}
.cr-card:hover .cr-card_arrow{transform:translateX(5px);background:var(--cr-ink)}
.cr-more .w-dyn-bind-empty{display:none}

/* Responsive (the reference's breakpoints) */
@media (max-width:1023px){
.cr-role_grid{grid-template-columns:1fr;gap:40px}
.cr-glance{position:static;order:-1}
.cr-share_button{width:44px;height:44px}
}
@media (max-width:899px){
.cr-apply_card{grid-template-columns:1fr}
.cr-apply_photo{min-height:0;aspect-ratio:16/10}
.cr-apply_img{display:none!important}
.cr-apply_img-m{display:block!important}
}
@media (max-width:767px){
.cr-hero-role{min-height:max(600px,min(92svh,800px))}
.cr-hero-role .cr-hero_img,.cr-hero-role .cr-hero_img-m{object-position:center}
.cr-hero-role .cr-hero_inner{justify-content:flex-end;padding-top:112px;padding-bottom:calc(28px + var(--tab-bar-space,0px))}
.cr-duties li{grid-template-columns:26px minmax(0,1fr);gap:12px;padding:16px 0;font-size:16px}
.cr-back.cr-back-ink{margin-left:0}
.cr-more_head{flex-direction:column;align-items:flex-start;gap:4px}
.cr-more_grid{grid-template-columns:1fr;gap:12px}
.cr-card{padding:22px 60px 24px 22px}
.cr-card_arrow{right:22px}
}
@media (max-width:599px){.cr-form_row{grid-template-columns:1fr}}
@media (forced-colors:active){.cr-card,.cr-glance_card,.cr-bring,.cr-apply_card{border:1px solid CanvasText}}
