/* Hallmark · polish pass · tone: editorial/technical · anchor hue: lime */
/* Shared color system: black canvas, cobalt structure, lime action. */
:root {
  color-scheme: dark;
  --portfolio-canvas: #030407;
  --portfolio-surface: #0b1220;
  --portfolio-raised: #111c2d;
  --portfolio-accent: #D4FF24;
  --portfolio-accent-ink: #030407;
  --portfolio-blue: #1558C9;
  --portfolio-blue-wash: rgba(21, 88, 201, .14);
  --portfolio-blue-rule: rgba(53, 105, 188, .52);
  --portfolio-ink: #f4f6f7;
  --portfolio-muted: #aeb8c7;
  --portfolio-border: #243754;
  --portfolio-radius: 16px;
  --portfolio-control-radius: 10px;

  --background: var(--portfolio-canvas);
  --foreground: var(--portfolio-ink);
  --surface: var(--portfolio-surface);
  --surface-foreground: var(--portfolio-ink);
  --surface-secondary: #0f1929;
  --surface-secondary-foreground: var(--portfolio-ink);
  --surface-tertiary: #15243a;
  --surface-tertiary-foreground: var(--portfolio-ink);
  --overlay: #0b1220;
  --overlay-foreground: var(--portfolio-ink);
  --muted: var(--portfolio-muted);
  --accent: var(--portfolio-accent);
  --accent-foreground: var(--portfolio-accent-ink);
  --default: #111c2d;
  --default-foreground: var(--portfolio-ink);
  --field-background: #0b1220;
  --field-foreground: var(--portfolio-ink);
  --field-border: var(--portfolio-border);
  --border: var(--portfolio-border);
  --separator: #1a2b46;
  --focus: var(--portfolio-accent);
  --link: var(--portfolio-ink);

  --color-surface: var(--portfolio-surface);
  --color-muted: var(--portfolio-muted);
  --color-accent: var(--portfolio-accent);
  --color-focus: var(--portfolio-accent);
  --color-paper: var(--portfolio-canvas);
  --color-elevated: var(--portfolio-raised);
  --color-ink: var(--portfolio-ink);
  --color-rule: var(--portfolio-border);
  --color-accent-ink: var(--portfolio-accent-ink);
  --color-accent-text: var(--portfolio-accent);
  --color-canvas: var(--portfolio-canvas);
  --color-ink-secondary: var(--portfolio-muted);
  --color-ink-muted: var(--portfolio-muted);

  --canvas-bg: var(--portfolio-canvas);
  --cockpit-surface: var(--portfolio-canvas);
  --cockpit-elevated: var(--portfolio-surface);
  --cockpit-border: var(--portfolio-border);
  --cockpit-border-hover: var(--portfolio-blue);
  --cockpit-text-primary: var(--portfolio-ink);
  --cockpit-text-secondary: var(--portfolio-muted);
  --cockpit-text-muted: var(--portfolio-muted);
  --cockpit-accent: var(--portfolio-accent);
  --cockpit-lime: var(--portfolio-accent);
  --formfrom-violet: var(--portfolio-accent);
  --formfrom-violet-glow: rgba(21, 88, 201, .14);
  --formfrom-volt: var(--portfolio-accent);
  --formfrom-volt-glow: rgba(21, 88, 201, .14);
  --formfrom-volt-ink: var(--portfolio-ink);
  --formfrom-silhouette: var(--portfolio-ink);
  --formfrom-border: var(--portfolio-border);

  --gtm-ink: var(--portfolio-ink);
  --gtm-muted: var(--portfolio-muted);
  --gtm-accent: var(--portfolio-accent);
  --gtm-rule: var(--portfolio-border);
  --scope-ink: var(--portfolio-ink);
  --scope-muted: var(--portfolio-muted);
  --scope-accent: var(--portfolio-accent);
  --scope-rule: var(--portfolio-border);
  --scope-surface: var(--portfolio-surface);
  --scope-active: rgba(21, 88, 201, .22);
  --hero14-accent: var(--portfolio-accent);
  --hero14-rule: var(--portfolio-border);
  --hero14-tag: var(--portfolio-surface);
  --hero14-ink: var(--portfolio-muted);
  --hero14-grid: rgba(21, 88, 201, .1);
  --hero14-light: rgba(21, 88, 201, .12);
  --sui-ink: var(--portfolio-ink);
  --sui-muted: var(--portfolio-muted);
  --sui-accent: var(--portfolio-accent);
  --sui-rule: var(--portfolio-border);
  --sui-surface: var(--portfolio-surface);
}

html {
  background: var(--portfolio-canvas);
  color-scheme: dark;
  scrollbar-color: var(--portfolio-blue) var(--portfolio-canvas);
}

body {
  background-color: var(--portfolio-canvas);
  color: var(--portfolio-ink);
}

.lab-art[data-astro-cid-cse6uf6z] {
  background: radial-gradient(ellipse at 78% 46%, rgba(21, 88, 201, .18), transparent 48%), var(--portfolio-canvas);
}

body.landfree-refined {
  --lf-line: var(--portfolio-blue-rule);
  --lf-card: var(--portfolio-surface);
  --lf-lime: var(--portfolio-accent);
}

.ai-page {
  --ai-rule: var(--portfolio-border);
  --wf-ink: var(--portfolio-ink);
  --wf-muted: var(--portfolio-muted);
  --wf-accent: var(--portfolio-accent);
  --wf-line: var(--portfolio-border);
  --wf-surface: var(--portfolio-surface);
  --wf-active: var(--portfolio-blue-wash);
  --wf-dim: var(--portfolio-muted);
  --wf-bg: var(--portfolio-canvas);
}

body.landfree-refined #capabilities .scope-selection {
  background-color: var(--portfolio-surface);
  border-color: var(--portfolio-blue-rule);
}

