﻿:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #eef2ef;
  --text: #181a18;
  --muted: #657069;
  --line: #dfe4df;
  --line-strong: #c4cec5;
  --accent: #315d4b;
  --accent-soft: #e8f0eb;
  --max: 1180px;
  --sans: "IBM Plex Sans KR", "Noto Sans KR", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-x: clip;
}
body:has(:focus-visible) {
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #a3c6ae;
  outline-offset: 4px;
}
p,
h1,
h2,
h3,
h4,
dl,
dd,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.18;
  text-wrap: balance;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
}
.container {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(196, 206, 197, 0.82);
  background: rgba(247, 247, 245, 0.94);
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-copy {
  display: grid;
  line-height: 1.15;
}
.brand-copy strong {
  font-size: 0.95rem;
}
.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}
.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
  background: var(--accent-soft);
}
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 13px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font: 500 0.76rem var(--mono);
}

.section-shell {
  padding: 78px 0;
  scroll-margin-top: 0;
}
.section-muted {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
#experience.section-shell {
  padding-top: 36px;
  padding-bottom: 46px;
}
#projects.section-shell {
  padding-top: 42px;
  padding-bottom: 58px;
}
.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: clamp(86px, 8vw, 112px) 0 clamp(54px, 6vw, 82px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(52px, 7vw, 88px);
  align-items: center;
}
.hero-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding-top: 8px;
}
.eyebrow,
.section-index,
.project-meta,
.archive-type,
.capability-index,
.screen-label {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.35rem, 3.8vw, 3.85rem);
  line-height: 1.08;
}
.hero-lede {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}
.hero-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(1px) scale(0.985);
}
.button-primary {
  color: #fff;
  background: var(--accent);
}
.button-primary:hover {
  background: #244738;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.hero-facts {
  display: grid;
  max-width: 520px;
  margin-top: 8px;
  border-top: 1px solid var(--line-strong);
}
.hero-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.hero-facts dt {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-facts dd {
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-visual {
  position: relative;
  min-height: 480px;
  padding: 18px 0 28px 22px;
}
.screen-stack {
  position: absolute;
  width: min(92%, 540px);
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 48px rgba(37, 64, 47, 0.12);
}
.screen-stack img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.screen-stack-back {
  top: 12px;
  right: 0;
  transform: rotate(2.2deg);
}
.screen-stack-front {
  top: 116px;
  left: 0;
  transform: rotate(-1.5deg);
}
.screen-label {
  display: block;
  margin: 0 0 8px 2px;
  font-size: 0.6rem;
}
.hero-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.78rem;
}

.section-intro {
  display: block;
  margin-bottom: 18px;
}
.section-index {
  padding-top: 3px;
}
.section-intro h2:not(.eyebrow) {
  max-width: 18ch;
  margin-top: 7px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line-strong);
}
.featured-project--reverse {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}
.featured-project--reverse .featured-media {
  order: 2;
}
.featured-project--reverse .featured-copy {
  order: 1;
}
.featured-media {
  min-width: 0;
}
.media-frame {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.media-frame figcaption {
  padding: 10px 2px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}
.media-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.media-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.featured-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding-top: 4px;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  align-items: center;
}
.project-meta .status {
  padding-left: 15px;
  border-left: 1px solid var(--line-strong);
}
.featured-copy h3 {
  max-width: 17ch;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}
