@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Shared visual system. Static assets work directly on PHP/Apache hosting. */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090b0a;
  --surface: #111411;
  --surface-soft: #1a1f19;
  --text: #f1f3eb;
  --muted: #a2aaa0;
  --line: #272e25;
  --line-strong: #414c3a;
  --accent: #c4f76b;
  --accent-strong: #d2ff8a;
  --accent-soft: #1a2414;
  --success: #c4f76b;
  --danger: #ff9690;
  --header: rgba(9, 11, 10, .88);
  --shadow: 0 20px 60px #0003;
  --radius: 16px;
  --radius-lg: 22px;
  --shell: 1280px;
  --display-font: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body-font: 'Manrope', 'Segoe UI', sans-serif;
  --mono-font: 'IBM Plex Mono', Consolas, monospace;
  --wire-color: #8b9a75;
  --button-ink: #10150b;
  --u-bg: var(--bg);
  --u-surface: var(--surface);
  --u-soft: var(--surface-soft);
  --u-text: var(--text);
  --u-muted: var(--muted);
  --u-line: var(--line);
  --u-line-strong: var(--line-strong);
  --u-accent: var(--accent);
  --u-accent-strong: var(--accent-strong);
  --u-accent-soft: var(--accent-soft);
  --u-success: var(--success);
  --u-danger: var(--danger);
  --u-header: var(--header);
  --u-shadow: var(--shadow);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f0;
  --surface: #fff;
  --surface-soft: #e9ede3;
  --text: #172015;
  --muted: #5d6957;
  --line: #d5ddce;
  --line-strong: #acbca1;
  --accent: #47711b;
  --accent-strong: #355d0b;
  --accent-soft: #e7f0db;
  --success: #47711b;
  --danger: #b43d38;
  --header: rgba(244, 246, 240, .9);
  --shadow: 0 20px 50px #1e32100a;
  --wire-color: #607447;
  --button-ink: #fff;
}

