/* ------------------------------------------------------------------
   Justin Baker — modern Aqua: bright glass, deep blue, soft water.
   Plain CSS. No frameworks, no build step, no image files.
   ------------------------------------------------------------------ */

:root {
  --ink: #0e2438;
  --ink-soft: #435a70;
  --ink-mute: #526a7e;
  --line: rgba(90, 140, 190, .18);

  --blue: #0a84ff;
  --blue-deep: #0a6fd0;
  --aqua: #00a7c4;
  --pink: #d92f75;
  --pink-deep: #b81b64;
  --rose: #ff9dcb;

  --green-1: #8ce79c;
  --green-2: #2fae4c;
  --green-3: #1a8234;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #dcefff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
header,
footer { position: relative; z-index: 1; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.03em;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: #0a6fc2; }

::selection {
  background: rgba(255, 120, 175, .28);
  color: #3d0b23;
}

:focus-visible {
  outline: 2px solid #0a6fc2;
  outline-offset: 3px;
  border-radius: 6px;
}

section[id] { scroll-margin-top: 100px; }

.shell {
  width: min(1040px, calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 40;
  padding: 9px 14px;
  border: 1px solid rgba(120, 165, 210, .5);
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  color: #12314d;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(30, 80, 130, .2);
  transition: top .15s ease;
}

.skip-link:focus { top: 12px; }

/* ---------- the light desktop ---------- */

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #e7f4ff;
  pointer-events: none;
}

.scene__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 640px at 80% -10%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 62%),
    radial-gradient(1000px 720px at 66% 10%, rgba(96, 185, 255, .5), rgba(96, 185, 255, 0) 66%),
    radial-gradient(820px 620px at 2% 26%, rgba(70, 212, 212, .3), rgba(70, 212, 212, 0) 62%),
    radial-gradient(780px 600px at 94% 76%, rgba(255, 151, 198, .34), rgba(255, 151, 198, 0) 66%),
    radial-gradient(760px 540px at 44% 108%, rgba(148, 185, 255, .4), rgba(148, 185, 255, 0) 68%),
    linear-gradient(168deg, #f1faff 0%, #dceffd 34%, #c6e2f7 70%, #b4d7f0 100%);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  transform: translate3d(0, var(--par, 0), 0);
  will-change: transform;
}

.aurora--one {
  width: 72vw;
  height: 62vh;
  top: -24vh;
  right: -14vw;
  background: radial-gradient(circle at 42% 42%, rgba(66, 156, 255, .55), rgba(66, 156, 255, 0) 68%);
}

.aurora--two {
  width: 60vw;
  height: 55vh;
  bottom: -22vh;
  left: -16vw;
  background: radial-gradient(circle at 50% 50%, rgba(40, 208, 202, .36), rgba(40, 208, 202, 0) 68%);
}

.aurora--three {
  width: 56vw;
  height: 52vh;
  top: 26vh;
  left: 36vw;
  background: radial-gradient(circle at 50% 50%, rgba(255, 126, 182, .3), rgba(255, 126, 182, 0) 66%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  transform: translate3d(0, var(--par, 0), 0);
  will-change: transform;
}

.orb--one {
  width: min(520px, 44vw);
  aspect-ratio: 1;
  top: 1vh;
  right: -7vw;
  border: 1px solid rgba(255, 255, 255, .6);
  background:
    radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 9%, rgba(255, 255, 255, .12) 28%, rgba(160, 225, 255, .08) 50%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .02) 54%, rgba(255, 255, 255, .3) 79%, rgba(255, 255, 255, 0) 85%);
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, .45),
    0 24px 70px rgba(80, 155, 225, .12);
  opacity: .9;
}

.orb--two {
  width: min(186px, 21vw);
  aspect-ratio: 1;
  left: 5vw;
  bottom: 14vh;
  border: 1px solid rgba(255, 165, 205, .6);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0%, rgba(255, 230, 242, .5) 16%, rgba(255, 150, 198, .14) 48%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .02) 52%, rgba(255, 190, 220, .32) 78%, rgba(255, 255, 255, 0) 86%);
  box-shadow:
    inset 0 0 46px rgba(255, 205, 230, .6),
    0 20px 50px rgba(210, 70, 135, .14);
  opacity: .72;
}