.project-lede {
  max-width: 48ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list li {
  padding: 4px 8px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #d2e2d6;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.record-list {
  border-top: 0;
}
.record-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.record-index {
  padding-top: 3px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.record-main {
  display: grid;
  gap: 10px;
  max-width: 75ch;
  min-width: 0;
}
.record-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.record-heading h3 {
  font-size: 1.55rem;
}
.record-role {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}
.record-description {
  color: var(--muted);
}
.record-points {
  display: grid;
  gap: 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.record-points li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
}
.record-points li strong {
  color: var(--text);
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.record-points li span {
  min-width: 0;
}
.project-record {
  grid-template-columns: 55px minmax(0, 1fr) 300px;
  gap: 28px;
}
.project-record .record-points li {
  position: relative;
  display: block;
  padding-left: 1rem;
}
.project-record .record-points li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "—";
}
.record-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 3px;
}
.record-media {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
}
.record-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.record-period {
  margin-top: -4px;
  color: var(--muted);
  font: 500 0.72rem/1.5 var(--mono);
  letter-spacing: 0.03em;
}
.record-groups {
  display: grid;
  gap: 12px;
}
.record-group {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.record-group h4 {
  margin-bottom: 6px;
  color: var(--text);
  font: 600 0.72rem/1.4 var(--mono);
  letter-spacing: 0.03em;
}
.record-bullets {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.record-bullets li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.record-bullets li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "—";
}
.record-bullets li strong {
  color: var(--text);
  font-weight: 600;
}
.record-bullets li span {
  min-width: 0;
}
.record-bullets li > strong:only-child,
.record-bullets li > span:only-child {
  grid-column: 1 / -1;
}

/* Experience records: keep the reference-like rhythm of date, role, and scope. */
.experience-record {
  gap: 28px;
  padding: 25px 0 27px;
}
.experience-record .record-main {
  gap: 11px;
}
.experience-record .record-heading {
  gap: 7px 14px;
  padding-bottom: 7px;
}
.experience-record .record-heading h3 {
  font-size: 1.35rem;
}
.experience-record .record-role {
  font-size: 0.84rem;
}
.experience-record .record-groups {
  gap: 10px;
}
.experience-record .record-group {
  padding-top: 7px;
}
.experience-record .record-group h4 {
  margin-bottom: 4px;
  font-size: 0.68rem;
}
.experience-record .record-bullets {
  gap: 2px;
}
.experience-record .record-bullets li {
  grid-template-columns: minmax(205px, 0.46fr) minmax(0, 1fr);
  gap: 12px;
  padding-left: 0;
  font-size: 0.8rem;
  line-height: 1.48;
}
.experience-record .record-bullets li::before {
  display: none;
}

.capability-list {
  border-top: 1px solid var(--line-strong);
}
.capability-list article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}
.capability-list h3 {
  font-size: 1.55rem;
}
.capability-list article > div {
  display: grid;
  gap: 10px;
}
.capability-list article > div > p {
  max-width: 62ch;
  color: var(--muted);
}
.capability-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.73rem;
}
.capability-list li::before {
  content: "— ";
  color: var(--accent);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}
.profile-copy {
  display: grid;
  align-content: start;
  gap: 20px;
  padding-top: 11px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}
.site-footer {
  border-top: 1px solid var(--line-strong);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}
.footer-inner p:last-child {
  display: flex;
  gap: 18px;
}
.footer-inner a {
  color: var(--accent);
}

.case-study {
  padding-bottom: 100px;
}
.case-hero {
  padding: 64px 0 46px;
  border-bottom: 1px solid var(--line-strong);
}
.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 70px;
  align-items: end;
}
.case-hero h1 {
  max-width: 16ch;
  margin: 16px 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}