body.landfree-refined #capabilities .scope-selection-content {
  background-color: var(--portfolio-surface);
  border-color: var(--portfolio-blue-rule);
}

body.landfree-refined #capabilities .scope-selection-tab {
  border-color: var(--portfolio-blue-rule);
}

.site-header {
  border-color: var(--portfolio-blue-rule);
}

/* The header's content stays centered while its divider spans the viewport. */
html body .site-header .header-inner { border-bottom: 0; }
html body .site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--portfolio-blue-rule);
  pointer-events: none;
}

.primary-nav .nav-link--resume {
  background: var(--portfolio-accent);
  border-color: var(--portfolio-accent);
  color: var(--portfolio-accent-ink);
}

body.landfree-refined .hero-portrait-arrow {
  background-color: var(--portfolio-surface);
  border-color: var(--portfolio-blue-rule);
}

#experience .timeline-entry {
  background-color: var(--portfolio-surface);
  border-color: var(--portfolio-blue-rule);
}

#experience .experience-card-body,
#work .p5-project-details {
  border-color: var(--portfolio-blue-rule);
}

#work .sandbox-spotlight,
#tools.tool-stack {
  border-color: var(--portfolio-blue-rule);
}

.lab-workbench {
  background-color: var(--portfolio-surface);
}

:is(a, button, summary, input, [tabindex]):focus-visible {
  outline-color: var(--portfolio-accent);
}

.route-main .route-card,
.route-main details,
.route-main .event-partners li,
.route-main dl,
.case-page .case-cover,
.case-page .case-meta,
.case-page .case-viewer,
.case-page [data-case-image],
.p5-media > a,
.p5-project-details,
.resume-sections,
.resume-method,
.ai-stage-example,
.ai-example,
.comparison-stage,
.scope-selection,
.scope-selection-content {
  border-color: var(--portfolio-blue-rule);
}

.route-main .route-card,
.resume-method,
.ai-stage-example,
.ai-example,
.scope-selection-content {
  background-color: var(--portfolio-surface);
}

.route-main .route-actions a,
.route-main .route-print,
.p5-view-all,
.hero-contact-link {
  border-color: var(--portfolio-blue-rule);
}

.route-main .route-actions a:hover,
.route-main .route-print:hover,
.p5-view-all:hover,
.hero-contact-link:hover {
  background-color: var(--portfolio-blue);
  border-color: var(--portfolio-blue);
  color: #fff;
}

#capabilities .scope-selection-tab[aria-selected="true"] {
  background: var(--portfolio-blue);
  border-color: var(--portfolio-blue);
  color: #fff;
}

.ai-workflow-tabs button[aria-selected="true"] {
  background: var(--portfolio-blue-wash);
  color: #fff;
}

.ai-workflow-tabs button:hover {
  background: var(--portfolio-blue-wash);
}

.p5-badge,
.hero-focus-tags a {
  border-color: var(--portfolio-blue-rule);
  background-color: var(--portfolio-blue-wash);
}

@media print {
  :root { color-scheme: light; }
  html, body { background: #fff; color: #111; }
}

/* Colour budget (added 2026-11-11). Black canvas carries most of the page, cobalt-family navy
   carries structure (every card, panel and band), lime is kept for actions and one live signal.
   Earlier rules left four grey or green-grey surfaces that belonged to none of the three, and
   used lime for small labels, so lime read as the main colour. */
:root {
  --portfolio-blue-text: #7aa7f5; /* cobalt lightened for small text on the canvas, 7.9:1 */
}
html body .lab-workbench[data-astro-cid-cse6uf6z] {
  background: var(--portfolio-surface);
  color: var(--portfolio-ink);
}
html body.landfree-refined .nav-list {
  background: var(--portfolio-surface);
}
html body.landfree-refined .contact-layout {
  background: linear-gradient(115deg, var(--portfolio-surface), var(--portfolio-raised));
}
html body.landfree-refined .lf-scope-cta {
  background: var(--portfolio-blue-wash);
}
html body.landfree-refined .lf-scope-cta:hover {
  background: rgba(21, 88, 201, .3);
}
/* Labels, kickers and counters: cobalt. Links, buttons and the resume pill stay lime. */
html body :is(.eyebrow, .mono-label, .proof-label, .gtm-kicker, .step-number, .tool-stack-kicker, .work-network-kicker, .lf-eyebrow, .lab-workbench [data-stage-panel] .mono-label) {
  color: var(--portfolio-blue-text) !important;
}
html body #working-together details > summary > span:first-child,
html body #build-lab .lab-output > span:first-child {
  color: var(--portfolio-blue-text) !important;
}
/* Cobalt gets real area: the selected build stage and the tools band. */
html body .lab-controls[data-astro-cid-cse6uf6z] button[data-astro-cid-cse6uf6z][data-selected="true"] {
  background: var(--portfolio-blue);
  border-color: var(--portfolio-blue);
  color: #fff;
}
html body #tools.tool-stack {
  background: linear-gradient(180deg, rgba(21, 88, 201, .34), var(--portfolio-surface) 78%);
}
/* The figure sits on plain black; its hint and readout stay for assistive tech but are not drawn. */
.lab-art[data-astro-cid-cse6uf6z] {
  background: var(--portfolio-canvas);
}
html body .lab-hint[data-astro-cid-cse6uf6z],
html body .lab-readout[data-astro-cid-cse6uf6z] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Build Lab: a supporting block, so a smaller heading and a tighter panel. */
html body .lab-heading h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
  max-width: none;
}
html body .lab-content h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
}
/* Keep the figure's own 5:4 frame so a shorter panel never crops the engine's stand. */
html body .lab-art[data-astro-cid-cse6uf6z] {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

/* Vibe/vibe reference pass: oversized type, compact metrics, and clear action hierarchy. */
:root {
  --portfolio-display: "Instrument Sans Variable", "Avenir Next", sans-serif;
  --portfolio-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --portfolio-panel-shadow: 0 18px 52px rgba(0, 0, 0, .18);
}

html body {
  font-family: var(--portfolio-display);
  font-feature-settings: "ss01" 1, "cv02" 1;
}

html body :is(h1, h2, h3, h4) {
  font-family: var(--portfolio-display);
  font-weight: 650;
  letter-spacing: -.05em;
}

html body :is(.route-eyebrow, .mono-label, .p5-eyebrow, .gtm-kicker, .lab-eyebrow) {
  font-family: var(--portfolio-mono) !important;
  font-size: .68rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}

html body :is(.route-meta, .p5-role, .case-meta dt, .sui-case dt, .resume-date) {
  font-family: var(--portfolio-mono) !important;
  letter-spacing: .045em;
}

html body .route-main h1,
html body .case-page .case-cover h1,
html body .resume-page h1 {
  font-size: clamp(3.35rem, 8vw, 7.2rem);
  line-height: .96;
  letter-spacing: -.07em;
}

html body .route-main h2,
html body .case-page .case-story > h2,
html body .resume-page h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  letter-spacing: -.06em;
}