.bokeh {
  position: absolute;
  inset: -12% -6%;
  background-repeat: repeat;
  opacity: .55;
  transform: translate3d(0, var(--par, 0), 0);
  will-change: transform;
}

.bokeh--far {
  background-image:
    radial-gradient(2px 2px at 10% 22%, rgba(255, 255, 255, .95), transparent 100%),
    radial-gradient(3px 3px at 64% 11%, rgba(255, 255, 255, .75), transparent 100%),
    radial-gradient(4px 4px at 34% 68%, rgba(255, 255, 255, .7), transparent 100%),
    radial-gradient(2px 2px at 86% 72%, rgba(120, 190, 245, .45), transparent 100%),
    radial-gradient(3px 3px at 22% 91%, rgba(255, 255, 255, .6), transparent 100%),
    radial-gradient(2px 2px at 52% 44%, rgba(255, 255, 255, .5), transparent 100%),
    radial-gradient(2px 2px at 78% 38%, rgba(255, 140, 195, .55), transparent 100%);
  background-size: 380px 340px, 520px 450px, 700px 620px, 820px 720px, 940px 840px, 600px 560px, 660px 600px;
  background-position: 0 0, 120px 70px, 40px 180px, 210px 30px, 90px 140px, 300px 220px, 330px 120px;
}

.bokeh--near {
  background-image:
    radial-gradient(4px 4px at 18% 34%, rgba(255, 255, 255, .9), transparent 100%),
    radial-gradient(3px 3px at 72% 62%, rgba(255, 255, 255, .75), transparent 100%),
    radial-gradient(5px 5px at 46% 84%, rgba(255, 255, 255, .8), transparent 100%),
    radial-gradient(3px 3px at 90% 18%, rgba(120, 190, 245, .4), transparent 100%),
    radial-gradient(4px 4px at 58% 44%, rgba(255, 155, 200, .42), transparent 100%);
  background-size: 520px 460px, 680px 600px, 900px 800px, 780px 700px, 640px 560px;
  background-position: 40px 20px, 180px 120px, 260px 60px, 10px 260px, 420px 240px;
  opacity: .7;
}

.ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(255, 255, 255, .35),
    0 0 60px rgba(110, 175, 235, .1);
  transform: translate3d(0, var(--par, 0), 0);
  will-change: transform;
}

.ring--one {
  width: min(1100px, 96vw);
  aspect-ratio: 1;
  top: 2vh;
  right: -26vw;
}

.ring--two {
  width: min(720px, 70vw);
  aspect-ratio: 1;
  top: 20vh;
  right: -12vw;
  border-color: rgba(255, 190, 220, .55);
  box-shadow:
    inset 0 0 90px rgba(255, 225, 240, .35),
    0 0 60px rgba(220, 90, 150, .12);
}

.scene__glow {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -34vh;
  height: 72vh;
  background: radial-gradient(50% 100% at 50% 100%, rgba(255, 255, 255, .9), rgba(210, 235, 255, 0) 70%);
  filter: blur(20px);
}

.scene__grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: .06;
  mix-blend-mode: multiply;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0;
  pointer-events: none;
}

.topbar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  padding: 0 13px 0 16px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(245, 251, 255, .66));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 18px 44px -30px rgba(20, 60, 110, .5),
    inset 0 1px 0 #fff;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #12293e;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 34px;
  height: 22px;
  border: 1px solid rgba(8, 44, 78, .5);
  border-radius: 5px;
  background: linear-gradient(180deg, #a9dcff 0%, #4a9ade 50%, #17619b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    0 2px 6px rgba(20, 70, 120, .25);
}

