/* ==========================================================================
   Provex Search — site styles
   Palette: Signal Teal · Type: Poppins (self-hosted)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #F4F8F9;
  --surface: #FFFFFF;
  --ink: #0A2540;
  --muted: #4F6470;
  --line: #DCE7EA;
  --accent: #0E7490;
  --accent-hover: #0B5D73;
  --soft: #DDF2F6;
  --deep: #062033;
  --deep-2: #0A2A40;
  --deep-ink: #EAF6F9;
  --deep-muted: #9DBFCC;
  --cyan: #22D3EE;
  --error: #B42318;
  --error-bg: #FEF3F2;

  --font: "Poppins", Arial, "Helvetica Neue", sans-serif;
  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 24px;
  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1120px;
  --section: clamp(64px, 9vw, 112px);
  --shadow: 0 1px 2px rgb(10 37 64 / .04), 0 8px 24px rgb(10 37 64 / .06);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--soft); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pill { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--accent); background: var(--soft); padding: 8px 16px; border-radius: 999px; line-height: 1.4; }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.h1 { font-size: clamp(2.35rem, 1.3rem + 4.2vw, 4.125rem); line-height: 1.05; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.h3 { font-size: clamp(1.4rem, 1.2rem + .9vw, 2rem); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head .lead { max-width: 640px; }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; gap: 16px 32px; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #12365c; }
.btn-cyan { background: var(--cyan); color: var(--deep); }
.btn-cyan:hover { background: #67E3F4; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .arrow { transition: transform .2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(244 248 249 / .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgb(10 37 64 / .05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; color: var(--ink); flex-shrink: 0; }
.brand-text { display: grid; gap: 4px; }
.brand-name { font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: -0.025em; word-spacing: .1em; white-space: nowrap; }
.brand-name span { color: var(--accent); }
.brand-tag { font-size: .625rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop ul { display: flex; gap: 28px; list-style: none; }
.nav-link { position: relative; font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 8px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--accent); font-weight: 600; }

.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.nav-mobile {
  inset: 0 0 auto auto; margin: 0; width: min(88vw, 360px); height: 100dvh; max-height: none;
  border: 0; padding: 24px; background: var(--surface); color: var(--ink);
  box-shadow: -20px 0 60px rgb(6 32 51 / .2);
}
.nav-mobile::backdrop { background: rgb(6 32 51 / .45); }
.nav-mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.nav-mobile ul { list-style: none; display: grid; gap: 4px; }
.nav-mobile ul a { display: block; padding: 14px 12px; border-radius: 12px; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.nav-mobile ul a:hover { background: var(--bg); }
.nav-mobile ul a[aria-current="page"] { color: var(--accent); background: var(--soft); }
.nav-mobile .btn { width: 100%; margin-top: 20px; }
.nav-mobile-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .9375rem; color: var(--muted); }
.nav-mobile-contact a { font-weight: 600; color: var(--ink); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .nav-mobile { transition: translate .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete; translate: 100% 0; }
  .nav-mobile:popover-open { translate: 0 0; }
  @starting-style { .nav-mobile:popover-open { translate: 100% 0; } }
}
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { min-height: 80px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.5rem; }
}
@media (max-width: 380px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.35rem; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section + .section-tight { padding-top: 0; }

/* Hero (centered) */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 10vw, 128px) clamp(64px, 8vw, 104px); text-align: center; isolation: isolate; }
.hero-watermark { position: absolute; z-index: -1; width: clamp(400px, 44vw, 600px); height: auto; aspect-ratio: 1; right: calc(clamp(400px, 44vw, 600px) * -0.18); top: 50%; translate: 0 -50%; color: var(--accent); opacity: .07; pointer-events: none; }
@media (max-width: 720px) { .hero-watermark { display: none; } }
.hero .wrap { display: grid; justify-items: center; gap: 26px; }
.hero .lead { max-width: 660px; }
.hero .btn-row { justify-content: center; }

/* Page hero (split) */
.page-hero { padding-block: clamp(48px, 7vw, 88px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 80px); align-items: center; }
.page-hero-copy { display: grid; gap: 24px; justify-items: start; }
.page-hero.center { text-align: center; }
.page-hero.center .wrap { grid-template-columns: 1fr; justify-items: center; max-width: 880px; }
.page-hero.center .page-hero-copy { justify-items: center; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

.byline { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--muted); }
.byline::before { content: ""; width: 36px; height: 3px; border-radius: 2px; background: var(--accent); }
.byline strong { color: var(--ink); }

