@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
:root {
  --bg: #101714;
  --panel: #18211c;
  --panel2: #1d2921;
  --text: #f1f3eb;
  --muted: #a6b1a6;
  --line: #354238;
  --accent: #cdfa87;
  --paper: #f0f1e9;
  --dark: #17241c;
  --pad: 76.8px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.75 'Pretendard',
    sans-serif;
  word-break: keep-all;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
input {
  accent-color: #89a956;
}
p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}
p {
  color: var(--muted);
}
h1,
h2,
h3,
h4 {
  line-height: 1.4;
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(28px, 41.6px, 48px);
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 24px;
  font-weight: 600;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
}
input[type='checkbox'] {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  margin-right: 5px;
}
input[type='range'] {
  width: 100%;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 20;
  background: var(--accent);
  color: var(--dark);
  padding: 12px 20px;
}
.skip:focus {
  top: 10px;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  z-index: 11;
}
.site-header {
  height: 80px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #344034;
  background: #101714f2;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.logo > span:first-child {
  color: var(--accent);
  font-size: 33px;
  vertical-align: middle;
  margin-right: 7px;
}
.logo-period {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  color: #bac3b7;
}
.site-header nav a {
  padding: 8px 0;
  position: relative;
}
.site-header nav a:after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--accent);
  bottom: 0;
  left: 0;
  right: 100%;
  transition: right 0.2s;
}
.site-header nav a:hover:after,
.site-header nav a.active:after {
  right: 0;
}
.site-header nav a.active {
  color: var(--accent);
}
.header-contact {
  font-size: 11px;
  border: 1px solid #53634d;
  padding: 8px 17px;
  border-radius: 30px;
}
.header-contact:hover {
  background: #24321f;
}
.hero {
  padding: 35px var(--pad) 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 79% 49%, #2b41252b, transparent 50%);
}
.eyebrow,
.section-aside,
.hero-bottom,
.map-coordinate,
.map-info > span,
.motion-toggle,
.case-kicker,
.case-meta dt {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 600;
}
.eyebrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
.eyebrow i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12.8px;
  min-height: 560px;
  align-items: center;
}
.hero-copy {
  padding: 45px 0 55px;
  position: relative;
  z-index: 2;
}
.student-tag {
  font-size: 11px;
  color: #b4c1ad;
  margin-bottom: 25px;
  display: inline-block;
  border-bottom: 1px solid #43533c;
  padding-bottom: 9px;
}
.hero h1 {
  font-size: clamp(36px, 57.6px, 68px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.38;
  margin: 0 0 28px;
  white-space: nowrap;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--accent);
  color: #1b2915;
}
.primary:hover {
  background: #deffaf;
}
.text-link {
  font-size: 11px;
  color: #c4cfbf;
}
.text-link span {
  margin-left: 14px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: #879880;
  font-size: 8px;
}
.hero-bottom a {
  color: #b8c6ac;
}
.orbital-map {
  height: 470px;
  position: relative;
  margin-top: -20px;
  isolation: isolate;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#91ae7109 1px, transparent 1px),
    linear-gradient(90deg, #91ae7109 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, black, transparent 72%);
}
.planet {
  position: absolute;
  width: 235px;
  height: 235px;
  left: calc(50% - 117px);
  top: 86px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 25%,
    #deebc7,
    #92ab76 21%,
    #4c6b48 43%,
    #263e2a 61%,
    #102015 78%
  );
  box-shadow:
    inset -20px -12px 25px #09140d,
    0 0 60px #b3e28c0a;
  transform: rotate(-20deg);
}
.planet:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.15;
  background: repeating-radial-gradient(
    ellipse at 0 0,
    transparent 0 3px,
    #19351a 4px,
    transparent 7px
  );
}
.orbit {
  position: absolute;
  left: 2%;
  top: 95px;
  width: 96%;
  height: 190px;
  border: 1px solid #87a67666;
  border-radius: 50%;
  transform: rotate(-33deg);
}
.orbit:after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 22%;
  top: 5%;
  box-shadow: 0 0 16px #caff7a88;
}
.orbit-one {
  animation: orbit-turn 32s linear infinite;
}
.orbit-two {
  left: 19%;
  top: 28px;
  width: 64%;
  height: 330px;
  border-color: #66825255;
  transform: rotate(30deg);
  border-style: dashed;
}
.orbit-two:after {
  display: none;
}
@keyframes orbit-turn {
  to {
    transform: rotate(327deg);
  }
}
.paused .orbit {
  animation-play-state: paused;
}
.map-coordinate {
  position: absolute;
  top: 0;
  right: 0;
  color: #6f8863;
  font-size: 8px;
}
.orbit-node {
  display: flex;
  align-items: center;
  gap: 7px;
  position: absolute;
  background: #142118e8;
  padding: 8px 11px;
  border: 1px solid #60764e;
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 1px;
  z-index: 3;
  transition:
    background 0.2s,
    transform 0.2s;
}
.orbit-node > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b0ca88;
}
.orbit-node > span {
  font-size: 7px;
  color: #88a570;
  margin-left: 8px;
}
.orbit-node:hover,
.orbit-node[aria-pressed='true'] {
  background: #c7ef93;
  color: #1e3019;
  transform: translateY(-3px);
}
.orbit-node[aria-pressed='true'] i {
  background: #2c4922;
}
.orbit-node[aria-pressed='true'] > span {
  color: #425b2b;
}
.node-one {
  left: 3%;
  top: 113px;
}
.node-two {
  right: -3%;
  top: 188px;
}
.node-three {
  left: 18%;
  top: 302px;
}
.map-info {
  position: absolute;
  left: 8%;
  right: 0;
  bottom: 0;
  min-height: 82px;
}
.map-info > span {
  font-size: 8px;
  color: #86a66b;
  display: block;
  margin-bottom: 6px;
}
.map-info strong {
  font-size: 13px;
  font-weight: 500;
}
.map-info p {
  font-size: 10px;
  margin: 5px 0 0;
  color: #8ca07e;
}
.motion-toggle {
  position: absolute;
  right: 0;
  bottom: 95px;
  color: #9aaf8a;
  font-size: 8px;
  letter-spacing: 0.5px;
  padding: 7px;
}
.section {
  padding: 76px var(--pad) 85px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-bottom: 45px;
  gap: 15px;
}
.section-aside {
  font-size: 10px;
  color: #899a85;
  letter-spacing: 0.4px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 45px;
}
.section-heading h2 span {
  color: #9aab92;
}
.section-heading > p {
  font-size: 12px;
  line-height: 1.95;
  margin: 0;
  max-width: 360px;
}
dt {
  color: #adc899;
  font-size: 10px;
}
dd {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 23px 0;
}
.tags span {
  padding: 4px 10px;
  border: 1px solid #425239;
  border-radius: 3px;
  font-size: 9px;
  color: #adc09f;
}
details {
  border-top: 1px solid #cbd3c1;
  padding-top: 14px;
  margin-top: 20px;
}
summary {
  font-size: 11px;
  cursor: pointer;
  color: #4d663a;
}
details p {
  margin: 14px 0 10px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.about-section {
  background: #172119;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 102.4px;
}
.name-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
}
.name-lockup > span {
  font-size: 68px;
  color: #b7d58e;
  line-height: 1;
}
.name-lockup h2 {
  font-size: 37px;
}
.name-lockup small {
  font-size: 9px;
  letter-spacing: 3px;
  display: block;
  margin-top: 8px;
  color: #9cb28a;
}
.about-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #bdcbb2;
  margin: 28px 0;
}
.education {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  gap: 6px;
}
.education > span {
  font-size: 9px;
  color: #89a273;
  letter-spacing: 1px;
}
.education strong {
  font-size: 13px;
  font-weight: 500;
}
.about-values article {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 23px;
}
.about-values article > span {
  color: #a0bc83;
  font-size: 9px;
}
.about-values h3 {
  font-size: 16px;
  margin: 0 0 9px;
  font-weight: 500;
}
.about-values p {
  font-size: 11px;
  margin: 0;
  line-height: 1.9;
  color: #99ac8b;
}
.contact-strip {
  margin: 0 var(--pad);
  padding: 45px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.contact-strip .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.contact-strip h2 {
  font-size: 27px;
}
.contact-strip p {
  font-size: 11px;
  margin: 10px 0 0;
}
.contact-actions > #copy-email {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 23px;
  color: #d2e4bd;
  letter-spacing: -0.8px;
}
.contact-actions > div {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  font-size: 10px;
  color: #99ad88;
  margin-top: 13px;
}
.contact-actions > span {
  display: block;
  text-align: right;
  font-size: 9px;
  color: var(--accent);
  min-height: 18px;
  margin-top: 5px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  margin: 0 var(--pad);
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #8a9b7d;
}
footer > span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #c1d4ab;
}
footer small {
  font-size: 8px;
  font-weight: 400;
  color: #8a9b7d;
  margin-left: 12px;
}
footer > span:nth-child(2) {
  font-size: 8px;
  letter-spacing: 0.7px;
}
dialog {
  background: #edf2e4;
  color: #24351c;
  padding: 38px;
  width: min(540px, calc(100% - 40px));
  border: 1px solid #99b07a;
  border-radius: 5px;
}
dialog::backdrop {
  background: #08120ae3;
  backdrop-filter: blur(5px);
}
dialog .eyebrow {
  color: #72914f;
  font-size: 8px;
  margin-bottom: 20px;
}
dialog h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
dialog p {
  font-size: 12px;
  color: #6c7e5c;
}
dialog label {
  font-size: 11px;
  display: block;
  margin: 24px 0 8px;
}
dialog label > span {
  font-size: 9px;
  color: #7f916e;
}
dialog input {
  background: #fafcf5;
  border: 1px solid #b8c8a6;
  width: 100%;
  padding: 12px;
  font-size: 12px;
  color: #243a1a;
}
dialog :focus-visible {
  outline-color: #648840;
}
.case-page {
  padding: 45px var(--pad) 80px;
  max-width: 1450px;
  margin: auto;
}
.back-link {
  font-size: 11px;
  color: #b9dc92;
}
.case-hero {
  padding: 50px 0 35px;
}
.case-kicker {
  color: #9cb782;
  font-size: 9px;
}
.case-hero h1 {
  font-size: clamp(37px, 64px, 70px);
  letter-spacing: -0.055em;
  line-height: 1.3;
  margin: 23px 0;
}
.case-hero h1 span {
  color: var(--accent);
}
.case-hero > p {
  font-size: 15px;
  max-width: 650px;
  line-height: 1.9;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  gap: 22px;
  margin: 25px 0 0;
}
.case-meta dt {
  color: #8eaa74;
  font-size: 8px;
  margin-bottom: 7px;
}
.case-meta dd {
  font-size: 11px;
}
.case-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 55px;
}
.case-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 35px;
  font-size: 10px;
  color: #9cb086;
}
.case-nav a:hover,
.case-nav a.active {
  color: var(--accent);
}
.case-section {
  padding: 38px 0 45px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 85px;
}
.case-section > span {
  font-size: 9px;
  color: #95b775;
  letter-spacing: 1.5px;
}
.case-section h2 {
  font-size: 29px;
  margin: 14px 0 22px;
}
.case-section p {
  font-size: 12px;
  line-height: 1.95;
}
.case-section h3 {
  font-size: 17px;
  margin: 26px 0 12px;
}
.case-note {
  border-left: 2px solid #9fc76b;
  background: #1e2c1b;
  padding: 17px 22px;
  font-size: 11px;
  line-height: 1.9;
  color: #c3d2b5;
  margin: 25px 0;
}
.decision {
  border: 1px solid var(--line);
  padding: 23px;
}
.decision h3 {
  margin: 0 0 15px;
  font-size: 17px;
}
.decision dt {
  font-size: 9px;
  margin: 14px 0 5px;
}
.decision dd {
  font-size: 11px;
}
.case-code {
  background: #0b120d;
  padding: 20px;
  border: 1px solid #293d23;
  font-size: 11px;
  overflow: auto;
  color: #b9d799;
  line-height: 1.9;
  white-space: pre;
}
.case-checks {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.case-checks th,
.case-checks td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.case-checks th {
  color: #abc68e;
  font-size: 10px;
  font-weight: 500;
}
.case-checks td {
  color: #a4b597;
  line-height: 1.9;
}
.case-checks td:first-child {
  color: #d2dfc5;
}
.case-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
}
.case-bottom > a:last-child:not(.primary) {
  font-size: 11px;
  color: #afd482;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .hero,
  .contact-actions button,
  .case-nav,
  footer,
  .reading-progress {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .section {
    padding: 20px 0;
  }
  .section p {
    color: #333;
  }
  a {
    text-decoration: underline;
  }
}
.additional-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.additional-project {
  border: 1px solid var(--line);
  padding: 28px;
  background: #18241a;
  transition: border-color 0.2s;
}
.additional-project:hover {
  border-color: #b9de8a;
}
.additional-project > span {
  color: #9cba7a;
  font-size: 9px;
  letter-spacing: 1px;
}
.additional-project h3 {
  font-size: 25px;
  margin: 20px 0 12px;
}
.additional-project p {
  font-size: 12px;
}
.additional-project b {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}
.project-resources {
  display: flex;
  gap: 25px;
  font-size: 12px;
  margin: 25px 0;
  color: #c2e6a0;
}
.project-image {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  margin-top: 30px;
}
.case-section > .decision {
  margin-top: 20px;
}
.case-hero h1:focus {
  outline: 0;
}
.additional-projects {
  grid-template-columns: 1fr;
  margin: 0 0 28px;
}
.additional-project.with-preview {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.project-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 30px 0;
  min-height: 340px;
  background: #293d2a;
  overflow: hidden;
}
.project-preview > span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #fff9;
}
.project-preview img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 0.3s;
}
.with-preview:hover .project-preview img {
  transform: translateY(-5px);
}
.comma-preview {
  background: #2ebb79;
}
.additional-project-body {
  padding: 32px;
}
.additional-project-body > span {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a3c482;
}
.additional-project-body h3 {
  font-size: 34px;
  margin: 25px 0 15px;
}
.additional-project-body p {
  font-size: 13px;
  line-height: 2;
}
.additional-project-body b {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 30px;
}
.project-image.comma-image {
  background: #2ebb79;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  padding: 25px;
}
/* Project-first layout */
.work-section {
  padding-top: 45px;
}
.work-section .section-top {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 26px;
}
.work-section .section-heading {
  margin-bottom: 28px;
}
.work-section .section-heading h2 {
  font-size: 34px;
}
.work-section .additional-projects {
  margin-bottom: 24px;
}
.secondary-work {
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  color: #a7b69a;
}
.secondary-label {
  font-size: 8px;
  letter-spacing: 1px;
  min-width: 200px;
}
.secondary-work h3 {
  font-size: 15px;
  font-weight: 500;
  color: #c5d4b8;
  letter-spacing: -0.4px;
  margin: 0 0 5px;
}
.secondary-work p {
  font-size: 10px;
  margin: 0;
  color: #829776;
}
.secondary-arrow {
  margin-left: auto;
  color: #b2cc97;
  font-size: 20px;
}
.secondary-work:hover h3 {
  color: var(--accent);
}
.skills-section .section-heading > p {
  max-width: 380px;
}
.evidence-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.evidence-skills article {
  border-top: 1px solid #556947;
  padding-top: 22px;
}
.skill-heading > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #8fa975;
}
.skill-heading h3 {
  font-size: 25px;
  margin: 11px 0 18px;
}
.evidence-skills article > p {
  font-size: 12px;
  line-height: 1.9;
  max-width: 440px;
}
.evidence-skills ul {
  list-style: none;
  padding: 0;
  font-size: 11px;
  line-height: 2.25;
  color: #9db28b;
  margin: 20px 0 25px;
}
.evidence-skills li {
  position: relative;
  padding-left: 17px;
}
.evidence-skills li:before {
  content: '↳';
  position: absolute;
  left: 0;
  color: #b1d08a;
}
.evidence-skills article > a {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 10px;
}
.about-section {
  padding-top: 55px;
  padding-bottom: 55px;
}
.about-section .section-top {
  margin-bottom: 30px;
}
.about-intro {
  font-size: 14px;
  margin: 23px 0;
}
.about-values {
  padding-top: 5px;
}
.supporting-case {
  max-width: 1100px;
}
.supporting-case .case-hero {
  padding-top: 30px;
}
.supporting-case .case-hero h1 {
  font-size: 42px;
}
.supporting-case .case-section {
  padding: 25px 0;
}
.supporting-case .case-section h2 {
  font-size: 25px;
}
.supporting-case .case-bottom {
  margin-top: 28px;
}
.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.scope-label {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #bdcdb0;
  margin: 21px 0 10px;
  font-weight: 500;
}
.capability-grid article > p {
  min-height: 68px;
}
.capability-grid ul {
  margin: 0;
  line-height: 2.1;
  font-size: 11px;
}
.tool-scope {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 25px;
}
.tool-scope-heading {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 22px;
}
.tool-scope-heading > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #8fa579;
}
.tool-scope-heading > p {
  font-size: 12px;
  color: #bfceb0;
  margin: 0;
}
.tool-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.tool-scope-grid article {
  padding: 16px 0 0;
  border-top: 1px solid #2f3e2c;
}
.tool-scope-grid h3 {
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.tool-scope-grid article span {
  font-size: 9px;
  color: #92aa7e;
}
.tool-scope-grid p {
  font-size: 11px;
  line-height: 1.9;
  margin: 13px 0 0;
  color: #92a585;
}
.document-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.document-links a {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 12px 16px;
  border: 1px solid #4b603c;
  border-radius: 3px;
  font-size: 12px;
  color: #d3e2bf;
}
.document-links a > span {
  font-size: 9px;
  color: #9bbd7a;
}
.document-links a:hover {
  background: #24351d;
  border-color: #a5cb7d;
}
.project-resources {
  flex-wrap: wrap;
  gap: 16px 25px;
}
.project-resources a {
  border-bottom: 1px solid #4d6439;
  padding-bottom: 5px;
}
.with-brief .case-hero {
  padding: 28px 0 30px;
}
.with-brief .case-hero h1 {
  font-size: 48px;
  margin: 15px 0 13px;
}
.with-brief .case-hero > p {
  font-size: 13px;
  line-height: 1.85;
}
.project-brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #3c5032;
  margin: 24px 0 0;
  background: #18241a;
}
.project-brief > div {
  padding: 19px 22px;
  border-bottom: 1px solid #34472c;
  min-width: 0;
}
.project-brief > div:nth-child(odd) {
  border-right: 1px solid #34472c;
}
.project-brief > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.project-brief dt {
  font-size: 11px;
  color: #c1e397;
  margin-bottom: 9px;
  font-weight: 500;
}
.project-brief dd {
  font-size: 12px;
  color: #b9c9ad;
  line-height: 1.85;
}
.case-meta.two-columns {
  grid-template-columns: 1fr 1fr;
}
.with-brief .case-meta {
  padding: 16px 0;
  margin-top: 20px;
}
.with-brief .project-resources {
  margin: 19px 0 13px;
}
.with-brief .project-scope-note {
  font-size: 10px;
  color: #859c76;
  margin: 0;
  max-width: none;
}
.project-visual-details {
  margin: 20px 0 0;
  padding: 12px 0 0;
  border-color: #354a2c;
}
.project-visual-details summary {
  color: #a5c785;
  font-size: 11px;
}
.project-visual-details .project-image {
  margin-top: 16px;
  max-height: 370px;
}
.verification-date {
  font-size: 10px !important;
  color: #9bb881 !important;
}
.verification-environment {
  margin: 20px 0 25px;
  border-top: 1px solid var(--line);
}
.verification-environment > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.verification-environment dt {
  font-size: 10px;
}
.verification-environment dd {
  font-size: 11px;
}
.verification-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.unverified-list {
  padding-left: 20px;
  color: #9fb48e;
  font-size: 11px;
  line-height: 2.1;
}
.unverified-list li {
  margin: 7px 0;
}
.case-layout > * {
  min-width: 0;
}
.case-section {
  min-width: 0;
}
.case-code {
  max-width: 100%;
}
.verification-table-wrap {
  width: 100%;
  min-width: 0;
}
.verification-table-wrap .case-checks {
  table-layout: fixed;
  width: 100%;
}
.verification-table-wrap td,
.verification-table-wrap th {
  overflow-wrap: anywhere;
}

