:root {
  --ink: #eef4f5;
  --muted: #9fb0b8;
  --quiet: #6d808b;
  --canvas: #07131f;
  --canvas-soft: #0b1a28;
  --panel: rgba(14, 31, 45, 0.78);
  --panel-solid: #0e2030;
  --line: rgba(181, 212, 220, 0.14);
  --teal: #73e7d1;
  --teal-deep: #2ebfa9;
  --amber: #ffc766;
  --rose: #f99091;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --shell: min(1160px, calc(100% - 40px));
}

html[data-theme="light"] {
  --ink: #10252d;
  --muted: #526a74;
  --quiet: #71858d;
  --canvas: #f4f3ec;
  --canvas-soft: #e9eee8;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-solid: #fffdf7;
  --line: rgba(16, 37, 45, 0.13);
  --teal: #087f71;
  --teal-deep: #04685e;
  --amber: #c47b08;
  --rose: #bd4a52;
  --shadow: 0 24px 70px rgba(44, 64, 62, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 260ms ease, color 260ms ease;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.shell { width: var(--shell); margin-inline: auto; }
.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: fixed; left: 16px; top: -64px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--teal); color: #06151a; font-weight: 700; }
.skip-link:focus { top: 16px; }

.ambient { position: fixed; z-index: -2; width: 500px; height: 500px; pointer-events: none; border-radius: 50%; filter: blur(100px); opacity: 0.15; }
.ambient-one { top: -260px; right: -120px; background: var(--teal); }
.ambient-two { top: 55vh; left: -300px; background: var(--rose); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease; }
.site-header.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--canvas) 82%, transparent); backdrop-filter: blur(18px); }
.nav-shell { display: flex; min-height: 82px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--teal); font-weight: 900; letter-spacing: -0.05em; background: var(--panel); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 0.9rem; letter-spacing: -0.01em; }
.brand-copy small { margin-top: 4px; color: var(--quiet); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a { position: relative; color: var(--muted); font-size: 0.84rem; font-weight: 650; }
.site-nav > a::after { position: absolute; right: 50%; bottom: -9px; left: 50%; height: 2px; content: ""; background: var(--teal); transition: inset 180ms ease; }
.site-nav > a:hover, .site-nav > a.active { color: var(--ink); }
.site-nav > a:hover::after, .site-nav > a.active::after { right: 0; left: 0; }
.site-nav .nav-connect { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--panel); }
.site-nav .nav-connect::after { display: none; }
.theme-toggle { display: grid; width: 40px; height: 40px; padding: 9px; cursor: pointer; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); }
.theme-toggle svg { grid-area: 1 / 1; width: 18px; transition: opacity 160ms ease, transform 240ms ease; }
.theme-toggle .moon { opacity: 0; transform: rotate(-50deg) scale(0.7); }
html[data-theme="light"] .theme-toggle .sun { opacity: 0; transform: rotate(50deg) scale(0.7); }
html[data-theme="light"] .theme-toggle .moon { opacity: 1; transform: none; }
.nav-toggle { display: none; width: 42px; height: 42px; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }

