:root {
  --page: #e9f6f2;
  --page-warm: #f8fbf8;
  --ink: #17201f;
  --ink-soft: #586361;
  --line: rgba(255, 255, 255, 0.58);
  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.52);
  --shadow: 0 24px 80px rgba(57, 96, 88, 0.12);
  --shadow-hover: 0 30px 90px rgba(50, 83, 79, 0.17);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(246, 253, 250, 0.82), rgba(231, 246, 241, 0.9)),
    var(--page);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

::selection {
  color: #12201c;
  background: rgba(104, 221, 181, 0.38);
}

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% -5%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(215, 240, 233, 0.44));
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.78;
  will-change: transform;
}

.ambient-orb-a {
  width: 42vw;
  height: 42vw;
  min-width: 360px;
  min-height: 360px;
  top: -16vw;
  left: -8vw;
  background: rgba(104, 226, 178, 0.45);
  animation: float-a 18s ease-in-out infinite alternate;
}

.ambient-orb-b {
  width: 44vw;
  height: 44vw;
  min-width: 380px;
  min-height: 380px;
  top: 12vh;
  right: -18vw;
  background: rgba(121, 183, 255, 0.38);
  animation: float-b 22s ease-in-out infinite alternate;
}

.ambient-orb-c {
  width: 32vw;
  height: 32vw;
  min-width: 300px;
  min-height: 300px;
  left: 36vw;
  bottom: -16vw;
  background: rgba(223, 167, 255, 0.24);
  animation: float-c 20s ease-in-out infinite alternate;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

@keyframes float-a {
  to { transform: translate3d(8vw, 7vh, 0) scale(1.08); }
}

@keyframes float-b {
  to { transform: translate3d(-10vw, 9vh, 0) scale(1.12); }
}

@keyframes float-c {
  to { transform: translate3d(4vw, -7vh, 0) scale(1.1); }
}

.glass {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.18)),
    var(--glass);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    var(--shadow);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0) 58%
    );
  opacity: 0.62;
}

.glass-strong {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.28)),
    var(--glass-strong);
}

.site-header {
  padding-top: 18px;
  position: relative;
  z-index: 20;
}