/* Keep the desktop layout at all screen widths. */
@media screen {
  body {
    width: 1280px;
    margin-inline: auto;
  }
}

.case-nav a {
  position: relative;
}
.case-nav a[aria-current='location'] {
  color: var(--accent);
  font-weight: 700;
}
.case-nav a[aria-current='location']::before {
  content: '';
  position: absolute;
  inset-inline-start: -12px;
  top: 50%;
  width: 4px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  transform: translateY(-50%);
}

/* Typography for primary content and navigation */
.hero h1 {
  font-size: 62px;
  white-space: normal;
}
.section-heading h2,
.work-section .section-heading h2 {
  font-size: 40px;
}
.additional-project h3,
.contact-strip h2 {
  font-size: 32px;
}
.case-hero h1 {
  font-size: 70px;
}
.with-brief .case-hero h1 {
  font-size: 58px;
}
.case-section h2 {
  font-size: 34px;
}
.case-section h3 {
  font-size: 21px;
}
.additional-project p,
.with-brief .case-hero > p,
.project-brief dd,
.case-section p {
  font-size: 14px;
}
.project-brief dt,
.site-header nav a {
  font-size: 14px;
}
.button,
.project-resources a,
.case-nav a {
  font-size: 13px;
}

.about-portrait {
  display: block;
  width: 220px;
  height: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.site-header .logo {
  justify-self: start;
}
.skill-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font: 700 12px/1 monospace;
}
.skill-icon img {
  display: block;
  object-fit: contain;
}
.skill-icon--github,
.skill-icon--unity {
  background: #eaf0e8;
}