html body :is(.route-main .route-card, .route-main dl, .case-page .route-card,
  .resume-page .resume-skills dl > div, .resume-page .resume-practice .evidence-card) {
  background: var(--portfolio-surface);
  border-color: var(--portfolio-blue-rule);
  border-radius: var(--portfolio-radius);
  box-shadow: var(--portfolio-panel-shadow);
}

html body .route-main dl dd {
  color: var(--portfolio-ink);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  letter-spacing: -.04em;
}

html body :is(.route-main .route-actions a:first-child,
  .resume-page .resume-hero-actions .route-actions a,
  .hero.hero--mobius .hero-work-link) {
  background: var(--portfolio-accent);
  border-color: var(--portfolio-accent);
  color: var(--portfolio-accent-ink);
  font-weight: 650;
}

html body :is(.route-main .route-actions a:first-child:hover,
  .resume-page .resume-hero-actions .route-actions a:hover,
  .hero.hero--mobius .hero-work-link:hover) {
  background: #e5ff70;
  border-color: #e5ff70;
  color: var(--portfolio-accent-ink);
}

html body :is(.route-main .route-actions a:not(:first-child),
  .resume-page .resume-hero-actions .route-print) {
  border-color: var(--portfolio-blue-rule);
  color: var(--portfolio-ink);
}

html body :is(.route-main .route-actions a:not(:first-child):hover,
  .resume-page .resume-hero-actions .route-print:hover) {
  background: var(--portfolio-blue);
  border-color: var(--portfolio-blue);
  color: #fff;
}

html body .p5-badge {
  background: var(--portfolio-blue-wash);
  border-color: var(--portfolio-blue-rule);
  color: var(--portfolio-ink);
}

html body :is(.p5-project h3 a, .p5-project-link, .case-text-link,
  .resume-page .resume-proof a, .section-link) {
  color: var(--portfolio-accent) !important;
}

html body .resume-page .resume-hero::before {
  background: radial-gradient(ellipse at 95% 0%, rgba(21, 88, 201, .22), transparent 60%),
    linear-gradient(rgba(21, 88, 201, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 88, 201, .08) 1px, transparent 1px);
}

html body .resume-page .resume-skills dl > div {
  background: var(--portfolio-surface);
  border-color: var(--portfolio-blue-rule);
}

html body .resume-page .resume-skills dl > div:last-child {
  background: transparent;
}

html body .resume-page .route-experience article,
html body .resume-page .resume-practice article {
  border-color: var(--portfolio-blue-rule);
}

@media (max-width: 760px) {
  html body .route-main h1,
  html body .case-page .case-cover h1,
  html body .resume-page h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }
}

/* Low-cobalt pass: blue stays a signal for selected states, while the page reads black first. */
:root {
  --portfolio-surface: #0a0b0e;
  --portfolio-raised: #111318;
  --portfolio-surface-secondary: #0d0f13;
  --portfolio-surface-tertiary: #13161c;
  --portfolio-border: #252a33;
  --portfolio-blue-wash: rgba(21, 88, 201, .07);
  --portfolio-blue-rule: rgba(92, 119, 161, .28);
  --separator: #1b1f26;
  --scope-active: rgba(21, 88, 201, .12);
  --hero14-grid: rgba(21, 88, 201, .05);
  --hero14-light: rgba(21, 88, 201, .07);
  --portfolio-blue-text: #a2acbc;
}

html {
  scrollbar-color: var(--portfolio-border) var(--portfolio-canvas);
}

html body .lab-art[data-astro-cid-cse6uf6z] {
  background: radial-gradient(ellipse at 78% 46%, rgba(21, 88, 201, .07), transparent 48%), var(--portfolio-canvas);
}

html body #tools.tool-stack {
  background: linear-gradient(180deg, rgba(21, 88, 201, .12), var(--portfolio-surface) 78%);
}

html body .lab-controls[data-astro-cid-cse6uf6z] button[data-astro-cid-cse6uf6z][data-selected="true"],
html body #capabilities .scope-selection-tab[aria-selected="true"] {
  background: rgba(21, 88, 201, .42);
  border-color: rgba(92, 119, 161, .42);
  color: #fff;
}

html body :is(.route-main .route-actions a:not(:first-child):hover,
  .resume-page .resume-hero-actions .route-print:hover) {
  background: rgba(21, 88, 201, .24);
  border-color: rgba(92, 119, 161, .45);
}