html body { min-width: 0; font-family: var(--body-font) !important; }
h1, h2, h3 { font-family: var(--display-font); }
.shell { width: min(calc(100% - 96px), var(--shell)) !important; }
.site-header, .site-header.is-scrolled { padding: 0; border-color: var(--line); backdrop-filter: blur(20px); }
.nav-shell, .site-header.is-scrolled .nav-shell { min-height: 86px !important; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.brand-mark { border-radius: 8px !important; }
.brand-copy { font-size: 14px; letter-spacing: -.03em; }
.brand-copy small { font: 9px/1.4 var(--mono-font) !important; letter-spacing: .06em; }
.site-nav { gap: 2px !important; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.site-nav a { font-size: 12px !important; font-weight: 500 !important; padding-inline: 12px; }
.site-nav a[href$="#contact"] { color: var(--accent-strong) !important; }
.icon-button, .theme-toggle, .menu-toggle { background: transparent !important; border-radius: 50% !important; }
.theme-toggle[data-theme-toggle] .global-action-icon { color: var(--text); filter: none; transform: none; box-shadow: none; }
.button { min-height: 50px; padding-inline: 23px; border-radius: 8px !important; font-size: 12px !important; font-weight: 700; }
.button-primary { background: var(--accent) !important; color: var(--button-ink) !important; border-color: var(--accent) !important; box-shadow: none !important; }
.button-primary:hover { background: var(--accent-strong) !important; border-color: var(--accent-strong) !important; }
.button-secondary { background: transparent !important; border-color: var(--line-strong) !important; }
.button span[aria-hidden] { margin-left: 17px; font-size: 19px; font-weight: 400; }
.button-text { color: var(--accent-strong); }
.eyebrow, .section-kicker { font: 500 10px/1.5 var(--mono-font) !important; letter-spacing: .11em !important; }
.eyebrow::before { width: 5px; height: 5px; box-shadow: none; border-radius: 1px; }
.heading-muted { color: var(--muted); }
.heading-accent { color: var(--accent-strong); }

/* First frame: editorial type meets a responsive, vector-built system. */
.future-hero { position: relative; display: block; min-height: auto; padding: 74px 0 0; overflow: clip; }
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 78px 78px; opacity: .2; mask-image: linear-gradient(90deg, transparent 30%, #000 85%); }
.future-hero::before { position: absolute; content: ''; width: 680px; height: 680px; right: -80px; top: -70px; pointer-events: none; background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 5%, transparent), transparent 65%); }
.future-hero .hero-layout { position: relative; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero-intro { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font: 400 10px/1.5 var(--mono-font); letter-spacing: .08em; }
.intro-rule { width: 22px; height: 1px; background: var(--accent); }
.future-hero h1 { font: 500 clamp(3.8rem, 6.9vw, 6.7rem)/1.03 var(--display-font); letter-spacing: -.065em; max-width: none; }
.future-hero h1 .future-word { display: inline; color: var(--accent); font-weight: 500; }
.future-hero h1 .hero-period { display: inline; color: var(--text); font-weight: 500; }
.future-hero .hero-lead { margin-top: 28px; max-width: 510px; font-size: 14px; line-height: 1.9; }
.future-hero .hero-actions { margin-top: 32px; gap: 12px; }
.future-hero .availability-note { margin-top: 26px; font-size: 10px; font-weight: 500; color: var(--muted); gap: 8px; flex-wrap: wrap; }
.future-hero .availability-note > span:first-child { width: 5px; height: 5px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent); }
.future-hero .availability-divider { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; padding-inline: 4px; color: var(--line-strong); }
.current-role { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--muted); font: 400 10px/1.5 var(--mono-font); }
.current-role strong { font-weight: 500; color: var(--text); }
.hero-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 54px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font: 400 9px/1.5 var(--mono-font); letter-spacing: .1em; }
.hero-bottom a:hover { color: var(--accent); }
.hero-bottom a:first-child { display: flex; align-items: center; gap: 12px; }
.hero-bottom a:first-child span { color: var(--accent); font-size: 18px; }

