/* Theme */
:root { --bg:#ffffff; --surface:#f7f9fc; --text:#111827; --muted-text:#667085; --primary:#244a78; --primary-contrast:#ffffff; --accent:#3a6ea5; --border:#e5e7eb; --flow-left:#dbeafe; --flow-center:#ffffff; --flow-right:#e6eef7; --shadow:0 6px 24px rgba(16,24,40,.08); --shadow-hover:0 10px 30px rgba(16,24,40,.12); }
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth;overflow-y:scroll}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";color:var(--text);background:linear-gradient(90deg,var(--flow-left) 0%,var(--flow-center) 40%,var(--flow-right) 100%);line-height:1.75;font-size:clamp(16px,1.05vw+14px,18.5px)}
a{transition:color .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease, transform .15s ease}
img{max-width:100%;display:block;height:auto}
.container{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}
.section{padding:72px 0}
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-3.grid-city{grid-template-columns:2fr 1fr 1fr}
@media (max-width:960px){.grid-3{grid-template-columns:1fr 1fr}}
@media (max-width:960px){.grid-3.grid-city{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.grid-3{grid-template-columns:1fr}}
@media (max-width:640px){.grid-3.grid-city{grid-template-columns:1fr}}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--border);box-shadow:0 1px 0 rgba(16,24,40,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.site-nav{flex:1;display:flex;justify-content:center}
.logo{font-weight:700;letter-spacing:.2px;color:var(--primary);text-decoration:none;font-size:20px}
.brand{display:flex;flex-direction:column;line-height:1}
.brand-name{font-size:20px;font-weight:700;letter-spacing:.2px;color:var(--primary)}
.brand-tagline{margin-top:2px;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#475569}
.site-nav ul{list-style:none;display:flex;gap:0;margin:0;padding:0;align-items:center;justify-content:space-between;width:100%;max-width:760px}
.site-nav > ul > li{flex:1 1 0;display:flex;justify-content:center}
.site-nav > ul > li > a{display:block;text-align:center;width:100%}
.site-nav a{position:relative;color:var(--text);text-decoration:none;padding:10px 14px;border-radius:8px;font-size:15.5px;min-height:44px;display:flex;align-items:center}
.site-nav a:hover{background:var(--surface)}
.site-nav a.active{background:transparent;color:var(--primary)}
.site-nav a.active:after{content:"";position:absolute;left:10px;right:10px;bottom:2px;height:2px;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:2px}
.site-nav li{position:relative}
.site-nav .has-dropdown > .dropdown-toggle{display:none;width:44px;height:44px;margin-left:6px;background:transparent;border:0;cursor:pointer}
.site-nav .has-dropdown > .dropdown-toggle::before{content:"";display:inline-block;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--text);transform:translateY(2px);transition:transform .2s ease}
.site-nav .dropdown{position:absolute;left:0;top:100%;min-width:220px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:10px;display:none;z-index:60}
.site-nav .has-dropdown:hover > .dropdown{display:block}
.site-nav .dropdown a{display:block;padding:10px 12px;border-radius:8px;min-height:44px;display:flex;align-items:center}
.site-nav .dropdown a:hover{background:var(--surface)}
.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle .nav-toggle-bar{display:block;width:24px;height:2px;background:var(--text);margin:5px 0}
@media (max-width:820px){
  /* Header layout: left hamburger, absolutely centered logo, right actions */
  .header-inner{position:relative;display:flex;align-items:center;justify-content:space-between;height:56px}
  .nav-toggle{display:inline-block}
  .site-header .logo{position:absolute;left:50%;transform:translateX(-50%);margin:0}
  .user-menu,.header-cta{margin-left:auto}
  /* Mobile nav panel */
  .site-nav{position:absolute;left:0;right:0;top:56px;background:#fff;border-bottom:1px solid var(--border);display:none;justify-content:flex-start}
  .site-nav.open{display:block}
  .site-nav ul{flex-direction:column;padding:10px 18px;gap:0;align-items:stretch;max-width:none;justify-content:flex-start}
  .site-nav > ul > li{flex:0 0 auto;justify-content:flex-start;width:100%;border-bottom:1px solid var(--border)}
  .site-nav > ul > li:last-child{border-bottom:0}
  .site-nav a{padding:12px 12px;text-align:left;width:100%;min-height:44px;justify-content:flex-start}
  .site-nav a.active:after{display:none}
  /* Parent row: grid so the dropdown spans full width on next row */
  .site-nav .has-dropdown{display:grid;grid-template-columns:1fr auto;align-items:center}
  .site-nav .has-dropdown > a{grid-column:1/2}
  .site-nav .has-dropdown > .dropdown-toggle{grid-column:2/3;margin-left:8px}
  /* Children stacked under parent */
  .site-nav .dropdown{grid-column:1/-1;position:static;display:none;border:0;box-shadow:none;background:transparent;border-radius:0;padding:6px 0 10px 16px;margin:0 0 8px 0;border-left:2px solid #e5e7eb}
  .site-nav .has-dropdown.open > .dropdown{display:block}
  .site-nav .dropdown li{list-style:none}
  .site-nav .dropdown a{padding:10px 2px;font-size:16px;border-radius:8px;width:100%;text-align:left}
}
@media (max-width:820px){.site-nav .dropdown{position:static;display:none;border:0;box-shadow:none;padding:0;margin-left:12px}.site-nav .has-dropdown.open > .dropdown{display:block}.site-nav .has-dropdown.open > .dropdown-toggle::before{transform:rotate(180deg)}}
.hero{position:relative;padding:118px 0 88px;overflow:hidden}
.hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg, rgba(36,74,120,.14), rgba(255,255,255,0) 45%, rgba(58,110,165,.18)), linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,.96)), var(--hero-image);background-size:cover;background-position:center;z-index:-1}
.hero .hero-lcp{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero:after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;background:radial-gradient(ellipse at center, rgba(58,110,165,.18), rgba(58,110,165,0));filter:blur(10px);z-index:-1}
.hero h1{font-size:clamp(38px,3.2vw+28px,54px);line-height:1.12;margin:0 0 14px;letter-spacing:-.6px}
.hero p{max-width:780px;margin:0 0 18px;color:var(--muted-text);font-size:clamp(16px,.4vw+15px,19px)}
@media (max-width:640px){.hero h1{font-size:34px}}
.subnote{color:var(--muted-text);font-size:14px}
.hero-ctas{display:flex;gap:12px;margin:16px 0 8px;flex-wrap:wrap}
.highlight{background:linear-gradient(90deg,var(--primary),var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;border:1px solid var(--border);background:#fff;color:#334155;font-size:13px}
.checklist{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}
.checklist li{position:relative;padding-left:22px}
.checklist li:before{content:"";position:absolute;left:0;top:8px;width:12px;height:12px;border-radius:50%;background:linear-gradient(180deg,var(--primary),#1d3c64)}

/* Service feature tiles */
.feature-list{display:grid;grid-template-columns:1fr;gap:16px;margin-top:14px}
@media (max-width:820px){.feature-list{gap:14px}}
.feature{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#dee6f2,rgba(58,110,165,.30)) border-box;border:1px solid transparent;border-radius:14px;padding:16px;box-shadow:var(--shadow);min-height:96px;width:100%}
.feature:hover{transform:translateY(-1px);box-shadow:var(--shadow-hover)}
.feature-icon{flex:0 0 36px;height:36px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(180deg,var(--primary),#1d3c64);color:#fff;font-size:11px;font-weight:700;letter-spacing:.3px;box-shadow:0 2px 6px rgba(36,74,120,.25)}
.feature h4{margin:0 0 4px;font-size:17px;color:#0f172a}
.feature p{margin:0;color:var(--muted-text);font-size:15.5px}

/* Services cards refinements */
.services .card{padding:22px 22px 18px;overflow:hidden}
.services .card h3{margin-bottom:6px}
.services .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:960px){.services .grid-3{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.services .grid-3{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px;box-shadow:var(--shadow);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.card h3{margin-top:0}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:rgba(58,110,165,.25)}
.card--outline{position:relative;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#cdd5e1,rgba(58,110,165,.35)) border-box;border:1px solid transparent}
.case .case-media{border-radius:10px;overflow:hidden;border:1px solid var(--border)}
.case .case-body{padding-top:12px}
.kpis{display:flex;gap:16px;padding:0;margin:12px 0 0;list-style:none;color:var(--primary)}
.about-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center}
.about-media img{border-radius:12px;border:1px solid var(--border)}
.bullets{margin:12px 0 0;padding-left:18px}
 .bullets li{margin-bottom:6px}
/* Convert default content bullets to checkmarks within main content only */
.site-main ul:not(.checklist){list-style:none;padding:0;margin:12px 0 0}
.site-main ul:not(.checklist) li{position:relative;padding-left:26px;margin:0 0 8px}
.site-main ul:not(.checklist) li:before{content:"✔";position:absolute;left:0;top:2px;color:var(--text);font-weight:700;font-size:16px;line-height:1}

/* Careers page: use standard bullets, not checkmarks */
.careers-page ul{list-style:disc;padding-left:18px;margin:12px 0 0}
.careers-page ul li{position:static;padding-left:0;margin:0 0 8px}
.careers-page ul li:before{content:none}
@media (max-width:900px){.about-grid{grid-template-columns:1fr}}
.post img{border-top-left-radius:12px;border-top-right-radius:12px}
.post .post-body{padding-top:10px}
.careers-page{background:linear-gradient(90deg,var(--flow-left) 0%, var(--flow-center) 40%, var(--flow-right) 100%)}
.link{color:var(--primary);text-decoration:none}
.link:hover{text-decoration:underline}
.site-main .container{max-width:1120px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact-details{list-style:none;padding:0;margin:12px 0 0;color:var(--muted-text)}
.contact-form .form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.contact-form input,.contact-form textarea,.contact-form select{border:1px solid var(--border);border-radius:10px;padding:12px 12px;font:inherit;background-color:#fff}
.contact-form select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23244a78'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}
.contact-form select:hover{background-color:#fbfdff;border-color:#d6dae3}
.contact-form select:focus{outline:none;border-color:rgba(36,74,120,.6);box-shadow:0 0 0 3px rgba(36,74,120,.15)}

/* Custom brand select */
.brand-select{position:relative}
.brand-select-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:10px;background:#fff;padding:8px 12px;font:inherit;font-size:14px;line-height:1.4;cursor:pointer}
.brand-select-toggle:hover{background:#fbfdff;border-color:#d6dae3}
.brand-select-toggle:focus{outline:none;border-color:rgba(36,74,120,.6);box-shadow:0 0 0 3px rgba(36,74,120,.15)}
.brand-select.open .brand-select-toggle{border-color:rgba(36,74,120,.45)}
.brand-select-caret{width:16px;height:16px;border-radius:999px;display:inline-block;background:linear-gradient(180deg,var(--primary),#1d3c64);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat center/14px}
.brand-select-menu{position:absolute;left:0;right:0;top:100%;margin-top:4px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 10px 24px rgba(36,74,120,.12);padding:4px;display:none;max-height:240px;overflow:auto;z-index:80;font-size:14px}
.brand-select.open .brand-select-menu{display:block}
.brand-select .brand-filter{position:sticky;top:0;width:100%;padding:8px 10px;margin:0 0 4px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 2px 6px rgba(16,24,40,.06)}
.brand-option{padding:7px 10px;border-radius:8px;cursor:pointer;line-height:1.45}
.brand-option:hover{background:#f5f8fd}
.brand-option.selected{background:#eef3fb;color:#244a78;font-weight:600}
/* Remove global check bullets inside custom dropdown */
.brand-select-menu{list-style:none}
.site-main .brand-select-menu li{position:static;padding-left:10px}
.site-main .brand-select-menu li:before{content:none!important}

/* Address suggestions */
.suggest-menu{list-style:none;margin:6px 0 0;padding:4px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow);max-height:240px;overflow:auto}
.suggest-item{padding:8px 10px;border-radius:8px;cursor:pointer}
.suggest-item:hover{background:#f5f8fd}

/* Utilities */
.hidden{display:none!important}
.form-note{color:var(--muted-text);font-size:13px}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr}}
.form-narrow{max-width:640px;margin:16px auto}
.auth-narrow{max-width:480px;margin:16px auto}

/* Auth form spacing and header */
.auth-form .form-field{margin-bottom:16px}
.auth-form-title{margin:0 0 8px;text-align:center}
.auth-form-sub{margin:0 0 16px;text-align:center}
.auth-form .btn{margin-top:6px}
.auth-form .link-row{margin-top:14px}
.auth-form .link-row + .link-row{margin-top:12px}
.auth-divider{display:flex;align-items:center;gap:10px;color:#667085;font-size:14px;margin:16px 0 10px}
.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}

/* Inline alerts inside auth cards */
.alert{padding:10px 12px;border-radius:8px;margin:0 0 12px;font-size:14px}
.alert-error{border:1px solid #fecaca;background:#fff1f2;color:#b42318}
.alert-success{border:1px solid #c7e3d4;background:#f0fbf4;color:#146c2e}
.alert-info{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}

/* Stacks for settings page */
.stack-lg{display:grid;gap:24px}
.settings-wrap{max-width:720px;margin:0 auto}
.settings-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px}
.settings-card h3{margin:0 0 10px;font-size:19px;font-weight:700;letter-spacing:-.1px;color:#0f172a}
.filters-bar{padding:10px;border:1px solid var(--border);border-radius:12px}
.filters-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr .8fr auto;gap:8px;align-items:center}
.filter-item{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:6px 8px}
.filter-item input,.filter-item select{border:none;outline:none;width:100%;background:transparent}
.filter-icon{opacity:.7}
.filter-actions{display:flex;gap:8px;justify-content:flex-end}

.jobs-list{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.job-row{display:flex;justify-content:space-between;align-items:flex-start;border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff}
.job-title{font-weight:700;color:#0f172a;text-decoration:none}
.job-title:hover{text-decoration:underline}
.job-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.job-row-actions{display:flex;gap:8px}

/* Pagination */
.pagination{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin:16px 0}
.page-link{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border:1px solid var(--border);border-radius:10px;background:#fff;color:#0f172a;text-decoration:none;font-size:14px}
.page-link:hover{background:var(--surface)}
.page-link.active{background:linear-gradient(180deg,var(--primary),#1d3c64);border-color:transparent;color:#fff}
.page-link.disabled{opacity:.5;pointer-events:none}
/* Make the entire job tile feel clickable */
.job-row{cursor:pointer}

/* Two-line clamped snippet under each job title */
.job-snippet{margin-top:6px;color:#475569;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media (max-width: 900px){
  .filters-grid{grid-template-columns:1fr 1fr 1fr}
  .filter-actions{grid-column:1/-1}
  .job-row{flex-direction:column;gap:8px}
  .job-row-actions{justify-content:flex-start}
}

/* Rich text rendering on public job page */
.rich-text p{margin:0 0 10px}
.rich-text h2{font-size:22px;margin:18px 0 8px;color:#0f172a}
.rich-text h3{font-size:18px;margin:16px 0 6px;color:#0f172a}
/* Job view typography - smaller and elegant */
.job-view-page h2{font-size:26px;letter-spacing:-.2px}
.job-view-page h3{font-size:16px;font-weight:600}
.job-view-page .rich-text{font-size:15px;line-height:1.6}
.job-view-page .rich-text h2{font-size:20px}
.job-view-page .rich-text h3{font-size:16px}
/* Job quick summary */
.job-quick{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;margin-bottom:8px}
.job-quick div{font-size:14px}
@media (max-width: 720px){.job-quick{grid-template-columns:1fr}}
/* Job page: use standard bullets, not checkmarks */
.job-view-page ul{list-style:disc;padding-left:18px;margin:12px 0 0}
.job-view-page ul li{position:static;padding-left:0;margin:0 0 8px}
.job-view-page ul li:before{content:none}
/* Higher-specificity override to beat .site-main ul:not(.checklist) */
.site-main .job-view-page ul{list-style:disc!important;padding-left:18px!important;margin:12px 0 0!important}
.site-main .job-view-page ul li{position:static!important;padding-left:0!important;margin:0 0 8px!important}
.site-main .job-view-page ul li:before{content:none!important}
/* Sectioning and meta grid */
.job-card{padding:14px}
.job-section-title{font-size:16px;font-weight:700;margin:0 0 8px;color:#0f172a}
.job-block{margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}
.job-card .job-block:first-child{margin-top:0;padding-top:0;border-top:none}
.job-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
.job-meta-grid .kv{display:grid;grid-template-columns:140px 1fr;gap:8px}
.job-meta-grid .k{color:#475569;font-size:13px}
.job-meta-grid .v{font-size:15px;color:#0f172a}
@media (max-width: 720px){
  .job-meta-grid{grid-template-columns:1fr}
  .job-meta-grid .kv{grid-template-columns:120px 1fr}
}

/* Easy Apply: compact form */
.easy-apply-compact{font-size:14px}
.easy-apply-compact label{font-size:13px;font-weight:600}
.easy-apply-compact input,.easy-apply-compact select,.easy-apply-compact textarea{padding:6px 9px;font-size:13px}
.easy-apply-compact .form-actions{margin-top:8px}
.easy-apply-compact input:invalid,
.easy-apply-compact select:invalid,
.easy-apply-compact textarea:invalid{box-shadow:none;outline:0}
.easy-apply-compact .form-field{gap:3px;margin-bottom:10px}
.easy-apply-compact .field-error{font-size:11px;margin-top:2px}
.captcha-box{display:inline-block;padding:6px 10px;border:1px dashed var(--border);border-radius:8px;background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:700;letter-spacing:1px}
.field-error{color:#b42318;font-size:12px;margin-top:4px}
.invalid{border-color:#b42318 !important}

/* Prevent iOS Safari zoom on form focus by ensuring 16px+ font-size on mobile */
@media (max-width:820px){
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  textarea,
  select{font-size:16px}
  .easy-apply-compact input,
  .easy-apply-compact select,
  .easy-apply-compact textarea{font-size:16px}
}

/* Dark button for dashboard */
.btn-dark{background:#0b0b0b;color:#fff;border:1px solid #0b0b0b;border-radius:10px;padding:8px 14px}
.btn-dark:hover{background:#000}
.rich-text ul{padding-left:18px;margin:8px 0}
.rich-text ol{padding-left:20px;margin:8px 0}
.rich-text li{margin:4px 0}
.rich-text table{border-collapse:collapse;margin:10px 0}
.rich-text table td,.rich-text table th{border:1px solid var(--border);padding:6px 8px}

/* Simple modal for image crop */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;z-index:100;opacity:0;transition:opacity .18s ease}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-46%) scale(.98);background:#fff;border-radius:12px;box-shadow:var(--shadow-hover);width:min(720px,92vw);max-height:96vh;display:none;z-index:101;opacity:0;transition:opacity .18s ease, transform .18s ease}
.modal.open,.modal-backdrop.open{display:block}
.modal.open{opacity:1;transform:translate(-50%,-50%) scale(1)}
.modal-backdrop.open{opacity:1}
.modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:12px 16px;font-weight:600}
.modal-body{padding:16px 18px;max-height:calc(96vh - 56px);overflow:auto}
.checker{background-image:linear-gradient(45deg,#e5e7eb 25%,transparent 25%),linear-gradient(-45deg,#e5e7eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e7eb 75%),linear-gradient(-45deg,transparent 75%,#e5e7eb 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}
.crop-canvas{border:1px solid var(--border);border-radius:12px;background:#fff}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 16px 16px}
.btn-secondary{background:#fff;border-color:var(--border)}
.btn-danger{background:linear-gradient(180deg,#dc2626,#b91c1c);color:#fff;border-color:transparent}
.btn-danger:hover{filter:brightness(.98);box-shadow:0 10px 20px rgba(220,38,38,.25)}

/* Success modal styling */
.modal--success .modal-header{background:linear-gradient(135deg, #244a78, #3a6ea5);color:#fff;border-bottom:0;border-top-left-radius:12px;border-top-right-radius:12px}
.modal--success .modal-body{padding-top:20px}
.success-hero{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.success-icon{flex:0 0 44px;width:44px;height:44px;border-radius:999px;background:linear-gradient(180deg,#22c55e,#16a34a);display:grid;place-items:center;color:#fff;box-shadow:0 6px 16px rgba(34,197,94,.35)}
.success-title{margin:0;font-size:18px;font-weight:700;color:#0f172a}
.success-sub{margin:0;color:#475569}
.modal--success .modal-actions{justify-content:center}

.danger-card{border:1px solid #fecaca;background:#fff1f2;padding:16px;border-radius:12px}
.danger-title{color:#b42318;margin:0 0 8px;font-size:20px}
.danger-text{color:#b42318;margin:6px 0 12px}
.site-footer{border-top:1px solid var(--border);padding:56px 0;background:linear-gradient(90deg,var(--flow-left) 0%, var(--flow-right) 100%);font-size:14.5px;line-height:1.8}
.footer-grid{display:grid;grid-template-columns:1fr auto auto;gap:32px;align-items:start}
.footer-grid .muted{color:var(--muted-text);margin:10px 0 0}
.footer-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr}}
h3{font-size:22px;margin:0 0 8px}
.site-footer h3{font-size:15px;text-transform:uppercase;letter-spacing:.6px;color:#475569;margin:0 0 10px}
.site-footer a{color:#334155;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-bottom{border-top:1px solid var(--border);margin-top:18px;padding-top:16px}
.footer-grid{grid-template-columns:repeat(5,minmax(160px,1fr))}
@media (max-width:960px){.footer-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}}
@media (max-width:640px){.footer-grid{grid-template-columns:1fr 1fr}}
h1,h2,h3{color:var(--text)}
h2{font-size:clamp(28px,1.2vw+24px,36px);margin:0 0 14px;letter-spacing:-.2px}
h3{font-size:24px;margin:0 0 8px}
.muted{color:var(--muted-text);font-size:15.5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:4px 18px;border-radius:12px;text-decoration:none;font-weight:600;border:1px solid transparent;transition:filter .15s ease, box-shadow .15s ease, transform .15s ease;font-size:15.5px;cursor:pointer}
.btn-primary{background:linear-gradient(180deg,var(--primary),#1d3c64);color:var(--primary-contrast);box-shadow:0 6px 16px rgba(36,74,120,.22)}
.btn[disabled]{opacity:.6;cursor:not-allowed}
.btn-primary:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 10px 20px rgba(36,74,120,.26)}
/* Easy Apply - lighter blue variant */
.btn-easy{white-space:nowrap;background:linear-gradient(180deg,#3a6ea5,#2f5f91);color:#fff;border-color:transparent;box-shadow:0 6px 16px rgba(58,110,165,.22)}
.btn-easy:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 10px 20px rgba(58,110,165,.26)}
/* Tighten icon spacing only for buttons that include icons */
.btn.has-icon{gap:4px}
.btn .icon-play{display:inline-block;width:12px;height:12px;margin-left:0;vertical-align:middle}
.btn-ghost{background:transparent;border-color:var(--border);color:var(--text)}
.btn-ghost:hover{background:var(--surface);border-color:#d6dae3}
.header-cta{margin-left:12px}
@media (max-width:820px){.header-cta{display:inline-block;padding:8px 12px;font-size:14px;line-height:1}}

/* Warm (yellow) button for resume CTA */
.btn-warm{background:linear-gradient(180deg,#fde68a,#facc15);color:#111827;border-color:transparent;box-shadow:0 6px 16px rgba(250,204,21,.25)}
.btn-warm:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 10px 20px rgba(250,204,21,.3)}

/* Action rows for forms */
.actions-row{display:flex;justify-content:space-between;align-items:center;margin-top:16px}
.actions-right{display:flex;align-items:center;gap:8px}

/* Admin layout: unify content width */
.admin-main .container:not(.auth-narrow){max-width:1440px}
/* Ensure admin auth pages remain narrow */
.admin-main .container.auth-narrow{max-width:480px}

/* Tables (clean admin) */
.table-clean{width:100%;border-collapse:separate;border-spacing:0}
.table-clean th,.table-clean td{padding:12px 10px;border-bottom:1px solid var(--border);vertical-align:middle}
.table-clean thead th{font-size:13.5px;color:#475569;text-transform:uppercase;letter-spacing:.4px}
.admin-main .table-clean thead th{text-align:left;background:#eef5fb}
.table-clean tbody tr:hover{background:#f8fafc}
.table-dashboard{table-layout:fixed}
.table-dashboard thead th:nth-child(1),.table-dashboard tbody td:nth-child(1){width:15%;text-align:left}
.table-dashboard thead th:nth-child(2),.table-dashboard tbody td:nth-child(2){width:25%;text-align:left}
.table-dashboard thead th:nth-child(3),.table-dashboard tbody td:nth-child(3){width:17.5%;text-align:left}
.table-dashboard thead th:nth-child(4),.table-dashboard tbody td:nth-child(4){width:17.5%;text-align:left}
.table-dashboard thead th:nth-child(5),.table-dashboard tbody td:nth-child(5){width:15%;text-align:left}
.table-dashboard thead th:nth-child(6),.table-dashboard tbody td:nth-child(6){width:10%;text-align:left}
.table-dashboard .col-status{text-align:left}
.table-dashboard .col-actions{text-align:left}
/* Headings left-aligned */
.table-dashboard thead th{text-align:left !important}

/* Applications table (5 columns) */
.apps-table{table-layout:fixed}
.apps-table thead th{text-align:left !important}
.apps-table thead th:nth-child(1),.apps-table tbody td:nth-child(1){width:18%}
.apps-table thead th:nth-child(2),.apps-table tbody td:nth-child(2){width:22%}
.apps-table thead th:nth-child(3),.apps-table tbody td:nth-child(3){width:16%}
.apps-table thead th:nth-child(4),.apps-table tbody td:nth-child(4){width:15%}
.apps-table thead th:nth-child(5),.apps-table tbody td:nth-child(5){width:auto}

/* Badges */
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid var(--border);background:#fff;color:#0f172a}
.badge-dot{width:8px;height:8px;border-radius:50%}
.badge-published{border-color:#c7e3d4;background:#f0fbf4;color:#146c2e}
.badge-published .badge-dot{background:#22c55e}
.badge-draft{border-color:#e5e7eb;background:#f9fafb;color:#374151}
.badge-draft .badge-dot{background:#9ca3af}
.badge-hired{border-color:#fde68a;background:#fffbeb;color:#92400e}
.badge-hired .badge-dot{background:#f59e0b}

/* Applicant status dots */
.dashboard-table{font-size:13px;min-width:980px}
.dashboard-table th,.dashboard-table td{padding:10px 8px}
.dashboard-table thead th{white-space:nowrap}
.dashboard-table thead th:nth-child(5){white-space:normal}
.actions-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dash-search{margin-left:auto}
#dashSearch{width:260px;max-width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:inset 0 1px 0 rgba(16,24,40,.02)}
@media (max-width:640px){.dash-search{flex:1 1 100%;order:2}#dashSearch{width:100%}}
.btn-group{display:flex;gap:8px;align-items:center}
.btn-group .btn{height:36px;line-height:20px;padding:8px 12px}
.btn.active{background:linear-gradient(180deg,var(--primary),#1d3c64);color:#fff;border-color:transparent}
.badge-dot.sdot-received{background:#9ca3af}
.badge-dot.sdot-reviewing{background:#3b82f6}
.badge-dot.sdot-shortlisted{background:#8b5cf6}
.badge-dot.sdot-interview{background:#14b8a6}
.badge-dot.sdot-offer{background:#f59e0b}
.badge-dot.sdot-hired{background:#22c55e}
.badge-dot.sdot-rejected{background:#ef4444}
.badge-dot.sdot-withdrawn{background:#64748b}
.badge-dot.sdot-archived{background:#9ca3af}
.badge-dot.sdot-position_filled{background:#f59e0b}
.badge-dot.sdot-role_closed{background:#6b7280}
.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-scroll>table{margin:0}

@media (max-width: 768px){
  .dashboard-table th,.dashboard-table td{padding:8px 6px}
}

/* Buttons (compact) */
.btn-sm{padding:7px 10px;border-radius:10px;font-size:13px}
.btn-success{background:linear-gradient(180deg,#22c55e,#16a34a);color:#fff;border-color:transparent;box-shadow:0 6px 16px rgba(34,197,94,.22)}
.btn-success:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 10px 20px rgba(34,197,94,.26)}
.btn-easy{white-space:nowrap}
/* Button icons */
.btn .icon-play{display:inline-block;width:12px;height:12px;margin-left:0px;vertical-align:middle}
/* Force consistent button width when desired */
.btn-wide{min-width:140px;justify-content:center}
.btn-apply{height:44px;padding:0 18px;display:inline-flex;align-items:center}

/* User menu */

/* Mobile adjustments for jobs list actions */
@media (max-width:640px){
  .job-row-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .job-row-actions .btn{width:100%;min-width:0;justify-content:center}
  .jobs-list .btn-wide{min-width:0}
}
.user-menu{position:relative;margin-left:12px}
.user-avatar{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;border:0;background:transparent;cursor:pointer;box-shadow:none;padding:0}
.user-avatar:hover{background:transparent}
.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:999px}
.user-initials{font-weight:700;color:#244a78}
.user-dropdown{position:absolute;right:0;top:calc(100% - 5px);min-width:280px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:8px;display:none;z-index:70}
.user-menu.open .user-dropdown{display:block}
.user-dropdown li{list-style:none;margin:0}
.user-dropdown .user-dropdown-header{padding:14px 14px;border-bottom:1px solid var(--border)}
.user-dropdown .user-title{font-weight:700;font-size:16px;color:#0f172a}
.user-dropdown .user-email{margin-top:4px;color:#667085;font-size:14px}
.user-dropdown a,.user-dropdown .dropdown-link,.user-dropdown .user-item{display:block;width:100%;text-align:left;background:transparent;border:0;padding:12px 14px;border-radius:8px;color:#0f172a;text-decoration:none;font:inherit;cursor:pointer;font-size:15px}
.user-dropdown a:hover,.user-dropdown .dropdown-link:hover,.user-dropdown .user-item:hover{background:var(--surface)}

/* Footer social links */
.footer-social{display:flex;gap:10px}
.social-link{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:14px;box-shadow:0 2px 6px rgba(17,24,39,.06)}
.social-link:hover{background:var(--surface);border-color:#d6dae3}

/* Footer brand row (mobile fix: inline name + address) */
.footer-brand-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.site-footer .logo{position:static;transform:none;margin:0}

/* Section bands */
.band{background:linear-gradient(90deg,var(--flow-left) 0%, var(--flow-right) 100%);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.band-alt{background:linear-gradient(90deg,#f8fafc 0%, #eef2f7 100%)}

/* CTA banner */
.cta-banner{background:linear-gradient(135deg, #244a78, #3a6ea5);color:#fff;padding:48px 0;border-radius:16px}
.cta-banner .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.cta-banner h2{color:#fff;margin:0}
.cta-banner p{margin:4px 0 0;color:#e6edf7}

/* Carousel */
.carousel{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--border);box-shadow:var(--shadow)}
.carousel-track{display:flex;transition:transform .35s ease}
.carousel-slide{flex:0 0 100%}
.carousel img{display:block;width:100%;height:auto}
.dragging{cursor:grabbing}
.carousel-control{position:absolute;top:50%;transform:translateY(-50%);background:rgba(17,24,39,.6);color:#fff;border:0;width:36px;height:36px;border-radius:999px;display:grid;place-items:center;cursor:pointer}
.carousel-control:hover{background:rgba(17,24,39,.8)}
.carousel-prev{left:12px}
.carousel-next{right:12px}

/* Feature carousel tweaks - remove outer borders and padding fit */
.carousel--features{border:0;box-shadow:none;background:transparent}
.carousel--features .carousel-track{gap:0}
.carousel--features .carousel-slide{padding:0 0}

/* Services carousel occupies full width of container */
.carousel--services{border:0;background:transparent;box-shadow:none;margin-top:16px}
.carousel--services .carousel-slide{padding:0 2px}

/* Fancy service slides */
.carousel--services .card{position:relative;overflow:hidden;padding:28px;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%, #f7f9fc 100%);border:1px solid rgba(36,74,120,.12);box-shadow:0 20px 40px rgba(17,24,39,.08)}
.carousel--services .card .card-bg{position:absolute;inset:0;z-index:0;background-image:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.84)),url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=60');background-size:cover;background-position:center;background-repeat:no-repeat;background-blend-mode:lighten;opacity:.34;pointer-events:none}
.carousel--services .card > *:not(.card-bg){position:relative;z-index:1}
.carousel--services .card:before{content:"";position:absolute;right:-120px;top:-120px;width:360px;height:360px;background:radial-gradient(ellipse at center, rgba(58,110,165,.18), rgba(58,110,165,0));filter:blur(6px);pointer-events:none}
.carousel--services .card:after{content:"";position:absolute;left:-140px;bottom:-140px;width:400px;height:400px;background:radial-gradient(ellipse at center, rgba(36,74,120,.12), rgba(36,74,120,0));filter:blur(8px);pointer-events:none}
.carousel--services .card h3{font-size:24px;margin:0 0 6px;background:linear-gradient(90deg,var(--primary),var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}
.carousel--services .card p{margin:0 0 12px;color:#4b5563}

/* Make feature grid denser inside service slides */
.carousel--services .feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}
@media (max-width:820px){.carousel--services .feature-list{grid-template-columns:1fr}}
.carousel--services .feature{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#dbe5f3,rgba(58,110,165,.35)) border-box;border:1px solid transparent;border-radius:14px;padding:16px;box-shadow:0 10px 24px rgba(17,24,39,.06)}
.carousel--services .feature:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(17,24,39,.10)}
.carousel--services .feature-icon{background:linear-gradient(180deg,#2a528a,#1d3c64)}

/* Controls + dots */
.carousel--services .carousel-control{display:none}
.carousel--services .carousel-control:hover{filter:none}
.carousel-dots{position:relative;display:flex;justify-content:center;gap:8px;margin-top:14px}
.carousel-dot{width:8px;height:8px;border-radius:999px;background:#cbd5e1;border:1px solid #b6c2d3}
.carousel-dot.active{background:linear-gradient(180deg,var(--primary),#1d3c64);border-color:transparent;box-shadow:0 4px 10px rgba(36,74,120,.25)}

/* Back to top */
.back-to-top{position:fixed;right:20px;bottom:20px;z-index:70;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;border:1px solid rgba(0,0,0,.06);background:linear-gradient(180deg,var(--primary),#1d3c64);color:#fff;box-shadow:0 10px 24px rgba(36,74,120,.25);cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s ease, transform .2s ease}
.back-to-top:hover{transform:translateY(-1px)}
.back-to-top.show{opacity:1;pointer-events:auto}

/* Toast (right side under header, near profile icon) */
.toast{position:fixed;right:16px;left:auto;top:80px;transform:translateY(-6px);max-width:min(46vw,520px);background:#dcfce7;color:#166534;border:1px solid #86efac;border-radius:10px;padding:10px 14px;box-shadow:0 10px 24px rgba(22,101,52,.18);z-index:120;opacity:0;transition:opacity .2s ease, transform .2s ease;word-break:break-word}
.toast.show{opacity:1;transform:none}
.toast.success{background:#dcfce7;color:#166534;border-color:#86efac}
.toast.error{background:#fef2f2;color:#b91c1c;border-color:#fecaca}

/* Submission progress overlay */
.progress-overlay{position:fixed;inset:0;background:rgba(255,255,255,.75);z-index:200;display:grid;place-items:center}
.progress-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px 18px;box-shadow:var(--shadow);text-align:center;max-width:360px}
.progress-title{margin:0 0 8px;font-weight:700;color:#0f172a}
.progress-sub{margin:0 0 10px;color:#475569;font-size:14px}
.progress-bar{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}
.progress-bar > div{height:100%;width:50%;background:linear-gradient(180deg,var(--primary),#1d3c64);border-radius:999px;animation:progressRun 1.3s ease-in-out infinite}
@keyframes progressRun{0%{transform:translateX(-100%)}100%{transform:translateX(200%)}}

/* Reveal on scroll */
.reveal{opacity:0;transform:translateY(12px);transition:opacity .5s ease, transform .5s ease}
.reveal.in-view{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{transition:none;transform:none;opacity:1}}
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:static;width:auto;height:auto;padding:8px;background:#fff;border:2px solid var(--primary);border-radius:8px}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Footer subscribe */
.newsletter-form{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.newsletter-input{flex:1 1 200px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;font:inherit}

/* Header on scroll */
.site-header.scrolled{box-shadow:0 8px 24px rgba(16,24,40,.08);border-bottom-color:#e2e8f0;background:rgba(255,255,255,.95)}

/* Legal pages: slightly smaller body text for dense policies */
.legal p{font-size:14.5px;color:#334155}
.legal ul{margin:10px 0 0;padding-left:18px}
.legal li{margin:4px 0;font-size:14.5px;color:#334155}
.legal h1{margin-bottom:8px}
.legal h2{margin-top:16px}

/* Animated utilities */
@keyframes vibrate{
  0%{transform:translate3d(0,0,0)}
  15%{transform:translate3d(-0.8px,0.6px,0)}
  30%{transform:translate3d(0.7px,-0.9px,0)}
  45%{transform:translate3d(-1px,0.5px,0)}
  60%{transform:translate3d(0.9px,0.8px,0)}
  75%{transform:translate3d(-0.6px,-0.6px,0)}
  100%{transform:translate3d(0,0,0)}
}
.fx-vibrate{animation:vibrate 2.2s infinite linear;animation-play-state:paused}
.fx-vibrate.in-view{animation-play-state:running}

@keyframes floatUp{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
.fx-float{opacity:0}
.fx-float.in-view{animation:floatUp .6s ease forwards}

/* KPI counters */
.kpis .kpi{display:flex;flex-direction:column}
.kpi-number{font-size:32px;font-weight:700;color:var(--primary)}
.kpi-label{font-size:14px;color:var(--muted-text)}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:900px){.steps{grid-template-columns:1fr}}
.step{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;box-shadow:var(--shadow)}
.step h4{margin:0 0 6px;font-size:16px}

/* Profile review (Documents tab) */
.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:900px){.review-grid{grid-template-columns:1fr}}
.review-section{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px}
.review-title{margin:0 0 10px;font-size:16px;font-weight:700;color:#0f172a}
.review-rows{display:grid;gap:10px}
.review-row{display:grid;grid-template-columns:180px 1fr;gap:10px}
@media (max-width:640px){.review-row{grid-template-columns:1fr}}
.review-label{font-weight:600;color:#0f172a}
.review-value{color:#0f172a}
.review-muted{color:#475569}
.missing{color:#b42318;font-weight:600}
.update-link{margin-left:8px;font-size:13px}

/* Accordion */
.accordion{border-top:1px solid var(--border)}
.accordion-item{border-bottom:1px solid var(--border)}
.accordion-header{margin:0}
.accordion-button{width:100%;text-align:left;padding:14px 10px;background:#fff;border:0;font:inherit;display:flex;align-items:center;justify-content:space-between;cursor:pointer}
.accordion-button:hover{background:var(--surface)}
.accordion-icon{transition:transform .2s ease}
.accordion-item.open .accordion-icon{transform:rotate(45deg)}
.accordion-panel{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 10px}
.accordion-item.open .accordion-panel{padding:10px 10px 16px}

/* Media blocks */
.media{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center}
@media (max-width:900px){.media{grid-template-columns:1fr}}
.media img{border-radius:12px;border:1px solid var(--border)}

/* Section accents */
.divider{height:1px;background:linear-gradient(90deg, rgba(36,74,120,.2), rgba(36,74,120,0))}
.tag-row{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-size:13px;padding:7px 11px;border-radius:999px;border:1px solid var(--border);background:#fff;color:#334155}

/* Application stepper */
.stepper-nav{list-style:none;display:flex;gap:8px;margin:0 0 16px;padding:0;flex-wrap:wrap}
.profile-tabs{gap:24px;justify-content:space-evenly;flex-wrap:wrap}
.profile-tabs > li{flex:0 0 auto}
.profile-tabs > li > a{display:block;text-align:center}
.stepper-nav li{padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#475569;font-size:13px}
.stepper-nav li.active{background:linear-gradient(180deg,var(--primary),#1d3c64);color:#fff;border-color:transparent}
.stepper-nav li.complete{background:#e7eef8;color:#244a78;border-color:transparent}
.stepper .step{display:none}
.stepper .step.active{display:block}
.site-main .stepper-nav li:before{content:none!important}
.site-main .stepper-nav li{padding:6px 10px!important}
.stepper-nav a{color:inherit;text-decoration:none}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:800px){.grid-2{grid-template-columns:1fr}}
.signature-box{border:1px dashed #c7d2e3;border-radius:10px;padding:10px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}
#signaturePad{width:100%;max-width:100%;border:1px solid var(--border);border-radius:8px;background:#fff}

/* Form validation styling */
.contact-form input:invalid,
.contact-form textarea:invalid,
.contact-form select:invalid{border-color:#b42318}
.contact-form input[aria-invalid="true"]{border-color:#b42318}
.brand-select.invalid .brand-select-toggle{border-color:#b42318}
.field-error{color:#b42318;font-size:13px;margin-top:6px}

/* Required marker */
.req{color:#b42318;font-weight:700;margin-left:4px}

/* Compact form styling for application wizard */
.form-compact{font-size:.92em}
.form-compact h2{font-size:clamp(24px,1vw+20px,30px)}
.form-compact .contact-form .form-field{margin-bottom:20px;gap:0px}
.form-compact .contact-form label{font-size:1em}
.form-compact .contact-form input,
.form-compact .contact-form textarea,
.form-compact .contact-form select{padding:9px 10px;border-radius:8px;font-size:.95em}
.form-compact .btn{padding:9px 14px;border-radius:10px;font-size:14px}
.form-compact .stepper-nav{gap:6px;margin-bottom:12px}
.form-compact .stepper-nav li{padding:4px 8px;font-size:13px}
.form-compact .grid-2,.form-compact .grid-3{column-gap:18px;row-gap:20px}
.form-compact #signaturePad{height:140px}
.form-compact .form-note,.form-compact .field-error{font-size:12.5px}

/* Focus flash helper for deep-linked fields */
.focus-flash{animation:focusFlash 1.6s ease}
@keyframes focusFlash{0%{box-shadow:0 0 0 0 rgba(36,74,120,.0)}30%{box-shadow:0 0 0 4px rgba(36,74,120,.18)}100%{box-shadow:0 0 0 0 rgba(36,74,120,.0)}}

/* Auth: password requirements (compact helper) */
.req-box{display:grid;grid-template-columns:1fr;gap:6px;background:transparent;border:0;padding:0;margin:6px 0 12px}
.req-chip{position:relative;display:flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#475569;font-size:13px;line-height:1.4}
.req-chip:before{content:"";display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #b42318;}
.req-chip.met{color:#244a78}
.req-chip.met:before{content:"\2713";width:auto;height:auto;border:0;color:#244a78;font-size:13px}

/* Google button on auth (use primary styling, just add spacing/icon tweaks) */
.btn-google{gap:10px}
.btn-google svg{display:block}

/* Preferences toggles */
.pref-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding:12px 2px}
.pref-row:first-of-type{border-top:0}
.switch{position:relative;display:inline-block;width:44px;height:26px}
.switch input{opacity:0;width:0;height:0}
.switch .slider{position:absolute;cursor:pointer;inset:0;background:#e5e7eb;border:1px solid #cbd5e1;border-radius:999px;transition:background .2s ease, border-color .2s ease}
.switch .slider:before{content:"";position:absolute;height:20px;width:20px;left:3px;top:50%;transform:translateY(-50%);background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:left .2s ease}
.switch input:checked + .slider{background:linear-gradient(180deg,var(--primary),#1d3c64);border-color:transparent}
.switch input:checked + .slider:before{left:21px}

/* Chips for domain selection */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips--nowrap{flex-wrap:nowrap;gap:6px;white-space:nowrap}
.chips--nowrap .chip .chip-inner{padding:6px 9px;font-size:12px}
.chip{display:inline-flex;align-items:center}
.chip input{display:none}
.chip .chip-inner{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;border:1px solid var(--border);background:#fff;color:#334155;font-size:13px}
.chip input:checked + .chip-inner{background:linear-gradient(180deg,var(--primary),#1d3c64);color:#fff;border-color:transparent}

/* Communications: paused overlay */
.comm-area{position:relative}
.comm-mask{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:rgba(255,255,255,.75);backdrop-filter:blur(1px);border-radius:12px;z-index:80;text-align:center;padding:16px}
.comm-mask.open{display:flex}
.comm-mask-title{font-size:18px;font-weight:600;color:#0f172a;margin-bottom:8px}
.comm-mask-sub{color:#475569;margin-bottom:12px}
.comm-disabled{opacity:.45}
.comm-disabled .pref-row input,.comm-disabled .switch{pointer-events:none}

/* GPU compatibility overrides: disable heavy filters/effects when .no-fx present on <html> */
.no-fx .site-header{backdrop-filter:none !important}
.no-fx .hero:after{filter:none !important}
.no-fx .carousel--services .card:before,
.no-fx .carousel--services .card:after{filter:none !important}
.no-fx .comm-mask{backdrop-filter:none !important}
.no-fx .card:hover{transform:none !important;box-shadow:var(--shadow) !important}
.no-fx .fx-vibrate,.no-fx .fx-float{animation:none !important;opacity:1 !important;transform:none !important}

/* Page-scoped: disable reveal animations when html has .no-reveal (e.g., /about/team) */
.no-reveal .reveal{opacity:1 !important;transform:none !important;transition:none !important;animation:none !important}

/* Resume dropzone */
.dropzone{display:grid;place-items:center;text-align:center;border:2px dashed rgba(36,74,120,.25);border-radius:14px;padding:36px;background:linear-gradient(180deg,#ffffff 0%, #f7f9fc 100%);color:#0f172a}
.dropzone:hover{border-color:rgba(58,110,165,.55);background:linear-gradient(180deg,#ffffff 0%, #f5f8fd 100%)}
.dropzone.drop-active{border-color:rgba(58,110,165,.9);box-shadow:0 10px 24px rgba(36,74,120,.18)}
.dz-icon{width:60px;height:60px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(180deg,var(--primary),#1d3c64);color:#fff;font-size:22px;margin-bottom:10px;box-shadow:0 6px 16px rgba(36,74,120,.24)}
.dz-title{font-weight:700;font-size:20px;margin:6px 0}
.dz-sub{color:#475569}
.dz-sub .dz-link{color:var(--primary);text-decoration:underline}
.dz-hint{color:#94a3b8;font-size:13px;margin-top:8px}
.dz-file{margin-top:10px;color:#244a78;font-size:14px}
.dz-status{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px}
.dz-check{width:18px;height:18px;border-radius:50%;background:#22c55e;display:inline-block;position:relative;box-shadow:0 4px 10px rgba(34,197,94,.35)}
.dz-check:after{content:"";position:absolute;left:4px;top:2px;width:8px;height:12px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg)}


/* Mobile navigation refinements (stacked sections like example) */
@media (max-width:820px){
  /* Top-level list layout */
  .site-nav ul{flex-direction:column;padding:10px 18px;gap:0;align-items:stretch;justify-content:flex-start}
  .site-nav > ul > li{width:100%;border-bottom:1px solid var(--border);margin:0}
  .site-nav > ul > li:last-child{border-bottom:0}
  /* Top-level link appearance */
  .site-nav > ul > li > a{font-size:18px;font-weight:600;color:#0f172a;padding:14px 4px;min-height:44px;display:block;width:100%;text-align:left}
  /* Chevron on the right */
  .site-nav .has-dropdown{display:flex;align-items:center}
  .site-nav .has-dropdown > a{flex:1}
  .site-nav .has-dropdown > .dropdown-toggle{margin-left:auto}
  .site-nav .has-dropdown > .dropdown-toggle::before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #0f172a}
  .site-nav .has-dropdown.open > .dropdown-toggle::before{transform:rotate(180deg)}
  /* Children list with left guideline */
  .site-nav .dropdown{position:static;display:none;border:0;box-shadow:none;padding:6px 0 12px 12px;margin:0 0 6px 10px;border-left:2px solid #e5e7eb}
  .site-nav .has-dropdown.open > .dropdown{display:block}
  .site-nav .dropdown li{list-style:none}
  .site-nav .dropdown a{padding:10px 2px;font-size:16px;color:#111827;border-radius:8px;width:100%;text-align:left}
  .site-nav .dropdown a:hover{background:transparent;color:var(--primary)}
  /* Remove desktop underline decoration in mobile */
  .site-nav a.active:after{display:none}
}

/* Stronger mobile overrides to stack child menus below parent */
@media (max-width:820px){
  .site-nav .dropdown{position:static !important;display:none;border:0 !important;box-shadow:none !important;background:transparent !important;border-radius:0 !important;padding:6px 0 10px 16px !important;margin:0 0 8px 0 !important;width:100% !important;border-left:2px solid #e5e7eb}
  .site-nav .has-dropdown.open > .dropdown{display:block !important}
  .site-nav .dropdown li{list-style:none}
  .site-nav .dropdown a{display:block;width:100%;padding:10px 2px;border-radius:8px;font-size:16px;text-align:left}
}

/* Full-screen mobile navigation overlay with animation */
@media (max-width:820px){
  /* Nav container becomes an overlay below the header */
  .site-nav{position:fixed !important;left:0;right:0;top:56px;bottom:0;height:calc(100vh - 56px);background:#fff;border-top:1px solid var(--border);border-bottom:none;overflow:auto;display:block !important;transform:translateY(-8px);opacity:0;visibility:hidden;pointer-events:none;transition:transform .28s ease, opacity .28s ease, visibility 0s .28s}
  .site-nav.open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto;transition:transform .32s cubic-bezier(.2,.8,.2,1), opacity .32s ease}
  /* Prevent page behind from scrolling when open */
  body.nav-open{overflow:hidden}

  /* List layout */
  .site-nav ul{flex-direction:column;padding:12px 18px;gap:0;align-items:stretch}
  .site-nav > ul > li{width:100%;border-bottom:1px solid var(--border)}
  .site-nav > ul > li:last-child{border-bottom:0}
  .site-nav a{padding:14px 12px;text-align:left;width:100%;min-height:44px}
  .site-nav a.active:after{display:none}

  /* Parent row grid + chevron */
  .site-nav .has-dropdown{display:grid;grid-template-columns:1fr auto;align-items:center}
  .site-nav .has-dropdown > a{grid-column:1/2}
  .site-nav .has-dropdown > .dropdown-toggle{display:inline-block;grid-column:2/3;margin-left:8px}

  /* Child list collapsible (animated) */
  .site-nav .dropdown{grid-column:1/-1;position:static;overflow:hidden;max-height:0;border:0;box-shadow:none;background:transparent;border-radius:0;padding:0 0 0 16px;margin:0;border-left:2px solid #e5e7eb;transition:max-height .28s ease, padding .28s ease}
  .site-nav .dropdown li{list-style:none}
  .site-nav .dropdown a{padding:10px 2px;font-size:16px}
  .site-nav .has-dropdown.open > .dropdown{max-height:600px;padding:6px 0 10px 16px}
}

@media (max-width:820px){
  html.nav-open, body.nav-open{overflow:hidden;height:100vh}
}

/* Breadcrumbs */
.breadcrumbs{background:inherit;border-bottom:0}
.breadcrumbs .container{display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 16px;font-size:14.5px}
.breadcrumbs a{color:#0f172a;text-decoration:underline;text-underline-offset:3px}
.breadcrumbs a:hover{opacity:.9}
.breadcrumbs .sep{color:#94a3b8;margin:0 10px}
.breadcrumbs [aria-current=\"page\"]{color:var(--muted-text);text-decoration:none}
.breadcrumbs .home{display:inline-flex;align-items:center;color:#0f172a;text-decoration:none}
.breadcrumbs .home-icon{width:18px;height:18px}

/* Job detail back link */
.page-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.back-jobs{display:inline-block;color:#0f172a;text-decoration:none;font-weight:600}
.back-jobs:hover{text-decoration:underline;text-underline-offset:3px}

/* Share button/dropdown */
.share-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:0;display:none;z-index:60;overflow:hidden}
.share-menu li{list-style:none;margin:0;border-top:1px solid var(--border);padding:0;position:static}
.share-menu li:before{content:none !important}
.share-menu li:first-child{border-top:0}
.share-menu button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:8px 12px;border:0;background:transparent;font:inherit;font-size:14px;color:#0f172a;cursor:pointer}
.share-menu button .icon{width:16px;height:16px;color:#6b7280}
.share-menu button:hover{background:var(--surface)}
.share.open .share-menu{display:block}
.btn-share{white-space:nowrap;border-radius:999px;font-size:14px;padding:6px 12px}
.btn-share.btn-sm{padding:8px 12px;border-radius:999px}

/* Schedule CTA - Google Calendar button overrides */
.schedule-cta{margin-top:12px;background:transparent;border:none;box-shadow:none;padding:0}
.schedule-cta .schedule-cta-msg{margin:0 0 8px;color:var(--muted-text);font-size:15.5px}
.schedule-cta .gcal-schedule-button{display:inline-block}
.schedule-cta .gcal-schedule-button :where(button,a){background:#000 !important;color:#fff !important;border:1px solid #000 !important;border-radius:12px !important;padding:12px 18px !important;font-size:17px !important;line-height:1.2 !important;text-decoration:none !important;box-shadow:none !important}
.schedule-cta .gcal-schedule-button :where(button,a):hover{filter:brightness(.98) !important;transform:none !important}

