:root {
  --ink: #111018;
  --paper: #fbfaff;
  --muted: #6b6875;
  --line: #dedbe7;
  --violet: #7357ff;
  --pink: #f2a8ff;
  --blue: #9fd7ff;
  --coral: #ffb296;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .8rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.animated-blush { position: absolute; inset: 0 0 auto; height: min(880px, 100vh); overflow: hidden; pointer-events: none; z-index: 0; }
.animated-blush__orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .58; will-change: transform; }
.animated-blush__orb--pink { top: 8%; left: 42%; width: clamp(300px, 42vw, 680px); aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, rgba(242,168,255,.52), rgba(242,168,255,.15) 43%, transparent 72%); animation: blush-float-pink 10s ease-in-out infinite alternate; }
.animated-blush__orb--violet { top: 20%; right: -8%; width: clamp(260px, 34vw, 560px); aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, rgba(115,87,255,.3), rgba(159,215,255,.12) 48%, transparent 72%); animation: blush-float-violet 13s ease-in-out infinite alternate; }

@keyframes blush-float-pink {
  0% { transform: translate3d(-7%, -4%, 0) scale(.9) rotate(-6deg); }
  55% { transform: translate3d(6%, 5%, 0) scale(1.06) rotate(4deg); }
  100% { transform: translate3d(-1%, 11%, 0) scale(.96) rotate(8deg); }
}

@keyframes blush-float-violet {
  0% { transform: translate3d(8%, 7%, 0) scale(1.02); }
  50% { transform: translate3d(-10%, -3%, 0) scale(.92); }
  100% { transform: translate3d(-3%, 10%, 0) scale(1.08); }
}

