:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #f5f1e8;
  --muted: #9c968c;
  --soft: rgba(245, 241, 232, 0.76);
  --dim: #838383;
  --accent: #ff5a1f;
  --panel: rgba(255, 255, 255, 0.06);
  --glass: rgba(0, 0, 0, 0.5);
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Urbanist", var(--font-ui);
  --font-body: "Karla", var(--font-ui);
  --coin-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13.3' fill='%23525a61' opacity='.62'/%3E%3Ccircle cx='14' cy='14' r='12.1' fill='%23d7dadd' stroke='%23fbfdff' stroke-width='1.1'/%3E%3Cpath d='M14 2.6a11.6 11.6 0 0 1 11.5 10.6c-5-1.8-9.3-.7-13.5 2.1C13 10.5 12.3 6.5 14 2.6Z' fill='%23101011' opacity='.60'/%3E%3Ccircle cx='14' cy='14' r='12.8' fill='none' stroke='%23828a91' stroke-width='1.45' stroke-dasharray='1 1.8'/%3E%3Ccircle cx='14' cy='14' r='10.1' fill='none' stroke='%23ffffff' stroke-width='.8' opacity='.7'/%3E%3Ccircle cx='14' cy='14' r='7.8' fill='none' stroke='%235e666d' stroke-width='.65' opacity='.42'/%3E%3Cpath d='M6.8 20.5c2.1-1.1 4-.2 5.8-.8 2-.6 3.6-2 6-.9 1.4.6 2.2.9 3.6.1' fill='none' stroke='%235f676f' stroke-width='.85' opacity='.55'/%3E%3Cpath d='M7 22.3c2.6-1.3 4.5.5 7.2-.6 2.2-.9 3.8-.6 6.8.1' fill='none' stroke='%23ffffff' stroke-width='.55' opacity='.55'/%3E%3Cpath d='M8.7 8.8c1.4-1.2 3.4-1.9 5.4-2.1M6.5 11.2h5.2M6.2 14.1h4.7' stroke='%23ffffff' stroke-width='.6' stroke-linecap='round' opacity='.42'/%3E%3Cpath d='M15.9 7.2c1.2.3 2.1 1.2 2.3 2.2l-1.7.5c1.5 1.2 2 2.6 1.3 4.1-.6 1.4-1.9 2.1-3.4 2.1-1.7 0-2.9-.8-3.4-2.1-.5-1.4-.1-2.8 1.2-4l-1.6-.6c.4-1.1 1.4-1.8 2.6-2.1' fill='none' stroke='%23545b62' stroke-width='.8' opacity='.78'/%3E%3Ccircle cx='16.2' cy='17.5' r='3.4' fill='%23c3c7cb' stroke='%23565e66' stroke-width='.75'/%3E%3Cpath d='M13.7 17.5h5M16.2 14.9v5M14.2 15.7l4 3.6M18.2 15.7l-4 3.6' stroke='%23ffffff' stroke-width='.45' opacity='.55'/%3E%3Cpath d='M8.2 10.3v8.8M6.9 10.9l1.3-2 1.3 2M6.2 12.8c.9-.7 1.7-.7 2.5 0 .9-.7 1.7-.7 2.5 0' stroke='%234b535b' stroke-width='.65' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 14 14, auto;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-ui);
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.14) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.10) 0 1px, transparent 1px);
  background-size: 23px 23px, 31px 31px;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 850ms ease, transform 850ms ease, visibility 850ms ease;
}
.splash::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle at center, rgba(255,255,255,.09), transparent 55%);
  filter: blur(34px);
  animation: pulseField 4s ease-in-out infinite alternate;
}
.splash-name {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(12px, 2vw, 34px);
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: clamp(42px, 8.8vw, 132px);
  line-height: .84;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 600;
}
.splash-word { display: block; white-space: nowrap; }
.splash-char {
  display: inline-block;
  opacity: .22;
  color: rgba(255,255,255,.46);
  filter: blur(11px);
  transform: translateY(22px) scale(.96);
  text-align: center;
  font-kerning: none;
  transition: color 130ms ease, opacity 130ms ease, filter 130ms ease, transform 130ms ease;
}
.splash-char.is-glitching {
  opacity: 1;
  color: #fffaf0;
  filter: blur(0);
  transform: translateY(0) scale(1);
  animation: characterJitter 84ms steps(2, end) infinite;
}
.splash-char.is-settled {
  opacity: 1;
  color: var(--ink);
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.splash.is-exiting { opacity: 0; visibility: hidden; transform: scale(1.02); pointer-events: none; }

.site {
  min-height: 100vh;
  opacity: 1;
  background: var(--black);
  transition: opacity 700ms ease;
}
.site.is-hidden { opacity: 0; pointer-events: none; }

.topbar {
  position: fixed;
  top: 34px;
  left: 48px;
  right: 49px;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.identity,
.chat-link {
  pointer-events: auto;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  color: rgba(245, 241, 232, .86);
}
.chat-link {
  color: rgba(245, 241, 232, .9);
  border-bottom: 1px solid rgba(245, 241, 232, .8);
  padding-bottom: 8px;
}

.side-nav {
  position: fixed;
  z-index: 48;
  left: max(22px, calc((100vw - 1680px) / 2 + 22px));
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 16px;
}
.side-nav a {
  font-size: 13px;
  line-height: 13px;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color .35s ease, transform .35s ease;
}
.side-nav a:hover { color: var(--ink); transform: rotate(180deg) translateY(-3px); }
.side-nav a.is-active,
.side-nav a.is-active:hover { color: #ff2f2f; transform: rotate(180deg) translateY(-3px); }

.section-panel {
  position: relative;
  width: min(1680px, calc(100vw - 44px));
  margin: 0 auto;
}
.hero {
  width: 100%;
  min-height: 160svh;
  overflow: visible;
  isolation: isolate;
  z-index: 2;
  --hero-title-y: 0px;
  --hero-dots-opacity: 0;
  --hero-dots-y: 22px;
  --hero-content-opacity: 1;
  --hero-content-blur: 0px;
  --hero-stage-opacity: 1;
  --hero-stage-blur: 0px;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 18px 18px;
  opacity: var(--hero-stage-opacity, 1);
  filter: blur(var(--hero-stage-blur, 0px));
  transform: translateZ(0);
  will-change: opacity, filter;
}
.hero-stage.is-coin-cursor {
  cursor: var(--coin-cursor);
}
.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-stage::before {
  z-index: -2;
  inset: -8vh -6vw -10vh;
  background: url("public/assets/katya-portrait.jpg") center 31% / cover no-repeat;
  filter: grayscale(1) contrast(1.42) brightness(.34) blur(20px);
  opacity: .72;
  transform: scale(1.18) rotate(-3deg);
}
.hero-stage::after {
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 57% 34%, rgba(255,255,255,.2), transparent 10%),
    radial-gradient(ellipse at 66% 53%, rgba(255,255,255,.12), transparent 18%),
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.28) 44%, rgba(0,0,0,.8) 100%),
    linear-gradient(180deg, rgba(0,0,0,.68), transparent 35%, rgba(0,0,0,.82) 100%);
}
.hero-title {
  position: absolute;
  z-index: 2;
  left: clamp(-18px, 2.5vw, 54px);
  bottom: -.16em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(132px, 24.5vw, 420px);
  line-height: .7;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-transform: lowercase;
  white-space: nowrap;
  color: rgba(245,241,232,.97);
  text-shadow: 0 18px 80px rgba(0,0,0,.54);
  transform: translateY(var(--hero-title-y, 0px));
  transition: transform 80ms linear;
}
.portrait-wrap {
  margin: 0;
  position: absolute;
  z-index: 4;
  left: 51%;
  top: clamp(128px, 18vh, 182px);
  width: clamp(230px, 22vw, 360px);
  height: clamp(310px, 52vh, 590px);
  min-height: 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(245,241,232,.08);
  border: 1px solid rgba(245,241,232,.1);
  box-shadow: 0 34px 100px rgba(0,0,0,.54);
  transform: translateX(-50%);
}
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.64));
  pointer-events: none;
}
.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(.86);
  transform: scale(1.03);
}
.hero-note {
  position: absolute;
  z-index: 5;
  left: calc(51% + clamp(160px, 13vw, 245px));
  right: auto;
  top: 46%;
  color: rgba(245,241,232,.68);
  font-size: 15px;
  line-height: 1.5;
  max-width: 260px;
}
.hero-note p { margin: 0; }
.hero-note a { display: inline-block; margin-top: 18px; color: var(--ink); border-bottom: 1px solid currentColor; }
.hero-keyword {
  position: absolute;
  z-index: 8;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 24px 26px;
  margin: -24px -26px;
  background: transparent;
  color: rgba(245,241,232,.82);
  cursor: auto;
  font-family: var(--font-ui);
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1;
  letter-spacing: -.015em;
  text-shadow: 0 10px 35px rgba(0,0,0,.6);
}
.hero.has-wand-reveal .hero-keyword::after { display: none; }
.hero-keyword::after {
  content: attr(data-info);
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  width: min(270px, 30vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(245,241,232,.84);
  box-shadow: none;
  backdrop-filter: none;
  white-space: normal;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.38;
  letter-spacing: -.01em;
  text-shadow: 0 12px 34px rgba(0,0,0,.68);
  text-align: left;
  opacity: 0;
  filter: blur(5px);
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  transform: translateX(-50%);
}
.hero-keyword:hover,
.hero-keyword:focus-visible { color: #fff; outline: none; }
.hero-keyword:hover::after,
.hero-keyword:focus-visible::after {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
  animation: keywordScratchReveal .62s steps(7, end) both;
}
.hero-keyword-small-business { left: calc(51% - clamp(270px, 22vw, 385px)); top: 27%; }
.hero-keyword-work { left: calc(51% + clamp(180px, 14vw, 255px)); top: 31%; }
.hero-keyword-hello { left: calc(51% - clamp(235px, 18vw, 340px)); top: 49%; }
.hero-keyword-websites { left: clamp(210px, 22vw, 330px); top: 38%; }
.hero-keyword-ai { right: clamp(120px, 12vw, 205px); top: 30%; }
.hero-keyword-ai::after,
.hero-keyword-small-business::after,
.hero-keyword-hello::after { left: auto; right: 0; transform: none; }
.hero-keyword-ai:hover::after,
.hero-keyword-ai:focus-visible::after,
.hero-keyword-small-business:hover::after,
.hero-keyword-small-business:focus-visible::after,
.hero-keyword-hello:hover::after,
.hero-keyword-hello:focus-visible::after { transform: none; }



.hero-wand-reveal {
  position: absolute;
  z-index: 12;
  left: var(--reveal-left, 50%);
  top: var(--reveal-top, 50%);
  width: min(270px, 30vw);
  min-height: 78px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  color: rgba(245,241,232,.84);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  filter: none;
  transform: none;
  clip-path: none;
  -webkit-mask-image: var(--scratch-mask, linear-gradient(transparent, transparent));
  mask-image: var(--scratch-mask, linear-gradient(transparent, transparent));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: opacity .08s ease;
  will-change: -webkit-mask-image, mask-image;
}
.hero-wand-reveal::before {
  display: none;
}
.hero-wand-reveal p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 270px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.38;
  letter-spacing: -.01em;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0,0,0,.68);
}
.hero-wand-reveal.is-visible {
  opacity: 1;
  clip-path: none;
}
.hero-wand-reveal.is-visible::before {
  opacity: 1;
  transform: scale(1);
}
.hero-keyword.is-wand-active {
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 90, 31, .25), 0 10px 35px rgba(0,0,0,.6);
}

