:root {
  --bg: #11130f;
  --surface: #171a16;
  --surface-raised: #1d211b;
  --text: #f0f2eb;
  --muted: #a0a69a;
  --faint: #777f72;
  --line: #32372f;
  --accent: #7ef1c7;
  --project-accent: #ffbd4a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Consolas, "Cascadia Code", "Courier New", monospace;
}
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { color: inherit; }
.site-shell { width: min(100%, 1180px); margin: 0 auto; padding: 0 clamp(20px, 4.4vw, 60px); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.topbar { min-height: 78px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; letter-spacing: -1px; }
.brand-word { font-size: 23px; }
.brand-spark { color: var(--accent); font-size: 16px; }
.brand-domain { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.topbar nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 3vw, 32px); margin-left: auto; font-size: 14px; color: var(--muted); }
.topbar nav a:hover, .topbar nav a[aria-current="page"], .text-link:hover, .site-footer a:hover { color: var(--accent); }
.theme-toggle { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.home-hero { padding: clamp(70px, 11vw, 132px) 0 74px; border-bottom: 1px solid var(--line); }
.terminal-prompt { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; color: var(--muted); font-size: 13px; }
.prompt-led, .status-dot { color: var(--accent); }
.prompt-path { margin-left: auto; color: var(--faint); }
.eyebrow { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .11em; }
.eyebrow span, .slash { color: var(--accent); }
.home-hero h1 { margin: 21px 0 30px; font: 700 clamp(48px, 8.7vw, 92px)/1.02 Arial, sans-serif; letter-spacing: -.055em; }
.home-hero h1 em { color: var(--accent); font-style: normal; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: 800px; }
.hero-bottom p { max-width: 480px; margin: 0; color: var(--muted); }
.button-primary { display: inline-flex; align-items: center; gap: 28px; flex: 0 0 auto; padding: 11px 15px; border: 1px solid var(--accent); border-radius: 5px; color: var(--bg); background: var(--accent); font-size: 14px; font-weight: 700; }
.button-primary:hover { filter: brightness(1.08); }
.section { padding: 40px 0 48px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.section-heading-title { display: flex; align-items: center; gap: 13px; }
.section-index, .section-count { color: var(--faint); font-size: 13px; }
.section-heading h2 { margin: 0; font-size: 17px; font-weight: 600; }
.home-project { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.home-project > summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 22px; align-items: center; gap: 16px; min-height: 88px; padding: 17px 20px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.home-project > summary:hover, .portfolio-project > summary:hover { background: var(--surface-raised); }
.project-number { color: var(--accent); font-size: 13px; }
.home-project-name { display: flex; flex-direction: column; gap: 2px; }
.home-project-name strong { font-size: 19px; }
.home-project-name > span { color: var(--muted); font-size: 14px; }
.status-pill, .case-status { display: inline-flex; align-items: center; gap: 8px; color: var(--project-accent); font-size: 13px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.case-status .status-dot { color: var(--project-accent); }
.toggle-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--accent); font-size: 20px; line-height: 1; }
.toggle-mark::before { content: "+"; }
details[open] > summary .toggle-mark::before { content: "−"; }
.home-project-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 38%); gap: 30px; padding: 2px 20px 22px 84px; border-top: 1px solid var(--line); }
.home-project-copy { padding: 18px 0 5px; }
.home-project-copy p { max-width: 600px; margin: 0 0 14px; }
.secondary, .quiet-note, .portfolio-note { color: var(--muted); font-size: 13px; }
.secondary span { color: var(--faint); padding: 0 3px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; color: var(--accent); font-size: 14px; }
.home-project-image { display: block; overflow: hidden; align-self: center; border: 1px solid var(--line); border-radius: 7px; background: #151815; }
.home-project-image img { display: block; width: 100%; height: auto; }
.quiet-note { margin: 17px 0 0; }
.about-section { padding-top: 10px; }
.about-panel { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1fr); align-items: start; gap: 40px; padding: 18px 0 28px; }
.about-panel h3 { margin: 0; font: 700 clamp(24px, 3.3vw, 36px)/1.2 Arial, sans-serif; letter-spacing: -.035em; }
.about-panel h3 span, .title-dot { color: var(--project-accent); }
.about-panel p { max-width: 620px; margin: 0; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-separator { color: var(--faint); padding: 0 5px; }

.portfolio-page { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.portfolio-page .brand, .portfolio-page nav, .portfolio-page .section-count, .portfolio-page .eyebrow { font-family: Consolas, "Cascadia Code", "Courier New", monospace; }
.portfolio-hero { padding: clamp(58px, 9vw, 100px) 0 48px; }
.portfolio-topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--muted); font: 12px/1.5 Consolas, "Cascadia Code", monospace; letter-spacing: .08em; }
.portfolio-hero h1 { margin: 22px 0 12px; font-size: clamp(48px, 8vw, 82px); line-height: 1.03; letter-spacing: -.06em; }
.portfolio-hero > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.portfolio-heading { margin-bottom: 18px; }
.portfolio-project { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, var(--surface-raised), var(--surface) 44%); }
.portfolio-project > summary { display: block; padding: clamp(20px, 4vw, 40px); cursor: pointer; list-style: none; }
.portfolio-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 12px/1.5 Consolas, "Cascadia Code", monospace; }
.case-index { color: var(--muted); letter-spacing: .08em; }
.case-index span { color: var(--faint); }
.portfolio-card-intro { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 5vw, 58px); padding: 24px 0 28px; }
.portfolio-card-intro h2 { margin: 0 0 8px; font-size: clamp(58px, 8vw, 86px); line-height: .98; letter-spacing: -.07em; }
.portfolio-tagline { margin: 0 0 28px; color: var(--muted); font-size: clamp(18px, 2.4vw, 24px); line-height: 1.38; }
.summary-action { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 14px; }
.portfolio-art { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #151815; }
.portfolio-art img { display: block; width: 100%; height: auto; }
.summary-action .toggle-mark::before { content: "↘"; font-size: 18px; }
details[open] .summary-action .toggle-mark::before { content: "↗"; }
.portfolio-project-details { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px 48px; padding: clamp(22px, 4vw, 40px); border-top: 1px solid var(--line); }
.project-story h3 { max-width: 620px; margin: 12px 0; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -.04em; }
.project-story > p:last-child { max-width: 700px; margin: 0; color: var(--muted); }
.project-facts { border-left: 1px solid var(--line); padding-left: 22px; }
.project-facts div { display: flex; flex-direction: column; gap: 2px; padding: 0 0 12px; }
.project-facts span { color: var(--muted); font: 12px Consolas, "Cascadia Code", monospace; }
.project-facts strong { font-size: 14px; font-weight: 600; }
.project-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-capabilities > div { padding: 19px 18px 18px 0; }
.project-capabilities > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.project-capabilities span { color: var(--project-accent); font: 12px Consolas, "Cascadia Code", monospace; }
.project-capabilities p { margin: 6px 0 0; font-size: 14px; }
.release-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; grid-column: 1 / -1; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.release-copy { max-width: 480px; }
.release-copy > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.release-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.release-actions button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-raised); color: var(--muted); font-size: 13px; }
.release-actions button span { color: var(--faint); }
.release-actions button:disabled { cursor: not-allowed; opacity: .8; }
.portfolio-note { margin: 18px 0 0; }
.portfolio-page .site-footer { margin-top: 28px; }