.portrait { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.portrait::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 28px; background: var(--soft); z-index: -1; }
.portrait img { position: relative; width: 100%; aspect-ratio: 22 / 25; object-fit: cover; object-position: center 25%; border-radius: 28px; }
.portrait { isolation: isolate; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; }
.grid-4 > li > .card, .grid-3 > li > .card { height: 100%; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.contact-info .pill { justify-self: start; }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.card p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.card .bar { width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
a.card { text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease); }
a.card:hover { border-color: #b7d6de; box-shadow: var(--shadow); translate: 0 -2px; }
.card .card-more { margin-top: auto; padding-top: 6px; font-size: .875rem; font-weight: 600; color: var(--accent); }
.card-lg { padding: clamp(28px, 3vw, 36px); border-radius: 20px; gap: 12px; }
.card-lg h3 { font-size: 1.3rem; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.icon-tile svg { width: 22px; height: 22px; }

/* Role lists */
.role-list { list-style: none; display: grid; gap: 9px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.role-list li { display: flex; gap: 8px; font-size: .9rem; font-weight: 500; line-height: 1.4; }
.role-list li::before { content: "›"; color: var(--accent); font-weight: 700; }

/* Dark panels */
.panel-dark { background: var(--deep); color: var(--deep-ink); border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px); }
.panel-dark .muted, .panel-dark p { color: var(--deep-muted); }
.panel-dark .eyebrow { color: var(--cyan); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 40px); margin-top: clamp(28px, 4vw, 40px); }
.stat { display: grid; gap: 6px; align-content: start; }
.stat-num { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--cyan); }
.stat p { font-size: .95rem; line-height: 1.5; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* Process — arrows between steps (no numbers) */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 56px; row-gap: 56px; }
.process > li { position: relative; }
.process .step { height: 100%; }
.process > li::after {
  content: ""; position: absolute; width: 26px; height: 26px; background-color: var(--accent);
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.process > li:last-child::after { display: none; }
/* Desktop snake: row 1 left→right, turn down, row 2 right→left */
@media (min-width: 1025px) {
  .process > li::after { top: 50%; right: -41px; translate: 0 -50%; }
  .process.snake > li:nth-child(4)::after { top: auto; right: auto; bottom: -41px; left: 50%; translate: -50% 0; rotate: 90deg; }
  .process.snake > li:nth-child(5) { grid-row: 2; grid-column: 4; }
  .process.snake > li:nth-child(6) { grid-row: 2; grid-column: 3; }
  .process.snake > li:nth-child(7) { grid-row: 2; grid-column: 2; }
  .process.snake > li:nth-child(8) { grid-row: 2; grid-column: 1; }
  .process.snake > li:nth-child(n+5)::after { right: auto; left: -41px; rotate: 180deg; }
}
@media (max-width: 1024px) {
  .process { grid-template-columns: 1fr; row-gap: 48px; max-width: 560px; margin-inline: auto; }
  .process > li::after { left: 50%; bottom: -37px; translate: -50% 0; rotate: 90deg; }
}
.step-line { border-top: 2px solid var(--accent); padding-top: 22px; display: grid; gap: 10px; }
.step-line h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.step-line p { font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.process.lines > li::after { top: -12px; translate: 0 0; }
@media (max-width: 1024px) { .process.lines > li::after { top: auto; } }
.card-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.card-accent > svg { width: 26px; height: 26px; }
@media (min-width: 1025px) { .process.snake { grid-auto-rows: 1fr; } }
.card-accent p { color: #DDF2F6; }

/* Quote band */
.quote-band { background: var(--soft); border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.quote-band img { width: clamp(120px, 14vw, 170px); aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 50%; border: 5px solid #fff; flex-shrink: 0; }
.quote-band blockquote { margin: 0; display: grid; gap: 16px; }
.quote-band blockquote p { font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.quote-band figcaption, .quote-band cite { font-style: normal; font-size: .9375rem; color: var(--muted); }
.quote-band .grow { flex: 1; display: grid; gap: 12px; }
@media (max-width: 720px) { .quote-band { flex-direction: column; align-items: flex-start; } }

.quote-dark { background: var(--deep); border-radius: var(--radius-l); padding: clamp(36px, 6vw, 72px); display: grid; gap: 16px; }
.quote-dark p { font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--deep-ink); max-width: 940px; }
.quote-dark p span { color: var(--cyan); }
.quote-dark cite { font-style: normal; font-size: .9375rem; color: var(--deep-muted); }

/* CTA band */
.cta-band { background: var(--soft); border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .copy { display: grid; gap: 8px; }
.cta-band h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); }

/* Split text + card */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 64px); align-items: start; }
.split .stack { display: grid; gap: 20px; }
.prose p { color: var(--muted); line-height: 1.75; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Check list */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; line-height: 1.5; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.panel-dark .checks svg { color: var(--cyan); }

/* Engagement models */
.model { border-radius: 28px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.model-light { background: var(--surface); border: 1px solid var(--line); }
.model-dark { background: var(--deep); color: var(--deep-ink); }
.model-dark p { color: var(--deep-muted); }
.model-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.model-dark .eyebrow { color: var(--cyan); }
.badge { font-size: .75rem; font-weight: 700; color: var(--deep); background: var(--cyan); padding: 6px 12px; border-radius: 999px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8125rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.model-dark .chips li { background: transparent; border-color: rgb(255 255 255 / .2); }
.model hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.model-dark hr { background: rgb(255 255 255 / .14); }
.model-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.model-lists h3 { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.model-dark .model-lists h3 { color: var(--deep-muted); }
.model-lists .checks { gap: 10px; font-size: .9375rem; }
.model .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 520px) { .model-lists { grid-template-columns: 1fr; } }

.big-quote { text-align: center; display: grid; justify-items: center; gap: 16px; }
.big-quote svg { width: 40px; height: 40px; color: var(--accent); }
.big-quote p { font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 900px; }

/* Team diagram */
.org { display: grid; justify-items: center; }
.org-lead { width: 100%; background: var(--deep); color: var(--deep-ink); border-radius: 28px; padding: 28px; display: flex; align-items: center; gap: 24px; }
.org-lead img { width: 130px; height: 130px; object-fit: cover; object-position: center 28%; border-radius: 20px; flex-shrink: 0; }
.org-lead .eyebrow { color: var(--cyan); font-size: .75rem; }
.org-lead strong { display: block; font-size: 1.75rem; color: #fff; line-height: 1.2; }
.org-lead p { color: var(--deep-muted); font-size: .9rem; line-height: 1.5; }
.org-lines { width: 100%; height: 64px; color: var(--accent); }
.org-support { width: 100%; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.org-support li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.org-support strong { font-size: 1rem; line-height: 1.3; }
.org-support p { font-size: .85rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 560px) {
  .org-lead { flex-direction: column; align-items: flex-start; }
  .org-lines { display: none; }
  .org-support { grid-template-columns: 1fr; margin-top: 14px; }
}

.band-dark { background: var(--deep); border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band-dark p { font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff; max-width: 720px; }
.band-dark p span { color: var(--cyan); }

/* Candidates hero card */
.feature-list { background: var(--deep); color: var(--deep-ink); border-radius: 28px; padding: clamp(28px, 4vw, 40px); display: grid; gap: 22px; }
.feature-list .eyebrow { color: var(--cyan); }
.feature-list ul { list-style: none; display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.feature-list strong { display: block; font-size: 1.05rem; font-weight: 600; }
.feature-list span { font-size: .9rem; line-height: 1.5; color: var(--deep-muted); }

/* ---------- Contact ---------- */
.page-hero .wrap.contact-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .page-hero .wrap.contact-grid { grid-template-columns: 1fr; } }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.note-card picture, .quote-band picture, .org-lead picture { flex-shrink: 0; }
.contact-info { display: grid; gap: 24px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.contact-list li > * { display: flex; align-items: center; gap: 14px; font-weight: 600; text-decoration: none; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list a:hover span:last-child { color: var(--accent); }
.note-card { background: var(--soft); border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 18px; font-size: .95rem; line-height: 1.5; }
.note-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 28%; border: 3px solid #fff; flex-shrink: 0; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .875rem; font-weight: 600; }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px;
  background: var(--bg); color: var(--ink); font-size: 1rem; /* 16px avoids iOS zoom */
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #7A8C95; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b7cdd4; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgb(14 116 144 / .15); }
.error-msg { display: none; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 500; color: var(--error); }
.error-msg svg { width: 16px; height: 16px; flex-shrink: 0; }
.field :is(input, select, textarea):user-invalid,
.field :is(input, select, textarea).user-invalid-fallback { border-color: var(--error); background: var(--error-bg); }
.field :is(input, select, textarea):user-invalid ~ .error-msg,
.field :is(input, select, textarea).user-invalid-fallback ~ .error-msg { display: flex; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: .8125rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

/* Simple centered pages (thank-you / 404) */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.simple .wrap { display: grid; justify-items: center; gap: 20px; max-width: 640px; }
.simple .icon-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--accent); display: grid; place-items: center; }
.simple .icon-circle svg { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(24px, 4vw, 48px); background: var(--deep); color: var(--deep-muted); border-top: 4px solid var(--cyan); padding-block: clamp(48px, 7vw, 72px) 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: clamp(32px, 5vw, 64px); align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; }
.footer-brand svg { width: clamp(56px, 6vw, 76px); height: auto; aspect-ratio: 1; color: #fff; flex-shrink: 0; }
.footer-brand .brand-name { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); color: #fff; letter-spacing: -0.03em; }
.footer-brand .brand-name span { color: var(--cyan); }
.footer-brand .brand-tag { font-size: .8rem; letter-spacing: .24em; color: var(--deep-muted); font-weight: 500; }
.footer-brand .brand-text { gap: 10px; }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 44px; }
.footer-nav a, .footer-contact a { color: var(--deep-ink); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-contact { display: grid; gap: 8px; justify-items: end; text-align: right; font-size: .95rem; }
.footer-contact .phone { font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.btn-linkedin { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; color: var(--deep) !important; font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn-linkedin:hover { background: var(--cyan); }
.btn-linkedin svg { width: 24px; height: 24px; color: #0A66C2; }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: .8125rem; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-contact { justify-items: start; text-align: left; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rise { from { opacity: 0; translate: 0 24px; } }
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-watermark { display: none !important; }
  body { background: #fff; }
}

/* ---------- Open Roles ---------- */
[hidden] { display: none !important; }
.jobs-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.jobs-filter button { font: inherit; font-size: .875rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.jobs-filter button:hover { border-color: #b7d6de; }
.jobs-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.jobs-filter button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.jobs-count { margin-left: auto; font-size: .875rem; color: var(--muted); }
.job-list { list-style: none; display: grid; gap: 16px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 14px 32px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 32px; text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease); }
.job:hover { border-color: #b7d6de; box-shadow: var(--shadow); translate: 0 -2px; }
.job:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.job > :not(.job-side) { grid-column: 1; }
.job-cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.job h2 { font-size: 1.35rem; letter-spacing: -.015em; margin: 6px 0 4px; }
.job-client { display: flex; gap: 8px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.job-client svg, .meta svg { width: 16px; height: 16px; flex: none; }
.job-client svg { margin-top: 3px; }
.job-sum { font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; font-weight: 500; }
.meta span { display: inline-flex; gap: 7px; align-items: center; }
.meta svg { color: var(--accent); }
.job-side { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; gap: 10px; text-align: right; align-self: center; }
.job-side small { color: var(--muted); font-size: .8125rem; }
.job .btn svg, .roles-state .btn svg { width: 18px; height: 18px; }
.conf-note { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border-radius: var(--radius-m); padding: 20px 24px; margin-top: 28px; font-size: .9375rem; }
.conf-note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.roles-state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; justify-items: center; gap: 14px; }
.roles-state .icon-tile { margin-bottom: 4px; }
.roles-state p { color: var(--muted); max-width: 560px; }
.roles-state .btn-row { justify-content: center; margin-top: 8px; }
.skeleton { list-style: none; display: grid; gap: 16px; }
.skeleton li { height: 190px; border-radius: var(--radius-m); border: 1px solid var(--line); background: linear-gradient(90deg, var(--surface) 0%, #eef4f6 50%, var(--surface) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton li { animation: none; } }
.placed { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.placed .card { padding: 22px; }
.placed .card p { font-size: .875rem; }
.placed .tag { font-size: .75rem; font-weight: 600; color: var(--accent); }

.role-wrap { padding-block: clamp(32px, 5vw, 56px) var(--section); }
.back { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; color: var(--accent); text-decoration: none; margin-bottom: 20px; }
.back:hover { text-decoration: underline; }
.back svg { width: 18px; height: 18px; }
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.jd .h2 { margin: 6px 0 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 28px 0 8px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; }
.facts dt { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: .95rem; }
.jd h2:not(.h2) { font-size: 1.25rem; margin: 36px 0 14px; }
.jd > p:not(.job-cat):not(.job-client) { color: var(--muted); line-height: 1.7; }
.jd .posted { margin-top: 32px; font-size: .875rem; }
.role-form { position: sticky; top: 100px; }
.jump { display: none; margin-top: 18px; }
.applying { font-size: .8125rem; font-weight: 600; color: var(--accent); background: var(--soft); display: inline-block; padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="file"] { padding: 12px; background: var(--bg); border-style: dashed; cursor: pointer; font-size: .875rem; color: var(--muted); }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 999px; padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field textarea.short { min-height: 96px; }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .role-form { position: static; scroll-margin-top: 90px; }
  .jump { display: inline-flex; }
  .placed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .job { grid-template-columns: 1fr; padding: 22px; }
  .job-side { grid-column: 1; grid-row: auto; order: 9; display: flex; align-items: center; gap: 14px; justify-items: start; text-align: left; }
  .jobs-count { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) { .placed { grid-template-columns: 1fr; } }