.hero-label {
  position: absolute;
  z-index: 5;
  color: rgba(245,241,232,.48);
  font-family: var(--font-ui);
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1;
  letter-spacing: -.015em;
  text-shadow: 0 10px 35px rgba(0,0,0,.6);
}
.hero-label-role { left: calc(51% + clamp(160px, 13vw, 245px)); right: auto; bottom: 21%; color: rgba(245,241,232,.48); }
.hero-title,
.portrait-wrap,
.hero-keyword,
.hero-note,
.hero-label {
  opacity: var(--hero-content-opacity, 1);
  filter: blur(var(--hero-content-blur, 0px));
  transition: opacity 120ms linear, filter 120ms linear;
}
.project-showcase {
  position: relative;
  z-index: 8;
  width: 100%;
  min-height: calc(var(--project-count, 4) * 100vh);
  margin-top: -60svh;
  overflow: visible;
  background: transparent;
  --project-chapter-opacity: 1;
  --project-chapter-width: 100%;
  --project-chapter-height: 100vh;
  --project-chapter-top: 0px;
  --project-chapter-radius: 0px;
  --project-feature-opacity: 1;
  --project-feature-y: 0px;
  --project-feature-scale: 1;
  --project-feature-blur: 0px;
  --project-categories-left: max(54px, 19.5vw);
  --project-categories-top: max(170px, 36vh);
  --project-categories-gap: 28px;
  --project-category-size: clamp(46px, 4.2vw, 56px);
}
.project-sticky {
  position: sticky;
  top: var(--project-chapter-top, 0px);
  width: var(--project-chapter-width, 100%);
  height: var(--project-chapter-height, 100vh);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  background: #0f1510;
  border-radius: var(--project-chapter-radius, 0px) var(--project-chapter-radius, 0px) 0 0;
  opacity: calc(var(--project-chapter-opacity, 1) * var(--project-exit-opacity, 1));
  filter: blur(var(--project-exit-blur, 0px));
  will-change: width, height, top, opacity, border-radius, filter;
}
.project-scroll-steps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(var(--project-count, 4), minmax(100vh, 1fr));
  pointer-events: none;
  opacity: 0;
}
.project-step { min-height: 100vh; }
.project-bg,
.project-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.project-bg {
  background: url("public/assets/figma/ozero-section-bg.png") center / cover no-repeat;
  transform: scale(1.001);
}
.project-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 9, .70), rgba(4, 4, 4, .16) 50%, rgba(0, 0, 0, .35)),
    linear-gradient(180deg, rgba(0, 0, 0, .24), rgba(36, 22, 0, .30));
}
.project-categories {
  position: absolute;
  z-index: 2;
  left: var(--project-categories-left, max(54px, 19.5vw));
  top: var(--project-categories-top, max(170px, 36vh));
  display: grid;
  gap: var(--project-categories-gap, 28px);
}
.category {
  appearance: none;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #838383;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--project-category-size, clamp(46px, 4.2vw, 56px));
  line-height: 1;
  font-weight: 500;
  transition: color .25s ease, transform .25s ease;
}
.category.is-active {
  color: var(--ink);
  font-weight: 400;
}
.category:hover { color: rgba(245, 241, 232, .78); }
.project-feature {
  position: absolute;
  z-index: 2;
  left: calc(50% + 45px);
  top: max(96px, 16vh);
  width: 500px;
  margin: 0;
  opacity: var(--project-feature-opacity, 1);
  filter: blur(var(--project-feature-blur, 0px));
  transform: translateY(var(--project-feature-y, 0px)) scale(var(--project-feature-scale, 1));
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
}
.project-showcase.is-project-intro .project-feature {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.project-preview {
  position: relative;
  width: 500px;
  height: 292px;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--glass);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .22);
}
.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(245, 241, 232, .08);
  pointer-events: none;
}
.preview-landscape,
.preview-page,
.preview-detail {
  position: absolute;
  display: block;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}