.system-visual { min-width: 0; --system-color: var(--accent); }
.system-visual[data-system-mode="devops"] { --system-color: #91c5f9; }
.system-visual[data-system-mode="ai"] { --system-color: #c2abfa; }
html[data-theme="light"] .system-visual[data-system-mode="devops"] { --system-color: #2d68a3; }
html[data-theme="light"] .system-visual[data-system-mode="ai"] { --system-color: #7452ad; }
.visual-heading { display: flex; align-items: center; justify-content: space-between; padding-inline: 24px; color: var(--muted); font: 400 9px/1.5 var(--mono-font); letter-spacing: .1em; }
.visual-heading > span:first-child { display: flex; align-items: center; gap: 8px; }
.visual-heading i { width: 4px; height: 4px; background: var(--system-color); border-radius: 50%; }
.orbital-stage { position: relative; aspect-ratio: 600 / 530; }
.orbital-sphere { width: 100%; height: 100%; color: var(--system-color); transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)); transition: transform .6s ease, color .4s ease; }
.sphere-wire, .sphere-meridian { color: var(--wire-color); opacity: .62; }
.orbit-back { opacity: .25; }
.orbit-secondary { opacity: .55; transform-origin: 300px 265px; animation: orbit-turn 60s linear infinite; }
.orbit-primary { transform-origin: 300px 265px; animation: orbit-turn 90s linear infinite reverse; }
.orbit-beacon { filter: drop-shadow(0 0 6px currentColor); }
.orbit-node { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); box-shadow: 0 8px 30px #0002; transition: border-color .3s, transform .3s; }
.orbit-node-cloud { top: 17%; left: 3%; }
.orbit-node-devops { right: 0; top: 49%; }
.orbit-node-ai { left: 11%; bottom: 13%; }
.node-icon { display: grid; place-items: center; height: 28px; width: 28px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 20px; }
.orbit-node strong { display: block; font: 500 9px/1.5 var(--mono-font); letter-spacing: .07em; }
.orbit-node small { display: block; color: var(--muted); margin-top: 4px; font: 400 7px/1.4 var(--mono-font); }
.orbit-node i { width: 4px; height: 4px; margin-left: 6px; border-radius: 50%; background: var(--line-strong); }
[data-system-mode="cloud"] .orbit-node-cloud, [data-system-mode="devops"] .orbit-node-devops, [data-system-mode="ai"] .orbit-node-ai { border-color: color-mix(in srgb, var(--system-color) 50%, var(--line)); transform: translateY(-4px); }
[data-system-mode="cloud"] .orbit-node-cloud .node-icon, [data-system-mode="devops"] .orbit-node-devops .node-icon, [data-system-mode="ai"] .orbit-node-ai .node-icon { color: var(--system-color); }
[data-system-mode="cloud"] .orbit-node-cloud i, [data-system-mode="devops"] .orbit-node-devops i, [data-system-mode="ai"] .orbit-node-ai i { background: var(--system-color); box-shadow: 0 0 8px color-mix(in srgb, var(--system-color) 40%, transparent); }
.orbital-coordinate { position: absolute; color: var(--muted); opacity: .7; font: 400 7px/1.5 var(--mono-font); letter-spacing: .05em; }
.coordinate-top { top: 4%; right: 12%; }
.coordinate-bottom { bottom: 3%; left: 29%; }
.system-controls { width: max-content; max-width: 100%; display: flex; gap: 5px; margin: -1px auto 0; padding: 5px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); }
.system-controls button { min-height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border: 0; border-radius: 100px; color: var(--muted); background: transparent; font: 400 8px/1 var(--mono-font); cursor: pointer; transition: color .25s, background .25s; }
.system-controls button span { font: 600 10px/1 var(--body-font); }
.system-controls button[aria-pressed="true"] { background: var(--system-color); color: var(--button-ink); }
.system-caption { color: var(--muted); text-align: center; margin: 12px 0 0; min-height: 15px; font: 400 8px/1.6 var(--mono-font); }
@keyframes orbit-turn { to { transform: rotate(360deg); } }

/* Work is placed immediately after the introduction. */
.proof-strip { background: transparent; border-top: 0; }
.proof-item { min-height: 112px; display: flex; align-items: center; gap: 16px; padding-inline: 30px; }
.proof-item strong { font: 400 38px/1 var(--display-font); letter-spacing: -.06em; }
.proof-item span { max-width: 120px; margin: 0; font: 400 9px/1.7 var(--mono-font); letter-spacing: .06em; }
.section { padding-block: 100px; }
.section-heading { grid-template-columns: .65fr 1.35fr; gap: 40px; align-items: start; margin-bottom: 42px; }
.section-heading .eyebrow { padding-top: 8px; }
.section-heading h2, .contact-copy h2 { font-size: clamp(2.3rem, 3.5vw, 3.6rem); line-height: 1.1; font-weight: 500; letter-spacing: -.05em; }
.section-heading p:not(.eyebrow) { max-width: 540px; font-size: 13px; line-height: 1.85; }
.project-grid { gap: 20px; }
.project-card { padding: 26px; border-radius: 14px; background: var(--surface); min-height: 360px; }
.project-card::before { height: 1px; left: 26px; right: 26px; opacity: .55; background: linear-gradient(90deg, var(--card-accent), transparent); }
.project-card-header { gap: 12px; }
.project-index { font: 400 9px/1.5 var(--mono-font); letter-spacing: .05em; }
.project-status { font: 400 8px/1.5 var(--mono-font); letter-spacing: .02em; }
.project-card h3 { font-size: 30px; margin: 24px 0 12px; font-weight: 500; }
.project-card p { font-size: 12px; line-height: 1.85; }
.project-preview { position: relative; display: grid; place-items: center; min-height: 162px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; margin-top: 24px; background: radial-gradient(ellipse at 50% 110%, color-mix(in srgb, var(--card-accent) 13%, transparent), transparent 70%), var(--bg); }
.project-preview::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25; background-image: radial-gradient(var(--line-strong) 1px, transparent 1px); background-size: 16px 16px; }
.project-preview svg { position: relative; width: min(100% - 24px, 460px); height: 150px; color: var(--card-accent); transition: transform .5s ease; }
.project-preview .diagram-box { fill: var(--surface); stroke: var(--line-strong); }
.project-preview .diagram-highlight { fill: color-mix(in srgb, var(--card-accent) 9%, var(--surface)); stroke: currentColor; }
.project-preview text { fill: var(--text); font: 10px var(--mono-font); }
.project-preview .diagram-label { fill: var(--muted); font-size: 8px; }
.project-preview .diagram-link { stroke: currentColor; stroke-opacity: .6; }
.project-card:hover .project-preview svg { transform: scale(1.025); }
.tag-list { gap: 6px; margin-top: 20px; }
.tag-list li { border: 1px solid var(--line); border-radius: 4px; background: transparent; font: 400 9px/1.5 var(--mono-font); padding: 5px 8px; }
.project-links { margin-top: auto; padding-top: 23px; gap: 20px; }
.project-links a { font-size: 10px; font-weight: 600; }
.archive-card h3 { margin-top: 28px; }
.archive-card .project-links { margin-top: auto; }
.archive-cta { background: transparent; border-radius: 12px; margin-top: 24px; padding: 30px; }
.archive-cta h3 { font-size: 24px; font-weight: 500; }
.archive-cta p { max-width: 620px; font-size: 12px; line-height: 1.85; }
.filter-button { border-radius: 100px; font-size: 11px; }
.filter-button[aria-pressed="true"] { background: var(--accent); color: var(--button-ink); border-color: var(--accent); }