.brand__mark i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.brand__mark i:first-child { background: #ff6259; }
.brand__mark i:nth-child(2) { background: #febc2e; }
.brand__mark i:last-child { background: #2ac93f; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #3b566f;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}

.nav a:hover {
  color: #093a63;
  background: rgba(10, 110, 200, .08);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(.97);
}

.btn--blue {
  border-color: #0a6fd0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .12) 46%, rgba(255, 255, 255, 0) 47%),
    linear-gradient(180deg, #6fc4ff 0%, #1a8cf0 46%, #0a6fd0 52%, #2b9bf5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -1px 2px rgba(0, 0, 0, .18),
    0 12px 28px -14px rgba(10, 120, 220, .65);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .24);
}

.btn--pink {
  border-color: var(--pink-deep);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .1) 46%, rgba(255, 255, 255, 0) 47%),
    linear-gradient(180deg, #ff9dcb 0%, #d92f75 46%, #b81b64 52%, #f4579a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 -1px 2px rgba(0, 0, 0, .16),
    0 12px 28px -14px rgba(210, 40, 110, .6);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(90, 0, 40, .3);
}

.btn--glass {
  border-color: rgba(120, 160, 200, .38);
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .62));
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 26px -20px rgba(20, 60, 100, .35);
  color: #17364f;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: 58px 0 92px;
}

.hero__copy { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #246a91;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(224, 69, 139, .5);
}

.hero h1 {
  margin-top: 20px;
  color: #0c2237;
  font-size: clamp(2.7rem, 5.1vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.hero h1 span {
  color: #0a6fc2;
  background: linear-gradient(100deg, #0a6fd0 0%, #0a93bd 34%, #8a58d0 64%, #de3f86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 3px 12px rgba(180, 60, 130, .18));
}

.lede {
  max-width: 44ch;
  margin-top: 22px;
  color: #344b60;
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
  color: #4d687f;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero__meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 11px;
  border-radius: 50%;
  background: rgba(217, 47, 117, .45);
}

/* ---------- layered panes ---------- */

.layers {
  position: relative;
  width: 100%;
  max-width: 474px;
  height: 480px;
  margin-left: auto;
  animation: rise 1.1s .18s cubic-bezier(.2, .7, .2, 1) both;
}

.layers::before {
  content: "";
  position: absolute;
  inset: 4% 0 0;
  background:
    radial-gradient(closest-side at 74% 30%, rgba(255, 150, 200, .4), rgba(255, 150, 200, 0) 72%),
    radial-gradient(closest-side at 40% 55%, rgba(120, 195, 255, .42), rgba(120, 195, 255, 0) 72%);
  filter: blur(36px);
  z-index: 0;
}

.layer {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(150, 190, 230, .55);
  border-radius: 14px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .97), rgba(235, 246, 255, .9));
  box-shadow:
    0 34px 76px -32px rgba(20, 60, 110, .5),
    0 3px 10px rgba(20, 60, 110, .06),
    inset 0 1px 0 #fff;
  transform: translate3d(var(--mx, 0px), calc(var(--par, 0px) + var(--my, 0px)), 0) rotate(var(--rot, 0deg));
  transform-origin: 50% 50%;
  will-change: transform;
}

.layer--back {
  --rot: -6deg;
  top: 0;
  right: 46px;
  width: 78%;
  z-index: 1;
  opacity: .84;
}

.layer--mid {
  --rot: 2.6deg;
  top: 148px;
  right: 0;
  width: 84%;
  z-index: 2;
  opacity: .95;
}

.layer--front {
  --rot: -1.4deg;
  top: 300px;
  left: 0;
  width: 88%;
  z-index: 3;
}

.layer__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(120, 160, 200, .24);
  background: linear-gradient(180deg, #fbfdff, #eaf3fc);
}

.layer__file {
  color: #4f6a80;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .04em;
}

.layer__dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(90, 140, 190, .35);
  box-shadow: 0 0 6px rgba(90, 140, 190, .25);
}