.nav {
  min-height: 62px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 14px;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: #1d3a31;
  background:
    linear-gradient(135deg, rgba(118, 232, 192, 0.88), rgba(169, 205, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 8px 18px rgba(70, 120, 108, 0.14);
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.hero {
  padding-top: 26px;
}

.hero-card {
  min-height: 670px;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 72px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -190px;
  bottom: -210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.hero-copy,
.hero-visual,
.hero-meta {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-index,
.project-type {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #42665b;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64d8ad;
  box-shadow: 0 0 0 5px rgba(100, 216, 173, 0.15);
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: clamp(54px, 7.4vw, 100px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 730;
}

.hero-gradient {
  display: block;
  color: transparent;
  background:
    linear-gradient(100deg, #294f44 0%, #4f8d78 34%, #6597b0 66%, #776d9d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  position: relative;
  z-index: 1;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 690;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #f5fffb;
  background:
    linear-gradient(135deg, rgba(45, 75, 68, 0.96), rgba(34, 53, 52, 0.96));
  box-shadow: 0 12px 30px rgba(37, 69, 61, 0.18);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(37, 69, 61, 0.25);
}

.button-glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.hero-visual {
  height: 420px;
  display: grid;
  place-items: center;
}

.hero-window {
  width: min(100%, 430px);
  aspect-ratio: 0.92;
  border-radius: 32px;
  transform: rotate(4deg);
  padding: 18px;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1);
}

.hero-card:hover .hero-window {
  transform: rotate(1.7deg) translateY(-6px);
}

.window-top {
  position: relative;
  z-index: 1;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-top > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(53, 75, 71, 0.23);
}

.window-top small {
  margin-left: auto;
  color: rgba(41, 63, 59, 0.48);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.window-content {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.window-line {
  height: 16px;
  border-radius: 999px;
  background: rgba(49, 78, 70, 0.12);
}

.line-wide {
  width: 82%;
}

.line-medium {
  width: 48%;
  margin-top: 9px;
}

.window-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 110px 86px;
  gap: 11px;
}

.window-tile {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
}

.tile-a {
  grid-row: 1 / 3;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.62), transparent 26%),
    linear-gradient(145deg, rgba(102, 220, 183, 0.46), rgba(123, 182, 245, 0.27));
}

.tile-b {
  background:
    linear-gradient(145deg, rgba(255,255,255,.42), rgba(206, 172, 249, 0.3));
}

.tile-c {
  background:
    linear-gradient(145deg, rgba(255,255,255,.38), rgba(238, 189, 118, 0.26));
}

.hero-glass-orb {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 20px 50px rgba(70,100,94,.13);
}

.orb-one {
  width: 112px;
  height: 112px;
  top: 22px;
  right: -10px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.88), transparent 18%),
    linear-gradient(145deg, rgba(127, 229, 197, 0.42), rgba(128, 169, 248, 0.28));
  animation: orb-one 7s ease-in-out infinite alternate;
}

.orb-two {
  width: 72px;
  height: 72px;
  left: 2px;
  bottom: 26px;
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,.86), transparent 19%),
    linear-gradient(145deg, rgba(243, 184, 221, 0.34), rgba(147, 198, 252, 0.26));
  animation: orb-two 8s ease-in-out infinite alternate;
}

@keyframes orb-one {
  to { transform: translate3d(-12px, 16px, 0) rotate(8deg); }
}

@keyframes orb-two {
  to { transform: translate3d(15px, -10px, 0) rotate(-6deg); }
}

.hero-meta {
  position: absolute;
  left: clamp(32px, 6vw, 72px);
  right: clamp(32px, 6vw, 72px);
  bottom: 28px;
  display: flex;
  gap: 22px;
  color: rgba(58, 76, 72, 0.56);
  font-size: 12px;
}

.projects {
  padding-top: 126px;
}

.section-heading,
.group-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 14px 36px rgba(57,96,88,.08);
}

.filter {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.filter:hover {
  color: var(--ink);
}

.filter.is-active {
  color: #213a34;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 5px 16px rgba(61, 103, 94, 0.09);
}

.project-group {
  margin-top: 82px;
}

.project-group[hidden] {
  display: none;
}

.group-heading {
  margin-bottom: 24px;
}

.group-heading h3 {
  margin: 7px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.group-heading > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: right;
  font-size: 14px;
}

.project-grid {
  display: grid;
  gap: 15px;
}

.project-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid-compact,
.project-grid-tools {
  margin-top: 15px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid-community {
  grid-template-columns: minmax(0, 1fr);
}

.project-card {
  --mx: 50%;
  --my: 20%;
  --accent: 110, 220, 181;
  position: relative;
  isolation: isolate;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition:
    transform 280ms cubic-bezier(.2,.8,.2,1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      420px circle at var(--mx) var(--my),
      rgba(255,255,255,.68),
      rgba(var(--accent), .14) 28%,
      transparent 62%
    );
  transition: opacity 240ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.83);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.88),
    var(--shadow-hover);
}

.project-card:hover::after {
  opacity: 0.72;
}

.project-featured {
  min-height: 520px;
}

.community-card {
  min-height: 360px;
}

.card-top,
.card-content,
.project-art {
  position: relative;
  z-index: 2;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-number {
  color: rgba(52, 72, 67, 0.58);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.09em;
}

.project-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: rgba(40, 61, 56, 0.58);
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.55);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.project-card:hover .project-link {
  color: var(--ink);
  background: rgba(255,255,255,.52);
  transform: translate(2px, -2px);
}

.project-art {
  flex: 1;
  min-height: 170px;
  margin-block: 18px 16px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 15%, rgba(255,255,255,.62), transparent 28%),
    linear-gradient(145deg, rgba(var(--accent), .23), rgba(255,255,255,.14));
  border: 1px solid rgba(255,255,255,.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.66),
    inset 0 -24px 50px rgba(var(--accent), .06);
}

.project-featured .project-art {
  min-height: 245px;
}

