/* ===== Ultra-Minimal Apple Editorial ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: #e5e5e7;
  --hairline: rgba(0, 0, 0, 0.08);
  --line-soft: #ececef;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-faint: #86868b;
  --text-on-dark: #a1a1a6;
  --dark: #1d1d1f;
  --dark-border: #424245;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --accent-soft-strong: rgba(0, 113, 227, 0.14);
  --accent-border: rgba(0, 113, 227, 0.2);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 980px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1040px;
  --header-h: 52px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pdf-btn {
  appearance: none;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pdf-btn:hover {
  border-color: var(--text-faint);
  background: var(--bg-alt);
}
.pdf-btn-short {
  display: none;
}

.logo {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.04em;
}
.logo:hover {
  color: var(--text);
  text-decoration: none;
  opacity: 0.7;
}
.logo-dot {
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 0.25rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.site-nav a[aria-current="true"] {
  color: var(--text);
  font-weight: 600;
}
.site-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 7rem) 0 6rem;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.hero-inner {
  max-width: var(--max);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

.tagline {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
  color: var(--text);
}

.hero-summary {
  margin: 0 0 2.75rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.hero-summary strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover {
  background: #000;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-faint);
}
.btn-text {
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  padding-inline: 1rem;
}
.btn-text::after {
  content: "↗";
  margin-left: 0.3rem;
  font-size: 0.85em;
}
.btn-text:hover {
  color: var(--text);
}

/* ===== Sections ===== */
.section {
  padding: 7rem 0;
}
.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 3.5rem;
}
.section-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
}
.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 5rem 0 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.subsection-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.section-head + .subsection-title {
  margin-top: 0;
}

.eyebrow-label {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.magazine-featured .eyebrow-label {
  color: var(--accent);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.25s ease;
}

.card-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.about-intro {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  margin-bottom: 0;
}
.about-body {
  display: grid;
  gap: 0;
}
.magazine-block {
  padding: 2rem 0;
  border-top: 1px solid var(--line-soft);
}
.magazine-block:first-child {
  padding-top: 0;
  border-top: 0;
}
.magazine-block h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.magazine-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.magazine-featured {
  padding-bottom: 2.25rem;
}
.magazine-featured h3 {
  font-size: 1.625rem;
}
.about-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-soft);
}
.about-pair .magazine-block {
  padding: 0;
  border-top: 0;
}
.magazine-period {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-strong);
}
.timeline-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.35rem;
}
.timeline-meta time {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}
.timeline-item:first-child .timeline-meta time {
  color: var(--accent);
}
.badge {
  padding: 0.15rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
}
.timeline-body h3 {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.timeline-body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}
.timeline-body li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}
.timeline-body li:last-child {
  margin-bottom: 0;
}
.timeline-body li::marker {
  color: var(--text-faint);
}
.timeline-body li strong {
  color: var(--text);
  font-weight: 600;
}

.role-block {
  margin-bottom: 0.75rem;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
}
.role-block:last-child {
  margin-bottom: 0;
}
.role-current {
  border-color: var(--accent-border);
  box-shadow: inset 3px 0 0 var(--accent);
}
.role-block h4 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}
.role-period {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-faint);
}

