@font-face {
  font-family: Instrument Sans;
  src: url("/assets/fonts/instrument-sans-latin-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/assets/fonts/instrument-serif-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/assets/fonts/instrument-serif-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Nanum Pen Script;
  src: url("/assets/fonts/nanum-pen-script-latin-regular.woff2") format("woff2");
  font-display: swap;
}
:root {
  --paper: #f5f4f0;
  --ink: #1a1a1a;
  --muted: #666660;
  --blue: #3b5bdb;
  --line: rgb(0 0 0 / 0.075);
  --glass: #fbfaf7;
  --strong-glass: #fff;
  --nav-glass: rgb(251 250 247 / 0.68);
  --nav-sheen: rgb(255 255 255 / 0.38);
  --nav-edge: rgb(255 255 255 / 0.65);
  --dot: rgb(80 80 75 / 0.36);
  --out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #18191c;
  --ink: #f3f2ed;
  --muted: #aaaab3;
  --blue: #a0afff;
  --line: rgb(255 255 255 / 0.1);
  --glass: #292a31;
  --strong-glass: #34353d;
  --nav-glass: rgb(35 36 43 / 0.72);
  --nav-sheen: rgb(255 255 255 / 0.07);
  --nav-edge: rgb(255 255 255 / 0.14);
  --dot: rgb(200 200 210 / 0.23);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: #0a0a0a;
  color: var(--ink);
  font:
    16px/1.6 "Instrument Sans",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(36px, 5vw, 56px);
}
em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--blue);
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
a,
button,
summary,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #c9d2ff;
  color: #1a1a1a;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 150;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 30px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.page-surface {
  display: flow-root;
  background-color: var(--paper);
  /* Dots are drawn and masked beneath readable content by cursor.js. */
  border-radius: 0 0 48px 48px;
  position: relative;
  overflow: clip;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.handwritten {
  font-family: "Nanum Pen Script", cursive;
  font-size: 25px;
  color: var(--muted);
  line-height: 1.15;
}
.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 0;
  border-radius: 50px;
  background: var(--glass);
  box-shadow:
    0 3px 9px #00000008,
    inset 0 1px 0 #ffffff80;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    transform 0.22s var(--spring),
    box-shadow 0.22s;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 16px #0000000d;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
}
.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--out);
}
.text-link:hover .icon {
  transform: translate(2px, -2px);
}
.section-space {
  padding-top: 90px;
  padding-bottom: 65px;
}
.section-heading {
  text-align: center;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
}
.section-note {
  text-align: center;
  margin: 14px 0 44px;
}
.section-bottom {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}
/* The small floating dock follows the reference's desktop/mobile placement. */
.site-header {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: calc(100% - 32px);
}
.nav-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid var(--nav-edge);
  border-radius: 50px;
  background: linear-gradient(145deg, var(--nav-sheen), transparent 65%) var(--nav-glass);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
  box-shadow:
    inset 0 1px 0 var(--nav-sheen),
    inset 0 -1px 0 rgb(0 0 0 / 0.04),
    0 12px 36px rgb(0 0 0 / 0.12),
    0 2px 8px rgb(0 0 0 / 0.04);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (min-width: 768px) {
    .site-header .nav-shell {
      background: var(--glass);
    }
  }
  @media (max-width: 767px) {
    .site-header .nav-shell :is(.wordmark, .menu-toggle, .theme-toggle, #site-nav) {
      background: var(--glass);
    }
  }
}
.wordmark {
  font:
    25px/1 "Instrument Serif",
    Georgia,
    serif;
  white-space: nowrap;
  padding: 9px 14px;
}
.wordmark span {
  display: none;
}
#site-nav {
  display: flex;
  gap: 1px;
  align-items: center;
  overflow: hidden;
}
#site-nav a {
  font-size: 13px;
  padding: 10px 12px;
  white-space: nowrap;
  border-radius: 24px;
  transition: background 0.2s;
}
#site-nav a:hover,
#site-nav a[aria-current] {
  background: var(--glass);
}
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 0;
  background: transparent;
  border-radius: 30px;
  font-size: 12px;
  min-height: 42px;
}
.menu-glyph {
  width: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-glyph i {
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--out);
}
.menu-toggle[aria-expanded="true"] .menu-glyph i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-glyph i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.theme-toggle {
  border: 0;
  background: var(--glass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.nav-ready #site-nav[data-open="false"] {
  display: none;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: #00000020;
  backdrop-filter: blur(2px);
  z-index: 90;
}
/* Centered name, soft shadows and handwritten annotation. */
.hero {
  min-height: 88svh;
  padding: 60px 24px 95px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 1;
  transform: translateY(30px);
}
.hero .eyebrow {
  margin-bottom: 26px;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.hero-tagline {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(23px, 2.7vw, 29px);
  line-height: 1.4;
  margin-top: 27px;
}
.hero-note {
  margin-top: 9px;
  transform: rotate(-3deg);
}
.hero-note span {
  color: var(--blue);
  font-size: 42px;
  position: absolute;
  margin-left: 10px;
  top: -17px;
  transform: rotate(20deg);
}
.hero-actions {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}
.scroll-note {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
  opacity: 0.8;
  min-height: 30px;
}
.foliage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.foliage:before,
.foliage:after {
  content: "";
  position: absolute;
  width: 720px;
  height: 600px;
  filter: blur(23px);
  background:
    radial-gradient(ellipse at 20% 20%, #38443e38 0 8%, transparent 16%),
    radial-gradient(ellipse at 40% 40%, #37433945 0 7%, transparent 14%),
    radial-gradient(ellipse at 65% 25%, #334a3a37 0 6%, transparent 15%),
    radial-gradient(ellipse at 60% 55%, #39483830 0 8%, transparent 15%);
  transform: rotate(-25deg);
  top: -250px;
  right: -140px;
}
.foliage:after {
  left: -390px;
  right: auto;
  top: 5%;
  transform: rotate(24deg);
  opacity: 0.7;
}
/* Pastel folders with real project screenshots fanning from the back. */
.work-section {
  max-width: 1020px;
  padding-left: 72px;
  padding-right: 72px;
  margin: auto;
  padding-top: 55px;
}
.folder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.folder {
  min-width: 0;
  width: 100%;
  position: relative;
  display: block;
  aspect-ratio: 400/340;
  perspective: 900px;
  --tint: #b8f0d8;
  --folder-ink: #153d31;
  transition: transform 0.3s var(--out);
  isolation: isolate;
}
.folder-2 {
  --tint: #d4c9f5;
  --folder-ink: #3d2b65;
}
.folder-3 {
  --tint: #b8cef5;
  --folder-ink: #243d6a;
}
.folder-4 {
  --tint: #f5d4b8;
  --folder-ink: #643b23;
}
.folder-5 {
  --tint: #f2a65a;
  --folder-ink: #563013;
}
.folder-6 {
  --tint: #c8e6c0;
  --folder-ink: #2b4b27;
}
.folder-back {
  position: absolute;
  inset: 15% 0 0;
  border-radius: 24px;
  background: var(--tint);
  box-shadow: 0 10px 28px #00000009;
}
.folder-back:before {
  content: "";
  position: absolute;
  left: 0;
  top: -15%;
  width: 44%;
  height: 25%;
  border-radius: 23px 23px 0 0;
  background: var(--tint);
}
.folder-sheet {
  position: absolute;
  top: 8%;
  width: 30%;
  left: 5%;
  aspect-ratio: 2/3;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px #0000001a;
  transform: translateX(-5%) rotate(-4deg);
  transition: transform 0.5s var(--spring);
}
.folder-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% top;
}
.sheet-2 {
  width: 38%;
  left: 31%;
  aspect-ratio: 4/3;
  transform: none;
  transition-delay: 35ms;
  z-index: 2;
}
.sheet-2 img {
  object-fit: cover;
  object-position: center;
}
.sheet-3 {
  left: 65%;
  transform: translateX(5%) rotate(4deg);
  transition-delay: 65ms;
}
.sheet-3 img {
  object-position: 85% top;
}
.folder-front {
  position: absolute;
  top: 32%;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 18px;
  padding: 20px 20px 17px;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--tint) 50%, transparent),
    color-mix(in srgb, var(--tint) 75%, transparent)
  );
  border: 1px solid rgb(255 255 255 / 0.65);
  backdrop-filter: blur(22px) saturate(190%) brightness(1.04);
  box-shadow:
    inset 0 1px 0 #ffffff80,
    0 6px 18px #00000009;
  color: var(--folder-ink);
  display: flex;
  flex-direction: column;
  transform-origin: bottom center;
  transition: transform 0.5s var(--spring);
  z-index: 3;
}
.folder-category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.folder-title {
  font:
    32px/1.05 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}
.folder-description {
  font-size: 13px;
  line-height: 1.45;
  max-width: 290px;
}
.folder-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
  margin-top: auto;
  padding-top: 13px;
}
.folder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.folder-tags span {
  border: 1px solid #ffffff50;
  border-radius: 30px;
  background: #ffffff45;
  padding: 3px 9px;
  font-size: 10px;
  line-height: 1.5;
}
.folder-arrow {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: #ffffff75;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.folder-arrow .icon {
  width: 15px;
  height: 15px;
}
@media screen {
  :root[data-theme="dark"] .folder {
    --tint: #243f36;
    --folder-ink: #c4eddb;
  }
  :root[data-theme="dark"] .folder-2 {
    --tint: #37304e;
    --folder-ink: #e1d6fa;
  }
  :root[data-theme="dark"] .folder-3 {
    --tint: #293b57;
    --folder-ink: #d0e0fa;
  }
  :root[data-theme="dark"] .folder-4 {
    --tint: #493528;
    --folder-ink: #f5ddc7;
  }
  :root[data-theme="dark"] .folder-5 {
    --tint: #4b3422;
    --folder-ink: #f9d6af;
  }
  :root[data-theme="dark"] .folder-6 {
    --tint: #2f402c;
    --folder-ink: #d7edcd;
  }
  :root[data-theme="dark"] .folder-sheet {
    background: var(--glass);
    border-color: var(--glass);
  }
  :root[data-theme="dark"] .folder-front {
    background: linear-gradient(
      155deg,
      color-mix(in srgb, var(--tint) 92%, transparent),
      color-mix(in srgb, var(--tint) 97%, transparent)
    );
    border-color: rgb(255 255 255 / 0.12);
    box-shadow:
      inset 0 1px 0 #ffffff0d,
      0 6px 18px #00000026;
    backdrop-filter: blur(22px) saturate(120%);
  }
  :root[data-theme="dark"] .folder-tags span,
  :root[data-theme="dark"] .folder-arrow {
    background: rgb(255 255 255 / 0.07);
    border-color: rgb(255 255 255 / 0.12);
  }
}
.folder:hover .sheet-1,
.folder:focus-visible .sheet-1 {
  transform: translate(-18%, -20%) rotate(-8deg);
}
.folder:hover .sheet-2,
.folder:focus-visible .sheet-2 {
  transform: translate(0, -26%);
}
.folder:hover .sheet-3,
.folder:focus-visible .sheet-3 {
  transform: translate(18%, -20%) rotate(8deg);
}
.folder:hover .folder-front,
.folder:focus-visible .folder-front {
  transform: rotateX(-16deg);
}
.folder:hover {
  transform: translateY(-3px);
}
/* Narrow stacked capabilities, as in the reference's services section. */
.capabilities-section {
  max-width: 780px;
  padding-left: 62px;
  padding-right: 62px;
  margin: auto;
  padding-top: 110px;
}
.capabilities-section h2 {
  font-size: 48px;
  line-height: 1.08;
}
.capability-intro {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 34px 0 18px;
  padding: 21px 24px;
  background: #e4e8fa;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 5px 12px #00000003;
  color: #3f50a0;
}
.capability-intro > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  font-size: 34px;
  border-radius: 16px;
  background: #f5f6ff;
  box-shadow: 0 2px 5px #6475c415;
}
.capability-intro p {
  font-size: 14px;
  line-height: 1.6;
}
.capabilities {
  padding: 15px 13px;
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
  border: 0;
  border-radius: 24px;
}
.capability-label {
  color: var(--muted);
  font-size: 11px;
  padding: 0 13px 12px;
}
.capability {
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.capability:first-of-type {
  border-top: 0;
}
.capability summary {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 19px 13px;
  cursor: pointer;
  border-radius: 18px;
}
.capability summary::-webkit-details-marker {
  display: none;
}
.capability summary > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.capability strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
}
.capability-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
  margin-top: 3px;
}
.capability-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--glass);
  border: 0;
  font-size: 12px;
  color: var(--muted);
}
.capability-plus {
  font-size: 18px;
  color: var(--muted);
}
.capability[open] {
  background: var(--strong-glass);
  border-radius: 18px;
  box-shadow: 0 4px 14px #00000006;
}
.capability[open] .capability-number {
  color: var(--blue);
  border-color: var(--blue);
}
.capability[open] .capability-plus {
  transform: rotate(45deg);
}
.capability-detail {
  padding: 0 22px 21px 65px;
  font-size: 13px;
  color: var(--muted);
}
.tags {
  list-style: none;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0;
  margin: 14px 0;
}
.tags li {
  font-size: 11px;
  border-radius: 25px;
  padding: 4px 10px;
  background: var(--glass);
  border: 0;
  color: var(--ink);
}
.writing-section {
  max-width: 1020px;
  margin: auto;
  padding-left: 72px;
  padding-right: 72px;
}
.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.writing-card {
  border-radius: 22px;
  overflow: hidden;
  border: 0;
  background: var(--glass);
  transition:
    transform 0.22s var(--spring),
    box-shadow 0.22s;
}
.writing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px #00000008;
}
.writing-card > a {
  display: block;
  height: 100%;
}
.article-art {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dce5f7;
  color: #344b9c;
  overflow: hidden;
}
.article-art:before,
.article-art:after {
  content: "";
  position: absolute;
  width: 110px;
  height: 135px;
  border: 1px solid #ffffffb0;
  background: #ffffff50;
  border-radius: 12px;
  transform: rotate(-15deg);
  box-shadow: 0 8px 20px #344b9c10;
}
.article-art:after {
  transform: rotate(14deg);
}
.article-art > span {
  font:
    76px/1 "Instrument Serif",
    serif;
  position: relative;
  z-index: 1;
  transform: rotate(-6deg);
}
.article-art small {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  font:
    18px "Nanum Pen Script",
    cursive;
}
.art-2 {
  background: #ded5f2;
  color: #615088;
}
.art-3 {
  background: #dce9d0;
  color: #416135;
}
.writing-copy {
  padding: 18px;
}
.article-meta {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
}
.writing-copy h3 {
  font:
    25px/1.1 "Instrument Serif",
    Georgia,
    serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 110px;
}
.article-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 16px;
  color: var(--muted);
}
.article-read .icon {
  width: 14px;
  height: 14px;
}
/* A small fan of personal objects keeps the facts playful and compact. */
.about-section {
  max-width: 1100px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 100px;
}
.about-section h2 {
  font-size: 48px;
}
.wallet {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 64px auto 0;
  max-width: 850px;
  padding: 0 20px;
}
.wallet-card {
  position: relative;
  width: 178px;
  height: 192px;
  flex-shrink: 0;
  margin: 0 -8px;
  padding: 18px 17px;
  border-radius: 21px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #e8defb, #b9a3e7);
  border: 1px solid #ffffff80;
  box-shadow:
    0 10px 18px #00000013,
    inset 0 1px 0 #ffffffa0;
  transform: rotate(-8deg);
  color: #302743;
  transition: transform 0.25s var(--spring);
  isolation: isolate;
}
.wallet-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 50px;
  z-index: -1;
  background: #b395de;
  border-radius: 21px 21px 0 0;
}
.wallet-card small {
  font-size: 8px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  white-space: nowrap;
}
.wallet-card strong {
  font-size: 14px;
  line-height: 1.3;
  margin-top: auto;
}
.wallet-card > span:last-child {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 5px;
}
.wallet-icon {
  font-size: 26px;
  background: #ffffff55;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #ffffff55;
  font-weight: 600;
}
.wallet-card img {
  width: 53px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  border-radius: 13px;
  border: 2px solid #ffffff80;
}
.wallet-yellow {
  background: linear-gradient(150deg, #fff0c9, #ebcd76);
  color: #504120;
  transform: translateY(-12px) rotate(-4deg);
}
.wallet-yellow:before {
  background: #e9c875;
}
.wallet-green {
  background: linear-gradient(150deg, #dcedbf, #b2ce82);
  color: #354c21;
  transform: translateY(-16px);
  z-index: 2;
}
.wallet-green:before {
  background: #a8c979;
}
.wallet-pink {
  background: linear-gradient(150deg, #ffe0ec, #e9a2bf);
  color: #623447;
  transform: translateY(-12px) rotate(4deg);
  z-index: 1;
}
.wallet-pink:before {
  background: #df9ab6;
}
.wallet-blue {
  background: linear-gradient(150deg, #e0edff, #a8c5e7);
  color: #2a486b;
  transform: rotate(8deg);
}
.wallet-blue:before {
  background: #98badd;
}
.wallet-card:hover {
  transform: translateY(-26px) rotate(0);
  z-index: 5;
}
.quick-ask {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 6;
  max-width: 640px;
  margin: -2px auto 0;
  padding: 8px 8px 8px 11px;
  border: 0;
  background: var(--strong-glass);
  border-radius: 50px;
  box-shadow: 0 5px 25px #00000013;
  backdrop-filter: blur(20px);
}
.quick-ask label {
  font-size: 11px;
  white-space: nowrap;
  color: #654397;
  background: #ede3fa;
  border: 0;
  border-radius: 30px;
  padding: 8px 13px;
}
.quick-ask input {
  border: 0;
  background: transparent;
  outline-offset: 0;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  padding: 8px 0;
  color: var(--ink);
}
.quick-ask input::placeholder {
  color: var(--muted);
}
.quick-ask button {
  background: #516bd8;
  color: #fff;
  box-shadow:
    0 1px 12px #6e89ea80,
    inset 0 1px 1px #ffffff80;
  border: 0;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 22px;
}
.ask-answer {
  max-width: 620px;
  margin: 16px auto 0;
  padding: 16px 22px;
  border: 0;
  border-radius: 18px;
  background: var(--glass);
  font-size: 13px;
}
.about-copy {
  max-width: 590px;
  margin: 35px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.about-copy p + p {
  margin-top: 12px;
}
.experience-details {
  max-width: 640px;
  margin: 27px auto 0;
  background: var(--glass);
  border: 0;
  border-radius: 18px;
  scroll-margin-top: 90px;
}
.experience-details > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 14px;
}
.experience-details > summary::-webkit-details-marker {
  display: none;
}
.experience-details[open] > summary > span:last-child {
  transform: rotate(45deg);
}
.timeline {
  padding: 0 24px 24px;
}
.timeline article {
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  margin-top: 22px;
}
.timeline article:first-child {
  margin-top: 0;
}
.timeline h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 8px;
}
.timeline p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.timeline .timeline-org {
  color: var(--ink) !important;
}
.timeline .text-link {
  font-size: 12px;
}
.certifications {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 22px;
  color: var(--muted);
}
/* The rounded page gives way to a dark, centered contact and game ending. */
.contact-section {
  color: #f6f5f0;
  background: #0a0a0a;
  background-image: radial-gradient(#ffffff0b 0.7px, transparent 0.8px);
  background-size: 28px 28px;
  text-align: center;
  padding: 95px 24px 40px;
}
.contact-inner {
  max-width: 888px;
  margin: auto;
}
.contact-kicker {
  font-size: 14px;
  color: #a2a2a2;
  margin-bottom: 23px;
}
.contact-section h2 {
  font-size: clamp(48px, 10vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.email-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 28px;
  gap: 10px;
}
.contact-section .button {
  color: #ececec;
  background: #191919;
  border: 0;
  box-shadow: inset 0 1px 0 #ffffff10;
}
.email-link {
  font-size: 12px;
  color: #ababab;
  padding: 5px;
}
.email-link:hover {
  color: #fff;
}
.copy-status {
  font-size: 12px;
  color: #c2c2c2;
  min-height: 20px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.social-circle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #171717;
  transition:
    transform 0.2s,
    background 0.2s;
}
.social-circle:hover {
  transform: translateY(-3px);
  background: #222;
}
.social-circle span {
  font-size: 17px;
  font-weight: 600;
}
.social-circle:last-child span {
  font-size: 10px;
}
.game-panel {
  margin-top: 48px;
  padding: 25px 28px 20px;
  border-radius: 42px;
  background: linear-gradient(140deg, #fefeff, #eff0f7);
  border: 0;
  color: #242736;
  box-shadow:
    inset 3px 3px 8px #fff,
    inset -3px -3px 12px #b9bdd550,
    0 10px 25px #00000030;
  text-align: left;
}
.game-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}
.game-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}
.game-logo {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(130deg, #fff, #e5e8f5);
  border: 0;
  display: grid;
  place-items: center;
  font-size: 23px;
  color: #5368bd;
  box-shadow: 3px 3px 8px #b9bfdc40;
}
.game-identity h3 {
  font-size: 17px;
  font-weight: 600;
}
.game-identity p {
  font-size: 11px;
  color: #666a7b;
  margin-top: 2px;
}
.game-stats {
  display: flex;
  align-items: center;
  gap: 9px;
}
.game-stats > div {
  border-radius: 14px;
  background: #fff;
  padding: 8px 16px;
  min-width: 73px;
  box-shadow: 0 2px 8px #6c739111;
}
.game-stats span {
  display: block;
  font-size: 9px;
  color: #676e82;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.game-stats strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.game-stats button {
  border: 0;
  box-shadow: 0 2px 6px #838ba220;
  background: #f9faff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 22px;
  color: #69728c;
}
#bug-run {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 180px;
  border-radius: 26px;
  box-shadow: inset 0 2px 8px #7c88b322;
  background: linear-gradient(#e7effa, #f5f7fc);
  touch-action: manipulation;
  border: 0;
}
.game-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  min-height: 30px;
}
.game-bottom p {
  font-size: 11px;
  color: #61687a;
}
.game-controls {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.game-controls button {
  border: 0;
  border-radius: 20px;
  background: #ffffffb0;
  padding: 7px 11px;
  min-height: 34px;
  font-size: 11px;
  color: #434e6e;
}
.site-footer {
  background: #0a0a0a;
  color: #929292;
  padding: 15px 40px 100px;
  font-size: 10px;
}
.site-footer > div {
  display: flex;
  max-width: 1100px;
  margin: auto;
  justify-content: space-between;
  gap: 20px;
}
.site-footer a {
  min-height: 30px;
}
.archive-hero {
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding: 135px 24px 70px;
}
.archive-hero > .text-link {
  margin-bottom: 40px;
}
.archive-hero .eyebrow {
  margin-bottom: 18px;
}
.archive-hero h1 {
  font-size: clamp(50px, 7vw, 84px);
}
.archive-hero > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin-top: 25px;
}
.archive-section {
  max-width: 1020px;
  margin: auto;
  padding: 0 72px 100px;
}
.archive-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
  font-size: 12px;
  color: var(--muted);
}
.archive-filters > div {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 0;
  border-radius: 35px;
  background: var(--glass);
}
.archive-filters button {
  border: 0;
  border-radius: 24px;
  background: transparent;
  padding: 10px 15px;
  min-height: 42px;
  font-size: 12px;
}
.archive-filters button[aria-pressed="true"] {
  background: var(--strong-glass);
  box-shadow: 0 1px 6px #00000010;
  color: var(--blue);
}
.archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.archive-item {
  border: 0;
  background: var(--glass);
  border-radius: 24px;
  overflow: hidden;
  scroll-margin-top: 95px;
}
.archive-item:target {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
.archive-visual {
  padding: 28px 20px;
  background: #d6e6e4;
  aspect-ratio: 1.55;
  display: flex;
  align-items: center;
  justify-content: center;
}
.archive-visual img {
  max-height: 230px;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px #00000010;
}
.tone-1 {
  background: #ded7ee;
}
.tone-2 {
  background: #cedcf2;
}
.tone-3 {
  background: #f2dfd0;
}
.tone-4 {
  background: #e6c69c;
}
.tone-0 {
  background: #d7e6d0;
}
.archive-copy {
  padding: 25px;
}
.archive-copy > .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
.archive-copy h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.archive-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.project-status {
  font-size: 11px !important;
  margin-top: 18px;
}
.work-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.work-links .button,
.work-links .text-link {
  font-size: 12px;
}
.work-links .button {
  padding: 10px 15px;
}
.engineering-notes {
  font-size: 12px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 8px;
}
.engineering-notes summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  list-style: none;
}
.engineering-notes summary::-webkit-details-marker {
  display: none;
}
.notes-body {
  padding-top: 5px;
  color: var(--muted);
}
.notes-body p + p {
  margin-top: 13px;
}
.notes-body ul {
  padding-left: 18px;
}
.notes-body li {
  margin-top: 8px;
}
.not-found {
  background: var(--paper);
  min-height: 100svh;
  padding: 20vh 24px;
  text-align: center;
}
.not-found h1 {
  font-size: clamp(52px, 7vw, 86px);
  margin: 25px 0;
}
.not-found p {
  color: var(--muted);
}
@media (min-width: 768px) {
  .nav-backdrop {
    display: none !important;
  }
  .nav-ready .nav-shell {
    gap: 3px;
  }
  .nav-ready #site-nav[data-open="false"] + .theme-toggle {
    margin-left: 2px;
  }
  @keyframes dock-in {
    from {
      opacity: 0;
      transform: translateX(-8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .work-section,
  .writing-section,
  .archive-section {
    padding-left: 40px;
    padding-right: 40px;
  }
  .folder-title {
    font-size: 29px;
  }
  .folder-front {
    padding: 16px;
  }
  .folder-description {
    font-size: 12px;
  }
  .folder-category {
    font-size: 9px;
  }
  .wallet-card {
    width: 153px;
    height: 185px;
    padding: 15px;
  }
  .wallet-card strong {
    font-size: 12px;
  }
  .wallet-card small {
    font-size: 7px;
  }
  .wallet-card > span:last-child {
    font-size: 10px;
  }
  .wallet {
    padding: 0;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 90px;
  }
  .page-surface {
    border-radius: 0 0 30px 30px;
  }
  .section-space {
    padding-top: 65px;
    padding-bottom: 40px;
  }
  .hero {
    padding: 95px 20px 100px;
    min-height: 88svh;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
  }
  .hero-copy {
    transform: none;
  }
  .hero h1 {
    font-size: clamp(64px, 12vw, 86px);
  }
  .hero-tagline {
    font-size: 25px;
    margin-top: 25px;
  }
  .hero-note {
    font-size: 23px;
  }
  .hero-note span {
    font-size: 35px;
    margin-left: 2px;
    top: -15px;
  }
  .hero-actions {
    gap: 24px;
    margin-top: 30px;
  }
  .hero-actions .button {
    padding: 11px 22px;
  }
  .hero .scroll-note {
    bottom: 24px;
    font-size: 8px;
  }
  .foliage:before {
    right: -360px;
    top: -260px;
  }
  .foliage:after {
    left: -490px;
    top: 15%;
  }
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .section-note {
    font-size: 22px;
    margin: 13px 0 36px;
  }
  .work-section,
  .writing-section,
  .archive-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .work-section {
    padding-top: 35px;
    max-width: 540px;
  }
  .folder-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .folder {
    aspect-ratio: 400/340;
  }
  .folder-front {
    padding: 17px 18px 16px;
  }
  .folder-title {
    font-size: 31px;
    max-width: 95%;
  }
  .folder-category {
    font-size: 9px;
  }
  .folder-description {
    font-size: 12px;
    max-width: 270px;
  }
  .folder-tags span {
    font-size: 10px;
  }
  .folder-arrow {
    width: 32px;
    height: 32px;
  }
  .folder-bottom {
    padding-top: 8px;
  }
  .capabilities-section {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 570px;
  }
  .capabilities-section h2 {
    font-size: 38px;
  }
  .capability-intro {
    padding: 17px;
    gap: 12px;
    margin-top: 28px;
  }
  .capability-intro > span {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 28px;
  }
  .capability-intro p {
    font-size: 12px;
  }
  .capabilities {
    padding: 12px 9px;
  }
  .capability-label {
    font-size: 10px;
  }
  .capability summary {
    padding: 17px 10px;
    gap: 12px;
  }
  .capability strong {
    font-size: 14px;
  }
  .capability-description {
    font-size: 12px;
  }
  .capability-number {
    width: 31px;
    height: 31px;
    font-size: 11px;
  }
  .capability-detail {
    padding: 0 15px 19px 53px;
    font-size: 12px;
  }
  .writing-section {
    max-width: 540px;
  }
  .writing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .writing-card > a {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
  }
  .article-art {
    height: 100%;
    min-height: 180px;
  }
  .article-art:before,
  .article-art:after {
    width: 70px;
    height: 115px;
  }
  .article-art > span {
    font-size: 54px;
  }
  .article-art small {
    display: none;
  }
  .writing-copy {
    padding: 19px 16px;
  }
  .writing-copy h3 {
    font-size: 25px;
    min-height: 0;
  }
  .article-meta {
    font-size: 9px;
  }
  .article-read {
    margin-top: 15px;
  }
  .about-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 65px;
  }
  .about-section h2 {
    font-size: 38px;
  }
  .wallet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 0;
    max-width: 350px;
    margin-top: 48px;
    padding: 0 14px;
  }
  .wallet-card {
    width: 100%;
    height: 159px;
    padding: 13px 14px;
    margin: 0;
    transform: rotate(-6deg);
  }
  .wallet-card small {
    font-size: 7px;
    margin-bottom: 8px;
  }
  .wallet-icon {
    width: 36px;
    height: 36px;
    font-size: 21px;
    border-radius: 9px;
  }
  .wallet-card strong {
    font-size: 12px;
  }
  .wallet-card > span:last-child {
    font-size: 10px;
  }
  .wallet-card img {
    width: 41px;
    height: 44px;
    border-radius: 9px;
  }
  .wallet-yellow {
    transform: rotate(6deg);
  }
  .wallet-green {
    transform: rotate(-5deg);
    z-index: 2;
  }
  .wallet-pink {
    transform: rotate(5deg);
    z-index: 3;
  }
  .wallet-blue {
    display: none;
  }
  .quick-ask {
    padding: 6px;
    gap: 7px;
    margin-top: -7px;
    max-width: 390px;
  }
  .quick-ask label {
    font-size: 9px;
    padding: 7px 9px;
  }
  .quick-ask input {
    font-size: 10px;
  }
  .quick-ask button {
    width: 34px;
    height: 34px;
  }
  .about-copy {
    margin-top: 25px;
    font-size: 13px;
    text-align: left;
  }
  .experience-details {
    margin-top: 20px;
  }
  .experience-details > summary {
    padding: 16px 18px;
    font-size: 13px;
  }
  .timeline {
    padding: 0 18px 20px;
  }
  .timeline h3 {
    font-size: 15px;
  }
  .timeline p:not(.eyebrow) {
    font-size: 12px;
  }
  .contact-section {
    padding: 70px 18px 25px;
  }
  .contact-kicker {
    font-size: 12px;
    max-width: 270px;
    margin: 0 auto 21px;
  }
  .contact-section h2 {
    font-size: 64px;
  }
  .email-row {
    margin-top: 26px;
    gap: 7px;
  }
  .social-links {
    margin-top: 13px;
  }
  .game-panel {
    margin-top: 36px;
    padding: 20px 16px 17px;
    border-radius: 30px;
  }
  .game-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 15px;
  }
  .game-identity h3 {
    font-size: 16px;
  }
  .game-logo {
    width: 45px;
    height: 45px;
    border-radius: 13px;
  }
  .game-stats {
    width: 100%;
  }
  .game-stats > div {
    padding: 5px 13px;
    flex: 1;
  }
  .game-stats strong {
    font-size: 16px;
  }
  .game-stats button {
    width: 38px;
    height: 38px;
  }
  #bug-run {
    height: 160px;
    border-radius: 19px;
  }
  .game-bottom {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    text-align: center;
  }
  .game-bottom p {
    font-size: 10px;
  }
  .game-controls button {
    min-height: 36px;
    padding: 7px 16px;
  }
  .site-footer {
    padding: 15px 24px 35px;
  }
  .site-footer > div {
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    font-size: 9px;
  }
  .archive-hero {
    padding: 115px 20px 45px;
  }
  .archive-hero h1 {
    max-width: 400px;
    margin: auto;
  }
  .archive-hero > .text-link {
    margin-bottom: 30px;
  }
  .archive-section {
    max-width: 550px;
    padding-bottom: 65px;
  }
  .archive-filters {
    flex-direction: column;
    gap: 10px;
  }
  .archive-filters button {
    padding: 9px 13px;
    font-size: 11px;
  }
  .archive-list {
    grid-template-columns: 1fr;
  }
  .archive-copy {
    padding: 22px;
  }
  .archive-copy h2 {
    font-size: 35px;
  }
  .archive-visual {
    padding: 24px 18px;
  }
  .not-found .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .site-header {
    top: 14px;
    bottom: auto;
    left: 0;
    right: 0;
    max-width: none;
    transform: none;
    pointer-events: none;
  }
  .nav-shell {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    justify-content: center;
    pointer-events: none;
  }
  .wordmark {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 21px;
    border: 0;
    background: var(--glass);
    backdrop-filter: blur(22px);
    border-radius: 40px;
    box-shadow: 0 3px 15px #0000000a;
    font-size: 26px;
  }
  .menu-toggle {
    position: absolute;
    right: 16px;
    top: 0;
    width: 50px;
    height: 50px;
    justify-content: center;
    pointer-events: auto;
    background: var(--glass);
    backdrop-filter: blur(22px);
    border: 0;
    box-shadow: 0 3px 15px #0000000a;
    padding: 0;
  }
  .menu-toggle [data-menu-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  #site-nav {
    position: absolute;
    right: 16px;
    top: 66px;
    width: min(320px, calc(100vw - 32px));
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 0;
    border-radius: 22px;
    background: var(--strong-glass);
    backdrop-filter: blur(25px);
    box-shadow: 0 10px 25px #00000014;
    pointer-events: auto;
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #site-nav a {
    font-size: 15px;
    padding: 13px 15px;
    border-radius: 12px;
  }
  .theme-toggle {
    position: absolute;
    top: 0;
    left: 16px;
    width: 50px;
    height: 50px;
    pointer-events: auto;
    border: 0;
    background: var(--glass);
    backdrop-filter: blur(22px);
    box-shadow: 0 3px 15px #0000000a;
  }
  .nav-ready #site-nav[data-open="false"] {
    display: none;
  }
  .nav-shell :is(.wordmark, .menu-toggle, .theme-toggle),
  .nav-shell #site-nav {
    border: 1px solid var(--nav-edge);
    background: linear-gradient(145deg, var(--nav-sheen), transparent 65%) var(--nav-glass);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
    backdrop-filter: blur(26px) saturate(160%);
    box-shadow: inset 0 1px 0 var(--nav-sheen), 0 8px 28px rgb(0 0 0 / 0.1);
  }
  html:not(.nav-ready) .site-header {
    position: fixed;
    top: 14px;
    left: 16px;
    right: 16px;
    background: var(--paper);
    border-radius: 28px;
    padding: 0;
  }
  html:not(.nav-ready) .nav-shell {
    display: block;
  }
  html:not(.nav-ready) .wordmark {
    display: none;
  }
  html:not(.nav-ready) #site-nav {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  html:not(.nav-ready) #site-nav a {
    font-size: 12px;
    padding: 8px 10px;
  }
}
@media (max-width: 359px) {
  .hero h1 {
    font-size: 55px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-tagline {
    font-size: 23px;
  }
  .folder-front {
    padding: 14px;
  }
  .folder-title {
    font-size: 27px;
    margin-bottom: 7px;
  }
  .folder-description {
    font-size: 11px;
  }
  .folder-category {
    font-size: 8px;
  }
  .folder-tags span {
    font-size: 9px;
    padding: 3px 7px;
  }
  .capabilities-section h2,
  .about-section h2 {
    font-size: 34px;
  }
  .wallet {
    padding: 0 8px;
  }
  .wallet-card {
    padding: 12px;
  }
  .wallet-card strong {
    font-size: 11px;
  }
  .wallet-card > span:last-child {
    font-size: 9px;
  }
  .quick-ask input {
    font-size: 9px;
  }
  .contact-section h2 {
    font-size: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .folder:hover,
  .folder:focus-visible,
  .wallet-card:hover {
    transform: none;
  }
  .folder:hover .folder-front,
  .folder:focus-visible .folder-front {
    transform: none;
  }
}
@media print {
  .site-header,
  .skip-link,
  .nav-backdrop,
  .game-panel,
  .copy-email,
  .quick-ask,
  .archive-filters {
    display: none !important;
  }
  body,
  .page-surface {
    background: white !important;
    color: black !important;
  }
  .hero {
    min-height: 0;
    padding: 40px 20px;
  }
  .section-space {
    padding: 30px 20px;
  }
  .contact-section {
    background: white;
    color: black;
    page-break-inside: avoid;
  }
  .folder-grid,
  .archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .folder {
    break-inside: avoid;
  }
  .site-footer {
    background: white;
    color: black;
    padding: 20px;
  }
  .wallet {
    margin-top: 30px;
  }
  .page-surface {
    overflow: visible;
  }
  .contact-section h2 {
    font-size: 50px;
  }
}

@media (max-width: 767px) {
  #site-nav .theme-toggle {
    position: static;
    width: 100%;
    height: 46px;
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 15px;
    margin-top: 7px;
    border: 1px solid var(--line);
    background: var(--glass);
  }
  #site-nav .theme-toggle:after {
    content: "Dark theme";
    font-size: 13px;
  }
}
/* Reserve filter space before progressive controls initialize. */
.archive-filter-space {
  display: flow-root;
  min-height: 90px;
}
@media (max-width: 767px) {
  .archive-filter-space {
    min-height: 120px;
  }
}