.case-hero-lede {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}
.case-meta div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.case-meta dt {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}
.case-meta dd {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}
.case-hero--profile {
  padding: clamp(44px, 6vw, 76px) 0 clamp(34px, 5vw, 58px);
}
.case-hero--profile .case-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 56px;
  align-items: end;
}
.case-hero-heading {
  min-width: 0;
}
.case-hero-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font: 600 0.7rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-hero--profile h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 4.1rem);
  letter-spacing: -0.075em;
  text-wrap: balance;
}
.case-hero-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
}
.case-meta--hero {
  align-self: stretch;
  border-top-color: var(--line-strong);
}
.case-meta--hero div:nth-child(odd) {
  padding-right: 28px;
}
.case-meta--hero div:nth-child(even) {
  padding-left: 28px;
}
.case-meta--hero dd {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.5;
}
.case-section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.case-section > h2 {
  font-size: 1.1rem;
}
.case-section-content {
  display: grid;
  gap: 12px;
  max-width: 75ch;
}
.case-section-content > p {
  color: var(--muted);
}
.case-section-content ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}
.case-section-content ol {
  counter-reset: flow;
}
.case-section-content ol li {
  counter-increment: flow;
}
.case-section-content ol li::before {
  content: counter(flow, decimal) ".  ";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.case-gallery figure {
  padding: 0;
}
.case-gallery figure:first-child {
  grid-column: 1 / -1;
}
.case-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.case-gallery figcaption {
  padding: 9px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.case-section--evidence {
  width: min(calc(100% - 96px), 1440px);
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-top: 38px;
}
.case-section--evidence .case-section-content {
  max-width: none;
}
.case-section--evidence .case-gallery {
  grid-template-columns: minmax(0, 1fr);
  gap: 38px;
}
.case-section--evidence .case-gallery figure,
.case-section--evidence .case-gallery figure:first-child {
  grid-column: auto;
}
.case-section--evidence .case-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.case-section--evidence .case-gallery figcaption {
  max-width: 82ch;
  padding-top: 12px;
  color: #4f5a53;
  font-size: 0.92rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.case-figure-note {
  display: grid;
  gap: 8px;
}
.case-figure-note strong {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 650;
}
.case-figure-note p {
  margin: 0;
}
.case-figure-note ul {
  display: grid;
  gap: 4px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.case-figure-note li {
  position: relative;
  padding-left: 15px;
}
.case-figure-note li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "—";
}
.case-study--company .case-section--evidence {
  width: min(calc(100% - 96px), 1180px);
}
.case-study--company .case-section--evidence > h2,
.case-study--company .case-section--evidence .case-section-content {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.case-study--company .case-section--evidence .case-gallery {
  gap: clamp(36px, 4vw, 50px);
}
.case-study--company .case-evidence-figure {
  display: grid;
  gap: 18px;
}
.case-study--company .case-evidence-figure--portrait img {
  width: min(100%, 720px);
  margin-inline: auto;
}

.case-study--company
  .case-evidence-figure--portrait
  .evidence-image-trigger {
  width: min(100%, 720px);
  margin-inline: auto;
}

.case-project-detail-link {
  display: inline-flex;
  margin-top: 8px;
}
.case-study--company .case-section--evidence .case-gallery figcaption {
  max-width: 980px;
  margin-inline: 0 auto;
  padding: 0;
  font-size: 0.9rem;
}
.case-study--company .case-figure-note {
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 7px;
}
.case-study--company .case-figure-note strong {
  grid-column: 1;
  font-size: 0.92rem;
}
.case-study--company .case-figure-note p,
.case-study--company .case-figure-note ul {
  grid-column: 2;
}
.case-study--company .case-figure-note--single {
  grid-template-columns: minmax(0, 1fr);
}
.case-study--company .case-figure-note--single p {
  grid-column: 1;
  max-width: 78ch;
}
.case-study--company .evidence-image-trigger {
  position: relative;
}
.case-study--company .evidence-image-trigger::after {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(28, 40, 32, 0.2);
  border-radius: 2px;
  color: var(--text);
  background: rgba(250, 250, 247, 0.88);
  content: "확대";
  font: 600 0.68rem/1 var(--mono);
  letter-spacing: 0.02em;
  opacity: 0.82;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.case-study--company .evidence-image-trigger:hover::after,
.case-study--company .evidence-image-trigger:focus-visible::after {
  opacity: 1;
}
.evidence-image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}
.evidence-image-trigger img {
  transition:
    border-color 180ms ease,
    opacity 180ms ease;
}
.evidence-image-trigger:hover img {
  border-color: var(--accent);
  opacity: 0.96;
}
.evidence-image-trigger:active {
  transform: translateY(1px);
}
.evidence-lightbox {
  width: min(96vw, 1800px);
  max-width: none;
  max-height: 94dvh;
  padding: 0;
  border: 0;
  background: #101411;
  overflow: auto;
}
.evidence-lightbox::backdrop {
  background: rgba(16, 20, 17, 0.9);
}
.evidence-lightbox-shell {
  position: relative;
  display: grid;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  padding-bottom: 12px;
}
.evidence-lightbox img {
  width: auto;
  max-width: none;
  max-height: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #f7f7f5;
}
.evidence-lightbox p {
  position: sticky;
  left: 0;
  width: min(90vw, 90ch);
  max-width: 90ch;
  padding: 0 12px;
  color: #edf0ed;
  font-size: 0.9rem;
  line-height: 1.6;
}
.evidence-lightbox-close {
  position: fixed;
  z-index: 1;
  top: 4dvh;
  right: 3vw;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  color: #fff;
  background: rgba(16, 20, 17, 0.86);
  font: 600 0.78rem/1 var(--sans);
  cursor: pointer;
  transition: background 180ms ease;
}
.evidence-lightbox-close:hover {
  background: rgba(16, 20, 17, 1);
}
.case-gallery--diagram {
  grid-template-columns: minmax(0, 1fr);
}
.case-gallery--diagram figure {
  grid-column: 1 / -1;
}
.case-gallery--diagram img {
  aspect-ratio: auto;
}
.case-evidence-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-evidence-steps li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.case-evidence-steps strong {
  color: var(--text);
  font: 600 0.72rem/1.5 var(--mono);
}
.case-evidence-steps--summary {
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--line-strong);
}
.case-evidence-steps--summary li {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  font-size: 0.88rem;
  line-height: 1.65;
}
.case-evidence-steps--summary strong {
  font-size: 0.73rem;
}
.case-study--company .case-evidence-steps {
  gap: 10px;
  margin-top: 5px;
}
.case-study--company .case-evidence-steps--summary {
  border-top: 0;
}
.case-study--company .case-evidence-steps li,
.case-study--company .case-evidence-steps--summary li {
  display: block;
  position: relative;
  padding: 0 0 0 18px;
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.case-study--company .case-evidence-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "—";
  font-weight: 650;
}
.case-study--company .case-evidence-steps strong,
.case-study--company .case-evidence-steps--summary strong {
  display: inline;
  color: var(--text);
  font: 650 0.9rem/1.7 var(--sans);
}
.case-study--company .case-evidence-steps strong::after {
  color: var(--muted);
  content: " — ";
  font-weight: 400;
}
.case-study--company .case-evidence-steps span {
  display: inline;
}
.case-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 44px;
}
.direction-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.direction-intro {
  display: grid;
  gap: 12px;
}
.direction-intro h3 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
  text-wrap: balance;
}
.direction-intro p {
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.75;
  text-wrap: pretty;
}
.direction-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}
.direction-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.direction-list strong {
  color: var(--text);
  font: 600 0.76rem/1.55 var(--mono);
}
.direction-list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-wrap: pretty;
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 64px), var(--max));
  }
  .case-section--evidence {
    width: min(calc(100% - 64px), var(--max));
  }
  .case-study--company .case-section--evidence {
    width: min(calc(100% - 64px), var(--max));
  }
  .hero-grid,
  .featured-project,
  .featured-project--reverse,
  .case-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .case-hero--profile .case-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .direction-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .direction-intro h3,
  .direction-intro p {
    max-width: 100%;
  }
  .featured-project--reverse .featured-media,
  .featured-project--reverse .featured-copy {
    order: initial;
  }
  .hero {
    padding-top: 58px;
  }
  .hero h1 {
    max-width: 18ch;
  }
  .hero-visual {
    min-height: 460px;
    max-width: 620px;
    width: 100%;
  }
  .featured-copy h3 {
    max-width: 24ch;
  }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }
  .container {
    width: min(calc(100% - 40px), var(--max));
  }
  .header-inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0;
  }
  .brand {
    min-width: 0;
  }
  .brand-copy {
    min-width: 0;
  }
  .brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
  }
  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }
  .site-nav a {
    justify-content: flex-start;
    padding: 0 8px;
  }
  .site-nav.is-collapsed {
    display: none;
  }
  .section-shell {
    padding: 52px 0;
  }
  #experience.section-shell {
    padding-top: 28px;
    padding-bottom: 36px;
  }
  #projects.section-shell {
    padding-top: 34px;
    padding-bottom: 46px;
  }
  .hero {
    padding-top: 50px;
    padding-bottom: 32px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .hero-lede {
    font-size: 1rem;
  }
  .hero-visual {
    min-height: 360px;
    padding-left: 20px;
  }
  .screen-stack {
    width: 90%;
    padding: 8px;
  }
  .screen-stack-front {
    top: 95px;
  }
  .hero-visual figcaption {
    position: static;
    padding-top: 12px;
  }
  .section-intro {
    margin-bottom: 18px;
  }
  .section-intro h2:not(.eyebrow) {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }
  .record-item {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 20px 0;
  }
  .record-heading h3 {
    font-size: 1.45rem;
  }
  .record-points li,
  .record-bullets li,
  .case-evidence-steps li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .experience-record {
    gap: 7px;
    padding: 20px 0;
  }
  .experience-record .record-bullets li {
    font-size: 0.86rem;
    line-height: 1.56;
  }
  .project-record {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .record-media {
    max-width: 560px;
    padding-left: 0;
    border-left: 0;
  }
  .capability-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 15px;
  }
  .capability-list h3 {
    font-size: 1.35rem;
  }
  .profile-copy {
    font-size: 1rem;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
  .case-hero {
    padding: 48px 0 34px;
  }
  .case-hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }
  .case-hero--profile h1 {
    max-width: 100%;
  }
  .case-meta--hero div:nth-child(odd),
  .case-meta--hero div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }
  .direction-list li {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 0;
  }
  .case-section {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 28px 0;
  }
  .case-section--evidence {
    width: min(calc(100% - 32px), var(--max));
    gap: 15px;
  }
  .case-study--company .case-section--evidence {
    width: min(calc(100% - 40px), var(--max));
  }
  .case-section--evidence .case-gallery {
    gap: 28px;
  }
  .case-section--evidence .case-gallery figcaption {
    font-size: 0.86rem;
  }
  .case-study--company .case-section--evidence .case-gallery {
    gap: 32px;
  }
  .case-study--company .case-evidence-figure {
    gap: 14px;
  }
  .case-study--company .case-section--evidence .case-gallery figcaption {
    max-width: 100%;
    font-size: 0.9rem;
  }
  .case-study--company .case-figure-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .case-study--company .case-figure-note strong,
  .case-study--company .case-figure-note p,
  .case-study--company .case-figure-note ul {
    grid-column: 1;
  }
  .case-study--company .evidence-image-trigger::after {
    top: 8px;
    right: 8px;
  }
  .evidence-lightbox {
    width: 96vw;
    max-height: 92dvh;
  }
  .case-gallery figure:first-child {
    grid-column: auto;
  }
}
@media (max-width: 520px) {
  .case-meta {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.5rem;
  margin-top: 1.25rem;
}
.profile-contact a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
}
.profile-contact a:hover,
.profile-contact a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 760px) {
  .profile-contact {
    gap: 0.9rem 1rem;
  }
  .profile-contact a {
    font-size: 0.82rem;
  }
}

