:root {
  color-scheme: dark;
  --bg: #10120f;
  --bg-raised: #171a16;
  --bg-soft: #1d211c;
  --text: #f0f1e9;
  --muted: #9a9f94;
  --subtle: #656b61;
  --accent: #d3f36b;
  --accent-bright: #e2ff85;
  --line: rgba(235, 239, 223, .12);
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gutter: clamp(24px, 7.2vw, 112px);
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(220, 232, 198, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 198, .018) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--bg); background: var(--accent); }

.scroll-progress { position: fixed; z-index: 20; inset: 0 0 auto; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); }
.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(235, 239, 223, .075);
  background: rgba(16, 18, 15, .82);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { font: 800 24px/1 var(--display); letter-spacing: -2px; }
.brand-mark span { color: var(--accent); }
.brand-name { color: #b6baaf; font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); }
.site-nav a, .header-cta { color: #a7aca1; font-size: 12px; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .header-cta:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--subtle);
  cursor: pointer;
  font: 11px var(--mono);
}
.language-option { transition: color .2s ease; }
.language-option.is-active { color: var(--accent); }
.language-divider { color: #53584f; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.header-cta span { color: var(--accent); font-size: 15px; }
.menu-toggle { display: none; }
.section-wrap { width: calc(100% - var(--gutter) - var(--gutter)); max-width: var(--content); margin-inline: auto; }
.section-space { padding-block: clamp(96px, 12vw, 164px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  min-height: min(760px, calc(100svh - 78px));
  padding-top: 64px;
  padding-bottom: 114px;
}
.hero-copy { position: relative; z-index: 2; padding-block: 34px 22px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 26px;
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.status-dot, .window-live, .bot-live i, .route-card b i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(211, 243, 107, .55);
}
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font: 700 clamp(46px, 6.1vw, 82px)/1.08 var(--display);
  letter-spacing: -.075em;
}
.accent-text { color: var(--accent); }
.hero-intro { max-width: 510px; margin-bottom: 32px; color: #a8ada2; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 49px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #171a12; }
.button-primary:hover { background: var(--accent-bright); }
.button-primary span:last-child, .button-light span:last-child { font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: #c1c5ba; font-size: 12px; }
.text-link span:last-child { color: var(--accent); font-size: 15px; transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translate(3px, -3px); }
.hero-meta { display: flex; align-items: center; gap: 13px; margin-top: 82px; color: var(--subtle); font: 10px var(--mono); letter-spacing: .025em; }
.meta-line { width: 35px; height: 1px; background: #454a41; }
.meta-index { color: #8e9488; }

.hero-art { position: relative; display: grid; min-height: 492px; place-items: center; isolation: isolate; }
.hero-glow { position: absolute; z-index: -1; width: 370px; aspect-ratio: 1; border-radius: 50%; background: rgba(142, 175, 70, .11); filter: blur(80px); }
.orbit { position: absolute; z-index: -1; border: 1px solid rgba(211, 243, 107, .13); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 480px; height: 290px; }
.orbit-two { width: 560px; height: 350px; transform: rotate(42deg); border-color: rgba(211, 243, 107, .08); }
.code-window {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  overflow: hidden;
  border: 1px solid rgba(223, 231, 207, .17);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(31, 35, 29, .98), rgba(20, 23, 19, .97));
  box-shadow: 0 32px 80px rgba(0, 0, 0, .38);
  transform: rotate(2deg);
  animation: float-window 7s ease-in-out infinite;
}
.window-top { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #8c9286; font: 10px var(--mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #555b50; }
.window-dots i:first-child { background: #d3f36b; }
.window-lock { margin-left: 5px; color: #b4c39a; }
.window-menu { letter-spacing: 2px; }
.code-body { padding: 24px 20px 20px; font: 11px/2.1 var(--mono); }
.code-line { white-space: pre; color: #d2d7ca; }
.code-line.indent { padding-left: 26px; }
.line-no { display: inline-block; width: 29px; color: #5e655a; user-select: none; }
.code-purple { color: #c7a6eb; }
.code-green { color: #d3f36b; }
.code-blue { color: #90b8d5; }
.code-orange { color: #e4b587; }
.code-gap { min-height: 15px; }
.cursor-blink { display: inline-block; width: 5px; height: 13px; margin-left: 4px; background: var(--accent); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
.window-foot { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 16px; border-top: 1px solid var(--line); color: #858b7e; font: 9px var(--mono); }
.window-foot > span:last-child { margin-left: auto; }
.window-live { width: 5px; height: 5px; flex-basis: 5px; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid rgba(223, 231, 207, .15); border-radius: 5px; background: rgba(28, 32, 25, .92); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); backdrop-filter: blur(12px); animation: float-card 6s ease-in-out infinite; }
.float-card-top { top: 62px; right: 3px; }
.float-card-bottom { bottom: 69px; left: 0; animation-delay: -2s; }
.float-card b, .float-card small { display: block; }
.float-card b { color: #e7eadf; font: 600 12px var(--sans); }
.float-card small { margin-top: 2px; color: #8e9588; font: 9px var(--mono); }
.float-icon { color: var(--accent); font-size: 21px; }
.float-code { color: var(--accent); font: 600 15px var(--mono); }
.art-caption { position: absolute; right: 0; bottom: 18px; color: #636a5e; font: 9px var(--mono); letter-spacing: .15em; }
.scroll-cue { position: absolute; bottom: 31px; left: 0; display: inline-flex; align-items: center; gap: 12px; color: #7d8378; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.scroll-cue-line { width: 30px; height: 1px; background: var(--accent); transform-origin: left; animation: cue-line 2s ease-in-out infinite; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.ticker-track { display: flex; align-items: center; justify-content: space-around; width: max-content; min-width: 200%; gap: clamp(28px, 5vw, 72px); padding: 20px 0; color: #777e70; font: 10px var(--mono); letter-spacing: .12em; animation: ticker 34s linear infinite; }
.ticker-track i { color: var(--accent); font-size: 13px; font-style: normal; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 55px; }
.section-heading h2, .profile h2, .contact h2, .services h2 {
  margin: 0;
  font: 650 clamp(38px, 5.3vw, 66px)/1.12 var(--display);
  letter-spacing: -.065em;
}
.eyebrow-number { color: var(--accent); }
.section-aside { max-width: 310px; margin: 0 0 6px; color: #8f958a; font-size: 13px; line-height: 1.8; }

.project-card { overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.project-feature { display: grid; grid-template-columns: 1.03fr .97fr; min-height: 370px; }
.project-visual { position: relative; display: grid; min-height: 300px; overflow: hidden; place-items: center; }
.visual-bot { background: radial-gradient(ellipse at 68% 42%, rgba(116, 135, 80, .16), transparent 58%), #171a15; }
.bot-shell { display: grid; grid-template-columns: 42px 1fr; width: min(83%, 435px); min-height: 218px; overflow: hidden; border: 1px solid rgba(222, 230, 209, .14); border-radius: 7px; background: #20241f; box-shadow: 0 24px 60px rgba(0,0,0,.32); transform: perspective(800px) rotateY(-7deg) rotateX(2deg); }
.bot-sidebar { display: flex; align-items: center; flex-direction: column; gap: 15px; padding: 15px 0; border-right: 1px solid rgba(225, 233, 213, .08); background: #1a1d19; }
.bot-sidebar > span:not(.bot-avatar) { width: 15px; height: 15px; border-radius: 4px; background: #454b40; }
.bot-sidebar .bot-side-active { background: #b5d65a !important; }
.bot-avatar { display: grid; width: 23px; height: 23px; border-radius: 7px; place-items: center; background: #d3f36b; color: #22281a; font: 700 11px var(--display); }
.bot-main { padding: 15px 18px; }
.bot-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid rgba(225,233,213,.08); color: #d0d5c9; font: 9px var(--mono); }
.bot-live { display: inline-flex; align-items: center; gap: 5px; color: #9da795; font-size: 8px; }
.bot-live i { width: 5px; height: 5px; flex-basis: 5px; }
.bot-welcome { display: flex; flex-direction: column; gap: 3px; padding: 16px 0 11px; }
.bot-welcome b { color: #e2e6dc; font: 600 13px var(--sans); }
.bot-welcome span, .bot-activity small { color: #899184; font: 9px var(--mono); }
.bot-stats { display: flex; gap: 9px; }
.bot-stats > span { flex: 1; padding: 9px 10px; border: 1px solid rgba(225,233,213,.08); border-radius: 4px; }
.bot-stats i, .bot-stats b { display: block; font-style: normal; }
.bot-stats i { color: #798171; font: 8px var(--mono); }
.bot-stats b { margin-top: 3px; color: #d4dfba; font: 600 14px var(--display); }
.bot-activity { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px; border: 1px solid rgba(225,233,213,.08); border-radius: 4px; }
.activity-avatar { display: grid; width: 24px; height: 24px; border-radius: 50%; place-items: center; background: #30392a; color: var(--accent); }
.bot-activity b, .bot-activity small { display: block; }
.bot-activity b { color: #c7cec0; font-size: 8px; }
.bot-activity small { margin-top: 2px; font-size: 7px; }
.activity-check { margin-left: auto; color: var(--accent); font-size: 12px; }
.visual-label { position: absolute; right: 18px; bottom: 14px; color: #62685d; font: 8px var(--mono); letter-spacing: .13em; }
.project-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(25px, 4vw, 50px); }
.project-topline { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; }
.project-type, .project-number { color: #92988c; font: 9px var(--mono); letter-spacing: .08em; }
.project-type { color: var(--accent); }
.project-info h3 { margin: 27px 0 13px; font: 600 clamp(25px, 3vw, 34px)/1.15 var(--display); letter-spacing: -.045em; }
.project-info > p { max-width: 500px; margin-bottom: 18px; color: #a0a69a; font-size: 12px; line-height: 1.8; }
.project-highlights { display: grid; gap: 7px; margin: 0 0 17px; padding: 0; list-style: none; }
.project-highlights li { display: flex; align-items: center; gap: 8px; color: #b6bbae; font-size: 10px; }
.project-highlights li::before { color: var(--accent); content: "↳"; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag-list span { padding: 5px 8px; border: 1px solid rgba(232, 239, 218, .12); color: #a4aa9d; font: 9px var(--mono); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.project-compact .project-visual { min-height: 268px; }
.project-compact .project-info { min-height: 267px; padding: 27px 30px 30px; }
.project-compact .project-info h3 { margin: 18px 0 9px; font-size: 25px; }
.project-compact .project-info > p { min-height: 65px; margin-bottom: 18px; font-size: 11px; }
.project-compact .project-type { font-size: 8px; }

.visual-dropsync { background: radial-gradient(ellipse at 50% 50%, rgba(76, 110, 93, .2), transparent 62%), #171c19; }
.route-map { position: relative; width: 100%; height: 100%; min-height: 268px; background-image: linear-gradient(rgba(224, 231, 212, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 231, 212, .04) 1px, transparent 1px); background-size: 28px 28px; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-dash, .route-soft { fill: none; stroke: #bddd67; stroke-width: 1.4; }
.route-dash { stroke-dasharray: 4 5; }
.route-soft { stroke-width: 8; opacity: .08; }
.map-node { position: absolute; z-index: 1; padding: 5px 7px; border: 1px solid rgba(211, 243, 107, .26); background: #20271d; color: #d5e4bd; font: 7px var(--mono); }
.node-a { top: 57%; left: 10%; }
.node-b { top: 23%; left: 44%; }
.node-c { top: 19%; right: 7%; }
.map-pin { position: absolute; z-index: 1; display: grid; width: 24px; height: 24px; border-radius: 50%; place-items: center; background: var(--accent); color: #22271a; font-size: 12px; box-shadow: 0 0 22px rgba(211, 243, 107, .3); }
.pin-one { top: 35%; left: 28%; }
.pin-two { top: 59%; right: 30%; }
.route-card { position: absolute; right: 22px; bottom: 31px; display: flex; flex-direction: column; gap: 4px; min-width: 118px; padding: 9px; border: 1px solid rgba(225,233,213,.12); background: #1d231f; box-shadow: 0 10px 24px rgba(0,0,0,.24); }
.route-card > span { color: #828b7e; font: 7px var(--mono); letter-spacing: .08em; }
.route-card b { color: #d3dccd; font: 9px var(--sans); }
.route-card b i { width: 5px; height: 5px; margin-right: 4px; vertical-align: 1px; }
.route-card small { color: #8b9488; font: 7px var(--mono); }

.visual-paradise { background: linear-gradient(155deg, #303f35, #1d302d 55%, #1a2522); }
.game-scene { position: relative; width: 100%; height: 100%; min-height: 268px; overflow: hidden; }
.game-sun { position: absolute; top: 23px; right: 25%; width: 35px; height: 35px; border-radius: 50%; background: #d7ed9c; box-shadow: 0 0 38px rgba(215,237,156,.22); }
.game-cloud { position: absolute; width: 55px; height: 12px; border-radius: 20px; background: rgba(206, 224, 197, .2); }
.cloud-one { top: 55px; left: 22%; }
.cloud-two { top: 84px; right: 16%; transform: scale(.7); }
.island { position: absolute; left: 50%; width: 190px; height: 95px; clip-path: polygon(50% 0, 100% 32%, 50% 66%, 0 32%); transform: translateX(-50%); }
.island-back { top: 72px; background: #537365; }
.island-front { top: 116px; height: 78px; background: #354c3c; }
.game-tree { position: absolute; z-index: 1; color: #a8c484; font-size: 29px; text-shadow: 2px 3px #253c31; }
.tree-one { top: 106px; left: calc(50% - 46px); }
.tree-two { top: 128px; left: calc(50% + 45px); transform: scale(.8); }
.game-house { position: absolute; z-index: 1; top: 125px; left: calc(50% - 7px); display: grid; width: 27px; height: 23px; place-items: center; background: #d39a67; color: #473b2f; font-size: 15px; }
.game-ui { position: absolute; top: 15px; left: 16px; right: 16px; display: flex; justify-content: space-between; color: #c5d5c1; font: 8px var(--mono); letter-spacing: .1em; }
.game-ui i { color: #d3f36b; font-style: normal; }
.game-ui b { color: #f3d37e; }

.profile { background: #171a16; border-block: 1px solid var(--line); }
.profile-layout { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(55px, 12vw, 170px); align-items: start; }
.profile-copy .eyebrow { margin-bottom: 24px; }
.profile-copy h2 { margin-bottom: 26px; }
.profile-copy > p:not(.eyebrow) { max-width: 510px; color: #a1a79a; font-size: 13px; line-height: 1.9; }
.profile-copy > p + p { margin-top: 15px; }
.profile-signoff { display: flex; align-items: center; gap: 10px; margin-top: 33px; color: #889082; font: 9px var(--mono); }
.signoff-line { width: 25px; height: 1px; background: var(--accent); }
.signoff-star { color: var(--accent); font-size: 14px; }
.timeline { padding-top: 4px; }
.timeline-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: #d9ddd2; font-size: 12px; font-weight: 600; }
.timeline-heading span:last-child { color: #80877b; font: 9px var(--mono); }
.timeline-item { position: relative; margin-left: 5px; padding: 25px 0 24px 22px; border-bottom: 1px solid rgba(235,239,223,.09); }
.timeline-item::before { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(211,243,107,.2); content: ""; }
.timeline-point { position: absolute; top: 30px; left: -3px; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; background: #171a16; }
.timeline-date { color: var(--accent); font: 8px var(--mono); letter-spacing: .09em; }
.timeline-item h3 { margin: 8px 0 4px; color: #e0e4d8; font: 600 13px var(--sans); }
.timeline-item p { margin: 0; color: #a0a69a; font-size: 10px; }
.timeline-item p span { color: #747b70; }
.timeline-note { display: flex; gap: 9px; margin-top: 18px; color: #82897d; font-size: 10px; }
.timeline-note span:first-child { color: var(--accent); font-family: var(--mono); }

.skills .section-heading { margin-bottom: 45px; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.skill-card { position: relative; min-height: 240px; padding: 23px 20px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.015); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.skill-card:hover { transform: translateY(-4px); border-color: rgba(211,243,107,.34); background: rgba(211,243,107,.025); }
.skill-index { position: absolute; top: 22px; right: 20px; color: #62695e; font: 9px var(--mono); }
.skill-icon { display: grid; width: 35px; height: 35px; margin-bottom: 22px; border: 1px solid rgba(211,243,107,.24); place-items: center; color: var(--accent); font: 12px var(--mono); }
.skill-card h3 { margin-bottom: 6px; color: #e0e4d8; font: 600 14px var(--display); }
.skill-card p { margin-bottom: 17px; color: #858c80; font-size: 10px; }
.skill-card .tag-list { gap: 5px; }
.skill-card .tag-list span { padding: 4px 6px; font-size: 8px; }

.services-card { position: relative; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 34px; min-height: 310px; overflow: hidden; padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(211,243,107,.21); background: linear-gradient(115deg, #20271a, #1c2118 65%, #222b19); }
.services-mark { position: relative; z-index: 1; display: grid; width: 86px; height: 86px; border: 1px solid rgba(211,243,107,.27); place-items: center; color: #d8e7bf; font: 700 21px var(--display); letter-spacing: -.1em; }
.services-mark i { position: absolute; top: -11px; right: -9px; color: var(--accent); font-size: 20px; font-style: normal; }
.services-copy { position: relative; z-index: 1; max-width: 480px; }
.services-copy .eyebrow { margin-bottom: 13px; color: var(--accent); }
.services h2 { margin-bottom: 13px; font-size: clamp(33px, 4.2vw, 50px); }
.services-copy > p:last-child { max-width: 440px; margin-bottom: 0; color: #9ba491; font-size: 11px; line-height: 1.8; }
.button-light { position: relative; z-index: 1; background: var(--accent); color: #171a12; white-space: nowrap; }
.button-light:hover { background: var(--accent-bright); }
.services-orbit { position: absolute; right: 0; top: 50%; width: 340px; height: 340px; border: 1px solid rgba(211,243,107,.09); border-radius: 50%; transform: translate(35%, -50%); }
.services-orbit-two { width: 265px; height: 265px; transform: translate(22%, -50%); }

.contact { padding-bottom: 50px; }
.contact-layout { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(55px, 12vw, 170px); align-items: center; padding-bottom: 100px; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy > p:not(.eyebrow) { max-width: 390px; margin-bottom: 26px; color: #9ba195; font-size: 13px; line-height: 1.8; }
.email-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(211,243,107,.4); color: var(--accent); font: 12px var(--mono); }
.email-link span { font-size: 15px; transition: transform .2s ease; }
.email-link:hover span { transform: translate(3px, -3px); }
.contact-links { border-top: 1px solid var(--line); }
.contact-row { display: flex; align-items: center; gap: 15px; min-height: 88px; border-bottom: 1px solid var(--line); transition: padding .2s ease; }
.contact-row:hover { padding-inline: 8px; }
.contact-icon { display: grid; width: 36px; height: 36px; border: 1px solid rgba(211,243,107,.21); place-items: center; color: var(--accent); font-size: 15px; }
.contact-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.contact-row small { color: #72796e; font: 8px var(--mono); letter-spacing: .09em; }
.contact-row b { color: #d9ded2; font-size: 11px; font-weight: 500; }
.contact-arrow { margin-left: auto; color: var(--accent); font-size: 17px; transition: transform .2s ease; }
.contact-row:hover .contact-arrow { transform: translate(3px, -3px); }
.contact-note { display: flex; align-items: center; gap: 9px; padding-top: 18px; color: #848b7e; font: 9px var(--mono); }
.contact-note .status-dot { width: 6px; height: 6px; flex-basis: 6px; }
.contact-endnote { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid var(--line); color: #636a5f; font: 8px var(--mono); letter-spacing: .08em; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 0 var(--gutter); border-top: 1px solid rgba(235,239,223,.075); color: #747b70; font-size: 10px; }
.site-footer .brand-mark { font-size: 19px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; }
.back-top span:last-child { color: var(--accent); font-size: 15px; }

.js-enabled .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-enabled .project-grid .project-compact:nth-child(2) { transition-delay: .12s; }

@keyframes float-window { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-9px); } }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes blink { to { visibility: hidden; } }
@keyframes cue-line { 0%, 100% { transform: scaleX(.55); opacity: .55; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1000px) {
  :root { --gutter: clamp(24px, 5vw, 60px); }
  .hero { grid-template-columns: 1.05fr .95fr; }
  .hero h1 { font-size: clamp(44px, 6.4vw, 68px); }
  .hero-art { min-height: 430px; }
  .orbit-one { width: 390px; height: 250px; }
  .orbit-two { width: 450px; height: 300px; }
  .float-card-top { right: -4px; }
  .project-feature { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card { min-height: 220px; }
  .services-card { grid-template-columns: 75px 1fr; gap: 26px; }
  .services-mark { width: 66px; height: 66px; font-size: 17px; }
  .services-card .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 76px; }
  .site-header { min-height: 68px; }
  .brand-name { display: none; }
  .header-actions { gap: 18px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; padding: 7px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: var(--text); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; border-bottom: 1px solid var(--line); background: rgba(16,18,15,.97); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(235,239,223,.07); font-size: 13px; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 68px; padding-bottom: 110px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 540px; font-size: clamp(47px, 12vw, 72px); }
  .hero-intro { max-width: 500px; font-size: 14px; }
  .hero-meta { margin-top: 38px; font-size: 8px; }
  .hero-art { min-height: 365px; margin-top: 16px; }
  .code-window { width: min(90%, 410px); }
  .orbit-one { width: 340px; height: 210px; }
  .orbit-two { width: 390px; height: 260px; }
  .float-card-top { top: 28px; right: 0; }
  .float-card-bottom { bottom: 52px; left: 0; }
  .art-caption { right: 2px; bottom: 10px; font-size: 7px; }
  .scroll-cue { bottom: 28px; }
  .section-space { padding-block: 90px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 34px; }
  .section-heading h2, .profile h2, .contact h2 { font-size: clamp(39px, 10vw, 58px); }
  .section-aside { max-width: 460px; margin-bottom: 0; }
  .project-feature { grid-template-columns: 1fr; }
  .project-feature .project-visual { min-height: 275px; }
  .project-feature .project-info { min-height: 310px; padding: 27px 23px 30px; }
  .project-info h3 { margin-top: 20px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .project-compact .project-visual { min-height: 260px; }
  .project-compact .project-info { min-height: 250px; padding: 25px 23px 27px; }
  .profile-layout, .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .profile-copy > p:not(.eyebrow) { font-size: 12px; }
  .skills-grid { gap: 9px; }
  .skill-card { min-height: 230px; padding: 19px 14px 16px; }
  .skill-index { top: 18px; right: 13px; }
  .skill-card .tag-list { gap: 4px; }
  .skill-card .tag-list span { font-size: 7px; }
  .services-card { grid-template-columns: 1fr; gap: 23px; padding: 30px 24px; }
  .services-mark { width: 55px; height: 55px; }
  .services-card .button { grid-column: 1; }
  .services h2 { font-size: 40px; }
  .contact-layout { gap: 42px; padding-bottom: 68px; }
  .contact-endnote { flex-wrap: wrap; font-size: 7px; }
  .contact-endnote span:nth-child(2) { display: none; }
  .site-footer { min-height: 72px; }
  .site-footer > span { max-width: 160px; text-align: center; font-size: 9px; }
}

@media (max-width: 390px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: 45px; }
  .hero-actions { gap: 18px; }
  .button { gap: 15px; }
  .hero-art { min-height: 320px; }
  .float-card { padding: 9px 10px; }
  .float-card small { font-size: 8px; }
  .code-body { padding-inline: 12px; font-size: 10px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skill-card { min-height: 246px; }
  .contact-endnote span:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}