/* Minimal-blue refinement: use cobalt only as a quiet structural trace. */
:root {
  --portfolio-blue-wash: rgba(21, 88, 201, .035);
  --portfolio-blue-rule: rgba(255, 255, 255, .16);
  --portfolio-border: #343638;
  --scope-active: rgba(212, 255, 36, .06);
  --portfolio-blue-text: #aab2bf;
}

html body #tools.tool-stack {
  background: var(--portfolio-surface);
}

html body .lab-art[data-astro-cid-cse6uf6z] {
  background: radial-gradient(ellipse at 78% 46%, rgba(21, 88, 201, .03), transparent 48%), var(--portfolio-canvas);
}

html body .lab-controls[data-astro-cid-cse6uf6z] button[data-astro-cid-cse6uf6z][data-selected="true"],
html body #capabilities .scope-selection-tab[aria-selected="true"] {
  background: var(--portfolio-surface);
  border-color: var(--portfolio-accent);
  color: var(--portfolio-ink);
}

html body :is(.route-main .route-actions a:not(:first-child):hover,
  .resume-page .resume-hero-actions .route-print:hover) {
  background: rgba(21, 88, 201, .12);
  border-color: var(--portfolio-blue-rule);
}

/* Final neutral surface layer for route-specific components. */
html body .ai-page {
  --wf-surface: var(--portfolio-surface);
  --wf-active: var(--portfolio-blue-wash);
  --wf-line: var(--portfolio-border);
  --wf-bg: var(--portfolio-canvas);
}

html body :is(.workbench-source, .workbench-controls, .ai-stage-example,
  .ai-example, .ai-page .ai-knowledge > details, .ai-knowledge .route-card,
  .ai-page .ai-operations, .comparison-toolbar > div) {
  background: var(--portfolio-surface);
  border-color: var(--portfolio-border);
}

html body :is(.ai-example .ai-example-code, .ai-example-code) {
  background: var(--portfolio-raised);
}

html body :is(.workbench-source i, .sample-stack i,
  .ai-page .ai-operations, .ai-page .ai-knowledge .route-card,
  .ai-page .ai-knowledge > details, .ai-reference,
  .ai-example-secondary, .comparison-toolbar > div) {
  border-color: var(--portfolio-border);
}

html body :is(.sample-stack b, .ai-page .ai-knowledge .route-card,
  .comparison-toolbar > div) {
  background: var(--portfolio-surface);
}

html body :is(.ai-page .ai-example-type, .ai-page .ai-knowledge > summary,
  .ai-page .workbench-caption, .ai-stage-example > span,
  .ai-stage-example b, .practice-reading > div > span:first-child,
  .practice-reading > div > span:nth-child(2)) {
  color: var(--portfolio-muted);
}

html body :is(.resume-page .resume-skills dl > div,
  .resume-page .resume-practice .evidence-card, .resume-method) {
  background: var(--portfolio-surface);
  border-color: var(--portfolio-border);
}

html body .resume-page .resume-skills dl > div:not(:last-child):hover {
  background: var(--portfolio-raised);
  border-color: var(--portfolio-accent);
}

html body .resume-method {
  background: var(--portfolio-surface);
}

html body :is(.resume-page .evidence-preview, .case-viewer) {
  background: var(--portfolio-canvas);
  border-color: var(--portfolio-border);
}

html body :is(.resume-page .evidence-copy .resume-proof,
  .resume-page .resume-practice article, .resume-page .route-experience article) {
  border-color: var(--portfolio-border);
}

html body.landfree-refined #contact.contact-layout {
  background: var(--portfolio-surface);
  border-color: var(--portfolio-border);
}

html body .case-viewer button:hover {
  border-color: var(--portfolio-accent);
  color: var(--portfolio-accent);
}

/* Remove decorative color haze; keep only the artwork and functional motion. */
html body .magnetic-spotlight-dot,
html body .pixel-bloom,
html body .hero-depth,
html body .ai-hero-visual,
html body .workbench-scene {
  background: var(--portfolio-surface);
}

html body .magnetic-spotlight-dot,
html body .pixel-bloom {
  display: none;
}

.workflow-banner .workflow-banner-separator {
  color: var(--portfolio-accent);
  opacity: 1;
}
body.landfree-refined #workflow-banner {
  margin-block: 0;
  border-bottom: 0;
  border-top-color: var(--portfolio-blue-rule);
}