[data-theme="light"] {
  --bg: #f5f6f1;
  --surface: #fff;
  --surface-raised: #eaeee8;
  --text: #1e2520;
  --muted: #59645b;
  --faint: #78847a;
  --line: #d7ded7;
  --accent: #007b5a;
  --project-accent: #ad6500;
  color-scheme: light;
}
[data-theme="light"] .button-primary { color: #fff; }
[data-theme="light"] .home-project-image, [data-theme="light"] .portfolio-art { background: #ecefe9; }
@media (max-width: 760px) {
  .topbar { min-height: 68px; gap: 18px; }
  .home-hero { padding-top: 76px; }
  .home-hero h1 { letter-spacing: -.045em; }
  .home-project > summary { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 12px; padding: 15px; }
  .home-project > summary .status-pill { grid-column: 2; grid-row: 2; }
  .home-project > summary .toggle-mark { grid-column: 3; grid-row: 1 / span 2; }
  .home-project-content { grid-template-columns: 1fr; padding: 0 15px 17px 61px; gap: 16px; }
  .home-project-image { max-width: 440px; }
  .about-panel { grid-template-columns: 1fr; gap: 15px; }
  .portfolio-card-intro { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-card-intro h2 { font-size: 68px; }
  .portfolio-project-details { grid-template-columns: 1fr; gap: 22px; }
  .project-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .project-facts div { padding: 0; }
  .release-panel { align-items: flex-start; flex-direction: column; }
  .release-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .site-shell { padding-right: 18px; padding-left: 18px; }
  .topbar { gap: 11px; }
  .brand-word { font-size: 20px; }
  .topbar nav { gap: 12px; font-size: 13px; }
  .theme-toggle { width: 34px; height: 34px; flex: 0 0 auto; }
  .home-hero { padding: 60px 0 48px; }
  .terminal-prompt { margin-bottom: 27px; font-size: 12px; }
  .home-hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading > .section-count { font-size: 12px; }
  .home-project-name strong { font-size: 17px; }
  .home-project-name > span { font-size: 13px; }
  .status-pill { font-size: 12px; }
  .site-footer { flex-wrap: wrap; font-size: 12px; }
  .portfolio-topline { font-size: 11px; }
  .portfolio-hero { padding-top: 58px; }
  .portfolio-hero h1 { font-size: clamp(44px, 12vw, 62px); }
  .portfolio-hero > p { font-size: 16px; }
  .portfolio-card-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .portfolio-project > summary { padding: 18px; }
  .portfolio-card-intro h2 { font-size: 60px; }
  .portfolio-project-details { padding: 20px 18px; }
  .project-capabilities { grid-template-columns: 1fr; }
  .project-capabilities > div, .project-capabilities > div + div { padding: 13px 0; border-left: 0; }
  .project-capabilities > div + div { border-top: 1px solid var(--line); }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .release-actions { display: grid; width: 100%; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Work cards and scroll reveals */
html { scroll-padding-top: 24px; }
.topbar { justify-content: space-between; }
.brand { gap: 6px; }
.brand-word { letter-spacing: -.055em; }
.brand-spark { font-size: 20px; line-height: 1; }
.home-hero h1, .portfolio-hero h1 { text-wrap: balance; }
.hero-bottom .button-primary { min-height: 52px; gap: 32px; padding: 13px 17px; transition: transform .3s cubic-bezier(.2,.75,.25,1), filter .3s ease, box-shadow .3s ease; }
.hero-bottom .button-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(126,241,199,.16); }
.works-section { padding-top: 48px; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work-card {
  grid-column: 1 / -1;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(126,241,199,.075), var(--surface) 56%);
  transition: border-color .35s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2,.75,.25,1);
}
.work-card:hover, .work-card[open] { border-color: rgba(126,241,199,.5); box-shadow: 0 18px 60px rgba(0,0,0,.18); }
.work-card:hover { transform: translateY(-3px); }
.work-card > summary { display: grid; grid-template-columns: minmax(0, .92fr) minmax(260px, 1.08fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(22px, 4.2vw, 48px); cursor: pointer; list-style: none; }
.work-card > summary::-webkit-details-marker { display: none; }
.work-card-copy { min-width: 0; }
.work-card-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font: 12px/1.5 Consolas, "Cascadia Code", "Courier New", monospace; }
.work-card-copy h3 { margin: 35px 0 6px; font: 700 clamp(56px, 8vw, 88px)/.95 Arial, sans-serif; letter-spacing: -.075em; }
.work-card-tagline { margin: 0 0 27px; color: var(--muted); font-size: clamp(18px, 2.25vw, 24px); line-height: 1.4; }
.work-card .summary-action { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 14px; }
.work-card-arrow { display: inline-block; font-size: 18px; transition: transform .35s cubic-bezier(.2,.75,.25,1); }
.work-card[open] .work-card-arrow { transform: rotate(45deg); }
.work-card-art { overflow: hidden; aspect-ratio: 1.72; border: 1px solid var(--line); border-radius: 8px; background: #151815; }
.work-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.75,.25,1), filter .6s ease; }
.work-card:hover .work-card-art img { transform: scale(1.035); filter: saturate(1.12); }
.work-detail { display: grid; gap: clamp(28px, 5vw, 54px); padding: clamp(22px, 4.2vw, 48px); border-top: 1px solid var(--line); scroll-margin-top: 22px; }
.work-detail-intro { max-width: 760px; }
.work-detail-intro h4, .work-install-panel h4 { margin: 13px 0 10px; font: 600 clamp(24px, 3.2vw, 36px)/1.16 Arial, sans-serif; letter-spacing: -.04em; }
.work-detail-intro > p:not(.eyebrow):not(.secondary), .work-install-panel > div > p:last-child { max-width: 710px; margin: 0; color: var(--muted); }
.work-detail-intro .secondary { margin: 20px 0 0; }
.work-detail-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.work-detail-heading h4 { margin: 0; font-size: 17px; }
.work-detail-heading > span { color: var(--faint); font: 12px Consolas, "Cascadia Code", monospace; }
.work-preview-frame { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #151815; }
.work-preview-frame img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.work-preview-frame figcaption { padding: 12px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.work-install-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.12); }
.work-install-panel h4 { margin: 9px 0 7px; font-size: clamp(21px, 2.8vw, 28px); }
.work-install-panel > div > p:last-child { font-size: 14px; }
.work-install-panel button { flex: 0 0 auto; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-raised); color: var(--muted); font: inherit; font-size: 14px; }
.work-install-panel button span { margin-left: 8px; color: var(--faint); font-size: 12px; }
.work-install-panel button:disabled { cursor: not-allowed; }
.portfolio-page .topbar { justify-content: space-between; }
.portfolio-page .portfolio-project { transition: border-color .35s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2,.75,.25,1); }
.portfolio-page .portfolio-project:hover { border-color: rgba(126,241,199,.48); box-shadow: 0 18px 60px rgba(0,0,0,.18); }
.portfolio-page .portfolio-project-details { scroll-margin-top: 22px; }
html.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(2px); transition: opacity .75s cubic-bezier(.2,.75,.25,1), transform .75s cubic-bezier(.2,.75,.25,1), filter .75s ease; }
html.motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
.work-detail [data-reveal] { transition-delay: .08s; }