.preview-landscape {
  left: 62px;
  top: 84px;
  width: 216px;
  height: 168px;
  border-radius: 6px;
}
.preview-page {
  right: 45px;
  top: 33px;
  width: 140px;
  height: 262px;
  border-radius: 7px;
}
.preview-detail {
  right: 28px;
  bottom: 33px;
  width: 150px;
  height: 132px;
  border-radius: 7px;
}
.project-feature[data-project="personal"] .project-preview {
  background: rgba(35, 24, 19, .62);
  backdrop-filter: blur(9px);
}
.project-feature[data-project="personal"] .preview-landscape {
  left: 58px;
  top: 92px;
  width: 300px;
  height: 226px;
  border-radius: 12px;
  object-position: center top;
}
.project-feature[data-project="personal"] .preview-page {
  right: 70px;
  top: 44px;
  width: 178px;
  height: 312px;
  border-radius: 14px;
  object-position: center top;
}
.project-feature[data-project="personal"] .preview-detail {
  right: 210px;
  bottom: 48px;
  width: 168px;
  height: 118px;
  border-radius: 12px;
  object-position: center 60%;
}
.project-sticky[data-project="personal"] .project-bg {
  background-position: center top;
  transform: scale(1.001);
}
.project-sticky[data-project="personal"] .project-overlay {
  background:
    linear-gradient(90deg, rgba(34, 23, 18, .84), rgba(34, 23, 18, .54) 43%, rgba(34, 23, 18, .26) 72%, rgba(34, 23, 18, .38)),
    linear-gradient(180deg, rgba(34, 23, 18, .22), rgba(34, 23, 18, .42));
}
.project-sticky[data-project="personal"] .category:not(.is-active) {
  color: rgba(245, 241, 232, .48);
}
.project-sticky[data-project="personal"] .category.is-active {
  color: var(--ink);
}
.project-feature[data-project="health"] .project-preview {
  background: rgba(2, 24, 31, .66);
  backdrop-filter: blur(10px);
}
.project-feature[data-project="health"] .preview-landscape {
  left: 54px;
  top: 82px;
  width: 326px;
  height: 214px;
  border-radius: 13px;
  object-position: center top;
}
.project-feature[data-project="health"] .preview-page {
  right: 64px;
  top: 48px;
  width: 220px;
  height: 166px;
  border-radius: 13px;
  object-position: center top;
}
.project-feature[data-project="health"] .preview-detail {
  right: 104px;
  bottom: 56px;
  width: 220px;
  height: 128px;
  border-radius: 13px;
  object-position: center top;
}
.project-sticky[data-project="health"] .project-bg {
  background-position: center top;
  transform: scale(1.001);
}
.project-sticky[data-project="health"] .project-overlay {
  background:
    radial-gradient(circle at 78% 35%, rgba(183, 213, 199, .14), transparent 33%),
    linear-gradient(90deg, rgba(2, 18, 25, .86), rgba(2, 18, 25, .58) 43%, rgba(2, 18, 25, .32) 72%, rgba(2, 18, 25, .44)),
    linear-gradient(180deg, rgba(2, 18, 25, .18), rgba(2, 18, 25, .44));
}
.project-sticky[data-project="health"] .category:not(.is-active) {
  color: rgba(245, 241, 232, .48);
}
.project-sticky[data-project="health"] .category.is-active {
  color: var(--ink);
}
.project-feature[data-project="finance"] {
  left: calc(50% + 45px);
  top: 146px;
  width: 640px;
}
.project-feature[data-project="finance"] .project-preview {
  width: 640px;
  height: 435px;
  border-radius: 30px;
  background: rgba(0, 0, 0, .60);
  backdrop-filter: blur(10px);
}
.project-feature[data-project="finance"] .preview-landscape {
  left: 58px;
  top: 104px;
  width: 312px;
  height: 202px;
  border-radius: 12px;
  object-position: center top;
}
.project-feature[data-project="finance"] .preview-page {
  right: 142px;
  top: 68px;
  width: 132px;
  height: 250px;
  border-radius: 14px;
  object-position: center top;
}
.project-feature[data-project="finance"] .preview-detail {
  right: 54px;
  top: 128px;
  width: 152px;
  height: 176px;
  border-radius: 14px;
  object-position: center top;
}
.project-feature[data-project="finance"] .project-copy {
  padding-top: 27px;
}
.project-sticky[data-project="finance"] .project-bg {
  background-position: left center, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto 112%, cover;
  transform: scale(1.001);
}
.project-sticky[data-project="finance"] .project-overlay {
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 0, 0, .02), rgba(0, 0, 0, .18) 28%, transparent 44%),
    linear-gradient(90deg, rgba(3, 10, 12, .82), rgba(1, 7, 9, .52) 43%, rgba(0, 0, 0, .18) 72%, rgba(0, 0, 0, .24)),
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .38));
}
.project-sticky[data-project="finance"] .category:not(.is-active) {
  color: rgba(245, 241, 232, .44);
}
.project-sticky[data-project="finance"] .category.is-active {
  color: var(--ink);
}
.project-copy {
  position: relative;
  padding: 27px 0 0 12px;
  max-width: 460px;
}
.project-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 28px;
  font-weight: 400;
  color: var(--ink);
}
.project-copy p {
  margin: 0;
  max-width: 426px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 18px;
  color: #c8c8c8;
}
.project-actions {
  display: flex;
  gap: 19px;
  margin-top: 26px;
}
.project-link {
  display: inline-grid;
  place-items: center;
  min-width: 156px;
  height: 50px;
  padding: 0 22px;
  border-radius: 20px;
  background: rgba(245, 241, 232, .20);
  color: rgba(245, 241, 232, .8);
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
}
.project-link-secondary {
  min-width: 108px;
  background: rgba(245, 241, 232, .10);
  font-family: var(--font-display);
  font-weight: 600;
}

