@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #111413;
  --surface: #191e1b;
  --surface-2: #212823;
  --text: #f0f1e9;
  --muted: #9ba49c;
  --line: #343c35;
  --accent: #c5ef78;
  --accent-ink: #172111;
  --wrap: 1240px;
  --radius: 8px;
  --font-caption: 0.8125rem;
  --font-small: 0.875rem;
  --font-control: 1rem;
  --font-compact: 1.0625rem;
  --font-body: 1.125rem;
  --font-lead: 1.25rem;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4ec;
  --surface: #e9ece3;
  --surface-2: #dee5d8;
  --text: #172019;
  --muted: #59665b;
  --line: #c6cfc1;
  --accent: #376326;
  --accent-ink: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
a,
button {
  touch-action: manipulation;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.055em;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
.wrap {
  width: min(var(--wrap), calc(100% - 96px));
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-family: Manrope, sans-serif;
  font-size: var(--font-control);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.8;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 112px;
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--font-body);
  letter-spacing: -0.04em;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark {
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 39px;
  letter-spacing: -0.12em;
  color: var(--text);
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0 5px 8px 0;
}
.brand-mark > span {
  color: var(--accent);
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: var(--font-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-top: 3px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--font-body);
  font-weight: 600;
}
.site-header nav a {
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--accent);
}
.nav-contact {
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 11px 17px;
  border-radius: 4px;
}
.nav-contact span {
  font-size: 19px;
}
.header-tools {
  display: flex;
  align-items: center;
}
.theme-toggle {
  padding: 10px;
  min-width: 40px;
  min-height: 40px;
}
.theme-toggle svg {
  width: 18px;
  stroke: var(--muted);
  stroke-width: 1.5;
  fill: none;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  align-items: center;
  gap: 35px;
  padding-block: 86px 58px;
  min-height: 650px;
}
.hero-copy {
  z-index: 1;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.11em;
  font-size: var(--font-small);
}
.signal-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 14px #c5ef7838;
}
h1 {
  font-size: clamp(51px, 5.6vw, 82px);
  font-weight: 700;
  line-height: 1.12;
  margin: 26px 0 30px;
  letter-spacing: -0.067em;
}
.underlined {
  position: relative;
  display: inline-block;
}
.underlined:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: rotate(-1deg);
}
.title-dot {
  color: var(--accent);
}
.hero-intro {
  font-size: var(--font-lead);
  line-height: 1.9;
  color: var(--muted);
  max-width: 530px;
}
.hero-intro strong {
  color: var(--text);
  font-weight: 600;
}
.hero-context {
  font-size: var(--font-body);
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  padding: 13px 19px;
  min-height: 48px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-size: var(--font-body);
  font-weight: 800;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.button-primary:hover {
  filter: brightness(1.08);
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--font-compact);
  letter-spacing: 0.01em;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: var(--font-control);
}
.hero-profiles a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
}
.hero-profiles a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-profiles a span {
  color: var(--accent);
}
.hero-art {
  position: relative;
  min-height: 500px;
  padding-top: 18px;
  isolation: isolate;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 20% 7%;
  background: radial-gradient(ellipse, #7f9f4930, transparent 65%);
  z-index: -1;
  filter: blur(35px);
}
.art-topline,
.art-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-caption);
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-inline: 22px;
}
.art-cross {
  font-size: 24px;
  color: var(--accent);
}
.system-art {
  width: 100%;
  margin-top: -12px;
  color: var(--text);
}
.art-orbit {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}
.orbit-two {
  opacity: 0.55;
}
.art-inner {
  fill: none;
  stroke: #6a8e76;
  opacity: 0.8;
}
.art-wire {
  fill: none;
  stroke: #6a8e76;
  stroke-dasharray: 4 5;
  opacity: 0.6;
}
.art-layer {
  transition: transform 0.6s ease;
}
.hero-art:hover .layer-top {
  transform: translateY(-9px);
}
.hero-art:hover .layer-bottom {
  transform: translateY(7px);
}
.art-connectors {
  fill: #c5ef78;
  stroke: #82926b;
  stroke-width: 1.3;
}
.art-connectors path {
  fill: none;
  stroke-dasharray: 4 3;
}
.art-label {
  position: absolute;
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--bg);
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.label-one {
  top: 115px;
  left: 1%;
}
.label-two {
  right: 0;
  top: 228px;
}
.label-three {
  bottom: 54px;
  left: 9%;
}
.art-bottomline {
  margin-top: -17px;
}
.art-bottomline > span:last-child {
  font-size: 23px;
  color: var(--accent);
}
.practice-strip {
  border-block: 1px solid var(--line);
  padding-block: 24px;
}
.practice-strip > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.practice-strip span {
  font-size: var(--font-control);
  color: var(--muted);
}
.practice-strip p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 29px;
  font-size: var(--font-body);
  font-weight: 600;
}
.practice-strip b {
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}
.section {
  padding-block: 100px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  color: var(--muted);
}
.section-index {
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 38px;
}
h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 600;
  line-height: 1.2;
}
.section-heading > p {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.9;
  max-width: 320px;
}
.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px 20px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  font-size: var(--font-control);
  padding: 9px 12px;
  border-radius: 3px;
  background: var(--surface);
  color: var(--muted);
  min-height: 36px;
  border: 1px solid transparent;
}
.filter.is-active {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
.filter span {
  font-size: var(--font-caption);
  color: var(--accent);
  margin-left: 8px;
}
.project-count {
  font-size: var(--font-small);
  color: var(--muted);
  white-space: nowrap;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.project-card[hidden] {
  display: none;
}
.project-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  min-width: 0;
}
.project-featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.project-content {
  padding-top: 24px;
}
.project-featured .project-content {
  padding: 36px 36px 28px;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: var(--font-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.project-meta > span:last-child {
  font-size: var(--font-control);
  color: var(--accent);
}
.project-content h3 {
  font-size: 27px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.project-subtitle {
  display: block;
  font-size: 19px;
  margin-top: 3px;
  color: var(--muted);
}
.project-featured h3 {
  font-size: 37px;
}
.project-content > p {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.9;
  margin-top: 17px;
  max-width: 420px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.tags > span {
  font-size: var(--font-caption);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 7px;
  color: var(--muted);
}
.case-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0 0;
  margin-top: 13px;
  width: 100%;
  text-align: left;
  font-size: var(--font-compact);
  font-weight: 700;
}
.case-link > span {
  font-size: 21px;
  transition: transform 0.2s;
}
.case-link:hover > span {
  transform: translate(3px, -3px);
  color: var(--accent);
}
.forge-visual,
.portfolio-visual {
  position: relative;
  background: #2d241f;
  min-height: 345px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 36px;
}
.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(var(--mockup-grid, #aa8a6920) 1px, transparent 1px),
    linear-gradient(90deg, var(--mockup-grid, #aa8a6920) 1px, transparent 1px);
  background-size: 30px 30px;
}
.portfolio-visual {
  --mockup-grid: #c5ef7860;
  background: radial-gradient(ellipse at 80% 30%, #2b422b, #19271f 70%);
  color: #f0f1e9;
  padding: clamp(22px, 4vw, 42px);
}
.portfolio-visual-brand,
.portfolio-mockup,
.portfolio-visual-caption {
  position: relative;
}
.portfolio-visual-brand {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.portfolio-visual-brand > span {
  display: inline-grid;
  place-content: center;
  grid-auto-flow: column;
  width: 37px;
  height: 37px;
  border: 1px solid #82986d;
  border-radius: 50%;
}
.portfolio-visual-brand > span > span,
.portfolio-mockup-bar > span,
.portfolio-mockup em {
  color: #c5ef78;
}
.portfolio-mockup {
  width: 94%;
  margin-block: 20px;
  transform: rotate(-3deg);
  border: 1px solid #6d855d;
  border-radius: 8px;
  background: #111916;
  box-shadow: 0 14px 28px #080f0bb0;
  overflow: hidden;
}
.portfolio-mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid #425444;
  color: #ced7ca;
  font-size: 12px;
}
.portfolio-mockup-bar > span {
  font-size: 8px;
  white-space: nowrap;
}
.portfolio-mockup-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(44px, 0.58fr);
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 2vw, 22px);
}
.portfolio-mockup-kicker,
.portfolio-visual-caption {
  color: #b8c5b1;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.portfolio-mockup strong {
  display: block;
  margin-block: 6px 12px;
  font-size: clamp(14px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.portfolio-mockup em {
  font-style: normal;
}
.portfolio-mockup-action {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  background: #c5ef78;
  color: #172d1c;
  font-size: 11px;
  font-weight: 800;
}
.portfolio-visual-caption {
  align-self: flex-start;
}
.forge-brand {
  z-index: 1;
  align-self: flex-start;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #f4e6d5;
}
.forge-brand > span:last-child {
  display: block;
  font-size: var(--font-caption);
  letter-spacing: 0.18em;
  color: #b6a391;
  margin-top: 3px;
}
.anvil {
  display: inline-block;
  transform: rotate(180deg);
  color: #dfa863;
  font-size: 34px;
  line-height: 1;
  margin-right: 5px;
}
.forge-miniapp {
  z-index: 1;
  margin: 24px 0 10px 15%;
  background: #241b15;
  color: #eaded0;
  border: 1px solid #68523d;
  width: 88%;
  padding: 18px;
  border-radius: 6px;
  box-shadow: -18px 18px 30px #100a0740;
  transform: rotate(-4deg);
}
.miniapp-heading {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-body);
  font-weight: 700;
}
.miniapp-heading > span:last-child {
  color: #dfa863;
}
.miniapp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: var(--font-caption);
  margin-top: 17px;
  border-bottom: 1px solid #5a4634;
  padding-bottom: 8px;
  color: #b6a391;
}
.miniapp-nav > span:first-child {
  color: #dfa863;
}
.miniapp-lines {
  margin-top: 13px;
}
.miniapp-lines > span {
  display: block;
  height: 6px;
  background: #5a4634;
  width: 90%;
  margin: 7px 0;
  border-radius: 3px;
}
.miniapp-lines > span:nth-child(2) {
  width: 70%;
}
.miniapp-lines > span:last-child {
  width: 82%;
}
.miniapp-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--font-caption);
  margin-top: 16px;
}
.mini-check {
  flex: none;
  width: 15px;
  height: 15px;
}
.visual-caption {
  z-index: 1;
  align-self: flex-start;
  margin-top: 18px;
  font-size: var(--font-caption);
  letter-spacing: 0.12em;
  color: #a59586;
}
.lab-visual {
  height: 255px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.lab-visual {
  height: auto;
  min-height: 310px;
  background: #1d2823;
  color: #dce3db;
  padding: 23px 28px;
}
.lab-head {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-caption);
  letter-spacing: 0.12em;
  color: #a7baac;
}
.lab-head > span:last-child {
  color: #c5ef78;
  font-size: var(--font-lead);
}
.lab-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.lab-nodes > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100px;
}
.node-icon {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  border: 1px solid #6c8474;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #c5ef78;
}
.lab-nodes strong {
  font-size: var(--font-control);
}
.lab-nodes small {
  font-size: var(--font-caption);
  color: #9fb3a5;
}
.node-connection {
  width: 90px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    #708e76 0 5px,
    transparent 5px 10px
  );
  position: relative;
  top: -14px;
}
.lab-terminal {
  font-family: monospace;
  font-size: var(--font-small);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 15px;
  margin-top: 15px;
  background: #142019;
  border-radius: 3px;
  color: #9fb3a5;
}
.lab-terminal span:before {
  content: "› ";
  color: #c5ef78;
}
.lab-terminal b {
  color: #c5ef78;
}
.projects-note {
  font-size: var(--font-control);
  color: var(--muted);
  margin-top: 24px;
  max-width: 650px;
}
.experience-band {
  background: var(--surface);
  padding-block: 80px;
  border-block: 1px solid var(--line);
}
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.experience-layout h2 {
  margin-top: 24px;
}
.experience-layout h2 > span {
  color: var(--muted);
}
.experience-intro {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 2;
  margin-top: 24px;
  max-width: 440px;
}
.experience-intro strong {
  color: var(--text);
  font-weight: 500;
}
.experience-layout .text-link {
  margin-top: 24px;
}
.experience-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.experience-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.company-monogram {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.07em;
}
.company-monogram > span {
  color: var(--accent);
  font-size: 24px;
  margin-left: 5px;
}
.status-tag {
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--accent);
}
.experience-card > .eyebrow {
  font-size: var(--font-caption);
  color: var(--muted);
  letter-spacing: 0.05em;
}
.experience-card h3 {
  font-size: 33px;
  margin-top: 10px;
}
.experience-date {
  font-size: var(--font-control);
  color: var(--muted);
  margin-top: 10px;
}
.experience-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 20px;
}
.experience-bottom p {
  font-size: var(--font-body);
  line-height: 1.9;
}
.experience-bottom > span {
  font-size: 33px;
  color: var(--accent);
}
.experience-card > small {
  display: block;
  font-size: var(--font-caption);
  color: var(--muted);
  margin-top: 17px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 42px;
}
.skill-block {
  padding: 28px 28px 5px 0;
  position: relative;
}
.skill-block + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.skill-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: var(--muted);
  font-size: var(--font-small);
}
.skill-block > svg {
  width: 32px;
  stroke: var(--accent);
  stroke-width: 1.2;
  fill: none;
  margin: 4px 0 25px;
}
.skill-block h3 {
  font-size: 22px;
  font-weight: 600;
}
.skill-block p {
  font-size: var(--font-compact);
  color: var(--muted);
  line-height: 1.9;
  margin-top: 16px;
  max-width: 300px;
}
.skill-block ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
  font-size: var(--font-control);
  line-height: 2.4;
}
.skill-block li:before {
  content: "↳";
  color: var(--accent);
  margin-right: 8px;
}
.skill-block > a {
  font-size: var(--font-small);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.education-section {
  border-top: 1px solid var(--line);
}
.education-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin-top: 40px;
}
.timeline {
  list-style: none;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
  margin: 35px 0 0;
}
.timeline li {
  position: relative;
  padding-bottom: 28px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: 1px solid var(--bg);
}
.timeline li:first-child:before {
  background: var(--accent);
}
.timeline li > span:first-child {
  color: var(--muted);
  font-size: var(--font-small);
}
.timeline h3 {
  font-size: var(--font-body);
  letter-spacing: -0.02em;
  margin-top: 7px;
}
.timeline p {
  font-size: var(--font-compact);
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
}
.timeline-tag {
  display: inline-block;
  font-size: var(--font-caption);
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 3px 7px;
  margin-top: 10px;
  letter-spacing: 0.1em;
}
.curriculum {
  background: var(--surface);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: start;
}
.curriculum > .eyebrow {
  color: var(--muted);
  font-size: var(--font-caption);
}
.curriculum-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0 15px;
}
.curriculum-tabs button {
  font-size: var(--font-control);
  padding: 8px 11px;
  border-radius: 3px;
  color: var(--muted);
  min-height: 44px;
}
.curriculum-tabs button[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.curriculum-panel {
  padding-top: 28px;
  min-height: 315px;
}
.curriculum-panel[hidden] {
  display: none;
}
.panel-year {
  color: var(--accent);
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: 0.09em;
}
.curriculum-panel h3 {
  font-size: 25px;
  line-height: 1.3;
  margin-top: 13px;
  letter-spacing: -0.035em;
}
.curriculum-panel h4 {
  margin: 22px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--font-control);
}
.curriculum-panel h4 + ul {
  margin-top: 6px;
}
.curriculum-panel ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-control);
  color: var(--muted);
}
.curriculum-panel li {
  padding: 6px 0 6px 15px;
  position: relative;
}
.curriculum-panel li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.curriculum-panel > a {
  font-size: var(--font-caption);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.curriculum-note {
  font-size: var(--font-caption);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  line-height: 1.8;
}
.about-section {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding-block: 60px 90px;
}
.about-section > .eyebrow {
  color: var(--muted);
  padding-top: 8px;
}
.about-section h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.about-section h2 span {
  color: var(--muted);
}
.about-section p:not(.eyebrow) {
  font-size: var(--font-body);
  line-height: 2;
  color: var(--muted);
  max-width: 610px;
  margin-top: 14px;
}
.contact-section {
  background: var(--surface);
  padding-block: 85px;
  border-block: 1px solid var(--line);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact-layout h2 {
  margin-top: 24px;
  font-size: 40px;
}
.contact-layout h2 > span {
  color: var(--muted);
}
.contact-layout > div > p:not(.eyebrow) {
  font-size: var(--font-body);
  color: var(--muted);
  margin-top: 22px;
  max-width: 400px;
  line-height: 1.9;
}
.email-link {
  display: inline-flex;
  gap: 17px;
  align-items: center;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-top: 30px;
  letter-spacing: -0.04em;
}
.email-link > span {
  color: var(--accent);
  font-size: 25px;
}
.contact-socials {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  font-size: var(--font-control);
}
.contact-socials .text-link {
  font-size: var(--font-small);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: var(--font-control);
  font-weight: 600;
  margin: 0 0 9px;
}
input,
textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 14px;
  color: var(--text);
  font-size: var(--font-body);
  line-height: 1.8;
  border-radius: 0;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
  font-size: var(--font-control);
}
textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 400px;
}
form > label {
  margin-top: 25px;
}
.form-bottom {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.form-bottom p {
  font-size: var(--font-caption);
  color: var(--muted);
  max-width: 180px;
}
.form-bottom .button {
  font-size: var(--font-control);
  text-align: left;
  padding: 12px 15px;
  gap: 15px;
}
.form-status {
  font-size: var(--font-compact);
  margin-top: 18px;
  line-height: 1.8;
  color: var(--accent);
}
.form-status.is-error {
  color: #f7aa9a;
}
.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 32px;
}
.site-footer .brand {
  font-size: var(--font-compact);
  gap: 10px;
}
.site-footer .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 25px;
  padding-bottom: 5px;
}
.site-footer > p {
  font-size: var(--font-caption);
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: var(--font-caption);
  color: var(--muted);
}
.site-footer > div > a:last-child {
  font-size: 20px;
  color: var(--text);
}
dialog {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  width: min(720px, calc(100% - 30px));
  max-height: 85dvh;
  overflow: auto;
  box-shadow: 0 20px 90px #0009;
}
dialog::backdrop {
  background: #07110bd9;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.dialog-top button {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border-radius: 50%;
  color: var(--text);
}
#dialog-content h2 {
  font-size: 38px;
  margin: 25px 0 15px;
}
#dialog-content h3 {
  font-size: 18px;
  margin-top: 28px;
  letter-spacing: -0.025em;
}
#dialog-content p,
#dialog-content li {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.9;
  margin-top: 12px;
}
#dialog-content ul {
  padding-left: 18px;
}
#dialog-content .case-context {
  font-size: var(--font-control);
  color: var(--accent);
}
#dialog-content .case-credit {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 25px;
  font-size: var(--font-compact);
}
.legal-page {
  max-width: 800px;
  padding-block: 70px;
}
.legal-page h1 {
  font-size: 48px;
}
.legal-page h2 {
  font-size: 23px;
  margin: 32px 0 14px;
}
.legal-page p {
  margin: 15px 0;
  color: var(--muted);
  font-size: var(--font-body);
}
.legal-page ul {
  font-size: var(--font-body);
  color: var(--muted);
}
.legal-page a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-page h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.75rem);
}
.article-page .article-intro {
  color: var(--text);
  font-size: var(--font-lead);
}
.article-page section {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.article-page .article-meta {
  font-size: var(--font-caption);
}
.article-figure {
  margin: 26px 0;
}
.article-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--font-small);
}
.article-figure figcaption strong {
  display: block;
  color: var(--text);
  font-size: var(--font-control);
}
.article-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: start;
  gap: 28px;
}
.article-split .article-figure {
  width: min(100%, 270px);
  margin: 15px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.domain-home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.domain-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding-block: clamp(28px, 8vh, 88px);
}
.domain-card {
  width: min(100%, 730px);
  padding: clamp(22px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(ellipse at top right, var(--surface-2), var(--surface) 70%);
}
.domain-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.domain-card h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.35rem, 8vw, 4.75rem);
}
.domain-card .eyebrow {
  color: var(--accent);
}
.domain-intro {
  max-width: 54ch;
  color: var(--muted);
  font-size: var(--font-body);
}
.domain-links,
.domain-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: var(--font-small);
  color: var(--muted);
}
.domain-links {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.domain-footer {
  justify-content: center;
  padding-bottom: 20px;
}
.domain-links a:hover,
.domain-footer a:hover {
  color: var(--accent);
}
@media (min-width: 1500px) {
  .hero {
    min-height: 740px;
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .hero-art {
    min-height: 530px;
  }
  .hero-intro {
    font-size: var(--font-lead);
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    gap: 18px;
  }
  .site-header nav {
    gap: 20px;
    font-size: var(--font-compact);
  }
  .brand-sub {
    display: none;
  }
  .hero {
    gap: 5px;
    padding-top: 65px;
    min-height: 620px;
    grid-template-columns: 1.15fr 1fr;
  }
  h1 {
    font-size: clamp(47px, 6.1vw, 69px);
  }
  .hero-art {
    min-height: 430px;
  }
  .label-one {
    top: 95px;
  }
  .label-two {
    top: 190px;
  }
  .label-three {
    bottom: 65px;
  }
  .hero-intro {
    font-size: var(--font-body);
  }
  .hero-context {
    font-size: var(--font-compact);
  }
  .practice-strip p {
    gap: 18px;
    font-size: var(--font-compact);
  }
  .experience-layout,
  .education-layout,
  .contact-layout {
    gap: 45px;
  }
  .project-featured .project-content {
    padding: 28px;
  }
  .project-content h3 {
    font-size: 24px;
  }
  .project-featured h3 {
    font-size: 31px;
  }
  .project-featured {
    grid-template-columns: 1.05fr 1fr;
  }
  .forge-visual {
    padding: 30px;
  }
  .forge-miniapp {
    width: 100%;
    margin-left: 10%;
  }
  .skill-block + article {
    padding-left: 22px;
  }
  .skill-block {
    padding-right: 20px;
  }
  .skill-block h3 {
    font-size: 19px;
  }
  .contact-layout h2 {
    font-size: 34px;
  }
  .form-row {
    gap: 15px;
  }
  .form-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-bottom p {
    max-width: none;
  }
  .email-link {
    font-size: var(--font-body);
  }
}
@media (max-width: 760px) {
  .article-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 88px;
    position: relative;
    gap: 15px;
  }
  .brand {
    font-size: var(--font-body);
  }
  .brand-sub {
    font-size: var(--font-caption);
  }
  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 33px;
  }
  .header-tools {
    margin-left: auto;
    gap: 7px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-control);
    padding: 10px 0 10px 8px;
  }
  .menu-toggle > span {
    font-size: var(--font-body);
  }
  .site-header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 20px;
    z-index: 20;
    border-radius: 6px;
    box-shadow: 0 15px 40px #0005;
    gap: 12px;
  }
  .site-header nav[data-open="true"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header nav a {
    padding: 10px;
  }
  .site-header nav .nav-contact {
    justify-content: space-between;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 20px;
    min-height: auto;
    padding-bottom: 35px;
  }
  .hero .eyebrow {
    font-size: var(--font-caption);
    letter-spacing: 0.08em;
  }
  .hero-copy h1 {
    font-size: clamp(43px, 9.3vw, 68px);
    margin-top: 24px;
    line-height: 1.14;
    letter-spacing: -0.067em;
  }
  .hero-intro {
    font-size: var(--font-body);
    max-width: 490px;
  }
  .hero-context {
    font-size: var(--font-compact);
  }
  .hero-actions {
    gap: 22px;
    margin-top: 25px;
  }
  .hero-art {
    max-width: 440px;
    width: 100%;
    justify-self: center;
    min-height: 385px;
    margin-top: 5px;
  }
  .system-art {
    margin-top: -25px;
    max-height: 395px;
  }
  .art-topline {
    font-size: var(--font-caption);
  }
  .label-one {
    top: 88px;
  }
  .label-two {
    top: 180px;
    right: 0;
  }
  .label-three {
    bottom: 33px;
  }
  .art-bottomline {
    margin-top: -30px;
    font-size: var(--font-caption);
  }
  .practice-strip {
    padding-block: 20px;
  }
  .practice-strip > .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .practice-strip span {
    font-size: var(--font-small);
  }
  .practice-strip p {
    font-size: var(--font-control);
    gap: 12px;
    flex-wrap: wrap;
  }
  .practice-strip b {
    font-size: var(--font-body);
  }
  .section {
    padding-block: 65px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
  }
  h2 {
    font-size: 34px;
  }
  .section-heading > p {
    font-size: var(--font-compact);
  }
  .section-top {
    margin-bottom: 23px;
  }
  .eyebrow {
    font-size: var(--font-caption);
  }
  .project-toolbar {
    align-items: flex-start;
    gap: 10px;
  }
  .filters {
    gap: 5px;
  }
  .filter {
    font-size: var(--font-caption);
    padding: 8px;
  }
  .project-count {
    font-size: var(--font-caption);
    margin-top: 10px;
  }
  .filter span {
    margin-left: 3px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-featured {
    display: block;
  }
  .project-featured .project-content {
    padding: 24px;
  }
  .forge-visual {
    min-height: 300px;
    padding-inline: 35px;
  }
  .forge-miniapp {
    max-width: 320px;
    width: 85%;
    align-self: flex-end;
    margin-top: 14px;
  }
  .forge-brand {
    font-size: 32px;
  }
  .project-content h3 {
    font-size: 26px;
  }
  .project-featured h3 {
    font-size: 33px;
  }
  .project-subtitle {
    font-size: 18px;
  }
  .project-content > p {
    font-size: var(--font-body);
  }
  .project-meta {
    font-size: var(--font-caption);
  }
  .case-link {
    font-size: var(--font-compact);
  }
  .lab-visual {
    height: 250px;
  }
  .projects-note {
    font-size: var(--font-small);
  }
  .experience-band {
    padding-block: 60px;
  }
  .experience-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .experience-layout h2 {
    font-size: 35px;
    margin-top: 17px;
  }
  .experience-intro {
    font-size: var(--font-body);
  }
  .experience-card {
    padding: 25px;
  }
  .experience-card-top {
    margin-bottom: 25px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }
  .skill-block {
    padding: 28px 0;
  }
  .skill-block + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0;
  }
  .skill-block h3 {
    font-size: 25px;
  }
  .skill-block > svg {
    margin-bottom: 18px;
  }
  .skill-block p {
    max-width: 100%;
    font-size: var(--font-body);
  }
  .skill-block ul {
    font-size: var(--font-compact);
    line-height: 2;
  }
  .skill-block > a {
    font-size: var(--font-control);
  }
  .skill-number {
    right: 0;
  }
  .education-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 30px;
  }
  .timeline h3 {
    font-size: 18px;
  }
  .timeline p {
    font-size: var(--font-body);
  }
  .curriculum {
    padding: 23px;
  }
  .curriculum-panel h3 {
    font-size: 25px;
  }
  .curriculum-panel ul {
    font-size: var(--font-compact);
  }
  .curriculum-panel > a {
    font-size: var(--font-small);
  }
  .curriculum-note {
    font-size: var(--font-small);
  }
  .curriculum-tabs button {
    padding: 9px;
    font-size: var(--font-small);
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 45px 60px;
  }
  .about-section h2 {
    font-size: 32px;
  }
  .contact-section {
    padding-block: 60px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-layout h2 {
    font-size: 34px;
  }
  .contact-layout > div > p:not(.eyebrow) {
    font-size: var(--font-body);
  }
  .email-link {
    font-size: 18px;
  }
  .form-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-bottom p {
    font-size: var(--font-caption);
    max-width: none;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 26px;
  }
  .site-footer > p {
    order: 3;
    flex-basis: 100%;
  }
  .site-footer > div {
    gap: 14px;
    margin-left: auto;
    font-size: var(--font-caption);
  }
  .site-footer .brand {
    font-size: var(--font-control);
  }
  .site-footer .brand-mark {
    width: 26px;
    height: 26px;
    font-size: 21px;
  }
  dialog {
    padding: 22px;
  }
  #dialog-content h2 {
    font-size: 32px;
  }
  .legal-page {
    padding-block: 45px;
  }
  .legal-page h1 {
    font-size: 35px;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    gap: 8px;
  }
  .site-header .brand {
    gap: 8px;
    font-size: var(--font-control);
  }
  .site-header .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 27px;
  }
  .header-tools {
    gap: 0;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .brand-sub {
    display: none;
  }
  .hero-actions {
    gap: 14px;
  }
  .hero-actions .button {
    font-size: var(--font-control);
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: var(--font-control);
  }
  .hero-art {
    min-height: 340px;
  }
  .label-one {
    top: 80px;
  }
  .label-two {
    top: 161px;
  }
  .label-three {
    bottom: 31px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .email-link {
    font-size: var(--font-body);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