/* UI/UX Pro Max accessibility floor: touch size and direct manipulation. */
.achievement-section { padding-block: clamp(48px, 6vw, 80px); }
.achievement-section header { margin-bottom: 28px; }
.achievement-section header h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.achievement-section header p, .achievement-note { color: var(--portfolio-muted); max-width: 65ch; }
html body .achievement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--portfolio-border); border-radius: 16px; background: var(--portfolio-surface); }
html body .achievement-grid > div { min-width: 0; padding: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--portfolio-border); }
.achievement-grid > div:nth-child(odd) { border-right: 1px solid var(--portfolio-border); }
.achievement-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.achievement-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.achievement-grid > div:nth-last-child(2):nth-child(even) { border-bottom: 1px solid var(--portfolio-border); }
html body .achievement-grid dt { color: var(--portfolio-muted); font: 500 11px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
html body .achievement-grid dd { margin: 12px 0; color: var(--portfolio-ink); font-size: clamp(3rem, 5vw, 5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
html body .achievement-grid p { margin: 0; color: var(--portfolio-muted); font-size: 15px; line-height: 1.55; }
html body .achievement-grid > div:last-child { background: var(--portfolio-accent); }
html body .achievement-grid > div:last-child :is(dt, dd, p) { color: var(--portfolio-accent-ink); }
.achievement-note { margin-top: 14px; font-size: 12px; }
/* The homepage metrics belong to the hero and stay visually compact. */
body.landfree-refined .hero.hero--name-led {
  background: transparent;
}
body.landfree-refined .hero.hero--name-led::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 0%, rgba(10, 30, 78, .48), transparent 58%), var(--portfolio-canvas);
}
/* Full-width section separators; content remains aligned to its existing grid. */
body.landfree-refined main > :is(#work, #build-lab, #experience, #project-history, #capabilities, #process, #tools, #working-together, #about) {
  border-top: 1px solid var(--portfolio-blue-rule);
  border-image: linear-gradient(var(--portfolio-blue-rule), var(--portfolio-blue-rule)) 1 / 1px 0 0 / 0 100vw;
}
html body .hero .achievement-section { width: 100%; padding: 28px 0 0; }
html body .hero .achievement-section header { margin-bottom: 14px; }
html body .hero .achievement-section header h2 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); margin-bottom: 6px; }
html body .hero .achievement-section header p { font-size: 14px; }
html body .hero .achievement-grid > div { padding: 18px 20px; }
html body .hero .achievement-grid dd { font-size: clamp(2.2rem, 3vw, 3rem); margin: 8px 0; }
html body .hero .achievement-grid p { font-size: 13px; }
html body .hero .achievement-note { margin-top: 10px; }
@media (min-width: 761px) {
  html body .achievement-section { padding-block: 32px 56px; }
  html body .achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body .achievement-grid > div { grid-column: auto; border-bottom: 0; border-right: 1px solid var(--portfolio-border); padding: 24px; }
  html body .achievement-grid > div:last-child:nth-child(odd) { grid-column: auto; border-right: 0; }
  html body .achievement-grid dd { font-size: clamp(2.6rem, 4vw, 4rem); }
}
@media (max-width: 760px) {
  html body .achievement-grid { grid-template-columns: minmax(0, 1fr); }
  html body .achievement-grid > div { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--portfolio-border); }
  html body .achievement-grid > div:last-child:nth-child(odd) { grid-column: auto; border-bottom: 0; }
}
@media (max-width: 480px) { html body .achievement-grid > div { padding: 20px 16px; } html body .achievement-grid dd { font-size: clamp(2.4rem, 12vw, 3.4rem); } html body .achievement-grid p { font-size: 14px; } }

html body .resume-page .resume-hero-actions .route-actions a.resume-download,
html body .resume-page .resume-hero-actions .route-actions a.resume-download:hover,
html body .resume-page .resume-hero-actions .route-actions a.resume-download:focus-visible {
  color: var(--portfolio-accent-ink);
}

html body :is(.route-actions a, .route-print, .nav-link, .p5-project-link,
  .p5-view-all, .lab-link, .case-text-link, .section-link,
  .toggle-button, .method-controls button, .ai-workflow-tabs button,
  .comparison-toolbar button, .workbench-controls button) {
  min-height: 44px;
  touch-action: manipulation;
}

html body :is(button, [role="button"], a) {
  cursor: pointer;
}

html body :is(h1, h2, h3, h4) {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  html body .ai-page .ai-knowledge .route-grid,
  html body .resume-page .resume-skills dl {
    gap: 12px;
  }
}

/* Sale reference: a full-width, translucent header with a clear, unboxed navigation. */
html body .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: none;
  padding-block: 0;
  background: rgba(8, 10, 12, .88);
  backdrop-filter: saturate(1.4) blur(14px);
}
html body .site-header .header-inner {
  min-height: 64px;
  padding-block: 0;
  background: transparent;
}
html body .site-header .wordmark { font-size: 1.3rem; }
@media (min-width: 1024px) {
  html body.landfree-refined .site-header .nav-list {
    gap: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  html body .site-header .nav-link:not(.nav-link--resume) {
    min-height: 44px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
  }
  html body .site-header .nav-link:not(.nav-link--resume):hover { color: #fff; }
  html body .site-header .nav-link--resume {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 9px !important;
    background: var(--portfolio-accent);
    border-color: transparent;
    color: var(--portfolio-accent-ink) !important;
  }
  html body .site-header .nav-link--resume:hover {
    background: var(--portfolio-accent) !important;
    color: var(--portfolio-accent-ink) !important;
    transform: none;
  }
}
@media (max-width: 1023px) {
  html body .site-header .header-inner { align-items: center; }
}

/* Hero actions use the reference's softly rounded rectangular corners. */
html body.landfree-refined .hero.hero--name-led :is(.hero-work-link, .hero-contact-link) {
  border-radius: 9px;
}

html body.landfree-refined .hero.hero--name-led .hero-contact-link {
  color: #f1f2ef;
}
html body.landfree-refined .hero.hero--name-led .hero-contact-link svg {
  color: inherit;
}

/* Selected Work: evidence-led cards informed by the Vibe/Vibe references. */
html body.landfree-refined #work[data-relume-component] .p5-grid {
  gap: 20px;
  align-items: stretch;
}
html body.landfree-refined #work[data-relume-component] .p5-project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #0c0f10;
}
html body.landfree-refined #work[data-relume-component] .p5-media {
  margin: 0;
  padding: 12px 12px 0;
}
html body.landfree-refined #work[data-relume-component] .p5-media > a {
  border-color: rgba(255, 255, 255, .12);
  border-radius: 7px;
}
html body.landfree-refined #work[data-relume-component] .p5-media figcaption {
  min-height: 0;
  margin: 10px 4px 0;
  color: #aeb4b8;
  text-align: left;
}
html body.landfree-refined #work[data-relume-component] .p5-project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 20px;
}
html body.landfree-refined #work[data-relume-component] .p5-role {
  font-family: var(--font-mono, monospace);
  font-size: 11px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bbc0c1 !important;
}
html body.landfree-refined #work[data-relume-component] .p5-project h3 a {
  color: #f2f4f3;
}
html body.landfree-refined #work[data-relume-component] .p5-project h3 a:hover {
  color: var(--portfolio-accent);
}
html body.landfree-refined #work[data-relume-component] .p5-badge {
  border-color: rgba(255, 255, 255, .17);
  background: transparent;
  color: #c9cece;
}
html body.landfree-refined #work[data-relume-component] .p5-project-link {
  align-self: flex-start;
  margin-top: auto;
}
html body.landfree-refined #work[data-relume-component] .p5-project-details {
  border-top-color: rgba(255, 255, 255, .14);
}
@media (max-width: 767px) {
  html body.landfree-refined #work[data-relume-component] .p5-grid { gap: 20px; }
  html body.landfree-refined #work[data-relume-component] .p5-project-body { padding: 22px 20px 16px; }
}