.project-categories {
  display: grid;
}
.project-feature,
.project-feature[data-project="finance"] {
  left: calc(50% + 30px);
  top: clamp(96px, 13.8vh, 108px);
  width: min(460px, 37vw);
  transform: translateY(var(--project-feature-y, 0px)) scale(var(--project-feature-scale, 1));
}
.project-preview,
.project-feature[data-project="finance"] .project-preview {
  width: 100%;
  height: clamp(292px, 43.5vh, 312px);
  border-radius: 30px;
  background: rgba(0, 0, 0, .62);
  box-shadow: 0 32px 96px rgba(0, 0, 0, .36);
  backdrop-filter: blur(12px);
}
.project-preview::after {
  border-color: rgba(245, 241, 232, .05);
}
.preview-landscape,
.project-feature[data-project="personal"] .preview-landscape,
.project-feature[data-project="health"] .preview-landscape,
.project-feature[data-project="finance"] .preview-landscape {
  left: 9.6%;
  top: 26.2%;
  width: 48.8%;
  height: 48%;
  border-radius: 10px;
  object-position: center top;
}
.preview-page,
.project-feature[data-project="personal"] .preview-page,
.project-feature[data-project="health"] .preview-page,
.project-feature[data-project="finance"] .preview-page {
  right: 21.6%;
  top: 15.3%;
  width: 22%;
  height: 69.5%;
  border-radius: 11px;
  object-position: center top;
  z-index: 2;
}
.preview-detail,
.project-feature[data-project="personal"] .preview-detail,
.project-feature[data-project="health"] .preview-detail,
.project-feature[data-project="finance"] .preview-detail {
  right: 7.8%;
  top: 26.4%;
  bottom: auto;
  width: 26.5%;
  height: 44%;
  border-radius: 12px;
  object-position: center top;
  z-index: 3;
}
.project-feature[data-project="recreational"] .preview-detail {
  object-position: center 61%;
}
.project-preview img[hidden] {
  display: none;
}
.project-feature .project-copy,
.project-feature[data-project="finance"] .project-copy {
  width: min(360px, 31vw);
  max-width: 360px;
  margin: 24px 0 0 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.project-feature .project-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 1.85vw, 26px);
  line-height: 1;
  letter-spacing: -.03em;
}
.project-feature .project-copy p {
  max-width: 350px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: rgba(245, 241, 232, .80);
}
.project-feature .project-actions {
  gap: 18px;
  margin-top: 22px;
}
.project-feature .project-link {
  min-width: 132px;
  height: 44px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(245, 241, 232, .17);
  color: rgba(245, 241, 232, .88);
  font-size: 13px;
  line-height: 13px;
  font-weight: 500;
  backdrop-filter: blur(12px);
}
.project-feature .project-link-secondary {
  min-width: 96px;
  background: rgba(245, 241, 232, .13);
  font-family: var(--font-ui);
  font-weight: 500;
}