.delivery-story { padding-block: 100px; border-top: 1px solid var(--line); background: var(--surface); }
.delivery-heading { margin-bottom: 48px; }
.delivery-layout { grid-template-columns: 1.1fr 1fr; gap: 70px; }
.delivery-canvas { border-radius: 16px; background: var(--bg); height: min(520px, calc(100svh - 160px)); min-height: 420px; box-shadow: none; }
.delivery-step { min-height: 190px; padding-block: 26px; }
.delivery-step h3 { font-size: 24px; font-weight: 500; }
.delivery-step div > span { font-size: 12px; line-height: 1.9; }
.delivery-step p { font: 400 9px/1.6 var(--mono-font); }
.step-number { font: 400 10px/1.5 var(--mono-font); }
.capability h3 { font-size: 21px; font-weight: 500; margin-top: 50px; }
.capability p { font-size: 12px; line-height: 1.9; }
.capability > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 9px; font: 400 10px var(--mono-font); }
.about-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 500; line-height: 1.07; }
.about-body > p { font-size: 14px; line-height: 1.9; }
.timeline-item time { font: 400 10px/1.7 var(--mono-font); }
.timeline-item h3 { font-size: 16px; font-weight: 500; }
.timeline-item p { font-size: 12px; }
.current-experience { border-left: 2px solid var(--accent); padding-left: 18px; background: linear-gradient(90deg, var(--accent-soft), transparent); }
.writing-link { padding-block: 26px; }
.writing-link strong { font: 500 20px/1.45 var(--display-font); }
.writing-link span { font: 400 9px/1.5 var(--mono-font); }
.writing-link i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; }
.contact-copy > p { font-size: 13px; line-height: 1.9; }
.contact-form { border-radius: 14px; background: var(--surface); box-shadow: none; }
.field input, .field select, .field textarea { border-radius: 7px; font-size: 13px; }
.contact-details div { font-size: 12px; }
.contact-details span { font: 400 10px/1.5 var(--mono-font); }
.site-footer { background: var(--surface); }
.footer-grid p, .footer-links a { font-size: 10px; }
.page-hero, .resume-hero { background-image: radial-gradient(ellipse at 90% 5%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 60%); }
.page-hero h1 { font-weight: 500; line-height: 1.05; letter-spacing: -.06em; }
.page-hero p:not(.eyebrow), .resume-hero p:not(.eyebrow) { font-size: 14px; line-height: 1.9; }
.page-meta span { border-radius: 5px; font: 400 9px/1.5 var(--mono-font); }
.resume-hero h1 { font-weight: 500; }
.resume-sidebar-modern { border-radius: 12px; }
.resume-role.current-experience { padding: 24px 18px; }
.simulator-panel, .simulator-index, .simulator-console { border-radius: 12px; }
.subpage-hero { background-image: radial-gradient(ellipse at 90% 5%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 60%) !important; }
.subpage-hero::before, .subpage-hero::after { display: none; }
.subpage-hero h1 { font-size: clamp(3rem, 6.5vw, 6rem) !important; font-weight: 500 !important; line-height: 1.06 !important; letter-spacing: -.06em !important; }
.subpage-hero h1 + p { font-size: 14px !important; line-height: 1.9; }
.breadcrumb { padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; font: 400 10px/1.6 var(--mono-font) !important; }
.breadcrumb a { color: var(--muted); }
.lab-card, .article-index-card, .decision-card, .toc-card, .fact-card { border-radius: 14px !important; }
.lab-card h2, .article-index-card h2 { font-weight: 500; }
.lab-card p, .article-index-card p { font-size: 13px; line-height: 1.9; }