/* Layered, softly lit frame around the Build Lab section. */
html body.landfree-refined #build-lab .lab-reference-frame {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4vw, 58px);
  border: 1px solid rgba(212, 255, 36, .38);
  border-radius: 14px;
  background: #0e1112;
}
html body.landfree-refined #build-lab .lab-reference-frame::before,
html body.landfree-refined #build-lab .lab-reference-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 12px;
  border: 1px solid rgba(212, 255, 36, .3);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}
html body.landfree-refined #build-lab .lab-reference-frame::before {
  inset: -12px 18px auto;
  box-shadow: 0 -2px 16px rgba(212, 255, 36, .18);
}
html body.landfree-refined #build-lab .lab-reference-frame::after {
  inset: -22px 36px auto;
  height: 10px;
  opacity: .45;
}
@media (max-width: 600px) {
  html body.landfree-refined #build-lab .lab-reference-frame { padding: 24px 16px; }
  html body.landfree-refined #build-lab .lab-reference-frame::before { inset-inline: 12px; }
  html body.landfree-refined #build-lab .lab-reference-frame::after { inset-inline: 24px; }
}

/* Make the workflow the focus and keep the turbine as a supporting illustration. */
html body.landfree-refined #build-lab .lab-workbench {
  grid-template-columns: .9fr 1.1fr;
  background: transparent;
  border-radius: 0;
}
html body.landfree-refined #build-lab .lab-art::before { display: none; }
html body.landfree-refined #build-lab .lab-art {
  min-height: 420px;
  border-radius: 10px;
}
html body.landfree-refined #build-lab .lab-console {
  border-left: 0;
  padding: 16px clamp(20px, 3vw, 44px);
}
html body.landfree-refined #build-lab .lab-controls button { border-radius: 6px; }
html body.landfree-refined #build-lab .lab-content { min-height: 190px; }
@media (max-width: 800px) {
  html body.landfree-refined #build-lab .lab-workbench { grid-template-columns: 1fr; }
  html body.landfree-refined #build-lab .lab-art { min-height: 320px; }
  html body.landfree-refined #build-lab .lab-console { padding: 26px 0 0; border: 0; }
}
@media (max-width: 480px) {
  html body.landfree-refined #build-lab .lab-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* How I Work: one illustration and description per stage. */
html body.landfree-refined #process.gtm-process { display: block; }
html body.landfree-refined #process.gtm-process .process-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 32px; }
html body.landfree-refined #process.gtm-process .process-header .process-intro { max-width: none; margin: 0; }
html body.landfree-refined #process.gtm-process .process-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; border: 0; list-style: none; }
html body.landfree-refined #process.gtm-process .process-steps::before { content: ""; position: absolute; inset: 0 0 auto; height: 290px; border: 1px solid #404838; border-radius: 10px; background: #0d1010; }
html body.landfree-refined #process.gtm-process .process-steps::after { content: ""; position: absolute; top: 144px; left: 12%; right: 12%; height: 5px; background: linear-gradient(90deg, #46562b 0%, #46562b 69%, #d4ff52 75%, #46562b 82%, #46562b 100%); }
html body.landfree-refined #process.gtm-process .process-step { position: relative; z-index: 1; display: block; min-width: 0; padding: 0; border: 0; }
html body.landfree-refined #process.gtm-process .process-visual { height: 290px; padding: 24px 10px 20px; text-align: center; }
html body.landfree-refined #process.gtm-process .process-visual-label { display: block; color: #f0f2ec; font: 600 13px/1.4 var(--font-mono, monospace); letter-spacing: .08em; }
html body.landfree-refined #process.gtm-process .process-visual :is(img, .process-art) { display: block; width: min(100%, 255px); height: 210px; object-fit: contain; margin: 12px auto 0; }
html body.landfree-refined #process.gtm-process .process-visual-dot { display: none; }
html body.landfree-refined #process.gtm-process .step-number { display: block; margin: 28px 0 10px; color: #d4ff24 !important; }
html body.landfree-refined #process.gtm-process .process-step h3 { margin: 0 0 12px; }
html body.landfree-refined #process.gtm-process .process-step p { max-width: 34ch; }
html body.landfree-refined #process.gtm-process > .process-intro { margin-top: 30px; }
@media (max-width: 800px) {
  html body.landfree-refined #process.gtm-process .process-header { display: block; }
  html body.landfree-refined #process.gtm-process .process-header .process-intro { margin-top: 14px; }
  html body.landfree-refined #process.gtm-process .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  html body.landfree-refined #process.gtm-process .process-steps::before, html body.landfree-refined #process.gtm-process .process-steps::after { display: none; }
  html body.landfree-refined #process.gtm-process .process-visual { height: 200px; border: 1px solid #404838; border-radius: 10px; background: #0d1010; padding: 18px 8px; }
  html body.landfree-refined #process.gtm-process .process-visual :is(img, .process-art) { height: 150px; margin-top: 6px; }
  html body.landfree-refined #process.gtm-process .step-number { margin-top: 18px; }
}
@media (max-width: 600px) {
  html body.landfree-refined #process.gtm-process .process-steps { grid-template-columns: 1fr; gap: 30px; }
  html body.landfree-refined #process.gtm-process .process-visual { height: 190px; }
  html body.landfree-refined #process.gtm-process .process-visual :is(img, .process-art) { height: 140px; }
}

/* A light pulse travels through the workflow conduit. */
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  html body.landfree-refined #process.gtm-process .process-steps::after {
    background-color: #46562b;
    background-image: linear-gradient(90deg, transparent 0%, #d4ff52 50%, transparent 100%);
    background-size: 110px 100%;
    background-repeat: no-repeat;
    animation: process-pipeline-flow 2.75s linear infinite;
  }
  html[data-motion-paused="true"] body.landfree-refined #process.gtm-process .process-steps::after {
    animation-play-state: paused;
  }
}
@keyframes process-pipeline-flow {
  0% { background-position: -110px 0; }
  13.64% { background-position: calc(10% - 88px) 0; }
  25% { background-position: calc(25% - 55px) 0; }
  38.64% { background-position: calc(35% - 33px) 0; }
  50% { background-position: 50% 0; }
  63.64% { background-position: calc(60% + 22px) 0; }
  75% { background-position: calc(75% + 55px) 0; }
  88.64% { background-position: calc(85% + 77px) 0; }
  100% { background-position: calc(100% + 110px) 0; }
}