.profile-avatar {
  width: 118px;
  height: 118px;
  margin: 0 0 0.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f3eee5;
}
.profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .profile-avatar {
    width: 88px;
    height: 88px;
    margin-bottom: 0.2rem;
  }
}
.profile-statement {
  max-width: 38ch;
  color: var(--text);
  font-weight: 600;
}
.profile-context {
  max-width: 44ch;
  margin-top: -7px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.selected-work-block {
  margin: 0 0 56px;
}
.selected-work-block .section-intro {
  margin-bottom: 40px;
}
.selected-work-block .featured-project:first-of-type {
  padding-top: 0;
}

/* Profile-first hero: portrait-led layout with a compact project preview. */
.hero {
  min-height: auto;
  padding: clamp(42px, 4vw, 58px) 0 clamp(32px, 3vw, 44px);
}
.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.profile-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  min-width: 0;
}
.profile-avatar-feature {
  width: clamp(170px, 16vw, 230px);
  height: clamp(220px, 21vw, 300px);
  margin: 0;
  border-color: var(--line-strong);
  border-radius: 2px;
  box-shadow: none;
}
.profile-avatar-feature img {
  object-fit: cover;
  object-position: center;
}
.profile-card .hero-copy {
  gap: 12px;
  padding-top: 2px;
}
.profile-card .eyebrow {
  margin-top: 3px;
}
.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 4.6vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
.profile-role {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.profile-card .profile-statement {
  max-width: 29ch;
  margin-top: 5px;
  font-size: 1.02rem;
  line-height: 1.65;
}
.profile-highlights {
  display: grid;
  gap: 6px;
  margin: 0.6rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.profile-highlights li {
  position: relative;
  padding-left: 1rem;
}
.profile-highlights li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "—";
}
.profile-card .hero-actions {
  margin-top: 0.3rem;
}
.profile-card .profile-contact {
  gap: 0.55rem;
  margin-top: 0.2rem;
}
.profile-contact .contact-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}
.profile-contact .contact-button:hover {
  transform: translateY(-2px);
}
.profile-contact .contact-button-dark {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.profile-contact .contact-button-dark:hover {
  background: #244738;
}
.profile-contact .contact-button-light {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}
.profile-contact .contact-button-light:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.hero-visual {
  min-height: 390px;
  padding-left: 12px;
}
.screen-stack {
  width: min(95%, 580px);
}
.screen-stack-front {
  top: 82px;
}

/* Profile hero: a single portrait anchor and concise identity copy. */
.section-intro > .eyebrow {
  margin: 0;
  color: var(--accent);
  font: 600 0.7rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-photo {
  overflow: hidden;
  padding: 0;
  background: #8ab7d1 url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAcFBQYFBAcGBgYIBwcICxILCwoKCxYPEA0SGhYbGhkWGRgcICgiHB4mHhgZIzAkJiorLS4tGyIyNTEsNSgsLSz/2wBDAQcICAsJCxULCxUsHRkdLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCz/wgARCABQAFADASIAAhEBAxEB/8QAGgAAAgMBAQAAAAAAAAAAAAAAAwQAAQYFAv/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/aAAwDAQACEAMQAAABSo89PzQQ1gCHoA2aAKy2BYxDiyXWpXSKxRwFmjKGzQGo0TN0rzWxx358alE0ceHHZzkOujRO9mOxlJtldHlNEumpmdabLrF4no71ZlOecKlssnFUO+Xrt14d66SvjXNHXeZNfZLh/8QAIRAAAQQDAQEBAAMAAAAAAAAAAAECAxEEBRITFCIVIzL/2gAIAQEAAQUCoooooooooooooooooooooooyWy1H6OZRRRRRRRyUUUUUUUUULGrDmoKKGYskiN15k47YSjkY1O27WWfL/HhycjFRMVMiFXZEjZTk5Nz+WRNhY/WNc45OTgT/AHycjtlDWwzfrgY1qEGU+CL+RmVI9mhJtE6i2XpO7ZTOSTZTuekMxNGscSNa0XpXM5UY5ylOYmMxybGaB6KmP+fGM2lJl+694HmuP5RnztU+ZBMfl0mL/b8in//EAB0RAAICAwEBAQAAAAAAAAAAAAECABEDEBITICH/2gAIAQMBAT8B+lYoehGYuejtV6NQpTWdLhWrmQDr8i4yDcYdCp5GDGZ5Qwbqf//EACERAAICAwAABwAAAAAAAAAAAAECABEDEiEEEBMUIEFR/9oACAECAQE/AfkyhhRiqFFDzZqFze1oS42ZrqYydew5lPJsE6YPEqZ6yGe4Exq23ZlFjk1aDYfUt/yf/8QAKBAAAQMCBgEEAwEAAAAAAAAAAQACERIhAxAiMTJRQRNAgZFhcXLB/9oACAEBAAY/AvbtOFu07KcWzvZQf2n4lJdEWGcgWWp4+EKcxOwuUOOt3FaXSatV82IRaD0hTNvxnh1h1DpFk7EmcU3a4bJ7jfxPeeyGdg4qkgAVShpRYxre5KsWfSAxRHZQ9Nkt8ysPD9OKigagxAVkDtGQPtAYsXdbIkCQvI+NkR/itU5MNqQ8eU4NNv6XNsrcpjBNmyoWp157XI/a5Fc0DULGU67d1s1f/8QAJBABAAICAQQCAgMAAAAAAAAAAQARITFREEFhcYGhMPFAkbH/2gAIAQEAAT8h/KAGzixyU/hA15u48ozGL2P4QN9+SXDwPaIaxYSlV65yutKzIVvAlFs3teteqm4eI6tgCpnLAWMmAtTWOoQqdsXXeYh2M+jfmNWryR1aARccHEsQFhg+a5iLqGj5deo2AeagVH19PXDd/iqjCSEBv+5lwvzMzIwHcjJEIF1/WJ7JzFgmW7Vnwuke+mBi5XWVruIZAczf+RkFCtRfA8cy2cTVwZcop9o2HkY3N0q3TvUPbklUzEBhvpzKO78x4lPk8/qUi2iC0AnRjxFXQ+k7D6o/oyh2o08xsOzs8xHT/E//2gAMAwEAAgADAAAAEPaVIAL/AIe3MZyp172siBe46qt7/8QAHBEBAQEBAAMBAQAAAAAAAAAAAQARIRAxQSCB/9oACAEDAQE/EI64Tzj+DPsJz7XxsgD7aAaBz+cJIGhsBfFwCTBJmwU239Y4XvZI+H//xAAgEQEAAwABAwUAAAAAAAAAAAABABEhEDFB0SBRobHh/9oACAECAQE/EI5r6WfSYT6RyLLtBAlK79vjghBqOHdMg3fAkquNwHZ7AymxUSJ0z5/IE8iJFEf/xAAjEAEAAgICAgMAAwEAAAAAAAABABEhMUFhUXEQgZGhwdHw/9oACAEBAAE/EG0fj9Z6/H1h0hGkwj0+IkAKvEUCBwlfHWEmc9Y9Y/Ap5YFCqd8kSCGUuji05nr8TrPWHX4mGo043E+J6/Jtqevw9JpqCFNqVq0KRw7fuM8mP0A7HRmVQQQS8mY9YfkdjAkShF8h/mAMbNOXf+T1+LkrtCChdZ8tEIcs+FKvyGb1iCReoiKgTjBNtT1mlCLlJt3EzIDYKAUxYnnwCA71ZncOkekXPBH2B90P5AiAFWZk873iqFvGoSeicAlyq3J/cF4+BzsFBdw0N3+w/uaGJ6RXVFlH8l1MfjNA0lZeFzKiB8Jb+rg6OXe0oFUPUGoKbEa3Vss+QF+Ad7g9vZVnkA+sv5BRCA17wV6hAUcCr83e5Tdb5A2ht4idgqfk6hhuGPLLSZZLzxiDCAWsbO6z9SoBC01Ctnl8j4hYS5LwW4L/AHE1jAqlvL9hBVgpYFH31fuIMQK5dsDN2deofSCl0XeVeuuCY/hiAQfCc/8AcTUfSh37QyUpz+COOxs3yROo6iqTh7uUi47GUtf7TfKRqFIarQf6j1QK0F7QTGdD/J//2Q==") center / cover no-repeat;
}
.brand-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 58%;
}
.hero {
  padding: clamp(44px, 5vw, 66px) 0 clamp(38px, 4vw, 54px);
}
.profile-intro {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}
.profile-intro-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}
.profile-greeting {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}
.profile-intro-copy h1 {
  max-width: 25ch;
  font-size: clamp(1.5rem, 2.25vw, 2rem);
  line-height: 1.48;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}
