:root {
  color-scheme: light;
  --ink: #29263a;
  --muted: #68647a;
  --paper: #f5f3ff;
  --white: #fffefd;
  --line: rgba(41, 38, 58, 0.11);
  --purple: #6c61ff;
  --purple-dark: #584dda;
  --lilac: #dfd9ff;
  --lime: #cbff8d;
  --peach: #ffb4a3;
  --pink: #ffc2dc;
  --mint: #9cebd8;
  --shadow: 0 24px 70px rgba(71, 59, 133, 0.12);
  --radius: clamp(24px, 2.2vw, 36px);
  --gutter: clamp(1.1rem, 3.5vw, 4.25rem);
  --font: "Manrope", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--paper); }
body {
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(203, 255, 141, 0.3), transparent 24rem),
    radial-gradient(circle at 90% 8%, rgba(223, 217, 255, 0.72), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; content: ""; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 0.8rem; left: 0.8rem; z-index: 200; padding: 0.7rem 1rem; transform: translateY(-160%); border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: 0.75rem; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; top: 0; left: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: 100%; min-height: 88px; padding: 0 var(--gutter); transition: background 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
}
.site-header.is-scrolled { border-bottom: 1px solid rgba(41,38,58,.07); background: rgba(245,243,255,.78); backdrop-filter: blur(20px); }
.brand { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.brand-orbit { width: 7px; height: 7px; border: 2px solid var(--purple); border-radius: 50%; }
.pill-nav { display: flex; justify-self: center; align-items: center; gap: 0.18rem; padding: 0.35rem; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(255,255,255,.64); box-shadow: 0 10px 38px rgba(71,59,133,.07); backdrop-filter: blur(18px); }
.nav-tab { padding: 0.67rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.76rem; font-weight: 600; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.nav-tab:hover { color: var(--ink); transform: translateY(-1px); }
.nav-tab.is-active { background: var(--ink); color: #fff; }
.header-tools { display: flex; justify-self: end; align-items: center; gap: 0.9rem; }
.sound-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 36px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--muted); font-size: .62rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.sound-toggle svg { width: 16px; height: 16px; }
.sound-toggle:hover { background: var(--lilac); color: var(--ink); }
.sound-toggle[aria-pressed="true"] { color: var(--purple-dark); background: rgba(223,217,255,.7); }
.sound-toggle[aria-pressed="false"] .sound-wave, .sound-toggle[aria-pressed="true"] .sound-mute { display: none; }
.note-audition { min-width: 36px; padding: .3rem .55rem; color: var(--purple-dark); font-size: 1.1rem; }
.note-audition span { display: inline !important; }
@media (max-width: 1000px) { .sound-toggle { padding-inline: .5rem; }.sound-toggle span { display: none; } }
@media (max-width: 760px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .sound-toggle { display: none; } }
.language-switch { display: flex; align-items: center; gap: 0.18rem; color: rgba(41,38,58,.38); font-size: 0.68rem; font-weight: 700; }
.language-button { padding: 0.4rem 0.18rem; border: 0; background: transparent; color: inherit; cursor: pointer; }
.language-button.is-active { color: var(--purple); }
.social-dot { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.55); text-decoration: none; font-size: 0.7rem; font-weight: 700; transition: transform 180ms ease, background 180ms ease; }
.social-dot:hover { transform: translateY(-2px); background: var(--lime); }

main { position: relative; z-index: 1; min-height: calc(100vh - 74px); }
.ambient-dots, .ambient-sculptures { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity 250ms ease; }
html[data-bubble-gesture="ready"] body { cursor: grab; }
html[data-bubble-gesture="dragging"], html[data-bubble-gesture="dragging"] * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
body.has-dialog .ambient-dots, body.has-dialog .ambient-sculptures { opacity: 0; }
@media (max-width: 760px) { .ambient-dots { opacity: .65; }.ambient-sculptures { display: none; } }
.view { width: 100%; min-height: calc(100vh - 74px); padding: 7rem var(--gutter) 2.5rem; animation: panel-in 480ms cubic-bezier(.2,.75,.2,1) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .82fr); gap: clamp(1rem, 2vw, 2rem); min-height: min(64vh, 680px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5.5vw, 6rem) 2vw clamp(2rem, 5vw, 5rem) 0.5vw; }
.kicker { margin: 0 0 1.8rem; color: var(--muted); font-size: clamp(.62rem, .72vw, .75rem); font-weight: 700; letter-spacing: .13em; }
.hero h1 { max-width: 1050px; margin: 0; font-size: clamp(3.6rem, 6vw, 8rem); font-weight: 500; line-height: .91; letter-spacing: -.077em; }
.hero h1 > span { display: block; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-intro { max-width: 730px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.25rem); letter-spacing: -.02em; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 48px; padding: .85rem 1.15rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; text-decoration: none; font-size: .78rem; font-weight: 700; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(41,38,58,.14); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark span:last-child { color: var(--lime); }
.button-light { border-color: var(--line); background: rgba(255,255,255,.65); color: var(--ink); }

.orbit-art { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, #e6e1ff 0%, #f5dcf0 54%, #fcefe8 100%); box-shadow: var(--shadow); isolation: isolate; }
.orbit-art::after { position: absolute; inset: 0; z-index: 8; content: ""; border: 1px solid rgba(255,255,255,.7); border-radius: inherit; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; transition: transform 600ms cubic-bezier(.2,.75,.2,1); }
.orb-purple { top: -12%; right: -17%; width: min(29vw, 410px); aspect-ratio: 1; background: linear-gradient(145deg, #776eff, #5f55e9); box-shadow: inset 18px 16px 40px rgba(255,255,255,.17), 0 34px 80px rgba(78,66,191,.2); }
.orb-lime { bottom: -10%; left: -15%; width: min(21vw, 295px); aspect-ratio: 1; background: var(--lime); box-shadow: inset -18px -18px 40px rgba(132,171,69,.13); }
.orb-peach { right: 8%; bottom: 11%; width: min(9vw, 125px); aspect-ratio: 1; background: linear-gradient(145deg, var(--pink), var(--peach)); box-shadow: 0 20px 40px rgba(201,99,127,.14); }
.orbit-line { position: absolute; border: 1px solid rgba(41,38,58,.13); border-radius: 50%; transform: rotate(-16deg); }
.line-one { right: -12%; bottom: -10%; width: 92%; aspect-ratio: 1.45; }
.line-two { right: -4%; bottom: 0; width: 68%; aspect-ratio: 1.3; border-color: rgba(108,97,255,.22); }
.orbit-words { position: absolute; top: 16%; left: 9%; z-index: 4; display: flex; flex-direction: column; font-size: clamp(3rem, 5.4vw, 6rem); font-weight: 500; line-height: .84; letter-spacing: -.08em; }
.orbit-words span:nth-child(2) { color: #fff; }
.orbit-words span:nth-child(3) { color: rgba(41,38,58,.54); }
.orbit-note { position: absolute; right: 5%; bottom: 4%; z-index: 6; display: grid; grid-template-columns: repeat(3, auto); align-items: center; justify-content: center; gap: .38rem; width: 145px; height: 90px; border: 1px solid rgba(255,255,255,.68); border-radius: 999px; background: rgba(255,255,255,.6); backdrop-filter: blur(12px); }
.orbit-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.orbit-note i:nth-child(2) { width: 14px; height: 14px; background: var(--purple); }
.orbit-note i:nth-child(3) { width: 22px; height: 22px; background: var(--lime); }
.orbit-note span { position: absolute; right: 0; bottom: 9px; left: 0; text-align: center; font-size: .55rem; font-weight: 700; letter-spacing: .05em; }

.home-dock { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: .8rem; }
.dock-card { position: relative; display: flex; min-height: 136px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 1.25rem 4rem 1.2rem 1.35rem; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); background: rgba(255,255,255,.7); color: var(--ink); cursor: pointer; text-align: left; box-shadow: 0 12px 38px rgba(71,59,133,.06); transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease; }
.dock-card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.dock-card::before { position: absolute; right: -28px; bottom: -38px; width: 105px; height: 105px; border-radius: 50%; content: ""; background: var(--lilac); opacity: .58; }
.dock-card:nth-child(2)::before { background: var(--lime); }
.dock-card:nth-child(3)::before { background: var(--peach); }
.dock-label { color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.dock-card strong { max-width: 29ch; font-size: clamp(.95rem, 1.25vw, 1.25rem); line-height: 1.2; letter-spacing: -.035em; }
.dock-arrow { position: absolute; top: 1rem; right: 1rem; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--paper); font-size: .75rem; }
.mini-status { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .68rem; }
.mini-status i { width: 7px; height: 7px; border-radius: 50%; background: #70c452; box-shadow: 0 0 0 5px rgba(112,196,82,.12); }

.page-heading, .project-heading { display: flex; max-width: 1500px; align-items: flex-end; justify-content: space-between; gap: 3rem; margin: 0 auto 2.5rem; padding: 1.5rem 0 0; }
.page-heading { display: grid; grid-template-columns: 1.3fr .65fr; }
.page-heading .kicker { grid-column: 1 / -1; margin-bottom: -.8rem; }
.page-heading h2, .project-heading h2, .contact-card h2 { margin: 0; font-size: clamp(2.8rem, 5.7vw, 6.8rem); font-weight: 500; line-height: .98; letter-spacing: -.068em; }
.page-heading > p:last-child { margin: 0 0 .7rem; color: var(--muted); font-size: 1rem; }
.skill-grid { display: grid; max-width: 1500px; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 0 auto; }
.skill-card { position: relative; min-height: 350px; padding: 1.25rem; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: 0 14px 40px rgba(71,59,133,.06); }
.skill-index { color: rgba(41,38,58,.36); font-size: .6rem; font-weight: 700; }
.skill-icon { display: grid; width: 74px; height: 74px; margin: 2rem 0 2.6rem; place-items: center; border-radius: 24px; background: var(--lime); font-size: 2rem; }
.skill-icon.lilac { background: var(--lilac); }.skill-icon.peach { background: var(--peach); }.skill-icon.mint { background: var(--mint); }
.skill-card h3 { margin: 0 0 .75rem; font-size: clamp(1.25rem, 1.75vw, 1.75rem); font-weight: 600; letter-spacing: -.045em; }
.skill-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.skill-pills, .project-stack, .product-facts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.skill-pills span, .project-stack span, .product-facts span { padding: .43rem .65rem; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .59rem; font-weight: 700; }
.experience { display: grid; max-width: 1500px; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 7vw, 8rem); margin: 1rem auto 0; padding: clamp(2rem, 4vw, 4rem); border-radius: var(--radius); background: var(--ink); color: #fff; }
.experience-intro h3 { max-width: 11ch; margin: 0; font-size: clamp(2rem, 3.4vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.experience .kicker { color: rgba(255,255,255,.48); }
.experience-list { margin: 0; padding: 0; list-style: none; }
.experience-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.13); }
.experience-list li > span { color: var(--lime); font-size: .62rem; font-weight: 700; }
.experience-list strong { font-size: 1rem; }
.experience-list p { margin: .3rem 0 0; color: rgba(255,255,255,.58); font-size: .77rem; }

.projects-view { padding-right: 0; }
.project-heading { padding-right: var(--gutter); }
.project-heading .kicker { margin-bottom: 1rem; }
.rail-controls { display: flex; gap: .45rem; }
.rail-controls button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.68); color: var(--ink); cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.rail-controls button:hover { transform: scale(1.05); background: var(--lime); }
.rail-controls button:last-child { background: var(--purple); color: #fff; }
.project-rail { display: flex; gap: 1rem; padding: .5rem var(--gutter) 1.35rem 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: rgba(108,97,255,.3) transparent; scrollbar-width: thin; cursor: grab; }
.project-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.project-rail::-webkit-scrollbar { height: 6px; }.project-rail::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(108,97,255,.28); }.project-rail::-webkit-scrollbar-track { background: transparent; }
.project-card { flex: 0 0 min(480px, 82vw); min-height: 610px; padding: 1rem; scroll-snap-align: start; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.project-reallink { display: grid; flex-basis: min(1240px, 91vw); grid-template: minmax(360px, 1fr) 185px / minmax(0, 1.23fr) minmax(300px, .77fr); gap: .9rem; }
.reallink-media { position: relative; min-width: 0; overflow: hidden; border-radius: calc(var(--radius) - 9px); background: #e5e0fa; }
.reallink-media video { width: 100%; height: 100%; object-fit: cover; }
.media-label { position: absolute; right: .8rem; bottom: .8rem; left: .8rem; display: flex; align-items: center; justify-content: space-between; padding: .7rem .8rem; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(28,26,40,.68); color: #fff; backdrop-filter: blur(12px); font-size: .58rem; letter-spacing: .04em; }
.media-label b { color: var(--lime); font-weight: 600; }
.reallink-logo { position: absolute; top: .8rem; left: .8rem; width: 43px; height: 43px; border: 5px solid rgba(255,255,255,.82); border-radius: 13px; box-shadow: 0 8px 20px rgba(24,32,31,.18); }
.reallink-copy { grid-column: 2; grid-row: 1 / 3; display: flex; min-width: 0; flex-direction: column; padding: 1rem .6rem .75rem .4rem; }
.project-meta { display: flex; justify-content: space-between; gap: .8rem; color: rgba(41,38,58,.43); font-size: .58rem; font-weight: 700; letter-spacing: .1em; }
.project-card h3 { margin: 1.2rem 0 .35rem; font-size: clamp(2.4rem, 4.2vw, 5rem); font-weight: 500; line-height: .94; letter-spacing: -.065em; }
.project-role { margin: 0 0 1.5rem; color: var(--purple-dark); font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.project-lead { margin: 0; color: var(--ink); font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.35; letter-spacing: -.035em; }
.reallink-copy > p:not(.project-role):not(.project-lead) { margin: 1.35rem 0 0; color: var(--muted); font-size: .82rem; }
.product-facts { margin: 1.2rem 0 0; }.product-facts span { background: var(--lilac); color: var(--purple-dark); }
.inline-link { align-self: flex-start; margin-top: auto; padding-top: 1.2rem; color: var(--ink); font-size: .75rem; font-weight: 700; text-decoration-color: var(--purple); text-underline-offset: 5px; }
.reallink-proof { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: .7rem; }
.reallink-proof figure { position: relative; margin: 0; overflow: hidden; border-radius: calc(var(--radius) - 12px); background: #1d2930; }
.reallink-proof img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mobile-shot img { object-fit: cover; object-position: top center; }
.reallink-proof figcaption { position: absolute; right: .55rem; bottom: .55rem; left: .55rem; padding: .48rem .6rem; border-radius: 999px; background: rgba(20,28,31,.75); color: #fff; font-size: .5rem; text-align: center; backdrop-filter: blur(8px); }
.project-enocta, .project-priceless { display: flex; flex-direction: column; padding: 1rem 1rem 1.35rem; }
.abstract-panel { position: relative; height: 290px; margin-bottom: 1.2rem; overflow: hidden; border-radius: calc(var(--radius) - 8px); }
.enocta-art { background: linear-gradient(145deg, #ded8ff, #efeaff); }.priceless-art { background: linear-gradient(145deg, #ffd6c8, #fff0ac); }
.abstract-panel > span { position: absolute; z-index: 3; top: 22%; left: 12%; font-size: 5.5rem; font-weight: 600; line-height: 1; letter-spacing: -.08em; }
.abstract-panel i { position: absolute; border-radius: 50%; }
.enocta-art i:nth-of-type(1) { top: -15%; right: -10%; width: 60%; aspect-ratio: 1; background: var(--purple); }
.enocta-art i:nth-of-type(2) { bottom: -16%; left: -9%; width: 44%; aspect-ratio: 1; background: var(--lime); }
.enocta-art i:nth-of-type(3) { right: 14%; bottom: 14%; width: 18%; aspect-ratio: 1; background: var(--peach); }
.priceless-art i:nth-of-type(1) { top: -18%; right: -13%; width: 58%; aspect-ratio: 1; background: #ff876b; }.priceless-art i:nth-of-type(2) { right: 8%; bottom: -18%; width: 45%; aspect-ratio: 1; background: #fff; }
.abstract-panel b { position: absolute; right: 1rem; bottom: .85rem; z-index: 3; color: rgba(41,38,58,.58); font-size: .58rem; font-weight: 600; }
.project-enocta h3, .project-priceless h3 { font-size: 2.2rem; }
.project-enocta > p:not(.project-role), .project-priceless > p:not(.project-role) { color: var(--muted); font-size: .84rem; }
.project-stack { margin-top: auto; }
.project-next { display: flex; flex-basis: min(420px, 78vw); flex-direction: column; justify-content: space-between; background: var(--ink); color: #fff; }
.next-orb { display: grid; width: 190px; height: 190px; margin: 1.5rem auto 3rem; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 5rem; font-weight: 300; box-shadow: 60px 30px 0 var(--purple); }
.project-next .project-meta { color: rgba(255,255,255,.42); }.project-next h3 { font-size: 2.8rem; }.project-next p { color: rgba(255,255,255,.57); font-size: .85rem; }
.rail-hint { margin: .4rem var(--gutter) 0 0; color: var(--muted); font-size: .63rem; text-align: right; }

.contact-view { display: grid; place-items: center; }
.contact-card { position: relative; width: min(1320px, 100%); min-height: min(680px, calc(100vh - 160px)); padding: clamp(2rem, 7vw, 7rem); overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: calc(var(--radius) + 8px); background: rgba(255,255,255,.72); box-shadow: var(--shadow); isolation: isolate; }
.contact-card .kicker, .contact-card h2, .contact-card > p:not(.kicker), .contact-card .contact-actions, .contact-meta { position: relative; z-index: 4; }
.contact-card h2 { max-width: 11ch; }
.contact-card > p:not(.kicker) { max-width: 600px; color: var(--muted); font-size: 1rem; }
.contact-meta { position: absolute; right: clamp(2rem, 5vw, 5rem); bottom: clamp(2rem, 4vw, 4rem); display: flex; gap: 1.5rem; color: var(--muted); font-size: .65rem; }
.contact-orbits { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; }
.contact-orbits i { position: absolute; border-radius: 50%; }.contact-orbits i:nth-child(1) { top: -12%; right: -15%; width: min(36vw, 500px); aspect-ratio: 1; background: var(--purple); }.contact-orbits i:nth-child(2) { right: 42%; bottom: -11%; width: min(23vw, 320px); aspect-ratio: 1; background: var(--lime); }.contact-orbits i:nth-child(3) { right: 7%; bottom: 10%; width: min(11vw, 145px); aspect-ratio: 1; background: var(--peach); }.contact-orbits b { position: absolute; right: 0; bottom: 4%; width: 90%; aspect-ratio: 1.4; border: 1px solid rgba(41,38,58,.16); border-radius: 50%; transform: rotate(-20deg); }

footer { position: relative; z-index: 1; display: flex; min-height: 74px; align-items: center; justify-content: space-between; padding: 0 var(--gutter); color: var(--muted); font-size: .62rem; }
.reveal { opacity: 0; transform: translateY(15px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.75,.2,1); }
.reveal[data-delay="1"] { transition-delay: 80ms; }.reveal[data-delay="2"] { transition-delay: 160ms; }.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .72fr; }.hero h1 { font-size: clamp(3.7rem, 6.2vw, 6.2rem); }.orbit-art { min-height: 480px; }
  .home-dock { grid-template-columns: 1fr 1fr; }.home-dock .dock-card:first-child { grid-column: 1 / -1; min-height: 115px; }
  .skill-grid { grid-template-columns: 1fr 1fr; }.skill-card { min-height: 310px; }.page-heading { grid-template-columns: 1fr; }.page-heading .kicker { grid-column: auto; }
  .project-reallink { grid-template: 390px auto auto / minmax(0, 1fr); }.reallink-copy { grid-column: 1; grid-row: 2; padding: .8rem .4rem; }.reallink-proof { grid-row: 3; min-height: 190px; }.inline-link { margin-top: 1rem; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; padding: 0 1rem; }.site-header.is-scrolled { background: rgba(245,243,255,.88); }
  .pill-nav { position: fixed; right: .75rem; bottom: .65rem; left: .75rem; z-index: 70; justify-content: space-between; padding: .38rem; background: rgba(255,255,255,.9); box-shadow: 0 14px 45px rgba(41,38,58,.2); }
  .nav-tab { flex: 1; padding: .7rem .45rem; font-size: .64rem; }.social-dot { display: none; }
  .view { min-height: calc(100vh - 70px); padding: 5.4rem 1rem 1.4rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }.hero-copy { padding: 1rem .2rem 1.2rem; }.hero h1 { font-size: clamp(3.4rem, 15vw, 5.6rem); }.hero-intro { margin-top: 1.4rem; font-size: .95rem; }.kicker { margin-bottom: 1.2rem; }
  .orbit-art { min-height: 360px; }.orb-purple { width: 68vw; }.orb-lime { width: 48vw; }.orb-peach { width: 22vw; }.orbit-words { font-size: clamp(3.4rem, 15vw, 5rem); }
  .home-dock { grid-template-columns: 1fr; }.home-dock .dock-card:first-child { grid-column: auto; }.dock-card { min-height: 120px; }
  .page-heading, .project-heading { display: block; margin-bottom: 1.6rem; padding-top: .5rem; }.page-heading h2, .project-heading h2, .contact-card h2 { font-size: clamp(2.7rem, 12vw, 4.5rem); }.page-heading > p:last-child { margin-top: 1rem; }
  .skill-grid { grid-template-columns: 1fr; }.skill-card { min-height: 285px; }.skill-icon { margin: 1.5rem 0 2rem; }
  .experience { grid-template-columns: 1fr; gap: 2rem; margin-top: .8rem; padding: 1.5rem; }.experience-list li { grid-template-columns: 84px 1fr; }
  .projects-view { padding-right: 0; }.project-heading { padding-right: 1rem; }.rail-controls { margin-top: 1rem; }.project-rail { padding-right: 1rem; }.project-card { min-height: auto; }.project-reallink { flex-basis: 92vw; grid-template-rows: 300px auto 170px; }.reallink-proof { grid-template-columns: 1fr 110px; }.reallink-copy { padding-bottom: 1rem; }.project-card h3 { font-size: 3.2rem; }.project-enocta, .project-priceless { flex-basis: 84vw; min-height: 620px; }.abstract-panel { height: 260px; }.project-next { flex-basis: 80vw; min-height: 560px; }.rail-hint { margin-right: 1rem; }
  .contact-card { min-height: 680px; padding: 2rem 1.25rem; }.contact-card h2 { max-width: 10ch; }.contact-orbits { top: auto; width: 100%; height: 45%; }.contact-orbits i:nth-child(1) { width: 68vw; }.contact-orbits i:nth-child(2) { width: 48vw; }.contact-orbits i:nth-child(3) { width: 24vw; }.contact-meta { right: 1.25rem; bottom: 1.25rem; left: 1.25rem; justify-content: space-between; }
  footer { display: none; }
}

/* Content extensions preserve the Soft Orbit palette and motion. */
.about-story { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 5vw, 5rem); max-width: 1500px; margin: 1rem auto 0; padding: clamp(1.6rem, 4vw, 4rem); border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius); background: rgba(255,255,255,.72); }
.story-heading h2 { max-width: 12ch; margin: 0; font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.06em; }
.story-copy p { margin: 0; color: var(--muted); font-size: clamp(.94rem, 1.13vw, 1.1rem); line-height: 1.75; }
.story-copy p + p { margin-top: 1.3rem; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1500px; gap: .8rem; margin: .8rem auto 0; }
.about-facts article { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); background: rgba(255,255,255,.72); }
.about-facts strong { margin-top: 1.3rem; font-size: 1rem; font-weight: 600; letter-spacing: -.03em; }
.about-facts p { margin: .5rem 0 0; color: var(--muted); font-size: .76rem; }
.experience-feed { display: grid; max-width: 1400px; gap: .85rem; margin: 0 auto; }
.career-feature { padding: clamp(1.4rem, 3.5vw, 3.5rem); border: 1px solid #fff; border-radius: var(--radius); background: linear-gradient(125deg, rgba(255,255,255,.94), rgba(232,227,255,.7)); box-shadow: 0 18px 55px rgba(71,59,133,.07); }
.career-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.career-kind { display: block; color: var(--purple-dark); font-size: .59rem; font-weight: 700; letter-spacing: .11em; }
.career-heading h3 { margin: .6rem 0 .5rem; font-size: clamp(2.8rem, 4.5vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.career-heading p { margin: .75rem 0 0; max-width: 550px; color: var(--muted); font-size: .95rem; }
.company-identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.company-name { perspective: 700px; }
.company-word { display: inline-block; white-space: nowrap; }
.company-letter { display: inline-block; transform-origin: 50% 75%; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .company-letter { transform: none !important; opacity: 1 !important; }
}
.company-logo { display: grid; flex: 0 0 auto; width: 64px; height: 64px; place-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.9); }
.company-logo img { width: 100%; height: 100%; object-fit: contain; }
.company-logo--wordmark { width: 104px; padding: 12px; }
.career-heading .company-identity { margin: .8rem 0 .5rem; }
.career-heading .company-logo { width: 80px; height: 80px; padding: 12px; border-radius: 22px; }
.career-heading .company-identity h3, .career-detail .company-identity h3 { min-width: 0; margin: 0; line-height: 1.15; }
.career-detail .company-identity { margin-bottom: .65rem; }
.career-date { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.career-heading > .career-date { padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px; }
.career-progression { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.career-progression li { display: flex; align-items: flex-start; gap: .65rem; }
.career-progression i { flex: 0 0 9px; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--purple); }
.career-progression li:first-child i { background: #65a632; box-shadow: 0 0 0 5px rgba(147,205,87,.14); }
.career-progression strong { display: block; font-size: .95rem; font-weight: 600; }
.career-progression span { display: block; margin-top: .3rem; color: var(--muted); font-size: .67rem; }
.contribution-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.contribution-list li { position: relative; padding-left: 1rem; }
.contribution-list li::before { position: absolute; top: .55rem; left: 0; width: 4px; height: 4px; content: ""; border-radius: 50%; background: var(--purple); }
.contribution-list strong { font-size: .85rem; font-weight: 700; }
.contribution-list p { margin: .4rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.career-feature > .project-stack { margin-top: 2rem; }
.career-row { display: grid; grid-template-columns: .3fr 1fr; gap: 2rem; padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); background: rgba(255,255,255,.72); }
.career-side .career-kind { margin-top: .7rem; }
.career-detail h3 { margin: -.2rem 0 .25rem; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.045em; }
.career-role { margin: 0 0 .9rem; color: var(--purple-dark); font-size: .75rem; font-weight: 600; }
.career-detail > p:not(.career-role), .earlier-experience > p { max-width: 830px; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.career-detail .project-stack { margin-top: .9rem; }
.earlier-experience { padding: 2rem clamp(1.5rem, 3vw, 3rem); border-radius: var(--radius); background: rgba(223,217,255,.45); }
.earlier-experience h3 { margin: .8rem 0 .2rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.035em; }
.earlier-experience .company-identity { margin: .8rem 0 .6rem; }
.earlier-experience .company-identity h3 { margin: 0; }
.earlier-experience > p:last-child { margin-top: .6rem; }
.tech-grid { display: grid; max-width: 1500px; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 0 auto; }
.tech-category { padding: clamp(1.25rem, 2.7vw, 2.7rem); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: 0 14px 40px rgba(71,59,133,.05); }
.tech-heading { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.75rem; }
.tech-heading > span { color: rgba(41,38,58,.4); font-size: .6rem; font-weight: 700; }
.tech-heading h3 { margin: 0; font-size: clamp(1.2rem, 1.65vw, 1.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.tech-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.tech-list li { display: flex; min-height: 66px; align-items: center; gap: .65rem; padding: .8rem .7rem; border-radius: 17px; background: rgba(245,243,255,.8); }
.tech-list img { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; }
.tech-list li > span:last-child { font-size: .73rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.concept-icon { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; color: var(--purple-dark); font-size: 1.15rem; font-weight: 500; }
.concept-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.concept-list li { padding: .65rem .85rem; border: 1px solid rgba(108,97,255,.12); border-radius: 999px; background: rgba(223,217,255,.45); color: #514799; font-size: .73rem; }
.category-note { max-width: 45ch; margin: 1.4rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.voice-category { background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(203,255,141,.2)); }
.project-heading { max-width: none; }
.project-heading h2 { max-width: 16ch; }
.project-rail { align-items: stretch; }
.project-card.project-feature { display: grid; flex: 0 0 min(1210px,91vw); grid-template: auto / minmax(0,1.08fr) minmax(0,1fr); gap: clamp(1rem, 2.4vw, 2.5rem); padding: 1rem; }
.project-visuals { display: flex; min-width: 0; flex-direction: column; gap: .8rem; }
.project-reallink .reallink-media { height: 320px; flex: 0 0 auto; }
.project-board-dreams .board-video { height: 320px; flex: 0 0 auto; background: #f6eff4; }
.reallink-media video { object-fit: cover; }
.video-toggle { position: absolute; right: .8rem; bottom: .8rem; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.75); color: var(--ink); cursor: pointer; backdrop-filter: blur(8px); font-size: .65rem; }
.product-gallery { display: grid; min-width: 0; gap: .7rem; padding: .7rem; border-radius: calc(var(--radius) - 9px); background: #e9e5f5; }
.reallink-gallery { grid-template-columns: minmax(0,1fr) minmax(110px,.45fr); min-height: 260px; flex: 1; }
.board-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 260px; flex: 1; background: linear-gradient(145deg, #f6eff4, #fbf7f0); }
.board-gallery .screenshot-button { background: #fbf7f0; }
.board-gallery .screenshot-button img { object-fit: cover; }
.screenshot-button { position: relative; display: grid; min-width: 0; padding: 0; overflow: hidden; place-items: center; border: 0; border-radius: 17px; background: #fff; cursor: zoom-in; }
.screenshot-button img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; transition: transform 240ms ease; }
.screenshot-button:hover img { transform: scale(1.025); }
.screenshot-button > span:last-child { position: absolute; right: .6rem; bottom: .6rem; display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); font-size: .65rem; }
.reallink-gallery .phone-shot img { max-height: 300px; }
.phone-shot { background: radial-gradient(circle at 50% 35%, #fff 0, #f0edf6 62%, #ddd7e9 100%); }
.phone-simulator { display: flex; width: min(142px, calc(100% - 14px)); flex-direction: column; padding: 6px; border: 1px solid rgba(73,65,82,.18); border-radius: 20px; background: linear-gradient(145deg, #f0edf2, #cbc6cf); box-shadow: 0 14px 28px rgba(38,31,51,.2), inset 0 1px rgba(255,255,255,.95); }
.simulator-toolbar { display: none; min-width: 0; align-items: center; gap: 3px; height: 18px; padding: 0 3px; color: #5c5666; font-size: 5px; line-height: 1; }
.phone-simulator .simulator-toolbar, .image-dialog.is-phone-simulator .simulator-toolbar { display: flex; }
.simulator-toolbar i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: #a49daa; }
.simulator-toolbar i:first-child { background: #ff746c; }
.simulator-toolbar i:nth-child(2) { background: #f4bf4f; }
.simulator-toolbar i:nth-child(3) { background: #63c76a; }
.simulator-toolbar b { min-width: 0; margin-left: auto; overflow: hidden; font-weight: 700; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.phone-simulator .simulator-device, .image-dialog.is-phone-simulator .simulator-device { position: relative; border: 1px solid #7f7984; background: linear-gradient(135deg, #a9a3ad 0, #49444d 12%, #17151a 32%, #09080b 100%); }
.phone-simulator .simulator-device { padding: 5px; border-radius: 29px; box-shadow: 0 9px 18px rgba(17,13,22,.28), inset 0 0 0 1px rgba(255,255,255,.18); }
.phone-simulator .simulator-device::before, .phone-simulator .simulator-device::after, .image-dialog.is-phone-simulator .simulator-device::before, .image-dialog.is-phone-simulator .simulator-device::after { position: absolute; z-index: 5; background: linear-gradient(180deg, #99939d, #46414a); content: ""; }
.phone-simulator .simulator-device::before { top: 20%; left: -3px; width: 3px; height: 13px; border-radius: 2px 0 0 2px; box-shadow: 0 19px 0 #625c66, 0 38px 0 #625c66; }
.phone-simulator .simulator-device::after { top: 30%; right: -3px; width: 3px; height: 34px; border-radius: 0 2px 2px 0; }
.simulated-screen { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 19.5; border-radius: 24px; background: #08080a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.phone-shot .simulated-screen img, .image-dialog.is-phone-simulator [data-dialog-image] { position: absolute; top: 0; left: 50%; display: block; width: 108%; height: auto; max-height: none; object-fit: initial; transform: translate(-50%, -6.111%); transform-origin: center top; }
.phone-shot:hover .simulated-screen img { transform: translate(-50%, -6.111%) scale(1.012); }
.iphone-island, .iphone-home-indicator { display: none; position: absolute; left: 50%; z-index: 4; pointer-events: none; transform: translateX(-50%); }
.phone-simulator .iphone-island, .phone-simulator .iphone-home-indicator, .image-dialog.is-phone-simulator .iphone-island, .image-dialog.is-phone-simulator .iphone-home-indicator { display: block; }
.iphone-island { top: 1.35%; width: 35%; height: 3.2%; max-height: 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: #050506; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.iphone-island::after { position: absolute; top: 30%; right: 9%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #243758, #050609 65%); content: ""; }
.iphone-home-indicator { bottom: 1.1%; width: 34%; height: .75%; min-height: 2px; border-radius: 999px; background: rgba(255,255,255,.88); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.price-redaction { display: none; position: absolute; z-index: 2; top: 62.5%; left: 8%; width: 36%; height: 4.5%; overflow: hidden; border: 1px solid rgba(134,124,132,.18); border-radius: 5px; background: rgba(244,241,242,.78); box-shadow: 0 1px 5px rgba(38,31,51,.12); backdrop-filter: blur(12px); }
.phone-simulator .price-redaction, .image-dialog.is-phone-simulator .price-redaction { display: block; }
.price-redaction::after { position: absolute; inset: 30% 7%; border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(126,112,120,.65) 0 7px, rgba(183,172,177,.72) 7px 12px, rgba(112,101,108,.58) 12px 18px); content: ""; filter: blur(2px); }
.web-shot { background: radial-gradient(circle at 50% 42%, #fff 0, #f0edf6 64%, #ddd7e9 100%); }
.macbook-preview { display: flex; width: calc(100% - 24px); max-width: 560px; flex-direction: column; align-items: center; }
.macbook-lid { position: relative; display: block; width: 100%; padding: 7px 7px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px 14px 6px 6px; background: #19171d; box-shadow: 0 13px 28px rgba(35,29,46,.25), inset 0 0 0 1px rgba(0,0,0,.45); }
.macbook-lid::before { position: absolute; z-index: 2; top: 2px; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: #494451; box-shadow: 0 0 0 1px rgba(0,0,0,.5); content: ""; transform: translateX(-50%); }
.macbook-screen { position: relative; display: block; overflow: hidden; aspect-ratio: 1800 / 976; border-radius: 4px; background: #08070c; }
.web-shot .macbook-screen img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; transform: none; transform-origin: center; }
.web-shot:hover .macbook-screen img { transform: scale(1.01); }
.macbook-base, .dialog-macbook-base { position: relative; display: block; width: 106%; height: 10px; border-radius: 1px 1px 12px 12px; background: linear-gradient(180deg, #f2f0f4 0, #aaa5ae 48%, #77727c 70%, #d7d3da 100%); box-shadow: 0 5px 8px rgba(35,29,46,.2); clip-path: polygon(3% 0, 97% 0, 100% 62%, 96% 100%, 4% 100%, 0 62%); }
.macbook-base i, .dialog-macbook-base i { position: absolute; top: 0; left: 42%; width: 16%; height: 3px; border-radius: 0 0 6px 6px; background: #8e8993; }
.desktop-redaction { display: none; position: absolute; z-index: 3; overflow: hidden; border: 1px solid rgba(156,148,164,.2); border-radius: 4px; background: rgba(27,25,34,.76); box-shadow: 0 1px 5px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.macbook-screen .desktop-redaction, .image-dialog.is-desktop-mac .desktop-redaction { display: block; }
.desktop-redaction::after { position: absolute; inset: 22% 5%; border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(104,98,111,.9) 0 8px, rgba(54,50,61,.94) 8px 14px, rgba(135,127,142,.8) 14px 21px); content: ""; filter: blur(2px); }
.desktop-redaction-email { top: 1.2%; left: 81.1%; width: 15.7%; height: 4.8%; }
.desktop-redaction-price { top: 80.1%; height: 4.5%; }
.desktop-redaction-price-one { left: 19.5%; width: 9.4%; }
.desktop-redaction-price-two { left: 46%; width: 9.8%; }
.desktop-redaction-price-three { left: 72.8%; width: 9.4%; }
.project-detail { display: flex; min-width: 0; flex-direction: column; padding: 1rem 1rem 1rem 0; }
.project-detail h3 { margin-top: 1rem; font-size: clamp(2.6rem, 4vw, 4.5rem); }
.project-detail .project-role { margin: .35rem 0 1.25rem; font-size: .62rem; letter-spacing: .035em; }
.project-detail .project-lead { margin: 0; font-size: clamp(1rem,1.35vw,1.28rem); line-height: 1.45; }
.project-detail h4 { margin: 1.3rem 0 .45rem; color: var(--ink); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-detail h4 + p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.project-features { margin: 0; padding-left: 1rem; color: var(--muted); font-size: .77rem; line-height: 1.75; }
.project-features li { padding-left: .15rem; }.project-features li::marker { color: var(--purple); }
.project-detail .project-stack { margin-top: 0; }
.project-detail .project-stack span { font-size: .55rem; }
.project-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1.5rem; }
.project-links .button { min-height: 42px; gap: .7rem; padding: .65rem .9rem; font-size: .65rem; }
.priceless-cover { height: 320px; background: #e4f2e6; }
.priceless-cover img { width: 100%; max-height: 300px; padding: 1rem; }
.priceless-gallery { grid-template-columns: 1fr 1fr; flex: 1; background: #e4f2e6; }
.priceless-gallery .screenshot-button { background: rgba(255,255,255,.6); }
.priceless-gallery img { width: auto; max-width: 100%; max-height: 300px; padding: .8rem; }
.contact-email { position: relative; z-index: 4; display: inline-block; margin-top: 1.3rem; color: var(--muted); font-size: .78rem; text-underline-offset: 4px; }
.image-dialog { position: fixed; width: min(94vw,1550px); max-width: 94vw; max-height: 94svh; margin: auto; padding: clamp(.8rem,2vw,2rem); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: var(--paper); box-shadow: 0 25px 100px rgba(20,15,45,.35); }
.image-dialog::backdrop { background: rgba(32,26,50,.65); backdrop-filter: blur(8px); }
.image-dialog[open] { display: flex; flex-direction: column; align-items: center; }
.dialog-media { display: flex; width: 100%; justify-content: center; }
.dialog-macbook-base { display: none; }
.image-dialog:not(.is-phone-simulator):not(.is-desktop-mac) .dialog-media > .simulator-device, .image-dialog:not(.is-phone-simulator):not(.is-desktop-mac) .dialog-media > .simulator-device > .simulated-screen { display: contents; }
.image-dialog:not(.is-phone-simulator):not(.is-desktop-mac) [data-dialog-image] { width: 100%; max-height: 80svh; border-radius: 10px; object-fit: contain; }
.image-dialog.is-phone-simulator { width: min(92vw, 560px); }
.image-dialog.is-phone-simulator .dialog-media { width: min(390px, 84vw, 38svh); flex-direction: column; padding: 9px; border: 1px solid rgba(73,65,82,.2); border-radius: 30px; background: linear-gradient(145deg, #f0edf2, #c9c4ce); box-shadow: 0 22px 55px rgba(19,15,27,.28), inset 0 1px rgba(255,255,255,.95); }
.image-dialog.is-phone-simulator .simulator-toolbar { height: 28px; padding-inline: 6px; font-size: 8px; }
.image-dialog.is-phone-simulator .simulator-toolbar i { width: 7px; height: 7px; }
.image-dialog.is-phone-simulator .simulator-device { width: 100%; padding: 10px; border-radius: 58px; box-shadow: 0 20px 42px rgba(17,13,22,.34), inset 0 0 0 2px rgba(255,255,255,.16); }
.image-dialog.is-phone-simulator .simulator-device::before { top: 20%; left: -5px; width: 5px; height: 30px; border-radius: 3px 0 0 3px; box-shadow: 0 43px 0 #625c66, 0 86px 0 #625c66; }
.image-dialog.is-phone-simulator .simulator-device::after { top: 30%; right: -5px; width: 5px; height: 72px; border-radius: 0 3px 3px 0; }
.image-dialog.is-phone-simulator .simulated-screen { border-radius: 48px; }
.image-dialog.is-desktop-mac { width: min(94vw, 1280px); }
.image-dialog.is-desktop-mac .dialog-media { width: min(100%, 1100px, calc(76svh * 1.844)); flex-direction: column; align-items: center; }
.image-dialog.is-desktop-mac .simulator-toolbar { display: none; }
.image-dialog.is-desktop-mac .simulator-device { position: relative; width: 100%; padding: clamp(7px, 1vw, 12px) clamp(7px, 1vw, 12px) clamp(9px, 1.2vw, 15px); border: 1px solid rgba(255,255,255,.16); border-radius: 22px 22px 8px 8px; background: #19171d; box-shadow: 0 24px 55px rgba(19,15,27,.32), inset 0 0 0 1px rgba(0,0,0,.5); }
.image-dialog.is-desktop-mac .simulator-device::before { position: absolute; z-index: 3; top: 3px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #494451; box-shadow: 0 0 0 1px rgba(0,0,0,.6); content: ""; transform: translateX(-50%); }
.image-dialog.is-desktop-mac .simulated-screen { aspect-ratio: 1800 / 976; border-radius: 6px; }
.image-dialog.is-desktop-mac [data-dialog-image] { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; transform: none; }
.image-dialog.is-desktop-mac .dialog-macbook-base { display: block; height: clamp(9px, 1.2vw, 16px); }
.image-dialog p { margin: .7rem 0 0; color: var(--muted); font-size: .75rem; }
.dialog-close { position: absolute; top: .5rem; right: .5rem; z-index: 3; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; font-size: 1.6rem; }
body.has-dialog { overflow: hidden; }
@media (max-width: 1150px) and (min-width: 761px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 1rem; }.nav-tab { padding: .65rem .75rem; font-size: .68rem; }.brand { font-size: 1rem; }.header-tools { gap: .5rem; }
  .tech-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .project-card.project-feature { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; }
  .project-visuals { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }.project-reallink .reallink-media, .project-board-dreams .board-video, .priceless-cover { height: 290px; }
  .product-gallery { min-height: 0; height: 290px; }.product-gallery img { max-height: 260px; }.reallink-gallery { grid-template-columns: 1fr .5fr; }
  .project-detail { padding: 1rem; }.project-detail h3 { font-size: 3.2rem; }.project-detail .project-lead { max-width: 55ch; }.project-links { padding-top: 1.3rem; }
}
@media (max-width: 760px) {
  .brand { font-size: 1.05rem; }.pill-nav { width: calc(100% - 1.5rem); justify-self: stretch; bottom: calc(.65rem + env(safe-area-inset-bottom, 0px)); }.nav-tab { min-height: 42px; font-size: clamp(.56rem, 2.65vw, .69rem); padding: .72rem .25rem; }.header-tools { gap: .4rem; }
  .company-identity { gap: .8rem; }.company-logo { width: 54px; height: 54px; padding: 9px; border-radius: 15px; }.company-logo--wordmark { width: 82px; padding: 10px; }.career-heading .company-logo { width: 64px; height: 64px; padding: 10px; border-radius: 18px; }
  .hero h1 { font-size: clamp(3rem, 12.6vw, 5.5rem); }.hero-intro { font-size: .95rem; }.hero-actions { margin-top: 1.5rem; }
  .page-heading .kicker { margin-bottom: 1.2rem; }
  .about-story { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 1rem; }.story-heading h2 { max-width: 16ch; }.story-copy p { font-size: .9rem; }
  .about-facts { grid-template-columns: 1fr; }.about-facts article { padding: 1.4rem; }.about-facts strong { margin-top: 1rem; }
  .career-heading { flex-direction: column; }.career-heading > .career-date { font-size: .65rem; }.career-progression { grid-template-columns: 1fr; gap: 1.1rem; }.career-progression li { position: relative; }.career-progression li:not(:last-child)::after { position: absolute; top: 22px; bottom: -15px; left: 4px; width: 1px; content: ""; background: rgba(108,97,255,.2); }
  .contribution-list { grid-template-columns: 1fr; gap: 1.3rem; }.career-row { grid-template-columns: 1fr; gap: 1.2rem; }.career-side { display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; }.career-side .career-kind { margin: 0; }.career-detail h3 { line-height: 1.25; }
  .tech-grid { grid-template-columns: 1fr; }.tech-category { padding: 1.4rem; }.tech-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.tech-heading { margin-bottom: 1.2rem; }.tech-list li { min-height: 64px; }.tech-list li > span:last-child { font-size: .72rem; }
  .project-card.project-feature { flex-basis: 92vw; padding: .75rem; gap: .5rem; }.project-visuals { display: flex; }.project-reallink .reallink-media, .project-board-dreams .board-video, .priceless-cover { height: 240px; }.product-gallery { height: 240px; min-height: 240px; }.product-gallery img { max-height: 215px; }.reallink-gallery .phone-shot img { max-height: 215px; }.priceless-cover img { max-height: 220px; }.project-detail { padding: 1rem .5rem; }.project-detail h3 { font-size: 3rem; }.project-detail .project-lead { font-size: 1.05rem; }.project-detail h4 + p, .project-features { font-size: .8rem; }.project-heading h2 { max-width: 14ch; font-size: 2.8rem; }
  .rail-hint { font-size: .61rem; text-align: left; }.contact-email { font-size: .7rem; }
}
@media (max-width: 360px) { .nav-tab { font-size: .56rem; }.brand { font-size: .98rem; }.tech-category { padding: 1rem; }.tech-list li { padding: .7rem .5rem; gap: .5rem; } }
/* A personal opening: expressive type and a single-ink portrait. */
.hero .personal-title { font-family: "Fraunces", Georgia, serif; font-size: clamp(4.25rem, 7.4vw, 8.5rem); font-weight: 400; font-optical-sizing: auto; font-variation-settings: "SOFT" 60, "WONK" 1; line-height: 1.02; letter-spacing: -.055em; }
.hero .personal-title > em { position: relative; display: block; width: max-content; max-width: 100%; padding: 0 .07em .1em 0; color: var(--purple); font-size: 1.1em; font-style: italic; font-weight: 500; line-height: 1.02; }
.name-underline { position: absolute; right: 0; bottom: -.015em; left: 0; width: 100%; height: .12em; overflow: visible; color: #b4aaf7; transform: rotate(-2deg); }
.hero-handnote { align-self: flex-start; margin: 1.1rem 0 0 .2rem; color: #766c91; font-family: "Caveat", cursive; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.1; transform: rotate(-3deg); }
.hero:has(.personal-title) .hero-intro { margin-top: 1.6rem; max-width: 650px; }
.portrait-art { min-height: 560px; background: #efded4; }
.portrait-art .ink-portrait { position: absolute; top: 54%; left: 50%; z-index: 2; width: 90%; max-width: 450px; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: contain; transform: translate(-50%, -50%); }
.portrait-art .orb { z-index: 1; pointer-events: none; animation: portrait-orbit-float 11s ease-in-out infinite; will-change: transform, translate; }
.portrait-art .orb-purple { top: -8%; right: -13%; width: 46%; opacity: .8; animation-delay: -2s; }
.portrait-art .orb-lime { bottom: -6%; left: -11%; width: 36%; opacity: .85; animation-duration: 9s; animation-delay: -5s; }
.portrait-art .orb-peach { right: 5%; bottom: 12%; width: 19%; animation-duration: 7s; animation-delay: -3s; }
.portrait-art .line-one { z-index: 0; right: -30%; bottom: 8%; width: 150%; border-color: rgba(32,63,186,.12); }
@keyframes portrait-orbit-float {
  0%, 100% { translate: 0 0; }
  50% { translate: -12px 18px; }
}
.portrait-scribble { position: absolute; top: 6%; left: 7%; z-index: 4; color: #203fba; font: 500 1.7rem/.9 "Caveat", cursive; transform: rotate(-9deg); }
.portrait-spark { position: absolute; top: 7%; right: 9%; z-index: 4; color: #203fba; font-size: 2.2rem; font-weight: 400; transform: rotate(12deg); }
.loop-media { position: relative; flex: 0 0 auto; min-width: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) - 9px); background: #e5e0fa; }
/* A 3× tall player keeps the 16:9 picture centered and pushes YouTube's title and control bars out of view. */
.loop-media iframe { position: absolute; top: -100%; left: 0; width: 100%; height: 300%; border: 0; pointer-events: none; }
.loop-poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: opacity 400ms ease; }
.loop-media.is-playing .loop-poster { opacity: 0; }
.loop-media .video-toggle { z-index: 2; }
.project-enocta-ai .enocta-ai-shot { min-height: 220px; flex: 1; }
.project-enocta-ai .enocta-ai-shot img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.project-sinanca .enocta-ai-shot { background: #f4f4f4; }
.project-sinanca .enocta-ai-shot img { object-fit: contain; }
.project-acar .enocta-ai-shot { background: #191919; }
.project-bowl .bowl-cover { height: 320px; background: #ede2d6; }
.project-bowl .bowl-welcome { min-height: 260px; flex: 1; background: #ede2d6; }
.project-bowl .screenshot-button img { width: 100%; max-height: none; height: 100%; object-fit: contain; }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero .personal-title { font-size: clamp(4rem, 7.5vw, 6rem); }
  .portrait-art { min-height: 540px; }
}
@media (max-width: 980px) {
  .project-bowl .bowl-cover, .project-bowl .bowl-welcome { height: 290px; min-height: 0; }
  .loop-media { aspect-ratio: auto; height: 290px; }.project-enocta-ai .enocta-ai-shot { height: 290px; min-height: 0; }
}
@media (max-width: 760px) {
  .hero .personal-title { font-size: clamp(3.5rem, 15.5vw, 5.2rem); line-height: 1.04; letter-spacing: -.045em; }
  .hero-copy:has(.personal-title) { padding-bottom: 1.1rem; }
  .hero-handnote { margin-top: 1.25rem; font-size: 1.65rem; }
  .portrait-art { min-height: 0; aspect-ratio: 4 / 5; }
  .portrait-scribble { font-size: 1.55rem; }
  .project-bowl .bowl-cover, .project-bowl .bowl-welcome { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .loop-media { height: auto; aspect-ratio: 16 / 9; }.project-enocta-ai .enocta-ai-shot { height: auto; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .portrait-art .orb { animation: none; }
}

/* Contact opens straight into the same pinned-portrait desk, without the home transition. */
.contact-card--studio { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); align-items: center; gap: 1.6rem; min-height: 690px; padding: clamp(2rem, 4.5vw, 4.5rem); background: #fbfaff; }
.contact-copy { position: relative; z-index: 2; min-width: 0; padding-block: .5rem 3rem; }
.contact-copy > p:not(.kicker) { max-width: 40ch; color: var(--muted); font-size: .95rem; }
.contact-card--studio h2 { font-size: clamp(2.9rem, 4.7vw, 5.6rem); max-width: 12ch; }
.contact-card--studio .contact-meta { right: clamp(2rem, 4.5vw, 4.5rem); bottom: 1.8rem; left: clamp(2rem, 4.5vw, 4.5rem); justify-content: space-between; }
.contact-studio { position: relative; min-width: 0; padding-bottom: 2rem; z-index: 1; }
.studio-stage { --studio-height: clamp(340px, 34vw, 520px); position: relative; width: 100%; height: var(--studio-height); }
.studio-stage canvas, .studio-still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-stage canvas { cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 150ms ease; }
.studio-stage canvas[data-dragging] { cursor: grabbing; user-select: none; }
.studio-still { object-fit: contain; visibility: hidden; }
.studio-static-map { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(100%, calc(var(--studio-height) * 10 / 9)); aspect-ratio: 1000 / 900; transform: translate(-50%, -50%); pointer-events: none; visibility: hidden; }
.studio-static-pinboard { position: absolute; top: 1%; left: 32%; width: 45%; height: 23%; border: 5px solid #d0b59e; border-radius: 10px; background: #c6bdcf; transform: skewY(7deg) rotate(-3deg); }
.studio-pinned-print { position: absolute; top: 9%; left: 12%; width: 44%; aspect-ratio: 1; padding: 3px 3px 7px; background: #fff8ee; transform: rotate(-4deg); box-shadow: 0 2px 4px rgba(57, 54, 78, .12); }
.studio-pinned-print img { width: 100%; height: auto; object-fit: contain; }
.studio-pinned-print::after { position: absolute; top: 1px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: #5364a5; content: ""; }
.studio-board-note { position: absolute; top: 19%; right: 9%; width: 24%; height: 43%; background: #dce8bb; transform: rotate(5deg); }
.studio-board-note::after { position: absolute; right: 8%; bottom: -42%; width: 100%; height: 45%; background: #e7b4a2; content: ""; transform: rotate(-8deg); }
.studio-hotspot { position: absolute; z-index: 2; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.studio-hotspot { pointer-events: auto; }
.studio-static-camera { left: 54%; top: 43%; width: 16%; height: 16%; }
.studio-static-guitar { left: 14%; top: 31%; width: 21%; height: 49%; }
.studio-static-lamp { left: 31%; top: 23%; width: 12%; height: 22%; }
.studio-static-plant { left: 71%; top: 29%; width: 13%; height: 21%; }
[data-studio-state="ready"] .studio-static-map { display: none; }
[data-studio-state="ready"] .studio-stage canvas { opacity: 1; }
[data-studio-state="ready"] .studio-still { visibility: hidden; }
[data-studio-state="static"] .studio-still, [data-studio-state="failed"] .studio-still,
[data-studio-state="static"] .studio-static-map, [data-studio-state="failed"] .studio-static-map { visibility: visible; }
.studio-loading { display: none; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px; border: 1px solid var(--line); border-top-color: var(--purple); border-radius: 50%; animation: studio-loading 1s linear infinite; }
[data-studio-state="pending"] .studio-loading { display: block; }
@keyframes studio-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .contact-studio .studio-motion-control { display: none; }
  .studio-loading { animation: none; }
}
.studio-handnote { display: grid; align-content: center; min-height: 7.5rem; max-width: 48ch; margin: -1rem auto .85rem; padding: .5rem .75rem; text-align: center; text-wrap: pretty; font: 500 1.55rem/1.3 "Caveat", cursive; color: #76698e; transform: rotate(-3deg); }
.studio-handnote[data-personal-note] { font-size: 1.3rem; line-height: 1.4; transform: rotate(-1deg); }
.studio-keyboard-controls { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.studio-keyboard-controls:focus-within { position: relative; display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: .45rem; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.studio-control { display: inline-flex; gap: .4rem; align-items: center; justify-content: center; min-height: 40px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); color: var(--muted); font-size: .69rem; cursor: pointer; transition: background 180ms ease; }
.studio-control:hover { color: var(--ink); background: var(--lilac); }
.studio-control[aria-pressed="true"] { background: var(--lilac); color: var(--purple-dark); }
.contact-studio:not([data-studio-state="ready"]) .studio-motion-control { display: none; }
.studio-status { min-height: 1.5em; margin: .8rem 0 0; color: var(--purple-dark); text-align: center; font-size: .7rem; }
.studio-status.sr-only { min-height: 0; margin: 0; }
.site-header [data-bubble-sound].is-studio-sound { display: inline-flex; min-width: 44px; min-height: 44px; }
@media (min-width: 1081px) and (max-width: 1320px) { .nav-tab { padding-inline: .75rem; font-size: .7rem; }.header-tools { gap: .5rem; }.brand { font-size: 1rem; } }
@media (min-width: 761px) and (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; row-gap: .5rem; min-height: 120px; padding-block: .7rem; }
  .pill-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .view { padding-top: 9.2rem; }
  .contact-card--studio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .4rem; padding: 2rem; }
  .contact-card--studio h2 { font-size: 3.1rem; }
  .studio-stage { --studio-height: 350px; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px)); }
  .pill-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .15rem; border-radius: 26px; }
  .nav-tab { min-width: 0; min-height: 44px; padding: .65rem .2rem; font-size: .69rem; white-space: nowrap; }
  .contact-card--studio { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 2rem 1.25rem 4.8rem; }
  .contact-copy { width: 100%; padding-bottom: .8rem; }
  .contact-card--studio h2 { max-width: 12ch; font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .contact-card--studio .contact-meta { left: 1.25rem; right: 1.25rem; bottom: 1.5rem; }
  .contact-studio { width: 100%; padding-bottom: 0; }
  .studio-stage { --studio-height: 340px; }
  .studio-handnote { font-size: 1.45rem; }
  .studio-control { min-height: 44px; font-size: .7rem; }
}
