:root {
  --paper: #f3efe5;
  --paper-deep: #e5dfd1;
  --ink: #171611;
  --ink-soft: #48453e;
  --line: rgba(23, 22, 17, 0.18);
  --line-light: rgba(243, 239, 229, 0.2);
  --orange: #ff5738;
  --orange-dark: #dc3f24;
  --acid: #f5ff63;
  --green: #114f3e;
  --green-light: #2a7260;
  --blue: #2c50e8;
  --white: #fffdf8;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --page-pad: clamp(24px, 5vw, 84px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transition: top 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 999;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.section-pad {
  padding-inline: var(--page-pad);
  max-width: 1600px;
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(243, 239, 229, 0.91);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.wordmark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 46px);
  font-size: 13px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 13px;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
  transition:
    transform 0.3s ease,
    top 0.3s ease;
}

.menu-icon {
  position: relative;
  top: 3px;
}

.menu-icon::before {
  position: absolute;
  top: -7px;
}

.menu-open .menu-icon {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-icon::before {
  top: 0;
  transform: rotate(-90deg);
}

.hero {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.hero-copy {
  padding-top: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 34px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow-line {
  width: 42px;
  height: 1px;
  background: var(--ink);
}

.hero h1 {
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(58px, 7.6vw, 126px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero-accent {
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
  color: var(--orange);
  font-style: italic;
  font-weight: 500;
}

.hero-accent::after {
  position: absolute;
  right: 0.02em;
  bottom: 0;
  left: 0.1em;
  height: 0.11em;
  background: var(--acid);
  content: "";
  transform: rotate(-2deg);
  z-index: -1;
}

.hero-underline {
  white-space: nowrap;
  border-bottom: 0.08em solid var(--ink);
}

.hero-intro {
  max-width: 610px;
  margin-top: 42px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 188px;
  padding: 15px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.3s var(--ease),
    background 0.3s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.hero-portrait-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 490px);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  background: var(--orange);
  box-shadow: 20px 22px 0 var(--acid);
  transform: rotate(1.2deg);
}

.hero-portrait::before {
  position: absolute;
  inset: 16px 16px auto;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  content: "RESEARCHER / STRATEGIST";
}

.portrait-index {
  position: absolute;
  top: 52px;
  right: 14px;
  z-index: 2;
  color: var(--white);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.88) contrast(0.98);
  mix-blend-mode: multiply;
}

.hero-portrait figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 15px;
  background: var(--orange);
  color: var(--white);
}

.hero-portrait figcaption span:first-child {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-portrait figcaption span:last-child {
  max-width: 150px;
  font-size: 9px;
  line-height: 1.5;
  text-align: right;
}

.hero-sticker {
  position: absolute;
  right: -30px;
  bottom: 73px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  text-align: center;
  transform: rotate(9deg);
}

.hero-sticker span {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.hero-sticker small {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-note {
  position: absolute;
  bottom: 6px;
  left: -100px;
  z-index: 4;
  padding: 15px 18px 15px 48px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  transform: rotate(-3deg);
}

.hero-note-mark {
  position: absolute;
  top: 1px;
  left: 14px;
  color: var(--orange);
  font-size: 46px;
}

.hero-orbit {
  position: absolute;
  top: -69px;
  left: -61px;
  z-index: 0;
  width: 510px;
  height: 510px;
  border: 1px dashed rgba(23, 22, 17, 0.33);
  border-radius: 50%;
  animation: spin 44s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.hero-orbit::before {
  top: 42px;
  right: 70px;
}

.hero-orbit::after {
  bottom: 62px;
  left: 43px;
  background: var(--orange);
}

.hero-orbit span {
  position: absolute;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-orbit span:nth-child(1) {
  top: -5px;
  left: 50%;
}

.hero-orbit span:nth-child(2) {
  right: -16px;
  bottom: 28%;
  transform: rotate(90deg);
}

.hero-orbit span:nth-child(3) {
  bottom: 2px;
  left: 22%;
}

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

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(74px, 9vw, 128px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 29px 25px 28px 0;
  border-right: 1px solid var(--line);
}

.metric:not(:first-child) {
  padding-left: 27px;
}

.metric:last-child {
  border-right: 0;
}

.metric-value {
  display: flex;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: clamp(38px, 3.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.metric-value span:not(.count) {
  margin-top: 3px;
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.metric-value .plus {
  margin: 1px 1px 0 0;
  color: var(--orange);
  font-size: 28px;
}

.metric-label {
  max-width: 220px;
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.about {
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: clamp(100px, 12vw, 180px);
  background: var(--paper-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 110px);
}

.section-kicker {
  padding-top: 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 150px);
}

.about-statement {
  align-self: start;
  max-width: 570px;
}

.about-statement p {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.about-statement .about-lead {
  margin-bottom: 36px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.55;
}

.about-lead span {
  padding: 0 0.15em;
  background: linear-gradient(transparent 61%, var(--acid) 61%);
}

.principle-list {
  border-top: 1px solid var(--ink);
}

.principle {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 120px;
  gap: 22px;
  min-height: 180px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.principle-number {
  display: grid;
  place-items: center;
  align-self: start;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.principle h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.principle p {
  max-width: 530px;
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.principle-word {
  align-self: end;
  color: rgba(23, 22, 17, 0.12);
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 0.8;
  text-align: right;
}

.mt-banner {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(60px, 7vw, 100px);
  padding: 26px 30px;
  background: var(--ink);
  color: var(--paper);
}

.mt-label {
  color: var(--acid);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mt-banner p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.6;
}

.mt-banner strong {
  color: var(--acid);
  font-weight: 500;
}

.mt-banner a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.46);
  color: rgba(243, 239, 229, 0.72);
  font-size: 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.edge {
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px 38px;
  align-items: start;
  margin-top: clamp(60px, 7vw, 100px);
  padding: 30px 32px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.edge-label {
  color: var(--orange);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.edge p {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

.edge ul {
  display: grid;
  gap: 12px;
  list-style: none;
}

.edge li {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.6;
}

.edge li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 12px;
}

.experience {
  max-width: none;
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
  background: var(--ink);
  color: var(--paper);
}

.experience > * {
  max-width: 1432px;
  margin-inline: auto;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading-row .section-kicker {
  margin-bottom: 32px;
}

.section-aside {
  max-width: 280px;
  padding-bottom: 12px;
  color: rgba(243, 239, 229, 0.58);
  font-size: 12px;
  line-height: 1.8;
}

.experience-list {
  border-top: 1px solid var(--line-light);
}

.role {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(220px, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(24px, 4vw, 70px);
  padding: 46px 0 51px;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.35s ease;
}

.role:hover {
  background: rgba(255, 255, 255, 0.025);
}

.role-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(243, 239, 229, 0.53);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.role-meta span:first-child {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.role-title p {
  margin-bottom: 14px;
  color: rgba(243, 239, 229, 0.57);
  font-size: 11px;
  font-weight: 600;
}

.role-title h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 45px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.role-title > span {
  color: rgba(243, 239, 229, 0.68);
  font-size: 12px;
}

.role-summary {
  max-width: 650px;
  color: rgba(243, 239, 229, 0.84);
  font-size: 14px;
  line-height: 1.8;
}

.role-details ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  list-style: none;
}

.role-details li {
  position: relative;
  padding-left: 18px;
  color: rgba(243, 239, 229, 0.58);
  font-size: 11.5px;
  line-height: 1.75;
}

.role-details li::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.role-tag {
  position: absolute;
  top: 48px;
  right: 0;
  color: var(--acid);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.case {
  background: var(--paper);
}

.case-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(48px, 6vw, 90px);
}

.case-intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.case-intro .section-kicker {
  margin-bottom: 32px;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 9px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-align: right;
}

.case-meta span:first-child {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.case-poster {
  position: relative;
  min-height: clamp(470px, 56vw, 760px);
  margin-inline: var(--page-pad);
  padding: clamp(42px, 7vw, 100px);
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
}

.case-poster::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(243, 239, 229, 0.22);
  content: "";
  pointer-events: none;
}

.poster-type {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.poster-type > p:first-child {
  margin-bottom: clamp(25px, 5vw, 58px);
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.poster-type h3 {
  font-family: var(--serif);
  font-size: clamp(66px, 8.2vw, 132px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.96;
}

.poster-type .poster-caption {
  max-width: 480px;
  margin-top: clamp(32px, 4vw, 56px);
  color: rgba(243, 239, 229, 0.64);
  font-size: 12px;
  line-height: 1.85;
}

.poster-shape {
  position: absolute;
  right: -4%;
  bottom: -16%;
  width: min(57vw, 750px);
  aspect-ratio: 1;
}

.shape-circle {
  position: absolute;
  border-radius: 50%;
}

.shape-circle-1 {
  inset: 17% 6% 12% 17%;
  z-index: 1;
  background: var(--orange);
}

.shape-circle-1::before,
.shape-circle-1::after {
  position: absolute;
  top: 34%;
  width: 15%;
  aspect-ratio: 0.65;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.shape-circle-1::before {
  left: 26%;
}

.shape-circle-1::after {
  right: 26%;
}

.shape-circle-2 {
  top: 1%;
  right: 1%;
  z-index: 2;
  width: 42%;
  background: var(--acid);
}

.shape-circle-3 {
  right: 66%;
  bottom: 2%;
  z-index: 0;
  width: 39%;
  background: var(--blue);
}

.shape-word {
  position: absolute;
  right: 1%;
  bottom: 13%;
  z-index: 3;
  color: var(--ink);
  font-size: clamp(30px, 4.5vw, 75px);
  font-weight: 900;
  letter-spacing: -0.06em;
  transform: rotate(-14deg);
}

.poster-side-label {
  position: absolute;
  top: 50%;
  right: 31px;
  z-index: 4;
  display: flex;
  gap: 24px;
  color: rgba(243, 239, 229, 0.46);
  font-size: 7px;
  letter-spacing: 0.16em;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.case-body {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(55px, 10vw, 160px);
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(75px, 8vw, 110px);
}

.case-label {
  margin-bottom: 27px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.case-brief h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.case-brief > p:last-child {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-step {
  min-height: 220px;
  padding: 28px;
  background: var(--paper);
}

.case-step > span {
  display: inline-block;
  margin-bottom: 35px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 20px;
}

.case-step h4 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.case-step p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-card {
  position: relative;
  grid-column: span 5;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-card-wide {
  grid-column: span 7;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition:
    transform 0.8s var(--ease),
    opacity 0.4s ease;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 54%, rgba(0, 0, 0, 0.74));
  content: "";
  pointer-events: none;
}

.gallery-card:hover img {
  transform: scale(1.035);
  opacity: 0.85;
}

.gallery-copy {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: end;
  color: var(--white);
  text-align: left;
}

.gallery-copy small {
  align-self: center;
  color: var(--acid);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-copy strong {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 500;
}

.gallery-copy > span {
  font-size: 23px;
}

.case-outcome {
  padding-top: clamp(90px, 10vw, 140px);
  padding-bottom: clamp(100px, 12vw, 170px);
  text-align: center;
}

.case-outcome > p:first-child {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.outcome-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
}

.outcome-flow span {
  font-family: var(--serif);
  font-size: clamp(22px, 2.9vw, 45px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.outcome-flow i {
  color: var(--orange);
  font-style: normal;
}

.case-note {
  max-width: 620px;
  margin: 38px auto 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.toolkit {
  max-width: none;
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: 0;
  background: var(--paper-deep);
}

.toolkit > * {
  max-width: 1432px;
  margin-inline: auto;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tool-cluster {
  min-height: 270px;
  padding: 28px 24px 32px;
  background: var(--paper-deep);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 55px;
  border-radius: 50%;
  background: var(--acid);
  font-family: var(--serif);
  font-size: 12px;
}

.tool-cluster:nth-child(2) .tool-icon {
  background: var(--orange);
  color: var(--white);
}

.tool-cluster:nth-child(3) .tool-icon {
  background: var(--green);
  color: var(--white);
}

.tool-cluster:nth-child(4) .tool-icon {
  background: var(--blue);
  color: var(--white);
}

.tool-cluster:nth-child(5) .tool-icon {
  background: var(--orange);
  color: var(--white);
}

.tool-cluster:nth-child(6) .tool-icon {
  background: var(--green);
  color: var(--white);
}

.tool-cluster h3 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.tool-cluster p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.9;
}

.education {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 9vw, 150px);
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.education-heading {
  align-self: start;
}

.education-heading .section-kicker {
  margin-bottom: 28px;
}

.education-heading h2 {
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.education-list {
  border-top: 1px solid var(--ink);
}

.education-item {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 30px;
  padding: 29px 0 31px;
  border-bottom: 1px solid var(--line);
}

.education-item > span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.education-item h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.education-item p {
  font-size: 13px;
}

.education-item small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.7;
}

.resume {
  padding-top: clamp(90px, 10vw, 140px);
  padding-bottom: clamp(90px, 10vw, 140px);
  background: var(--paper);
}

.resume-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(35px, 6vw, 100px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.resume .section-kicker {
  color: var(--acid);
}

.resume-card h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.resume-card .resume-copy > p:last-child {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(243, 239, 229, 0.62);
  font-size: 12px;
  line-height: 1.8;
}

.resume-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.button-outline {
  border: 1px solid rgba(243, 239, 229, 0.62);
  color: var(--paper);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.contact {
  position: relative;
  background: var(--orange);
  color: var(--ink);
  overflow: hidden;
}

.contact-inner {
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(80px, 9vw, 120px);
}

.contact .section-kicker {
  margin-bottom: 44px;
}

.contact h2 {
  max-width: 1100px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.contact-mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(50px, 6vw, 86px);
  padding: 20px 0;
  border-top: 1px solid rgba(23, 22, 17, 0.4);
  border-bottom: 1px solid rgba(23, 22, 17, 0.4);
  font-family: var(--serif);
  font-size: clamp(21px, 3vw, 45px);
}

.contact-arrow {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 25px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.4s var(--ease);
}

.contact-mail:hover .contact-arrow {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(45deg);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin-top: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-marquee {
  display: flex;
  width: max-content;
  border-top: 1px solid var(--ink);
  background: var(--acid);
  animation: marquee 24s linear infinite;
}

.contact-marquee span {
  display: block;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--page-pad);
  background: var(--ink);
  color: rgba(243, 239, 229, 0.65);
  font-size: 10px;
}

.site-footer .wordmark,
.site-footer a:last-child {
  color: var(--paper);
}

.image-dialog {
  width: min(94vw, 1440px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.image-dialog::backdrop {
  background: rgba(10, 10, 8, 0.9);
  backdrop-filter: blur(8px);
}

.image-dialog img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  top: -45px;
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-step:nth-child(2),
.tool-cluster:nth-child(2),
.education-item:nth-child(2) {
  transition-delay: 0.08s;
}

.case-step:nth-child(3),
.tool-cluster:nth-child(3),
.education-item:nth-child(3) {
  transition-delay: 0.16s;
}

.case-step:nth-child(4),
.tool-cluster:nth-child(4) {
  transition-delay: 0.24s;
}

.education-item:nth-child(4) {
  transition-delay: 0.16s;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.7fr);
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(55px, 7.5vw, 90px);
  }

  .hero-note {
    left: -55px;
  }

  .hero-portrait figcaption span:first-child {
    font-size: 23px;
  }

  .role {
    grid-template-columns: 110px minmax(210px, 0.8fr) minmax(300px, 1.2fr);
  }

  .tool-cluster {
    padding-inline: 20px;
  }
}

@media (max-width: 960px) {
  :root {
    --page-pad: clamp(22px, 4vw, 42px);
  }

  .site-header {
    height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 100px var(--page-pad) 50px;
    background: var(--acid);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(35px, 7vw, 58px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.15;
  }

  .nav-contact {
    margin-top: 14px;
    padding: 10px 20px;
    font-family: var(--sans) !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(58px, 10vw, 98px);
  }

  .hero-intro {
    max-width: 600px;
  }

  .hero-portrait-wrap {
    justify-self: center;
    width: min(82vw, 500px);
  }

  .hero-orbit {
    left: -15%;
  }

  .hero-note {
    left: -40px;
    bottom: 24px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(3) {
    padding-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-kicker {
    padding-top: 0;
  }

  .about-layout,
  .case-body,
  .education {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .about-statement {
    max-width: 720px;
  }

  .edge {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mt-banner {
    grid-template-columns: 135px 1fr;
  }

  .mt-banner a {
    grid-column: 2;
    justify-self: start;
  }

  .role {
    grid-template-columns: 105px 1fr;
    gap: 24px 35px;
  }

  .role-details {
    grid-column: 2;
  }

  .role-tag {
    top: 48px;
  }

  .case-poster {
    min-height: 650px;
  }

  .poster-shape {
    right: -9%;
    bottom: -12%;
    width: 70vw;
  }

  .toolkit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-cluster {
    min-height: 240px;
  }

  .resume-card {
    grid-template-columns: 1fr;
  }

  .resume-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad: 20px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-header.scrolled {
    backdrop-filter: blur(12px);
  }

  .wordmark {
    font-size: 10px;
  }

  .hero {
    padding-top: 112px;
  }

  .eyebrow {
    gap: 8px;
    margin-bottom: 27px;
    font-size: 8px;
  }

  .eyebrow-line {
    width: 25px;
  }

  .hero h1 {
    font-size: clamp(50px, 16.2vw, 74px);
    line-height: 0.97;
  }

  .hero-intro {
    margin-top: 29px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 29px;
  }

  .hero-grid {
    gap: 62px;
  }

  .hero-portrait-wrap {
    width: calc(100% - 25px);
  }

  .hero-portrait {
    box-shadow: 12px 14px 0 var(--acid);
  }

  .hero-portrait::before {
    inset: 10px 10px auto;
    height: 22px;
    font-size: 6px;
  }

  .portrait-index {
    top: 40px;
    right: 8px;
    font-size: 6px;
  }

  .hero-portrait figcaption {
    padding: 10px 12px;
  }

  .hero-portrait figcaption span:first-child {
    font-size: 20px;
  }

  .hero-portrait figcaption span:last-child {
    max-width: 120px;
    font-size: 7px;
  }

  .hero-sticker {
    right: -15px;
    bottom: 57px;
    width: 100px;
    height: 100px;
    padding: 13px;
  }

  .hero-sticker span {
    font-size: 30px;
  }

  .hero-sticker small {
    font-size: 7px;
  }

  .hero-note {
    bottom: -35px;
    left: -12px;
    padding: 9px 12px 9px 38px;
    font-size: 11px;
  }

  .hero-note-mark {
    left: 10px;
    font-size: 38px;
  }

  .hero-orbit {
    top: -28px;
    left: -18%;
    width: 135%;
    height: auto;
    aspect-ratio: 1;
  }

  .metric-strip {
    margin-top: 90px;
  }

  .metric {
    min-height: 125px;
    padding: 22px 12px 22px 0;
  }

  .metric:not(:first-child) {
    padding-left: 15px;
  }

  .metric-value {
    font-size: 39px;
  }

  .metric-label {
    font-size: 9px;
  }

  .about,
  .experience,
  .toolkit {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .section-heading h2 {
    font-size: clamp(37px, 10.2vw, 56px);
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-aside {
    padding: 0;
  }

  .about-statement .about-lead {
    font-size: 24px;
  }

  .mt-banner {
    display: block;
    margin-top: 54px;
    padding: 24px 20px;
  }

  .mt-label {
    display: block;
    margin-bottom: 14px;
  }

  .mt-banner p {
    font-size: 18px;
  }

  .mt-banner a {
    margin-top: 22px;
  }

  .principle {
    grid-template-columns: 31px 1fr;
    gap: 15px;
    min-height: 0;
    padding: 24px 0 30px;
  }

  .principle-word {
    position: absolute;
    right: 0;
    bottom: 16px;
    font-size: 40px;
  }

  .principle h3 {
    font-size: 23px;
  }

  .principle p {
    padding-right: 5px;
  }

  .experience > * {
    max-width: none;
  }

  .role {
    display: block;
    padding: 35px 0 42px;
  }

  .role-meta {
    flex-direction: row;
    margin-bottom: 28px;
  }

  .role-meta span:first-child {
    font-size: 23px;
  }

  .role-title h3 {
    font-size: 31px;
  }

  .role-details {
    margin-top: 35px;
  }

  .role-tag {
    top: 38px;
  }

  .case-intro {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 86px;
    padding-bottom: 45px;
  }

  .case-intro .section-heading {
    margin-bottom: 0;
  }

  .case-meta {
    align-items: flex-start;
    text-align: left;
  }

  .case-poster {
    min-height: 590px;
    margin-inline: 12px;
    padding: 50px 25px;
  }

  .case-poster::before {
    inset: 12px;
  }

  .poster-type {
    max-width: calc(100% - 10px);
  }

  .poster-type h3 {
    font-size: clamp(55px, 17vw, 82px);
  }

  .poster-type .poster-caption {
    max-width: 78%;
    font-size: 10px;
  }

  .poster-shape {
    right: -17%;
    bottom: -1%;
    width: 105vw;
  }

  .poster-side-label {
    display: none;
  }

  .case-body {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .case-steps {
    grid-template-columns: 1fr;
  }

  .case-step {
    min-height: 0;
    padding: 25px;
  }

  .case-step > span {
    margin-bottom: 25px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .gallery-card,
  .gallery-card-wide {
    grid-column: auto;
  }

  .gallery-copy {
    right: 14px;
    bottom: 13px;
    left: 15px;
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
  }

  .gallery-copy small {
    grid-column: 1 / -1;
  }

  .gallery-copy strong {
    font-size: 16px;
  }

  .case-outcome {
    padding-top: 78px;
    padding-bottom: 90px;
  }

  .outcome-flow {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .outcome-flow i {
    transform: rotate(90deg);
  }

  .outcome-flow span {
    font-size: 27px;
  }

  .toolkit {
    padding-bottom: 0;
  }

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

  .tool-cluster {
    min-height: 0;
    padding: 24px 20px 28px;
  }

  .tool-icon {
    margin-bottom: 28px;
  }

  .edge {
    margin-top: 54px;
    padding: 24px 20px;
  }

  .resume-card {
    padding: 32px 22px;
  }

  .resume {
    padding-top: 76px;
    padding-bottom: 76px;
  }

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

  .resume-actions .button {
    width: 100%;
  }

  .education {
    gap: 55px;
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .education-heading h2 {
    font-size: 45px;
  }

  .education-item {
    display: block;
    padding: 24px 0;
  }

  .education-item > span {
    display: block;
    margin-bottom: 14px;
  }

  .contact-inner {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .contact h2 {
    font-size: clamp(39px, 10.8vw, 64px);
    line-height: 1.04;
  }

  .contact-mail {
    gap: 15px;
    margin-top: 48px;
    font-size: 20px;
  }

  .contact-arrow {
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
  }

  .contact-meta {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .site-footer p {
    order: 3;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