.profile-contact-list {
  display: grid;
  gap: 5px;
  margin-top: 20px;
}
.profile-contact-list > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
}
.profile-contact-list dt {
  color: var(--accent);
  font: 600 0.62rem/1.5 var(--mono);
}
.profile-contact-list dd {
  min-width: 0;
}
.profile-text-link {
  color: var(--text);
  font: 500 0.72rem/1.5 var(--mono);
  text-decoration: none;
}
.profile-text-link:hover,
.profile-text-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.profile-intro-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d9e5dc;
}
.profile-intro-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(49, 93, 75, 0.18);
  content: "";
}
.profile-intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

/* Experience: resume-like date, company, project, and skill rhythm. */
#experience.section-shell {
  padding-top: 24px;
  padding-bottom: 34px;
}
#experience .section-intro {
  margin-bottom: 18px;
}
#experience .record-item {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
}
.experience-record {
  padding: 25px 0 28px;
}
.experience-record .record-main {
  gap: 10px;
  max-width: none;
}
.experience-record .record-heading {
  gap: 5px 14px;
  padding-bottom: 0;
  border-bottom: 0;
}
.experience-record .record-heading h3 {
  font-size: 1.32rem;
}
.experience-record .record-role {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}
.experience-record .record-groups {
  gap: 17px;
}
.experience-record .record-group {
  padding-top: 0;
  border-top: 0;
}
.experience-record .record-group + .record-group {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.experience-record .record-group h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--text);
  font: 650 0.78rem/1.4 var(--sans);
  letter-spacing: 0;
}
.experience-record .record-group h4::before {
  width: 7px;
  height: 7px;
  background: var(--text);
  border-radius: 1px;
  content: "";
  flex: 0 0 auto;
}
.experience-record .record-bullets {
  gap: 4px;
}
.experience-record .record-bullets li {
  display: block;
  padding-left: 14px;
  font-size: 0.86rem;
  line-height: 1.58;
}
.experience-record .record-bullets li::before {
  display: block;
  top: 0;
  left: 0;
  color: var(--text);
  content: "-";
}
.experience-record .record-bullets li strong,
.experience-record .record-bullets li span {
  display: inline;
}
.experience-record .record-bullets li strong + span::before {
  color: var(--line-strong);
  content: " — ";
}
.experience-record .record-bullets li > span:only-child {
  color: var(--muted);
}
.experience-record .record-skills {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  counter-reset: experience-skill;
}
.experience-record .record-skills li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px;
  font-size: 0.84rem;
  line-height: 1.52;
  counter-increment: experience-skill;
}
.experience-record .record-skills li::before {
  color: var(--text);
  font: 500 0.72rem/1.8 var(--mono);
  content: counter(experience-skill) ".";
}
.experience-record .record-evidence-link {
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.experience-record .record-evidence-link:hover,
.experience-record .record-evidence-link:focus-visible {
  color: var(--text);
}
.experience-record .record-project-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.experience-record .record-project-link:hover,
.experience-record .record-project-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.experience-record .record-actions {
  padding-top: 2px;
}

/* Projects: tabs for navigation, divider-led records for independent units. */
#projects.section-shell {
  padding-top: 30px;
  padding-bottom: 50px;
  border-top: 1px solid var(--line);
}
.projects-intro {
  margin-bottom: 18px;
}
.project-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
  overflow-x: auto;
  border-bottom: 0;
  scrollbar-width: thin;
}
.project-tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font: 600 0.74rem/1.4 var(--mono);
  cursor: pointer;
}
.project-tab:hover,
.project-tab:focus-visible {
  color: var(--text);
}
.project-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.project-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.project-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
  min-width: 0;
  padding: 24px 0 30px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}
