@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #060707;
  --bg-soft: #0a0c0b;
  --bg-card: #0c0e0d;
  --fg: #f2f4ee;
  --fg-dim: #b9bdb5;
  --muted: #8c938b;
  --line: rgba(242, 244, 238, 0.11);
  --line-strong: rgba(242, 244, 238, 0.2);
  --accent: #d9ff4a;
  --accent-deep: #b6e600;
  --accent-ink: #0a0b06;
  --danger: #ff8f84;
  --radius: 28px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 64px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--fg);
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(217, 255, 74, 0.08), transparent 62%),
    radial-gradient(900px 700px at 6% 20%, rgba(217, 255, 74, 0.035), transparent 60%),
    var(--bg);
  font-family: "Geist", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(242, 244, 238, 0.16);
  border: 3px solid var(--bg);
  border-radius: 999px;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p, figure, blockquote, dl, dd {
  margin: 0;
}

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

.mono {
  font-family: "Geist Mono", "SF Mono", "Cascadia Code", Consolas, monospace;
  letter-spacing: -0.02em;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.page-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: var(--bg);
  animation: introOut 0.7s var(--ease) 1.15s forwards;
}

.no-js .page-intro {
  display: none;
}

.page-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.intro-mark {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.08em;
  color: var(--accent);
}

.intro-line {
  width: 88px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.intro-line::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: introLine 1s var(--ease) infinite;
}

@keyframes introLine {
  from { transform: translateX(-110%); }
  to { transform: translateX(280%); }
}

@keyframes introOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  transition: top 0.5s var(--ease), width 0.5s var(--ease);
}

.nav.is-scrolled {
  top: 10px;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--nav-h);
  padding: 0 8px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 9, 8, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.is-scrolled .nav-inner {
  background: rgba(7, 8, 7, 0.9);
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(217, 255, 74, 0.4);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.06em;
  background: rgba(217, 255, 74, 0.06);
}

.brand-name {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--fg-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.055);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(217, 255, 74, 0.34);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(217, 255, 74, 0.07);
  cursor: pointer;
  font-size: 13px;
  font-weight: 520;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: rgba(217, 255, 74, 0.13);
  border-color: rgba(217, 255, 74, 0.55);
  transform: translateY(-1px);
}

.nav-cta.is-user {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.nav-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(217, 255, 74, 0.09);
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}

.menu-btn span:first-child {
  top: 18px;
}

.menu-btn span:last-child {
  top: 26px;
}

.menu-btn.is-open span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-btn.is-open span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--pad) 40px;
  background:
    radial-gradient(700px 500px at 80% 10%, rgba(217, 255, 74, 0.12), transparent 65%),
    rgba(6, 7, 7, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: grid;
  gap: 4px;
}

.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.mobile-menu.is-open .mobile-menu-links a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.21s; }

.mobile-menu-links span {
  font-size: clamp(34px, 10vw, 54px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.mobile-menu-links small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.mobile-menu-foot button,
.mobile-menu-foot a {
  padding: 10px 0;
  border: 0;
  color: var(--fg-dim);
  background: none;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  width: min(var(--max), 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 90px) var(--pad) 70px;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  pointer-events: none;
}

.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-a {
  top: 10%;
  right: 4%;
  width: 34vw;
  height: 34vw;
  background: rgba(217, 255, 74, 0.1);
}

.orb-b {
  bottom: 8%;
  right: 22%;
  width: 20vw;
  height: 20vw;
  background: rgba(255, 255, 255, 0.035);
}

.hero-ring {
  position: absolute;
  top: 16%;
  right: 5%;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 244, 238, 0.07);
  border-radius: 50%;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 244, 238, 0.05);
}

.hero-ring::before {
  inset: 14%;
}