@media (max-width: 760px) {
  .work-card > summary { grid-template-columns: 1fr; gap: 23px; }
  .work-card-copy h3 { margin-top: 26px; }
  .work-card-art { grid-row: 1; aspect-ratio: 1.7; }
  .work-install-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .work-card-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .work-card > summary { padding: 19px; }
  .work-card-copy h3 { font-size: 62px; }
  .work-card-tagline { font-size: 19px; }
  .work-detail { padding: 21px 19px; }
  .work-install-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-reveal] { opacity: 1; transform: none; filter: none; }
  .work-card, .work-card *, .portfolio-project { transition: none !important; }
}
/* Personal studio: soft spectrum, editorial intro, compact project cards. */
.home-page { --bg:#101116; --surface:#181a22; --surface-raised:#222530; --text:#f0eff5; --muted:#a1a2b3; --faint:#777a90; --line:#2b2e3d; --accent:#a9a2ff; font:400 16px/1.65 "Segoe UI",Arial,sans-serif; background:radial-gradient(ellipse 680px 470px at 78% 13%,#8971f914,transparent 75%),radial-gradient(ellipse 580px 500px at 14% 48%,#66ceb609,transparent 80%),var(--bg); }
[data-theme="light"] .home-page { --bg:#f5f5fa; --surface:#fff; --surface-raised:#e8e9f1; --text:#252739; --muted:#60657c; --faint:#767b90; --line:#dcdfea; --accent:#6650bc; }
.home-page .site-shell { max-width:1120px; padding:0 42px; }
.home-page .topbar { min-height:84px; border-bottom:1px solid #8888aa18; }
.home-page .brand { font-family:Consolas,"Courier New",monospace; }
.home-page .brand-word { font-size:23px; }
.brand-spark { display:inline-block; color:#b3b3ff; transition:transform .8s cubic-bezier(.22,1,.36,1); }
.brand:hover .brand-spark { transform:rotate(180deg); }
.home-page .theme-toggle { border-color:#8888aa30; background:#8888aa06; transition:background .3s,transform .3s; }
.home-page .theme-toggle:hover { transform:rotate(18deg); background:#8888aa18; }
.home-page .home-hero { position:relative; isolation:isolate; padding:43px 0 44px; border:0; }
.hero-signature { display:flex; align-items:center; gap:10px; color:var(--muted); font:12px/1.5 Consolas,monospace; }
.signature-light { width:6px; height:6px; border-radius:50%; background:#b6edce; box-shadow:0 0 14px #b6edce80; }
.signature-path { margin-left:auto; color:var(--faint); font-size:11px; }
.home-page .home-hero h1 { position:relative; z-index:1; margin:27px 0 25px; font:400 clamp(48px,6.6vw,76px)/1.09 "Segoe UI",Arial,sans-serif; letter-spacing:-.055em; text-wrap:initial; }
.home-page .home-hero h1 em { font-style:normal; color:#b8b0ff; background:linear-gradient(110deg,#9c83ff 4%,#b7b0fa 35%,#a2dacb 65%,#d4ecad 93%); background-size:160% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:spectrum 12s ease-in-out infinite alternate; }
[data-theme="light"] .home-page .home-hero h1 em { background-image:linear-gradient(110deg,#7954d4,#7054a6 35%,#297d76 65%,#647e2c); }
.home-page .hero-bottom { max-width:none; align-items:center; gap:30px; }
.home-page .hero-bottom p { max-width:390px; font-size:15px; line-height:1.8; color:var(--muted); }
.hero-margin-note { margin-right:80px; color:var(--faint); font:12px/1.8 Consolas,monospace; }
.hero-orbit { position:absolute; right:55px; top:108px; z-index:-1; width:170px; height:170px; border:1px solid #b8afff16; border-radius:50%; transform:rotate(-25deg); }
.hero-orbit::before { content:""; position:absolute; inset:18px -22px; border:1px solid #b8afff12; border-radius:50%; transform:rotate(55deg); }
.hero-orbit span { position:absolute; right:9px; top:0; color:#bbb0ff70; font-size:32px; line-height:1; animation:orbit-spark 18s linear infinite; }
.home-page .works-section { padding:10px 0 25px; }
.home-page .section-heading { border-top:1px solid #8888aa22; padding:23px 0 20px; }
.home-page .section-heading-title { gap:15px; }
.home-page .section-heading h2 { font:400 24px/1.3 "Segoe UI",Arial,sans-serif; letter-spacing:-.6px; }
.home-page .section-index,.home-page .section-count { font:11px/1.5 Consolas,monospace; color:var(--faint); }
.home-page .works-grid { display:block; }
.home-page .work-card { background:linear-gradient(115deg,#a0a1ee0c,#79b8a80a 75%),var(--surface); border:1px solid #929abc25; border-radius:16px; scroll-margin-top:24px; transition:border-color .4s,box-shadow .4s; }
.home-page .work-card:hover { transform:none; border-color:#b6aaff60; box-shadow:0 14px 45px #00000020; }
.home-page .work-card > summary { display:block; padding:24px 28px; position:relative; }
.home-page .card-title { display:flex; gap:12px; align-items:center; }
.home-page .card-title h3 { margin:0; font:600 22px/1.4 "Segoe UI",Arial,sans-serif; letter-spacing:-.6px; }
.home-page .work-card-arrow { margin-left:auto; color:var(--faint); font-size:20px; transition:transform .5s cubic-bezier(.22,1,.36,1),color .3s; }
.home-page .work-card:hover .work-card-arrow { transform:translate(3px,-3px); color:var(--accent); }
.home-page .work-card[open] .work-card-arrow { transform:rotate(90deg); color:var(--accent); }
.home-page .card-description { margin:15px 0 18px; max-width:650px; color:var(--muted); font-size:15px; line-height:1.7; }
.home-page mark { background:#aaa5ed18; color:var(--text); padding:1px 4px; border-radius:3px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.project-tags { display:flex; flex-wrap:wrap; gap:7px; }
.tag { border:1px solid #88888830; background:#88888810; border-radius:6px; padding:2px 8px; color:var(--muted); font:12px/1.6 Consolas,monospace; }
.tag-gold { color:#dabb65; border-color:#dabb6540; background:#dabb6510; }
.tag-blue { color:#69c5e5; border-color:#69c5e540; background:#69c5e510; }
.tag-green { color:#86d69d; border-color:#86d69d40; background:#86d69d10; }
[data-theme="light"] .tag-gold { color:#806014; }
[data-theme="light"] .tag-blue { color:#216a93; }
[data-theme="light"] .tag-green { color:#30753c; }
.home-page .work-detail { padding:28px; gap:32px; background:var(--bg); }
.home-page .work-detail-intro h4,.home-page .work-install-panel h4 { font:400 27px/1.3 "Segoe UI",Arial,sans-serif; letter-spacing:-.7px; }
.home-page .work-detail p { font-size:15px; }
.home-page .quiet-note { font-size:12px; color:var(--faint); }
.home-page .site-footer { margin-top:15px; padding:24px 0 30px; font:11px/1.6 Consolas,monospace; border-color:#8888aa18; color:var(--faint); }
.is-expanding { overflow:hidden !important; }
html.motion-ready [data-reveal] { filter:none; transform:translate3d(0,18px,0); transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1); }
html.motion-ready [data-reveal].is-visible { transform:none; }
.home-hero [data-reveal]:nth-child(2) { transition-delay:90ms; }
.home-hero [data-reveal]:nth-child(3) { transition-delay:180ms; }
@keyframes spectrum { from {background-position:0% 50%;} to {background-position:100% 50%;} }
@keyframes orbit-spark { to { transform:rotate(360deg); } }
@media(max-width:680px) {
  .home-page .site-shell { padding:0 22px; }
  .home-page .topbar { min-height:68px; }
  .home-page .home-hero { padding:32px 0 32px; }
  .signature-path,.hero-margin-note { display:none; }
  .home-page .home-hero h1 { font-size:clamp(40px,9.5vw,60px); margin:24px 0; }
  .home-page .hero-bottom p { font-size:14px; max-width:330px; }
  .hero-orbit { right:0; top:77px; width:100px; height:100px; opacity:.4; }
  .home-page .section-heading h2 { font-size:22px; }
  .home-page .section-count { font-size:10px; }
  .home-page .work-card > summary,.home-page .work-detail { padding:21px; }
  .home-page .card-description { font-size:14px; }
  .home-page .work-detail-intro h4 { font-size:23px; }
  .home-page .site-footer { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  html.motion-ready [data-reveal] { transform:none; opacity:1; }
  .home-page .home-hero h1 em,.hero-orbit span { animation:none; }
}
.home-page .home-hero { overflow:clip; }
