/* ==========================================================================
   internationalwebdevelopers.com — stylesheet
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections  6. Pages  7. Utilities  8. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url(/assets/fonts/google-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url(/assets/fonts/google-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url(/assets/fonts/google-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F5F8FA;
  --bg-alt: #EAF1F5;
  --surface: #FFFFFF;
  --ink: #0B2A38;
  --ink-2: #0E3A4E;
  --text: #2B3B45;
  --muted: #5B6B76;
  --line: #DCE5EB;
  --line-strong: #C3D1DA;
  --primary: #065372;
  --primary-ink: #043D55;
  --primary-soft: #E2EEF4;
  --dark: #053A51;
  --dark-2: #04293A;
  --on-dark: #CFE0E8;
  --on-dark-muted: #9BB7C5;
  --accent: #AC1F23;
  --accent-ink: #8E171B;
  --accent-soft: #FBECEC;
  --highlight: #F2C6C7;
  --error: #B42318;
  --error-soft: #FDECEA;
  --ok: #157347;

  --serif: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --sans: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --shadow: 0 1px 2px rgba(6,40,56,.05), 0 10px 30px -14px rgba(6,40,56,.22);
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, .h3, .h4, .h5 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2, .h1, .h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.35rem, 4.8vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3, .h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }
h2.h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.h5 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #4C9BBE; outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.env-bar { background: var(--accent); color: #fff; text-align: center; font: 600 12px/1 var(--sans); letter-spacing: .1em; padding: 6px; }

/* 3. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.narrow-left { max-width: 880px; width: auto; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); margin-right: var(--gutter); padding-left: 0; padding-right: 0; }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .55) 0; }
.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--dark); color: var(--on-dark); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow, .cta-band .eyebrow { color: var(--highlight); }
.section-ink .lead, .section-ink p { color: var(--on-dark); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: .6em; }
.section-cta { margin: 36px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text); max-width: 640px; }
.muted { color: var(--muted); }
.fine-print { font-size: .875rem; color: var(--muted); margin-top: 14px; }

/* 4. Components --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--primary-soft); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn-stack { display: grid; gap: 10px; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.text-link:hover { color: var(--primary); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon { flex: none; vertical-align: middle; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }

.avatar { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font: 600 1.35rem/1 var(--serif); flex: none; object-fit: cover; }
.avatar-sm { width: 36px; height: 36px; font-size: 1rem; }

.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--primary); margin-top: 3px; }
.section-ink .check-list .icon { color: var(--highlight); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; }
.trust-row a, .trust-row li { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.trust-row-stack { flex-direction: column; gap: 10px; margin: 26px 0; }

/* Forms */
.lead-form { position: relative; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 16px; }
.field { grid-column: span 6; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field-half { grid-column: span 3; }
.field-third { grid-column: span 2; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
input[type=text], input[type=email], input[type=url], input[type=date], input[type=number], input[type=password], input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 13px; min-height: 46px; transition: border-color .15s, box-shadow .15s; }
input[type=file] { padding: 9px; font-size: .9rem; }
textarea { resize: vertical; min-height: 90px; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23065372' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .85rem; margin-top: 6px; }
.form-alert { background: var(--error-soft); color: var(--error); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.form-success { display: flex; gap: 12px; align-items: flex-start; background: var(--primary-soft); color: var(--primary-ink); border-radius: var(--r); padding: 18px; }
.form-success p { margin: 0; font-weight: 500; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: .9rem; background: #fff; transition: all .12s; }
.choice input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.counter { display: block; text-align: right; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.consent-box { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 2px 0 12px; cursor: pointer; }
.consent-box input, .check input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; margin-top: 3px; }
.consent-line { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink); }

/* Dialog */
.dialog { border: 0; padding: 0; border-radius: var(--r-lg); width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); color: var(--text); }
.dialog::backdrop { background: rgba(6,40,56,.55); backdrop-filter: blur(2px); }
.dialog-body { padding: clamp(22px, 4vw, 36px); position: relative; }
.dialog-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--muted); border-radius: 50%; }
.dialog-close:hover { color: var(--ink); background: var(--bg); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--primary); transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 2px 22px; margin: 0; max-width: 680px; }

