@font-face {
  font-family: "Jason Display";
  src: url("./assets/fonts/JasonDisplay-Fangsong.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("./assets/fonts/CormorantGaramond-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #f6f4ef;
  --paper-deep: #f0ede5;
  --ink: #25231f;
  --ink-2: #4d4941;
  --muted: #70695f;
  --gold: #87642d;
  --teal: #00696e;
  --indigo: #3f4c74;
  --line: #49402d26;
  --serif: "Jason Display", "Cormorant", "Songti SC", STSong, SimSun, serif;
  --sans: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.022;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%232d2617' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
::selection {
  background: #d7c5a1;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font-family: inherit;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 24px;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  border-radius: 6px;
}
.skip-link:focus {
  transform: none;
}
.shell {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: clamp(90px, 9vw, 138px);
}
.band {
  background: #d7cdb50d;
  border-block: 1px solid #5a4d2e12;
  box-shadow: inset 0 1px #fffaf0c9;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--muted);
}
html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.2em;
}
.masthead {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 64px));
  min-height: 70px;
  padding: 10px 13px 10px 21px;
  border: 1px solid #fffdf5d6;
  border-radius: 99px;
  background: #fffdf780;
  box-shadow:
    0 14px 34px -20px #40331a73,
    0 1px 4px #41331c1a,
    inset 0 1px #fffefbf0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    transform 0.6s var(--ease),
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.masthead::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(130deg, #9ab6cb7a, #fff9 27%, #cdb57a85 89%)
    border-box;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.masthead.is-compact {
  transform: translate(-50%, -7px) scale(0.97);
  background: #fffdf7d6;
  box-shadow:
    0 14px 30px -16px #40331a5c,
    0 1px 3px #41331c1a,
    inset 0 1px #fffefb;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand > .brand-avatar {
  width: 39px;
  height: 39px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #fffef9, #e2dfd6);
  border: 1px solid #fffdf6;
  box-shadow:
    inset 0 1px #fff,
    0 2px 3px #51482c26;
  transition: transform 0.4s var(--ease);
}
.brand:hover > .brand-avatar {
  transform: rotate(-8deg);
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-name {
  font-family: "Cormorant", Georgia, serif;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 600;
  white-space: nowrap;
}
.brand-sub {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 0;
}
.site-nav a::after {
  position: absolute;
  content: "";
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="location"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.locale-switch {
  display: flex;
  background: #4c483b0d;
  border-radius: 99px;
  padding: 3px;
  box-shadow: inset 0 1px 3px #3d34221a;
}
.locale-switch button {
  display: grid;
  place-items: center;
  min-width: 29px;
  min-height: 23px;
  padding: 1px 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 10px;
  line-height: 1;
  color: var(--muted);
}
.locale-switch button[aria-pressed="true"] {
  background: linear-gradient(#fffef9, #d8d5cd);
  border-color: #fffdf5;
  box-shadow:
    0 1px 2px #42382238,
    inset 0 -1px #8e85773b;
  color: var(--ink);
}
.contact-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 9px 17px;
  font-size: 12px;
  background: linear-gradient(#37342e, #25231f);
  border-radius: 99px;
  color: #f6f4ed;
  box-shadow:
    0 3px 5px #37302529,
    inset 0 1px #716b5e73;
  white-space: nowrap;
}
.contact-nav > span:last-child {
  font-size: 14px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  padding: 9px 6px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.3s ease;
}
.hero {
  position: relative;
  min-height: 100svh;
  padding: 143px 24px 100px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: clip;
}
.hero-inner {
  width: min(950px, 100%);
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-identity {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
.crest {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}
.identity-name {
  font-family: "Cormorant", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: #6e5733;
}
.identity-note {
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.hero-eyebrow {
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 6.5vw, 94px);
  line-height: 1.2;
  margin-top: 15px;
  letter-spacing: -0.035em;
}
.hero h1 > span {
  white-space: nowrap;
}
.hero h1 em {
  font-weight: 400;
  font-style: normal;
  color: var(--gold);
}
.hero-copy {
  max-width: 636px;
  margin: 22px auto 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 29px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  border-radius: 99px;
  border: 1px solid #fffef9;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s ease;
}
.button > span:last-child[aria-hidden] {
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.35s var(--ease);
}
.button:hover {
  transform: translateY(-2px);
}
.button:hover > span:last-child[aria-hidden] {
  transform: translate(2px, -2px);
}
.button-rim {
  background: #fbfaf5;
  color: #5e491f;
  border: 1px solid #c8ad72;
  box-shadow:
    inset 0 0 0 3px #f4eee0,
    0 0 0 4px #fffdf6,
    0 5px 12px #5943271a;
}
.button-rim::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(
      110deg,
      #475483,
      #53677c 30%,
      #c7a253 67%,
      #e2bd66
    )
    border-box;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.button-soft {
  background: #fffef97d;
  box-shadow:
    0 10px 19px -14px #47392080,
    inset 0 1px #fffdf9;
}
.button-dark {
  background: linear-gradient(160deg, #3c3931, #292620);
  color: #f9f6ed;
  border-color: #4f493e;
  box-shadow:
    0 8px 18px -9px #40301e80,
    inset 0 1px #a0967d5e;
}
.practice-pills {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #fffef5d6;
  box-shadow:
    inset 0 1px #fffefa,
    0 8px 16px -12px #65502e66;
  background: #fffef544;
  padding: 8px;
  border-radius: 99px;
  margin-top: 34px;
}
.practice-pills a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  min-height: 40px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid #fffdf5e8;
  background: linear-gradient(#fffefacc, #efebe44d);
  transition:
    background 0.3s ease,
    transform 0.35s var(--ease);
}
.practice-pills a:hover {
  transform: translateY(-2px);
  background: #fffbf0;
}
.practice-pills a:last-child {
  color: #685022;
  border-color: #e5cc8c;
  background: linear-gradient(#f7e2ab, #d4b76e);
  box-shadow:
    inset 0 1px #fff5d6,
    0 2px 4px #ad86352b;
}
.pill-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 19px;
  line-height: 1;
  color: #576772;
}
.practice-pills a:last-child .pill-icon {
  color: #735a22;
}
.hero-scroll {
  position: absolute;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.hero-scroll > span:first-child {
  font-size: 17px;
}
.hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 7%, #fffdf78c, transparent 62%),
    linear-gradient(
      166deg,
      transparent 29%,
      #fffdf888 35%,
      #fffdf144 42%,
      transparent 58%
    );
}
.field-band {
  position: absolute;
  left: -15%;
  width: 130%;
  top: 47%;
  height: 155px;
  background: linear-gradient(
    180deg,
    #8d9eaf00,
    #c0c9ce38 29%,
    #aab8c829 48%,
    #dce1e033 70%,
    transparent
  );
  transform: rotate(-4deg);
  mask-image: linear-gradient(
    90deg,
    #000,
    transparent 36%,
    transparent 66%,
    #000
  );
}
.field-line {
  position: absolute;
  top: 58%;
  height: 1px;
  width: 35%;
  background: linear-gradient(90deg, transparent, #a6b1b7);
  box-shadow: 0 1px #fffdf9;
}
.field-line i {
  position: absolute;
  right: 12%;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid #b39256;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #f8f4ea;
}
.field-line-one {
  left: 0;
  mask-image: linear-gradient(90deg, #000 30%, transparent);
}
.field-line-two {
  right: 0;
  transform: rotate(180deg);
  mask-image: linear-gradient(90deg, #000 30%, transparent);
}
.field-ruler {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 40%;
  left: max(50px, calc((100vw - 1270px) / 2));
  height: 295px;
  border-left: 1px solid #b499635e;
  padding-left: 8px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #a99c81;
}
.field-ruler::before,
.field-ruler::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 7px;
  height: 1px;
  background: #b49963b3;
}
.field-ruler::before {
  top: 0;
}
.field-ruler::after {
  bottom: 0;
}
.field-caption {
  position: absolute;
  right: max(40px, calc((100vw - 1290px) / 2));
  top: 75%;
  writing-mode: vertical-rl;
  color: #a29680;
  font-size: 7px;
  letter-spacing: 0.22em;
}
.field-circuit {
  position: absolute;
  bottom: 95px;
  left: 0;
  right: 0;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.6;
}
.field-circuit span {
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bcb4a3, transparent);
  box-shadow: 0 2px #fffdf6;
}
.field-circuit i {
  display: none;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: clamp(35px, 7vw, 110px);
  align-items: end;
  margin-bottom: 65px;
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-top: 13px;
}
.section-heading h2 em {
  font-style: normal;
  color: var(--gold);
}
.section-intro {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 560px;
}
.approach-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
  align-items: center;
}
.method-overline {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #8d8270;
  margin-bottom: 20px;
}
.method-tabs {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 16px 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
  position: relative;
  font-family: var(--serif);
  font-size: 20px;
  transition: color 0.3s;
}
.method-tabs button::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -1px;
  left: 0;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.method-tabs button[aria-selected="true"] {
  color: var(--gold);
}
.method-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}
.method-number {
  font-family: "Cormorant", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #a39479;
}
.method-panel {
  min-height: 180px;
  padding: 28px 0 0;
}
.method-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.5;
}
.method-panel p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.95;
  margin-top: 14px;
}
.loop-illustration {
  position: relative;
}
.loop-art {
  position: relative;
  aspect-ratio: 3 / 2;
  isolation: isolate;
}
.loop-art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.illustration-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
}
[data-motion-enhanced="true"] .illustration-overlay {
  visibility: visible;
}
[data-illustration-motion] {
  --illustration-play-state: paused;
}
[data-motion-running="true"] {
  --illustration-play-state: running;
}
.motion-track {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: engineering-circuit 8s linear infinite;
  animation-play-state: var(--illustration-play-state);
}
.motion-track-halo {
  --track-offset: 0px;
  stroke: #c89c40;
  stroke-width: 16;
  stroke-dasharray: 110 890;
  opacity: .22;
  filter: url(#engineering-motion-soft);
}
.motion-track-tail {
  --track-offset: 0px;
  stroke: #bb8f37;
  stroke-width: 6;
  stroke-dasharray: 110 890;
  opacity: .3;
}
.motion-track-near {
  --track-offset: -45px;
  stroke: #e1b954;
  stroke-width: 5;
  stroke-dasharray: 65 935;
  opacity: .72;
}
.motion-track-bead {
  --track-offset: -103px;
  stroke: #b5872d;
  stroke-width: 12;
  stroke-dasharray: 7 993;
  opacity: .9;
}
.motion-track-head {
  --track-offset: -103px;
  stroke: #fff0b2;
  stroke-width: 3.5;
  stroke-dasharray: 7 993;
}
.motion-station-light,
.motion-station-halo,
.motion-station-line {
  opacity: 0;
  animation: engineering-station 8s linear var(--station-delay) infinite;
  animation-play-state: var(--illustration-play-state);
}
.motion-station-light {
  --station-peak: .3;
  mix-blend-mode: screen;
}
.motion-station-halo {
  --station-peak: .48;
  fill: #dab85e;
  filter: url(#engineering-motion-soft);
}
.motion-station-line {
  --station-peak: .85;
  stroke: #fff0b2;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.motion-code-scan {
  stroke-dasharray: 28 9;
}
.motion-selection {
  fill: none;
  stroke: #aa8143;
  stroke-width: 2.2;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
[data-method-state="0"] .motion-selection-intent,
[data-method-state="1"] .motion-selection-model,
[data-method-state="2"] .motion-selection-build,
[data-method-state="3"] .motion-selection-verify {
  opacity: .48;
}
.diagram-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 4px;
}
.illustration-motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  border: 1px solid #a68e5938;
  border-radius: 99px;
  padding: 4px 10px;
  background: #fffdf56b;
  color: #7b6c4e;
  font: inherit;
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.illustration-motion-toggle[hidden] {
  display: none;
}
.illustration-motion-toggle:hover:not(:disabled) {
  border-color: #aa8143;
  background: #fffdf5;
}
.illustration-motion-toggle:disabled {
  cursor: default;
}
.illustration-motion-toggle svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.motion-play-icon,
.illustration-motion-toggle[aria-pressed="false"] .motion-pause-icon {
  display: none;
}
.illustration-motion-toggle[aria-pressed="false"] .motion-play-icon {
  display: block;
}
@keyframes engineering-circuit {
  from { stroke-dashoffset: var(--track-offset); }
  to { stroke-dashoffset: calc(var(--track-offset) - 1000px); }
}
@keyframes engineering-station {
  0%, 22%, 100% { opacity: 0; }
  6%, 10% { opacity: var(--station-peak); }
}
.loop-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(23px, 2.4vw, 31px);
  height: clamp(23px, 2.4vw, 31px);
  border: 1px solid #bc9755;
  border-radius: 50%;
  background: #faf8f1ed;
  box-shadow: inset 0 1px #fffef8, 0 3px 9px #614b2724;
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(12px, 1.2vw, 15px);
  font-style: italic;
  line-height: 1;
  color: #74521e;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.9);
  transition: opacity .35s ease, transform .4s var(--ease);
  pointer-events: none;
}
.loop-node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 4px);
  width: clamp(8px, 1vw, 14px);
  height: 1px;
  background: linear-gradient(90deg, #bc9755, #bc975500);
}
.loop-node.is-current {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.loop-node-intent {
  left: 12%;
  top: 21%;
}
.loop-node-model {
  left: 88%;
  top: 23%;
}
.loop-node-build {
  left: 91%;
  top: 60%;
}
.loop-node-verify {
  left: 11%;
  top: 55%;
}
.loop-node-model::after,
.loop-node-build::after {
  left: auto;
  right: calc(100% + 4px);
  background: linear-gradient(270deg, #bc9755, #bc975500);
}
.diagram-footnote {
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #8c8373;
}
.snapshot {
  margin-top: 19px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.project-ledger {
  border-top: 1px solid var(--line);
}
.project-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 44%;
  gap: 36px;
  padding: 53px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  --accent: var(--teal);
}
.project-row.indigo {
  --accent: var(--indigo);
}
.project-row.gold {
  --accent: var(--gold);
}
.project-index {
  align-self: start;
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  padding-top: 4px;
}
.project-index i {
  font-family: "Cormorant", Georgia, serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.project-index > span {
  margin-top: 7px;
}
.project-index::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line);
  margin-top: 13px;
}
.project-repo {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.project-copy h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 37px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.project-copy h3 a {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.project-copy h3 a > span:last-child {
  font-family: var(--sans);
  font-size: 15px;
  color: #7c766b;
  transition: transform 0.4s var(--ease);
}
.project-copy h3 a:hover > span:last-child {
  transform: translate(4px, -3px);
}
.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.project-tags span {
  border: 1px solid #fffdf4;
  background: #fffef980;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 9px;
  line-height: 1.7;
  color: var(--ink-2);
  box-shadow: 0 1px 2px #5f4b1c0d;
}
.project-description {
  font-size: 13px;
  line-height: 2;
  color: var(--ink-2);
  margin-top: 18px;
}
.project-bottom {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
  font-size: 10px;
}
.project-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
}
.project-stars svg {
  width: 15px;
  height: 15px;
}
.project-stars b {
  font-size: 12px;
  font-weight: 600;
}
.project-stars > span {
  font-size: 9px;
}
.fork-count {
  font-size: 9px;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.project-bottom .text-link {
  margin-left: auto;
  font-size: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 500;
  position: relative;
}
.text-link > span[aria-hidden] {
  font-size: 15px;
  font-weight: 400;
  transition: transform 0.35s var(--ease);
}
.text-link:hover > span[aria-hidden] {
  transform: translate(3px, -3px);
}
.text-link::after {
  content: "";
  position: absolute;
  height: 1px;
  background: currentColor;
  bottom: -3px;
  left: 0;
  width: calc(100% - 25px);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.project-art {
  position: relative;
  min-width: 0;
  display: block;
  aspect-ratio: 1.48;
  border-radius: 25px;
  border: 1px solid #fffc;
  background: linear-gradient(145deg, #faf9f5, #f0eee9);
  box-shadow:
    0 17px 25px -22px #4036266e,
    inset 0 0 0 5px #ffffff40,
    0 0 0 1px #b7ab9026;
  overflow: hidden;
}
.project-art img {
  width: 100%;
  height: 100%;
  padding: 4px 6px 31px;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.8s var(--ease);
}
.project-art:hover img {
  transform: scale(1.035) translateY(-3px);
}
.art-label {
  position: absolute;
  bottom: 14px;
  left: 17px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #625c50;
  font-size: 9px;
  pointer-events: none;
}
.art-label i {
  font-family: "Cormorant", Georgia, serif;
  font-size: 15px;
}
.art-label > span {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #a19379;
}
.more-projects {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 35px;
  margin-top: 48px;
}
.more-projects > div:first-child {
  padding-top: 18px;
}
.more-project-list a {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto 12px;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #49402d1a;
}
.more-name {
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.more-description {
  font-size: 11px;
  color: var(--muted);
}
.more-stars {
  font-size: 10px;
  color: var(--gold);
  white-space: nowrap;
}
.more-project-list a > span:last-child {
  transition: transform 0.35s var(--ease);
}
.more-project-list a:hover > span:last-child {
  transform: translate(2px, -2px);
}
.section-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 35px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 62px;
}
.work-image {
  display: block;
  position: relative;
  aspect-ratio: 1.57;
  border-radius: 24px;
  overflow: hidden;
  padding: 9px;
  background: #fbfaf6;
  border: 1px solid #fffc;
  box-shadow:
    0 17px 28px -24px #4439219c,
    0 0 0 1px #b6ab922b;
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  transition: transform 0.8s var(--ease);
}
.work-image:hover img {
  transform: scale(1.035);
}
.work-image-oxygen img,
.work-image-imaging img {
  object-fit: contain;
  background: #f7f7f4;
}
.work-image-primegen img {
  object-position: top;
}
.work-image-note {
  position: absolute;
  bottom: 22px;
  left: 23px;
  padding: 3px 12px;
  border: 1px solid #fff9;
  border-radius: 99px;
  font-size: 8px;
  letter-spacing: 0.03em;
  background: #fffdf2cf;
  color: #5d584e;
}
.image-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #fffdf6cf;
  border: 1px solid #fffc;
  border-radius: 50%;
  font-size: 17px;
}
.work-item-copy {
  padding: 25px 8px 0;
}
.work-item-copy .eyebrow {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.work-item h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin-top: 9px;
  line-height: 1.4;
}
.work-item-copy > p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-2);
}
.work-item .text-link {
  margin-top: 18px;
  font-size: 11px;
}
.work-item-checkup {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  padding-block: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}
.work-item-checkup .checkup-copy { padding: 0 8px; }
.checkup-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--teal);
  font-size: 10px;
}
@media (max-width: 720px) {
  .work-item-checkup { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 28px; }
  .work-item-checkup .checkup-copy { padding: 0 3px; }
}
.about-intro .button {
  margin-top: 22px;
}
.about-details {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: clamp(35px, 7vw, 110px);
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.capabilities dl {
  margin-top: 22px;
}
.capabilities dl > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  border-bottom: 1px solid #49402d12;
  padding: 13px 0;
}
.capabilities dt {
  font-family: "Cormorant", Georgia, serif;
  font-size: 19px;
  color: #6f5d3c;
}
.capabilities dd {
  font-size: 10px;
  line-height: 2.6;
}
.personal-note {
  font-family: "Cormorant", Georgia, serif;
  font-style: italic;
  font-size: 27px;
  color: #928168;
  margin-top: 39px;
}
.experience {
  scroll-margin-top: 110px;
}
.experience ol {
  margin-top: 25px;
  list-style: none;
}
.experience li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 19px;
  padding-bottom: 28px;
}
.experience-date {
  font-size: 9px;
  color: #8c806e;
  margin-top: 3px;
}
.experience-company {
  color: #8c806e;
  font-size: 10px;
}
.experience h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  margin-top: 3px;
  line-height: 1.5;
}
.experience li > div:last-child > p:last-child {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}
.contact {
  overflow: hidden;
  position: relative;
  padding-block: 134px 115px;
}
.contact .shell {
  position: relative;
}
.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(45px, 5.5vw, 78px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 20px;
}
.contact h2 > span:last-child {
  color: var(--gold);
}
.contact-description {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 29px;
}
.email-address {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 23px;
  overflow-wrap: anywhere;
}
.copy-status {
  font-size: 11px;
  color: var(--teal);
  min-height: 20px;
  margin-top: 10px;
}
.contact-orbit {
  position: absolute;
  inset: -50px -140px -20px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.contact-orbit span {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  height: 56%;
  border: 1px solid #b4a17d29;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  mask-image: linear-gradient(
    90deg,
    #000,
    transparent 29%,
    transparent 67%,
    #000
  );
}
.contact-orbit span:nth-child(2) {
  width: 105%;
  height: 71%;
  transform: translate(-50%, -50%) rotate(18deg);
  border-color: #7d9c9c1f;
}
.contact-orbit i {
  position: absolute;
  top: 77%;
  left: 13%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #bba373;
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--paper);
}
.footer {
  padding: 60px 0 21px;
  border-top: 1px solid var(--line);
  background: #ddd2bb0a;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 58px;
}
.footer-brand .brand {
  gap: 11px;
}
.footer-brand .brand > .brand-avatar {
  width: 31px;
  height: 31px;
}
.footer-brand .brand-name {
  font-size: 25px;
}
.footer-brand > p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 17px;
  max-width: 210px;
  line-height: 1.9;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-links .eyebrow {
  margin-bottom: 9px;
}
.footer-links > a {
  font-size: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink-2);
}
.footer-links > a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}
.footer-location > p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 10px;
  margin-top: 15px;
}
.footer-location > p:last-child {
  color: #9b907d;
  font-size: 9px;
  margin-top: 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #857c6e;
  font-size: 9px;
}
.footer-bottom a {
  color: var(--ink-2);
}
html[lang="en"] {
  --serif: "Cormorant", Georgia, serif;
}
html[lang="en"] .hero h1 {
  font-size: clamp(62px, 7.5vw, 108px);
  line-height: 0.97;
  letter-spacing: -0.035em;
}
html[lang="en"] .hero h1 em {
  font-style: italic;
}
html[lang="en"] .hero h1 > span:last-of-type {
  margin-right: 0.12em;
}
html[lang="en"] .hero-copy {
  line-height: 1.9;
  font-size: 13px;
  max-width: 640px;
}
html[lang="en"] .section-heading h2 {
  line-height: 1.02;
  font-size: clamp(43px, 4.6vw, 67px);
}
html[lang="en"] .section-heading h2 em {
  font-style: italic;
}
html[lang="en"] .method-tabs button {
  font-size: 20px;
  gap: 6px;
}
html[lang="en"] .project-copy h3 {
  font-size: 38px;
  line-height: 1.02;
}
html[lang="en"] .contact h2 {
  font-size: clamp(52px, 6.2vw, 90px);
  line-height: 0.98;
}
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.js .reveal.is-pending {
  opacity: 0;
  transform: translateY(24px);
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.js .hero-identity {
  animation: arrive 1s var(--ease) both;
}
.js .hero-eyebrow {
  animation: arrive 0.9s var(--ease) 0.12s both;
}
.js .hero h1 {
  animation: arrive 1s var(--ease) 0.2s both;
}
.js .hero-copy {
  animation: arrive 1s var(--ease) 0.32s both;
}
.js .hero-actions {
  animation: arrive 1s var(--ease) 0.43s both;
}
.js .practice-pills {
  animation: arrive 1s var(--ease) 0.52s both;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 980px;
  }
  .hero h1 {
    font-size: 99px;
  }
  .hero-copy {
    font-size: 15px;
  }
  .hero-eyebrow {
    margin-top: 28px;
  }
}
@media (max-width: 1100px) {
  .masthead {
    gap: 20px;
  }
  .site-nav {
    gap: 21px;
  }
  .site-nav a {
    font-size: 11px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .contact-nav {
    padding-inline: 14px;
  }
  .nav-actions {
    gap: 9px;
  }
  .brand-name {
    font-size: 22px;
  }
  .project-row {
    grid-template-columns: 42px minmax(0, 1fr) 42%;
    gap: 24px;
  }
  .project-index i {
    font-size: 38px;
  }
  .project-copy h3 {
    font-size: 31px;
  }
  .project-description {
    font-size: 12px;
  }
  .project-bottom {
    gap: 8px;
  }
  .fork-count {
    display: none;
  }
  .approach-layout {
    gap: 35px;
  }
  .section-heading {
    gap: 55px;
  }
  .about-details {
    gap: 55px;
  }
  .more-projects {
    grid-template-columns: 150px 1fr;
    gap: 25px;
  }
  .more-project-list a {
    grid-template-columns: 1.3fr 1fr auto 12px;
    gap: 11px;
  }
  .more-name {
    font-size: 10px;
  }
  .footer-top {
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .masthead {
    width: calc(100% - 36px);
    top: 16px;
    padding-left: 16px;
    min-height: 65px;
  }
  .site-nav {
    gap: 17px;
  }
  .site-nav a {
    font-size: 10px;
  }
  .contact-nav {
    font-size: 10px;
    gap: 7px;
    padding-inline: 12px;
  }
  .brand-name {
    font-size: 21px;
  }
  .brand > .brand-avatar {
    width: 33px;
    height: 33px;
  }
  .brand {
    gap: 8px;
  }
  .nav-actions {
    gap: 8px;
  }
  .brand-sub {
    font-size: 7px;
  }
  .hero {
    padding-top: 130px;
    padding-bottom: 105px;
    min-height: 930px;
  }
  .hero h1 {
    font-size: 74px;
  }
  .hero-copy {
    max-width: 590px;
  }
  .field-ruler {
    left: 25px;
  }
  .field-caption {
    right: 23px;
  }
  .project-row {
    grid-template-columns: 40px 1fr 42%;
    gap: 22px;
  }
  .project-copy h3 {
    font-size: 29px;
  }
  .project-tags {
    margin-top: 13px;
    gap: 5px;
  }
  .project-tags span {
    font-size: 8px;
    padding: 2px 8px;
  }
  .project-description {
    font-size: 11px;
    line-height: 1.9;
  }
  .project-bottom {
    margin-top: 17px;
  }
  .project-art {
    border-radius: 21px;
  }
  .art-label {
    bottom: 9px;
    left: 12px;
    right: 12px;
  }
  .art-label i {
    font-size: 12px;
  }
  .section-heading {
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .section-intro {
    font-size: 13px;
  }
  .approach-layout {
    gap: 25px;
  }
  .method-tabs button {
    font-size: 18px;
    gap: 5px;
  }
  .method-panel h3 {
    font-size: 23px;
  }
  .method-panel p {
    font-size: 12px;
  }
  .method-panel {
    min-height: 205px;
  }
  .more-projects {
    grid-template-columns: 135px 1fr;
    gap: 20px;
  }
  .more-project-list a {
    grid-template-columns: 1fr auto 12px;
  }
  .more-description {
    display: none;
  }
  .work-grid {
    gap: 46px 30px;
  }
  .work-item h3 {
    font-size: 27px;
  }
  .work-item-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .about-details {
    gap: 40px;
  }
  .capabilities dl > div {
    gap: 12px;
    grid-template-columns: 70px 1fr;
  }
  .capabilities dt {
    font-size: 18px;
  }
  .capabilities dd {
    font-size: 9px;
  }
  .experience li {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }
  .experience h3 {
    font-size: 22px;
  }
  .experience li > div:last-child > p:last-child {
    font-size: 11px;
  }
  .footer-top {
    gap: 25px;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }
  html[lang="en"] .project-copy h3 {
    font-size: 31px;
  }
  .hero h1 > span {
    white-space: normal;
  }
  html[lang="en"] .method-tabs button {
    font-size: 18px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 105px;
  }
  .shell {
    width: calc(100% - 42px);
  }
  .section {
    padding-block: 82px;
  }
  .masthead {
    width: calc(100% - 28px);
    top: 14px;
    min-height: 60px;
    padding: 9px 10px 9px 13px;
    gap: 12px;
  }
  .masthead.is-compact {
    transform: translate(-50%, -5px);
  }
  .brand-name {
    font-size: 22px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .brand > .brand-avatar {
    width: 32px;
    height: 32px;
  }
  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }
  .contact-nav {
    display: none;
  }
  .locale-switch button {
    min-width: 27px;
    font-size: 9px;
    min-height: 22px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    margin: 0;
    background: #faf8f1f7;
    backdrop-filter: blur(16px);
    border: 1px solid #fffef9;
    box-shadow: 0 14px 24px -19px #40331a80;
    border-radius: 23px;
    padding: 13px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: grid;
  }
  .site-nav a {
    font-size: 12px;
    padding: 12px 8px;
  }
  .site-nav a::after {
    left: 8px;
    width: 25px;
    bottom: 6px;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .hero {
    min-height: 850px;
    padding: 120px 20px 100px;
  }
  .hero-identity {
    gap: 16px;
  }
  .crest {
    width: 105px;
    height: 105px;
  }
  .identity-name {
    font-size: 29px;
  }
  .identity-note {
    font-size: 10px;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
    margin-top: 25px;
  }
  .hero h1 {
    font-size: clamp(42px, 7.5vw, 55px);
    line-height: 1.28;
    letter-spacing: -0.045em;
    margin-top: 17px;
  }
  .hero h1 > span {
    white-space: nowrap;
  }
  .hero-copy {
    font-size: 12px;
    line-height: 2;
    max-width: 450px;
    margin-top: 23px;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }
  .button {
    font-size: 11px;
    min-height: 45px;
    gap: 14px;
    padding: 10px 19px;
  }
  .hero-actions .button-rim {
    padding-inline: 20px;
  }
  .practice-pills {
    gap: 6px;
    padding: 6px;
    margin-top: 31px;
  }
  .practice-pills a {
    font-size: 9px;
    padding: 7px 9px;
    gap: 5px;
    min-height: 35px;
  }
  .pill-icon {
    width: 17px;
    height: 17px;
    font-size: 16px;
  }
  .hero-scroll {
    bottom: 24px;
    font-size: 8px;
  }
  .field-ruler {
    top: 40%;
    height: 230px;
    left: 13px;
    opacity: 0.55;
  }
  .field-ruler span {
    font-size: 6px;
  }
  .field-caption {
    right: 10px;
    top: 65%;
    font-size: 6px;
    opacity: 0.7;
  }
  .field-band {
    top: 43%;
    opacity: 0.6;
  }
  .field-line {
    top: 51%;
  }
  .field-line-one {
    width: 28%;
  }
  .field-line-two {
    width: 28%;
  }
  .field-circuit {
    bottom: 95px;
  }
  .field-circuit span {
    width: 12%;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 39px;
  }
  .section-heading h2 {
    font-size: 42px;
    margin-top: 13px;
  }
  .section-intro {
    font-size: 13px;
    max-width: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .approach-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 25px;
    align-items: stretch;
  }
  .loop-illustration {
    max-width: 450px;
    margin: -15px auto 0;
    width: 100%;
  }
  .diagram-footnote {
    font-size: 7px;
  }
  .method-overline {
    display: none;
  }
  .method-tabs button {
    font-size: 22px;
    padding-block: 15px;
  }
  .method-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .method-tabs button {
    min-width: 0;
  }
  .method-number {
    font-size: 14px;
  }
  .method-panel {
    padding-top: 22px;
    min-height: 155px;
  }
  .method-panel h3 {
    font-size: 25px;
  }
  .method-panel p {
    font-size: 12px;
  }
  .snapshot {
    font-size: 9px;
    margin-top: 15px;
  }
  .project-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0 17px;
    padding: 33px 0 38px;
  }
  .project-index {
    padding-top: 3px;
  }
  .project-index i {
    font-size: 39px;
  }
  .project-index > span {
    font-size: 8px;
  }
  .project-index::after {
    margin-top: 11px;
    width: 18px;
  }
  .project-copy {
    grid-column: 2;
  }
  .project-repo {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .project-copy h3 {
    font-size: 28px;
  }
  .project-copy h3 a {
    gap: 9px;
  }
  .project-tags {
    margin-top: 13px;
  }
  .project-tags span {
    font-size: 8px;
    padding: 3px 9px;
  }
  .project-description {
    font-size: 12px;
    line-height: 1.95;
    margin-top: 16px;
  }
  .project-bottom {
    margin-top: 18px;
  }
  .project-bottom .text-link {
    font-size: 10px;
  }
  .fork-count {
    display: inline;
  }
  .project-art {
    grid-column: 1/-1;
    margin-top: 26px;
    aspect-ratio: 1.53;
    border-radius: 23px;
  }
  .art-label {
    bottom: 14px;
    left: 17px;
    right: 17px;
  }
  .art-label i {
    font-size: 14px;
  }
  .more-projects {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 23px;
  }
  .more-projects > div:first-child {
    padding-top: 8px;
  }
  .more-project-list a {
    grid-template-columns: 1fr auto 12px;
    gap: 12px;
    padding: 17px 0;
  }
  .more-name {
    font-size: 10px;
  }
  .more-description {
    display: none;
  }
  .section-end {
    margin-top: 28px;
  }
  .text-link {
    font-size: 11px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .work-image {
    border-radius: 23px;
    padding: 7px;
  }
  .work-item-copy {
    padding: 22px 3px 0;
  }
  .work-item h3 {
    font-size: 29px;
  }
  .work-item-copy > p:not(.eyebrow) {
    font-size: 12px;
    margin-top: 10px;
  }
  .work-item-copy .eyebrow {
    font-size: 9px;
  }
  .work-image-note {
    left: 20px;
    bottom: 19px;
    font-size: 7px;
  }
  .image-arrow {
    bottom: 17px;
    right: 18px;
  }
  .about-details {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 31px;
  }
  .about-intro .button {
    margin-top: 23px;
  }
  .capabilities dl {
    margin-top: 17px;
  }
  .capabilities dl > div {
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 11px 0;
  }
  .capabilities dt {
    font-size: 20px;
  }
  .capabilities dd {
    font-size: 10px;
  }
  .personal-note {
    margin-top: 25px;
    font-size: 28px;
  }
  .experience li {
    grid-template-columns: 84px 1fr;
    gap: 15px;
    padding-bottom: 26px;
  }
  .experience h3 {
    font-size: 25px;
  }
  .experience li > div:last-child > p:last-child {
    font-size: 12px;
  }
  .experience-company {
    font-size: 10px;
  }
  .experience-date {
    font-size: 9px;
  }
  .contact {
    padding-block: 95px 65px;
  }
  .contact h2 {
    font-size: 49px;
  }
  .contact-description {
    max-width: 290px;
    margin: 23px auto 0;
    font-size: 12px;
    line-height: 1.9;
  }
  .contact-actions {
    gap: 11px;
    margin-top: 24px;
  }
  .email-address {
    font-size: 10px;
  }
  .contact-orbit {
    inset: -20px -100px 0;
  }
  .contact-orbit span {
    height: 45%;
  }
  .contact-orbit span:nth-child(2) {
    height: 55%;
  }
  .footer {
    padding-top: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 35px 23px;
    padding-bottom: 36px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand > p {
    max-width: none;
    margin-top: 13px;
  }
  .footer-location {
    grid-column: 1/-1;
  }
  .footer-location > p:not(.eyebrow) {
    display: inline-block;
    margin-top: 12px;
    margin-right: 10px;
  }
  .footer-location > p:last-child {
    font-size: 9px;
  }
  .footer-links > a {
    font-size: 11px;
  }
  .footer-links .eyebrow {
    margin-bottom: 5px;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    font-size: 8px;
  }
  .footer-bottom > p:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-bottom > a {
    grid-column: 2;
    grid-row: 1;
  }
  html[lang="en"] .hero h1 {
    font-size: clamp(54px, 11vw, 76px);
    line-height: 0.98;
    margin-top: 23px;
  }
  .hero h1 > span {
    white-space: normal;
  }
  html[lang="en"] .hero-copy {
    font-size: 11px;
    line-height: 1.9;
    max-width: 450px;
  }
  html[lang="en"] .practice-pills {
    gap: 3px;
  }
  html[lang="en"] .practice-pills a {
    padding-inline: 8px;
    font-size: 8px;
    gap: 4px;
  }
  html[lang="en"] .practice-pills .pill-icon {
    width: 15px;
    font-size: 14px;
  }
  html[lang="en"] .section-heading h2 {
    font-size: 47px;
  }
  html[lang="en"] .project-copy h3 {
    font-size: 33px;
  }
  html[lang="en"] .method-tabs button {
    font-size: clamp(16px, 4.6vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    gap: 7px;
  }
  html[lang="en"] .contact h2 {
    font-size: 59px;
  }
}
@media (max-width: 370px) {
  .shell {
    width: calc(100% - 34px);
  }
  .hero {
    padding-inline: 17px;
    min-height: 830px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-copy {
    font-size: 11px;
  }
  .practice-pills a {
    padding-inline: 7px;
    font-size: 8px;
  }
  .practice-pills {
    gap: 4px;
  }
  .project-row {
    gap: 0 12px;
  }
  .project-copy h3 {
    font-size: 27px;
  }
  .project-repo {
    font-size: 8px;
  }
  .fork-count {
    display: none;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    padding-inline: 17px;
    font-size: 10px;
  }
  .contact h2 {
    font-size: 45px;
  }
  html[lang="en"] .hero h1 {
    font-size: 54px;
  }
  html[lang="en"] .practice-pills .pill-icon {
    display: none;
  }
  .brand-sub {
    font-size: 7px;
  }
  .nav-actions {
    gap: 5px;
  }
}
html:not(.js)
  :is(
    .menu-toggle,
    .locale-switch,
    [data-copy-email],
    .method-tabs,
    .method-panel
  ) {
  display: none;
}
.method-static {
  list-style: none;
  display: grid;
  gap: 20px;
}
.method-static h3 {
  font: 400 23px/1.4 var(--serif);
  color: var(--gold);
}
.method-static p {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 8px;
}
@media (max-width: 720px) {
  html:not(.js) {
    scroll-padding-top: 230px;
  }
  html:not(.js) .hero {
    padding-top: 235px;
  }
}
/* Product films are the primary visual for each personal project. */
.project-film-player {
  grid-column: 3;
  min-width: 0;
  align-self: center;
}
.film-player {
  min-width: 0;
  margin: 0;
}
.film-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #222523;
  border-radius: 0;
}
.film-stage {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px;
  background: #faf8f3;
}
.film-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px 14px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .15em;
  font-variant-numeric: tabular-nums;
}
.film-meta > :last-child { letter-spacing: .06em; }
/* Clip the player wrapper, keeping rounded clipping off decoded video textures. */
.film-screen {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  isolation: isolate;
}
.film-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: #25231f08;
  color: var(--ink);
}
.film-cover-disc {
  display: grid;
  place-items: center;
  width: clamp(54px, 5vw, 72px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #87642d65;
  background: #faf8f3ed;
  box-shadow: 0 3px 16px #25231f14;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.film-cover-disc svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.film-cover:hover .film-cover-disc { transform: scale(1.07); background: #f0e8d9; }
.film-cover-label {
  padding: 3px 10px;
  border-radius: 3px;
  background: #faf8f3eb;
  color: var(--ink-2);
  font-size: 10px;
  letter-spacing: .08em;
}
.film-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 3px 0;
  color: var(--ink-2);
}
.film-control {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.film-control:hover { background: var(--paper-deep); color: var(--gold); }
.film-control:disabled { opacity: .4; cursor: default; }
.film-control svg { width: 20px; height: 20px; }
.film-toggle svg { fill: currentColor; }
.film-seek {
  --film-progress: 0%;
  flex: 1 1 auto;
  min-width: 20px;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  accent-color: var(--gold);
}
.film-seek::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(to right, var(--gold) var(--film-progress), #49402d26 var(--film-progress));
}
.film-seek::-moz-range-track { height: 2px; background: #49402d26; }
.film-seek::-moz-range-progress { height: 2px; background: var(--gold); }
.film-seek::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  background: var(--gold);
}
.film-seek::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--gold); }
.film-seek:disabled { opacity: .55; cursor: default; }
.film-time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.film-time > span { margin-inline: 3px; opacity: .5; }
.film-meta[hidden], .film-cover[hidden], .film-controls[hidden], .film-control[hidden] { display: none; }
.film-stage:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 16px;
  background: var(--paper);
}
.film-stage:fullscreen .film-screen { display: flex; flex: 1; min-height: 0; }
.film-stage:fullscreen video { max-height: 100%; object-fit: contain; }
.film-stage:fullscreen .film-controls { flex-shrink: 0; }
@media (max-width: 420px) {
  .film-controls { gap: 4px; }
  .film-control { flex-basis: 44px; width: 44px; height: 44px; }
  .film-meta { padding: 8px 8px 12px; }
  .film-time { font-size: 8px; }
  .film-time > span { margin-inline: 1px; }
}
.film-player figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.film-download {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
  color: var(--teal);
  text-underline-offset: 4px;
}
.film-download:hover {
  text-decoration: underline;
}
.film-error {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
}
.studio-feature {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  margin-top: 64px;
  padding-block: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 125px;
}
.studio-feature h3 {
  margin-top: 13px;
  font-family: "Cormorant", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 3.5vw, 49px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.studio-lead {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.5;
  margin-top: 21px;
}
.studio-description {
  margin-top: 15px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.95;
}
.studio-film-note {
  display: flex;
  gap: 16px;
  margin-top: 23px;
  color: var(--teal);
  font-size: 11px;
}
.studio-film-note > span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .project-film-player {
    grid-column: 1 / -1;
    margin-top: 26px;
  }
  .film-player figcaption {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .studio-feature {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 40px;
    padding-block: 32px;
    gap: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-motion-enhanced="true"] .illustration-overlay {
    visibility: hidden;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}
@media print {
  body {
    background: #fff;
    color: #222;
  }
  body::before,
  .masthead,
  .hero-field,
  .hero-scroll,
  .contact-orbit,
  .copy-email {
    display: none;
  }
  .hero {
    min-height: 0;
    padding-block: 45px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-identity .crest {
    width: 85px;
    height: 85px;
  }
  .section {
    padding-block: 40px;
  }
  .shell {
    width: 100%;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .project-row,
  .work-item {
    break-inside: avoid;
  }
  .project-art,
  .work-image {
    box-shadow: none;
  }
  .js .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
  .footer {
    padding-block: 30px;
  }
}

/* Personal-only profile: the toolbox occupies the available width. */
.about-details-personal { grid-template-columns: 1fr; }

/* DevSkills shares the personal-film player and the homepage editorial palette. */
.devskills-feature .studio-lead { font-family: var(--sans); font-size: clamp(20px, 2vw, 26px); }
.devskills-detail { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.devskills-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.devskills-links .text-link { font-size: 12px; }
.devskills-links .text-link:focus-visible { outline-offset: 5px; }

/* Shared reading palette for the desktop articles and the static fallback. */
@media (forced-colors: none) {
  :root[data-theme="dark"] {
    --paper: #19212e; --paper-deep: #232e3f;
    --ink: #edf2fa; --ink-2: #c1ccdc; --muted: #a9b6ca;
    --gold: #e3c184; --teal: #7bd4cf; --indigo: #b4c5f5; --line: #b7cbeb2b;
  }
  [data-theme="dark"] ::selection { background: #526b91; color: #fff; }
  [data-theme="dark"] .project-tags span { background: #d3e2ff0d; border-color: var(--line); box-shadow: none; }
  [data-theme="dark"] :is(.film-stage, .mac-detail-media) { background: var(--paper-deep); }
  [data-theme="dark"] :is(.film-cover-disc, .film-cover-label) { background: #26354bea; color: #edf2fa; border-color: var(--line); }
  [data-theme="dark"] .film-cover:hover .film-cover-disc { background: #3b506e; }
  [data-theme="dark"] :is(.capabilities dt, .personal-note) { color: var(--gold); }
  [data-theme="dark"] :is(.experience-date, .experience-company, .project-copy h3 a > span:last-child) { color: var(--muted); }
  [data-theme="dark"] .capabilities dl > div { border-bottom-color: var(--line); }
}