.card-content {
  margin-top: auto;
}

.card-content h4 {
  margin: 7px 0 8px;
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.06;
  letter-spacing: -0.042em;
}

.card-content > p:not(.project-type) {
  min-height: 43px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.52;
}

.project-domain {
  display: inline-block;
  margin-top: 16px;
  color: rgba(64, 81, 77, 0.56);
  font-size: 11px;
  letter-spacing: 0.015em;
}

/* Accent palette */
.accent-green { --accent: 102, 214, 154; }
.accent-blue { --accent: 104, 174, 245; }
.accent-amber { --accent: 236, 177, 93; }
.accent-cyan { --accent: 73, 197, 217; }
.accent-violet { --accent: 159, 127, 232; }
.accent-rose { --accent: 237, 129, 151; }
.accent-indigo { --accent: 126, 138, 231; }
.accent-lime { --accent: 157, 207, 99; }
.accent-mint { --accent: 91, 216, 182; }
.accent-orange { --accent: 239, 153, 88; }
.accent-purple { --accent: 174, 119, 231; }
.accent-emerald { --accent: 87, 194, 145; }

/* Project art: city */
.art-city {
  background:
    linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px),
    radial-gradient(circle at 25% 15%, rgba(255,255,255,.64), transparent 28%),
    linear-gradient(145deg, rgba(102,214,154,.3), rgba(102,176,233,.17));
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.city-block {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: 0 10px 24px rgba(71,115,100,.12);
}

.city-a { left: 22%; top: 27%; }
.city-b { left: 49%; top: 42%; transform: scale(1.35); }
.city-c { right: 15%; top: 18%; transform: scale(.78); }

.city-road {
  position: absolute;
  width: 82%;
  height: 13px;
  left: 9%;
  bottom: 23%;
  border-radius: 999px;
  background: rgba(56,92,82,.19);
  transform: rotate(-8deg);
}

/* Project art: road */
.art-road {
  background:
    radial-gradient(circle at 68% 22%, rgba(255,255,255,.72), transparent 11%),
    linear-gradient(180deg, rgba(117,196,245,.24) 0 51%, rgba(129,204,151,.24) 51% 100%);
}

.road-sun {
  position: absolute;
  top: 18%;
  right: 21%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  box-shadow: 0 0 44px rgba(255,255,255,.44);
}

.road-shape {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 52%;
  height: 92%;
  transform: translateX(-50%);
  background: rgba(53,75,75,.18);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
}

.road-line {
  position: absolute;
  left: 50%;
  bottom: -9%;
  width: 2px;
  height: 78%;
  transform: translateX(-50%) perspective(120px) rotateX(24deg);
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.9) 0 10px,
    transparent 10px 21px
  );
  transform-origin: top;
  animation: road-line 2.7s linear infinite;
}

@keyframes road-line {
  to { background-position-y: 31px; }
}

/* Project art: board */
.art-board {
  background:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(145deg, rgba(236,177,93,.28), rgba(255,255,255,.14));
  background-size: 28px 28px;
}

.board-piece {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 8px 18px rgba(86,74,50,.13);
}

.piece-a {
  left: 29%;
  top: 34%;
  background: rgba(255,255,255,.66);
}

.piece-b {
  right: 24%;
  bottom: 24%;
  background: rgba(83,106,101,.34);
}

.board-wall {
  position: absolute;
  width: 42%;
  height: 12px;
  left: 30%;
  top: 56%;
  border-radius: 999px;
  background: rgba(159,105,50,.26);
  transform: rotate(-18deg);
}

/* Project art: radar */
.art-radar {
  background:
    radial-gradient(circle at center, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(145deg, rgba(73,197,217,.28), rgba(79,132,202,.15));
}

.radar-ring {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-a { width: 58%; aspect-ratio: 1; }
.ring-b { width: 32%; aspect-ratio: 1; }

.radar-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32%;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(255,255,255,.9), transparent);
  animation: radar 5s linear infinite;
}

.radar-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  box-shadow: 0 0 12px rgba(255,255,255,.58);
}