@media (min-width: 761px) {
  .site-header .site-nav { position: static; display: flex; opacity: 1; visibility: visible; pointer-events: auto; transform: none; max-height: none; overflow: visible; }
  .site-header .site-nav > a { width: auto; min-height: 42px; border: 0 !important; border-radius: 8px !important; padding: 0 10px !important; font-size: 12px !important; }
  .site-header .site-nav .global-site-actions { margin: 0 0 0 6px; }
  .site-header .menu-toggle { display: none; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .site-header .site-nav > a { padding-inline: 6px !important; font-size: 10px !important; }
}

@media (min-width: 1440px) {
  .future-hero { padding-top: 90px; }
  .future-hero h1 { font-size: 108px; }
}
@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 56px), var(--shell)) !important; }
  .site-nav a { padding-inline: 8px !important; }
  .future-hero .hero-layout { gap: 14px; }
  .future-hero h1 { font-size: clamp(3.4rem, 7vw, 5.5rem); }
  .orbit-node { padding: 10px; gap: 7px; }
  .proof-item { gap: 12px; padding-inline: 20px; }
  .proof-item strong { font-size: 32px; }
  .proof-item span { font-size: 8px; }
  .delivery-layout { gap: 40px; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .brand-copy small { display: none; }
  .nav-shell { gap: 12px !important; }
  .nav-wrap { gap: 8px; }
  .site-nav a { padding-inline: 6px !important; font-size: 10px !important; }
  .future-hero .hero-layout { grid-template-columns: 1.1fr 1fr; }
  .future-hero .hero-lead { font-size: 12px; }
  .orbit-node strong { font-size: 8px; }
  .orbit-node small { font-size: 6px; }
  .node-icon { width: 22px; height: 22px; }
  .system-controls button { padding-inline: 10px; }
  .future-hero .availability-note { max-width: 330px; font-size: 9px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px) !important; }
  .nav-shell { min-height: 74px !important; }
  .site-header { backdrop-filter: none; }
  .site-header .site-nav { position: fixed; top: 74px !important; right: 0; bottom: 0; left: 0; max-height: none; border-radius: 0; padding: 20px !important; background: var(--bg); visibility: hidden; overflow-y: auto; backdrop-filter: none; }
  .site-nav.is-open { visibility: visible; }
  .site-nav a { font-size: 18px !important; padding-inline: 16px !important; }
  .site-nav .global-site-actions { margin-top: 16px; }
  .future-hero { padding-top: 52px; }
  .future-hero .hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .hero-intro { font-size: 8px; letter-spacing: .04em; margin-bottom: 24px; }
  .future-hero h1 { font-size: clamp(3.4rem, 10.8vw, 5.6rem); line-height: 1.04; letter-spacing: -.065em; }
  .future-hero .hero-lead { font-size: 13px; margin-top: 24px; }
  .future-hero .hero-actions { margin-top: 27px; }
  .future-hero .availability-note { line-height: 1.8; font-size: 9px; }
  .current-role { font-size: 9px; }
  .system-visual { width: min(100%, 490px); margin-inline: auto; }
  .visual-heading { padding-inline: 8px; }
  .hero-bottom { margin-top: 35px; padding-block: 20px; font-size: 8px; }
  .hero-bottom > span { display: none; }
  .proof-item { min-height: 96px; padding: 18px !important; }
  .proof-item:nth-child(odd) { padding-left: 0 !important; }
  .proof-item strong { font-size: 34px; }
  .proof-item span { font-size: 8px; }
  .section { padding-block: 68px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(2.2rem, 7.5vw, 3.6rem); }
  .section-heading .eyebrow { padding: 0; }
  .section-heading p:not(.eyebrow) { font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-card { padding: 22px; }
  .project-card h3 { font-size: 29px; }
  .project-card-header { flex-wrap: wrap; }
  .project-status { font-size: 8px; }
  .archive-cta { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .archive-cta .button { width: max-content; }
  .delivery-story { padding-block: 68px; }
  .delivery-visual { position: relative; top: auto; }
  .delivery-canvas { min-height: 0; height: 340px; }
  .delivery-steps { margin-top: 26px; }
  .delivery-step { min-height: 160px; padding-block: 24px; }
  .delivery-step h3 { font-size: 22px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability { min-height: 250px; padding: 24px 16px 24px 0; }
  .capability:not(:first-child) { padding-left: 16px; }
  .capability:nth-child(odd) { padding-left: 0; }
  .capability h3 { margin-top: 30px; font-size: 18px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-copy h2 { font-size: 36px; }
  .timeline-item { grid-template-columns: 84px 1fr; gap: 16px; }
  .writing-link { grid-template-columns: 1fr auto; gap: 12px; padding-block: 22px; }
  .writing-link span { grid-column: 1; }
  .writing-link strong { grid-column: 1; font-size: 18px; }
  .writing-link i { grid-column: 2; grid-row: 1 / 3; }
  .contact-form { padding: 24px; }
  .page-hero h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  .subpage-hero h1 { font-size: clamp(2.75rem, 10vw, 4.5rem) !important; }
  .resume-role.current-experience { padding-inline: 14px; }
  .footer-grid { gap: 18px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px) !important; }
  .hero-intro { font-size: 7px; }
  .future-hero h1 { font-size: 11vw; }
  .desktop-break { display: none; }
  .future-hero .button { padding-inline: 17px; }
  .orbit-node { padding: 8px; gap: 6px; }
  .orbit-node small { font-size: 6px; }
  .orbit-node strong { font-size: 8px; }
  .node-icon { width: 22px; height: 22px; }
  .coordinate-bottom { font-size: 6px; left: 22%; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .orbital-sphere { transform: none !important; }
}
@media print {
  :root, html[data-theme] { --bg: #fff; --surface: #fff; --text: #172015; --muted: #556050; --line: #d5ddce; --accent: #355d0b; --accent-strong: #355d0b; }
  body { background: #fff !important; color: #172015 !important; }
  .shell { width: 100% !important; }
  .current-experience { background: none; }
}







/* Project cards open real demos on click */
.project-card { min-height:320px; }
.demo-page-hero .text-link { display:inline-block; margin-bottom:28px; }
.demo-availability { margin-top:32px; padding:24px; border:1px solid var(--line); border-radius:12px; color:var(--muted); }