/* Featured case */
.featured-case {
  margin-bottom: 1.25rem;
  padding: 2.75rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
}
.featured-body .case-header {
  margin-bottom: 1rem;
}
.featured-body h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3.2vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.featured-body > p {
  max-width: 46rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.featured-body > p strong {
  color: var(--text);
  font-weight: 600;
}
.featured-func {
  margin: 2.25rem 0 2rem;
}
.featured-func-title {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.case-features-rich {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-features-rich li {
  margin: 0;
  padding: 1.25rem 1.35rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 14px;
}
.case-features-rich li strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.975rem;
  color: var(--text);
}
.br-md {
  display: none;
}

.case-grid-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.magazine-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
.magazine-card .case-header {
  margin-bottom: 0.4rem;
}
.magazine-card .eyebrow-label {
  margin-bottom: 0.4rem;
}
.magazine-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.magazine-card p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.magazine-card .tags {
  margin-top: auto;
}

.case-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.case-period {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}
.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-weight: 600;
  font-size: 0.925rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  padding: 0.22rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 6px;
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
  color: inherit;
  text-decoration: none;
}
.project-featured {
  border-color: var(--accent-border);
}
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.project-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.project-period {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.project-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.project-features {
  margin: 0 0 1.25rem;
  padding: 0.9rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.project-features li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.35rem;
}
.project-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
}
.project-card .tags {
  margin: 0 0 1.25rem;
}
.project-card .tag {
  font-size: 0.6875rem;
}
.project-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  transition: color 0.2s ease;
}
.project-card:hover .project-link {
  color: var(--accent);
}

/* KnowsLink card: media + article (video cannot nest in <a>) */
.project-card-media {
  cursor: default;
}
.project-card-media .project-link {
  text-decoration: none;
  color: var(--text-faint);
  display: inline-block;
}
.project-card-media .project-link:hover {
  color: var(--accent);
}
.case-video {
  margin: 0 0 1rem;
  width: 100%;
}
.case-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0.65rem;
  background: #070b14;
  border: 1px solid var(--line-soft);
}
.case-video figcaption {
  margin-top: 0.45rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.4;
}