.project-preview:not(.comma-preview) {
  position: relative;
  padding: 0;
}
.project-preview:not(.comma-preview) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-preview:not(.comma-preview) > span {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 22px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #101714d9;
  color: #f1f3eb;
}
.with-preview:hover .project-preview:not(.comma-preview) img {
  transform: scale(1.03);
}

#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 11;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
#back-to-top:hover {
  background: var(--accent);
  color: var(--bg);
}
@media print {
  #back-to-top { display: none; }
}

.case-game {
  margin-block: 1.5rem;
}
.case-game summary {
  width: fit-content;
  cursor: pointer;
  color: var(--accent, #c7f88b);
  padding-block: 0.5rem;
}
.case-game iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 0.75rem;
  border: 0;
}

.case-thumbnail-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
}
.case-thumbnail-frame .project-image.case-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center;
}
.project-preview.kenshi-preview img {
  width: 101.5%;
  max-width: none;
}
.case-thumbnail-frame[data-project="comma"] {
  background: #2ebb79;
}
.case-thumbnail-frame[data-project="kenshi-yonezu"] {
  background: #f9f8f4;
}
.case-thumbnail-frame[data-project="unity-shooter"] {
  background: #010232;
}
.case-thumbnail-frame[data-project="pop-ing"] {
  background: #0a0a0a;
}

