:root {
  color-scheme: dark;
  --bg: #080c16;
  --surface: #101827;
  --text: #edf3fb;
  --muted: #a4b1c4;
  --cyan: #74e8ef;
  --violet: #b39aff;
  --line: #263146;
  --max-width: 1240px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 780px; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 78% 26%, #20244035, transparent 60%); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.25rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -.055em; }
p { color: var(--muted); }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; border-radius: 3px; }
.wrap { width: min(var(--max-width), calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 100px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; background: var(--cyan); color: var(--bg); padding: 12px 24px; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 106px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 15px; font-size: 15px; font-weight: 550; white-space: nowrap; }
.monogram { font-size: 33px; letter-spacing: -.1em; line-height: 1; font-weight: 750; }
.monogram span, .name-dot, .footer-name span { color: var(--cyan); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: 13px; color: var(--muted); }
nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
nav a:hover { color: var(--text); }
.nav-connect { color: var(--text); gap: 25px; border: 1px solid #3b4860; border-radius: 5px; padding: 0 18px; }
.nav-connect:hover { border-color: var(--cyan); }
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 68px; }
.hero-copy { position: relative; z-index: 1; padding: 20px 0 70px; min-width: 0; }
.occupation { font: 14px ui-monospace, "SFMono-Regular", Consolas, monospace; display: flex; align-items: center; gap: 11px; color: var(--cyan); margin-bottom: 30px; }
.occupation > span { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 14px #74e8ef50; }
h1 { font-size: clamp(4.5rem, 8.5vw, 8rem); font-weight: 550; letter-spacing: -.085em; margin-left: -.045em; }
.hero-intro { margin-top: 32px; max-width: 440px; font-size: 17px; line-height: 1.85; }
.hero-intro span { color: #d4dfed; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 52px; padding: 12px 22px; font-size: 13px; font-weight: 600; border-radius: 5px; transition: background .2s, border-color .2s; }
.button span { font-size: 19px; font-weight: 400; }
.button-primary { color: #071418; background: var(--cyan); border: 1px solid var(--cyan); }
.button-primary:hover { background: #a0f4f7; border-color: #a0f4f7; }
.button-quiet { border: 1px solid #3b4860; }
.button-quiet:hover { background: #182235; border-color: #6a7d9b; }
.hero-art { position: relative; width: calc(100% + 50px); margin-left: -25px; isolation: isolate; overflow: clip; }
.orbit { width: 100%; animation: orbit-arrive 4.5s cubic-bezier(.19,1,.22,1) both; }
.orbit-halo { position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse at center, #5a52ba12, #5ae0ed05 45%, transparent 68%); }
.orbit-coordinate { position: absolute; font: 10px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; color: #95a9c1; }
.coordinate-top { top: 5%; right: 11%; }
.coordinate-bottom { bottom: 9%; left: 10%; display: flex; align-items: center; gap: 8px; }
.coordinate-bottom span { height: 5px; width: 5px; border: 1px solid var(--violet); border-radius: 50%; }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 25px 0 32px; color: var(--muted); font-size: 12px; }
.hero-bottom a { display: flex; align-items: center; min-height: 44px; gap: 25px; color: #c6d2e2; }
.hero-bottom a span { color: var(--cyan); }
.section-label { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.crosshair { color: var(--cyan); font: 18px ui-monospace, monospace; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.about-content { display: grid; grid-template-columns: 1fr; gap: 28px; }
.about-content h2 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
.about-content p { max-width: 650px; font-size: 17px; line-height: 1.9; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.section-heading > p { font-size: 14px; line-height: 1.85; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.project-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0d1320; display: flex; flex-direction: column; transition: border-color .2s; }
.project-card:hover { border-color: #516783; }
.project-visual { position: relative; background: radial-gradient(ellipse at 50% 70%, #326a8033, transparent 75%), #0b111e; overflow: hidden; }
.notchdeck-visual { background: radial-gradient(ellipse at 50% 50%, #615d9633, transparent 75%), #0b111e; }
.dockette-visual { background: radial-gradient(ellipse at 50% 60%, #3e718e33, transparent 75%), #0b111e; }
.project-visual img { width: 100%; }
.project-visual figcaption { position: absolute; bottom: 12px; left: 20px; color: #9aabc2; font: 9px ui-monospace, monospace; }
.project-content { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.project-meta { display: flex; gap: 8px; font: 10px ui-monospace, "SFMono-Regular", Consolas, monospace; color: #b4c2d5; margin-bottom: 20px; }
.project-meta span { border: 1px solid #304057; border-radius: 4px; padding: 4px 7px; }
.project-content h3 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 15px; }
.project-content p { font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.project-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; min-height: 48px; font-size: 12px; }
.project-link > span:last-child { color: var(--cyan); font-size: 22px; line-height: 1; }
.project-link:hover { color: var(--cyan); }
.decodes { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 100px; }
.decodes > div { min-width: 0; }
.decodes-copy h2 { font-size: clamp(3rem, 5vw, 4.6rem); max-width: 470px; font-weight: 500; }
.decodes-copy h2 > span { color: var(--violet); }
.decodes-copy > p { margin-top: 28px; font-size: 16px; max-width: 360px; line-height: 1.85; }
.decodes-signature { font: 12px ui-monospace, "SFMono-Regular", Consolas, monospace; display: flex; align-items: center; gap: 14px; color: #b9acdf; margin-top: 36px; }
.signal-line { width: 35px; height: 1px; background: var(--violet); box-shadow: 0 0 8px #b39aff40; }
.channel-grid { align-self: center; }
.channel-grid > a { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 16px; transition: color .2s; }
.channel-grid > a:first-child { border-top: 1px solid var(--line); }
.channel-grid > a > svg { width: 21px; height: 21px; stroke: #bac7da; fill: none; stroke-width: 1.5; flex-shrink: 0; }
.channel-grid .solid { fill: #bac7da; stroke: none; }
.channel-hint { margin-left: auto; font-size: 10px; color: var(--muted); }
.channel-arrow { font-size: 23px; color: var(--muted); line-height: 1; }
.channel-grid > a:hover, .channel-grid > a:hover .channel-arrow { color: var(--violet); }
.connect { padding-bottom: 88px; }
.connect-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.connect-content h2 { font-size: clamp(3rem,6.5vw,6rem); }
.connect-content h2 > span { color: var(--cyan); }
.connect-links { display: flex; flex-wrap: wrap; gap: 14px; }
.connect-links a { min-width: 138px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid #67798e; padding-block: 17px; font-size: 14px; }
.connect-links a:hover { border-color: var(--cyan); color: var(--cyan); }
.connect-links a > span { font-size: 21px; color: var(--cyan); }
.site-footer { border-top: 1px solid var(--line); padding-block: 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 10px; color: var(--muted); }
.site-footer > div { display: flex; align-items: center; gap: 18px; }
.footer-name { font-size: 14px; font-weight: 550; color: var(--text); }
.site-footer p { max-width: 390px; text-align: center; }
.back-top { min-height: 44px; display: flex; align-items: center; gap: 20px; white-space: nowrap; }
@keyframes orbit-arrive { from { transform: rotate(-14deg) scale(.94); opacity: .5; } to { transform: rotate(0) scale(1); opacity: 1; } }
@media (min-width: 1500px) { .hero { padding-top: 85px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { padding-top: 55px; }
  .hero-copy { padding-bottom: 40px; }
  h1 { font-size: clamp(4.5rem,8.5vw,6.5rem); }
  .hero-intro { font-size: 15px; }
  .about { gap: 40px; grid-template-columns: 1fr 2.3fr; }
  .project-grid { gap: 15px; }
  .project-content { padding: 22px; }
  .decodes { gap: 50px; }
  .channel-hint { display: none; }
  .channel-arrow { margin-left: auto; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { flex-wrap: wrap; justify-content: center; gap: 12px; padding-block: 20px 14px; }
  .wordmark { margin-right: auto; }
  nav { gap: 20px; }
  .nav-connect { padding-inline: 13px; gap: 12px; }
  .section { padding-block: 65px; }
  .hero { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(4rem,9vw,5rem); }
  .hero-intro { font-size: 14px; }
  .hero-art { width: calc(100% + 25px); margin-left: -10px; }
  .orbit-coordinate { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .button { gap: 18px; padding-inline: 16px; }
  .hero-bottom { font-size: 11px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-card { display: grid; grid-template-columns: 1fr 1fr; }
  .project-visual { align-content: center; }
  .project-content { padding: 26px; }
  .project-content p { margin-bottom: 22px; }
  .decodes { gap: 35px; }
  .decodes-copy h2 { font-size: 3rem; }
  .connect-content { align-items: start; flex-direction: column; gap: 25px; }
  .connect-links { width: min(100%,380px); }
  .connect-links a { flex: 1 1 138px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; }
  .site-footer p { order: 3; max-width: 100%; flex-basis: 100%; text-align: left; }
}
@media (max-width: 600px) {
  .site-header { justify-content: flex-start; gap: 16px; }
  .wordmark { min-height: 35px; }
  nav { width: 100%; justify-content: space-between; gap: 7px; font-size: 11px; }
  .nav-connect { gap: 7px; padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { padding: 0; }
  .occupation { margin-bottom: 23px; font-size: 12px; }
  h1 { font-size: clamp(4rem,15vw,6rem); }
  .hero-intro { font-size: 15px; margin-top: 25px; max-width: 370px; }
  .hero-actions { margin-top: 26px; }
  .hero-art { width: min(100%,410px); margin: 12px auto 0; }
  .orbit-coordinate { display: block; font-size: 8px; }
  .hero-bottom { padding: 0 0 25px; align-items: center; gap: 22px; }
  .hero-bottom > span { max-width: 180px; }
  .hero-bottom a { gap: 16px; }
  .about { display: block; }
  .about-content h2 { font-size: 2.3rem; }
  .about-content p { font-size: 15px; line-height: 1.9; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { max-width: 290px; font-size: 2.65rem; }
  .project-card { display: flex; }
  .project-visual img { max-height: 280px; }
  .project-content { padding: 26px; }
  .project-visual figcaption { font-size: 9px; }
  .project-meta { margin-bottom: 18px; }
  .project-content p { margin-bottom: 24px; }
  .decodes { grid-template-columns: 1fr; gap: 38px; }
  .decodes-copy h2 { font-size: clamp(3rem,12vw,4rem); max-width: 310px; }
  .decodes-copy > p { font-size: 15px; margin-top: 23px; }
  .decodes-signature { margin-top: 25px; }
  .channel-grid > a { padding-block: 23px; }
  .channel-arrow { margin-left: auto; }
  .connect-content h2 { font-size: clamp(2.5rem,11vw,3.7rem); }
  .connect-links a { min-width: 0; }
  .site-footer { gap: 15px; padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