.layer__dot--live {
  background: #2fbf55;
  box-shadow: 0 0 9px rgba(47, 191, 85, .5);
}

.lights {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .8),
    inset 0 -1px 2px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(0, 0, 0, .18);
}

.lights--sm { gap: 4px; }

.lights--sm .light { width: 6px; height: 6px; }

.light--red { background: radial-gradient(circle at 34% 28%, #ff9a92, #ff5f57 55%, #c33a33); }
.light--amber { background: radial-gradient(circle at 34% 28%, #ffe08a, #febc2e 55%, #c48f16); }
.light--green { background: radial-gradient(circle at 34% 28%, #b6f5a8, #2ac93f 55%, #1f8f2e); }

.layer__body { padding: 14px 16px 16px; }

.layer__kicker {
  color: #2b6f99;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.layer__title {
  margin-top: 5px;
  color: #0f263b;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.layer__copy {
  margin-top: 3px;
  color: #536b80;
  font-size: 10.5px;
  letter-spacing: .05em;
}

.layer__art {
  width: 100%;
  height: 38px;
  margin-top: 11px;
}

.scrollcue {
  position: absolute;
  left: 0;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #476274;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .3s ease, visibility .3s ease;
}

body.is-scrolled .scrollcue {
  opacity: 0;
  visibility: hidden;
}

.scrollcue__line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 69, 139, .5), rgba(224, 69, 139, 0));
}

.scrollcue:hover { color: #0a3a63; }

/* ---------- work ---------- */

.work { padding: 104px 0 122px; }

.sectionhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 42px;
}

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #21678f;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(43, 123, 166, .55), rgba(224, 69, 139, .5));
}

.sectionhead h2 {
  margin-top: 12px;
  color: #0c2237;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.sectionhead__sub {
  max-width: 340px;
  padding: 2px 0 4px 16px;
  border-left: 1px solid rgba(70, 130, 180, .28);
  color: #465f73;
  font-size: 14px;
  line-height: 1.65;
}

.workgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.workcard {
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid rgba(150, 190, 230, .5);
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(240, 248, 255, .82));
  box-shadow:
    0 26px 58px -34px rgba(20, 60, 110, .5),
    inset 0 1px 0 #fff;
}

.workcard:nth-child(2) { margin-top: 42px; }
.workcard:nth-child(3) { margin-top: 84px; }

.workcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.workcard__num {
  color: #22688f;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
}

.workcard__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 9px;
  background: linear-gradient(160deg, #7fc8ff, #2a7fc4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    0 6px 14px -6px rgba(20, 80, 140, .55);
  color: #fff;
}

.workcard__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workcard:nth-child(2) .workcard__icon {
  background: linear-gradient(160deg, #ffb0d2, #d93a86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    0 6px 14px -6px rgba(160, 30, 90, .5);
}

.workcard:nth-child(3) .workcard__icon {
  background: linear-gradient(160deg, #7fe6cf, #1c9a86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    0 6px 14px -6px rgba(20, 120, 110, .5);
}

.workcard h3 {
  margin-top: 18px;
  color: #0f2438;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.workcard p {
  margin-top: 8px;
  color: #3a5167;
  font-size: 14px;
  line-height: 1.65;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.stack li {
  padding: 5px 8px;
  border: 1px solid rgba(90, 140, 190, .25);
  border-radius: 4px;
  background: rgba(255, 255, 255, .65);
  color: #3c556b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- projects ---------- */

.projects { padding: 24px 0 122px; }

.projectgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.projectcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid rgba(150, 190, 230, .5);
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(240, 248, 255, .82));
  box-shadow:
    0 26px 58px -34px rgba(20, 60, 110, .5),
    inset 0 1px 0 #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.projectcard:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 170, 225, .85);
  box-shadow:
    0 34px 66px -32px rgba(20, 60, 110, .58),
    inset 0 1px 0 #fff;
}

.projectcard--wide {
  grid-column: 1 / -1;
  padding: 24px 26px;
}

.projectcard__mark {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: linear-gradient(160deg, #7fc8ff, #2a7fc4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    0 6px 14px -8px rgba(20, 80, 140, .55);
  color: #fff;
  font-size: 11.5px;
  line-height: 1;
  transition: transform .18s ease;
}

.projectcard:hover .projectcard__mark { transform: translate(2px, -2px); }

.projectcard__path {
  padding-right: 36px;
  color: #22688f;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
}

.projectcard h3 {
  margin-top: 8px;
  padding-right: 36px;
  color: #0f2438;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.projectcard--wide h3 { margin-top: 10px; font-size: 22px; }

.projectcard__copy {
  margin-top: 8px;
  color: #3a5167;
  font-size: 13.5px;
  line-height: 1.65;
}

.projectcard--wide .projectcard__copy {
  max-width: 82ch;
  font-size: 14.5px;
}

.projectcard .stack {
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- about ---------- */

.about {
  position: relative;
  padding: 24px 0 118px;
  isolation: isolate;
}

.sectionhead--tight { margin-bottom: 28px; }

.about .sectionhead,
.about .sheet { position: relative; z-index: 1; }

.sheet {
  overflow: hidden;
  border: 1px solid rgba(150, 190, 230, .55);
  border-radius: 16px;
  background: linear-gradient(152deg, rgba(255, 255, 255, .96), rgba(237, 247, 255, .86));
  box-shadow:
    0 44px 92px -40px rgba(20, 60, 110, .45),
    inset 0 1px 0 #fff;
}

.sheet__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(120, 160, 200, .24);
  background: linear-gradient(180deg, #fbfdff, #eaf3fc);
  color: #476175;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sheet__title { flex: 1; text-align: center; }

.sheet__version {
  padding: 3px 7px;
  border: 1px solid rgba(225, 90, 150, .3);
  border-radius: 5px;
  background: rgba(255, 214, 232, .55);
  color: #b81b64;
  letter-spacing: .1em;
}

.sheet__body {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 34px;
  padding: 26px;
}

.sheet__id { align-self: center; }

.monogram {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding-bottom: 3px;
  border: 1px solid rgba(120, 180, 235, .65);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .44) 0%, rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, 0) 47%),
    linear-gradient(155deg, #8ed0ff 0%, #4a90d9 34%, #7b64c9 68%, #d1478f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -14px 28px rgba(0, 0, 0, .2),
    0 16px 34px -14px rgba(120, 50, 130, .45);
  color: #fff;
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}

.sheet__id h3 {
  margin-top: 18px;
  color: #0f2438;
  font-size: 21px;
  letter-spacing: -.02em;
}

.sheet__role {
  margin-top: 4px;
  color: #22688f;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sheet__place {
  margin-top: 4px;
  color: #536b80;
  font-size: 12.5px;
}

.sheet__text p {
  max-width: 64ch;
  color: #354d62;
  font-size: 14.5px;
  line-height: 1.7;
}

.sheet__text p + p { margin-top: 12px; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 22px 0 0;
  border-top: 1px solid rgba(90, 140, 190, .2);
}

.specs > div {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(90, 140, 190, .12);
}

.specs dt {
  width: 84px;
  flex: none;
  padding-top: 2px;
  color: #526a7e;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.specs dd {
  margin: 0;
  color: #1d3549;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

.specs a {
  color: #0a6fc2;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 111, 194, .28);
}

.specs a:hover { border-bottom-color: #0a6fc2; }

/* ---------- contact ---------- */

.contact {
  padding: 26px 0 140px;
  text-align: center;
}

.contact .label { justify-content: center; }

.contact h2 {
  max-width: 16ch;
  margin: 16px auto 0;
  color: #0c2237;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.contact__copy {
  max-width: 48ch;
  margin: 18px auto 0;
  color: #3a5267;
  font-size: 14.5px;
  line-height: 1.7;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.contact__mail {
  margin-top: 30px;
  color: #466174;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, .8);
  padding: 26px 0 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .55));
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__brand {
  color: #203a51;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .02em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links a {
  color: #476074;
  font-size: 12.5px;
  text-decoration: none;
}

.footer__links a:hover { color: #0a6fc2; }

.footer__fine {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(90, 140, 190, .16);
  color: #556c80;
  font-size: 11.5px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 46px 0 78px;
    gap: 46px;
  }

  .hero__copy { max-width: 620px; }

  .layers {
    max-width: 440px;
    height: 460px;
    margin: 0 auto;
  }

  .layer--mid { top: 140px; }
  .layer--front { top: 284px; }

  .scrollcue { display: none; }

  .sectionhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .sectionhead__sub { max-width: 520px; }

  .work { padding: 78px 0 82px; }

  .workgrid { grid-template-columns: 1fr; gap: 18px; }

  .projects { padding: 20px 0 82px; }

  .projectgrid { grid-template-columns: 1fr; gap: 16px; }

  .workcard:nth-child(2),
  .workcard:nth-child(3) { margin-top: 0; }

  .about { padding: 20px 0 82px; }

  .sheet__body {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
  }

  .monogram { width: 96px; height: 96px; font-size: 32px; }

  .contact { padding: 20px 0 104px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1040px); }

  .topbar { padding: 10px 0; }

  .topbar__bar {
    height: 54px;
    padding: 0 10px 0 12px;
    border-radius: 12px;
  }

  .brand { gap: 8px; font-size: 12px; }
  .brand__mark { width: 29px; height: 19px; gap: 2.5px; }
  .brand__mark i { width: 3.5px; height: 3.5px; }

  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 7px;
    font-size: 12px;
  }

  .hero { padding: 30px 0 44px; gap: 26px; }
  .hero h1 { margin-top: 16px; }
  .lede { font-size: 16px; }
  .hero__actions { margin-top: 24px; }
  .hero__meta { margin-top: 26px; }

  .layers { height: 404px; max-width: 400px; }
  .layer--mid { top: 118px; }
  .layer--front { top: 246px; }
  .layer__body { padding: 13px 15px 15px; }
  .layer__title { font-size: 19px; }
  .layer__art { height: 28px; margin-top: 9px; }

  .work { padding: 64px 0 70px; }
  .sectionhead { margin-bottom: 30px; }

  .projects { padding: 16px 0 70px; }
  .projectcard { padding: 18px; }
  .projectcard--wide { padding: 20px 18px; }
  .projectcard--wide h3 { font-size: 20px; }
  .projectcard__copy,
  .projectcard--wide .projectcard__copy { font-size: 13.5px; }

  .sheet__body { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .sheet__id { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .sheet__id .monogram { width: 68px; height: 68px; font-size: 24px; border-radius: 12px; }
  .sheet__id h3 { margin-top: 0; }
  .sheet__role, .sheet__place { width: 100%; }

  .about { padding: 16px 0 70px; }
  .about__num { top: -30px; font-size: 180px; }

  .contact { padding: 10px 0 90px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__fine { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  .nav a { padding: 8px 6px; font-size: 12px; }

  .nav a.nav__sm-hide { display: none; }
  .brand span:last-child { font-size: 12px; }

  .hero__meta {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px 18px;
  }

  .hero__meta span + span::before { display: none; }

  .layers { height: 336px; max-width: 350px; }
  .layer--mid { top: 96px; }
  .layer--front { top: 196px; }

  .layer--back .layer__copy { display: none; }
  .layer__bar { height: 24px; }
  .layer__body { padding: 11px 12px 12px; }
  .layer__title { font-size: 17px; }
  .layer__copy { font-size: 9.5px; }
  .layer__art { height: 24px; margin-top: 8px; }

  .specs { grid-template-columns: 1fr; }
  .specs > div:last-child { border-bottom: 0; }

  .contact h2 { max-width: 12ch; }
}

@media (max-width: 344px) {
  .brand span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__copy,
  .layers { animation: none; }

  *,
  *::before,
  *::after { transition: none !important; }
}