/* Process */
.process { list-style: none; display: grid; gap: 0; counter-reset: s; }
.process-step { position: relative; padding: 0 0 30px 72px; }
.process-step::before { content: ""; position: absolute; left: 23px; top: 50px; bottom: 6px; width: 1.5px; background: var(--line-strong); }
.process-step:last-child::before { display: none; }
.process-num { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font: 600 1.2rem/1 var(--serif); box-shadow: 0 0 0 5px var(--primary-soft); }
.process-step h3 { margin: 10px 0 6px; }
.process-step p { margin: 0; color: var(--muted); max-width: 560px; }
.process-row { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-row .process-step { padding: 64px 0 0; }
.process-row .process-step::before { left: 54px; right: -14px; top: 23px; bottom: auto; width: auto; height: 1.5px; }
.process-row .process-step p { font-size: .95rem; }

/* 5. Sections ----------------------------------------------------------- */
/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.wordmark { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.wordmark img { height: 90px; width: auto; }
.wordmark-light img { height: 64px; }
.wordmark-name { font: 600 1.18rem/1.1 var(--serif); letter-spacing: -.01em; }
.wordmark-by { font-size: .74rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.wordmark-light { color: #fff; }
.wordmark-light .wordmark-by { color: var(--on-dark-muted); }
.primary-nav ul { list-style: none; display: flex; gap: 26px; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current] { border-bottom-color: var(--accent); color: var(--primary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 19ch; font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.hero .lead { margin: 22px 0 30px; }
.delivery-line { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .95rem; color: var(--muted); }
.delivery-line .icon { color: var(--primary); }
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.panel-label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21,115,71,.15); }
.bench { list-style: none; margin: 0 0 18px; }
.bench li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); transition: .2s; }
ul.bench li:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: 0 18px 40px -22px rgba(4, 41, 58, .45);
    transition: .2s;
}
ul.icon-row li svg {
    width: 44px;
    height: 44px;
}
.bench-who { margin-right: auto; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; font-size: .95rem; }
.bench-who strong { color: var(--ink); }
.bench-who span { color: var(--muted); font-size: .86rem; }
.bench-yrs { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* Hero background modes (Admin → Settings → Homepage hero) */
.hero.has-bg { position: relative; isolation: isolate; background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,41,58,calc(var(--hero-overlay) + .15)) 0%, rgba(4,41,58,var(--hero-overlay)) 60%, rgba(4,41,58,calc(var(--hero-overlay) * .6)) 100%); }
.hero.on-dark h1, .hero.on-dark .lead, .hero.on-dark .eyebrow, .hero.on-dark .delivery-line, .hero.on-dark .delivery-line .icon { color: #fff; }
.hero.on-dark .btn-primary { background: var(--accent); }
.hero.on-dark .btn-primary:hover { background: var(--accent-ink); }
.hero.on-dark .btn-outline { border-color: #fff; color: #fff; }
.hero.on-dark .btn-outline:hover { background: #fff; color: var(--primary); }
.hero.has-bg:not(.on-dark) .hero-panel { box-shadow: 0 20px 50px -24px rgba(0,0,0,.45); }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 34px 0; }
.stat-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-tiles li { padding: 4px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat-tiles li:first-child { border-left: 0; padding-left: 0; }
.stat-tiles strong { font: 600 clamp(1.4rem, 2.2vw, 1.9rem)/1.15 var(--serif); color: var(--primary); }
.stat-tiles span { color: var(--muted); font-size: .92rem; }
.trust-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: .95rem; }
.trust-foot > a:first-child { color: var(--text); display: inline-flex; gap: 6px; align-items: center; }

/* Comparison */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row > span { padding: 18px 24px; display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); }
.compare-headings > span { border-top: 0; font: 600 .8rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.compare-headings > span:last-child { color: var(--primary-ink); background: var(--primary-soft); }
.compare-in { color: var(--muted); }
.compare-in .icon { color: var(--accent); margin-top: 2px; }
.compare-out { background: #FAFCFD; color: var(--ink); font-weight: 500; border-left: 1px solid var(--line); }
.compare-out .icon { color: var(--primary); margin-top: 2px; }

/* Role cards */
.role-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.role-card:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--text); }
.role-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); margin-bottom: 16px; }
.role-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.role-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.role-card-cta { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.role-card-cta h3 { color: #fff; }
.role-card-cta p { color: var(--on-dark); }
.role-card-cta .role-icon { background: rgba(255,255,255,.08); color: #FFFFFF; }
.role-card-cta:hover { color: var(--on-dark); }

/* Model strip (home) */
.model-strip { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--primary); }
.model-strip li { padding: 26px 28px 8px 0; }
.model-strip li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.model-num { font: 700 .95rem var(--serif); color: var(--accent); letter-spacing: .05em; }
.model-strip h3 { margin: 8px 0; font-size: 1.2rem; }
.model-strip p { color: var(--muted); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.work-shot img, .work-frame { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; }
.work-frame { display: grid; place-items: center; position: relative; background: linear-gradient(150deg, var(--primary), var(--dark-2)); color: #E2EEF4; padding: 24px; text-align: center; }
.frame-dots { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.frame-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.frame-name { font: 600 3.2rem/1 var(--serif); color: #fff; letter-spacing: .04em; }
.work-body { padding: 20px 22px 22px; }
.work-body h3 { font-size: 1.1rem; }
.work-body h3 a { color: var(--ink); }
.work-meta { margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.work-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.work-meta dd { margin: 2px 0 0; }

/* Warranty band */
.warranty-band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border: 1.5px solid var(--primary); border-top: 5px solid var(--accent); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); background: var(--surface); }
.warranty-points { list-style: none; display: grid; gap: 14px; }
.warranty-points li { display: flex; gap: 14px; align-items: center; font-size: 1.08rem; font-weight: 600; color: var(--ink); padding: 16px 18px; background: var(--primary-soft); border-radius: var(--r); }
.warranty-points .icon { color: var(--primary); }

/* Founder */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { width: 220px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface); border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--primary); display: grid; place-items: center; font: 600 4.5rem/1 var(--serif); color: var(--primary); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-sig { margin-top: 18px; color: var(--muted); }
.founder-sig strong { color: var(--ink); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; font: 400 1.1rem/1.55 var(--sans); color: var(--ink); }
.quote { border-top: 4px solid var(--accent); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* Closing + CTA band */
.closing { background: var(--surface); border-top: 1px solid var(--line); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.closing h2 { max-width: 18ch; }
.form-compact .form-grid { gap: 0 12px; }
.cta-band { background: var(--dark); color: var(--on-dark); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band-actions { justify-self: end; text-align: right; }
.cta-band-note { font-size: .88rem; color: var(--on-dark-muted); margin: 12px 0 0; }

/* Footer */
.site-footer { background: var(--dark-2); color: var(--on-dark); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { max-width: 360px; margin-top: 16px; }
.footer-delivery { color: var(--on-dark-muted); font-size: .9rem; }
.footer-h { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 26px; font-size: .86rem; }
.footer-bar p { margin: 0; }
.footer-bar a, .footer-bar .link-button { color: var(--on-dark); }
.footer-bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }

/* Mobile CTA + consent */
.mobile-cta { display: none; }
.consent { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.4); font-size: .92rem; }
.consent p { margin: 0 0 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent-cat { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.consent-cat input { width: 20px; height: 20px; accent-color: var(--primary); margin-top: 2px; }
.consent-cat span { display: flex; flex-direction: column; }
.consent-cat small { color: var(--muted); }
.consent-dialog .consent-actions { margin-top: 18px; }

/* 6. Pages -------------------------------------------------------------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero-compact { padding-bottom: 28px; }
.page-hero .lead { margin-top: 18px; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.page-hero-grid .btn-row { margin-top: 28px; }
.hero-facts { list-style: none; display: grid; gap: 14px; padding: 22px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; font-size: .96rem; }
.hero-facts li { display: flex; gap: 12px; align-items: flex-start; }
.hero-facts .icon { color: var(--primary); margin-top: 2px; }

/* Talent filter + grid */
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 32px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-bar fieldset { border: 0; padding: 0; margin: 0; }
.filter-bar legend { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: .9rem; background: var(--surface); transition: all .12s; }
.seg input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-count { margin: 0 0 6px auto; color: var(--muted); font-size: .9rem; }
.talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.talent-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.talent-top { display: flex; gap: 14px; align-items: center; }
.talent-id { margin-right: auto; min-width: 0; }
.talent-id h3 { margin: 0; font-size: 1.15rem; }
.talent-id p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.talent-years { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); line-height: 1.1; }
.talent-years strong { display: block; font: 600 1.6rem/1 var(--serif); color: var(--primary); }
.talent-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.availability { font-size: .84rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.availability.is-now { color: var(--ok); }
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.filter-empty { padding: 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); }

.skills { margin: 0; border-top: 2px solid var(--primary); }
.skill-row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.skill-row dt { font-weight: 600; color: var(--ink); }
.skill-row dd { margin: 0; }

.model-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; transition: .2s; }
.model-card:hover { border: 1.5px solid var(--primary); box-shadow: inset 0 4px 0 var(--accent); transition: .2s; }
.model-card p { color: var(--muted); }
.model-price { margin-top: auto !important; color: var(--primary) !important; font: 600 1.2rem/1.3 var(--serif); padding-top: 8px; }
.rate-card { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.table-scroll { overflow-x: auto; }
.rates { width: 100%; border-collapse: collapse; font-size: .96rem; }
.rates th, .rates td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line); }
.rates thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.rates tbody th { font-weight: 500; }
.rates td { font-weight: 600; color: var(--ink); white-space: nowrap; }
.offer-note { display: flex; gap: 10px; margin: 18px 0 0; background: var(--accent-soft); border-radius: var(--r); padding: 14px 16px; color: var(--ink); }
.addon-card { margin-top: 24px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--ink); }
.addon-card h3 { margin-bottom: 4px; }
.addon-card p { margin: 0; color: var(--text); }
.form-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }

/* How */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.col-card { background: var(--surface); border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); }
.col-card p { margin: 0; color: var(--muted); }
.overlap-note { margin-top: 24px; display: flex; gap: 10px; align-items: center; }
.warranty-table { margin: 0; border-top: 2px solid var(--primary); }
.warranty-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.warranty-row dt { font-weight: 600; color: var(--ink); display: flex; gap: 12px; align-items: center; }
.warranty-row dt .icon { color: var(--primary); }
.warranty-row dd { margin: 0; }
.icon-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.icon-row li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 500; color: var(--ink); }
.icon-row .icon { color: var(--primary); }

/* Calculator */
.section-calc { padding-top: 40px; }
.calc-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.calc-line { display: grid; grid-template-columns: 2.2fr .7fr 1.3fr .9fr auto; gap: 10px; align-items: end; padding: 16px 0; border-top: 1px solid var(--line); }
.calc-line .field { margin: 0; grid-column: auto; }
.calc-line label { font-size: .8rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 5px; }
.calc-line .line-remove { min-height: 46px; padding: 0 12px; }
.calc-line .field-error { grid-column: 1 / -1; margin: 0; }
.calc-lines { margin: 8px 0 12px; }
.calc-assumptions { border: 0; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.calc-assumptions legend { font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 14px; }
.toggle-field .check { margin-bottom: 8px; }
.inline-input { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.inline-input input { width: 90px; flex: none; }
.calc-results { position: sticky; top: 96px; display: grid; gap: 16px; }
.result-card { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); }
.result-headline { font: 600 clamp(1.4rem, 2.4vw, 1.75rem)/1.3 var(--serif); color: #fff; margin: 0 0 20px; }
.result-headline strong { color: #fff; font-weight: 700; box-shadow: inset 0 -.32em 0 var(--accent); }
.result-headline.is-small { font-size: 1.1rem; font-family: var(--sans); line-height: 1.5; }
.result-chart { display: grid; gap: 14px; margin-bottom: 12px; }
.chart-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-size: .85rem; }
.chart-bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.06); }
.chart-bar i { display: block; height: 100%; transition: width .35s ease; }
.chart-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; margin-bottom: 18px; }
.chart-legend li { display: inline-flex; gap: 6px; align-items: center; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; }
.result-figures { margin: 0 0 18px; display: grid; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.result-figures div { display: flex; justify-content: space-between; gap: 12px; }
.result-figures dd { margin: 0; color: #fff; font-weight: 600; }
.result-3yr dd { color: #fff; }
.liabilities ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; margin: 8px 0 16px; }
.liabilities li { display: inline-flex; gap: 6px; align-items: center; }
.liabilities .icon { color: var(--highlight); }
.liabilities .h5 { color: var(--on-dark-muted); margin: 0; }
.disclaimer { font-size: .78rem; color: var(--on-dark-muted); margin: 0; }
.report-sent h3 { display: flex; gap: 8px; align-items: center; color: var(--ok); }

/* Book */
.section-book { padding-top: clamp(40px, 6vw, 72px); }
.book-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.book-copy h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.book-copy h2 { margin-top: 28px; }
.founder-line { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.founder-line p { margin: 0; font-weight: 500; }
.step-label { font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
.calendar-embed { min-height: 680px; border-radius: var(--r); overflow: hidden; background: var(--bg); margin: 12px 0; }
.calendar-embed iframe { width: 100%; height: 700px; border: 0; display: block; }

/* Thanks + legal */
.thanks .thanks-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--primary); color: #fff; margin-bottom: 20px; }
.thanks .lead { margin: 0 auto 10px; }
.prose { font-size: 1rem; }
.prose h2 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; margin: 2em 0 .6em; }
.prose ul { padding-left: 20px; margin-bottom: 1em; }
.prose li { margin: 6px 0; }

/* 8. Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .role-cards { grid-template-columns: repeat(3, 1fr); }
  .process-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .process-row .process-step:nth-child(3)::before { display: none; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
}
@media (max-width: 920px) {
  body { padding-bottom: 76px; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; padding: 8px var(--gutter) 18px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-row { gap: 12px; }
  .header-cta { min-height: 40px; padding: 0 14px; }
  .header-row { min-height: 72px; }
  .wordmark img { height: 46px; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(245,248,250,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transition: transform .2s; }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .consent { bottom: 86px; }
  .hero-grid, .split, .closing-grid, .cta-band-inner, .page-hero-grid, .form-split, .book-layout, .warranty-band { grid-template-columns: 1fr; }
  .cta-band-actions { justify-self: start; text-align: left; }
  .stat-tiles { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .stat-tiles li:nth-child(3) { border-left: 0; padding-left: 0; }
  .model-strip, .work-grid, .quotes, .model-cards, .three-col { grid-template-columns: 1fr; }
  .model-strip li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .role-cards { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { width: 140px; font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .icon-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .wordmark img { height: 42px; }
  .role-cards, .talent-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .process-row .process-step { padding: 0 0 26px 72px; }
  .process-row .process-step::before { display: block !important; left: 23px; right: auto; top: 50px; bottom: 6px; width: 1.5px; height: auto; }
  .process-row .process-step:last-child::before { display: none !important; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-headings { display: none; }
  .compare-row > span { padding: 14px 18px; }
  .compare-out { border-left: 0; border-top: 0 !important; padding-top: 0 !important; }
  .field-half, .field-third { grid-column: span 6; }
  .skill-row, .warranty-row { grid-template-columns: 1fr; gap: 6px; }
  .calc-line { grid-template-columns: 1fr 1fr; }
  .calc-line .field:first-child { grid-column: 1 / -1; }
  .filter-count { margin-left: 0; }
  .btn-lg { width: 100%; }
  .chart-row { grid-template-columns: 74px 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .mobile-cta, .consent, .cta-band, .site-footer { display: none !important; } }

/* ==========================================================================
   Team profiles (/team/{slug}) and talent cards
   ========================================================================== */
.icon.flip { transform: rotate(180deg); }
.talent-photo { flex: none; border-radius: 50%; }
.talent-card .avatar { width: 64px; height: 64px; font-size: 1.5rem; }
.talent-id h3 a { color: var(--ink); text-decoration: none; }
.talent-id h3 a:hover { color: var(--primary); }
.talent-title { margin: 2px 0 6px !important; }
.talent-id .availability { font-size: .8rem; }
.talent-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.talent-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.talent-foot .text-link { font-size: .9rem; }
.bench-who { text-decoration: none; color: inherit; }
.bench-who:hover strong { color: var(--primary); }

.profile-hero { position: relative; overflow: hidden; padding: 28px 0 44px; background: linear-gradient(180deg, var(--primary-soft), var(--bg) 85%); border-bottom: 1px solid var(--line); }
.profile-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(6,83,114,.14), transparent 70%); pointer-events: none; }
.crumb { margin: 0 0 22px; font-size: .92rem; }
.crumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); text-decoration: none; font-weight: 600; }
.profile-head { display: flex; gap: 36px; align-items: center; position: relative; z-index: 1; }
.profile-photo { position: relative; width: 200px; height: 200px; flex: none; }
.profile-photo img, .profile-photo > span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--primary), var(--dark-2)); color: #fff; font: 600 4.6rem/1 var(--serif); border: 6px solid #fff; box-shadow: var(--shadow); }
.profile-ring { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); color: var(--accent); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.profile-id h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.profile-title { font-size: 1.2rem; color: var(--muted); margin: 6px 0 10px; }
.profile-id .availability { font-size: .92rem; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.profile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.profile-chips li { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; color: var(--ink); }
.profile-chips .icon { color: var(--primary); }

.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.profile-block { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.profile-block:last-child { border-bottom: 0; }
.profile-block .lead { max-width: none; }
.tags-lg li { font-size: .92rem; padding: 7px 14px; background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); font-weight: 500; }
.profile-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.profile-dl dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.profile-dl dd { margin: 0; color: var(--ink); }
.profile-dl ul { margin: 0; padding-left: 18px; }
.profile-side { position: sticky; top: 108px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.side-name { font: 600 1.05rem var(--serif); color: var(--ink); margin: 0 0 8px; }
.side-card .btn-stack { margin: 18px 0 4px; }

.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pf-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pf-media img, .pf-media .work-frame { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pf-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.pf-body h3 { margin: 0; font-size: 1.05rem; }
.pf-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.pf-empty { display: flex; gap: 10px; align-items: center; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); background: var(--surface); }

@media (max-width: 920px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; order: -1; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 26px; }
  .profile-photo { width: 150px; height: 150px; }
}
@media (max-width: 640px) { .pf-grid, .profile-dl { grid-template-columns: 1fr; } }

/* ==========================================================================
   Graphics: illustrations, floating accents, patterns
   ========================================================================== */
.illustration { margin: 0; width: 100%; }
.illustration svg, .illustration img { width: 100%; height: auto; display: block; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floaty-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.illustration .float, .stage-art .float { animation: floaty 5s ease-in-out infinite; transform-box: fill-box; }
.illustration .float-slow, .stage-art .float-slow { animation: floaty-slow 7s ease-in-out infinite; transform-box: fill-box; }

/* Hero: soft orb, dot grid and floating proof badges */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero:not(.has-bg)::after { content: ""; position: absolute; z-index: -2; inset: 0;
  background-image: radial-gradient(rgba(6,83,114,.13) 1.2px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 75%); mask-image: linear-gradient(100deg, transparent 35%, #000 75%); }
.hero-visual { position: relative; }
.hero-orb { position: absolute; z-index: -1; width: 420px; height: 420px; right: -60px; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(6,83,114,.22), rgba(6,83,114,.05) 60%, transparent 70%); }
.hero-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 600; font-size: .86rem;
  padding: 10px 14px; border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(4,41,58,.45); border: 1px solid var(--line); white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.hero-badge .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.hero-visual:has(.hero-badge) .hero-panel { padding-bottom: 44px; }
.hero-badge-1 { right: 22px; top: -22px; }
.hero-badge-2 { right: 18px; bottom: -22px; animation-delay: -2s; }
.hero-badge-2 .icon { background: var(--primary); }
.hero-badge-3 { left: 18px; bottom: -22px; animation-delay: -4s; }
.hero-badge-3 .icon { background: var(--ok); }

/* Dark section pattern + CTA band rings */
.section-pattern { position: relative; overflow: hidden; isolation: isolate; }
.section-pattern::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 24px 24px; }
.split-center { align-items: center; }
.illustration-agencies { max-width: 520px; justify-self: end; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); }
.cta-band::before { width: 360px; height: 360px; right: -90px; top: -160px; }
.cta-band::after { width: 220px; height: 220px; right: 140px; bottom: -150px; border-color: rgba(172,31,35,.45); }
.section-alt { position: relative; }
.section-alt::before { content: ""; position: absolute; left: 0; top: 0; width: 180px; height: 180px; pointer-events: none;
  background-image: radial-gradient(rgba(6,83,114,.18) 1.4px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 0 0, #000, transparent 70%); mask-image: radial-gradient(circle at 0 0, #000, transparent 70%); }

/* Page heroes with art */
.page-hero-art { align-items: center; }
.page-hero-art .illustration { max-width: 420px; justify-self: end; }
.hero-side { display: grid; gap: 18px; justify-items: end; }
.hero-side .illustration { max-width: 380px; }
.illustration-book { max-width: 360px; margin: 18px 0 8px; }
.illustration-thanks { max-width: 300px; margin: 0 auto 10px; }
.illustration-error { max-width: 300px; margin: 0 auto 12px; }
.illustration-hero { max-width: 460px; margin-left: auto; }

/* ==========================================================================
   How It Works: interactive stages
   ========================================================================== */
.stages { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.stage-list { list-style: none; display: grid; gap: 12px; counter-reset: none; }
.stage { position: relative; display: grid; grid-template-columns: 52px 1fr 44px; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); cursor: default; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; outline: none; }
.stage::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width .25s ease; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, var(--primary-soft), transparent 70%); opacity: 0; transition: opacity .25s ease; }
.stage > * { position: relative; z-index: 1; }
.stage-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1.25rem/1 var(--serif); color: var(--primary);
  background: var(--primary-soft); border: 2px solid transparent; transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.stage h3 { margin: 0 0 4px; font-size: 1.08rem; transition: color .2s; }
.stage p { margin: 0; color: var(--muted); font-size: .95rem; }
.stage-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: transparent; transition: background .25s, color .25s, transform .25s; }
.stage.is-done .stage-num { background: var(--primary); color: #fff; }
.stage:hover, .stage:focus-visible, .stage.is-active { transform: translateX(6px); border-color: var(--primary); box-shadow: 0 18px 40px -22px rgba(4,41,58,.45); }
.stage:hover::before, .stage:focus-visible::before, .stage.is-active::before { width: 5px; }
.stage:hover::after, .stage:focus-visible::after, .stage.is-active::after { opacity: 1; }
.stage:hover .stage-num, .stage:focus-visible .stage-num, .stage.is-active .stage-num { background: var(--accent); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(172,31,35,.14); }
.stage:hover h3, .stage.is-active h3 { color: var(--primary); }
.stage:hover .stage-icon, .stage:focus-visible .stage-icon, .stage.is-active .stage-icon { background: var(--primary); color: #fff; transform: rotate(-6deg); }

.stage-art { margin: 0; position: sticky; top: 110px; }
.stage-art svg, .stage-art img { width: 100%; height: auto; display: block; max-width: 420px; margin-left: auto; }
.stage-progress { transition: stroke-dashoffset .6s ease; }
.stage-node { cursor: pointer; }
.stage-node .node-dot, .stage-node .node-halo, .stage-node .node-label { transition: all .3s ease; transform-box: fill-box; transform-origin: center; }
.stage-node .node-label { opacity: 0; }
.stage-node.is-done .node-dot { fill: #065372; }
.stage-node.is-done .node-icon { stroke: #fff; }
.stage-node.is-active .node-dot { fill: #ac1f23; stroke: #ac1f23; transform: scale(1.14); }
.stage-node.is-active .node-icon { stroke: #fff; }
.stage-node.is-active .node-halo { opacity: .14; transform: scale(1.25); }
.stage-node.is-active .node-label { opacity: 1; }

@media (max-width: 920px) {
  .stages { grid-template-columns: 1fr; }
  .stage-art { position: static; order: -1; max-width: 340px; margin: 0 auto; }
  .hero-badge { display: none; }
  .illustration-agencies, .page-hero-art .illustration, .hero-side .illustration { justify-self: center; max-width: 380px; }
  .hero-side { justify-items: stretch; }
}
@media (max-width: 640px) {
  .stage { grid-template-columns: 44px 1fr; padding: 16px; }
  .stage-icon { display: none; }
  .stage-num { width: 44px; height: 44px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .profile-ring, .hero-badge, .illustration .float, .illustration .float-slow { animation: none !important; } }
@media (max-width: 640px) {
  .stage:hover, .stage:focus-visible, .stage.is-active { transform: none; }
}
.stages { overflow-x: clip; padding-right: 8px; }
