:root{--pink:#E6007E;--pink-soft:#FEF5F9}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#FFFFFF;color:#111111;font-family:'Inter Tight',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}

.mono{font-family:'IBM Plex Mono',ui-monospace,monospace;font-weight:300;font-size:12px;line-height:1.5;letter-spacing:.01em}
.light{font-family:'Inter Tight',system-ui,sans-serif;font-weight:300;letter-spacing:-.005em}
.grot{font-family:'Inter Tight',system-ui,sans-serif;font-weight:500;letter-spacing:-.005em}

.page{min-height:100vh;padding:28px 32px;display:flex;flex-direction:column}
.top{display:flex;justify-content:space-between;gap:16px}

/* Intro */
.intro{max-width:1100px;width:100%;margin:0 auto;padding:150px 0 128px}
.hero{position:relative}
.hl{margin:0;font-size:clamp(30px,3.4vw,48px);line-height:1.18;font-weight:400;max-width:860px}
.seg{font:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:var(--pink);transition:opacity .3s ease}
.seg:focus-visible{outline:1px solid currentColor;outline-offset:4px}
.fade{transition:opacity .3s ease}

/* When a phrase is active, everything else steps back */
.page.is-hover .fade,
.page.is-hover .seg:not(.on){opacity:.3}

/* Hover note card */
.note{position:absolute;left:0;top:0;z-index:5;width:200px;padding:8px;background:#FFFFFF;border:1px solid rgba(0,0,0,.12);border-radius:14px;box-shadow:0 18px 40px -24px rgba(0,0,0,.35);pointer-events:none;opacity:0;transform:rotate(var(--rot,0deg)) scale(.96) translateY(6px);transition:opacity .25s ease,transform .45s cubic-bezier(.2,.8,.2,1.1),left .45s cubic-bezier(.2,.7,.2,1),top .45s cubic-bezier(.2,.7,.2,1)}
.note.show{opacity:1;transform:rotate(var(--rot,0deg)) scale(1)}
.note-art{height:136px;overflow:hidden;border-radius:8px}
.art{display:none;width:100%;height:100%}
.art.on{display:block}
.art-img{width:100%;height:100%;object-fit:cover;display:block}
/* Portrait phone screen: keep the top of the screen in frame */
.art-img[src$="design-3.jpg"]{object-position:50% 0}
/* Work screens: blur is baked into the files (sharp originals stay in assets/work-screens) */
[data-art="design"] .art-img{transform:scale(1.6)}

.lede{margin:0;max-width:520px;font-size:14px;font-weight:400;color:#111111}
.lede::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--pink);margin-right:10px;vertical-align:.08em}

/* Contact */
.contact{position:relative;margin:0;font-size:20px;line-height:1.6;color:#555555;font-weight:400;max-width:760px}
.lnk{font:inherit;color:#111111;background:var(--pink-soft);border:0;padding:.05em .3em;margin:0 .05em;border-radius:4px;cursor:pointer;transition:background-color .2s,color .2s}
.lnk:hover{background:var(--pink);color:#FFFFFF}
.lnk:focus-visible{outline:1px solid currentColor;outline-offset:3px}
.toast{position:absolute;left:0;top:-24px;color:#777777;opacity:0;transition:opacity .25s ease}
.toast.show{opacity:1}

/* Selected work */
.work{max-width:1100px;width:100%;margin:0 auto 120px}
.work-head{display:flex;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #111111}
.work-head h2{margin:0;font:inherit}
.work-list{list-style:none;margin:0;padding:0}
.work-list li{border-bottom:1px solid #E4E4E4}
.wrow{display:grid;grid-template-columns:56px minmax(0,1.1fr) minmax(0,1.6fr);gap:24px;align-items:baseline;padding:26px 0}
.wrow .n{color:#999999}
.wrow .head{display:flex;flex-direction:column;gap:6px}
.wrow .wtitle{font-size:24px;line-height:1.2;font-weight:400}
.wrow .tags{color:#777777}
.wrow .body{color:#555555;max-width:460px}

.foot{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;max-width:1100px;width:100%;margin:0 auto;padding-bottom:96px}
.foot-main{flex:1 1 auto;max-width:760px;display:flex;flex-direction:column;gap:44px}
.foot .copy{color:#999999}

@media (max-width:760px){
  .page{padding:20px 16px}
  .intro{padding:96px 0 88px}
  .foot{padding-bottom:64px}
  .lede{max-width:100%}
  .contact{font-size:18px}
  .wrow{grid-template-columns:40px minmax(0,1fr);gap:12px 16px}
  .wrow .body{grid-column:2}
  .note{width:160px}
  .note-art{height:108px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation:none!important}
}