.dot-a { left: 36%; top: 33%; }
.dot-b { right: 28%; bottom: 31%; }

@keyframes radar {
  to { transform: rotate(360deg); }
}

/* Project art: monster */
.art-monster {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.25), transparent 42%),
    linear-gradient(145deg, rgba(159,127,232,.3), rgba(255,255,255,.15));
}

.monster-eye {
  position: absolute;
  top: 36%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.76);
  border: 6px solid rgba(97,78,143,.22);
}

.eye-a { left: 35%; }
.eye-b { right: 35%; }

.monster-power {
  position: absolute;
  left: 23%;
  right: 23%;
  bottom: 27%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.36);
  overflow: hidden;
}

.monster-power::after {
  content: "";
  display: block;
  width: 68%;
  height: 100%;
  background: rgba(127,93,205,.36);
}

.power-two {
  bottom: 18%;
  opacity: .65;
}

.power-two::after {
  width: 43%;
}

/* Project art: password */
.art-password {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.62), transparent 30%),
    linear-gradient(145deg, rgba(237,129,151,.27), rgba(255,255,255,.13));
}

.password-dots {
  color: rgba(94,63,71,.42);
  font-size: 22px;
  letter-spacing: .18em;
}

.password-meter {
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 25%;
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(237,129,151,.42) 0 26%,
      rgba(234,188,102,.42) 26% 55%,
      rgba(104,211,165,.45) 55% 86%,
      rgba(255,255,255,.36) 86% 100%);
}

/* Project art: translit */
.art-translit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.64), transparent 30%),
    linear-gradient(145deg, rgba(126,138,231,.28), rgba(255,255,255,.12));
}

.translit-from,
.translit-to {
  font-weight: 760;
  letter-spacing: -0.04em;
  color: rgba(57,63,114,.48);
}

.translit-from { font-size: 52px; }
.translit-to { font-size: 34px; }
.translit-arrow { color: rgba(54,68,82,.3); font-size: 28px; }

/* Project art: trip */
.art-trip {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.62), transparent 30%),
    linear-gradient(145deg, rgba(157,207,99,.28), rgba(96,183,177,.14));
}

.route-line {
  position: absolute;
  left: 20%;
  right: 18%;
  top: 51%;
  height: 3px;
  border-radius: 999px;
  background: rgba(70,105,60,.25);
  transform: rotate(-9deg);
}

.route-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  border: 5px solid rgba(105,157,78,.24);
  box-shadow: 0 8px 20px rgba(76,105,65,.13);
}

.route-a { left: 18%; top: 58%; }
.route-b { left: 49%; top: 42%; }
.route-c { right: 17%; top: 30%; }

/* Project art: OCR */
.art-ocr {
  background:
    linear-gradient(145deg, rgba(91,216,182,.27), rgba(255,255,255,.14));
}

.ocr-frame {
  position: absolute;
  inset: 18% 17%;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 18px;
  background: rgba(255,255,255,.14);
}

.ocr-text {
  position: absolute;
  left: 26%;
  height: 6px;
  border-radius: 999px;
  background: rgba(66,104,94,.19);
}

.ocr-one { width: 46%; top: 38%; }
.ocr-two { width: 35%; top: 49%; }
.ocr-three { width: 42%; top: 60%; }

.ocr-scan {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 26%;
  height: 2px;
  background: rgba(78,204,168,.58);
  box-shadow: 0 0 15px rgba(78,204,168,.36);
  animation: scan 3.4s ease-in-out infinite alternate;
}

@keyframes scan {
  to { transform: translateY(92px); }
}

/* Project art: convert */
.art-convert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.64), transparent 30%),
    linear-gradient(145deg, rgba(239,153,88,.25), rgba(255,255,255,.14));
}

.convert-file {
  display: grid;
  place-items: center;
  width: 72px;
  height: 92px;
  border-radius: 16px;
  color: rgba(95,69,49,.48);
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(255,255,255,.66);
  font-size: 11px;
  font-weight: 750;
}

.file-b {
  transform: translateY(7px) rotate(4deg);
}