/* Bring each stage label closer to its illustration. */
html body.landfree-refined #process.gtm-process .process-visual-label {
  transform: translateY(18px);
}
@media (max-width: 800px) {
  html body.landfree-refined #process.gtm-process .process-visual-label {
    transform: translateY(8px);
  }
}

/* Station details respond in sequence to the pipeline pulse. */
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  #process .motion-research-lens { animation: workflow-scan 2.75s ease-in-out infinite; }
  #process .motion-research-chart { animation: workflow-highlight 2.75s ease-in-out infinite; }
  #process .motion-position-focus { animation: workflow-highlight 2.75s ease-in-out .72s infinite; }
  #process .motion-distribute-center { animation: workflow-highlight 2.75s ease-in-out 1.38s infinite; }
  #process .motion-distribute-node { animation: workflow-highlight 2.75s ease-in-out 1.5s infinite; }
  #process .motion-refine-chart { animation: workflow-highlight 2.75s ease-in-out 2.04s infinite; }
  #process .motion-refine-check { animation: workflow-highlight 2.75s ease-in-out 2.2s infinite; }
  html[data-motion-paused="true"] #process :is(.motion-research-lens, .motion-research-chart, .motion-position-focus, .motion-distribute-center, .motion-distribute-node, .motion-refine-chart, .motion-refine-check) { animation-play-state: paused; }
}
@keyframes workflow-scan {
  0%, 28%, 100% { transform: translateX(0); }
  12% { transform: translateX(-7px); }
  20% { transform: translateX(3px); }
}
@keyframes workflow-highlight {
  0%, 28%, 100% { opacity: .65; }
  12% { opacity: 1; filter: drop-shadow(0 0 3px #d4ff52); }
}

/* Typography from the Vibe/Vibe sale reference, served locally. */
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --font-display: var(--portfolio-display);
  --font-heading: var(--portfolio-display);
  --font-body: "Instrument Sans Variable", "Avenir Next", sans-serif;
  --font-mono: var(--portfolio-mono);
}

/* Clash has wider letterforms than the previous display font. */
html body.landfree-refined .hero.hero--name-led .hero-title {
  font-size: clamp(72px, 13.5vw, 196px);
  letter-spacing: -.025em;
}
html body.landfree-refined .hero.hero--name-led .hero-pitch { letter-spacing: -.015em; }
@media (max-width: 767px) {
  html body.landfree-refined .hero.hero--name-led .hero-title { font-size: 14vw; letter-spacing: -.025em; }
}

/* Case studies: clear hierarchy, readable evidence and consistent controls. */
html body .case-page .case-cover { gap: clamp(24px, 4vw, 48px); }
html body .case-page .case-cover h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.025em; }
html body .case-page .case-meta { padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: #0c1010; }
html body .case-page .case-meta dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: #b8bfc0; }
html body .case-page .case-meta dd { color: #f1f3f1; }
html body .case-page .case-story h2 { letter-spacing: -.025em; line-height: 1.12; }
html body .case-page .case-story > h2 { margin: 56px 0 18px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
html body .case-page .case-story .route-grid { gap: 14px; }
html body .case-page .case-story .route-card { background: #0c1010; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
html body .case-page .case-story .route-card h3 { font-size: 20px; margin: 0 0 12px; }
html body .case-page .case-story .route-card p { margin: 0; }
html body .case-page .case-story .route-actions a { border-radius: 9px; border-color: rgba(255,255,255,.22); }
html body .case-page .case-story .route-boundary { border-left-color: #d4ff24; padding: 16px 20px; background: #10160e; }
html body .case-page .case-story figcaption { color: #b7bdbd; line-height: 1.55; }
html body .sui-case .sui-contribution { padding: 22px 0; }
html body .sui-case .sui-contribution:first-child { padding-top: 0; }
html body .sui-case .sui-tradeoff { color: #aeb8aa; }
html body .event-case .event-partners { padding: 0; list-style: none; }
@media (max-width: 1023px) {
  html body .case-page .case-meta, html body .case-page.sui-case .case-meta { padding: 20px; border: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 640px) {
  html body .case-page .case-cover h1 { font-size: clamp(34px, 10vw, 48px); }
  html body .case-page .case-story > h2 { margin-top: 40px; padding-top: 24px; }
  html body .event-case .event-partners { grid-template-columns: 1fr; }
}

/* Event case: separate the challenge and align the evidence with the narrative. */
html body .event-case .event-context {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
html body .event-case .event-context h2 { margin: 0 0 18px; }
html body .event-case .event-context ul { padding-left: 1.25rem; }
html body .event-case .event-context li { margin: 8px 0; }
html body .event-case .event-partners li { min-width: 0; }
@media (max-width: 640px) {
  html body .event-case .event-context { margin-top: 40px; padding-top: 24px; }
}
html body .event-case .case-story .event-three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .event-case .event-partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html body .event-case .event-context ul { list-style: disc outside; }
html body .event-case .event-context li::marker { color: #d4ff24; }
html body .event-case .event-close { margin-top: 64px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
html body .event-case .event-close h2 { margin: 14px 0 22px; }
@media (max-width: 1023px) {
  html body .event-case .case-story .event-three-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .event-case .event-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html body .event-case .case-story .event-three-up { grid-template-columns: 1fr; }
  html body .event-case .event-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .event-case .event-close { margin-top: 44px; }
}
@media (max-width: 360px) { html body .event-case .event-partners { grid-template-columns: 1fr; } }

/* Case details expand within their own card without stretching the neighbouring card. */
html body.landfree-refined #work[data-relume-component] .p5-grid { align-items: start; }
html body.landfree-refined #work[data-relume-component] .p5-project-link { margin-top: 0; }
html body.landfree-refined #work[data-relume-component] .quorum-metric-label { color: #c2c8c9; }

@media (min-width: 768px) {
  html body.landfree-refined #work[data-relume-component] .p5-grid:not(:has(.p5-project-details[open])) { align-items: stretch; }
  html body.landfree-refined #work[data-relume-component] .p5-grid:not(:has(.p5-project-details[open])) .p5-project-link { margin-top: auto; }
}
html body.landfree-refined #work[data-relume-component] .p5-project-details > summary {
  color: #d2d7d6;
  font-size: 13px;
  line-height: 1.45;
}
html body.landfree-refined #work[data-relume-component] .p5-project-details > summary:hover { color: #f3f5f2; }
html body.landfree-refined #work[data-relume-component] .p5-project-details .case-scope > div {
  grid-template-columns: minmax(105px, 120px) minmax(0, 1fr);
  align-items: baseline;
}
html body.landfree-refined #work[data-relume-component] .p5-project-details .case-scope dt { color: #b9c0c1; }
html body.landfree-refined #work[data-relume-component] .p5-project-details .case-scope dd { color: #f0f2ef; }
@media (max-width: 480px) {
  html body.landfree-refined #work[data-relume-component] .p5-project-details .case-scope > div { grid-template-columns: 1fr; gap: 4px; margin-bottom: 16px; }
}

/* Event-wide figures stay visible with their project context. */
html body.landfree-refined #case-non-fungible-event .p5-context-label { margin: 0 0 8px; }
html body.landfree-refined #case-non-fungible-event .quorum-case-metrics { margin: 0 0 18px; }

.sandbox-spotlight .sandbox-case-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--portfolio-accent);
  font-weight: 600;
  text-decoration: none;
}
.sandbox-spotlight .sandbox-case-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.sandbox-spotlight .sandbox-case-link:focus-visible { outline: 2px solid var(--portfolio-accent); outline-offset: 4px; }

/* Keep the section introduction aligned with the references. */
html body .work-network { align-items: center; }
html body .work-network-header[data-astro-cid-v344tcib] h2[data-astro-cid-v344tcib] { max-width: 12ch; font-family: var(--portfolio-display); font-weight: 650; font-size: clamp(1.8rem, 2.7vw, 2.6rem); letter-spacing: -.05em; }
html body .work-network-header > p:last-child { max-width: 32ch; }
@media (min-width: 761px) {
  html body .work-network:has(.toggle-directory-btn[aria-expanded="true"]) .work-network-header { grid-column: 1 / -1; max-width: none; }
  html body .work-network:has(.toggle-directory-btn[aria-expanded="true"]) .work-network-header h2 { max-width: none; }
}


/* Shared header across home, case studies, AI and resume. */
html body .site-header .header-inner { max-width: var(--content-max, 80rem); margin-inline: auto; }
html body .site-header .wordmark { font-family: var(--font-body); font-weight: 700; letter-spacing: -.025em; }
html body .site-header .nav-link--resume .nav-resume-icon { display: none; }
@media (min-width: 768px) {
  html body .site-header .nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  html body .site-header .nav-link:not(.nav-link--resume) {
    min-height: 44px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
  }
  html body .site-header .nav-link--resume,
  html body .site-header .nav-link--resume[aria-current="page"] {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px !important;
    background: var(--portfolio-accent);
    color: var(--portfolio-accent-ink) !important;
  }
}
@media (max-width: 767px) {
  html body .site-header .nav-toggle { color: var(--portfolio-ink); border-radius: 8px; background: transparent; }
  html body .site-header[data-menu-enhanced] .nav-list { background: #0c0f10; border-radius: 10px; }
  html body .site-header[data-menu-enhanced] .nav-link--resume,
  html body .site-header[data-menu-enhanced] .nav-link--resume[aria-current="page"] {
    border-radius: 8px !important;
    background: var(--portfolio-accent);
    border-color: var(--portfolio-accent);
    color: var(--portfolio-accent-ink) !important;
  }
}

/* Scale the main canvas for common desktop viewports without widening reading columns. */
@media (min-width: 1920px) {
  :root { --content-max: clamp(1520px, 66vw, 1720px); }
}
@media (min-width: 1024px) and (max-height: 850px) {
  html body.landfree-refined .hero.hero--name-led { padding-top: 28px; }
  html body.landfree-refined .hero.hero--name-led .hero-title {
    font-size: clamp(72px, 11.5vw, 165px);
    margin-bottom: 18px;
  }
  html body .hero .achievement-section { padding-top: 20px; }
  html body .hero .achievement-grid > div { padding-block: 14px; }
}
