:root {
  color-scheme: light;
  --paper: #fbfcf9;
  --sage: #eef3eb;
  --ink: #223b2c;
  --muted: #52634f;
  --line: #d5dfd0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
[hidden] { display: none !important; }
a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; min-height: 44px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #325b38; outline-offset: 5px; border-radius: 4px; }
main:focus, section[tabindex]:focus { outline-offset: 8px; }
section[id] { scroll-margin-top: 24px; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 600; }
h1 { font-size: clamp(40px, 4.7vw, 58px); letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 3vw, 35px); letter-spacing: -.035em; }
h3 { font-size: 26px; letter-spacing: -.025em; }
h4 { font-size: 18px; }
p { color: var(--muted); }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: 12px; padding: 8px 18px; background: white; z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--line); }
.brand { font-size: 21px; font-weight: 650; text-decoration: none; gap: 12px; }
.brand-seed { display: grid; place-items: center; width: 40px; height: 40px; background: #e1ebdc; border-radius: 15px 15px 15px 5px; font-size: 26px; }
.site-header nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.site-header nav a { padding: 8px 12px; text-decoration: none; border-radius: 12px; }
.site-header nav a:hover { background: var(--sage); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 38px; padding-block: 48px 44px; }
.eyebrow { font-size: 14px; font-weight: 600; margin-bottom: 13px; }
.intro .eyebrow { display: flex; flex-wrap: wrap; gap: 8px; }
.lead { font-size: 19px; line-height: 1.6; margin-top: 20px; max-width: 46ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 25px; }
.button { padding: 12px 20px; background: var(--ink); color: white; border-radius: 12px; text-decoration: none; font-weight: 600; justify-content: center; }
.button:hover { background: #34523c; }
.plain-link { padding: 6px 3px; font-weight: 600; }
.intelligence-figure { min-width: 0; }
.intelligence-scene { height: 256px; display: grid; align-items: center; perspective: 1000px; }
.depth-object { width: 100%; padding: 20px 5px; }
.intelligence-scene .depth-object { position: relative; height: 100%; padding: 0; display: grid; place-items: center; }
.orbit-layout { position: relative; width: 100%; aspect-ratio: 520 / 270; }
.orbit-layout > .depth-object { position: absolute; inset: 0; }
.intelligence-orbit { display: block; width: 100%; height: 100%; overflow: visible; }
[data-workflow-trace] { opacity: 0; }
.workflow-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px 16px; padding-bottom: 6px; }
.workflow-controls label { font-size: 13px; font-weight: 600; }
.workflow-controls select { width: 100%; min-height: 44px; padding: 8px 32px 8px 12px; border: 1px solid #c7d6be; border-radius: 10px; background: white; color: var(--ink); font: 14px 'Segoe UI', Arial, sans-serif; }
.workflow-controls p { grid-column: 1 / -1; font-size: 12px; }
.workflow-enhanced [data-core-label] { opacity: 0; }
.orbit-hotspots { position: absolute; inset: 0; pointer-events: none; }
.orbit-control { position: absolute; width: 13%; aspect-ratio: 1; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); pointer-events: auto; }
.orbit-control:hover { background: #ffffff26; }
.orbit-control:focus-visible { outline-offset: 3px; border-radius: 50%; background: #f7fbf166; }
.knowledge-control { left: 17.69%; top: 52.59%; }
.reasoning-control { left: 54.81%; top: 77.78%; }
.action-control { left: 83.08%; top: 43.33%; }
.orbit-play { left: 50.38%; top: 47.04%; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 600; }
.play-symbol { display: block; width: 0; height: 0; border-block: 7px solid transparent; border-left: 11px solid #456537; margin-left: 3px; }
.workflow-playing .play-symbol { width: 11px; height: 14px; border: 0; border-inline: 3px solid #456537; margin-left: 0; }
[data-orbit-node].is-active > circle { stroke: #64874c; stroke-width: 3; }
.workflow-enhanced .capability-labels { margin-top: 8px; padding-bottom: 12px; margin-bottom: 12px; }
.capability-labels .is-active strong { color: #345d29; text-decoration: underline; text-underline-offset: 5px; }
.workflow-panel { padding: 15px 17px 4px; background: var(--sage); border: 1px solid var(--line); border-radius: 14px; }
.workflow-panel .workflow-position { font-size: 11px; font-weight: 600; letter-spacing: .3px; margin-bottom: 7px; }
.workflow-panel [data-workflow-heading] { font-size: 16px; }
.workflow-panel [data-workflow-description] { font-size: 14px; line-height: 1.55; min-height: 4.65em; }
.workflow-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; border-top: 1px solid var(--line); }
.workflow-panel-footer a { font-size: 13px; font-weight: 600; min-height: 44px; }
.workflow-panel-footer button { border: 0; background: transparent; padding: 6px; font-size: 12px; color: var(--muted); }
.workflow-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.workflow-playing [data-workflow-trace] { opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .workflow-playing [data-workflow-trace] { animation: workflow-trace 1.4s linear infinite; }
  @keyframes workflow-trace { to { stroke-dashoffset: -42; } }
}
.capability-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0 4px 18px; margin: 20px 0 18px; border-bottom: 1px solid var(--line); gap: 12px; text-align: center; }
.capability-labels li { display: flex; flex-direction: column; gap: 3px; }
.capability-labels strong { font-size: 15px; font-weight: 600; }
.capability-labels span { font-size: 12px; color: var(--muted); }
figcaption { padding: 0 15px; font-size: 14px; line-height: 1.55; color: var(--muted); }
figcaption strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 3px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 23px; }
.featured-project { display: grid; grid-template-columns: 1.15fr 1fr; gap: 42px; padding: 32px; border-radius: 22px; background: var(--sage); border: 1px solid var(--line); }
.project-copy > p:not(.eyebrow), .project-card > p:not(.eyebrow) { margin-top: 15px; }
.stack { font-size: 14px; font-weight: 600; }
.case-link { margin-top: 12px; font-weight: 650; text-decoration: none; }
.case-link span { margin-left: 5px; }
.project-copy h3 a, .project-card h3 a { text-decoration: none; }
.project-copy h3 a:hover, .project-card h3 a:hover { text-decoration: underline; }
.supporting-work { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; margin-top: 20px; font-size: 14px; }
.supporting-work > p { font-size: 12px; }
.project-note { border-left: 1px solid #cbd7c5; padding-left: 30px; align-self: center; }
.workflow { display: grid; gap: 17px; list-style: none; padding: 0; margin: 20px 0 0; }
.workflow li { display: flex; gap: 12px; }
.step-number { border: 1px solid #c7d4c1; border-radius: 50%; width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; font-size: 12px; background: #f9fbf6; }
.workflow p { font-size: 14px; line-height: 1.5; margin-top: 3px; }
.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.project-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 30px 20px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.project-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 12px; margin-top: auto; }
.project-links .case-link { margin: 0; }
.divided-section { border-top: 1px solid var(--line); margin-top: 54px; padding-top: 40px; }
.experience-section { display: grid; grid-template-columns: .9fr 1.4fr; gap: 64px; }
.experience-section header > a { margin-top: 16px; }
.experience-list article + article { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.experience-list h3 { font-size: 22px; }
.experience-list h3 span { font-weight: 400; color: var(--muted); }
.experience-list article > p:last-child { margin-top: 12px; }
.experience-list .eyebrow { margin-bottom: 8px; }
.about-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; }
.about-copy > p:not(.eyebrow) { margin-top: 18px; }
.education { margin-top: 26px; }
.education h3, .skills h3 { font-size: 20px; }
.education p { margin-top: 12px; font-size: 16px; }
.education strong { font-weight: 600; color: var(--ink); }
.skills { background: var(--sage); border-radius: 20px; padding: 28px; align-self: start; }
.skills dl > div { margin-top: 20px; }
.skills dl > div + div { padding-top: 18px; border-top: 1px solid var(--line); }
.skills dt { font-weight: 600; margin-bottom: 5px; }
.skills dd { color: var(--muted); }
.contact-section { margin-top: 48px; padding: 32px; background: #e8f0e3; border: 1px solid var(--line); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-section h2 { font-size: 30px; }
.contact-section h2 + p { margin-top: 10px; }
.contact-actions { flex-shrink: 0; display: flex; align-items: center; flex-direction: column; }
.contact-actions .button { overflow-wrap: anywhere; }
.copy-email { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; margin-top: 4px; }
.copy-status { font-size: 14px; max-width: 30ch; text-align: center; }
.copy-status:empty { display: none; }
.site-footer { padding-block: 28px 20px; }
.footer-main, .design-options { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-main p { color: var(--ink); font-weight: 600; }
.footer-main p span { color: var(--muted); font-weight: 400; }
.footer-links a { padding: 6px 8px; }
.design-options { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: 14px; }
.design-options nav { display: flex; flex-wrap: wrap; gap: 8px; }
.design-options a { padding: 6px 10px; }
.design-options [aria-current] { background: var(--sage); border-radius: 10px; font-weight: 600; text-decoration: none; }

@media (min-width: 801px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .depth-object { transform: rotateX(calc(9deg + var(--tilt-x, 0deg))) rotateY(var(--tilt-y, 0deg)) rotateZ(-3deg); transition: transform 160ms ease-out; }
  .intelligence-scene .depth-object { transform: rotateX(calc(4deg + var(--tilt-x, 0deg))) rotateY(calc(-4deg + var(--tilt-y, 0deg))); }
}

@media (max-width: 1000px) {
  .hero { gap: 20px; }
  .experience-section, .about-section { gap: 36px; }
  .contact-section { align-items: flex-start; flex-direction: column; }
  .contact-actions { align-items: flex-start; }
}

@media (max-width: 800px) {
  .shell { width: min(620px, calc(100% - 40px)); }
  .site-header { padding-block: 18px 10px; align-items: flex-start; gap: 10px; flex-direction: column; }
  .site-header nav { width: 100%; gap: 4px; justify-content: space-between; }
  .site-header nav a { padding-inline: 7px; font-size: 15px; }
  .hero { grid-template-columns: 1fr; padding-block: 32px; gap: 16px; }
  h1 { font-size: clamp(39px, 8vw, 54px); }
  .lead { font-size: 18px; margin-top: 17px; }
  .actions { margin-top: 18px; }
  .intelligence-figure { width: min(440px, 100%); justify-self: center; }
  .intelligence-scene { height: 220px; }
  .capability-labels { gap: 6px; }
  .capability-labels strong { font-size: 14px; }
  .capability-labels span { font-size: 11px; }
  figcaption { padding-inline: 5px; }
  .section-heading { margin-bottom: 18px; gap: 5px; }
  .featured-project { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .project-note { border-left: 0; border-top: 1px solid #cbd7c5; padding: 22px 0 0; }
  .workflow { gap: 14px; margin-top: 16px; }
  .project-pair { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .project-card { padding: 24px 24px 18px; }
  .divided-section { margin-top: 36px; padding-top: 30px; }
  .experience-section, .about-section { grid-template-columns: 1fr; gap: 24px; }
  .experience-section h2 br { display: none; }
  .experience-section header > a { margin-top: 8px; }
  .skills { padding: 24px; }
  .contact-section { margin-top: 32px; padding: 24px; gap: 20px; }
  .contact-section h2 { font-size: 28px; }
  .contact-actions { width: 100%; }
  .contact-actions .button { padding-inline: 12px; max-width: 100%; font-size: 15px; gap: 8px; }
  .footer-main { gap: 8px; }
  .footer-main p span { display: block; font-size: 14px; }
  .design-options { gap: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .depth-object, .intelligence-scene .depth-object { transform: none; transition: none; }
}
