@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-semibold.ttf") format("truetype");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f3f0e9;
  --ink: #242620;
  --muted: #65675f;
  --line: #d3d1c7;
  --rust: #a3442b;
  --green: #34463b;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --gutter: clamp(24px, 5vw, 88px);
  --header-height: 96px;
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #b75432;
  color: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 6px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #dcc5a8;
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  letter-spacing: -0.065em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(44px, 4.7vw, 70px);
}
h3 {
  letter-spacing: -0.035em;
  line-height: 1.25;
}
em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
ul {
  padding-left: 20px;
}
button {
  border: 0;
}
.page-width {
  width: 100%;
  max-width: 1536px;
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section-space {
  padding-block: 112px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow > span:first-child {
  color: var(--rust);
  margin-right: 14px;
}
.muted {
  color: var(--muted);
}
.text-link {
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
}
.text-link > span {
  font-size: 19px;
  transition: transform 0.25s;
}
.text-link:hover > span {
  transform: translate(3px, -3px);
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  min-height: 52px;
  padding: 13px 23px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s,
    color 0.2s;
}
.button > span {
  font-size: 23px;
  line-height: 1;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-dark:hover {
  background: var(--rust);
}
.button-paper {
  background: var(--paper);
  color: var(--ink);
}
.button-paper:hover {
  background: #dfdacd;
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  font-size: 12px;
}
.inline-links a {
  border-bottom: 1px solid currentColor;
}
.location-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 15px;
}
.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--rust);
  z-index: 61;
  transform: scaleX(0);
  transform-origin: left;
}
.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-inline: var(--gutter);
  background: rgba(243, 240, 233, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.identity {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}
.monogram {
  font-size: 43px;
  font-weight: 600;
  letter-spacing: -0.105em;
  line-height: 1;
}
.monogram > span {
  color: var(--rust);
}
.identity-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.identity-name > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 41px);
}
.primary-nav > a {
  font-size: 12px;
  position: relative;
  padding-block: 12px;
  white-space: nowrap;
}
.primary-nav > a > span {
  font-size: 8px;
  vertical-align: super;
  margin-left: 2px;
  color: var(--muted);
}
.primary-nav > a:not(.nav-resume)::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.primary-nav > a:hover::after,
.primary-nav > a[aria-current]::after {
  transform: scaleX(1);
}
.primary-nav .nav-resume {
  border: 1px solid #a9aaa1;
  padding: 10px 17px;
  margin-left: 8px;
}
.primary-nav .nav-resume > span {
  font-size: 16px;
  vertical-align: baseline;
  margin-left: 13px;
  color: var(--ink);
}
.menu-toggle {
  display: none;
}
/* 01. The portrait and its oversized letter move at different depths. */
.hero {
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  column-gap: 6%;
  padding-top: 64px;
}
.hero-copy {
  padding-top: 28px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero h1 {
  font-size: clamp(70px, 7.85vw, 118px);
  margin-top: 26px;
  line-height: 0.99;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.hero h1 em {
  font-size: 1.12em;
  color: var(--rust);
}
.hero-description {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  color: #585b52;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 31px;
}
.hero-actions .text-link {
  border: 0;
  font-size: 12px;
  gap: 10px;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 45px;
}
.hero-footnote .location-dot {
  background: #657250;
  width: 6px;
  height: 6px;
}
.portrait-composition {
  margin: 0;
  align-self: start;
  transform: rotate(2deg);
}
.portrait-frame {
  background: #bd694a;
  position: relative;
  isolation: isolate;
  height: clamp(460px, 38.5vw, 580px);
  overflow: hidden;
}
.portrait-topline {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 25px;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: #15110d;
}
.portrait-letter {
  position: absolute;
  top: 8px;
  right: 15px;
  line-height: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 450px;
  color: #e8b78f;
  opacity: 0.58;
  letter-spacing: -0.1em;
  transform: translateY(var(--letter-y, 0px));
  will-change: transform;
}
.portrait-orbit {
  position: absolute;
  border: 1px solid #e0a67e;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  top: 55px;
  left: -70px;
}
.hero-portrait {
  position: absolute;
  height: 95%;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  bottom: -2px;
  z-index: 2;
  filter: saturate(0.65);
  transform: translateY(var(--portrait-y, 0px)) scale(1.04);
  transform-origin: center bottom;
  will-change: transform;
}
.portrait-stamp {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 27px;
  background: #e4e6cf;
  color: #3a4635;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: rotate(-6deg);
  box-shadow: 1px 4px 0 #20231c12;
  font-size: 11px;
  line-height: 1.45;
}
.portrait-stamp > span:first-child {
  font-size: 32px;
}
.portrait-composition figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 13px;
  gap: 12px;
}
.portrait-composition figcaption > span:first-child {
  font-weight: 500;
  color: var(--ink);
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 54px;
  padding-block: 23px;
}
.hero-bottom > .eyebrow {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.scroll-cue {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.scroll-cue > span {
  font-size: 25px;
}
.discipline-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 26px var(--gutter);
  font-size: clamp(13px, 1.25vw, 19px);
  letter-spacing: -0.02em;
}
.discipline-strip i {
  font-style: normal;
  font-size: 23px;
  color: var(--rust);
}
.hero-enter {
  animation: arrive 0.8s both;
}
.hero-copy .hero-enter:nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy .hero-enter:nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy .hero-enter:nth-child(4) {
  animation-delay: 0.24s;
}
.hero-copy .hero-enter:nth-child(5) {
  animation-delay: 0.32s;
}
.portrait-composition.hero-enter {
  animation-name: portrait-arrive;
  animation-delay: 0.15s;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes portrait-arrive {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
  }
}
/* 02. Three projects form a physical stack as the reader scrolls. */
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-top: 24px;
}
.heading-row > p {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 5px;
  max-width: 310px;
}
.project-stack {
  margin-top: 55px;
  padding-bottom: 30px;
  perspective: 1600px;
}
.project-panel {
  position: sticky;
  top: calc(112px + var(--card-index) * 12px);
  margin-bottom: 32px;
  perspective: 1400px;
  z-index: calc(5 + var(--card-index));
  scroll-margin-top: 130px;
}
/* A project reached by keyboard stays above the visual stack. */
.project-panel:has(:focus-visible) {
  z-index: 20;
}
.project-panel:has(:focus-visible) .project-surface {
  transform: none !important;
  filter: none !important;
}
.project-surface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 505px;
  border: 1px solid #d0d1c5;
  transform-origin: center top;
  will-change: transform;
  box-shadow: 0 8px 20px #24262005;
}
.project-copy {
  padding: 32px 40px 33px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.project-kicker {
  font-size: 11px;
  margin-bottom: 15px;
}
.project-copy h3 {
  font-size: clamp(34px, 3.6vw, 54px);
  letter-spacing: -0.055em;
  margin-bottom: 18px;
  line-height: 1.03;
}
.project-copy h3 + p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 385px;
  color: #555e51;
}
.tags {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags li {
  font-size: 9px;
  padding: 5px 9px;
  border: 1px solid #b5bbaa;
}
.project-copy .text-link {
  font-size: 11px;
}
.project-dastaa {
  background: #e5e7da;
}
.project-sanju {
  background: #e9e3d9;
}
.project-sanju .project-copy h3 + p {
  color: #615c53;
}
.project-sanju .tags li {
  border-color: #bfb9ae;
}
.project-plant {
  background: #e6e9df;
}
.project-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.terrain-visual {
  background: #304d42;
  color: #8ca183;
}
.terrain-visual svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.map-top,
.map-bottom {
  position: absolute;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  color: #e2e8cd;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.map-top {
  top: 25px;
}
.map-bottom {
  bottom: 24px;
  font-size: 10px;
  line-height: 1.6;
}
.map-compass {
  border: 1px solid #8ca183;
  width: 37px;
  height: 48px;
  text-align: center;
  padding-top: 4px;
}
.map-marker {
  position: absolute;
  top: 43%;
  left: 37%;
  background: #dfe5c8;
  padding: 10px 12px;
  font-size: 9px;
  color: #304d42;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.map-marker .location-dot {
  background: #46694a;
  width: 5px;
  height: 5px;
}
.cloud-visual {
  padding: 25px 38px;
  background: #323631;
  color: #d8daca;
  background-image: radial-gradient(#60675880 0.65px, transparent 0.65px);
  background-size: 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.diagram-top {
  position: absolute;
  top: 25px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.cloud-demand {
  width: 210px;
}
.diagram-label {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #c0c5b5;
}
.signal-bars {
  display: flex;
  gap: 6px;
  height: 65px;
  align-items: end;
  margin-top: 15px;
}
.signal-bars i {
  display: block;
  flex: 1;
  background: #bdc7a3;
  height: 35%;
}
.signal-bars i:nth-child(3n) {
  height: 70%;
}
.signal-bars i:nth-child(4n) {
  height: 90%;
}
.signal-bars i:nth-child(2n) {
  height: 55%;
}
.signal-bars i:nth-child(5n) {
  height: 100%;
  background: #c97652;
}
.diagram-line {
  height: 35px;
  width: 1px;
  background: #8e9a79;
}
.predict-node {
  background: #e1e4d3;
  border: 5px solid #4c5743;
  outline: 1px solid #9aa48a;
  width: 290px;
  padding: 18px 21px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #323a2c;
  font-size: 22px;
  font-weight: 500;
}
.predict-node > div > span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 3px;
}
.node-dot {
  width: 6px;
  height: 6px;
  background: #7e8d5f;
  border-radius: 50%;
  margin-left: auto;
}
.cloud-resources {
  display: flex;
  gap: 13px;
}
.cloud-resources > span {
  padding: 10px 13px;
  border: 1px solid #788370;
  background: #3b4338;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.diagram-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  margin-top: 30px;
  color: #b6c2a5;
}
.plant-visual {
  background: #c7d1b1;
  padding: 25px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.plant-top {
  font-size: 8px;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
}
.plant-visual img {
  width: 100%;
  box-shadow: 0 15px 30px #42523522;
  transform: rotate(-3deg);
  border: 6px solid #f1f1df;
  margin-block: 18px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.plant-caption > span {
  font-size: 8px;
  letter-spacing: 0.07em;
}
.plant-caption > p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 29px;
  margin-top: 6px;
  letter-spacing: -0.015em;
}
.plant-caption > span:last-child {
  display: block;
  margin-top: 12px;
  line-height: 1.7;
  opacity: 0.8;
}
.archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 37px;
  margin-bottom: 28px;
}
.archive-heading h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
}
.archive-heading h3 span {
  font-size: 11px;
  vertical-align: middle;
  margin-left: 13px;
  color: var(--muted);
  letter-spacing: 0;
}
.archive-heading > p {
  font-size: 11px;
  color: var(--muted);
}
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
.archive-item {
  border-top: 1px solid var(--line);
}
.archive-item:last-child {
  border-bottom: 1px solid var(--line);
}
.archive-item > summary {
  display: grid;
  grid-template-columns: 45px 1fr 230px 24px;
  gap: 20px;
  align-items: center;
  padding: 25px 0;
}
.archive-number {
  font-size: 10px;
  color: var(--muted);
}
.archive-title {
  font-size: 23px;
  letter-spacing: -0.04em;
}
.archive-type {
  font-size: 11px;
  color: var(--muted);
}
.detail-icon {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s;
  display: block;
  text-align: center;
}
details[open] > summary .detail-icon {
  transform: rotate(45deg);
}
.archive-item > summary:hover .archive-title {
  color: var(--rust);
}
.archive-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 38px;
  padding: 5px 45px 35px 65px;
  max-width: 950px;
  font-size: 13px;
}
.archive-content > img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
}
.archive-content .muted {
  font-size: 11px;
  margin-top: 14px;
}
/* 03. A sentence gains ink, word by word, as it crosses the viewport. */
.about-section {
  background: #e8e7dc;
}
.about-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  margin-top: 40px;
}
.about-aside {
  padding-top: 6px;
}
.about-aside > p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 29px;
  margin-bottom: 23px;
}
.about-aside .text-link {
  font-size: 11px;
}
.reading-reveal {
  font-size: clamp(42px, 5vw, 73px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  max-width: 840px;
}
.reading-reveal .word {
  opacity: 1;
}
.motion-ready .reading-reveal .word {
  opacity: 0.56;
  transition: opacity 0.25s;
}
.motion-ready .reading-reveal .word.is-read {
  opacity: 1;
}
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 35px;
  font-size: 13px;
  line-height: 1.85;
  color: #5b5f53;
}
.about-body p:last-child {
  grid-column: 1/-1;
  max-width: 600px;
}
.about-note {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid #c8cbba;
}
.skills-area {
  margin-top: 85px;
  padding-top: 35px;
  border-top: 1px solid #c8cbba;
  scroll-margin-top: 120px;
}
.skills-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}
.skills-heading h3 {
  font-size: 27px;
}
.skills-heading > p {
  font-size: 11px;
  color: var(--muted);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 45px;
  row-gap: 33px;
}
.skill-group .eyebrow {
  font-size: 9px;
  color: #59654b;
}
.skill-group > p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 13px;
}
.split-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.split-section-heading h2 {
  margin-top: 24px;
}
.split-section-heading > p {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 5px;
}
.experience-list {
  margin-top: 55px;
  border-top: 1px solid var(--line);
}
.experience-item {
  border-bottom: 1px solid var(--line);
}
.experience-item > summary {
  display: grid;
  grid-template-columns: 185px 1fr 140px 22px;
  gap: 22px;
  align-items: center;
  padding-block: 29px;
}
.experience-date {
  font-size: 9px;
  letter-spacing: 0.035em;
  color: var(--muted);
}
.experience-position > strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
  letter-spacing: -0.035em;
}
.experience-position > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.experience-location {
  font-size: 10px;
  color: var(--muted);
}
.experience-item > summary:hover strong {
  color: var(--rust);
}
.experience-body {
  margin-left: 207px;
  max-width: 710px;
  padding-bottom: 28px;
  font-size: 12px;
  color: #575d50;
}
.experience-body ul {
  line-height: 1.8;
  margin-block: 15px;
  padding-left: 17px;
}
.experience-body li + li {
  margin-top: 5px;
}
.experience-tools {
  font-size: 10px;
  color: var(--rust);
  margin-top: 20px;
}
.research-section {
  background: #2e3e34;
  color: #eaece0;
}
.research-section .eyebrow > span:first-child {
  color: #ceac7f;
}
.research-section em {
  color: #d9c8aa;
}
.research-intro {
  max-width: 305px;
  font-size: 12px;
  color: #bec8b8;
}
.research-intro .text-link {
  font-size: 11px;
  margin-top: 20px;
  color: #eaece0;
}
.research-list {
  margin-top: 60px;
}
.research-item {
  display: grid;
  grid-template-columns: 150px 1fr 38px;
  gap: 38px;
  padding: 38px 0;
  border-top: 1px solid #5c6a5a;
}
.research-year {
  font-family: var(--serif);
  font-style: italic;
  color: #c5cdb9;
  font-size: 32px;
  line-height: 1;
}
.research-item .eyebrow {
  font-size: 8px;
  color: #bdc8b2;
}
.research-item h3 {
  font-size: 29px;
  line-height: 1.22;
  margin-top: 12px;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.research-item h3 + p {
  font-size: 12px;
  color: #c1cbb8;
  max-width: 580px;
}
.research-symbol {
  font-size: 33px;
  color: #d9c8aa;
}
.research-details {
  margin-top: 14px;
  font-size: 11px;
  color: #c6d0bd;
}
.research-details > summary {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #8e9e82;
}
.research-details > p {
  max-width: 590px;
  margin-top: 12px;
}
.research-note {
  border-block: 1px solid #5c6a5a;
  padding-block: 23px;
  font-size: 12px;
}
.research-note > summary {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.research-note > summary > span:last-child {
  font-size: 20px;
}
.research-note > p {
  margin-top: 15px;
  max-width: 850px;
  font-size: 12px;
  color: #c1cbb8;
}
.research-links {
  display: flex;
  gap: 35px;
  font-size: 11px;
  margin-top: 30px;
}
.research-links > a {
  border-bottom: 1px solid #8e9e82;
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.credentials-grid h2 {
  font-size: 46px;
  margin-top: 18px;
  margin-bottom: 42px;
}
.education-item {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.education-item h3 {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 9px;
  letter-spacing: -0.03em;
}
.education-item h3 a {
  display: block;
}
.education-item h3 span {
  font-size: 15px;
  margin-left: 5px;
  color: var(--muted);
}
.education-item .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.education-item > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
}
.education-item > p.education-detail {
  font-size: 11px;
  margin-top: 12px;
  color: var(--muted);
}
.credential-row {
  display: flex;
  gap: 23px;
  border-top: 1px solid var(--line);
  padding-block: 27px;
}
.credential-number {
  font-size: 9px;
  color: var(--rust);
  padding-top: 3px;
}
.credential-row h3 {
  font-size: 17px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.credential-row p,
.credential-id {
  font-size: 11px;
  color: var(--muted);
}
.credential-id {
  font-size: 9px;
  display: block;
  margin-top: 4px;
}
.credential-row .inline-links {
  font-size: 9px;
  gap: 15px;
}
.award-note {
  display: flex;
  gap: 24px;
  background: #e5e5d6;
  padding: 26px;
  margin-top: 12px;
}
.award-note > span {
  font-size: 33px;
  line-height: 1.3;
  color: var(--rust);
}
.award-note h3 {
  font-size: 14px;
  letter-spacing: -0.025em;
}
.award-note p {
  font-size: 10px;
  margin-top: 9px;
  color: #5a6151;
}
.award-note p + p {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #c7cbba;
}
.community-note {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 55px;
}
.community-note .eyebrow {
  font-size: 9px;
}
.community-note > p {
  font-size: 12px;
  color: var(--muted);
  max-width: 630px;
}
.community-note .text-link {
  font-size: 11px;
  padding-top: 0;
  white-space: nowrap;
}
.community-note strong {
  font-weight: 500;
  color: var(--ink);
}
.contact-section {
  background: #292c25;
  color: var(--paper);
  padding-bottom: 24px;
}
.contact-section .eyebrow > span:first-child {
  color: #d69a77;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 100px;
  margin-top: 36px;
}
.contact-grid h2 {
  font-size: clamp(65px, 6.9vw, 104px);
  position: relative;
  letter-spacing: -0.055em;
  line-height: 1.03;
}
.contact-grid h2 em {
  color: #d6b695;
}
.contact-arrow {
  font-family: var(--sans);
  font-size: 85px;
  position: absolute;
  right: 30px;
  top: 5px;
  color: #d6b695;
  font-weight: 400;
}
.contact-description {
  font-size: 13px;
  line-height: 1.8;
  color: #b6baab;
  margin-top: 30px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  font-size: clamp(14px, 1.5vw, 22px);
  margin-top: 29px;
  border-bottom: 1px solid #828878;
  padding-bottom: 7px;
}
.contact-email > span {
  font-size: 22px;
}
.contact-socials {
  display: flex;
  gap: 30px;
  font-size: 11px;
  margin-top: 30px;
  color: #d1d4c6;
}
.contact-socials > a:hover {
  color: #d6b695;
}
.contact-form {
  padding-top: 7px;
}
.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #636b59;
  padding-bottom: 10px;
  margin-bottom: 24px;
}
.form-heading > span:last-child {
  font-size: 25px;
  line-height: 1;
}
.form-field {
  margin-bottom: 23px;
}
.form-field label {
  font-size: 11px;
  display: block;
  margin-bottom: 5px;
  color: #d5d8cb;
}
.form-field input,
.form-field textarea {
  border: 0;
  border-bottom: 1px solid #636b59;
  background: transparent;
  color: var(--paper);
  width: 100%;
  border-radius: 0;
  padding: 8px 0 11px;
  font-size: 12px;
  resize: vertical;
  display: block;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aeb4a3;
  opacity: 1;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: #d6b695;
}
.contact-form .button {
  width: 100%;
  font-size: 12px;
  min-height: 47px;
}
.contact-form .button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.honey-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-status {
  font-size: 12px;
  margin-top: 12px;
  color: #e1d2b3;
  min-height: 20px;
}
.site-footer {
  border-top: 1px solid #535b4a;
  margin-top: 100px;
  padding-top: 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-name {
  font-size: clamp(33px, 4.3vw, 64px);
  font-weight: 500;
  letter-spacing: -0.065em;
}
.footer-name > span {
  color: #d6b695;
}
.back-top {
  font-size: 10px;
  display: flex;
  gap: 25px;
  align-items: center;
  color: #c0c7b3;
}
.back-top > span {
  font-size: 25px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #535b4a;
  font-size: 9px;
  color: #b6beaa;
}
.footer-utilities {
  display: flex;
  align-items: center;
  gap: 25px;
}
.motion-toggle {
  background: transparent;
  padding: 5px 0;
  font-size: 9px;
}
.more-links {
  position: relative;
}
.more-links summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
}
.more-links > div {
  position: absolute;
  bottom: 35px;
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 175px;
  gap: 0;
  padding: 10px 15px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  z-index: 10;
}
.more-links a {
  padding-block: 7px;
  font-size: 11px;
}
.footer-signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #c9cbbb;
}
.contact-section :is(a, button, summary):focus-visible,
.research-section :is(a, button, summary):focus-visible {
  outline-color: #e4b589;
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] .hero-enter {
  animation: none;
}
html[data-motion="off"] .project-panel {
  position: relative;
  top: auto;
}
html[data-motion="off"] .project-surface {
  transform: none !important;
  filter: none !important;
}
html[data-motion="off"] .hero-portrait {
  transform: scale(1.04);
}
html[data-motion="off"] .portrait-letter {
  transform: none;
}
html[data-motion="off"] .reading-reveal .word {
  opacity: 1;
  transition: none;
}
html[data-motion="off"] * {
  transition-duration: 0s !important;
}
html[data-motion="off"] .button:hover {
  transform: none;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 75px;
  }
  .hero h1 {
    font-size: 125px;
  }
  .hero-copy {
    padding-top: 40px;
  }
  .hero-description {
    font-size: 16px;
  }
  .portrait-frame {
    height: 590px;
  }
  .hero-bottom {
    margin-top: 65px;
  }
}
@media (max-width: 1100px) {
  :root {
    --header-height: 85px;
    --gutter: 40px;
  }
  .identity-name {
    display: none;
  }
  .primary-nav {
    gap: 25px;
  }
  .hero {
    column-gap: 4%;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 8.2vw;
  }
  .portrait-frame {
    height: 470px;
  }
  .hero-copy {
    padding-top: 17px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    padding-inline: 18px;
    gap: 20px;
  }
  .hero-footnote {
    margin-top: 30px;
    font-size: 9px;
  }
  .portrait-composition figcaption {
    font-size: 8px;
  }
  .hero-bottom {
    margin-top: 30px;
  }
  .project-copy {
    padding: 27px;
  }
  .project-surface {
    min-height: 480px;
  }
  .project-meta {
    font-size: 8px;
  }
  .cloud-visual {
    padding-inline: 22px;
  }
  .map-marker {
    left: 25%;
  }
  .about-layout {
    gap: 40px;
  }
  .experience-item > summary {
    grid-template-columns: 145px 1fr 108px 20px;
    gap: 18px;
  }
  .experience-body {
    margin-left: 163px;
  }
  .experience-position > strong {
    font-size: 20px;
  }
  .credentials-grid {
    gap: 55px;
  }
  .credentials-grid h2 {
    font-size: 40px;
  }
  .contact-grid {
    gap: 55px;
  }
  .contact-arrow {
    right: 0;
    font-size: 65px;
  }
  .community-note {
    grid-template-columns: 140px 1fr;
    gap: 20px;
  }
  .community-note .text-link {
    grid-column: 2;
    justify-self: start;
  }
  .footer-bottom {
    gap: 20px;
  }
  .footer-signoff {
    display: none;
  }
}
@media (max-width: 800px) {
  :root {
    --gutter: 28px;
    --header-height: 76px;
    scroll-padding-top: 95px;
  }
  .site-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0;
  }
  .site-header .identity {
    min-height: var(--header-height);
  }
  .identity-name {
    display: block;
  }
  .monogram {
    font-size: 37px;
  }
  .js-enabled .menu-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    font-size: 12px;
    min-height: 44px;
    padding: 8px 0 8px 15px;
  }
  .menu-toggle > span {
    font-size: 18px;
  }
  .primary-nav {
    width: 100%;
    order: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 20px;
    padding-block: 10px 18px;
    border-top: 1px solid var(--line);
  }
  .js-enabled .primary-nav {
    display: none;
  }
  .js-enabled .primary-nav.is-open {
    display: flex;
  }
  .primary-nav > a {
    font-size: 12px;
  }
  .primary-nav .nav-resume {
    margin-left: 0;
    padding: 7px 13px;
  }
  .hero {
    grid-template-columns: 1.05fr 1fr;
    padding-top: 35px;
    column-gap: 25px;
  }
  .hero .eyebrow {
    font-size: 8px;
    gap: 7px;
    letter-spacing: 0.06em;
  }
  .hero h1 {
    font-size: 8.6vw;
    margin-top: 23px;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 24px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 23px;
  }
  .hero-actions .button {
    font-size: 11px;
    min-height: 45px;
    padding: 11px 16px;
  }
  .hero-actions .text-link {
    font-size: 10px;
  }
  .hero-footnote {
    font-size: 8px;
    margin-top: 18px;
  }
  .portrait-frame {
    height: 430px;
  }
  .hero-portrait {
    height: 86%;
    width: 120%;
    max-width: none;
    left: -10%;
    object-fit: cover;
  }
  .portrait-topline {
    font-size: 7px;
    left: 16px;
    top: 19px;
  }
  .portrait-letter {
    font-size: 380px;
    top: 20px;
    right: 0;
  }
  .portrait-orbit {
    width: 330px;
    height: 330px;
  }
  .portrait-stamp {
    padding: 12px;
    font-size: 9px;
    right: 10px;
    bottom: 23px;
    gap: 10px;
  }
  .portrait-stamp > span:first-child {
    font-size: 24px;
  }
  .portrait-composition figcaption {
    font-size: 7px;
    gap: 7px;
  }
  .portrait-composition figcaption > span:last-child {
    text-align: right;
    max-width: 95px;
  }
  .hero-bottom {
    margin-top: 25px;
  }
  .hero-bottom > .eyebrow {
    font-size: 7px;
  }
  .discipline-strip {
    font-size: 11px;
    gap: 14px;
    padding-block: 21px;
  }
  .discipline-strip i {
    font-size: 17px;
  }
  .section-space {
    padding-block: 80px;
  }
  .heading-row > p {
    font-size: 11px;
    max-width: 220px;
  }
  .project-copy {
    padding: 22px;
  }
  .project-copy h3 {
    font-size: 34px;
  }
  .project-copy h3 + p {
    font-size: 12px;
  }
  .project-meta {
    font-size: 7px;
    gap: 8px;
  }
  .project-kicker {
    font-size: 9px;
  }
  .project-surface {
    min-height: 480px;
  }
  .project-panel {
    top: calc(92px + var(--card-index) * 9px);
  }
  .tags {
    gap: 5px;
  }
  .tags li {
    font-size: 8px;
    padding: 4px 6px;
  }
  .map-top {
    font-size: 6px;
    left: 16px;
    right: 16px;
  }
  .map-marker {
    font-size: 7px;
    left: 15%;
    padding: 8px;
  }
  .map-bottom {
    left: 16px;
    right: 16px;
    font-size: 8px;
  }
  .predict-node {
    width: 230px;
    padding: 13px;
    gap: 12px;
    font-size: 19px;
  }
  .cloud-demand {
    width: 170px;
  }
  .diagram-top {
    font-size: 6px;
    left: 16px;
    right: 16px;
  }
  .cloud-resources {
    gap: 6px;
  }
  .cloud-resources > span {
    font-size: 6px;
    padding: 9px;
  }
  .diagram-caption {
    font-size: 21px;
    white-space: nowrap;
  }
  .plant-visual {
    padding: 22px 17px;
  }
  .plant-top {
    font-size: 6px;
  }
  .plant-visual img {
    margin-block: auto;
  }
  .plant-caption > p {
    font-size: 24px;
  }
  .archive-item > summary {
    grid-template-columns: 25px 1fr 150px 20px;
    gap: 13px;
    padding-block: 23px;
  }
  .archive-title {
    font-size: 20px;
  }
  .archive-type {
    font-size: 9px;
  }
  .archive-content {
    padding: 0 30px 30px 38px;
    grid-template-columns: 210px 1fr;
    gap: 24px;
    font-size: 12px;
  }
  .about-layout {
    grid-template-columns: 0.48fr 1.3fr;
    gap: 35px;
  }
  .reading-reveal {
    font-size: 46px;
  }
  .about-body {
    grid-template-columns: 1fr;
    gap: 18px;
    font-size: 12px;
  }
  .about-aside > p {
    font-size: 12px;
  }
  .about-note {
    font-size: 10px;
    align-items: flex-start;
  }
  .skills-grid {
    column-gap: 25px;
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-heading > p {
    font-size: 10px;
  }
  .skills-area {
    margin-top: 65px;
  }
  .split-section-heading > p {
    font-size: 11px;
    max-width: 200px;
  }
  .experience-item > summary {
    grid-template-columns: 120px 1fr 20px;
    gap: 16px;
  }
  .experience-location {
    display: none;
  }
  .experience-date {
    font-size: 8px;
  }
  .experience-position > strong {
    font-size: 18px;
  }
  .experience-position > span {
    font-size: 10px;
  }
  .experience-body {
    margin-left: 136px;
  }
  .research-intro {
    max-width: 220px;
    font-size: 11px;
  }
  .research-item {
    grid-template-columns: 80px 1fr 25px;
    gap: 25px;
  }
  .research-item h3 {
    font-size: 25px;
  }
  .research-year {
    font-size: 28px;
  }
  .credentials-grid {
    gap: 40px;
  }
  .credentials-grid h2 {
    font-size: 34px;
  }
  .education-item h3 {
    font-size: 16px;
  }
  .credential-row {
    gap: 15px;
  }
  .credential-row h3 {
    font-size: 15px;
  }
  .award-note {
    padding: 20px 15px;
    gap: 15px;
  }
  .award-note > span {
    font-size: 26px;
  }
  .contact-grid {
    gap: 35px;
  }
  .contact-grid h2 {
    font-size: 65px;
  }
  .contact-arrow {
    font-size: 47px;
    right: -2px;
    top: 8px;
  }
  .contact-email {
    font-size: 13px;
    gap: 9px;
  }
  .contact-socials {
    gap: 17px;
    font-size: 10px;
  }
  .contact-description {
    font-size: 12px;
  }
  .form-heading {
    font-size: 8px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 15px;
  }
  .footer-utilities {
    gap: 16px;
  }
  .motion-toggle {
    font-size: 8px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 23px;
    --header-height: 72px;
  }
  .site-header {
    min-height: 72px;
  }
  .identity {
    gap: 13px;
  }
  .identity-name {
    font-size: 11px;
  }
  .identity-name > span {
    font-size: 9px;
  }
  .primary-nav {
    justify-content: flex-start;
    gap: 3px 25px;
  }
  .primary-nav > a {
    font-size: 13px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .primary-nav .nav-resume {
    min-height: 40px;
    margin-block: 3px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 32px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero .eyebrow {
    font-size: 9px;
    gap: 9px;
  }
  .hero h1 {
    font-size: clamp(58px, 17vw, 94px);
    letter-spacing: -0.065em;
    margin-top: 22px;
    line-height: 1.01;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 22px;
    max-width: 340px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-top: 26px;
  }
  .hero-actions .button {
    font-size: 11px;
    min-height: 48px;
    gap: 22px;
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 8px;
  }
  .hero-footnote {
    font-size: 9px;
    margin-top: 24px;
  }
  .portrait-composition {
    margin: 36px 6px 0;
    transform: rotate(2deg);
  }
  .portrait-frame {
    height: 440px;
  }
  .portrait-topline {
    font-size: 8px;
    top: 20px;
    left: 20px;
  }
  .portrait-letter {
    font-size: 410px;
    top: -10px;
    right: 10px;
  }
  .portrait-orbit {
    top: 30px;
    width: 370px;
    height: 370px;
    left: -50px;
  }
  .hero-portrait {
    height: 88%;
    width: 100%;
    left: 0;
    object-fit: contain;
  }
  .portrait-stamp {
    padding: 13px 17px;
    right: 17px;
    bottom: 22px;
    font-size: 10px;
  }
  .portrait-stamp > span:first-child {
    font-size: 28px;
  }
  .portrait-composition figcaption {
    font-size: 8px;
    margin-top: 10px;
  }
  .portrait-composition figcaption > span:last-child {
    max-width: none;
  }
  .hero-bottom {
    margin-top: 27px;
    padding-block: 20px;
  }
  .hero-bottom > .eyebrow {
    max-width: 150px;
    display: block;
    font-size: 8px;
    line-height: 1.6;
  }
  .scroll-cue {
    font-size: 9px;
    gap: 17px;
  }
  .scroll-cue > span {
    font-size: 20px;
  }
  .discipline-strip {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    text-align: center;
    gap: 15px 10px;
    font-size: 12px;
    padding-block: 22px;
  }
  .discipline-strip i:nth-of-type(2) {
    display: none;
  }
  .discipline-strip span:nth-of-type(3) {
    grid-column: 1;
  }
  .discipline-strip i {
    font-size: 18px;
  }
  .section-space {
    padding-block: 65px;
  }
  h2 {
    font-size: 43px;
    letter-spacing: -0.055em;
  }
  .eyebrow {
    font-size: 9px;
  }
  .heading-row {
    display: block;
    margin-top: 20px;
  }
  .heading-row > p {
    font-size: 12px;
    margin-top: 20px;
    max-width: 300px;
    line-height: 1.8;
  }
  .project-stack {
    margin-top: 30px;
    padding-bottom: 0;
    perspective: none;
  }
  .project-panel {
    position: relative;
    top: auto;
    margin-bottom: 25px;
    perspective: none;
  }
  .project-surface {
    grid-template-columns: 1fr;
    min-height: 0;
    transform: none !important;
    filter: none !important;
  }
  .project-copy {
    padding: 25px;
    gap: 26px;
    min-height: 395px;
  }
  .project-meta {
    font-size: 8px;
  }
  .project-kicker {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .project-copy h3 {
    font-size: 40px;
    margin-bottom: 15px;
  }
  .project-copy h3 + p {
    font-size: 12px;
    line-height: 1.8;
  }
  .tags {
    gap: 7px;
    margin-bottom: 12px;
  }
  .tags li {
    font-size: 8px;
    padding: 4px 8px;
  }
  .project-copy .text-link {
    font-size: 11px;
  }
  .project-visual {
    min-height: 340px;
  }
  .map-top {
    font-size: 7px;
    left: 22px;
    right: 22px;
    top: 22px;
  }
  .map-bottom {
    font-size: 9px;
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
  .map-marker {
    left: 32%;
    font-size: 8px;
  }
  .cloud-visual {
    padding-block: 60px 30px;
  }
  .predict-node {
    width: 240px;
  }
  .diagram-top {
    font-size: 7px;
    top: 20px;
    left: 22px;
    right: 22px;
  }
  .cloud-demand {
    width: 180px;
  }
  .signal-bars {
    height: 45px;
  }
  .diagram-line {
    height: 22px;
  }
  .cloud-resources > span {
    font-size: 7px;
    padding: 10px;
  }
  .diagram-caption {
    font-size: 23px;
    margin-top: 22px;
  }
  .plant-visual {
    min-height: 350px;
    padding: 23px;
  }
  .plant-top {
    font-size: 7px;
  }
  .plant-visual img {
    margin-block: 25px;
  }
  .plant-caption > p {
    font-size: 28px;
  }
  .archive-heading {
    margin-top: 43px;
    margin-bottom: 23px;
    display: block;
  }
  .archive-heading h3 {
    font-size: 24px;
  }
  .archive-heading > p {
    font-size: 10px;
    margin-top: 8px;
  }
  .archive-item > summary {
    grid-template-columns: 20px 1fr 20px;
    gap: 14px;
    padding-block: 22px;
  }
  .archive-title {
    font-size: 19px;
  }
  .archive-type {
    display: none;
  }
  .archive-number {
    font-size: 8px;
  }
  .detail-icon {
    font-size: 22px;
  }
  .archive-content {
    padding: 0 0 25px 34px;
    grid-template-columns: 1fr;
    gap: 20px;
    font-size: 12px;
  }
  .archive-content > img {
    height: auto;
    max-height: 230px;
    object-fit: contain;
    object-position: top;
  }
  .about-layout {
    grid-template-columns: 1fr;
    margin-top: 26px;
    gap: 30px;
  }
  .about-aside {
    display: grid;
    grid-template-columns: 75px 1fr;
    align-items: center;
    gap: 10px 18px;
  }
  .about-aside > p {
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
  }
  .about-aside .text-link {
    justify-self: start;
    font-size: 10px;
    padding-block: 3px;
    grid-column: 2;
  }
  .reading-reveal {
    font-size: 45px;
    max-width: 450px;
    line-height: 1.12;
  }
  .about-body {
    margin-top: 24px;
    font-size: 12px;
    gap: 16px;
  }
  .about-note {
    font-size: 10px;
    gap: 12px;
    line-height: 1.7;
  }
  .skills-area {
    margin-top: 44px;
    padding-top: 26px;
  }
  .skills-heading {
    display: block;
    margin-bottom: 28px;
  }
  .skills-heading h3 {
    font-size: 25px;
  }
  .skills-heading > p {
    font-size: 10px;
    margin-top: 7px;
  }
  .skills-grid {
    gap: 25px 24px;
  }
  .skill-group .eyebrow {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .skill-group > p {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 10px;
  }
  .split-section-heading {
    display: block;
  }
  .split-section-heading h2 {
    margin-top: 20px;
  }
  .split-section-heading > p {
    margin-top: 20px;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.8;
  }
  .experience-list {
    margin-top: 30px;
  }
  .experience-item > summary {
    grid-template-columns: 1fr 20px;
    row-gap: 8px;
    padding-block: 24px;
  }
  .experience-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 8px;
  }
  .experience-position {
    grid-column: 1;
    grid-row: 2;
  }
  .experience-position > strong {
    font-size: 22px;
  }
  .experience-position > span {
    font-size: 10px;
    line-height: 1.6;
    max-width: 290px;
  }
  .experience-item > summary > .detail-icon {
    grid-column: 2;
    grid-row: 1/3;
  }
  .experience-body {
    margin-left: 0;
    font-size: 12px;
    padding-right: 17px;
    padding-bottom: 25px;
  }
  .experience-body li + li {
    margin-top: 8px;
  }
  .experience-tools {
    font-size: 9px;
  }
  .research-intro {
    max-width: 340px;
    margin-top: 23px;
    font-size: 12px;
  }
  .research-intro .text-link {
    margin-top: 12px;
  }
  .research-list {
    margin-top: 35px;
  }
  .research-item {
    grid-template-columns: 1fr 22px;
    gap: 13px;
    padding-block: 30px;
  }
  .research-year {
    font-size: 24px;
    grid-column: 1/-1;
  }
  .research-item h3 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 17px;
  }
  .research-item h3 br {
    display: none;
  }
  .research-item .eyebrow {
    font-size: 7px;
  }
  .research-item h3 + p {
    font-size: 12px;
  }
  .research-symbol {
    font-size: 24px;
  }
  .research-item > div {
    grid-column: 1;
  }
  .research-details {
    font-size: 10px;
  }
  .research-note {
    padding-block: 20px;
    font-size: 11px;
  }
  .research-links {
    flex-direction: column;
    align-items: start;
    gap: 17px;
    font-size: 10px;
    margin-top: 25px;
  }
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .credentials-grid h2 {
    font-size: 43px;
    margin-top: 17px;
    margin-bottom: 27px;
  }
  .education-item h3 {
    font-size: 18px;
  }
  .education-item > p:not(.eyebrow) {
    font-size: 12px;
  }
  .credential-row h3 {
    font-size: 17px;
  }
  .credential-row {
    padding-block: 24px;
    gap: 20px;
  }
  .credential-row .inline-links {
    font-size: 10px;
    gap: 18px;
  }
  .credential-id {
    font-size: 10px;
  }
  .award-note {
    padding: 25px;
    gap: 20px;
  }
  .award-note h3 {
    font-size: 15px;
  }
  .award-note p {
    font-size: 11px;
  }
  .community-note {
    grid-template-columns: 1fr;
    margin-top: 35px;
    padding-top: 25px;
    gap: 15px;
  }
  .community-note .text-link {
    grid-column: 1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-top: 29px;
  }
  .contact-grid h2 {
    font-size: clamp(58px, 17vw, 94px);
  }
  .contact-arrow {
    font-size: 70px;
    right: 20px;
    top: 6px;
  }
  .contact-description {
    font-size: 12px;
    margin-top: 24px;
  }
  .contact-email {
    font-size: clamp(13px, 4vw, 19px);
    gap: 18px;
    margin-top: 25px;
  }
  .contact-socials {
    gap: 30px;
    font-size: 11px;
    margin-top: 25px;
  }
  .form-heading {
    font-size: 9px;
    padding-bottom: 17px;
  }
  .form-field {
    margin-bottom: 25px;
  }
  .form-field label {
    font-size: 12px;
  }
  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }
  .contact-form .button {
    min-height: 50px;
  }
  .site-footer {
    margin-top: 52px;
    padding-top: 25px;
  }
  .footer-top {
    align-items: flex-end;
    gap: 20px;
  }
  .footer-name {
    font-size: 35px;
    max-width: 200px;
    line-height: 1.1;
  }
  .back-top {
    font-size: 9px;
    gap: 12px;
    max-width: 100px;
  }
  .back-top > span {
    font-size: 23px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 20px;
    font-size: 9px;
    align-items: center;
  }
  .footer-bottom > span:first-child {
    width: 100%;
  }
  .footer-utilities {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
  }
  .motion-toggle {
    font-size: 10px;
    padding-block: 10px;
  }
  .footer-utilities > a {
    padding-block: 10px;
  }
  .more-links summary {
    padding-block: 10px;
  }
  .contact-section {
    padding-bottom: 22px;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 19px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions .button {
    gap: 13px;
    padding-inline: 13px;
  }
  .hero h1 {
    font-size: 17.6vw;
  }
  .portrait-frame {
    height: 390px;
  }
  .hero-portrait {
    height: 88%;
    width: 115%;
    left: -7.5%;
  }
  .portrait-stamp {
    right: 12px;
    bottom: 18px;
  }
  .portrait-composition figcaption {
    font-size: 7px;
  }
  .contact-arrow {
    right: 0;
    font-size: 57px;
  }
  .reading-reveal {
    font-size: 41px;
  }
  .project-copy {
    padding: 22px;
  }
  .project-copy h3 {
    font-size: 36px;
  }
  .cloud-resources > span {
    font-size: 6px;
  }
  .footer-name {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .hero-enter {
    animation: none !important;
  }
  .project-panel {
    position: relative;
    top: auto;
  }
  .project-surface {
    transform: none !important;
    filter: none !important;
  }
  .hero-portrait {
    transform: scale(1.04) !important;
  }
  .portrait-letter {
    transform: none !important;
  }
  .motion-ready .reading-reveal .word {
    opacity: 1 !important;
    transition: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .button:hover {
    transform: none;
  }
}
@media print {
  .site-header,
  .reading-progress,
  .hero-bottom,
  .discipline-strip,
  .contact-form,
  .footer-utilities,
  .back-top,
  .skip-link {
    display: none !important;
  }
  .section-space {
    padding-block: 28px;
  }
  .page-width {
    padding-inline: 0;
  }
  .hero {
    padding-top: 0;
  }
  .hero h1 {
    font-size: 65px;
  }
  .portrait-frame {
    height: 340px;
  }
  .project-panel {
    position: static;
    break-inside: avoid;
  }
  .project-surface {
    transform: none !important;
    filter: none !important;
    min-height: 360px;
  }
  .reading-reveal .word {
    opacity: 1 !important;
  }
  .about-section,
  .research-section,
  .contact-section {
    background: transparent;
    color: #242620;
  }
  .research-section p,
  .research-section em,
  .research-section a,
  .contact-section p {
    color: inherit;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid h2 {
    font-size: 60px;
  }
  a[href^="http"] {
    text-decoration: underline;
  }
  .site-footer {
    margin-top: 30px;
  }
  .footer-name,
  .footer-bottom {
    color: #242620;
  }
  details {
    break-inside: avoid;
  }
}
/* Keep every panel readable on short landscape screens. */
@media (max-height: 700px) {
  .project-panel {
    position: relative;
    top: auto;
  }
  .project-surface {
    transform: none !important;
    filter: none !important;
  }
}

html:not(.js-enabled) .site-header {
  position: relative;
}

.hero > * {
  min-width: 0;
}
.research-item > div,
.contact-grid > * {
  min-width: 0;
}
.research-item h3 {
  overflow-wrap: anywhere;
}

/* A softer silhouette, with motion tied to the object it belongs to. */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 28px;
}
.site-header {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1392px;
  height: 76px;
  top: 14px;
  margin: 16px auto 0;
  padding-inline: 27px;
  border: 1px solid #d3d1c7ba;
  border-radius: 999px;
  background: #f8f5edf0;
  box-shadow: 0 8px 24px -18px #25281c35;
  transition:
    box-shadow 500ms var(--ease-out),
    background 500ms;
}
.site-header.is-scrolled {
  background: #f8f5edf7;
  box-shadow: 0 10px 32px -17px #25281c3b;
}
.primary-nav {
  gap: clamp(17px, 2.1vw, 32px);
}
.primary-nav .nav-resume {
  border-radius: 999px;
  transition:
    background 250ms,
    border-color 250ms;
}
.primary-nav .nav-resume:hover {
  background: #e8e8db;
  border-color: #949e83;
}
.button {
  border-radius: 999px;
  transition:
    background 300ms,
    color 300ms,
    box-shadow 400ms,
    translate 500ms var(--ease-out),
    transform 400ms var(--ease-out);
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -15px #24262080;
}
.button > span {
  transition: transform 450ms var(--ease-out);
}
.button:hover > span {
  transform: rotate(-12deg) translate(2px, -2px);
}
.button:active {
  transform: translateY(0) scale(0.98);
}
.hero h1 em {
  position: relative;
  display: inline-block;
}
.hero-underline {
  position: absolute;
  width: 95%;
  height: 20px;
  left: 2%;
  bottom: -9px;
  overflow: visible;
  color: #b96946;
}
.hero-underline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.motion-ready .hero-underline path {
  animation: draw-underline 1.4s var(--ease-out) 0.55s both;
}
.portrait-frame {
  border-radius: 34px;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transition:
    transform 700ms var(--ease-out),
    box-shadow 700ms var(--ease-out);
  box-shadow: 0 32px 56px -31px #66371c66;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(
    circle at var(--light-x, 50%) var(--light-y, 30%),
    #fff6da26,
    transparent 62%
  );
  opacity: 0;
  transition: opacity 600ms;
}
.motion-ready .portrait-frame:hover::after {
  opacity: 1;
}
.hero-portrait {
  transform: translate3d(var(--portrait-x, 0px), var(--portrait-y, 0px), 0)
    scale(1.04);
  transition: translate 800ms var(--ease-out);
}
.portrait-stamp {
  border-radius: 17px;
  box-shadow: 0 14px 28px -17px #1f29166b;
  animation: note-float 6s ease-in-out infinite;
  animation-play-state: paused;
}
.portrait-orbit {
  animation: orbit-turn 42s linear infinite;
  animation-play-state: paused;
}
.portrait-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0c298;
  left: 14%;
  top: 14%;
  box-shadow: 0 0 0 6px #f0c29824;
}
.scroll-cue > span {
  animation: scroll-nudge 2.6s ease-in-out infinite;
  animation-play-state: paused;
}
.hero-footnote a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-footnote a:hover {
  color: var(--rust);
}
.portrait-composition figcaption {
  padding-inline: 9px;
}

.discipline-strip {
  display: block;
  overflow: hidden;
  padding: 24px 0;
  background: #e9e8dd;
  border: 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.discipline-track {
  display: flex;
  width: max-content;
  animation: discipline-drift 36s linear infinite;
  animation-play-state: paused;
}
.discipline-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 44px;
  padding-right: 44px;
}
.discipline-group span {
  white-space: nowrap;
}
.discipline-group i {
  display: inline-block;
  margin: 0;
}
.motion-ready .discipline-strip:hover .discipline-track {
  animation-play-state: paused;
}

.project-surface {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -35px #2d342c55;
}
.project-copy {
  padding: 35px 40px;
}
.tags li,
.cloud-resources > span {
  border-radius: 999px;
}
.map-marker,
.map-compass {
  border-radius: 12px;
}
.terrain-visual svg {
  transform: translateY(var(--visual-y, 0px)) scale(1.14);
}
.map-pulses circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: map-beacon 3.6s ease-out infinite;
  animation-play-state: paused;
}
.map-pulses circle + circle {
  animation-delay: -1.8s;
}
.predict-node {
  border-radius: 22px;
}
.signal-bars i {
  border-radius: 6px 6px 2px 2px;
  transform-origin: center bottom;
  animation: signal-breathe 2.6s ease-in-out infinite;
  animation-play-state: paused;
}
.signal-bars i:nth-child(3n) {
  animation-delay: -0.8s;
}
.signal-bars i:nth-child(4n) {
  animation-delay: -1.7s;
}
.signal-bars i:nth-child(5n) {
  animation-delay: -2.3s;
}
.plant-visual img {
  border-radius: 18px;
  transition:
    transform 900ms var(--ease-out),
    box-shadow 700ms;
}
@media (hover: hover) and (pointer: fine) {
  .motion-ready .plant-visual:hover img {
    transform: rotate(0) scale(1.025);
    box-shadow: 0 24px 40px -22px #42523566;
  }
}
.project-krishi {
  background: #ede4cf;
}
.project-krishi .tags li {
  border-color: #bfb395;
}
.project-krishi .project-copy h3 + p {
  color: #655d4b;
}
.harvest-visual {
  background: #526340;
  display: grid;
  place-items: center;
  padding: 55px 28px;
  isolation: isolate;
}
.harvest-visual .diagram-top {
  color: #f9f8e8;
  z-index: 2;
}
.field-lines {
  position: absolute;
  inset: -70px -110px;
  display: flex;
  gap: 32px;
  transform: rotate(32deg) translateY(var(--visual-y, 0px));
  opacity: 0.7;
  z-index: -1;
}
.field-lines i {
  width: 64px;
  flex-shrink: 0;
  border: 1px solid #bbc19a77;
  border-radius: 150px;
  background: #85916530;
}
.harvest-phone {
  width: 213px;
  background: #f4f0de;
  border: 6px solid #36412e;
  outline: 1px solid #b6bc9850;
  border-radius: 31px;
  padding: 21px 17px 17px;
  color: #3b4631;
  transform: rotate(-7deg);
  box-shadow: 18px 30px 50px -18px #23301d9c;
  animation: phone-float 6s ease-in-out infinite;
  animation-play-state: paused;
}
.phone-speaker {
  position: absolute;
  width: 43px;
  height: 4px;
  border-radius: 4px;
  background: #36412e;
  top: 8px;
  left: calc(50% - 21px);
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 7px;
  letter-spacing: 0.07em;
}
.phone-top > span:first-child {
  font-size: 25px;
  letter-spacing: -0.08em;
  font-weight: 600;
}
.phone-top .location-dot {
  background: #69744f;
  width: 5px;
  height: 5px;
}
.phone-field {
  margin-block: 17px;
  padding: 18px;
  border-radius: 18px;
  background: #dfe3c8;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.phone-field > span:first-child {
  font-size: 29px;
  line-height: 1;
}
.phone-field > span:last-child {
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.phone-record {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 9px;
  line-height: 1.5;
  padding-block: 9px;
  border-bottom: 1px solid #d6d9c6;
}
.phone-record > span:first-child {
  display: grid;
  place-items: center;
  background: #e1e4d2;
  width: 25px;
  height: 25px;
  border-radius: 9px;
  font-size: 14px;
}
.phone-record small {
  font-size: 7px;
  display: block;
  color: #636d54;
}
.phone-sync {
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 15px;
}
.sync-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #687d41;
}
.harvest-note {
  position: absolute;
  bottom: 36px;
  right: 25px;
  border-radius: 16px;
  background: #ead8b3;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: rotate(5deg);
  box-shadow: 0 14px 22px -13px #28341d77;
  font-size: 10px;
  line-height: 1.6;
}
.harvest-note > span:first-child {
  font-size: 26px;
}

.about-section,
.research-section,
.contact-section {
  margin-inline: 16px;
  width: calc(100% - 32px);
  border-radius: 42px;
}
.archive-item > summary,
.experience-item > summary {
  border-radius: 16px;
  transition:
    background 350ms,
    padding 450ms var(--ease-out);
}
.archive-item > summary:hover,
.experience-item > summary:hover {
  background: #e6e5d959;
  padding-inline: 14px;
}
.archive-content > img {
  border-radius: 16px;
}
.award-note {
  border-radius: 22px;
}
.research-paper-link {
  font-size: 11px;
  margin-top: 20px;
}
.credential-more {
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.credential-more > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.credential-more ul {
  list-style: none;
  padding: 0;
  margin-block: 14px;
}
.credential-more li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.credential-more h3 {
  font-size: 14px;
  line-height: 1.4;
}
.credential-more p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.credential-more .text-link {
  font-size: 11px;
}
.contact-form {
  padding: 30px;
  border: 1px solid #535c45;
  background: #33372d;
  border-radius: 28px;
  align-self: start;
}
.form-field input,
.form-field textarea {
  padding: 13px 15px;
  background: #292e24;
  border: 1px solid #626d54;
  border-radius: 12px;
  transition:
    border-color 300ms,
    box-shadow 350ms,
    background 300ms;
}
.form-field label {
  margin-bottom: 9px;
}
.form-field input:focus,
.form-field textarea:focus {
  background: #2e3428;
  box-shadow: 0 0 0 4px #e0c6a510;
}
.more-links > div {
  border-radius: 16px;
  box-shadow: 0 12px 32px -16px #1f271b66;
}

/* Reveal once; content remains available without scripting or motion. */
.motion-ready.has-reveals .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 850ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 1s var(--ease-out) var(--reveal-delay, 0ms);
}
.motion-ready.has-reveals .reveal.is-revealed,
.motion-ready.has-reveals .reveal:focus-within {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.motion-dock {
  display: none;
}
.js-enabled .motion-dock {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  left: 22px;
  bottom: 22px;
  z-index: 59;
  padding: 10px 15px;
  border: 1px solid #cccebf;
  border-radius: 999px;
  background: #f6f4eaf5;
  color: #38402e;
  font-size: 10px;
  line-height: 1.4;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px -15px #232b1c80;
  transition: background 300ms;
}
.motion-dock::before {
  content: "Ⅱ";
  font-size: 11px;
  line-height: 1;
}
html[data-motion="off"] .motion-dock::before {
  content: "▷";
}
.motion-dock:hover {
  background: #e9ecd9;
}
.motion-dock:disabled {
  opacity: 0.8;
  cursor: default;
}
html:not(.js-enabled) .motion-toggle {
  display: none;
}

@keyframes draw-underline {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes note-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes phone-float {
  0%,
  100% {
    translate: 0 3px;
    rotate: 0deg;
  }
  50% {
    translate: 0 -8px;
    rotate: 2deg;
  }
}
@keyframes scroll-nudge {
  0%,
  100% {
    translate: 0 -3px;
  }
  50% {
    translate: 0 4px;
  }
}
@keyframes discipline-drift {
  to {
    transform: translateX(-50%);
  }
}
@keyframes signal-breathe {
  0%,
  100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes map-beacon {
  0% {
    transform: scale(0.65);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}
.motion-ready
  .is-in-view
  :is(
    .portrait-orbit,
    .portrait-stamp,
    .harvest-phone,
    .signal-bars i,
    .map-pulses circle,
    .scroll-cue > span,
    .discipline-track
  ) {
  animation-play-state: running;
}
html[data-page-hidden="true"] *,
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}
html[data-motion="off"] .portrait-frame {
  transform: none;
}
html[data-motion="off"] .hero-underline path {
  stroke-dashoffset: 0;
}
html[data-motion="off"] .reveal {
  opacity: 1;
  transform: none;
}
html[data-motion="off"] .button {
  translate: none !important;
}
html[data-motion="off"] .discipline-track {
  transform: none;
  width: 100%;
}
html[data-motion="off"] .discipline-group[aria-hidden] {
  display: none;
}
html[data-motion="off"] .discipline-group {
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 20px;
  padding-inline: 20px;
}
html:not(.js-enabled) .discipline-group[aria-hidden] {
  display: none;
}
html:not(.js-enabled) .discipline-track {
  width: 100%;
}
html:not(.js-enabled) .discipline-group {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-inline: 20px;
}

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 48px);
    padding-inline: 24px;
  }
  .primary-nav {
    gap: 23px;
  }
  .project-copy {
    padding: 28px;
  }
  .contact-form {
    padding: 25px;
  }
}
@media (max-width: 800px) {
  .site-header {
    width: calc(100% - 32px);
    min-height: 70px;
    height: auto;
    border-radius: 27px;
    top: 10px;
    margin-top: 12px;
    padding-inline: 22px;
  }
  .site-header .identity {
    min-height: 70px;
  }
  .primary-nav {
    gap: 5px 20px;
  }
  .project-copy {
    padding: 24px;
  }
  .about-section,
  .research-section,
  .contact-section {
    margin-inline: 10px;
    width: calc(100% - 20px);
    border-radius: 30px;
  }
  .harvest-phone {
    width: 195px;
  }
  .harvest-note {
    right: 13px;
    bottom: 28px;
    padding: 12px;
    font-size: 9px;
    gap: 10px;
  }
  .contact-form {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 24px);
    padding-inline: 16px;
    min-height: 64px;
    border-radius: 25px;
  }
  .site-header .identity {
    min-height: 64px;
  }
  .primary-nav {
    gap: 3px 23px;
  }
  .hero {
    padding-top: 33px;
  }
  .hero-underline {
    bottom: -8px;
    height: 14px;
  }
  .portrait-frame {
    border-radius: 27px;
  }
  .portrait-stamp {
    border-radius: 14px;
  }
  .portrait-composition figcaption {
    padding-inline: 3px;
  }
  .discipline-strip {
    padding: 21px 0;
    text-align: left;
  }
  .discipline-group {
    gap: 28px;
    padding-right: 28px;
  }
  .discipline-group i:nth-of-type(2) {
    display: inline-block;
  }
  .discipline-group span:nth-of-type(3) {
    grid-column: auto;
  }
  .discipline-group span {
    font-size: 13px;
  }
  .discipline-group i {
    font-size: 21px;
  }
  .project-surface {
    border-radius: 23px;
  }
  .project-copy {
    padding: 25px;
    min-height: 390px;
  }
  .harvest-visual {
    min-height: 425px;
    padding-block: 55px 47px;
  }
  .harvest-note {
    right: 18px;
    bottom: 28px;
  }
  .about-section,
  .research-section,
  .contact-section {
    margin-inline: 8px;
    width: calc(100% - 16px);
    border-radius: 28px;
  }
  .about-section > .page-width,
  .research-section > .page-width,
  .contact-section > .page-width {
    padding-inline: calc(var(--gutter) - 3px);
  }
  .contact-grid {
    gap: 36px;
  }
  .contact-form {
    padding: 21px;
    border-radius: 23px;
  }
  .form-field input,
  .form-field textarea {
    padding-inline: 11px;
  }
  .js-enabled .motion-dock {
    left: 12px;
    bottom: 12px;
    padding: 8px 11px;
    font-size: 9px;
  }
  .footer-bottom {
    padding-bottom: 33px;
  }
  .archive-item > summary:hover,
  .experience-item > summary:hover {
    padding-inline: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-frame,
  .reveal {
    transform: none !important;
  }
  .hero-underline path {
    stroke-dashoffset: 0;
  }
  .button {
    translate: none !important;
  }
  .discipline-track {
    transform: none !important;
    width: 100%;
  }
  .discipline-group[aria-hidden] {
    display: none;
  }
  .discipline-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
    padding-inline: 20px;
  }
}
@media print {
  .motion-dock {
    display: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .discipline-strip {
    display: none;
  }
  .portrait-frame {
    transform: none !important;
    box-shadow: none;
  }
  .about-section,
  .research-section,
  .contact-section {
    width: 100%;
    margin: 0;
  }
}

/* A browsable collection of real product work. */
.product-collection {
  margin-top: 100px;
  scroll-margin-top: 130px;
}
.product-collection .split-section-heading {
  align-items: end;
}
.product-collection h3 {
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.1;
  margin-top: 16px;
}
.product-collection h3 em {
  font-family: var(--serif);
  font-weight: 400;
}
.product-collection .split-section-heading > p {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.8;
}
.project-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 38px 0 24px;
}
.project-filter-bar[hidden] {
  display: none;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-filters button {
  border: 1px solid #d4d7ca;
  background: transparent;
  color: #425345;
  border-radius: 100px;
  padding: 10px 17px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.project-filters button:hover {
  background: #e3e7db;
  border-color: #6c7b67;
}
.project-filters button[aria-pressed="true"] {
  background: #233d2c;
  color: #fffdf6;
  border-color: #233d2c;
}
.filter-result {
  font-size: 11px;
  white-space: nowrap;
  color: #52624e;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}
.product-card {
  background: #fafaf3;
  border: 1px solid #daddcf;
  border-radius: 28px;
  overflow: clip;
  scroll-margin-top: 120px;
}
.product-card[hidden] {
  display: none !important;
}
.product-brand {
  min-height: 153px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 32px;
  border-bottom: 1px solid #daddcf;
  background: #ecefe6;
}
.product-brand img {
  width: 130px;
  height: 104px;
  object-fit: contain;
}
.product-brand .eyebrow {
  color: #4c5848;
  font-size: 8px;
  line-height: 1.8;
  text-align: right;
  max-width: 115px;
}
.product-online-class-nepal .product-brand {
  background: #fff;
}
.product-online-class-nepal .product-brand img {
  width: 205px;
  max-width: 61%;
}
.product-edulead .product-brand {
  background: #eaeef1;
}
.product-edulead .product-brand img {
  width: 170px;
}
.product-cake-mantra .product-brand {
  background: #f4e9e4;
}
.product-cake-mantra .product-brand img {
  width: 104px;
}
.product-swostha-nepal .product-brand {
  background: #f0f2e5;
}
.product-swostha-nepal .product-brand img {
  width: 110px;
}
.product-vidyaconnect .product-brand {
  background: #ece5d6;
}
.product-cosmos .product-brand {
  background: #dfe9e0;
}
.product-wordmark {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  color: #244832;
}
.product-body {
  padding: 31px 32px 30px;
}
.product-body h4 {
  font-size: 25px;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin: 0 0 11px;
}
.product-body .product-subtitle {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  color: #405d48;
  margin: 0 0 18px;
}
.product-body > p:not(.product-subtitle) {
  font-size: 13px;
  line-height: 1.85;
  color: #4e5a4c;
  max-width: 48ch;
}
.product-body > .text-link {
  font-size: 12px;
  margin-top: 23px;
  display: inline-flex;
}
.product-details {
  border-top: 1px solid #daddcf;
  border-bottom: 1px solid #daddcf;
  margin-top: 25px;
}
.product-details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #29432d;
}
.product-details summary::-webkit-details-marker {
  display: none;
}
.product-details summary span {
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s;
}
.product-details[open] summary span {
  transform: rotate(45deg);
}
.product-details ul {
  margin: 0 0 15px;
  padding-left: 17px;
  font-size: 12px;
  line-height: 1.8;
  color: #4e5a4c;
}
.product-details li + li {
  margin-top: 9px;
}
.product-details .product-stack {
  font-size: 10px;
  line-height: 1.7;
  color: #53644c;
  border-top: 1px dashed #c6cebf;
  padding-block: 14px 18px;
  margin: 0;
}
.team-recognition {
  margin-top: 16px;
}
@media (max-width: 900px) {
  .product-brand {
    padding: 22px;
    gap: 14px;
  }
  .product-brand .eyebrow {
    font-size: 7px;
  }
  .product-body {
    padding: 25px;
  }
  .product-wordmark {
    font-size: 29px;
  }
}
@media (max-width: 600px) {
  .product-collection {
    margin-top: 60px;
  }
  .product-collection h3 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }
  .project-filter-bar {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }
  .project-filters {
    gap: 7px;
  }
  .project-filters button {
    padding: 10px 13px;
    font-size: 11px;
    min-height: 40px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-brand {
    min-height: 143px;
    padding: 20px 25px;
  }
  .product-brand .eyebrow {
    font-size: 8px;
  }
  .product-body h4 {
    font-size: 24px;
  }
  .product-body > p:not(.product-subtitle) {
    font-size: 12px;
  }
  .product-card {
    border-radius: 24px;
  }
  .product-body > .text-link {
    min-height: 32px;
  }
}