.floating-resume { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: .7rem; min-height: 52px; padding: .55rem 1rem .55rem .55rem; color: #fff; background: rgba(17,16,24,.94); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; box-shadow: 0 14px 40px rgba(17,16,24,.24); backdrop-filter: blur(14px); font-size: .86rem; font-weight: 780; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.floating-resume__icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--pink); border-radius: 50%; font-size: 1.1rem; transition: transform .2s ease; }
.floating-resume:hover, .floating-resume:focus-visible { background: var(--violet); box-shadow: 0 18px 45px rgba(115,87,255,.32); outline: none; transform: translateY(-3px); }
.floating-resume:hover .floating-resume__icon, .floating-resume:focus-visible .floating-resume__icon { transform: translateY(2px); }

main, footer { position: relative; z-index: 1; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: min(1440px, calc(100% - 48px)); margin: 18px auto 0; padding: 10px 10px 10px 16px; background: rgba(251,250,255,.86); border: 1px solid rgba(17,16,24,.1); border-radius: 999px; backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .65rem; font-size: .9rem; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--ink); border-radius: 50%; font-size: .72rem; letter-spacing: -.03em; }
nav { display: flex; align-items: center; gap: .25rem; }
nav a { padding: .7rem .95rem; font-size: .87rem; font-weight: 650; border-radius: 999px; }
nav a:hover, nav a:focus-visible { background: #eeebf6; outline: none; }
nav .nav-cta { background: var(--ink); color: white; padding-inline: 1.2rem; }
nav .nav-cta:hover, nav .nav-cta:focus-visible { background: var(--violet); }

.hero { display: grid; grid-template-columns: .94fr 1.06fr; gap: 4vw; align-items: center; width: min(1440px, calc(100% - 48px)); min-height: calc(100vh - 90px); margin: 0 auto; padding: 6rem 0 5rem; overflow: hidden; }
.eyebrow, .kicker { margin: 0 0 1.35rem; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 9px; height: 9px; background: #43c477; border-radius: 50%; box-shadow: 0 0 0 5px rgba(67,196,119,.14); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 770px; margin: 0; font-size: clamp(3.4rem, 6.8vw, 7.5rem); line-height: .91; letter-spacing: -.072em; font-weight: 800; }
h1 em { font-style: normal; color: var(--violet); }
.hero-lede { max-width: 680px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 54px; padding: .85rem 1.25rem; border: 1px solid var(--ink); border-radius: 12px; font-weight: 750; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--violet); border-color: var(--violet); }
.button-secondary:hover, .button-secondary:focus-visible { background: #fff; }
.hero-visual { position: relative; min-height: 680px; isolation: isolate; }
.hero-word { position: absolute; top: 9%; left: -7%; z-index: -1; color: #ebe8f5; font-size: clamp(5rem, 10vw, 10rem); font-weight: 900; letter-spacing: -.08em; writing-mode: vertical-rl; transform: rotate(180deg); }
.visual-card { position: absolute; overflow: hidden; border: 1px solid rgba(17,16,24,.14); border-radius: 24px; box-shadow: 0 34px 80px rgba(27,21,59,.18); }
.visual-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-card-main { inset: 7% 0 17% 12%; transform: rotate(2.2deg); background: linear-gradient(135deg, #f0c4ff, #9c87ff); }
.visual-card-main img { object-fit: contain; padding: 6%; }
.visual-card-small { right: -2%; bottom: 5%; width: 55%; height: 34%; transform: rotate(-5deg); background: linear-gradient(135deg, #ffc0a7, #ff82bd); }
.visual-card-small img { object-fit: contain; padding: 7%; }
.visual-note { position: absolute; left: 2%; bottom: 5%; z-index: 3; width: 230px; padding: 1rem; background: var(--ink); color: white; border-radius: 15px; font-size: .86rem; transform: rotate(2deg); }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1440px, calc(100% - 48px)); margin: 0 auto 8rem; border-block: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--line); }
.proof div:first-child { padding-left: 0; }
.proof div:last-child { border-right: 0; }
.proof strong { font-size: 1.15rem; }
.proof span { color: var(--muted); font-size: .85rem; }

.section, .case-study { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 7rem 0; }
.section-heading { display: grid; grid-template-columns: .35fr 1fr .62fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section-heading .kicker { align-self: start; }
.section-heading h2, .case-intro h2, .about h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.6rem); line-height: .98; letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 400px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.project-media, .project-card-media { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 520px; border-radius: 20px; }
.project-media-purple { background: linear-gradient(140deg, #d9c8ff, #7457ff 55%, #f2a8ff); }
.project-media img { width: 92%; filter: drop-shadow(0 25px 30px rgba(39,25,87,.22)); }
.project-index { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 44px; height: 44px; background: rgba(255,255,255,.9); border-radius: 50%; font-size: .76rem; font-weight: 850; }
.project-body { padding: 2rem 2.5rem 2rem 0; }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-meta span:first-child { color: var(--ink); }
.project h3, .project-card h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.8rem); line-height: 1.02; letter-spacing: -.05em; }
.project-body > p, .project-card-copy > p { color: var(--muted); font-size: 1.02rem; }
.impact-list { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.impact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.impact-list strong { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-weight: 800; }
.text-link:hover, .text-link:focus-visible { color: var(--violet); outline: none; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.project-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.project-card-media { min-height: 420px; border-radius: 0; }
.project-card-media img { width: 88%; filter: drop-shadow(0 22px 30px rgba(35,25,60,.2)); }
.media-coral { background: linear-gradient(145deg, #ffd0bd, #ff8cc3); }
.media-blue { background: linear-gradient(145deg, #b7e5ff, #6f92ff); }
.project-card-copy { padding: 2rem 2.1rem 2.25rem; }
.project-card-copy .project-meta { margin-bottom: 1.5rem; }
.project-card-copy .text-link { margin-top: 1rem; }

.case-study { padding-block: 9rem; }
.case-intro { display: grid; grid-template-columns: .38fr 1fr; column-gap: 3rem; align-items: start; }
.case-intro .kicker { grid-row: span 2; }
.case-intro > p:last-child { max-width: 760px; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; }
.case-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 4rem 0; }
.case-step { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.case-step > span { display: block; margin-bottom: 3rem; color: var(--violet); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.case-step h3 { margin: 0 0 .8rem; font-size: 1.35rem; letter-spacing: -.03em; }
.case-step p { margin: 0; color: var(--muted); }
.wide-figure { margin: 0; overflow: hidden; background: linear-gradient(140deg, #d8c9ff, #f3a9ff); border-radius: var(--radius); }
.wide-figure img { width: 100%; min-height: 380px; object-fit: contain; padding: 4vw; }
.wide-figure figcaption { padding: 1rem 1.5rem; background: rgba(255,255,255,.8); color: var(--muted); font-size: .82rem; }
.case-study-dark { width: min(1440px, calc(100% - 32px)); padding: 6vw; background: var(--ink); color: #fff; border-radius: 36px; }
.case-study-dark .case-intro > p:last-child { color: #aaa6b7; }
.case-study-dark .kicker { color: var(--pink); }
.before-after { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 4rem 0 2rem; }
.before-after figure { position: relative; margin: 0; min-width: 0; overflow: hidden; background: #26232f; border-radius: 22px; }
.before-after figure span { position: absolute; top: 14px; left: 14px; z-index: 2; padding: .45rem .7rem; color: #111; background: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.before-after img { width: 100%; height: 100%; min-height: 360px; object-fit: contain; padding: 4%; }
.case-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #393541; }
.case-summary div { display: flex; flex-direction: column; padding: 1.5rem 1rem; border-right: 1px solid #393541; }
.case-summary div:last-child { border-right: 0; }
.case-summary span { color: #8f8a99; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.figure-soft { background: linear-gradient(140deg, #cceaff, #ece6ff); }
.compact { margin-bottom: 0; }

.approach { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; }
.approach .section-heading { display: block; margin: 0; position: sticky; top: 120px; align-self: start; }
.approach .section-heading h2 { font-size: clamp(2.8rem, 4.4vw, 5rem); }
.approach-list { list-style: none; padding: 0; margin: 0; }
.approach-list li { display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.approach-list li:last-child { border-bottom: 1px solid var(--line); }
.approach-list > li > span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.approach-list h3 { margin: 0; font-size: 1.8rem; letter-spacing: -.04em; }
.approach-list p { max-width: 620px; margin: .4rem 0 0; color: var(--muted); }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; align-items: center; }
.portrait-wrap { position: relative; overflow: hidden; aspect-ratio: .9; background: linear-gradient(145deg, #f4adff, #7957ff); border-radius: 30px; }
.portrait-wrap:after { content: "PRODUCT DESIGNER"; position: absolute; left: 0; bottom: 0; width: 100%; padding: 1rem; color: #fff; background: linear-gradient(transparent, rgba(17,16,24,.86)); font-weight: 850; letter-spacing: .14em; font-size: .76rem; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; mix-blend-mode: luminosity; }
.about-lede { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.skills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0; }
.skills span { padding: .65rem .9rem; background: #eeebf6; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.about-actions { display: flex; gap: 2rem; margin-top: 2.5rem; }

.contact { width: min(1440px, calc(100% - 32px)); margin: 4rem auto 0; padding: clamp(2rem, 6vw, 6rem); color: white; background: var(--ink); border-radius: 36px 36px 0 0; }
.contact .kicker { color: var(--pink); }
.contact h2 { max-width: 1150px; margin: 0; font-size: clamp(3rem, 6vw, 7rem); line-height: .96; letter-spacing: -.06em; }
.contact-bottom { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid #393541; }
.contact-bottom > a { font-size: clamp(1.2rem, 2.5vw, 2.2rem); font-weight: 750; border-bottom: 1px solid currentColor; }
.contact-bottom div { display: flex; gap: 1.5rem; color: #bbb7c4; }
.contact a:hover, .contact a:focus-visible { color: var(--pink); outline: none; }
footer { display: flex; justify-content: space-between; width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 1.5rem clamp(2rem, 6vw, 6rem); color: #8f8a99; background: var(--ink); font-size: .78rem; }

@media (max-width: 1000px) {
  .site-header { width: calc(100% - 24px); }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; width: calc(100% - 32px); padding-top: 5rem; }
  .hero-visual { min-height: 560px; }
  .proof { grid-template-columns: repeat(2, 1fr); width: calc(100% - 32px); }
  .proof div:nth-child(2) { border-right: 0; }
  .proof div:first-child { padding-left: 1.5rem; }
  .proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .case-intro { grid-template-columns: 1fr; gap: 1rem; }
  .case-intro .kicker { grid-row: auto; }
  .project { grid-template-columns: 1fr; gap: 1rem; }
  .project-body { padding: 1.25rem; }
  .approach, .about { grid-template-columns: 1fr; gap: 3rem; }
  .approach .section-heading { position: static; }
}

@media (max-width: 700px) {
  :root { --radius: 22px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header { min-height: 64px; margin-top: 10px; padding: 7px 7px 7px 10px; }
  .brand { min-width: 48px; min-height: 48px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand > span:last-child { display: none; }
  nav .nav-cta { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1rem; }
  .hero { min-height: auto; padding: 4.5rem 0 3rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; min-height: 56px; padding: 1rem 1.15rem; }
  .hero-visual { min-height: 390px; margin-top: 1rem; }
  .visual-card-main { inset: 0 0 17% 4%; }
  .visual-card-small { width: 55%; height: 34%; }
  .visual-note { width: 175px; font-size: .72rem; }
  .hero-word { display: none; }
  .proof { margin-bottom: 4rem; }
  .proof div { padding: 1rem; }
  .proof div:first-child { padding-left: 1rem; }
  .proof strong { font-size: .95rem; }
  .section, .case-study { width: calc(100% - 32px); padding: 4.5rem 0; }
  .section-heading { margin-bottom: 2.5rem; }
  .section-heading h2, .case-intro h2, .about h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .project-media, .project-card-media { min-height: 280px; }
  .project-meta { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .project h3, .project-card h3 { font-size: 2.25rem; }
  .impact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .text-link { display: flex; justify-content: space-between; width: 100%; min-height: 52px; padding: .8rem 0; }
  .project-grid, .case-columns, .before-after, .case-summary { grid-template-columns: 1fr; }
  .project-card-media { min-height: 270px; }
  .case-study-dark { width: calc(100% - 16px); padding: 4rem 16px; border-radius: 26px; }
  .before-after img { min-height: 230px; }
  .case-summary div { border-right: 0; border-bottom: 1px solid #393541; }
  .wide-figure img { min-height: 220px; }
  .approach-list li { grid-template-columns: 50px 1fr; gap: .8rem; }
  .portrait-wrap { aspect-ratio: 1; }
  .about-actions, .contact-bottom, .contact-bottom div { width: 100%; align-items: stretch; flex-direction: column; gap: .5rem; }
  .about-actions .text-link { padding-inline: .15rem; }
  .contact { width: calc(100% - 16px); margin-top: 2rem; padding: 3.5rem 1rem; border-radius: 26px 26px 0 0; }
  .contact h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .contact-bottom { margin-top: 3rem; }
  .contact-bottom a { display: flex; align-items: center; min-height: 52px; padding: .7rem .15rem; }
  .contact-bottom > a { justify-content: space-between; font-size: 1.05rem; overflow-wrap: anywhere; }
  footer { width: calc(100% - 16px); padding: 1.25rem 1rem; align-items: center; }
  footer a { display: inline-flex; align-items: center; min-height: 48px; padding-inline: .35rem; }
  .animated-blush { height: 720px; }
  .animated-blush__orb--pink { top: 4%; left: 20%; width: 470px; opacity: .46; }
  .animated-blush__orb--violet { top: 24%; right: -42%; width: 390px; opacity: .44; }
  .floating-resume { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 56px; padding: .45rem 1rem .45rem .45rem; font-size: .9rem; }
  .floating-resume__icon { width: 44px; height: 44px; }
}

@media (hover: none) and (pointer: coarse) {
  a { touch-action: manipulation; }
  .button, .text-link, .contact a, footer a { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