.contact-section {
  position: relative;
  z-index: 14;
  min-height: 238svh;
  height: auto;
  margin-top: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  --contact-chapter-opacity: 1;
  --contact-chapter-width: 100%;
  --contact-chapter-height: 100vh;
  --contact-chapter-top: 0px;
  --contact-chapter-radius: 0px;
  --contact-card-opacity: 1;
  --contact-card-y: 0px;
  --contact-card-scale: 1;
  --contact-card-blur: 0px;
}
.contact-stage {
  position: sticky;
  top: var(--contact-chapter-top, 0px);
  width: var(--contact-chapter-width, 100%);
  height: var(--contact-chapter-height, 100vh);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: clamp(112px, 17vh, 132px) 24px clamp(70px, 11vh, 88px);
  overflow: hidden;
  border-radius: var(--contact-chapter-radius, 0px) var(--contact-chapter-radius, 0px) 0 0;
  background: var(--black);
  opacity: var(--contact-chapter-opacity, 1);
  box-shadow: 0 -34px 110px rgba(0, 0, 0, .56), inset 0 0 0 1px rgba(245, 241, 232, .08);
  will-change: width, height, top, opacity, border-radius;
}
.contact-card {
  width: min(920px, max(58.5vw, 620px), calc(100vw - 48px));
  min-height: clamp(430px, 72vh, 474px);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 84px) clamp(52px, 5vw, 60px) clamp(54px, 9vh, 64px);
  border-radius: 38px;
  background: var(--panel);
  border: 1px solid rgba(245, 241, 232, .08);
  opacity: var(--contact-card-opacity, 1);
  filter: blur(var(--contact-card-blur, 0px));
  transform: translateY(var(--contact-card-y, 0px)) scale(var(--contact-card-scale, 1));
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
}
.contact-card h2 {
  max-width: 787px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 57px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
}
.contact-description {
  max-width: 560px;
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(245, 241, 232, .68);
}
.contact-button {
  display: inline-grid;
  place-items: center;
  width: 116px;
  height: 50px;
  margin-top: 38px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--black);
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
}