.project-card[hidden] {
  display: none;
}
.project-card-media {
  display: block;
  overflow: hidden;
  background: transparent;
}
.project-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  transition: transform 220ms ease;
}
.project-card-media:hover img {
  transform: scale(1.015);
}
.project-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0;
}
.project-card-meta {
  color: var(--accent);
  font: 600 0.63rem/1.4 var(--mono);
  letter-spacing: 0.04em;
}
.project-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}
.project-card-body > p:not(.project-card-meta) {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}
.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.project-card-actions a {
  color: var(--accent);
  font: 600 0.72rem/1.4 var(--mono);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.project-card-actions a:hover,
.project-card-actions a:focus-visible {
  border-bottom-color: var(--accent);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    max-width: 720px;
  }
  .hero-visual {
    max-width: 680px;
  }
  .profile-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-intro-photo {
    order: -1;
    width: min(100%, 640px);
  }
  .profile-intro-copy {
    max-width: 620px;
  }
}
@media (max-width: 760px) {
  .profile-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-avatar-feature {
    width: min(72vw, 260px);
    height: min(92vw, 330px);
  }
  .profile-card .hero-copy {
    gap: 11px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 15vw, 4rem);
  }
  .profile-card .profile-statement {
    max-width: 33ch;
  }
  .profile-highlights {
    font-size: 0.82rem;
  }
  .hero-visual {
    min-height: 330px;
    padding-left: 12px;
  }
  .screen-stack {
    width: 90%;
  }
  .screen-stack-front {
    top: 78px;
  }
  .hero {
    padding-top: 26px;
    padding-bottom: 30px;
  }
  .profile-intro {
    gap: 24px;
  }
  .profile-intro-photo {
    aspect-ratio: 4 / 3;
  }
  .profile-intro-copy h1 {
    max-width: 25ch;
    font-size: clamp(1.35rem, 6.4vw, 1.72rem);
    line-height: 1.5;
  }
  .profile-contact-list {
    margin-top: 14px;
  }
  #experience.section-shell {
    padding-top: 18px;
    padding-bottom: 26px;
  }
  #experience .record-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .experience-record {
    padding: 17px 0 19px;
  }
  #projects.section-shell {
    padding-top: 24px;
    padding-bottom: 38px;
  }
  .project-tabs {
    gap: 18px;
    margin-bottom: 18px;
  }
  .project-card-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-card-body {
    padding: 14px 0 0;
  }
}

.case-hero--title {
  padding: clamp(42px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
}
.case-hero--title h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: -0.08em;
}
.case-hero--title + .case-section {
  border-top: 0;
}
.case-section-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font: 600 0.68rem/1.35 var(--mono);
  letter-spacing: 0.06em;
}
.case-keyword-rows {
  margin-top: 10px;
  border-top: 1px solid var(--line-strong);
}
.case-keyword-rows > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.case-keyword-rows dt {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--text);
  font: 650 0.74rem/1.55 var(--sans);
  letter-spacing: 0;
}
.case-keyword-rows dt::before {
  width: 6px;
  height: 6px;
  margin-top: 0.48em;
  background: var(--accent);
  content: "";
  flex: 0 0 auto;
}
.case-keyword-rows dd {
  margin: 0;
}
.case-keywords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-keywords li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.case-keywords li::before {
  position: absolute;
  left: 0;
  color: var(--line-strong);
  content: "–";
}
@media (max-width: 760px) {
  .case-hero--title {
    padding: 40px 0 28px;
  }
  .case-hero--title h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }
  .case-keyword-rows > div {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 12px 0;
  }
  .case-keywords {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