/* Shared desktop navigation order and compact state. */
@media (min-width: 768px) {
  .nav-ready #site-nav,
  .nav-ready #site-nav[data-open="false"],
  .nav-ready #site-nav[data-open="true"] {
    display: contents;
  }
  .nav-shell .menu-toggle {
    order: 0;
  }
  .nav-shell .wordmark {
    order: 3;
    margin: 0 7px;
  }
  #site-nav a:nth-child(1) {
    order: 1;
  }
  #site-nav a:nth-child(2) {
    order: 2;
  }
  #site-nav a:nth-child(3) {
    order: 4;
  }
  #site-nav a:nth-child(4) {
    order: 5;
  }
  #site-nav a:nth-child(5) {
    order: 6;
  }
  #site-nav a:nth-child(6) {
    order: 7;
  }
  .nav-shell > .theme-toggle {
    order: 8;
    background: transparent;
    transition: background-color 0.2s ease;
  }
  @media (hover: hover) {
    .nav-shell > .theme-toggle:hover {
      background: var(--glass);
    }
  }
  .nav-ready
    #site-nav[data-open="false"]
    a:not(:nth-child(1)):not(:nth-child(3)) {
    display: none;
  }
  .nav-ready #site-nav[data-open="false"] + .theme-toggle {
    display: flex;
  }
}