@keyframes pulseField {
  from { transform: scale(.98); opacity: .72; }
  to { transform: scale(1.04); opacity: 1; }
}
@keyframes characterJitter {
  0% { transform: translate(0, 0); }
  50% { transform: translate(1px, -1px); }
  100% { transform: translate(-1px, 1px); }
}
@keyframes projectSwap {
  from { opacity: .45; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes transitionDotBreath {
  0%, 100% { transform: scale(.72); opacity: .42; }
  45% { transform: scale(1); opacity: 1; }
}
@keyframes keywordScratchReveal {
  0% { opacity: 0; filter: blur(7px); clip-path: inset(0 100% 0 0); text-shadow: 0 0 0 rgba(245,241,232,0); }
  16% { opacity: .42; filter: blur(4px); clip-path: inset(0 78% 0 0); }
  31% { opacity: .18; filter: blur(6px); clip-path: inset(0 58% 0 0); }
  48% { opacity: .72; filter: blur(2px); clip-path: inset(0 41% 0 0); }
  62% { opacity: .38; filter: blur(4px); clip-path: inset(0 24% 0 0); }
  78% { opacity: .86; filter: blur(1px); clip-path: inset(0 9% 0 0); }
  100% { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); text-shadow: 0 12px 34px rgba(0,0,0,.68); }
}
.project-feature.is-switching { animation: projectSwap .32s ease; }





@media (max-width: 1100px) {
  .topbar { left: 24px; right: 24px; top: 24px; }
  .side-nav { display: none; }
  .section-panel { width: 100%; }
  .hero { min-height: 224svh; padding: 0; }
  .hero-stage { height: 100svh; }
  .portrait-wrap { left: 50%; top: 18%; width: clamp(205px, 31vw, 285px); height: clamp(300px, 48vh, 430px); min-height: 0; border-radius: 22px; }
  .hero-title { left: 28px; bottom: -.11em; font-size: clamp(110px, 30vw, 260px); letter-spacing: -.04em; max-width: none; white-space: nowrap; }
  .hero-note { left: calc(50% + 170px); top: 49%; max-width: 220px; font-size: 14px; }
  .hero-keyword { font-size: 13px; padding: 13px 14px; margin: -13px -14px; }
  .hero-keyword::after { width: min(230px, 34vw); }
  .hero-keyword-design { left: calc(50% - 245px); top: 28%; }
  .hero-keyword-work { left: calc(50% + 155px); top: 31%; }
  .hero-keyword-hello { left: calc(50% - 245px); top: 52%; }
  .hero-keyword-apps { left: 12%; top: 40%; }
  .hero-keyword-websites { left: 24%; top: 40%; }
  .hero-keyword-ai { right: 7%; top: 30%; }
  .hero-keyword-systems { right: 10%; top: 70%; }
  .hero-label-role { left: calc(50% + 170px); bottom: 20%; }
  .hero-transition-dots { bottom: clamp(80px, 13vh, 120px); }

  .project-showcase { min-height: auto; margin-top: 0; overflow: hidden; }
  .project-sticky { position: relative; height: auto; min-height: 900px; padding: 84px 24px 82px; }
  .project-scroll-steps { display: none; }
  .project-categories,
  .project-feature {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }
  .project-categories { gap: 14px; margin-bottom: 48px; }
  .category { font-size: clamp(42px, 11vw, 60px); line-height: 1; }
  .project-feature { max-width: 590px; margin-left: auto; }
  .project-preview { width: 100%; max-width: 590px; height: min(70vw, 415px); }
  .preview-landscape { left: 12%; top: 24%; width: 42%; height: 48%; }
  .preview-page { right: 9%; top: 9%; width: 29%; height: 78%; }
}

@media (max-width: 640px) {
  .hero-wand-reveal { width: min(330px, calc(100vw - 42px)); min-height: 154px; }
  .hero-wand-reveal p { font-size: 17px; line-height: 1.34; }
  .hero-wand-reveal.is-visible { clip-path: circle(235px at var(--light-origin-x, 50%) var(--light-origin-y, 50%)); }
  .identity, .chat-link { font-size: 12px; }
  .hero { min-height: 208svh; }
  .hero-stage { height: max(760px, 100svh); }
  .portrait-wrap { left: 50%; top: 108px; width: min(58vw, 230px); height: 300px; }
  .hero-title { bottom: 12px; left: 20px; font-size: clamp(84px, 31vw, 132px); letter-spacing: -.04em; line-height: .78; }
  .hero-note { left: 24px; top: 470px; max-width: 245px; font-size: 13px; }
  .hero-keyword { font-size: 12px; padding: 12px 13px; margin: -12px -13px; }
  .hero-keyword::after { width: min(245px, calc(100vw - 48px)); }
  .hero-keyword-design { left: 24px; top: 158px; }
  .hero-keyword-work { left: auto; right: 24px; top: 164px; }
  .hero-keyword-hello { left: 24px; top: 340px; }
  .hero-keyword-apps { left: 24px; top: 280px; }
  .hero-keyword-websites { left: 98px; top: 280px; }
  .hero-keyword-ai { right: 24px; top: 330px; }
  .hero-keyword-systems { right: 24px; top: 440px; }
  .hero-label-role { left: 24px; bottom: 126px; font-size: 12px; }
  .hero-transition-dots { bottom: 88px; gap: 12px; }
  .project-sticky { min-height: 780px; }
  .project-bg { background-position: 62% center; }
  .project-categories { margin-bottom: 34px; }
  .project-preview { height: 300px; border-radius: 24px; }
  .preview-landscape { width: 54%; height: 42%; left: 7%; top: 38%; }
  .preview-page { width: 33%; height: 75%; right: 7%; top: 12%; }
  .project-copy { padding-left: 0; }
  .project-actions { flex-wrap: wrap; gap: 12px; }
  .contact-section { height: auto; min-height: 150svh; padding: 0 18px; }
  .contact-stage { min-height: 100svh; padding: 88px 0 120px; }
  .contact-card { padding: 34px 28px 36px; min-height: 268px; border-radius: 28px; }
  .contact-card h2 { font-size: clamp(38px, 11vw, 52px); line-height: .95; }
  .contact-description { margin-top: 22px; font-size: 16px; line-height: 1.35; }
  .contact-button { margin-top: 30px; }
}

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