/* Shared Upjovo visual system: small motion, clear focus, and responsive surfaces. */
:root {
  --motion-fast: 150ms;
  --motion-smooth: 270ms;
  --surface-shadow: 0 16px 40px rgba(48, 32, 17, .08);
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body > main { animation: page-arrive 380ms cubic-bezier(.2,.75,.25,1) both; }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #174ea6;
  outline-offset: 3px;
}

/* Accessible essentials: visible keyboard focus, skip navigation, and readable primary actions. */
.skip-link { position: absolute; z-index: 200; top: 10px; left: -10000px; padding: 12px 16px; background: #fff; color: #171715; border: 2px solid #171715; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
button:not(.secondary):not(.ghost):not(.dark):not(.copybtn):not(.skilladd):not(.skillremove):not(.modalclose),
.btn:not(.secondary):not(.ghost):not(.dark), .navcta {
  background-color: #a9271d;
  color: #fff;
}
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { min-width: 18px; min-height: 18px; accent-color: #a9271d; }
.consent { display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.consent input[type="checkbox"] { flex: 0 0 18px; margin-top: 2px; }
.consent a { color: #174ea6; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice { position: fixed; z-index: 150; inset: auto 16px 16px; margin-inline: auto; width: min(760px,calc(100% - 32px)); display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; color: #171715; border: 2px solid #171715; border-radius: 16px; box-shadow: 0 10px 34px #0003; }
.cookie-notice p { flex: 1; margin: 0; font-size: 13px; line-height: 1.5; }
.cookie-notice a { color: #174ea6; font-weight: 800; text-underline-offset: 3px; }
.cookie-notice button { flex: 0 0 auto; padding: 10px 14px; border-radius: 10px; }
main[id], [id="main"] { scroll-margin-top: 18px; }

.navlinks a, .footerlinks a, .footright a, .topnav a { transition: color var(--motion-fast), transform var(--motion-fast); }
.navlinks a:hover, .footerlinks a:hover, .footright a:hover, .topnav a:hover { color: #ef3e2f; }
.navlinks a:hover, .footerlinks a:hover, .footright a:hover, .topnav a:hover, .founder-contact a:hover { color: #a9271d; }
button, .btn, .navcta, .editbtn { transition: transform var(--motion-fast), box-shadow var(--motion-fast), background-color var(--motion-fast); }
button:not(:disabled):active, .btn:active, .navcta:active, .editbtn:active { transform: translateY(1px) scale(.985); }

.panel, .formcard, .value, .role, .rolecard, .stat, .chart-panel, .recent-panel,
.maintenance-panel, .section-panel, .founder-card {
  transition: transform var(--motion-smooth), box-shadow var(--motion-smooth), border-color var(--motion-smooth);
}
.value:hover, .role:hover, .rolecard:hover, .stat:hover, .founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--surface-shadow);
  border-color: #e6c6a6;
}

/* Public site */
.navlinks a:not(.navcta) { position: relative; }
.navlinks a:not(.navcta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 2px; border-radius: 4px; background: #ef3e2f;
  transition: right var(--motion-smooth);
}
.navlinks a:not(.navcta):hover::after, .navlinks a[aria-current="page"]::after { right: 0; }
.footer { gap: 28px; }
.footerlinks a, .footright a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.support-shortcuts a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.support-shortcuts a:hover { color: #ffd45a !important; }
.founder-section { padding: 54px 0 76px; }
.founder-card {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: 22px; padding: clamp(22px,4vw,38px); border: 1px solid var(--line);
  border-radius: 28px; background: linear-gradient(125deg,#fffdf8 12%,#fff4e6 100%);
  box-shadow: var(--shadow, 0 12px 34px rgba(35,27,19,.08));
}
.founder-avatar {
  display: grid; place-items: center; width: 82px; height: 82px; border-radius: 24px;
  border: 1.5px solid var(--ink); background: var(--yellow,#ffd45a); color: var(--ink);
  font: 700 27px/1 "Space Grotesk", sans-serif; box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg); transition: transform var(--motion-smooth);
}
.founder-card:hover .founder-avatar { transform: rotate(0) scale(1.04); }
.founder-copy h2 { margin: 0 0 7px; }
.founder-copy p { margin: 0; color: var(--muted,#777168); line-height: 1.7; }
.founder-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.founder-contact a { font-weight: 800; color: var(--ink); text-underline-offset: 4px; overflow-wrap: anywhere; }
.founder-contact a:hover { color: #ef3e2f; }

/* Page-wide motion: progressive enhancement, with reduced-motion support. */
@keyframes upjovo-enter { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes upjovo-sparkle { 0% { opacity: 0; transform: translateY(10px) scale(.7) rotate(-12deg); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px) scale(1.15) rotate(10deg); } }
.motion-ready main > section, .motion-ready main .panel, .motion-ready main .founder-card,
.motion-ready main .rolecard, .motion-ready main .value, .motion-ready main .principle-card,
.motion-ready main .home-role, .motion-ready main .journey-steps > article,
.motion-ready main .contact-enquiry, .motion-ready main .journey-panel, .motion-ready main .legal > h2,
.motion-ready main .legal > p, .motion-ready main .legal > ul,
.motion-ready main .loginbox, .motion-ready main .card {
  opacity: 0; transform: translateY(14px); transition: opacity 460ms ease, transform 460ms cubic-bezier(.2,.75,.25,1);
  transition-delay: calc(var(--motion-order, 0) * 48ms);
}
.motion-ready main > section.motion-visible, .motion-ready main .panel.motion-visible,
.motion-ready main .founder-card.motion-visible, .motion-ready main .rolecard.motion-visible,
.motion-ready main .value.motion-visible, .motion-ready main .principle-card.motion-visible,
.motion-ready main .home-role.motion-visible, .motion-ready main .journey-steps > article.motion-visible,
.motion-ready main .contact-enquiry.motion-visible, .motion-ready main .journey-panel.motion-visible, .motion-ready main .legal > h2.motion-visible,
.motion-ready main .legal > p.motion-visible, .motion-ready main .legal > ul.motion-visible,
.motion-ready main .loginbox.motion-visible, .motion-ready main .card.motion-visible { opacity: 1; transform: none; }
.promise-rotator { display: flex; align-items: center; gap: 9px; min-height: 28px; margin: 15px 0 0; color: var(--muted,#625a54); font-size: clamp(13px,1.5vw,16px); font-weight: 700; }
.promise-mark { color: var(--red,#ef3e2f); animation: promise-pulse 2.2s ease-in-out infinite; }
.promise-copy { display: inline-block; transition: opacity 180ms ease, transform 180ms ease; }
.promise-copy.is-changing { opacity: 0; transform: translateY(5px); }
@keyframes promise-pulse { 50% { transform: rotate(35deg) scale(1.15); } }
.home-proof-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; max-width: 640px; margin-top: 22px; }
.home-proof-stats > div { display: grid; gap: 4px; align-content: start; min-height: 72px; padding: 11px 12px; border: 1px solid #e8ddcf; border-radius: 13px; background: rgba(255,253,248,.78); }
.home-proof-stats strong { color: var(--red,#a9271d); font: 800 22px/1 "Space Grotesk",sans-serif; }
.home-proof-stats span { color: var(--muted,#625a54); font-size: 10px; line-height: 1.35; }
.pointer-tour { position: relative; isolation: isolate; }
.pointer-tour::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(230px circle at var(--pointer-x,50%) var(--pointer-y,50%),rgba(255,212,90,.2),transparent 70%); opacity: 0; transition: opacity 220ms ease; }
.pointer-tour:hover::after { opacity: 1; }
.home-art > *, .founder-card > *, .rolecard > * { position: relative; z-index: 1; }
.journey-steps { position: relative; }
.journey-steps::before { content: ""; position: absolute; top: 18px; bottom: 25px; left: 17px; width: 2px; background: linear-gradient(var(--red,#ef3e2f),#f2d9b8); transform: scaleY(0); transform-origin: top; transition: transform 720ms cubic-bezier(.2,.75,.25,1); }
.journey-panel.motion-visible .journey-steps::before { transform: scaleY(1); }
.journey-steps > article { position: relative; }
.contact-success, .statusresult, .success { position: relative; }
.success-sparkles { position: absolute; right: 16px; top: 8px; color: #17623b; font-size: 18px; letter-spacing: 5px; pointer-events: none; animation: upjovo-sparkle 1.5s ease-out both; }
.local-submit-notice { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #d7a745; border-radius: 13px; background: #fff4ce; color: #382b11; font-size: 13px; line-height: 1.6; }
.local-submit-notice a { color: #174ea6; font-weight: 800; text-underline-offset: 3px; }
.contact-success.show, .success.show, .statusresult.show { animation: upjovo-enter 450ms cubic-bezier(.2,.75,.25,1) both; }
.status-arrived { box-shadow: 0 12px 35px rgba(23,98,59,.1); }
@media (max-width: 600px) { .home-proof-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; } .home-proof-stats > div { padding: 9px 7px; min-height: 70px; } .home-proof-stats strong { font-size: 19px; } .home-proof-stats span { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready main > section, .motion-ready main .panel, .motion-ready main .founder-card,
  .motion-ready main .rolecard, .motion-ready main .value, .motion-ready main .principle-card,
  .motion-ready main .home-role, .motion-ready main .journey-steps > article,
  .motion-ready main .contact-enquiry, .motion-ready main .legal > h2,
  .motion-ready main .legal > p, .motion-ready main .legal > ul,
  .motion-ready main .loginbox, .motion-ready main .card { opacity: 1 !important; transform: none !important; transition: none !important; }
  .promise-mark, .journey-steps::before { animation: none !important; transition: none !important; }
}

/* Hiring Desk workspace */
.top { box-shadow: 0 8px 28px rgba(32,24,16,.045); }
.topnav .adminmark { background: #171715; color: #fffdf8; border-color: #171715; padding: 9px 13px; letter-spacing: .1em; }
.workspace { gap: 20px; }
.sidebar {
  padding: 13px; border: 1px solid #e8ddcf; border-radius: 20px;
  background: linear-gradient(155deg,#fffefa,#f6eee3); box-shadow: 0 14px 34px rgba(31,25,18,.07);
}
.side-label { padding: 10px 12px 8px; font-size: 9px; letter-spacing: .16em; }
.side-link {
  position: relative; width: 100%; min-height: 44px; border: 1px solid transparent;
  border-radius: 12px; transition: color var(--motion-fast), background var(--motion-fast), transform var(--motion-fast), box-shadow var(--motion-fast);
}
.side-link:hover { transform: translateX(2px); background: #fff; }
.side-link.active { background: #171715; color: #fff; box-shadow: 0 7px 16px rgba(23,23,21,.15); }
.side-link.active span { color: #ffd45a; }
.side-help { border-radius: 12px; line-height: 1.65; }
.admin-view.active { animation: view-arrive 360ms cubic-bezier(.2,.75,.25,1) both; }
.admin-view .panel { box-shadow: 0 10px 30px rgba(35,27,19,.055); }
.stat { position: relative; overflow: hidden; }
.stats .stat { animation: view-arrive 420ms cubic-bezier(.2,.75,.25,1) both; }
.stat::after {
  content: ""; position: absolute; right: -22px; top: -30px; width: 86px; height: 86px;
  border-radius: 50%; background: rgba(255,212,90,.18); transition: transform 380ms ease;
}
.stat:hover::after { transform: scale(1.35); }
.stats .stat:nth-child(2) { animation-delay: 60ms; }
.stats .stat:nth-child(3) { animation-delay: 120ms; }
.stats .stat:nth-child(4) { animation-delay: 180ms; }
.stats .stat:nth-child(5) { animation-delay: 240ms; }
.stats .stat:nth-child(6) { animation-delay: 300ms; }
.chart-panel, .recent-panel, .maintenance-panel, .section-panel { border-radius: 20px; }
.tablewrap { box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
th { backdrop-filter: blur(10px); }
.editbtn:hover { border-color: #ef3e2f; }
.modalback { backdrop-filter: blur(6px); }
.modal { animation: modal-arrive 260ms cubic-bezier(.2,.75,.25,1) both; }
.login { position: relative; overflow: hidden; box-shadow: 0 20px 55px rgba(51,31,15,.09); }
.loginbox { max-width: 590px; margin: clamp(28px,7vh,76px) auto; padding: clamp(24px,5vw,42px); box-shadow: 0 20px 55px rgba(51,31,15,.09); }
.login::before {
  content: ""; position: absolute; width: 210px; height: 210px; right: -85px; top: -100px;
  border-radius: 50%; background: radial-gradient(circle,#ffd45a 0 34%,transparent 35%);
  opacity: .45; pointer-events: none;
}
.login > * { position: relative; }
.maintenance-badge { transition: background var(--motion-smooth), color var(--motion-smooth), transform var(--motion-smooth); }
.maintenance-badge:not(.off) { animation: status-pulse 2.4s ease-in-out infinite; }

@keyframes page-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes view-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes modal-arrive { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 5px rgba(55,166,107,.1); } }

@media (max-width: 820px) {
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .side-label { width: 100%; }
  .side-link { width: auto; flex: 1 1 145px; justify-content: flex-start; }
  .founder-card { grid-template-columns: auto minmax(0,1fr); }
  .founder-contact { grid-column: 1/-1; padding-left: 2px; }
}
@media (max-width: 560px) {
  .founder-card { grid-template-columns: 1fr; justify-items: start; }
  .founder-contact { grid-column: auto; }
}
@media (max-width: 560px) { .cookie-notice { align-items: flex-start; flex-wrap: wrap; inset-inline: 12px; width: auto; } .cookie-notice p { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Home page: an editorial, animated front door using the Hiring Desk palette. */
.home-page { background: radial-gradient(ellipse at 80% 15%, rgba(255,212,90,.17), transparent 30rem), radial-gradient(ellipse at 8% 52%, rgba(184,217,255,.16), transparent 28rem), var(--cream); }
.home-progress { position: fixed; z-index: 80; inset: 0 0 auto; height: 3px; pointer-events: none; }
.home-progress span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.home-page .nav { transition: box-shadow .25s ease, background .25s ease; }
.home-page .nav:has(+ #announcementStack) { box-shadow: 0 8px 28px rgba(32,24,16,.045); }
/* Avoid full-screen SVG turbulence and blur repaints while the page scrolls. */
.home-page .nav { background: var(--cream,#fff7eb); backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-page .blob { animation: blob-float 8s ease-in-out infinite alternate; }
@keyframes blob-float { to { transform: translate3d(0,-5px,0) rotate(-5deg); } }
.mobile-nav-toggle { display: none; }
.home-page button.mobile-nav-toggle:not(:disabled):not(.secondary):not(.ghost):not(.dark):not(.copybtn):not(.skilladd):not(.skillremove):not(.modalclose) { background-color: var(--paper); color: var(--ink); }
.home-page .home-hero { min-height: min(760px, calc(100svh - 76px)); padding-block: clamp(70px,9vw,120px) clamp(62px,8vw,100px); }
.home-page .hero-copy { position: relative; z-index: 2; }
.home-page .hero-copy .eyebrow { animation: home-label-arrive .55s .08s both; }
.home-page .hero h1 { max-width: 780px; font-size: clamp(58px,8.3vw,112px); line-height: .91; }
.home-page .hero h1 .red { text-shadow: 0 3px 0 rgba(240,68,56,.06); }
.home-page .hero .lead { max-width: 510px; font-size: clamp(15px,1.3vw,17px); }
.home-page .herobtns .btn { min-height: 54px; }
.home-page .home-art { perspective: 900px; isolation: isolate; }
.home-page .home-art::before { content: ""; position: absolute; width: 92%; height: 82%; border: 1px dashed rgba(23,23,21,.18); border-radius: 50%; transform: rotate(-16deg); animation: home-orbit 34s linear infinite; }
.home-page .home-art::after { content: ""; position: absolute; inset: 13% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%), rgba(255,212,90,.32), transparent 68%); }
.home-page .artcard { transform-style: preserve-3d; box-shadow: 11px 12px 0 var(--ink), 0 30px 65px rgba(23,23,21,.12); }
.home-page .artcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg,rgba(255,255,255,.28),transparent 35% 100%); }
.home-page .sticker { animation: home-sticker-float 4.2s ease-in-out infinite alternate; }
.home-page .sticker.s2 { animation-delay: -1.5s; }
.home-page .sticker.s3 { animation-delay: -2.4s; }
.home-page .marquee { margin-top: -2px; position: relative; z-index: 1; }
.home-page .home-principles { padding-top: clamp(86px,11vw,142px); padding-bottom: clamp(88px,11vw,138px); }
.home-page .sectionhead { margin-bottom: 38px; }
.home-page .sectionhead h2, .home-page .journey-intro h2 { font-size: clamp(42px,6vw,73px); line-height: .98; letter-spacing: -.065em; }
.home-page .principle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.home-page .principle-card { position: relative; overflow: hidden; min-height: 280px; padding: clamp(23px,3vw,34px); border: 1.5px solid var(--ink); border-radius: 22px; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.home-page .principle-card::after { content: ""; position: absolute; right: -43px; top: -53px; width: 160px; height: 160px; border: 1px solid rgba(23,23,21,.15); border-radius: 50%; box-shadow: 0 0 0 17px rgba(255,255,255,.12), 0 0 0 36px rgba(255,255,255,.09); transition: transform .5s; }
.home-page .principle-card:hover { transform: translateY(-7px) rotate(-.5deg); box-shadow: 8px 9px 0 var(--ink); }
.home-page .principle-card:hover::after { transform: scale(1.17) rotate(18deg); }
.home-page .principle-card.tone-blue { background: #d9eaff; }
.home-page .principle-card.tone-green { background: #dff2df; }
.home-page .principle-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 15px; background: var(--paper); font-size: 23px; box-shadow: 2px 2px 0 var(--ink); }
.home-page .principle-num { position: absolute; top: 32px; right: 30px; font-size: 10px; }
.home-page .principle-card h3 { position: relative; z-index: 1; margin: 36px 0 10px; font: 700 clamp(22px,2.4vw,29px)/1 "Space Grotesk",system-ui,sans-serif; letter-spacing: -.045em; }
.home-page .principle-card p { position: relative; z-index: 1; max-width: 300px; color: #514b42; font-size: 13px; line-height: 1.7; }
.home-page .principle-card a { position: relative; z-index: 2; display: inline-flex; gap: 12px; align-items: center; margin-top: 9px; padding-bottom: 3px; border-bottom: 1.5px solid var(--ink); font-size: 11px; font-weight: 900; }
.home-page .principle-card a span { color: #a9271d; transition: transform .2s; }
.home-page .principle-card a:hover span { transform: translate(3px,-2px); }
.home-page .home-roles { position: relative; overflow: hidden; background: #f3e9da; border-block: 1.5px solid var(--ink); }
.home-page .home-roles::before { content: "UPJOVO"; position: absolute; right: -2vw; bottom: -8vw; color: rgba(23,23,21,.035); font: 700 clamp(100px,22vw,300px)/.8 "Space Grotesk",sans-serif; letter-spacing: -.09em; pointer-events: none; }
.home-page .home-roles .wrap { position: relative; z-index: 1; }
.home-page .home-role-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.home-page .home-role { display: flex; align-items: center; gap: 17px; min-height: 111px; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: 2px 2px 0 rgba(23,23,21,.4); transition: transform .24s, box-shadow .24s, background .24s; }
.home-page .home-role:hover { transform: translateY(-4px); box-shadow: 5px 6px 0 var(--ink); background: #fff; }
.home-page .home-role-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--yellow); font-size: 21px; }
.home-page .home-role-icon.color-orange { background: #ffe0d1; }
.home-page .home-role-icon.color-green { background: #dff2df; }
.home-page .home-role-icon.color-blue { background: #d9eaff; }
.home-page .home-role > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.home-page .home-role small { color: #a83229; font: 700 9px "DM Mono",monospace; letter-spacing: .11em; }
.home-page .home-role strong { font: 700 19px "Space Grotesk",system-ui,sans-serif; letter-spacing: -.035em; }
.home-page .home-role em { color: var(--muted); font-size: 11px; font-style: normal; }
.home-page .home-role > b { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; margin-left: auto; border: 1px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 18px; transition: transform .25s; }
.home-page .home-role:hover > b { transform: rotate(45deg); }
.home-page .role-more { display: flex; justify-content: center; margin-top: 30px; }
.home-page .home-journey { padding-block: clamp(82px,10vw,128px); }
.home-page .journey-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,7vw,90px); padding: clamp(26px,5vw,62px); border: 1.5px solid var(--ink); border-radius: 27px; background: linear-gradient(125deg,#fffdf8 0%,#fff4df 100%); box-shadow: 7px 7px 0 var(--ink); }
.home-page .journey-intro h2 { margin-bottom: 16px; }
.home-page .journey-intro p { max-width: 380px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.home-page .journey-intro .btn { margin-top: 12px; }
.home-page .journey-steps { align-self: center; }
.home-page .journey-steps article { display: grid; grid-template-columns: 43px 1fr 26px; gap: 15px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--line); }
.home-page .journey-steps article:last-child { border: 0; }
.home-page .journey-steps article > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 12px; background: var(--yellow); font: 700 11px "DM Mono",monospace; }
.home-page .journey-steps article:nth-child(2) > span { background: var(--blue); }
.home-page .journey-steps article:nth-child(3) > span { background: var(--green); }
.home-page .journey-steps h3 { margin: 0 0 4px; font: 700 18px "Space Grotesk",system-ui,sans-serif; }
.home-page .journey-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.home-page .journey-steps article > b { color: #a83229; font-size: 17px; }
.home-page .home-last-call { overflow: hidden; background: var(--ink); color: white; }
.home-page .last-call-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 340px; padding-block: 65px; }
.home-page .last-call-inner .kicker { color: var(--yellow); }
.home-page .last-call-inner h2 { position: relative; z-index: 1; margin: 0 0 14px; font: 700 clamp(47px,7vw,82px)/.92 "Space Grotesk",system-ui,sans-serif; letter-spacing: -.07em; }
.home-page .last-call-inner h2 span { color: var(--yellow); }
.home-page .last-call-inner p { max-width: 440px; margin: 0; color: #d0c9bd; font-size: 13px; line-height: 1.7; }
.home-page .last-call-actions { position: relative; z-index: 2; display: grid; justify-items: start; gap: 18px; margin-right: 12%; }
.home-page .last-call-actions .btn { border-color: var(--yellow); box-shadow: 3px 3px 0 var(--yellow); }
.home-page .last-contact { color: white; border-bottom: 1px solid var(--yellow); padding-bottom: 4px; font-size: 12px; font-weight: 800; }
.home-page .last-contact span { margin-left: 8px; color: var(--yellow); }
.home-page .last-call-star { position: absolute; right: -4%; top: 50%; color: rgba(255,212,90,.08); font-size: clamp(220px,36vw,460px); line-height: .7; transform: translateY(-50%); animation: desk-star-turn 55s linear infinite; pointer-events: none; }
.home-page .footer { border-top: 2px solid var(--yellow); }
.home-page .footer .logo { display: inline-block; }
@keyframes home-label-arrive { from { opacity: 0; transform: translateY(9px) rotate(-2deg); } to { opacity: 1; transform: translateY(0) rotate(-2deg); } }
@keyframes home-orbit { to { transform: rotate(344deg); } }
@keyframes home-glow { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes home-sticker-float { from { translate: 0 0; } to { translate: 0 -8px; } }

/* Keep long homepage sections cheap to paint until they approach the viewport. */
@supports (content-visibility: auto) {
  .home-page main > .home-principles { content-visibility: auto; contain-intrinsic-size: auto 760px; }
  .home-page main > .home-roles { content-visibility: auto; contain-intrinsic-size: auto 820px; }
  .home-page main > .home-journey { content-visibility: auto; contain-intrinsic-size: auto 650px; }
  .home-page main > .home-last-call { content-visibility: auto; contain-intrinsic-size: auto 420px; }
}
/* Pause purely decorative loops while the visitor is actively scrolling. */
.home-page.is-scrolling .home-art::before,
.home-page.is-scrolling .blob,
.home-page.is-scrolling .sticker,
.home-page.is-scrolling .marquee-track,
.home-page.is-scrolling .last-call-star,
.home-page.is-scrolling .hero-copy .eyebrow,
.home-page.is-scrolling .promise-mark { animation-play-state: paused !important; }
@media (max-width: 760px) {
  @supports (content-visibility: auto) {
    .home-page main > .home-principles { contain-intrinsic-size: auto 1180px; }
    .home-page main > .home-roles { contain-intrinsic-size: auto 1120px; }
    .home-page main > .home-journey { contain-intrinsic-size: auto 780px; }
    .home-page main > .home-last-call { contain-intrinsic-size: auto 460px; }
  }
}

/* Shared finish for interior, application, information, and policy pages. */
body.interior-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(255,212,90,.16), transparent 28rem),
    radial-gradient(ellipse at 4% 48%, rgba(184,217,255,.13), transparent 26rem),
    var(--cream, #fff8ed);
}
body.interior-page > header.nav {
  position: sticky; top: 0; z-index: 60; width: 100%;
  padding: 12px max(18px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(32,28,27,.1);
  background: #fff8ed; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 8px 28px rgba(32,24,16,.045);
}
body.interior-page > header.nav .navin {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; min-height: 64px; max-width: 1160px; margin: 0 auto;
}
body.interior-page > header.nav .logo {
  flex: 0 0 auto; font: 700 29px/1 "Space Grotesk",sans-serif;
  letter-spacing: -2px; color: var(--ink,#171715); text-decoration: none;
}
body.interior-page > header.nav .logo b { color: var(--red,#f04438); }
body.interior-page .navlinks { gap: clamp(10px,1.5vw,20px); }
body.interior-page .navlinks a { font-size: 12px; }
body.interior-page .navlinks a[aria-current="page"] { color: #a9271d; }
body.interior-page .navlinks a:not(.navcta)::after { bottom: -7px; }
body.interior-page main:not(.card) { animation: page-arrive 380ms cubic-bezier(.2,.75,.25,1) both; }
body.interior-page main .pagehead { padding-top: clamp(36px,6vw,72px); }
body.interior-page main h1 { letter-spacing: -.065em; }
body.interior-page main .panel,
body.interior-page main .rolecard,
body.interior-page main .value,
body.interior-page main .role {
  border-color: rgba(32,28,27,.12);
  box-shadow: 0 12px 34px rgba(35,27,19,.065);
}
body.interior-page .footer {
  width: min(1160px,calc(100% - 36px));
  margin: 44px auto 0; padding-block: 28px;
  border-top: 1px solid rgba(32,28,27,.14);
}
body.interior-page > footer.footer {
  padding-inline: clamp(18px,calc((100vw - 1160px) / 2),80px);
  border: 1px solid #171715; border-radius: 24px 24px 0 0;
  background: #171715; color: #fffdf8;
}
body.interior-page > footer.footer a { color: #fffdf8; text-underline-offset: 4px; }
body.interior-page .legal {
  max-width: 900px; margin: clamp(24px,5vw,58px) auto 0;
  padding: clamp(24px,5vw,56px); border: 1px solid rgba(32,28,27,.12);
  border-radius: 26px; background: rgba(255,253,248,.86);
  box-shadow: 0 18px 48px rgba(48,32,17,.07);
}
body.interior-page .legal .pagehead { padding-top: 0; }
body.interior-page .legal h2 { padding-top: 8px; }
body.interior-page .legal a { color: #174ea6; text-underline-offset: 3px; }
body.interior-page .contact-enquiry { margin-top: 32px; }
body.interior-page .errorbox, body.interior-page .notice, body.interior-page .success { border-radius: 16px; }
body.error-page { display: grid; place-items: center; }
body.error-page > .card { animation: modal-arrive 420ms cubic-bezier(.2,.75,.25,1) both; }
@media (max-width: 760px) {
  body.interior-page > header.nav { padding: 12px 18px; }
  body.interior-page > header.nav .navlinks { justify-content: flex-start; }
  body.interior-page .legal { width: min(100% - 24px,900px); padding: 24px 20px; border-radius: 20px; }
  body.interior-page .footer { width: calc(100% - 24px); }
}
@media (max-width: 560px) {
  body.interior-page .navlinks { display: flex; flex-wrap: wrap; gap: 8px 12px; }
  body.interior-page .navlinks a:not(.navcta) { display: block; }
  body.interior-page .navcta { display: inline-flex; }
}
@media (max-width: 560px) {
  body.interior-page > header.nav .navin { position: relative; min-height: 44px; }
  body.interior-page.motion-ready .mobile-nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  body.interior-page.motion-ready > header.nav .navlinks {
    position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 70;
    display: none; padding: 12px; border: 1.5px solid var(--ink,#171715);
    border-radius: 16px; background: var(--paper,#fffdf8); box-shadow: 4px 5px 0 var(--ink,#171715);
  }
  body.interior-page.motion-ready > header.nav .navlinks.is-open { display: grid; gap: 2px; }
  body.interior-page.motion-ready > header.nav .navlinks a:not(.navcta) { display: block; padding: 11px 10px; border-radius: 9px; }
  body.interior-page.motion-ready > header.nav .navlinks a:not(.navcta):hover { background: #fff0bd; }
  body.interior-page.motion-ready > header.nav .navlinks .navcta { justify-self: stretch; margin-top: 5px; text-align: center; }
  body.interior-page:not(.motion-ready) .mobile-nav-toggle { display: none; }
  body.interior-page:not(.motion-ready) > header.nav .navlinks { position: static; display: flex; flex-wrap: wrap; }
}

/* Founder spotlight used as a consistent premium close across career pages. */
.founder-spotlight { position: relative; isolation: isolate; }
.founder-spotlight::before {
  content: ""; position: absolute; z-index: -1; width: min(52vw,620px); aspect-ratio: 1;
  right: -10%; top: 2%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle,rgba(255,212,90,.3),rgba(255,212,90,0) 68%);
  animation: founder-halo 7s ease-in-out infinite alternate;
}
.founder-card {
  position: relative; overflow: hidden; border: 1.5px solid var(--ink,#171715) !important;
  box-shadow: 6px 7px 0 var(--ink,#171715), 0 22px 60px rgba(48,32,17,.08) !important;
  animation: founder-arrive .72s cubic-bezier(.2,.8,.2,1) both;
}
.founder-card::after {
  content: "✳"; position: absolute; right: 24%; top: -48px; color: rgba(169,39,29,.08);
  font: 700 180px/1 "Space Grotesk",sans-serif; pointer-events: none; transform: rotate(-12deg);
}
.founder-avatar { position: relative; z-index: 1; }
.founder-contact { position: relative; z-index: 1; }
.founder-contact a { padding: 10px 13px; border: 1px solid rgba(32,28,27,.22); border-radius: 999px; background: #fffdf8; }
.founder-contact a:hover { transform: translateY(-2px); box-shadow: 2px 3px 0 var(--ink,#171715); }
@keyframes founder-arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes founder-halo { from { transform: translate3d(0,0,0) scale(.92); opacity: .6; } to { transform: translate3d(-12px,8px,0) scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .founder-spotlight::before { animation: none; } .founder-card { animation: none; } }

@media (max-width: 760px) {
  .home-page .home-hero { min-height: auto; padding-block: 74px 55px; }
  .home-page .principle-grid { grid-template-columns: 1fr; }
  .home-page .principle-card { min-height: 240px; }
  .home-page .journey-panel { grid-template-columns: 1fr; }
  .home-page .last-call-actions { margin-right: 3%; }
}
@media (max-width: 560px) {
  .home-page .navin { position: relative; }
  .mobile-nav-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); box-shadow: 2px 2px 0 var(--ink); font-size: 11px; font-weight: 900; }
  .mobile-nav-toggle span { color: #a9271d; }
  .home-page.motion-ready .navlinks { position: absolute; display: none; top: calc(100% + 8px); right: 0; left: 0; padding: 12px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: 4px 5px 0 var(--ink); }
  .home-page.motion-ready .navlinks.is-open { display: grid; gap: 0; }
  .home-page.motion-ready .navlinks a:not(.navcta) { display: block; padding: 11px 10px; border-radius: 9px; }
  .home-page.motion-ready .navlinks a:not(.navcta):hover { background: #fff0bd; }
  .home-page.motion-ready .navlinks .navcta { justify-self: stretch; margin-top: 5px; text-align: center; }
  .home-page:not(.motion-ready) .mobile-nav-toggle { display: none; }
  .home-page:not(.motion-ready) .navlinks { position: static; display: flex; flex-wrap: wrap; }
  .home-page .home-hero { padding-top: 53px; }
  .home-page .hero h1 { font-size: clamp(53px,14vw,74px); letter-spacing: -.065em; }
  .home-page .art { min-height: 350px; }
  .home-page .home-art::before { width: 100%; height: 78%; }
  .home-page .home-role-grid { grid-template-columns: 1fr; }
  .home-page .home-role { min-height: 100px; padding: 15px; gap: 12px; }
  .home-page .home-role strong { font-size: 17px; }
  .home-page .journey-panel { padding: 25px 20px; border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .home-page .last-call-inner { display: grid; min-height: 390px; align-content: center; gap: 27px; }
  .home-page .last-call-actions { margin: 0; }
  .home-page .last-call-star { right: -29%; top: 22%; }
  .home-page .footerin { align-items: flex-start; }
}

/* Keep the index-page navigation consistent on every public route, including
   legal pages whose legacy inline styles otherwise override the shared bar. */
body.home-page > header.nav,
body.interior-page > header.nav,
body.error-page > header.nav {
  position: sticky !important; top: 0; z-index: 90;
  display: block !important; width: 100%; padding: 0 !important;
  border-bottom: 1px solid rgba(23,23,21,.12);
  background: #fff7eb !important; box-shadow: 0 8px 28px rgba(32,24,16,.045);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.home-page > header.nav .navin,
body.interior-page > header.nav .navin,
body.error-page > header.nav .navin {
  width: min(1180px,calc(100% - 44px)); max-width: 1180px;
  min-height: 76px; height: auto; margin: 0 auto;
}
body.interior-page > header.nav .navlinks { align-items: center; }
body.interior-page > header.nav .navlinks a:not(.navcta) { text-decoration: none; }
body.interior-page > header.nav .navlinks .navcta { text-decoration: none; }
body.error-page { display: block !important; min-height: 100vh; }
body.error-page > .card { margin: clamp(48px,9vh,100px) auto; }

/* Applicant drafts and the already-submitted state. */
.session-countdown { color: #665d53; font-size: 11px; white-space: nowrap; }
.session-countdown strong { color: #a9271d; font-variant-numeric: tabular-nums; }
.app-status-check, .draft-status {
  color: #655d55; font-size: 12px; line-height: 1.6;
}
.app-status-check { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8; }
.draft-status { flex: 1 1 100%; min-height: 18px; }
.app-status-card:not([hidden]) {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start;
  gap: 18px; margin: 0 0 20px; padding: clamp(20px,4vw,30px);
  border: 1.5px solid var(--ink); border-radius: 20px; background: #f0f8f1;
  box-shadow: 4px 5px 0 var(--ink); animation: upjovo-enter .38s cubic-bezier(.2,.75,.25,1) both;
}
.app-status-card[hidden] { display: none !important; }
.app-status-card h3 { margin: 8px 0; font: 700 clamp(22px,3vw,30px)/1.1 "Space Grotesk",sans-serif; }
.app-status-card p { margin: 0 0 14px; color: #625e56; line-height: 1.65; font-size: 13px; }
.status-checkmark { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid #171715; border-radius: 50%; background: #bfe7c8; font-size: 24px; font-weight: 900; }
.app-status-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 18px; font-size: 12px; color: #655d55; }
.app-status-meta strong { color: #171715; }
@media (max-width: 560px) {
  body.home-page > header.nav .navin, body.interior-page > header.nav .navin, body.error-page > header.nav .navin { width: calc(100% - 30px); min-height: 65px; }
  .app-status-card:not([hidden]) { grid-template-columns: 1fr; gap: 12px; }
  .app-status-meta { display: grid; }
}

/* Give the Apply action the same treatment on every public page, even where
   legacy page-level styles define a different header or link appearance. */
body.home-page > header.nav .navlinks .navcta,
body.interior-page > header.nav .navlinks .navcta,
body.error-page > header.nav .navlinks .navcta,
body.home-page > header.nav .mobile-apply-cta,
body.interior-page > header.nav .mobile-apply-cta,
body.error-page > header.nav .mobile-apply-cta {
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 18px;
  border: 2px solid #171715;
  border-radius: 999px;
  background: #a9271d;
  color: #fff;
  box-shadow: 3px 3px 0 #171715;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background-color var(--motion-fast);
}
body.home-page > header.nav .navlinks .navcta,
body.interior-page > header.nav .navlinks .navcta,
body.error-page > header.nav .navlinks .navcta { display: inline-flex; }
body.home-page > header.nav .navlinks .navcta:hover,
body.interior-page > header.nav .navlinks .navcta:hover,
body.error-page > header.nav .navlinks .navcta:hover,
body.home-page > header.nav .mobile-apply-cta:hover,
body.interior-page > header.nav .mobile-apply-cta:hover,
body.error-page > header.nav .mobile-apply-cta:hover {
  background: #8f2119;
  color: #fff;
  box-shadow: 1px 1px 0 #171715;
  transform: translate(2px,2px);
}
body.home-page > header.nav .navlinks .navcta:focus-visible,
body.interior-page > header.nav .navlinks .navcta:focus-visible,
body.error-page > header.nav .navlinks .navcta:focus-visible,
body.home-page > header.nav .mobile-apply-cta:focus-visible,
body.interior-page > header.nav .mobile-apply-cta:focus-visible,
body.error-page > header.nav .mobile-apply-cta:focus-visible {
  outline: 3px solid #174ea6;
  outline-offset: 4px;
}
@media (max-width: 560px) {
  body.home-page > header.nav .mobile-apply-cta,
  body.interior-page > header.nav .mobile-apply-cta,
  body.error-page > header.nav .mobile-apply-cta {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 39px;
    padding: 9px 11px;
    font-size: 10px;
  }
  body.home-page > header.nav .navlinks .navcta,
  body.interior-page > header.nav .navlinks .navcta,
  body.error-page > header.nav .navlinks .navcta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page > header.nav .navlinks .navcta,
  body.interior-page > header.nav .navlinks .navcta,
  body.error-page > header.nav .navlinks .navcta,
  body.home-page > header.nav .mobile-apply-cta,
  body.interior-page > header.nav .mobile-apply-cta,
  body.error-page > header.nav .mobile-apply-cta { transition: none; }
}

/* Carry the Hiring Desk overview's crisp dashboard surfaces through the
   public pages while preserving each page's own content and layout. */
body.interior-page:not(.error-page) {
  background:
    radial-gradient(ellipse at 2% 18%,rgba(255,212,90,.14),transparent 27rem),
    radial-gradient(ellipse at 98% 44%,rgba(184,217,255,.16),transparent 30rem),
    var(--cream,#fff7eb);
}
body.interior-page main .panel,
body.interior-page main .rolecard,
body.interior-page main .value,
body.interior-page main .role,
body.interior-page main .contact-enquiry,
body.interior-page main .founder-card {
  border: 1.5px solid var(--ink,#171715) !important;
  border-radius: 19px;
  box-shadow: 4px 4px 0 rgba(23,23,21,.12) !important;
}
body.interior-page main .pagehead .eyebrow,
body.interior-page main > .pagehead > .eyebrow {
  border: 1.5px solid var(--ink,#171715);
  background: var(--yellow,#ffd45a);
  color: var(--ink,#171715);
}
body.interior-page main .panel,
body.interior-page main .contact-enquiry { background: var(--paper,#fffdf8); }
body.interior-page main .rolecard:nth-child(2) { background: #dceaff; }
body.interior-page main .rolecard:nth-child(3) { background: #ffe1d5; }
body.interior-page main .rolecard:hover,
body.interior-page main .panel:hover,
body.interior-page main .contact-enquiry:hover {
  box-shadow: 5px 6px 0 rgba(23,23,21,.2) !important;
}
.contact-channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; align-items: stretch; }
.contact-channel-grid .rolecard { min-width: 0; min-height: 0; }
.contact-channel-grid .rolecard .btn { max-width: 100%; width: fit-content; white-space: normal; text-align: center; }
.contact-enquiry { padding: clamp(20px,4vw,32px); }
.contact-enquiry .submit-row .btn { min-height: 46px; }
@media (max-width: 760px) {
  .contact-channel-grid { grid-template-columns: minmax(0,1fr) !important; }
  .contact-channel-grid .rolecard .btn { width: 100%; }
}

/* Finish public pages with the Hiring Desk overview's clear, framed visual language. */
body.home-page,
body.interior-page:not(.error-page) {
  --ink: #171715;
  --red: #f04438;
  --yellow: #ffd45a;
  --paper: #fffdf8;
  color: var(--ink);
}
body.interior-page:not(.error-page) main.wrap.narrow {
  width: min(780px, calc(100% - 36px));
}
body.interior-page:not(.error-page) main:not(.legal) > .pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 26px 0 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: linear-gradient(118deg, #fff0bd 0%, #fffaf0 54%, #fffdf8 100%);
  box-shadow: 5px 5px 0 var(--ink);
}
body.interior-page:not(.error-page) main:not(.legal) > .pagehead::after {
  content: "✳";
  position: absolute;
  z-index: -1;
  top: -48px;
  right: 18px;
  color: rgba(240, 68, 56, .09);
  font: 700 clamp(112px, 19vw, 180px)/1 "Space Grotesk", sans-serif;
  pointer-events: none;
}
body.interior-page:not(.error-page) main:not(.legal) > .pagehead > * {
  position: relative;
  z-index: 1;
}
body.interior-page:not(.error-page) main .pagehead h1,
body.interior-page:not(.error-page) main h2,
body.interior-page:not(.error-page) main h3 {
  font-family: "Space Grotesk", Manrope, system-ui, sans-serif;
}
body.interior-page:not(.error-page) main .panel,
body.interior-page:not(.error-page) main .rolecard,
body.interior-page:not(.error-page) main .value,
body.interior-page:not(.error-page) main .role,
body.interior-page:not(.error-page) main .formcard,
body.interior-page:not(.error-page) main .contact-enquiry {
  border: 1.5px solid var(--ink);
  border-radius: 19px;
  box-shadow: 4px 4px 0 rgba(23, 23, 21, .14);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
body.interior-page:not(.error-page) main .panel:hover,
body.interior-page:not(.error-page) main .rolecard:hover,
body.interior-page:not(.error-page) main .value:hover,
body.interior-page:not(.error-page) main .role:hover,
body.interior-page:not(.error-page) main .formcard:hover,
body.interior-page:not(.error-page) main .contact-enquiry:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 6px 7px 0 rgba(23, 23, 21, .2);
}
body.interior-page:not(.error-page) main .btn,
body.interior-page:not(.error-page) main button:not(.secondary):not(.ghost):not(.dark),
body.interior-page:not(.error-page) .navcta {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900;
}
body.interior-page:not(.error-page) main input,
body.interior-page:not(.error-page) main select,
body.interior-page:not(.error-page) main textarea {
  border-color: #d1c6b8;
  border-radius: 11px;
  background: #fff;
}
.contact-channel-grid {
  gap: 16px !important;
  margin-top: 0;
}
.contact-channel-grid .rolecard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: clamp(20px, 3vw, 28px);
}
.contact-channel-grid .rolecard .roleicon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 10px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  background: var(--paper);
}
.contact-channel-grid .rolecard h3 { margin-bottom: 3px; }
.contact-channel-grid .rolecard p { overflow-wrap: anywhere; }
.contact-channel-grid .rolecard .btn { margin: 4px 0; min-height: 48px; }
@media (max-width: 820px) {
  .contact-channel-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .contact-channel-grid .rolecard { padding: 23px; }
  .contact-channel-grid .rolecard .btn { width: min(100%, 300px); }
}
@media (max-width: 560px) {
  body.interior-page:not(.error-page) main.wrap.narrow { width: calc(100% - 28px); }
  body.interior-page:not(.error-page) main:not(.legal) > .pagehead {
    margin: 18px 0 20px;
    padding: 23px 19px;
    border-radius: 18px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  body.interior-page:not(.error-page) main:not(.legal) > .pagehead > p {
    font-size: 15px;
    line-height: 1.65;
  }
  .contact-channel-grid { gap: 13px !important; }
  .contact-channel-grid .rolecard { width: 100%; padding: 22px; }
  .contact-channel-grid .rolecard .btn { width: 100%; max-width: none; }
  .contact-enquiry { margin-top: 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.interior-page:not(.error-page) main .panel,
  body.interior-page:not(.error-page) main .rolecard,
  body.interior-page:not(.error-page) main .value,
  body.interior-page:not(.error-page) main .role,
  body.interior-page:not(.error-page) main .formcard,
  body.interior-page:not(.error-page) main .contact-enquiry { transition: none; }
}

/* Keep the primary Apply action one tap away in the compact navigation. */
.mobile-apply-cta { display: none; }
@media (max-width: 560px) {
  body.home-page > header.nav .navin,
  body.interior-page > header.nav .navin,
  body.error-page > header.nav .navin {
    display: flex;
    gap: 8px;
  }
  .mobile-apply-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 39px;
    padding: 9px 11px;
    font-size: 10px;
    white-space: nowrap;
  }
  .mobile-apply-cta span { margin-left: 3px; }
  body.home-page.motion-ready .navlinks .navcta,
  body.interior-page.motion-ready .navlinks .navcta,
  body.error-page.motion-ready .navlinks .navcta { display: none; }
}
@media (max-width: 365px) {
  body.home-page > header.nav .navin,
  body.interior-page > header.nav .navin,
  body.error-page > header.nav .navin { gap: 6px; }
  body.home-page > header.nav .logo,
  body.interior-page > header.nav .logo,
  body.error-page > header.nav .logo { font-size: 25px; }
  .mobile-apply-cta { padding-inline: 8px; }
  .mobile-nav-toggle { padding: 8px 9px; font-size: 10px; }
}
