/* Shared by Astro pages and the server-rendered journal. One system, no theme overrides. */
:root {
  --ink: #202124;
  --ink-2: #17181b;
  --paper: #f5f4f0;
  --paper-2: #eeede8;
  --surface: #fff;
  --mute: #60615f;
  --line: #dcdcd5;
  --signal: #b8313d;
  --font-ui: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --page: 1120px;
  --radius: 12px;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
html { background: var(--paper); scroll-padding-top: 120px; }
body { color: var(--ink); background: var(--paper); font: 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
::selection { background: #f5cdd0; color: var(--ink); }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: var(--ink); color: white; z-index: 200; }
.skip-link:focus { top: 12px; }
.page-shell { width: min(var(--page), calc(100% - 64px)); margin: auto; }
.eyebrow, .nx-tag, .journal-kicker, .builder-kicker { font: 12px/1.5 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; background: none; border: 0; padding: 0; }
.text-link:hover, .back-link:hover { color: var(--signal); text-decoration-color: currentColor; }
.button, .nx-btn, .fh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .15s, border-color .15s; }
.button:hover, .nx-btn:hover, .fh-btn:hover { border-color: var(--ink); background: var(--paper-2); }
.button--primary, .nx-btn--primary, .fh-btn--dark { background: var(--ink); color: white; border-color: var(--ink); }
.button--primary:hover, .nx-btn--primary:hover, .fh-btn--dark:hover { background: #383a3d; color: white; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.nx-nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.nx-nav__inner { width: min(var(--page), calc(100% - 64px)); margin: auto; min-height: 76px; display: flex; align-items: center; gap: 36px; }
.nx-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.nx-mark { width: 21px; height: 21px; }
.nx-nav__links { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nx-nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); }
.nx-nav__links a:hover, .nx-nav__links [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nx-lang { display: flex; font-size: 12px; gap: 4px; }
.nx-lang a { min-width: 36px; min-height: 44px; display: grid; place-items: center; color: var(--mute); }
.nx-lang [aria-current] { color: var(--ink); font-weight: 700; }
.nx-footer { width: min(var(--page), calc(100% - 64px)); margin: 24px auto 0; padding: 26px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--mute); }
.nx-footer div { display: flex; gap: 24px; flex-wrap: wrap; }
.nx-footer a:hover { color: var(--ink); text-decoration: underline; }
/* Home */
.home { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 48px; }
.home-profile { position: sticky; top: 112px; min-width: 0; }
.profile-photo { width: 136px; height: 136px; object-fit: cover; object-position: 55% 34%; border-radius: 50%; margin-bottom: 24px; }
.home-profile h1 { font-size: 38px; line-height: 1.1; }
.profile-handle { display: inline-block; margin-top: 8px; font: 14px/1.6 var(--font-mono); color: var(--mute); }
.profile-handle:hover { color: var(--signal); }
.profile-tagline { font-size: 18px; line-height: 1.45; margin-top: 24px; }
.profile-bio { color: var(--mute); margin-top: 14px; }
.profile-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
.profile-contact { margin-top: 22px; font-size: 14px; }
.home-content { min-width: 0; }
.home-content > .home-section:first-child { padding-top: 0; border-top: 0; }
.intro-copy { font-size: 18px; line-height: 1.6; color: var(--mute); margin-top: 22px; max-width: 58ch; }
.home-section { padding: 34px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { font-size: 24px; }
.section-heading > span { color: var(--mute); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.project { padding: 26px; border-radius: var(--radius); background: var(--surface); }
.project .text-link, .lab-home .text-link { text-decoration: none; color: var(--ink); }
.project .text-link:hover, .lab-home .text-link:hover { color: var(--ink-2); text-decoration: underline; }
.project-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 28px; }
.status { color: #555024; background: #f5f0da; padding: 3px 8px; border-radius: 4px; font-size: 12px; }
.status--quiet { color: var(--mute); background: var(--paper); }
.project h3 { font-size: 25px; }
.project > p { margin: 14px 0 22px; color: var(--mute); }
.project-details summary { font-size: 16px; font-weight: 600; }
.project-details p { color: var(--mute); margin-top: 12px; }
.services-intro { color: var(--mute); margin: -4px 0 24px; max-width: 70ch; }
.service-row { display: grid; grid-template-columns: 32px minmax(180px, .8fr) 1.3fr 20px; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row:hover h3 { color: var(--signal); }
.service-row p { color: var(--mute); }
.row-number { font: 12px var(--font-mono); color: var(--mute); }
.section-note { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 24px; }
.section-note p { max-width: 62ch; color: var(--mute); font-size: 14px; }
.section-note a { flex-shrink: 0; font-size: 14px; }
.section-note > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
/* Services */
.service-page { padding-top: 32px; }
.back-link { display: inline-block; color: var(--mute); font-size: 14px; margin-bottom: 32px; }
.service-intro { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding-bottom: 48px; }
.service-intro h1 { margin-top: 18px; }
.service-intro .intro-copy { margin-bottom: 16px; }
.service-intro p:not(.eyebrow) { color: var(--mute); }
.service-summary { align-self: start; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 24px; }
.service-summary h2 { font-size: 20px; }
.service-summary ul { list-style: none; padding: 0; margin: 20px 0; }
.service-summary li { font-size: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.service-summary p { font-size: 14px; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); padding: 36px 0; }
.plain-list { padding-left: 20px; color: var(--mute); }
.plain-list li { padding: 6px 0; }
.service-section { padding: 34px 0; border-top: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; gap: 28px; }
.process-list li { counter-increment: step; color: var(--mute); }
.process-list li:before { content: '0' counter(step); display: block; font: 12px var(--font-mono); color: var(--signal); margin-bottom: 14px; }
.case-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 24px; }
.case-list article { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.case-list p { margin: 12px 0 18px; color: var(--mute); }
.case-list a { font-size: 14px; }
.faq-list { margin-top: 20px; }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { font-weight: 600; }
.faq-list p { color: var(--mute); margin-top: 12px; max-width: 80ch; }
.contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 28px; background: var(--paper-2); border-radius: var(--radius); margin: 24px 0 48px; }
.contact-strip p { color: var(--mute); margin-top: 10px; }
.contact-strip .button { flex-shrink: 0; }
/* Campaign brief */
.brief-page { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 64px; padding: 48px 0 56px; }
.brief-intro h1 { font-size: 38px; margin: 18px 0; }
.brief-intro > p:not(.eyebrow) { color: var(--mute); }
.brief-alternative { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.brief-card { min-width: 0; padding: 30px; border: 1px solid var(--line); background: white; border-radius: var(--radius); }
.brief-progress { list-style: none; display: flex; gap: 20px; padding: 0 0 20px; margin: 0 0 24px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.brief-progress [aria-current] { color: var(--ink); font-weight: 600; }
.brief-card h2 { font-size: 26px; }
.form-help { margin: 8px 0 20px; font-size: 14px; color: var(--mute); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; }
.form-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { min-width: 0; width: 100%; background: #fff; color: var(--ink); border: 1px solid #bcbdb7; border-radius: 6px; padding: 10px 12px; min-height: 44px; font-size: 16px; line-height: 1.5; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--ink); }
.contact-fields { border: 0; border-top: 1px solid var(--line); margin: 30px 0 0; padding: 20px 0 0; min-width: 0; }
.contact-fields legend { padding: 0 10px 0 0; font-weight: 600; }
.contact-fields .form-help { margin-bottom: 0; }
.brief-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.brief-review > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.brief-review dt { font-size: 14px; color: var(--mute); margin-bottom: 4px; }
.brief-review dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.builder-status:not(:empty) { padding: 14px; border-radius: 6px; background: var(--paper); margin-top: 20px; }
.builder-status.is-success { color: #22533b; background: #e9f4ec; }
.builder-status.is-error { color: #8a2130; background: #ffedef; }
.builder-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.draft-note { font-size: 12px; color: var(--mute); margin-top: 20px; }
.draft-note button { font-size: inherit; }
/* Writing and articles */
.lablog-page { width: min(var(--page), calc(100% - 64px)); margin: auto; padding: 48px 0 64px; }
.lablog-hero { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.lablog-hero h1 { margin: 14px 0; }
.lablog-hero p:not(.eyebrow) { color: var(--mute); max-width: 62ch; font-size: 18px; }
.lablog-actions { display: flex; gap: 24px; align-items: center; margin-top: 20px; }
.blog-count { color: var(--mute); font-size: 14px; }
.blog-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 14px; color: var(--mute); }
.lablog-article-list { margin-top: 12px; }
.nx-blog-card { display: grid; grid-template-columns: 130px minmax(0, 1fr) 100px; gap: 28px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.nx-blog-card h2 { font-size: 23px; }
.nx-blog-card h2 a:hover { color: var(--signal); }
.nx-blog-card p:not(.nx-blog-card__date) { margin-top: 10px; color: var(--mute); }
.nx-blog-card__date { font: 12px/1.7 var(--font-mono); color: var(--mute); }
.nx-blog-card__link { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.lablog-empty { max-width: 680px; padding: 40px 0; }
.lablog-empty p { color: var(--mute); margin: 14px 0 20px; }
.nx-article { width: min(760px, calc(100% - 64px)); margin: auto; padding: 42px 0 64px; }
.nx-article__back { display: inline-block; margin-bottom: 24px; font-size: 14px; color: var(--mute); }
.nx-article h1 { margin: 20px 0; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.nx-article__dek { color: var(--mute); font-size: 20px; margin-bottom: 24px; }
.nx-article__body { margin-top: 32px; font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.nx-article__body > * + * { margin-top: 1.2em; }
.nx-article__body h2 { margin-top: 2em; }
.nx-article__body a { text-decoration: underline; text-underline-offset: 4px; }
.nx-article__body pre { overflow-x: auto; padding: 16px; background: var(--paper-2); }
.nx-article-table { max-width: 100%; overflow-x: auto; }
.nx-article__body table { width: 100%; border-collapse: collapse; }
.nx-article__body td, .nx-article__body th { min-width: 140px; border: 1px solid var(--line); padding: 10px; vertical-align: top; overflow-wrap: normal; word-break: normal; }
.nx-article__body td:nth-child(2), .nx-article__body th:nth-child(2) { min-width: 260px; }
.nx-article__body blockquote { margin-left: 0; border-left: 3px solid var(--line); padding-left: 22px; color: var(--mute); }
.nx-article__cta { margin-top: 42px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.nx-article__cta h2 { margin: 10px 0 12px; font-size: 24px; }
.nx-article__cta p:not(.eyebrow) { color: var(--mute); margin-bottom: 18px; }
/* Lab showcase and experiment write-ups */
.lab-card-study { display: flex; flex-direction: column; gap: 8px; margin: 28px 0; }
.lab-card-study strong { font-size: 16px; }
.lab-card-study > span:last-child { color: var(--mute); font-size: 14px; }
.lab-card-gain b { display: block; color: var(--ink); font-size: 44px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; margin-bottom: 4px; }
.lab-gain strong { display: block; color: var(--ink); font-size: clamp(44px, 6vw, 64px); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; }
.lab-card-study:hover strong { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.lab-home { padding-top: 48px; padding-bottom: 48px; }
.lab-home__header { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; padding-bottom: 36px; }
.lab-home__header h1 { margin-top: 14px; }
.lab-home__header .intro-copy { color: var(--ink); font-size: 24px; margin-bottom: 18px; }
.lab-home__header p:not(.eyebrow), .lab-focus p, .lab-foundation p:not(.eyebrow) { color: var(--mute); }
.lab-home__status { align-self: start; padding-left: 24px; }
.lab-home__status p { font-size: 14px; margin-top: 14px; }
.lab-experiments { padding-top: 28px; }
.lab-experiments .lab-highlight { margin-top: 0; }
.lab-focus { padding: 36px 0; }
.lab-focus__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.lab-focus p { margin: 14px 0 18px; }
.lab-focus a { font-size: 14px; }
.lab-foundation { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 32px; }
.lab-foundation h2 { margin: 12px 0 18px; }
.lab-foundation p { max-width: 70ch; }
.lab-foundation .button { flex-shrink: 0; }
@media (max-width: 700px) {
  .lab-home__header, .lab-focus__grid { grid-template-columns: 1fr; gap: 24px; }
  .lab-home__status { padding-left: 0; }
  .lab-foundation { flex-direction: column; align-items: flex-start; }
}

.lab-highlight { margin-top: 20px; padding: 26px; border-radius: var(--radius); background: var(--surface); }
.lab-highlight h3 { margin-top: 14px; font-size: clamp(23px, 2.8vw, 30px); }
.lab-highlight > p:not(.eyebrow) { color: var(--mute); margin-top: 12px; }
.lab-highlight > .text-link { margin-top: 22px; font-size: 14px; }
.lab-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.lab-metrics dt { color: var(--mute); font-size: 14px; margin-bottom: 6px; }
.lab-metrics dd { font-size: clamp(25px, 3vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.lab-metrics dd span { font-size: 14px; color: var(--mute); font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.lab-study { padding-top: 36px; padding-bottom: 48px; }
.lab-study__header { max-width: 900px; }
.lab-study__header h1 { margin-top: 16px; }
.lab-study__header .intro-copy { max-width: 70ch; }
.lab-study__byline { color: var(--mute); font-size: 14px; margin-top: 22px; }
.lab-result { padding: 28px; margin-top: 36px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.lab-result .section-heading { margin-bottom: 0; }
.lab-result__note { margin-top: 22px; color: var(--mute); font-size: 14px; max-width: 90ch; }
.lab-study__index { display: flex; flex-wrap: wrap; gap: 12px 24px; border-bottom: 1px solid var(--line); padding: 24px 0; font-size: 14px; }
.lab-study__index a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.lab-study__index a:hover { color: var(--signal); }
.lab-study__body { max-width: 780px; margin: auto; }
.lab-study__body > section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.lab-study__body h2 { margin: 14px 0 22px; }
.lab-study__body h3 { margin: 28px 0 16px; }
.lab-study__body p + p { margin-top: 18px; }
.lab-study__body p:not(.eyebrow) { color: var(--mute); font-size: 17px; }
.lab-study__body pre { padding: 20px; margin: 22px 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; }
.lab-study__body code { font-family: var(--font-mono); font-size: .85em; overflow-wrap: anywhere; }
.lab-setup { margin-top: 24px; }
.lab-setup > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--line); padding: 14px 0; }
.lab-setup dt { color: var(--mute); font-size: 14px; }
.lab-table-wrap { overflow-x: auto; margin: 20px 0; }
.lab-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.lab-table caption { text-align: left; font-size: 14px; color: var(--mute); padding-bottom: 14px; }
.lab-table th, .lab-table td { border-bottom: 1px solid var(--line); padding: 14px 16px 14px 0; vertical-align: top; }
.lab-table thead th { font-size: 14px; color: var(--mute); font-weight: 500; }
.lab-table tbody th { font-weight: 500; }
.lab-table td:nth-child(2) { white-space: nowrap; }
.lab-note { padding: 22px; margin-top: 24px; background: var(--paper-2); border-left: 2px solid var(--line); }
.lab-study__body .lab-note h3 { margin: 0 0 12px; font-size: 18px; }
.lab-study__body .lab-note p { font-size: 15px; }
.lab-memory { padding-left: 24px; color: var(--mute); }
.lab-memory li { padding: 6px 0; }
.lab-study__contact { padding-top: 32px; }
.lab-study__contact .button { margin-top: 24px; }
@media (max-width: 600px) {
  .lab-highlight, .lab-result { padding: 20px; }
  .lab-metrics { grid-template-columns: 1fr; gap: 16px; }
  .lab-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .lab-metrics dd { flex-shrink: 0; }
  .lab-setup > div { grid-template-columns: 1fr; gap: 6px; }
  .lab-study__body > section { padding: 30px 0; }
}

/* Case studies retain their URLs and content, using the shared page rhythm. */
.case-page { padding: 44px 0 56px; }
.service-hero-v3__inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
.service-hero-v3 h1 { margin: 16px 0; }
.service-hero-v3 p { color: var(--mute); }
.service-hero-v3__card { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-hero-v3__card > span { font-size: 14px; color: var(--mute); }
.service-metrics { margin: 16px 0 24px; }
.service-metrics strong { font-weight: 500; }
.service-detail-v3 { margin-top: 40px; }
.service-feature { border-top: 1px solid var(--line); padding: 28px 0; }
.service-feature__label { display: flex; gap: 14px; font: 12px var(--font-mono); color: var(--mute); margin-bottom: 14px; }
.service-feature h2 { margin-bottom: 16px; }
.service-feature p { max-width: 78ch; color: var(--mute); }
.service-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-best-v3 { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper-2); border-radius: var(--radius); padding: 28px; }
.service-best-v3 h2 { margin-top: 10px; }
@media (max-width: 900px) {
  .nx-nav__inner { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nx-lang { margin-left: auto; }
  .nx-nav__links { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 12px; padding-bottom: 5px; }
  .home { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .home-profile { position: static; max-width: 600px; }
  .profile-actions { flex-direction: row; flex-wrap: wrap; }
  .home-content > .home-section:first-child { padding-top: 28px; border-top: 1px solid var(--line); }
  .service-intro, .service-hero-v3__inner { grid-template-columns: 1fr; gap: 28px; }
  .service-summary ul { display: flex; flex-wrap: wrap; gap: 20px; }
  .service-summary li { border: 0; padding: 0; }
  .brief-page { grid-template-columns: 1fr; gap: 28px; }
  .brief-intro { max-width: 640px; }
  .brief-alternative { padding-top: 16px; margin-top: 16px; }
  .service-row { grid-template-columns: 24px 1fr 20px; gap: 12px; }
  .service-row p { grid-column: 2; grid-row: 2; }
  .service-row svg { grid-column: 3; grid-row: 1; }
  .section-note { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-note > div { justify-content: flex-start; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .service-columns { gap: 32px; }
}
@media (max-width: 600px) {
  .page-shell, .nx-nav__inner, .nx-footer, .lablog-page, .nx-article { width: calc(100% - 36px); }
  .nx-nav__links { flex-wrap: wrap; font-size: 14px; gap: 0 14px; }
  .home { gap: 28px; }
  .profile-photo { width: 112px; height: 112px; margin-bottom: 20px; }
  .project-grid, .service-columns, .service-feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .utm-grid, .utm-guide__grid { grid-template-columns: 1fr; }
  .project { padding: 22px; }
  .project-top { margin-bottom: 20px; }
  .section-heading { flex-direction: column; gap: 8px; }
  .contact-strip, .service-best-v3 { flex-direction: column; align-items: flex-start; }
  .brief-page { padding-top: 28px; }
  .brief-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .brief-actions { flex-wrap: wrap; }
  .brief-progress { gap: 18px; font-size: 14px; }
  .nx-footer { flex-direction: column; }
  .nx-footer div { gap: 18px; }
  .nx-blog-card { grid-template-columns: 1fr; gap: 10px; }
  .lablog-actions { flex-wrap: wrap; }
}
@media (max-height: 760px) {
  .home-profile { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Service directory */
.service-hub { padding-top: 52px; }
.service-hub__header { max-width: 800px; padding-bottom: 52px; }
.service-hub__header h1 { margin-top: 18px; }
.service-hub__header .button { margin-top: 26px; }

/* ------------------------------------------------------------------
   Premium layer: depth, texture, motion, and conversion surfaces.
   Refines the system above; layout and grid stay untouched.
   ------------------------------------------------------------------ */
:root {
  --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --line-soft: rgba(32, 33, 36, .09);
  --shadow-sm: 0 1px 1px rgba(20, 20, 18, .03), 0 2px 6px rgba(20, 20, 18, .04);
  --shadow-md: 0 1px 1px rgba(20, 20, 18, .03), 0 8px 24px -6px rgba(20, 20, 18, .08), 0 24px 48px -24px rgba(20, 20, 18, .12);
  --shadow-lg: 0 2px 2px rgba(20, 20, 18, .04), 0 18px 40px -12px rgba(20, 20, 18, .18), 0 40px 80px -40px rgba(20, 20, 18, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --live: #2f9e6a;
}
body { font-feature-settings: 'ss01', 'cv11'; text-rendering: optimizeLegibility; position: relative; }
/* Soft warm light + paper grain behind everything */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(900px 520px at 12% -8%, rgba(255, 255, 255, .9), transparent 70%),
  radial-gradient(760px 480px at 100% 0%, rgba(232, 222, 205, .55), transparent 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3 { font-feature-settings: 'ss01', 'cv11', 'kern'; }
h1 em, .closing-cta h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; line-height: 1; }
::selection { background: var(--ink); color: var(--paper); }

/* Navigation: frosted glass */
.nx-nav { background: rgba(245, 244, 240, .72); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line-soft); }
.nx-logo { transition: opacity .2s; }
.nx-logo:hover { opacity: .7; }
.nx-nav__links a { position: relative; transition: color .2s; }
.nx-nav__links a:hover, .nx-nav__links [aria-current] { text-decoration: none; }
.nx-nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nx-nav__links a:hover::after, .nx-nav__links [aria-current]::after { transform: scaleX(1); }
.nx-nav__links a:last-child { color: var(--ink); font-weight: 600; }

/* Buttons: tactile, lit from above */
.button, .nx-btn, .fh-btn { border-radius: 999px; padding: 10px 22px; border-color: var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.button:hover, .nx-btn:hover, .fh-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: var(--surface); border-color: rgba(32, 33, 36, .18); }
.button:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.button--primary, .nx-btn--primary, .fh-btn--dark { background: linear-gradient(180deg, #34363b 0%, #1b1c1f 100%); border-color: #141517; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(0, 0, 0, .2), 0 8px 20px -8px rgba(20, 20, 18, .45); }
.button--primary:hover, .nx-btn--primary:hover, .fh-btn--dark:hover { background: linear-gradient(180deg, #3d3f45 0%, #202124 100%); border-color: #141517; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(0, 0, 0, .2), 0 16px 32px -12px rgba(20, 20, 18, .55); }
.button svg, .text-link svg, .service-row > svg, .proof-link svg { transition: transform .3s var(--ease); }
.button:hover svg, .text-link:hover svg, .proof-card:hover .proof-link svg { transform: translateX(3px); }
.button--light { background: linear-gradient(180deg, #fff 0%, #efeee9 100%); color: var(--ink); border-color: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 #fff, 0 10px 30px -10px rgba(0, 0, 0, .6); }
.button--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.text-link { transition: color .2s, text-decoration-color .2s; }

/* Profile column */
.profile-photo-wrap { position: relative; width: max-content; margin-bottom: 22px; padding: 4px; border-radius: 50%; background: linear-gradient(145deg, #fff, rgba(255, 255, 255, 0) 45%), linear-gradient(145deg, #d9cfbd, #efebe3 60%, #cfc6b5); box-shadow: var(--shadow-md); }
.profile-photo-wrap .profile-photo { margin: 0; border: 3px solid var(--paper); }
.availability { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 5px 12px 5px 10px; border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 500; box-shadow: var(--shadow-sm); }
.availability__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.availability__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--live); opacity: 0; animation: nx-ping 2.4s var(--ease) infinite; }
@keyframes nx-ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.home-profile h1 { font-size: 40px; letter-spacing: -.04em; }
.trusted { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.trusted ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 10px 0 0; font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: #4a4b4d; }

/* Sections */
.home-section { border-top-color: var(--line-soft); padding: 44px 0; }
.section-heading h2 { font-size: 26px; }
.section-heading > span { font: 11.5px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* Proof grid */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; }
.proof-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.proof-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.proof-stat { margin: 18px 0 10px; line-height: 1.2; }
.proof-stat strong { display: block; font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.proof-stat span { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; }
.proof-detail { color: var(--mute); font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.proof-card:not(.proof-card--featured) .proof-stat strong { display: inline; font-size: 30px; }
.proof-card:not(.proof-card--featured) .proof-stat span { display: inline; margin-left: 6px; }
.proof-card:not(.proof-card--featured) .proof-stat { margin: 10px 0 8px; }
.proof-card:not(.proof-card--featured) .proof-detail { margin-bottom: 12px; }
.proof-card:not(.proof-card--featured) { padding: 20px 22px; }
.proof-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.proof-card--featured { grid-row: span 3; justify-content: flex-start; padding: 30px; color: #f3f1ec; border-color: #111; overflow: hidden; isolation: isolate;
  background: radial-gradient(420px 260px at 100% 0%, rgba(184, 49, 61, .45), transparent 70%), radial-gradient(360px 300px at 0% 100%, rgba(214, 190, 150, .18), transparent 70%), linear-gradient(160deg, #26272b, #121315);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-md); }
.proof-card--featured::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%); }
.proof-card--featured .eyebrow { color: rgba(243, 241, 236, .6); }
.proof-card--featured .proof-stat { margin-top: auto; padding-top: 48px; }
.proof-card--featured .proof-stat strong { font-size: clamp(72px, 8vw, 104px); letter-spacing: -.06em; background: linear-gradient(180deg, #fff 30%, #c9c2b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-card--featured .proof-stat span { font-size: 18px; }
.proof-card--featured .proof-detail { color: rgba(243, 241, 236, .68); font-size: 15px; }
.proof-card--featured .proof-link { margin-top: 8px; }

/* Services list: rows become quiet panels on hover */
.service-row { position: relative; border-bottom-color: var(--line-soft); transition: padding .35s var(--ease); isolation: isolate; }
.service-row:first-child { border-top-color: var(--line-soft); }
.service-row::before { content: ''; position: absolute; inset: 6px -16px; z-index: -1; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.98); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.service-row:hover::before { opacity: 1; transform: scale(1); }
.service-row:hover h3 { color: var(--ink); }
.service-row:hover > svg { transform: translateX(4px); color: var(--signal); }
.service-row h3 { transition: color .2s; }

/* Cards */
.project, .lab-highlight { border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.project:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-list article, .service-summary, .brief-card, .lab-result, .nx-article__cta, .service-hero-v3__card { border-color: var(--line-soft); border-radius: 16px; box-shadow: var(--shadow-md); }
.case-list article { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.case-list article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Closing CTA + service contact strip: dark, lit card */
.closing-cta, .contact-strip { position: relative; overflow: hidden; isolation: isolate; color: #f3f1ec; border-radius: 20px; border: 1px solid #111;
  background: radial-gradient(640px 320px at 100% 0%, rgba(184, 49, 61, .35), transparent 70%), radial-gradient(520px 360px at 0% 100%, rgba(214, 190, 150, .16), transparent 70%), linear-gradient(160deg, #26272b, #121315);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-lg); }
.closing-cta { margin: 20px 0 32px; padding: 48px 44px; }
.closing-cta .eyebrow { color: rgba(243, 241, 236, .55); }
.closing-cta h2 { margin: 14px 0 14px; max-width: 18ch; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; }
.closing-cta > p:not(.eyebrow) { max-width: 54ch; color: rgba(243, 241, 236, .7); }
.closing-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 28px; }
.closing-cta .text-link, .contact-strip .text-link { color: #f3f1ec; text-decoration-color: rgba(243, 241, 236, .3); }
.closing-cta .text-link:hover { color: #fff; text-decoration-color: #fff; }
.closing-cta__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; font-size: 13px; color: rgba(243, 241, 236, .6); }
.closing-cta__points li { display: inline-flex; align-items: center; gap: 8px; }
.closing-cta__points li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: rgba(47, 158, 106, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%236fd3a3' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px no-repeat; }
.contact-strip { padding: 36px; margin: 32px 0 56px; }
.contact-strip p { color: rgba(243, 241, 236, .7); }
.contact-strip .closing-cta__points { margin-top: 18px; }
.contact-strip .button--primary { background: linear-gradient(180deg, #fff 0%, #efeee9 100%); color: var(--ink); border-color: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 #fff, 0 10px 30px -10px rgba(0, 0, 0, .6); }
.contact-strip .button--primary:hover { background: #fff; color: var(--ink); }
.trust-line { margin-top: 26px; font: 11.5px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute) !important; }
.trust-line span { display: block; margin-top: 6px; font: 600 15px/1.4 var(--font-ui); letter-spacing: -.01em; text-transform: none; color: #4a4b4d; }

/* Brief page: what happens next */
.next-steps { list-style: none; counter-reset: nx; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.next-steps li { counter-increment: nx; display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; font-size: 14px; }
.next-steps li::before { content: counter(nx); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); font: 600 12px var(--font-mono); }
.next-steps span { color: var(--mute); }
.form-grid input, .form-grid textarea, .form-grid select { border-color: rgba(32, 33, 36, .18); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(32, 33, 36, .08); }
.faq-list details { border-bottom-color: var(--line-soft); }
.faq-list summary { transition: color .2s; }
.faq-list summary:hover { color: var(--signal); }
.nx-footer { border-top-color: var(--line-soft); }

/* Mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-card--featured { grid-column: 1 / -1; grid-row: auto; }
  .proof-card--featured .proof-stat { padding-top: 28px; }
  .closing-cta { padding: 36px 28px; }
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #f3f1ec; background: rgba(24, 25, 27, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .45s var(--ease); }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .button { min-height: 40px; padding: 8px 16px; }
}
@media (max-width: 600px) {
  .proof-grid { grid-template-columns: 1fr; }
  .home-profile h1 { font-size: 34px; }
  .closing-cta { padding: 30px 22px; border-radius: 16px; }
  .contact-strip { padding: 26px 22px; }
  .service-row::before { inset: 4px -10px; }
  .nx-footer { padding-bottom: 88px; }
}

/* Scroll reveal (only when JS is running; otherwise content is simply visible) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.home-profile > * { animation: nx-rise .9s var(--ease) both; }
.home-profile > :nth-child(2) { animation-delay: .06s; }
.home-profile > :nth-child(3) { animation-delay: .12s; }
.home-profile > :nth-child(n+4) { animation-delay: .18s; }
@keyframes nx-rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .availability__dot::after { display: none; }
}

/* Home: AI Lab + ambassador side by side */
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding: 26px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); box-shadow: var(--shadow-sm); }
.duo-card .project-top { width: 100%; margin-bottom: 4px; }
.duo-card h2 { font-size: 24px; letter-spacing: -.03em; }
.duo-card h2 a:hover { color: var(--signal); }
.duo-card > p { color: var(--mute); font-size: 15px; }
.duo-card > .text-link, .duo-card > .button { margin-top: auto; }
.duo-card > .text-link { text-decoration: none; font-size: 14px; }
.lab-card__study { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 6px 0 10px; padding: 16px 0; border-block: 1px solid var(--line-soft); }
.lab-card__study .lab-card-gain { color: var(--mute); font-size: 14px; }
.lab-card__study .lab-card-gain b { font-size: 40px; }
.lab-card__study:hover b { color: var(--signal); }
.ambassador-card { position: relative; overflow: hidden; isolation: isolate; color: #f2f8f7; border-color: #173f45;
  background: radial-gradient(380px 240px at 100% 0%, rgba(243, 214, 170, .30), transparent 70%), radial-gradient(320px 240px at 0% 100%, rgba(8, 30, 36, .5), transparent 70%), linear-gradient(150deg, #2f7c83 0%, #1f5a63 55%, #153f47 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 40px -16px rgba(21, 63, 71, .55), var(--shadow-sm); }
.ambassador-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(circle at 90% 10%, #000, transparent 65%); -webkit-mask-image: radial-gradient(circle at 90% 10%, #000, transparent 65%); }
.ambassador-card .eyebrow { color: rgba(226, 243, 240, .75); }
.ambassador-card > p { color: rgba(236, 246, 244, .86); }
.ambassador-card .button--primary { background: linear-gradient(180deg, #fff 0%, #eef4f2 100%); color: #153f47; border-color: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -10px rgba(8, 30, 36, .7); }
.ambassador-card .button--primary:hover { background: #fff; color: #153f47; border-color: #fff; }
.ambassador-card h2 { margin-top: 4px; font-size: 28px; }
.ambassador-card h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.15em; letter-spacing: 0; }
@media (max-width: 600px) {
  .duo-grid { grid-template-columns: 1fr; }
  .duo-card { padding: 22px; }
}

/* Compact results row */
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proof-mini { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.proof-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.proof-mini strong { margin-top: 8px; font-size: 26px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.proof-mini__label { color: var(--mute); font-size: 13.5px; line-height: 1.45; }
.proof-mini__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600; }
.proof-mini__link svg { transition: transform .3s var(--ease); }
.proof-mini:hover .proof-mini__link { color: var(--signal); }
.proof-mini:hover .proof-mini__link svg { transform: translateX(3px); }
@media (max-width: 900px) { .proof-row { grid-template-columns: 1fr 1fr; } }

.ambassador-card__list { list-style: none; display: grid; gap: 7px; padding: 0; margin: 2px 0 8px; font-size: 14px; font-weight: 500; color: #f2f8f7; }
.ambassador-card__list li { display: flex; align-items: center; gap: 10px; }
.ambassador-card__list li::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: rgba(243, 214, 170, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23f3d6aa' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ambassador-card__fit { font: 11.5px/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(226, 243, 240, .65) !important; }

/* Services: the main offer, set in its own panel */
.home-section.services-panel { margin-top: 44px; padding: 36px 36px 30px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.services-panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #2f7c83, #1f5a63 50%, #d9c19a); }
.services-panel__title { margin: 10px 0 12px; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.04em; }
.services-panel__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.01em; }
.services-panel .services-intro { margin: 0 0 22px; }
.services-panel .service-row::before { background: var(--paper); box-shadow: none; }
.services-panel .service-row:last-child { border-bottom: 0; }
.services-panel .section-note { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.services-panel .row-number { color: #1f5a63; font-weight: 600; }
.services-panel .service-row:hover > svg { color: #1f5a63; }
.home-section.services-panel + .home-section { border-top: 0; }
@media (max-width: 600px) {
  .home-section.services-panel { padding: 26px 20px 22px; border-radius: 16px; }
  .services-panel .service-row::before { inset: 4px -8px; }
}

.ambassador-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.ambassador-card__actions .text-link { color: #f2f8f7; text-decoration-color: rgba(242, 248, 247, .35); font-size: 14px; }
.ambassador-card__actions .text-link:hover { color: #fff; text-decoration-color: #fff; }

/* Ambassador page */
.amb-page { --teal: #1f5a63; --teal-2: #2f7c83; --teal-3: #153f47; --sand: #f3d6aa; padding-top: 32px; }
.amb-page em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; }
.amb-page .eyebrow { color: var(--teal); }
.amb-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-bottom: 56px; }
.amb-hero h1 { margin-top: 16px; font-size: clamp(2.5rem, 5.2vw, 4.2rem); letter-spacing: -.045em; }
.amb-hero h1 em { color: var(--teal); }
.amb-hero .intro-copy { font-size: 19px; }
.amb-hero .button--primary { background: linear-gradient(180deg, var(--teal-2), var(--teal-3)); border-color: var(--teal-3); }
.amb-hero .button--primary:hover { background: linear-gradient(180deg, #37888f, #1a4b54); border-color: var(--teal-3); }
.amb-hero__fits { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 32px 0 0; }
.amb-hero__fits li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line-soft); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); }

/* Mock X profile */
.x-mock { margin: 0; position: relative; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(1.2deg); transition: transform .6s var(--ease); }
.x-mock:hover { transform: rotate(0deg) translateY(-4px); }
.x-mock__banner { position: relative; height: 150px; padding: 24px 26px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-end; text-align: right; overflow: hidden; color: #f2f8f7;
  background: radial-gradient(300px 180px at 100% 0%, rgba(243, 214, 170, .4), transparent 70%), linear-gradient(135deg, var(--teal-2), var(--teal) 55%, var(--teal-3)); }
.x-mock__banner::after { content: ''; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.x-mock__banner-kicker { position: relative; z-index: 1; font: 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.x-mock__banner-brand { position: relative; z-index: 1; margin-top: 4px; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.x-mock__body { position: relative; padding: 0 26px 24px; }
.x-mock__avatar { width: 80px; height: 80px; margin-top: -40px; border-radius: 50%; object-fit: cover; object-position: 55% 34%; border: 4px solid var(--surface); box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.x-mock__follow { position: absolute; top: 14px; right: 26px; padding: 7px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.x-mock__name { margin-top: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.x-mock__handle { color: var(--mute); font-size: 14px; }
.x-mock__bio { margin-top: 12px; font-size: 15px; }
.x-mock__tag { color: var(--teal-2); font-weight: 600; background: rgba(47, 124, 131, .1); padding: 1px 6px; border-radius: 5px; }
.x-mock__article { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--paper); }
.x-mock__article-label { font: 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.x-mock__article strong { font-size: 16px; letter-spacing: -.01em; }
.x-mock__article span:last-child { color: var(--mute); font-size: 13.5px; }
.x-mock figcaption { padding: 10px 26px 14px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--mute); }

/* Sections */
.amb-section { padding: 48px 0; border-top: 1px solid var(--line-soft); }
.amb-included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.amb-feature { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.amb-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.amb-feature__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 600 12px var(--font-mono); color: #f2f8f7; background: linear-gradient(145deg, var(--teal-2), var(--teal-3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.amb-feature h3 { margin-top: 6px; font-size: 21px; }
.amb-feature p { color: var(--mute); font-size: 15px; }
.amb-feature ul { list-style: none; display: grid; gap: 8px; padding: 14px 0 0; margin: auto 0 0; border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 500; }
.amb-feature li { display: flex; gap: 10px; align-items: center; }
.amb-feature li::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: rgba(47, 124, 131, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%231f5a63' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px no-repeat; }

.amb-why { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; margin: 8px 0 48px; padding: 44px; border-radius: 20px; background: linear-gradient(180deg, #fff, #fbfaf6); border: 1px solid var(--line-soft); box-shadow: var(--shadow-md); }
.amb-why h2 { margin: 12px 0 14px; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.04em; }
.amb-why h2 em { color: var(--teal); }
.amb-why p:not(.eyebrow) { color: var(--mute); }
.amb-why__proof { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.amb-why__proof:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.amb-why__proof strong { font-size: 18px; }
.amb-why__proof .lab-card-gain { color: var(--mute); font-size: 14px; }
.amb-why__proof .text-link { margin-top: 6px; font-size: 14px; text-decoration: none; }
.amb-why__proof:hover .text-link { color: var(--teal); }

.amb-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; position: relative; }
.amb-steps li { position: relative; padding-top: 22px; }
.amb-steps li::before { content: ''; position: absolute; top: 5px; left: 18px; right: -16px; height: 1px; background: linear-gradient(90deg, var(--teal-2), rgba(47, 124, 131, .15)); }
.amb-steps li:last-child::before { right: 0; background: linear-gradient(90deg, var(--teal-2), transparent); }
.amb-steps__n { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgba(47, 124, 131, .15); font-size: 0; }
.amb-steps h3 { margin: 10px 0 8px; font-size: 18px; }
.amb-steps p { color: var(--mute); font-size: 14.5px; }
.amb-page .faq-list summary:hover { color: var(--teal); }

.amb-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin: 24px 0 56px; padding: 44px; border-radius: 20px; position: relative; overflow: hidden; isolation: isolate; color: #f2f8f7; border: 1px solid var(--teal-3);
  background: radial-gradient(520px 280px at 100% 0%, rgba(243, 214, 170, .3), transparent 70%), radial-gradient(420px 300px at 0% 100%, rgba(8, 30, 36, .5), transparent 70%), linear-gradient(150deg, var(--teal-2), var(--teal) 55%, var(--teal-3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 60px -24px rgba(21, 63, 71, .6); }
.amb-cta .eyebrow { color: rgba(226, 243, 240, .75); }
.amb-cta h2 { margin: 12px 0; max-width: 20ch; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.04em; }
.amb-cta p:not(.eyebrow) { color: rgba(236, 246, 244, .85); max-width: 50ch; }
.amb-cta .closing-cta__points { color: rgba(236, 246, 244, .75); }
.amb-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex-shrink: 0; }
.amb-cta .button--primary { background: linear-gradient(180deg, #fff, #eef4f2); color: var(--teal-3); border-color: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -10px rgba(8, 30, 36, .7); }
.amb-cta .button--primary:hover { background: #fff; color: var(--teal-3); }
.amb-cta .text-link { color: #f2f8f7; text-decoration-color: rgba(242, 248, 247, .35); }
.amb-cta .text-link:hover { color: #fff; text-decoration-color: #fff; }

@media (max-width: 900px) {
  .amb-hero { grid-template-columns: 1fr; gap: 40px; }
  .x-mock { max-width: 520px; transform: none; }
  .amb-included { grid-template-columns: 1fr; }
  .amb-why { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .amb-steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .amb-steps li:nth-child(2)::before { right: 0; background: linear-gradient(90deg, var(--teal-2), transparent); }
  .amb-cta { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 600px) {
  .amb-steps { grid-template-columns: 1fr; }
  .amb-steps li::before { right: 0; background: linear-gradient(90deg, var(--teal-2), transparent); }
  .amb-why, .amb-cta { padding: 26px 22px; border-radius: 16px; }
  .x-mock__banner { height: 130px; padding: 18px 20px; }
  .x-mock__body { padding: 0 20px 20px; }
  .x-mock__follow { right: 20px; }
  .x-mock figcaption { padding: 10px 20px 12px; }
}

/* Ambassador: live Treg proof */
.ambassador-card__now { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 500; color: #f2f8f7; transition: background .2s; }
.ambassador-card__now:hover { background: rgba(255, 255, 255, .2); }
.ambassador-card__now span { width: 7px; height: 7px; border-radius: 50%; background: #7fe0b5; box-shadow: 0 0 0 3px rgba(127, 224, 181, .2); }
.amb-proof { margin: 8px 0 56px; padding: 44px; border-radius: 24px; color: #eef3f2; position: relative; overflow: hidden; isolation: isolate; border: 1px solid #0d1416;
  background: radial-gradient(600px 300px at 100% 0%, rgba(47, 124, 131, .45), transparent 70%), radial-gradient(500px 340px at 0% 100%, rgba(243, 214, 170, .12), transparent 70%), linear-gradient(160deg, #1b2326, #0e1416);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), var(--shadow-lg); }
.amb-proof::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(circle at 85% 0%, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 85% 0%, #000, transparent 60%); }
.amb-page .amb-proof .eyebrow { color: #7fc9c9; }
.amb-proof__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 32px; }
.amb-proof h2 { margin: 12px 0 14px; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; }
.amb-proof h2 em { color: #9be0dc; }
.amb-proof__head p:not(.eyebrow) { color: rgba(238, 243, 242, .72); max-width: 54ch; }
.amb-proof__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.amb-proof__stats > div { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.amb-proof__stats dt { font: 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(238, 243, 242, .55); }
.amb-proof__stats dd { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.amb-proof__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.amb-shot { margin: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); transition: transform .4s var(--ease), border-color .3s; }
.amb-shot:hover { transform: translateY(-3px); border-color: rgba(155, 224, 220, .35); }
.amb-shot img { width: 100%; height: auto; }
.amb-shot figcaption { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; border-top: 1px solid rgba(255, 255, 255, .08); background: #0b0f10; font-size: 14px; color: rgba(238, 243, 242, .75); }
.amb-shot figcaption strong { color: #fff; font-size: 15px; letter-spacing: -.01em; }
.amb-shot__tag { font: 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #7fc9c9; }
.amb-shot__meta { font-size: 13px; color: rgba(238, 243, 242, .55); }
.amb-proof__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }
.amb-proof .text-link { color: #eef3f2; text-decoration-color: rgba(238, 243, 242, .3); font-size: 14px; }
.amb-proof .text-link:hover { color: #fff; text-decoration-color: #fff; }
@media (max-width: 900px) {
  .amb-proof { padding: 32px; }
  .amb-proof__head { grid-template-columns: 1fr; gap: 24px; }
  .amb-proof__grid { grid-template-columns: 1fr 1fr; }
  .amb-shot--profile { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 600px) {
  .amb-proof { padding: 26px 18px; border-radius: 18px; }
  .amb-proof__grid { grid-template-columns: 1fr; }
  .amb-proof__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .amb-proof__stats > div { padding: 12px; }
  .amb-proof__stats dd { font-size: 18px; }
}