.hero { display: grid; min-height: 780px; padding-top: 150px; padding-bottom: 86px; align-items: center; grid-template-columns: 1.08fr 0.92fr; gap: 64px; }
.eyebrow, .kicker, .card-eyebrow { margin: 0 0 20px; color: var(--teal); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span { position: relative; width: 22px; height: 1px; background: var(--teal); }
.eyebrow span::after { position: absolute; top: -2px; right: 0; width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.4rem, 6.8vw, 6.35rem); font-weight: 730; letter-spacing: -0.068em; line-height: 0.91; }
.hero h1 em { color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-intro { max-width: 680px; margin: 32px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; }
.hero-intro strong { color: var(--ink); font-weight: 650; }
.hero-actions { display: flex; margin-top: 34px; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; padding: 0 22px; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; font-weight: 800; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; }
.button-primary { border-color: var(--teal); background: var(--teal); color: #06151a; }
.button-primary:hover { background: #95f5e2; }
.button-quiet { background: var(--panel); }
.button-quiet:hover { border-color: color-mix(in srgb, var(--teal), transparent 45%); }
.hero-proof { display: flex; padding: 0; margin-top: 44px; gap: 0; list-style: none; }
.hero-proof li { min-width: 118px; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line); }
.hero-proof li:last-child { border: 0; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: 1.45rem; letter-spacing: -0.04em; }
.hero-proof span { color: var(--quiet); font-size: 0.72rem; }

.hero-visual { position: relative; display: grid; min-height: 570px; place-items: center; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit::before { position: absolute; width: 9px; height: 9px; content: ""; border: 4px solid var(--canvas); border-radius: 50%; background: var(--amber); }
.orbit-one { width: 520px; height: 520px; animation: spin 30s linear infinite; }
.orbit-one::before { top: 52px; right: 78px; }
.orbit-two { width: 430px; height: 430px; animation: spinReverse 24s linear infinite; border-style: dashed; }
.orbit-two::before { bottom: 32px; left: 92px; background: var(--teal); }
.profile-card { position: relative; z-index: 2; width: min(390px, 86vw); overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(160deg, color-mix(in srgb, var(--panel-solid), white 4%), var(--panel-solid)); box-shadow: var(--shadow); }
.profile-card::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.08), transparent 70%); transform: translateX(-120%); animation: sheen 8s ease-in-out infinite; }
.profile-topline { display: flex; align-items: center; justify-content: space-between; color: var(--quiet); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.live-dot { display: flex; align-items: center; gap: 6px; color: var(--teal); }
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.portrait-wrap { position: relative; display: grid; width: 220px; height: 220px; margin: 26px auto 20px; place-items: center; }
.portrait-wrap img { position: relative; z-index: 2; width: 190px; height: 190px; object-fit: cover; border: 6px solid var(--panel-solid); border-radius: 50%; box-shadow: 0 18px 45px rgba(0,0,0,.28); }
.portrait-halo { position: absolute; inset: 0; border-radius: 43% 57% 57% 43% / 55% 42% 58% 45%; background: linear-gradient(145deg, var(--teal), #2b6783 56%, var(--amber)); animation: morph 9s ease-in-out infinite; }
.profile-copy { padding: 18px 6px 12px; border-top: 1px solid var(--line); }
.profile-copy p { margin: 0; color: var(--quiet); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.profile-copy h2 { margin: 5px 0 3px; font-size: 1.35rem; letter-spacing: -0.035em; }
.profile-copy span { color: var(--muted); font-size: 0.78rem; }
.profile-signals { display: flex; padding-top: 13px; flex-wrap: wrap; gap: 7px; }
.profile-signals span, .timeline-tags span, .research-topics span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.65rem; font-weight: 700; }
.floating-card { position: absolute; z-index: 4; padding: 13px 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--panel-solid) 90%, transparent); box-shadow: 0 15px 45px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: var(--quiet); font-size: 0.62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.floating-card strong { margin-top: 3px; font-size: .82rem; }
.floating-build { top: 16%; left: 0; display: flex; align-items: center; gap: 11px; }
.floating-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: var(--teal); color: #06151a; font-weight: 900; }
.floating-craft { right: -12px; bottom: 17%; }

.marquee { overflow: hidden; padding: 16px 0; border-block: 1px solid var(--line); background: var(--panel); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 30px; animation: marquee 28s linear infinite; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.marquee-track i { color: var(--teal); font-style: normal; }

.section { padding-top: 128px; padding-bottom: 128px; scroll-margin-top: 68px; }
.section-tinted { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--canvas-soft) 82%, transparent); }
.section-heading { max-width: 830px; margin-bottom: 66px; }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 650; letter-spacing: -0.058em; line-height: 1.04; }
.section-heading h2 span, .connect-card h2 span { color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.section-heading-row { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-heading-row > div { max-width: 720px; }
.section-heading-row > p { max-width: 360px; margin: 0 0 10px; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-story .lead { margin-top: 0; color: var(--ink); font-size: 1.35rem; line-height: 1.55; letter-spacing: -.018em; }
.about-story p:not(.lead) { color: var(--muted); }
.text-link { display: inline-flex; margin-top: 20px; align-items: center; gap: 9px; color: var(--teal); font-size: .85rem; font-weight: 800; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.principles { border-top: 1px solid var(--line); }
.principle { display: grid; padding: 30px 0; align-items: start; border-bottom: 1px solid var(--line); grid-template-columns: 56px 180px 1fr; gap: 14px; }
.principle > span { color: var(--teal); font-size: .72rem; font-weight: 800; }
.principle h3, .principle p { margin: 0; }
.principle h3 { font-size: 1rem; }
.principle p { color: var(--muted); font-size: .88rem; }

.linkedin-sync-card { display: grid; overflow: hidden; padding: clamp(26px, 5vw, 54px); margin-top: 72px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, #0a66c2 14%, var(--panel-solid)), var(--panel)); grid-template-columns: 1.05fr .95fr; gap: 52px; }
.linkedin-sync-copy h3 { max-width: 580px; margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.055em; line-height: 1.02; }
.linkedin-sync-copy > p:not(.sync-status) { max-width: 630px; margin: 0; color: var(--muted); }
.sync-status { display: inline-flex; margin: 0 0 20px; align-items: center; gap: 9px; color: #68aef1; font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.sync-status span { width: 8px; height: 8px; border-radius: 50%; background: #68aef1; box-shadow: 0 0 14px #68aef1; }
.linkedin-badge-stage { display: grid; min-height: 370px; padding: 26px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #07131f; box-shadow: inset 0 1px rgba(255,255,255,.06); }
.linkedin-badge-stage .badge-base { min-height: 290px; }
.linkedin-badge-stage > p { max-width: 340px; margin: 12px 0 0; color: #91a3ad; font-size: .68rem; text-align: center; }
.linkedin-badge-stage .LI-simple-link { color: #73e7d1; font-size: .85rem; font-weight: 800; }

.timeline { position: relative; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 85px; width: 1px; content: ""; background: var(--line); }
.timeline-item { position: relative; display: grid; min-height: 176px; padding: 34px 0; border-top: 1px solid var(--line); grid-template-columns: 170px 1fr 290px; gap: 36px; }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-marker { position: relative; z-index: 2; }
.timeline-marker::after { position: absolute; top: 7px; left: 81px; width: 9px; height: 9px; content: ""; border: 5px solid var(--canvas-soft); border-radius: 50%; background: var(--teal); }
.timeline-marker span { color: var(--teal); font-size: .73rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.timeline-copy h3 { margin: 5px 0 8px; font-size: 1.45rem; letter-spacing: -.03em; }
.timeline-copy p { max-width: 650px; margin: 0; color: var(--muted); }
.timeline-meta { color: var(--quiet) !important; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.timeline-tags { display: flex; align-content: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }

.filters { display: flex; margin-bottom: 9px; flex-wrap: wrap; gap: 7px; }
.filter { padding: 8px 13px; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 750; }
.filter:hover, .filter.active { border-color: var(--teal); background: var(--teal); color: #06151a; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { position: relative; display: grid; overflow: hidden; min-height: 465px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform 220ms ease, border-color 220ms ease, opacity 200ms ease; }
.project-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--teal), transparent 55%); }
.project-card[hidden] { display: none; }
.project-featured { min-height: 520px; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 38px; }
.project-number { position: absolute; top: 24px; right: 26px; color: var(--quiet); font-size: .7rem; font-weight: 800; }
.project-visual { position: relative; display: grid; min-height: 350px; overflow: hidden; place-items: center; border-radius: 22px; }
.visual-capsule { background: radial-gradient(circle at 70% 25%, rgba(115,231,209,.38), transparent 33%), linear-gradient(145deg, #11394a, #0b1824); }
.visual-capsule::before, .visual-capsule::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.visual-capsule::before { width: 280px; height: 280px; }
.visual-capsule::after { width: 390px; height: 390px; }
.visual-capsule > span { position: relative; z-index: 2; color: #e9fffa; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 900; letter-spacing: -.07em; line-height: .78; }
.sound-wave { position: absolute; right: 22px; bottom: 28px; z-index: 3; display: flex; height: 58px; align-items: center; gap: 5px; }
.sound-wave i { width: 4px; height: 50%; border-radius: 9px; background: var(--teal); animation: wave 1.1s ease-in-out infinite alternate; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(6) { animation-delay: -.5s; height: 90%; }
.sound-wave i:nth-child(3), .sound-wave i:nth-child(5) { animation-delay: -.8s; height: 65%; }
.sound-wave i:nth-child(4) { animation-delay: -.25s; height: 100%; }
.project-copy { display: flex; align-self: end; flex-direction: column; }
.project-labels { display: flex; margin-bottom: 20px; gap: 8px; }
.project-labels span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.project-copy h3 { margin: 0 0 12px; font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.project-copy p { margin: 0; color: var(--muted); }
.project-copy ul { padding: 0; margin: 22px 0 0; color: var(--muted); list-style: none; font-size: .83rem; }
.project-copy li { position: relative; padding-left: 17px; margin-bottom: 5px; }
.project-copy li::before { position: absolute; left: 0; content: "→"; color: var(--teal); }
.project-links { display: flex; margin-top: 25px; flex-wrap: wrap; gap: 18px; }
.project-links a { color: var(--teal); font-size: .78rem; font-weight: 850; }
.project-icon { display: grid; width: 92px; height: 92px; margin: 54px 0 70px; place-items: center; border: 1px solid var(--line); border-radius: 28px; background: var(--canvas-soft); }
.project-icon svg { width: 52px; color: var(--teal); }
.checklist-icon { transform: rotate(-3deg); }
.checklist-icon svg { color: var(--amber); }
.mobile-icon svg { color: var(--rose); }
.all-projects { display: flex; padding: 24px 0; margin-top: 28px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); }
.all-projects strong { color: var(--teal); font-size: .8rem; }

.ideas-section { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: #0e2427; }
html[data-theme="light"] .ideas-section { background: #dce9e3; }
.ideas-section::before { position: absolute; top: -340px; right: -240px; width: 720px; height: 720px; content: ""; border-radius: 50%; background: rgba(115,231,209,.12); filter: blur(10px); }
.ideas-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.research-card { display: flex; min-height: 540px; padding: clamp(30px, 5vw, 60px); flex-direction: column; justify-content: flex-end; border: 1px solid rgba(210,240,233,.18); border-radius: var(--radius); background: linear-gradient(155deg, rgba(115,231,209,.1), rgba(0,0,0,.12)); }
.research-card h3 { max-width: 690px; margin: 0 0 22px; font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; }
.research-card > p:not(.card-eyebrow) { max-width: 670px; color: color-mix(in srgb, var(--ink), transparent 20%); }
.research-topics { display: flex; margin-top: 18px; flex-wrap: wrap; gap: 8px; }
.research-card .text-link { margin-top: 32px; }
.writing-column { display: grid; gap: 14px; }
.writing-card { display: flex; min-height: 170px; padding: 25px; align-items: center; justify-content: space-between; border: 1px solid rgba(210,240,233,.18); border-radius: 22px; background: rgba(7,19,31,.26); transition: transform 180ms ease, background 180ms ease; }
html[data-theme="light"] .writing-card { background: rgba(255,255,255,.42); }
.writing-card:hover { transform: translateX(-5px); background: rgba(115,231,209,.08); }
.writing-card h3 { margin: 0 0 5px; font-size: 1.3rem; }
.writing-card p:not(.card-eyebrow) { margin: 0; color: var(--muted); font-size: .82rem; }
.writing-card .card-eyebrow { margin-bottom: 7px; }
.writing-card > a { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); font-weight: 900; }

.connect-card { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 94px); border-radius: 40px; background: var(--teal); color: #061b20; }
.connect-card .kicker { color: #0e5d56; }
.connect-card h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(2.7rem, 6vw, 5.6rem); letter-spacing: -.065em; line-height: .98; }
.connect-card h2 span { color: #0a5f59; }
.connect-card > p:not(.kicker) { position: relative; z-index: 2; max-width: 650px; margin: 28px 0 0; color: rgba(6,27,32,.75); font-size: 1.05rem; }
.connect-actions { position: relative; z-index: 2; display: flex; margin-top: 34px; flex-wrap: wrap; gap: 10px; }
.button-light { border-color: #061b20; background: #061b20; color: #eaffe9; }
.button-light:hover { background: #15343a; }
.copy-email { min-height: 52px; padding: 0 21px; cursor: pointer; border: 1px solid rgba(6,27,32,.35); border-radius: 999px; background: transparent; color: #061b20; font-size: .82rem; font-weight: 800; }
.connect-links { position: relative; z-index: 2; display: grid; margin-top: 66px; border-top: 1px solid rgba(6,27,32,.2); grid-template-columns: repeat(3, 1fr); }
.connect-links a { display: flex; padding: 20px 26px 0 0; flex-direction: column; border-right: 1px solid rgba(6,27,32,.2); }
.connect-links a:not(:first-child) { padding-left: 26px; }
.connect-links a:last-child { border: 0; }
.connect-links span { color: rgba(6,27,32,.55); font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.connect-links strong { margin-top: 4px; font-size: .83rem; }
.connect-orbit { position: absolute; right: -180px; bottom: -340px; width: 720px; height: 720px; border: 1px solid rgba(6,27,32,.18); border-radius: 50%; }
.connect-orbit::before, .connect-orbit::after { position: absolute; inset: 90px; content: ""; border: 1px solid rgba(6,27,32,.16); border-radius: 50%; }
.connect-orbit::after { inset: 190px; }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); }
.site-footer .shell { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.site-footer strong { color: var(--teal); font-size: 1.3rem; }
.site-footer p { margin: 3px 0 0; color: var(--quiet); font-size: .72rem; }
.site-footer a { color: var(--muted); font-size: .75rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes morph { 0%,100% { border-radius: 43% 57% 57% 43% / 55% 42% 58% 45%; transform: rotate(0); } 50% { border-radius: 56% 44% 39% 61% / 41% 61% 39% 59%; transform: rotate(9deg); } }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 72%, 100% { transform: translateX(120%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .hero { min-height: auto; padding-top: 150px; grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-visual { min-height: 590px; }
  .floating-build { left: 5%; }
  .floating-craft { right: 4%; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .linkedin-sync-card { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 130px 1fr; }
  .timeline::before { left: 64px; }
  .timeline-marker::after { left: 60px; }
  .timeline-tags { grid-column: 2; justify-content: flex-start; }
  .project-featured { grid-template-columns: 1fr; }
  .ideas-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 480px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1160px); }
  .nav-shell { min-height: 70px; }
  .brand-copy { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .site-nav { position: fixed; top: 70px; right: 14px; left: 14px; display: none; padding: 20px; align-items: stretch; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--canvas) 94%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 11px 8px; }
  .site-nav > a::after { display: none; }
  .site-nav .nav-connect { margin-top: 5px; text-align: center; }
  .theme-toggle { position: absolute; top: 16px; right: 72px; }
  .hero { padding-top: 125px; padding-bottom: 70px; gap: 28px; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 5.2rem); }
  .hero-intro { margin-top: 25px; }
  .hero-proof li { min-width: auto; padding-right: 15px; margin-right: 15px; }
  .hero-proof strong { font-size: 1.2rem; }
  .hero-proof span { font-size: .62rem; }
  .hero-visual { min-height: 520px; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 355px; height: 355px; }
  .profile-card { width: min(360px, 92vw); }
  .floating-build { top: 6%; left: -2%; }
  .floating-craft { right: -1%; bottom: 7%; }
  .section { padding-top: 92px; padding-bottom: 92px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 25px; }
  .principle { grid-template-columns: 40px 1fr; }
  .principle p { grid-column: 2; }
  .linkedin-sync-card { padding: 24px; margin-top: 52px; gap: 32px; }
  .linkedin-badge-stage { min-height: 340px; padding-inline: 12px; }
  .timeline::before { left: 5px; }
  .timeline-item { padding-left: 27px; grid-template-columns: 1fr; gap: 10px; }
  .timeline-marker::after { top: 5px; left: -27px; border-color: var(--canvas-soft); }
  .timeline-tags { grid-column: 1; margin-top: 12px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-featured { min-height: 0; grid-column: auto; }
  .project-visual { min-height: 300px; }
  .project-card { min-height: 430px; }
  .all-projects { align-items: flex-start; flex-direction: column; gap: 6px; }
  .connect-card { border-radius: 28px; }
  .connect-links { grid-template-columns: 1fr; }
  .connect-links a, .connect-links a:not(:first-child) { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(6,27,32,.2); }
  .connect-links a:last-child { border-bottom: 0; }
  .site-footer .shell { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .hero-actions .button { width: 100%; }
  .hero-proof { justify-content: space-between; }
  .hero-proof li { padding-right: 12px; margin-right: 12px; }
  .profile-topline { align-items: flex-start; flex-direction: column; gap: 4px; }
  .portrait-wrap { margin-top: 15px; }
  .floating-card { display: none; }
  .filters { width: 100%; }
  .filter { flex: 1; }
  .project-card { padding: 22px; }
  .research-card { min-height: 520px; }
}

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

:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