.case-thumbnail-frame[data-project="kenshi-yonezu"] .case-thumbnail {
  clip-path: inset(0 1.3% 0 0);
  transform: translateX(0.65%);
}
.case-thumbnail-frame[data-project="pop-ing"] .case-thumbnail {
  object-fit: cover;
}


/* Typography hierarchy: display, section, component, body, label, metadata. */
:root {
  --type-display: 3.5rem;
  --type-section: 2.25rem;
  --type-component: 1.5rem;
  --type-body: 1rem;
  --type-label: .875rem;
  --type-meta: .8125rem;
  --type-caption: .75rem;
  --type-category: .6875rem;
  --type-decoration: .625rem;
}
body { font-size: var(--type-body); }
.hero h1, .case-hero h1, .with-brief .case-hero h1,
.supporting-case .case-hero h1 {
  font-size: var(--type-display);
  line-height: 1.25;
}
h2, .section-heading h2, .work-section .section-heading h2,
.case-section h2, .supporting-case .case-section h2,
.name-lockup h2, .contact-strip h2 {
  font-size: var(--type-section);
  line-height: 1.4;
}
h3, .additional-project h3, .additional-project-body h3,
.skill-heading h3, .case-section h3, .decision h3,
.tool-scope-grid h3, .about-values h3, .secondary-work h3 {
  font-size: var(--type-component);
  line-height: 1.5;
}
.hero-copy > p, .section-heading > p, .additional-project p,
.additional-project-body p, .evidence-skills article > p,
.tool-scope-grid p,
.about-intro, .about-values p, .education strong,
.contact-strip p, .case-hero > p, .with-brief .case-hero > p,
.case-section p, .project-brief dd, .decision dd, dd,
.secondary-work p, .tool-scope-heading > p, dialog p {
  font-size: var(--type-body);
  line-height: 1.85;
}
.student-tag, .site-header nav, .site-header nav a,
.button, .text-link, .header-contact, .project-resources,
.project-resources a, .case-nav, .case-nav a, .back-link,
.project-brief dt, .case-meta dd, .additional-project b,
.document-links a, summary,
.project-visual-details summary, .case-bottom > a:last-child:not(.primary),
.contact-actions, dialog label, dialog input {
  font-size: var(--type-label);
  line-height: 1.7;
}
/* Implementation evidence and operational feedback need readable text. */
.verification-environment dd, .unverified-list,
.with-brief .project-scope-note, .case-checks, .case-checks th,
.case-code, .contact-actions > span {
  font-size: var(--type-meta);
  line-height: 1.8;
}
/* Supporting labels and annotations. */
.section-aside, dt, .decision dt,
.education > span, .tool-scope-grid article span,
.document-links a > span, .verification-environment dt,
dialog label > span {
  font-size: var(--type-caption);
  line-height: 1.75;
}
/* Project categories and section markers. */
.eyebrow, .case-kicker, .case-meta dt, .case-section > span,
.skill-heading > span, .tool-scope-heading > span,
.additional-project > span, .additional-project-body > span,
.project-preview > span, .tags span, .name-lockup small,
.secondary-label, .contact-strip .eyebrow, dialog .eyebrow {
  font-size: var(--type-category);
  line-height: 1.75;
}
/* Decorative coordinates, numbering, dates and footer credits. */
.hero-bottom, .map-coordinate, .map-info > span,
.about-values article > span, .orbit-node > span,
footer, footer small, footer > span:nth-child(2) {
  font-size: var(--type-decoration);
  line-height: 1.75;
}
.verification-date { font-size: var(--type-decoration) !important; }
#copy-email { font-size: var(--type-component); }
.logo { font-size: 1.75rem; white-space: nowrap; }
.logo > span:first-child { font-size: 2rem; }
footer > span:first-child { font-size: var(--type-body); }
.student-tag { margin-bottom: 1.5rem; }
.project-brief, .case-meta, .tool-scope-grid article { min-width: 0; }
@media (max-width: 800px) {
  :root { --type-display: 2.5rem; --type-section: 1.875rem; --type-component: 1.375rem; }
}


