:root {
  --paper: #f4f2ea;
  --ink: #121436;
  --blue: #1938e6;
  --lime: #e2fd72;
  --line: #121436;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 "Space Grotesk", system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.skip { position: fixed; z-index: 3; top: 1rem; left: 1rem; padding: .5rem 1rem; color: white; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header { min-height: 76px; border-bottom: 2px solid var(--line); }
.brand { font-size: 1.75rem; line-height: 1; font-weight: 700; letter-spacing: -.10em; text-decoration: none; }
.brand span, h2 span, .period { color: var(--blue); }
nav { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 3vw, 2.2rem); }
nav a { font-weight: 700; font-size: .94rem; text-decoration: none; }
nav a:hover, .text-link { color: var(--blue); text-decoration: underline; text-underline-offset: .22em; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; border-bottom: 2px solid var(--line); }
.hero-copy { padding: clamp(2.5rem, 6vw, 5.4rem) 1rem clamp(2.5rem, 6vw, 5rem) 0; }
.label { display: flex; align-items: center; gap: .55rem; font: 600 .8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .01em; }
.label i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--blue); flex: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: .99; letter-spacing: -.075em; }
h1 { font-size: clamp(3rem, 8.4vw, 8rem); margin: .2em 0 .22em; }
h1 > span { display: block; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 0; }
h3 { font-size: clamp(1.55rem, 4vw, 2.75rem); margin-bottom: .7rem; }
.role { font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 700; margin-bottom: .35rem; }
.dek { max-width: 30rem; margin-bottom: 1.25rem; }
.button { display: inline-block; border: 2px solid var(--ink); padding: .6rem 1rem; text-decoration: none; font-weight: 700; transition: transform .24s, box-shadow .24s; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--ink); }
.button-blue { background: var(--blue); color: white; }
.hero-visual { position: relative; isolation: isolate; min-height: 360px; overflow: hidden; background: var(--blue); border-left: 2px solid var(--line); }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff32 1px, transparent 1px), linear-gradient(90deg, #ffffff32 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(130deg, #000, #000 55%, transparent); }
.device { position: absolute; border: 3px solid var(--ink); box-shadow: 9px 12px 0 #10123e; }
.desktop { width: 59%; aspect-ratio: 1.42; left: 12%; top: 22%; background: var(--paper); rotate: -12deg; }
.device-bar { display: flex; gap: 5px; padding: 9px; border-bottom: 2px solid var(--ink); }
.device-bar i { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.device-main { display: grid; justify-items: start; gap: .45rem; padding: 7%; }
.device-main b { color: var(--blue); font: 600 clamp(1.6rem, 5vw, 4.4rem)/1 var(--mono); margin-bottom: .16em; }
.device-main span { width: 68%; height: 4px; background: var(--ink); opacity: .45; }
.device-main span:nth-of-type(2) { width: 43%; }
.mobile { width: 28%; aspect-ratio: .62; right: 13%; bottom: 15%; background: var(--lime); border-radius: 1.2rem; rotate: 15deg; }
.mobile .device-main { padding: 20% 11%; }
.mobile b { font-size: clamp(1.25rem, 4vw, 2.5rem); }
.spark { position: absolute; color: var(--lime); line-height: 1; pointer-events: none; }
.first { font-size: clamp(2.8rem, 6vw, 5.5rem); right: 10%; top: 10%; }
.second { font-size: 3rem; left: 12%; bottom: 13%; }
.section { padding-top: clamp(3rem, 8vw, 7rem); }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-bottom: 1.2rem; }
.text-link { font-weight: 700; }
.text-link:hover { text-decoration-thickness: 3px; }
.projects, .events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--line); background: #fffcf4; }
.featured { display: grid; grid-column: 1/-1; grid-template-columns: 1.05fr 1fr; }
.project-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.2rem, 4vw, 2.8rem); }
.project-copy .text-link { margin-top: auto; }
.category { margin: 0 0 .75rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.tags li { padding: .2em .55em; background: #e6eaff; font-size: .85rem; font-weight: 600; }
.art { display: grid; place-items: center; min-height: 190px; overflow: hidden; border-bottom: 2px solid var(--line); }
.featured .art { min-height: 300px; border-bottom: 0; border-right: 2px solid var(--line); }
.art-gradmate { background: repeating-linear-gradient(135deg, transparent 0 27px, #ffffff38 27px 28px), var(--blue); }
.art-wallet { background: #d5edff; }
.art-marks { background: #e6e0fc; }
.sample { width: min(74%, 235px); background: #fff; padding: .9rem; border: 2px solid var(--line); box-shadow: 6px 6px 0 var(--ink); rotate: -7deg; transition: rotate .4s, translate .4s; }
.project:hover .sample { rotate: 0deg; translate: 0 -6px; }
.sample strong, .sample small { display: block; }
.sample strong { font-size: 1.1rem; }
.phone { width: 154px; border-radius: 16px; background: var(--lime); }
.phone span { display: block; margin-top: .35rem; border: 1px solid var(--line); padding: .2rem .35rem; font-size: .75rem; }
.meter { height: 6px; background: linear-gradient(90deg, var(--blue) 65%, #aec65d 65%); margin: .5rem 0; }
.bars { height: 48px; display: flex; align-items: end; gap: .33rem; }
.bars i { height: 35%; background: var(--blue); flex: 1; }
.bars i:nth-child(2n) { height: 55%; }
.bars i:nth-child(3n) { height: 86%; }
.sheet { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; font-size: .75rem; }
.sheet i { background: #c4bcf6; height: .28rem; }
.project-image { width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.project-text-only.featured { grid-template-columns: 1fr; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); }
.about h2 { margin-bottom: 1rem; }
.stack { margin: 0; padding: 1rem 1.2rem; background: var(--lime); border: 2px solid var(--line); }
.stack div { display: grid; grid-template-columns: 1fr 1.2fr; gap: .8rem; padding: .55rem 0; }
.stack div + div { border-top: 1px solid var(--line); }
.stack dt { font-weight: 700; }
.stack dd { margin: 0; }
.events article { padding: 1.25rem; border-top: 2px solid var(--line); background: #fffcf4; }
.events article p:last-child { margin-bottom: 0; }
.contact { padding: clamp(1.5rem, 7vw, 5rem); background: var(--blue); color: white; }
.contact p { margin: .7rem 0 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-outline { border-color: white; color: white; }
.footer { padding-block: 1.5rem; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 32px); }
  .hero, .about, .projects, .events, .featured { grid-template-columns: 1fr; }
  .hero-visual { min-height: clamp(255px, 63vw, 410px); border-left: 0; border-top: 2px solid var(--line); }
  .desktop { max-width: 290px; }
  .mobile { max-width: 120px; }
  h1 { font-size: clamp(3rem, 13vw, 6rem); }
  .featured .art { border-right: 0; border-bottom: 2px solid var(--line); min-height: 230px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.75,.25,1) both; }
  .hero-copy h1 { animation-delay: .09s; }
  .hero-copy .role { animation-delay: .17s; }
  .hero-copy .dek { animation-delay: .23s; }
  .hero-copy .button { animation-delay: .3s; }
  .desktop, .mobile { animation: float-in 1s cubic-bezier(.2,.75,.25,1) both, bob 3.5s ease-in-out 1s; }
  .mobile { animation-delay: .18s, 1.18s; }
  .first { animation: turn 4s ease-in-out; }
  .second { animation: turn 3.6s ease-in-out .45s reverse; }
  @keyframes rise { from { opacity: 0; translate: 0 18px; } }
  @keyframes float-in { from { opacity: 0; translate: 0 44px; scale: .88; } }
  @keyframes bob { 50% { translate: 0 -12px; } }
  @keyframes turn { 50% { rotate: 75deg; scale: 1.14; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .sample { transition: none; }
  .button:hover { transform: none; }
  .project:hover .sample { translate: none; rotate: -7deg; }
}