/* Controls sit on solid surfaces; pointer clicks do not draw keyboard rings. */
:root[data-input-modality="pointer"] :is(.quick-ask input, #bug-run):focus {
  outline: none;
}
.quick-ask input:focus-visible {
  outline: none;
}
.quick-ask:has(input:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
:root[data-input-modality="pointer"] .quick-ask:has(input:focus) {
  outline: none;
}
#bug-run:focus-visible {
  outline-width: 2px;
  outline-offset: 4px;
}

/* Curated projects and compact home archive. */
.folder-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-number {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  opacity: 0.75;
}
.home-archive {
  margin-top: 100px;
}
.archive-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.archive-heading h3 {
  margin: 12px 0 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.archive-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.archive-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px;
  border-radius: 20px;
  background: var(--strong-glass);
  min-width: 0;
  transition: transform 0.2s var(--out);
}
.archive-link:hover {
  transform: translateY(-3px);
}
.archive-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.archive-link strong {
  display: block;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.archive-link small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.archive-link > .icon {
  flex-shrink: 0;
  width: 18px;
}
@media (max-width: 1023px) {
  .archive-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .home-archive {
    margin-top: 65px;
  }
  .archive-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .archive-link-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .archive-link {
    transition: none;
  }
}

@media (max-width: 767px) {
  .folder {
    min-height: 310px;
  }
}
/* Timed capabilities: one clear, readable active row. */
.capability-number {
  position: relative;
  width: 40px;
  height: 40px;
}
.capability-number svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 3.5;
  transform: rotate(-90deg);
  opacity: 0;
}
.capability-track {
  stroke: color-mix(in srgb, var(--ink) 9%, var(--paper));
}
.capability-progress {
  stroke: #28db5c;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.capability[open] .capability-number svg {
  opacity: 1;
}
.capability[open] .capability-number {
  background: transparent;
  color: var(--ink);
}
.capability-plus {
  transition: transform 0.25s var(--out);
}
.capability-detail {
  padding-left: 68px;
  font-size: 14px;
  line-height: 1.65;
}
.capability strong {
  font-size: 16px;
}
.capability-description {
  font-size: 14px;
}
.capability[open] .capability-detail {
  animation: capability-enter 0.3s var(--out);
}
@keyframes capability-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Personal cards rise out of one shared chat surface. */
.wallet {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 870px;
  padding: 24px 28px 0;
  margin: 44px auto -20px;
  gap: 0;
}
.wallet-card {
  --wallet-angle: -8deg;
  --wallet-rise: 0px;
  width: 178px;
  height: 175px;
  margin: 0 -7px;
  padding: 12px 14px 14px;
  border: 0;
  border-radius: 22px;
  transform: translateY(var(--wallet-rise)) rotate(var(--wallet-angle));
  transform-origin: center 85%;
  transition:
    transform 0.45s var(--spring),
    box-shadow 0.45s var(--out);
  user-select: none;
  -webkit-user-select: none;
}
.wallet-card::before {
  top: 0px;
  border-radius: 22px 22px 0 0;
}
.wallet-card small {
  font-size: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: normal;
  margin-bottom: 8px;
}
.wallet-card strong {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.wallet-card > span:last-child {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}
.wallet-icon {
  width: 55px;
  height: 55px;
  border: 0;
  background: linear-gradient(145deg, #ffffff88, #ffffff18);
  box-shadow:
    0 5px 12px #33295612,
    inset 0 1px #ffffff80;
}
.wallet-icon svg {
  width: 31px;
  height: 31px;
}
.wallet-card img {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  border: 0;
  pointer-events: none;
}
.wallet-yellow {
  --wallet-angle: -4deg;
  --wallet-rise: 6px;
}
.wallet-green {
  --wallet-angle: 0deg;
  --wallet-rise: -13px;
}
.wallet-pink {
  --wallet-angle: 4deg;
  --wallet-rise: -5px;
}
.wallet-blue {
  --wallet-angle: 8deg;
  --wallet-rise: 0px;
  display: flex;
}
.wallet-card:is(:hover, :focus-visible) {
  z-index: 5;
  transform: translateY(-35px) rotate(var(--wallet-lean, 0deg)) scale(1.045);
  box-shadow: 0 18px 28px #24203022;
}
.about-section .ask-widget {
  position: relative;
  z-index: 6;
}
.about-section h2,
.capabilities-section h2 {
  font-size: clamp(36px, 5vw, 50px);
}
@media (min-width: 768px) and (max-width: 1000px) {
  .wallet-card {
    width: 155px;
    height: 175px;
    padding: 12px 13px 14px;
  }
  .wallet-card strong {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .capabilities-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .capability summary {
    gap: 12px;
    padding: 18px 11px;
  }
  .capability-detail {
    padding: 0 18px 20px 63px;
  }
  .capability-number {
    width: 38px;
    height: 38px;
  }
  .wallet {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 43px 18px 22px;
    margin: 44px auto -20px;
    width: 100%;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .wallet::-webkit-scrollbar {
    display: none;
  }
  .wallet-card {
    width: 156px;
    height: 175px;
    padding: 12px 15px 14px;
    margin: 0 -4px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  .wallet-card small {
    font-size: 11px;
  }
  .wallet-card strong {
    font-size: 16px;
  }
  .wallet-card > span:last-child {
    font-size: 12px;
  }
  .wallet-icon {
    width: 48px;
    height: 48px;
  }
  .wallet-card:is(:hover, :focus-visible) {
    transform: translateY(-20px) rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .capability[open] .capability-detail {
    animation: none;
  }
  .wallet-card,
  .capability-plus {
    transition: none;
  }
  .wallet-card:is(:hover, :focus-visible) {
    transform: translateY(-8px);
  }
}
/* Small labels stay readable at every breakpoint. */
.eyebrow,
.hero .eyebrow,
.section-heading .eyebrow,
.hero .scroll-note,
.capability-label,
.article-meta {
  font-size: 12px;
}
.site-footer,
.site-footer > div {
  font-size: 12px;
}
.folder-category {
  font-size: 11px;
}
.folder-description {
  font-size: 13px;
  line-height: 1.5;
}
.folder-tags span {
  font-size: 11px;
}
@media (max-width: 767px) {
  .folder {
    min-height: 340px;
  }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .wallet-card {
    width: min(155px, calc((100vw - 70px) / 5));
  }
}
.wallet-card::before {
  height: 32px;
  clip-path: inset(0 0 23px 0);
}

/* Keep the closing menu present just long enough to finish its exit. */
.nav-ready #site-nav[data-closing] {
  display: flex;
  pointer-events: none;
}
@media (min-width: 768px) {
  .nav-shell {
    overflow: clip;
  }
  .nav-ready #site-nav[data-closing] {
    display: contents;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button:active,
  .filter-chip:active,
  .copy-email:active {
    transform: scale(0.97);
  }
  .menu-toggle:active {
    scale: 0.94;
  }
  .menu-toggle {
    transition: scale 0.3s var(--spring);
  }
  .button,
  .filter-chip,
  .copy-email {
    transition:
      transform 0.35s var(--spring),
      background 0.2s var(--out);
  }
}