.hero-ring::after {
  inset: 30%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(3.1rem, 6.1vw, 5.6rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-line > span {
  display: block;
  white-space: nowrap;
}

.js .hero-line > span {
  transform: translateY(112%);
  animation: lineRise 1.05s var(--ease) forwards;
}

.js .hero-line:nth-child(2) > span {
  animation-delay: 0.09s;
}

@keyframes lineRise {
  to { transform: translateY(0); }
}

.hero-sub {
  max-width: 30em;
  margin-top: 30px;
  color: var(--fg-dim);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.85;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 10px 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--accent-ink);
  background: var(--accent);
}

.btn-primary:hover {
  background: #e4ff78;
}

.btn-ghost {
  color: var(--fg);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(242, 244, 238, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.btn-danger {
  color: var(--danger);
  border-color: rgba(255, 143, 132, 0.28);
  background: rgba(255, 143, 132, 0.06);
}

.btn-danger:hover {
  background: rgba(255, 143, 132, 0.12);
}

.btn-sm {
  min-height: 42px;
  padding: 0 8px 0 16px;
  font-size: 13px;
}

.btn-ico {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  font-size: 14px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn-ghost .btn-ico {
  background: rgba(255, 255, 255, 0.07);
}

.btn:hover .btn-ico {
  transform: translate(2px, -2px) scale(1.04);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-meta > span:not(.hero-meta-line) {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-meta > span:not(.hero-meta-line) + span:not(.hero-meta-line)::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-meta-line {
  flex: 1 1 30px;
  height: 1px;
  background: var(--line);
}

/* Hero artifact */
.hero-artifact {
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.artifact-stage {
  position: relative;
  height: clamp(420px, 44vw, 560px);
  transform-style: preserve-3d;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 0.6s var(--ease-soft);
}

.artifact-card {
  border: 1px solid rgba(242, 244, 238, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015)),
    rgba(10, 12, 11, 0.94);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.artifact-main {
  position: absolute;
  top: 8%;
  right: 0;
  width: min(100%, 420px);
  padding: 26px;
  border-radius: 32px;
  transform: rotate(-3deg) translateZ(30px);
}

.am-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.am-head img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.am-title-wrap {
  display: grid;
  gap: 1px;
  line-height: 1.3;
}

.am-title {
  font-size: 16px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.am-sub {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(217, 255, 74, 0.08), 0 0 18px rgba(217, 255, 74, 0.55);
}

.am-big {
  margin: 34px 0 26px;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.am-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.am-logos img {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 8px;
  opacity: 0.82;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.am-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.am-more {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
}

.am-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
}

.artifact-mini {
  position: absolute;
  bottom: 3%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(78%, 270px);
  padding: 16px;
  border-radius: 22px;
  transform: rotate(4deg) translateZ(60px);
}

.artifact-mini img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.artifact-mini div {
  display: grid;
  gap: 2px;
  line-height: 1.35;
}

.artifact-mini strong {
  font-size: 13px;
  font-weight: 560;
}

.artifact-mini span {
  color: var(--muted);
  font-size: 10px;
}

.artifact-chip {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(6, 7, 7, 0.72);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.02em;
  transform: translateZ(80px);
}

/* Marquee */
.marquee {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.marquee-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(217, 255, 74, 0.5);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) var(--pad);
}

.section-head {
  max-width: 820px;
}

.section-head h2,
.principles-aside h2,
.account-copy h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.account-copy h2 {
  font-size: clamp(2.2rem, 4.3vw, 4.1rem);
}

.section-note {
  max-width: 34em;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* Work */
.work-list {
  margin-top: clamp(54px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.45fr) auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 34px 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}

.work-row::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(90deg, transparent, rgba(217, 255, 74, 0.045), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.work-row:hover {
  border-color: rgba(242, 244, 238, 0.2);
}

.work-row:hover::before {
  opacity: 1;
}

.work-name {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
}

.work-index {
  color: var(--muted);
  font-size: 10px;
}

.work-name h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 540;
  letter-spacing: -0.05em;
  line-height: 1.1;
  transition: transform 0.45s var(--ease);
}

.work-row:hover .work-name h3 {
  transform: translateX(8px);
}

.work-thumb {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 10px;
}

.work-desc {
  max-width: 38em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.work-link {
  justify-self: end;
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}

.work-link span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.work-link:hover span {
  transform: translate(2px, -2px);
}

.work-link.is-muted {
  color: var(--muted);
}

.work-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 300px;
  height: 208px;
  padding: 1px;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(217, 255, 74, 0.5), rgba(242, 244, 238, 0.12) 45%, rgba(242, 244, 238, 0.03));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-soft);
  will-change: transform;
}

.work-preview.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.wp-inner {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background:
    radial-gradient(280px 180px at 50% 20%, rgba(217, 255, 74, 0.14), transparent 70%),
    #0a0c0b;
}

.wp-inner img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.wp-inner img.is-cat {
  width: 96px;
  height: 96px;
  border-radius: 0;
  image-rendering: pixelated;
  box-shadow: none;
}

.wp-meta {
  display: grid;
  gap: 2px;
  text-align: center;
  line-height: 1.4;
}

.wp-meta strong {
  font-size: 14px;
  font-weight: 560;
}

.wp-meta span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.principles-aside {
  position: sticky;
  top: 140px;
}

.principles-aside .section-note {
  max-width: 28em;
}

.principle-list {
  display: grid;
  gap: clamp(30px, 4.5vw, 54px);
  padding-top: 4px;
}

.principle {
  font-size: clamp(1.7rem, 3vw, 2.95rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--fg);
}

.principle span {
  opacity: 0.5;
  transition: opacity 0.25s linear;
}

.js .principle span {
  opacity: 0.14;
}

.js .principle.is-in span {
  opacity: 0.55;
}

.about-quote {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.about-quote blockquote {
  position: relative;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1.22;
}

.about-quote blockquote::before {
  content: "“";
  position: absolute;
  top: -0.45em;
  left: 50%;
  color: rgba(217, 255, 74, 0.22);
  font-size: 2.4em;
  line-height: 1;
  transform: translateX(-50%);
}

.about-quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.quote-line {
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(50px, 6vw, 80px);
}

.bento-cell {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01) 55%),
    var(--bg-card);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

.bento-cell:hover {
  border-color: rgba(242, 244, 238, 0.22);
  transform: translateY(-3px);
}

.bento-cell h3 {
  margin-top: 22px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 530;
  letter-spacing: -0.05em;
  line-height: 1.16;
}

.bento-cell p {
  max-width: 30em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.bento-kicker {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bento-code {
  grid-column: span 7;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(217, 255, 74, 0.06), transparent 60%),
    #090b0a;
}

.cell-top,
.cell-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.cell-top .live-dot {
  margin-left: 0;
}

.code-block {
  flex: 1;
  margin: 30px 0;
  padding: 24px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  font-family: "Geist Mono", "SF Mono", Consolas, monospace;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.9;
  color: #cfd3ca;
  tab-size: 2;
}

.c-key { color: #e8ff9a; }
.c-fn { color: #f2f4ee; }
.c-str { color: #b9e6a4; }
.c-bool { color: #d9ff4a; }
.c-num { color: #ffcf8a; }
.c-com { color: #6c736b; }

.bento-mobile {
  grid-column: span 5;
  min-height: 250px;
}

.bento-theme {
  grid-column: span 5;
  min-height: 250px;
}

.bento-cloud {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 40px;
  min-height: 190px;
}

.bento-cloud .bento-kicker {
  grid-column: 1;
  grid-row: 1;
}

.bento-cloud h3 {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}

.bento-cloud p {
  grid-column: 2;
  grid-row: 2;
}

.cloud-flow {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.cloud-node {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
}

.cloud-node.is-accent {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.cloud-arrow {
  color: var(--muted);
  font-size: 11px;
}

.phone-glyph {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 86px;
  height: 150px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(217, 255, 74, 0.09), rgba(255, 255, 255, 0.02));
  transform: rotate(8deg);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(242, 244, 238, 0.24);
  transform: translateX(-50%);
}

.phone-glow {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
  filter: blur(14px);
  transform: translateX(-50%);
  animation: phoneGlow 5s ease-in-out infinite;
}

@keyframes phoneGlow {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.9); }
  50% { opacity: 0.95; transform: translateX(-50%) scale(1.1); }
}

.theme-swatches {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.swatch {
  display: flex;
  align-items: flex-end;
  width: 58px;
  height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.swatch i {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.5;
}

.swatch-dark {
  color: #f2f4ee;
  background: #060707;
}

.swatch-light {
  color: #1c241f;
  background: #f4f3ed;
}

.swatch-mint {
  color: #083d2e;
  background: #dff3e7;
}

/* Account */
.account {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(40px, 7vw, 100px);
  border-top: 1px solid var(--line);
}

.account-copy {
  position: sticky;
  top: 130px;
}

.account-lead {
  max-width: 30em;
  margin-top: 24px;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.9;
}

.account-points {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.account-points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.account-points .mono {
  color: var(--muted);
  font-size: 9px;
  padding-top: 4px;
}

.account-points p {
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.7;
}

.account-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 255, 74, 0.08);
}

.account-status.is-off .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 143, 132, 0.08);
}

.auth-shell {
  position: relative;
}

.auth-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 45%),
    #0a0c0b;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.auth-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.auth-kicker {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.auth-head h3 {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 540;
  letter-spacing: -0.045em;
}

.auth-badge {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.auth-badge.is-on {
  color: var(--accent);
  border-color: rgba(217, 255, 74, 0.3);
  background: rgba(217, 255, 74, 0.06);
}

.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.auth-tab {
  position: relative;
  z-index: 2;
  height: 38px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.3s var(--ease);
}

.auth-tab.is-active {
  color: var(--fg);
}

.auth-tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  width: calc((100% - 12px) / 3);
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.065);
  transition: left 0.45s var(--ease-soft), width 0.45s var(--ease-soft);
}

.auth-panes {
  position: relative;
  margin-top: 22px;
}

.auth-pane {
  display: none;
  gap: 16px;
}

.auth-pane.is-active {
  display: grid;
  animation: paneIn 0.45s var(--ease);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  color: var(--muted);
  font-size: 11px;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.028);
  font-size: 14px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field input::placeholder {
  color: #666d65;
}

.field input:focus {
  outline: none;
  border-color: rgba(217, 255, 74, 0.5);
  background: rgba(217, 255, 74, 0.035);
  box-shadow: 0 0 0 3px rgba(217, 255, 74, 0.08);
}

.field-row {
  position: relative;
}

.field-row input {
  padding-right: 92px;
}

.field-action {
  position: absolute;
  top: 50%;
  right: 6px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.field-action:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.055);
}

.field-action:disabled {
  color: #5f665e;
  cursor: default;
}

.form-msg {
  min-height: 20px;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.6;
}

.form-msg.is-ok {
  color: var(--accent);
}

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: var(--accent-ink);
  background: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.submit-btn:hover {
  background: #e4ff78;
}

.submit-btn:active {
  transform: scale(0.99);
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.75;
}

.submit-ring {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(0, 0, 0, 0.24);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.submit-btn.is-loading .submit-ring {
  display: block;
}

.submit-btn.is-loading .submit-label {
  opacity: 0.72;
}

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

.auth-hint {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.link-btn {
  padding: 0;
  border: 0;
  color: var(--fg-dim);
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.link-btn:hover {
  color: var(--accent);
}

.auth-note {
  margin-top: 14px;
  color: #6f766e;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

/* Passport */
.passport {
  position: relative;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(217, 255, 74, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(360px 180px at 12% 0%, rgba(217, 255, 74, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.02);
  animation: paneIn 0.5s var(--ease);
}

.passport[hidden] {
  display: none;
}

.passport-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.passport-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(217, 255, 74, 0.32);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(217, 255, 74, 0.08);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
}

.passport-id {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.4;
}

.passport-id .mono {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.passport-id strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 540;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.passport-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.passport-grid dt {
  color: var(--muted);
  font-size: 9px;
}

.passport-grid dd {
  margin-top: 4px;
  font-size: 13px;
}

.passport-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--fg-dim);
  font-size: 11px;
}

.passport-device .mono {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.passport-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.passport-actions .btn {
  flex: 1;
}

/* Footer */
.footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 48px var(--pad) 30px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p {
  color: var(--fg-dim);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 520;
  letter-spacing: -0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a {
  transition: color 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links span {
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.3s var(--ease);
}

.footer-links a:hover span {
  transform: translate(2px, -2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #6c736b;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-cat img {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 110;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg);
  background: rgba(12, 14, 13, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-ok {
  border-color: rgba(217, 255, 74, 0.35);
  color: var(--accent);
}

.passport.is-flash {
  animation: passportFlash 1.1s var(--ease);
}

@keyframes passportFlash {
  0% { box-shadow: 0 0 0 0 rgba(217, 255, 74, 0); }
  30% { box-shadow: 0 0 0 5px rgba(217, 255, 74, 0.14); }
  100% { box-shadow: 0 0 0 0 rgba(217, 255, 74, 0); }
}

.section,
.hero,
.about-quote {
  scroll-margin-top: 96px;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal:not(.in):not(.fallback) {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
}

.js .reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.js .reveal.in,
.js .reveal.fallback {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    padding-top: calc(var(--nav-h) + 100px);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-artifact {
    width: min(100%, 620px);
    margin: 0 auto 20px;
  }

  .artifact-stage {
    height: 500px;
  }

  .artifact-main {
    right: 50%;
    transform: translateX(50%) rotate(-3deg) translateZ(30px);
  }

  .artifact-mini {
    left: 8%;
  }

  .artifact-chip {
    right: 8%;
  }

  .work-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
  }

  .work-tags {
    display: none;
  }

  .principles {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-cta {
    margin-left: auto;
  }

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

  .principles-aside,
  .account-copy {
    position: static;
  }

  .principle-list {
    margin-top: 20px;
  }

  .bento-code {
    grid-column: span 12;
    grid-row: auto;
    min-height: 400px;
  }

  .bento-mobile,
  .bento-theme {
    grid-column: span 6;
  }

  .bento-cloud {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 14px;
  }

  .bento-cloud .bento-kicker,
  .bento-cloud h3,
  .bento-cloud p,
  .cloud-flow {
    grid-column: 1;
  }

  .bento-cloud h3 { grid-row: 2; }
  .bento-cloud p { grid-row: 3; }
  .cloud-flow { grid-row: 4; }

  .work-preview {
    display: none;
  }

  .work-thumb {
    display: block;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 58px;
  }

  .nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-inner {
    height: var(--nav-h);
    padding-left: 12px;
  }

  .brand-name {
    display: none;
  }

  .nav-cta {
    height: 40px;
    padding: 0 13px;
  }

  .nav-cta-dot {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 13.4vw, 4.6rem);
  }

  .hero-sub {
    margin-top: 24px;
  }

  .hero-meta {
    margin-top: 34px;
  }

  .hero-meta-line {
    display: none;
  }

  .artifact-stage {
    height: 440px;
  }

  .artifact-main {
    width: 100%;
    padding: 20px;
  }

  .am-big {
    margin: 26px 0 20px;
  }

  .artifact-mini {
    width: 78%;
  }

  .artifact-chip {
    top: -8px;
    right: 4px;
  }

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-head h2,
  .principles-aside h2,
  .account-copy h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .work-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 28px 0;
  }

  .work-name {
    grid-column: 1;
  }

  .work-desc {
    grid-column: 1 / -1;
  }

  .work-tags {
    display: flex;
    grid-column: 1 / -1;
  }

  .work-link {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .work-thumb {
    display: none;
  }

  .principle {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .bento-mobile,
  .bento-theme {
    grid-column: span 12;
  }

  .phone-glyph {
    width: 70px;
    height: 124px;
  }

  .account-copy {
    position: static;
  }

  .auth-card {
    padding: 20px;
    border-radius: 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    padding-left: 16px;
  }

  .btn-ico {
    width: 30px;
    height: 30px;
  }

  .hero-meta {
    gap: 8px;
    font-size: 9px;
  }

  .hero-meta > span:not(.hero-meta-line) + span:not(.hero-meta-line)::before {
    display: none;
  }

  .hero-meta > span:not(.hero-meta-line) {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .artifact-stage {
    height: 405px;
  }

  .am-logos {
    gap: 6px;
    padding: 10px;
  }

  .am-logos img {
    width: 24px;
    height: 24px;
  }

  .am-more {
    width: 24px;
    height: 24px;
  }

  .artifact-mini {
    bottom: 0;
    width: 84%;
  }

  .auth-tabs {
    margin-top: 20px;
  }

  .passport-grid {
    grid-template-columns: 1fr 1fr;
  }

  .passport-actions {
    flex-direction: column;
  }

  .toast {
    width: calc(100% - 32px);
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal:not(.in):not(.fallback) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js .principle span,
  .principle span {
    opacity: 1 !important;
  }

  .marquee-track {
    animation: none;
  }
}