/* Compact typography for the exploration graphic and capability scope. */
.orbit-node, .map-info strong {
  font-size: 12px;
  line-height: 1.6;
}
.map-info p, .motion-toggle {
  font-size: 11px;
  line-height: 1.75;
}
.map-coordinate, .map-info > span, .orbit-node > span {
  font-size: 10px;
}
.scope-label {
  font-size: 11px;
  line-height: 1.6;
}
.evidence-skills ul, .capability-grid ul {
  font-size: 13px;
  line-height: 1.9;
}

/* POP-ING case study reading hierarchy. */
.pop-ing-case .case-section { padding-block: 2.5rem; }
.pop-ing-case .decision { margin-block: 1.25rem; padding: 1.75rem; border-radius: .5rem; background: #17221c; }
.pop-ing-case .decision h3 { font-size: 1.375rem; margin: 0 0 1.25rem; line-height: 1.5; }
.pop-ing-case .decision-field + .decision-field { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.25rem; }
.pop-ing-case .decision-field > strong { display: block; color: #c5dfa9; font-size: .75rem; margin-bottom: .5rem; font-weight: 600; }
.pop-ing-case .decision-field p, .pop-ing-case .decision-field li { font-size: 1rem; line-height: 1.9; color: #d0d8cc; overflow-wrap: anywhere; }
.pop-ing-case .decision-field p { margin: 0; max-width: 65ch; }
.pop-ing-case .decision-field ol { margin: 0; padding-left: 1.4rem; }
.pop-ing-case .decision-field li + li { margin-top: .65rem; }
.pop-ing-case #improvements .decision-field:has(> strong) { padding-left: 1rem; border-left: 2px solid #617a4c; }

/* Shared project evidence: comparison fields and separate source notes. */
.case-page #improvements .decision {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.case-page #improvements .decision { margin-block: 1.25rem; padding: 1.75rem; border-radius: .5rem; background: #17221c; }
.case-page #improvements .decision h3 { grid-column: 1 / -1; margin-bottom: .25rem; }
.case-page #improvements .decision-field {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #101a14;
}
.case-page #improvements .decision-field > strong { display: block; color: #c5dfa9; font-size: .8125rem; margin-bottom: .75rem; }
.case-page #improvements .decision-field p,
.case-page #improvements .decision-field li { color: #d0d8cc; font-size: .9375rem; line-height: 1.85; }
.case-page #improvements .decision-field p { margin: 0; }
.case-page #improvements .decision-field ol { margin: 0; padding-left: 1.4rem; }
.case-page #improvements .decision-after { background: #22311d; border-color: #728e54; }
.case-page #improvements .decision-evidence { grid-column: 1 / -1; background: transparent; border: 0; padding: .5rem 0 0; }
.case-page #improvements .decision-evidence > strong { color: var(--muted); font-size: .75rem; margin-bottom: .25rem; }
.case-page #improvements .decision-evidence p { color: var(--muted); font-size: .8125rem; max-width: none; }
@media(max-width: 1050px) {
 .case-page #improvements .decision { grid-template-columns: minmax(0, 1fr); }
}

/* Fit the comparison to the fields documented for each project. */
@media(min-width: 1051px) {
  .case-page #improvements .decision:not(:has(.decision-before)),
  .case-page #improvements .decision:not(:has(.decision-after)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-page #improvements .decision:has(.decision-before):has(.decision-after):not(:has(.decision-change)),
  .case-page #improvements .decision:has(.decision-before):has(.decision-change):not(:has(.decision-after)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Verification-only notes share the same full-width treatment across projects. */
.case-page #improvements .decision:has(.decision-evidence):not(:has(.decision-before, .decision-change, .decision-after)) {
  display: block;
  padding: 1.25rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.case-page #improvements .decision:has(.decision-evidence):not(:has(.decision-before, .decision-change, .decision-after)) h3 {
  font-size: 1rem;
  margin-bottom: .75rem;
}

/* Keep all project details readable below the desktop canvas width. */
@media screen and (max-width: 1280px) {
  body:has(#case-view:not([hidden])) { width: 100%; }
}
@media screen and (max-width: 800px) {
  body:has(#case-view:not([hidden])) { --pad: 20px; }
  body:has(#case-view:not([hidden])) .site-header { padding: .75rem 20px; height: auto; min-height: 80px; gap: 1rem; }
  body:has(#case-view:not([hidden])) .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .25rem .75rem; }
  .case-page { padding: 24px 20px 48px; }
  .case-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .case-nav { position: static; flex-direction: row; flex-wrap: wrap; padding-block: 1rem; gap: .5rem 1rem; border-bottom: 1px solid var(--line); }
  .case-hero h1, .with-brief .case-hero h1 { overflow-wrap: anywhere; }
  .project-brief { grid-template-columns: minmax(0, 1fr); }
  .project-brief > div:nth-child(odd) { border-right: 0; }
  .project-brief > div:not(:last-child) { border-bottom: 1px solid var(--line); }
  .case-meta, .case-meta.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-resources { flex-wrap: wrap; gap: 1rem; }
  .pop-ing-case .decision, .case-page #improvements .decision { padding: 1.125rem; }
  .case-page #improvements .decision:has(.decision-evidence):not(:has(.decision-before, .decision-change, .decision-after)) { padding-inline: 0; }
}

/* Link skill explanations to the implementation evidence. */
.evidence-skills li + li { margin-top: .85rem; }
.evidence-skills li strong { color: var(--text); font-weight: 600; }
.evidence-skills li a { display: block; width: fit-content; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; margin-top: .4rem; }

.skills-tools { margin-top: 3rem; }
.skills-tools > h3 { font-size: 14px; color: #b8c8ad; font-weight: 500; margin-bottom: 1.25rem; }
.skills-tools dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 2rem; margin: 0; }
.skills-tools dl > div { border-top: 1px solid var(--line); padding: 1rem 0; }
.skills-tools dt { color: #e1e8da; font-size: 14px; font-weight: 600; margin-bottom: .35rem; }
.skills-tools dd { color: #96a58c; font-size: 12px; line-height: 1.8; margin: 0; }

/* Capabilities: technology, implementation principle, related work. */
.skills-list { border-top: 1px solid #526348; }
.skills-columns, .skills-row { display: grid; grid-template-columns: 1fr 2.4fr 1.15fr; column-gap: 3rem; }
.skills-columns { padding: 1rem 0; color: #8fa184; font-size: 11px; }
.skills-row { align-items: start; padding: 2rem 0; border-top: 1px solid var(--line); }
.skills-row h3 { font-size: 24px; margin: 0; line-height: 1.45; letter-spacing: -.04em; }
.skills-explanation h4 { font-size: 16px; font-weight: 600; color: #e1e8da; margin: 0 0 .65rem; line-height: 1.6; }
.skills-explanation p { font-size: 14px; color: #b7c3af; line-height: 1.9; margin: 0; }
.skills-row > a { display: block; width: fit-content; padding: .15rem 0 .4rem; color: var(--accent); border-bottom: 1px solid #526348; }
.skills-row > a span { font-size: 14px; font-weight: 600; }

.skills-row > a:hover { border-color: var(--accent); }
/* Project thumbnail and title form one accessible detail link. */
.skills-row > .skills-project { width: 100%; max-width: 220px; padding: 0; border: 0; }
.skills-project img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #17211b; border: 1px solid var(--line); border-radius: 4px; }
.skills-project span { display: block; margin-top: .65rem; line-height: 1.6; }
.skills-project:hover img { border-color: var(--accent); }
.skills-project:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Match related-work thumbnails to each project's visual treatment. */
.skills-project[href="#case/comma"] img { background-color: #2ebb79; }
.skills-project[href="#case/pop-ing"] img { object-fit: cover; object-position: center; }

.skills-tools .tool-project-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .65rem; }
.skills-tools .tool-project-links a { color: var(--accent); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }


@media(max-width:800px) {
 .skills-columns { display: none; }
 .skills-row { grid-template-columns: minmax(0,1fr); gap: 1rem; padding: 1.5rem 0; }
 .skills-row h3 { font-size: 22px; }
 .skills-tools dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1rem; }
}

/* Weekly landing: career statement and user-selected work. */
.hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 3rem; min-height: 590px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(36px,3.65vw,52px); white-space: normal; line-height: 1.4; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero-copy > p, .student-tag { font-size: 16px; color: #d6ddd3; line-height: 1.85; }
.student-tag { border: 0; padding: 0; }
.landing-explorer { min-width: 0; padding-block: 2rem; }
.landing-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.landing-options button { color: #d6ddd3; border: 1px solid #526349; border-radius: 2rem; padding: .6rem .85rem; font-size: 13px; line-height: 1.5; }
.landing-options button[aria-pressed="true"] { background: var(--accent); color: #142010; border-color: var(--accent); font-weight: 700; }
.landing-preview { border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; background: #17211b; }
.landing-preview > a { display: block; }
.landing-preview img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.landing-preview[data-current="comma"] img { object-fit: contain; background: #2ebb79; }
.landing-preview[data-current="unity-shooter"] img { object-fit: contain; background: #010232; }
.landing-project-copy { padding: 1.4rem; }
.landing-project-copy h2 { font-size: 24px; margin: 0 0 .6rem; }
.landing-project-copy p { font-size: 15px; color: #d6ddd3; line-height: 1.8; margin: 0 0 1rem; min-height: 3.6em; }
.landing-project-copy > a { color: var(--accent); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.hero-bottom { font-size: 12px; gap: 1rem; }
.hero-bottom a { color: var(--accent); font-size: 13px; }
.process-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.process-comparison figure { margin: 0; min-width: 0; }
.process-comparison img { display: block; width: 100%; border: 1px solid var(--line); }
.process-comparison figcaption { font-size: 13px; margin-top: .65rem; color: var(--muted); line-height: 1.8; }
.weekly-process .case-section p, .weekly-process .case-section li { font-size: 16px; line-height: 1.9; color: #bfcbb5; }
.weekly-process .case-section li + li { margin-top: .6rem; }
.weekly-process .case-code { font-size: 13px; line-height: 1.8; }
@media screen { body { width: min(100%,1280px); } }
@media(max-width:800px) {
 :root { --pad: 20px; }
 .site-header { padding: .75rem 20px; height: auto; min-height: 80px; gap: 1rem; }
 .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .25rem .75rem; }
 .hero-grid { grid-template-columns: minmax(0,1fr); gap: 0; min-height: auto; }
 .hero-copy { padding: 2rem 0 0; }
 .hero h1 { font-size: clamp(30px,7.6vw,40px); }
 .hero-bottom { flex-wrap: wrap; }
 .process-comparison { grid-template-columns: minmax(0,1fr); }
 .skills-section .section-heading { flex-wrap: wrap; gap: 1rem; }
}
@media(max-width:800px) {
 .about-grid { grid-template-columns: minmax(0,1fr); }
 .about-grid > *, .about-values { min-width: 0; }
}

.process-comparison img { aspect-ratio: 16 / 10; object-fit: contain; background: #101714; }

/* Full-width project stage with a continuous editorial page below. */
@media screen { body { width: 100%; } }
:root { --content-width: 1280px; --shell-inset: max(var(--pad), calc((100% - var(--content-width)) / 2 + var(--pad))); }
.site-header { padding-inline: var(--shell-inset); }
#home-view > .section { max-width: var(--content-width); margin-inline: auto; }
.hero.project-stage {
 position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
 justify-content: space-between; min-height: clamp(520px, calc(100svh - 230px), 820px);
 padding: 72px var(--shell-inset) 28px; background: var(--bg);
}
.stage-media { position: absolute; inset: 0; z-index: -2; background: #101714; }
.stage-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; display: block; }
.project-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
 background: linear-gradient(90deg, rgba(8,17,12,.84) 0%, rgba(8,17,12,.6) 37%, rgba(8,17,12,.12) 75%), linear-gradient(0deg,#101714 0%,rgba(16,23,20,.55) 13%,transparent 38%); }
.stage-copy { max-width: 790px; padding-bottom: 38px; }
.stage-intro { font-size: 16px; line-height: 1.8; color: #e0e6dc; margin: 0 0 30px; }
.hero.project-stage h1 { font-size: clamp(38px,4.1vw,62px); line-height: 1.35; font-weight: 600; color: #f5f6ef; margin: 0 0 24px; letter-spacing: -.055em; }
.hero.project-stage h1 span { color: var(--accent); }
.stage-project { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; max-width: 650px; margin-bottom: 26px; }
.stage-project h2 { font-size: 20px; line-height: 1.6; margin: 0; }
.stage-project p { font-size: 14px; line-height: 1.85; margin: 0; color: #d8e0d1; }
.stage-detail { display: inline-block; color: var(--accent); border-bottom: 1px solid var(--accent); font-size: 16px; font-weight: 600; padding-bottom: .35rem; }
.stage-bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.stage-options { display: flex; gap: 1.8rem; border-bottom: 1px solid #7c8b73; }
.stage-options button { padding: .8rem 0; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 15px; color: #c5cebf; }
.stage-options button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.stage-bottom > a { font-size: 13px; color: #d8e0d1; padding-bottom: 1rem; }
.project-stage[data-current="comma"] .stage-media { background: #173525; }
.stage-media img[data-project="comma"] { object-fit: contain; object-position: 85% center; width: 65%; margin-left: auto; }
.project-stage[data-current="unity-shooter"] .stage-media { background: #010232; }
.stage-media img[data-project="unity-shooter"] { object-position: 80% center; }
.work-section { padding-top: 34px; padding-bottom: 72px; }
.work-section .section-top { margin-bottom: 20px; }
.work-section .section-heading { margin-bottom: 36px; align-items: baseline; }
.work-section .section-heading h2, .skills-section .section-heading h2 { font-size: 36px; line-height: 1.4; }
.work-section .section-heading h2 span { color: var(--accent); }
.work-section .additional-projects { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 32px; }
.work-section .additional-project { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.work-section .additional-project.with-preview { display: block; overflow: visible; }
.work-section .project-preview { display: block; padding: 0; min-height: 0; aspect-ratio: 16 / 10; background: #0c140f; border: 0; }
.work-section .project-preview > span { display: none; }
.work-section .project-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0; }
.work-section .project-preview.comma-preview { background: #2ebb79; }
.work-section .project-preview.comma-preview img { object-fit: contain; padding: 20px; }
.work-section .additional-project-body { padding: 22px 0 0; }
.work-section .additional-project-body h3 { font-size: 27px; margin: 10px 0 12px; }
.work-section .additional-project-body p { font-size: 14px; line-height: 1.9; margin-bottom: 16px; }
.work-section .additional-project-body b { border: 0; margin-top: 18px; padding: 0; font-size: 13px; }
.work-section .tags span { background: transparent; border: 0; padding: 0; margin-right: 12px; color: #99aa8e; font-size: 11px; }
.work-section .with-preview:hover .project-preview img { transform: none; }
.skills-section { padding-top: 64px; }
.skills-section .section-top { border-top: 1px solid var(--line); }
.about-section { background: transparent; border-top: 1px solid var(--line); }
.contact-strip { background: transparent; border-top: 1px solid var(--line); }
footer { max-width: 1126px; margin-inline: auto; }
@media(max-width:800px) {
 .site-header { padding-inline: 20px; }
 .hero.project-stage { min-height: 650px; min-height: max(620px, calc(100svh - 150px)); padding: 60px 20px 24px; }
 .stage-copy { padding-bottom: 48px; }
 .stage-intro { font-size: 14px; margin-bottom: 24px; }
 .hero.project-stage h1 { font-size: clamp(32px,8.3vw,44px); }
 .stage-media img { object-position: 58% center; }
 .project-stage::after { background: linear-gradient(90deg,rgba(8,17,12,.82),rgba(8,17,12,.45)),linear-gradient(0deg,#101714 0%,transparent 45%); }
 .stage-project { min-height: 100px; }
 .stage-project p { font-size: 13px; }
 .stage-bottom { align-items: start; flex-direction: column; gap: 1rem; }
 .stage-options { width: 100%; gap: 0; justify-content: space-between; }
 .stage-options button { font-size: 14px; }
 .stage-bottom > a { padding: 0; font-size: 12px; }
 .work-section .section-heading { flex-wrap: wrap; gap: 1rem; }
 .work-section .section-heading h2, .skills-section .section-heading h2 { font-size: 30px; }
 .work-section .additional-projects { grid-template-columns: minmax(0,1fr); gap: 36px; }
 .work-section .additional-project-body h3 { font-size: 24px; }
 .stage-media img[data-project="comma"] { width: 100%; object-position: center; }
 footer { margin-inline: 20px; }
}

/* Sliding selection line and sequential scene fade. */
.stage-options { position: relative; }
.stage-options button { border-bottom-color: transparent; transition: color 240ms ease; }
.stage-options button[aria-pressed="true"] { border-bottom-color: transparent; }
.stage-selection-line { position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; background: var(--accent); pointer-events: none; transition: transform 320ms cubic-bezier(.22,.61,.36,1), width 320ms ease; }
.stage-media { transition: none; }
.stage-media img { position: absolute; top: 0; right: 0; }
@media(prefers-reduced-motion: reduce) {
 .stage-options button, .stage-selection-line, .stage-media { transition: none; }
}