.project-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.visibility-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  line-height: 1.5;
  white-space: nowrap;
}
.visibility-badge.is-private {
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
}
.visibility-badge.is-public {
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.repo-mono {
  display: inline;
  margin-left: 0.25rem;
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: -0.02em;
}
.repo-mono-block {
  display: block;
  margin: -0.3rem 0 0.6rem !important;
  font-size: 0.75rem !important;
  color: var(--text-faint) !important;
}

/* Skills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.skills-list li {
  padding: 0.5rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: border-color 0.2s ease;
}
.skills-list li:hover {
  border-color: var(--text-faint);
}

/* Awards */
.awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
}
.awards-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2.5rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.award-year {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.award-name {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Contact */
.section-contact {
  padding: 8rem 0;
  background: var(--dark);
  color: #fff;
}
.contact-inner {
  text-align: left;
}
.contact-headline {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.contact-lead {
  margin: 0 0 3rem;
  color: var(--text-on-dark);
  font-size: 1.125rem;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.4rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: #6e6e73;
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--dark-border);
  padding: 2rem 0;
  color: var(--text-faint);
  font-size: 0.75rem;
  background: var(--dark);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--text-faint);
  text-decoration: none;
  font-weight: 500;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-intro {
    position: static;
    margin-bottom: 3rem;
  }
  .about-pair {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .case-grid-editorial,
  .case-features-rich {
    grid-template-columns: 1fr;
  }
  .timeline-item,
  .awards-list li {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .timeline-meta {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }
  .awards-list li {
    gap: 0.25rem;
  }
}

@media (max-width: 800px) {
  .hero {
    padding: calc(var(--header-h) + 4rem) 0 4rem;
  }
  .section {
    padding: 5rem 0;
  }
  .section-head {
    margin-bottom: 2.5rem;
  }
  .section-contact {
    padding: 5.5rem 0;
  }
  .subsection-title {
    margin-top: 3.5rem;
  }
  .featured-case {
    padding: 1.75rem 1.5rem;
  }
  .magazine-card {
    padding: 1.6rem;
  }

  .header-tools {
    gap: 0.5rem;
  }
  .pdf-btn-full {
    display: none;
  }
  .pdf-btn-short {
    display: inline;
  }
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    display: none;
    box-shadow: var(--shadow-hover);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }
  .site-nav a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav li:last-child a {
    border-bottom: 0;
  }
  .site-nav a[aria-current="true"]::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 2rem, var(--max));
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .contact-list {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-list a {
    display: flex;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .project-card,
  .btn,
  .card {
    transition: none;
  }
  .project-card:hover {
    transform: none;
  }
}

/* ===== Slide PDF ===== */
@page {
  size: 13.333in 7.5in;
  margin: 0;
}

.print-deck {
  display: none;
}

@media print {
  body > :not(.print-deck) {
    display: none !important;
  }

  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    width: 13.333in;
  }

  .print-deck {
    display: block !important;
    counter-reset: deckslide;
    width: 13.333in;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: var(--font);
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-deck h1,
  .print-deck h2,
  .print-deck h3,
  .print-deck p,
  .print-deck ul {
    margin: 0;
    padding: 0;
  }

  .print-deck a {
    color: var(--accent);
    text-decoration: none;
  }

  .slide {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 13.333in;
    height: 7.5in;
    margin: 0;
    padding: 0.52in 0.68in 0.36in;
    overflow: hidden;
    background: #fff;
    counter-increment: deckslide;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .slide + .slide {
    break-before: page;
    page-break-before: always;
  }

  .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent);
  }

  .slide-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .slide-kicker,
  .slide-eyebrow {
    font-size: 0.13in;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .slide-kicker {
    margin-bottom: 0.08in;
  }

  .slide-head {
    flex: none;
    margin-bottom: 0.22in;
  }

  .slide-title {
    font-size: 0.36in;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--text);
  }

  .slide-foot {
    position: relative;
    z-index: 1;
    flex: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.2in;
    margin-top: 0.16in;
    padding-top: 0.1in;
    border-top: 1px solid var(--hairline);
    background: #fff;
    font-size: 0.13in;
    color: var(--text-faint);
  }

  .slide-foot-num::before {
    content: counter(deckslide, decimal-leading-zero);
  }

  .slide-cover .slide-body {
    justify-content: center;
  }

  .slide-eyebrow {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.32in;
    padding: 0.07in 0.16in;
    letter-spacing: 0.08em;
    background: var(--bg-alt);
    border-radius: 999px;
  }

  .slide-name {
    font-size: 0.86in;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
  }

  .slide-tagline {
    margin-top: 0.2in;
    font-size: 0.3in;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.35;
    color: var(--text-muted);
  }

  .slide-summary {
    max-width: 11in;
    margin-top: 0.28in;
    font-size: 0.175in;
    line-height: 1.55;
    color: var(--text-muted);
  }

  .slide-summary strong,
  .deck-role strong,
  .deck-copy strong {
    color: var(--text);
    font-weight: 600;
  }

  .cover-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.08in 0.28in;
    margin-top: 0.32in;
    list-style: none;
    font-size: 0.16in;
    font-weight: 600;
  }

  .deck-sub {
    margin-top: 0.08in;
    font-size: 0.16in;
    color: var(--text-muted);
  }

  .deck-quad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 0.28in 0.4in;
  }

  .deck-quad article {
    padding-top: 0.14in;
    border-top: 1px solid var(--border-strong);
  }

  .deck-quad h3,
  .deck-funcs h3 {
    margin-bottom: 0.06in;
    font-size: 0.18in;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
  }

  .deck-quad p,
  .deck-copy,
  .deck-case p,
  .deck-card p,
  .deck-funcs p,
  .deck-role li {
    color: var(--text-muted);
    line-height: 1.45;
  }

  .deck-quad p,
  .deck-funcs p {
    font-size: 0.15in;
  }

  .deck-focus {
    border-top-color: var(--accent-border);
  }

  .deck-roles {
    display: flex;
    flex-direction: column;
    gap: 0.14in;
  }

  .deck-role {
    padding: 0.16in 0.2in;
    border: 1px solid var(--border-strong);
    border-radius: 0.14in;
  }

  .deck-role-current {
    border-color: var(--accent-border);
    background: rgba(0, 113, 227, 0.04);
  }

  .deck-role h3,
  .deck-case h3,
  .deck-card h3,
  .deck-split h3 {
    font-size: 0.18in;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
  }

  .deck-period {
    display: block;
    margin: 0.04in 0 0.08in;
    font-size: 0.14in;
    font-weight: 400;
    color: var(--text-muted);
  }

  .deck-role h3 .deck-period {
    display: inline;
    margin-left: 0.08in;
  }

  .deck-role ul,
  .deck-card ul {
    margin-top: 0.08in;
    padding-left: 0.18in;
    font-size: 0.145in;
  }

  .deck-role li + li,
  .deck-card li + li {
    margin-top: 0.05in;
  }

  .deck-past {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.28in 0.32in;
    align-content: start;
  }

  .deck-copy {
    font-size: 0.165in;
  }

  .deck-funcs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.14in 0.32in;
    margin-top: 0.18in;
  }

  .deck-funcs article {
    padding-top: 0.1in;
    border-top: 1px solid var(--border-strong);
  }

  .deck-tags {
    margin-top: 0.14in;
    font-size: 0.135in;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
  }

  .deck-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.08in 0.24in;
    margin-top: 0.1in;
    font-size: 0.15in;
    font-weight: 600;
  }

  .deck-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.36in;
    align-content: start;
  }

  .deck-case {
    padding-top: 0.04in;
    border-top: 1px solid var(--border-strong);
  }

  .deck-case h3 {
    margin: 0.08in 0;
    font-size: 0.24in;
  }

  .deck-case p {
    font-size: 0.16in;
  }

  .deck-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.16in;
    align-items: stretch;
  }

  .deck-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.16in 0.16in 0.14in;
    border: 1px solid var(--border-strong);
    border-radius: 0.14in;
  }

  .deck-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.08in;
  }

  .deck-card-top span,
  .deck-mono {
    flex: none;
    font-size: 0.12in;
    color: var(--text-muted);
  }

  .deck-mono {
    display: block;
    margin-top: 0.02in;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  }

  .deck-card h3 {
    font-size: 0.16in;
  }

  .deck-card p {
    margin-top: 0.06in;
    font-size: 0.13in;
  }

  .deck-card ul {
    font-size: 0.12in;
  }

  .deck-card .deck-tags {
    margin-top: 0.08in;
    font-size: 0.115in;
  }

  .deck-repo {
    margin-top: auto;
    padding-top: 0.1in;
    font-size: 0.115in;
    font-weight: 600;
  }

  .deck-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.36in;
  }

  .deck-split h3 {
    font-size: 0.2in;
  }

  .deck-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.07in;
    margin-top: 0.14in;
    list-style: none;
  }

  .deck-pills li {
    padding: 0.05in 0.12in;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #fff;
    font-size: 0.14in;
    font-weight: 500;
  }

  .deck-awards {
    margin-top: 0.04in;
    list-style: none;
  }

  .deck-awards li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.14in;
    padding: 0.08in 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.145in;
    line-height: 1.35;
  }

  .deck-awards .year {
    flex: none;
    color: var(--text-muted);
  }

  .deck-awards li span:last-child {
    text-align: right;
  }

  .slide-contact {
    background: var(--dark);
    color: #fff;
  }

  .slide-contact .slide-body {
    justify-content: center;
  }

  .slide-contact .slide-kicker {
    color: #8ebfff;
  }

  .slide-contact .slide-title {
    font-size: 0.58in;
    color: #fff;
    letter-spacing: -0.045em;
  }

  .slide-lead {
    margin-top: 0.14in;
    font-size: 0.2in;
    color: var(--text-on-dark);
  }

  .deck-contact {
    margin-top: 0.32in;
    list-style: none;
  }

  .deck-contact li + li {
    margin-top: 0.1in;
  }

  .deck-contact a {
    color: #fff;
    font-size: 0.26in;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .slide-contact .slide-foot {
    border-top-color: var(--dark-border);
    background: var(--dark);
    color: var(--text-on-dark);
  }
}