.file-a {
  transform: translateY(-6px) rotate(-3deg);
}

.convert-arrow {
  color: rgba(82,79,70,.34);
  font-size: 24px;
}

/* Project art: QR */
.art-qr {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.64), transparent 30%),
    linear-gradient(145deg, rgba(174,119,231,.25), rgba(255,255,255,.14));
}

.qr-code {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 15px;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(85,65,110,.28) 0 25%,
      rgba(255,255,255,.22) 0 50%
    ) 0 0 / 18px 18px;
  border: 10px solid rgba(255,255,255,.46);
  box-shadow: 0 14px 34px rgba(85,64,108,.12);
}

.qr-corner {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  border: 8px solid rgba(94,69,128,.4);
  background: rgba(255,255,255,.46);
}

.qr-corner-a { left: calc(50% - 46px); top: calc(50% - 46px); }
.qr-corner-b { right: calc(50% - 46px); top: calc(50% - 46px); }
.qr-corner-c { left: calc(50% - 46px); bottom: calc(50% - 46px); }

/* Community art */
.art-community {
  min-height: 210px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(145deg, rgba(87,194,145,.28), rgba(95,153,235,.12));
}

.pixel {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 16px 30px rgba(53,95,75,.1);
}

.pixel-a { left: 28%; top: 29%; }
.pixel-b { left: calc(28% + 58px); top: 29%; background: rgba(99,191,136,.28); }
.pixel-c { left: calc(28% + 116px); top: 29%; }
.pixel-d { left: calc(28% + 58px); top: calc(29% + 58px); background: rgba(94,151,210,.2); }
.pixel-e { left: calc(28% + 116px); top: calc(29% + 58px); background: rgba(99,191,136,.24); }

.about {
  padding-top: 126px;
}

.about-card {
  border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.about-card > * {
  position: relative;
  z-index: 1;
}

.about-card h2 {
  margin: 12px 0 0;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: .98;
  letter-spacing: -0.055em;
}

.about-copy {
  align-self: end;
  max-width: 580px;
}

.about-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.about-copy a {
  display: inline-block;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(36, 66, 58, 0.25);
}

.site-footer {
  padding: 34px 0 30px;
}

.footer-card {
  border-radius: 999px;
  min-height: 58px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(56, 75, 70, 0.58);
  font-size: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 10px 30px rgba(57,96,88,.07);
}

.footer-card > * {
  position: relative;
  z-index: 1;
}

.back-to-top {
  color: var(--ink-soft);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .hero-visual {
    width: min(560px, 100%);
    justify-self: center;
  }

  .project-grid-compact,
  .project-grid-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .site-header {
    padding-top: 10px;
  }

  .nav {
    min-height: 56px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-card {
    border-radius: 27px;
    padding: 34px 24px 82px;
    gap: 18px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 76px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-visual {
    height: 320px;
  }

  .hero-window {
    max-width: 310px;
    border-radius: 26px;
  }

  .orb-one {
    width: 86px;
    height: 86px;
  }

  .hero-meta {
    left: 24px;
    right: 24px;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .hero-meta::-webkit-scrollbar {
    display: none;
  }

  .projects,
  .about {
    padding-top: 92px;
  }

  .section-heading,
  .group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .group-heading > p {
    max-width: 560px;
    text-align: left;
  }

  .filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .project-group {
    margin-top: 64px;
  }

  .project-grid-featured,
  .project-grid-compact,
  .project-grid-tools {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-featured {
    min-height: 420px;
  }

  .project-featured .project-art {
    min-height: 210px;
  }

  .about-card {
    border-radius: 27px;
    padding: 34px 24px;
  }

  .footer-card {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 18px;
  }
}

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

  .hero-card {
    padding-inline: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .project-card {
    padding: 18px;
  }

  .project-art {
    min-height: 160px;
  }
}

@media (hover: none) {
  .project-card::after {
    display: none;
  }

  .project-card:hover {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-window,
  .project-card {
    transform: none !important;
  }
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass {
    background: rgba(248, 253, 251, 0.92);
  }
}
