/* ============================================================
   Sonja Kozik Portfolio — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --bg:        #FFFFFF;
  --bg-card:   #F7F7F7;
  --ink:       #161616;
  --ink-muted: #787878;
  --accent:    #BE452A;
  --border:    #E4E4E4;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
  --label-w:   200px;
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ─── Password gate ───────────────────────────────────────────────────────── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}
.gate.hidden { display: none; }
.gate-inner { width: 100%; max-width: 400px; padding: 0 24px; }
.gate-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 8px;
}
.gate-sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.gate-input-row { display: flex; gap: 0; border: 1px solid var(--border); }
.gate-input {
  flex: 1;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
}
.gate-input::placeholder { color: var(--ink-muted); }
.gate-btn {
  padding: 14px 20px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gate-btn:hover { opacity: 0.75; }
.gate-error {
  font-size: 12px;
  color: #b94040;
  margin-top: 10px;
  display: none;
}
.gate-error.visible { display: block; }
.gate-back {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.gate-back:hover { color: var(--ink); }

/* ─── Navigation ──────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
nav.scrolled { border-color: var(--border); padding-top: 20px; padding-bottom: 20px; }
.nav-name { font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

/* ─── Layout ──────────────────────────────────────────────────────────────── */
main { padding-top: 140px; padding-bottom: 120px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 48px 0; margin-top: 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-name { font-family: var(--serif); font-size: 15px; font-weight: 300; color: var(--ink-muted); }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a {
  font-size: 11px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 11px; color: var(--ink-muted); }

/* ─── Animation ───────────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 0.7s var(--ease) forwards; }
.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.15s; }
.fade-up:nth-child(3) { animation-delay: 0.25s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}
.page-header h1 {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.discipline {
  font-size: 11px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-muted);
}

/* Featured project */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}
.featured:hover .featured-image img { transform: scale(1.025); }
.featured:hover .featured-arrow { transform: translateX(4px); }
.featured-image { overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.featured-content {
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 48px 52px;
  background: var(--bg-card);
}
.featured-tag { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.featured-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.featured-client { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.featured-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 20px; }
.featured-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.7; max-width: 340px; }
.featured-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); }
.featured-meta { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.04em; }
.featured-arrow { font-size: 18px; color: var(--ink-muted); transition: transform 0.25s var(--ease); }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.work-card { background: var(--bg); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.work-card:hover .work-card-image img { transform: scale(1.03); }
.work-card:hover .work-card-link { color: var(--ink); }
.work-card-image { overflow: hidden; aspect-ratio: 16/9; }
.work-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-card-body { padding: 28px 32px 32px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.work-card-client { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.work-card-title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; margin-bottom: 12px; }
.work-card-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.65; margin-bottom: 24px; }
.work-card-link { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.work-card-link::after { content: '→'; }

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.bio-row { display: grid; grid-template-columns: 1.8fr 1fr; gap: 80px; align-items: stretch; margin-bottom: 80px; }
.photo-frame { width: 100%; background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-muted); }
.photo-placeholder svg { width: 40px; height: 40px; opacity: 0.3; }
.photo-placeholder span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.5; }
.bio-text { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; line-height: 1.6; }

.cv-section { border-top: 1px solid var(--border); padding-top: 64px; }
.cv-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cv-col-label { font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 32px; }

.history-list { display: flex; flex-direction: column; }
.history-item { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.history-item:first-child { border-top: 1px solid var(--border); }
.history-dates { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.04em; padding-top: 4px; white-space: nowrap; }
.history-role { font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; margin-bottom: 3px; }
.history-company { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 10px; }
.history-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.65; }
.history-note { font-size: 12px; color: var(--ink-muted); font-style: italic; margin-top: 8px; opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-intro { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; line-height: 1.6; margin-bottom: 48px; }
.contact-links { display: flex; flex-direction: column; gap: 0; }
.contact-link-item { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--border); transition: opacity 0.2s; }
.contact-link-item:first-child { border-top: 1px solid var(--border); }
.contact-link-item:hover { opacity: 0.6; }
.contact-link-label { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.contact-link-value { font-family: var(--serif); font-size: 20px; font-weight: 400; display: flex; align-items: center; gap: 12px; }
.contact-link-value .arrow { font-size: 16px; color: var(--ink-muted); transition: transform 0.2s var(--ease); }
.contact-link-item:hover .arrow { transform: translateX(4px); }
.contact-note { padding: 40px; background: var(--bg-card); border: 1px solid var(--border); }
.contact-note-label { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; }
.contact-note-text { font-family: var(--serif); font-size: 20px; font-weight: 300; line-height: 1.55; }
.contact-note-sub { margin-top: 20px; font-size: 13px; color: var(--ink-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════════════
   CASE STUDY PAGES — shared
   ═══════════════════════════════════════════════════════════════════════════ */

.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 56px; transition: color 0.2s; }
.back-link:hover { color: var(--ink); }

.cs-meta { display: flex; gap: 48px; margin-bottom: 20px; }
.cs-meta-label { font-size: 10px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 4px; }
.cs-meta-value { font-size: 13px; }
.cs-title { font-family: var(--sans); font-size: clamp(36px, 5vw, 58px); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 48px; }

.cs-note { background: var(--bg-card); border: 1px solid var(--border); padding: 16px 20px; font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 40px; }

.cs-hero { width: 100%; aspect-ratio: 16/7; background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.cs-hero img { width: 100%; height: 100%; object-fit: cover; }

/* Summary strip — used on TELUS pages */
.summary-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-top: none; margin-bottom: 80px; }
.summary-cell { padding: 28px 32px; border-right: 1px solid var(--border); }
.summary-cell:last-child { border-right: none; }
.summary-cell-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 8px; }
.summary-cell-text { font-size: 13px; line-height: 1.6; }

/* Hero without strip — used on agency pages */
.cs-hero.standalone { margin-bottom: 80px; }

/* Two-column editorial section row */
.cs-row { display: grid; grid-template-columns: var(--label-w) 1fr; gap: 0 48px; padding: 56px 0; border-top: 1px solid var(--border); }
.cs-row:last-of-type { border-bottom: 1px solid var(--border); }
.cs-row-label { font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 4px; }

.cs-body { font-size: 15px; line-height: 1.75; }
.cs-body p + p { margin-top: 20px; }

.callout { border-left: 3px solid var(--ink); padding: 18px 24px; background: var(--bg-card); margin: 28px 0; }
.callout p { font-size: 15px; line-height: 1.65; }
.callout strong { font-weight: 500; }

/* Images */
.cs-image { border: 1px solid var(--border); background: var(--bg-card); overflow: hidden; margin-top: 28px; }
.cs-image img { width: 100%; display: block; }
.cs-image-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 64px 32px; color: var(--ink-muted); text-align: center; }
.ph-label { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.45; }
.cs-image-caption { font-size: 12px; color: var(--ink-muted); padding: 12px 16px; border-top: 1px solid var(--border); background: var(--bg); }

.cs-image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.cs-image-pair .cs-image { margin-top: 0; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; margin-top: 24px; }
.process-step { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: start; }
.process-step:first-child { border-top: 1px solid var(--border); }
.step-num { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-muted); flex-shrink: 0; }
.step-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.step-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.65; }

/* Concept comparison */
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 28px; }
.concept-col { background: var(--bg); padding: 24px; }
.concept-col-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.concept-image { background: var(--bg-card); border: 1px solid var(--border); margin-bottom: 14px; overflow: hidden; }
.concept-image .cs-image-placeholder { padding: 40px 16px; }
.concept-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.concept-col ul li { font-size: 13px; color: var(--ink-muted); padding-left: 14px; position: relative; line-height: 1.5; }
.concept-col ul li::before { content: '—'; position: absolute; left: 0; color: var(--border); }

/* Results grid */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 28px; }
.result-card { background: var(--bg); padding: 22px; border-left: 2px solid var(--border); }
.result-card.positive { border-left-color: var(--ink); }
.result-card p { font-size: 13px; line-height: 1.6; color: var(--ink-muted); }

/* Results list (mood tracker) */
.results-list { margin-top: 24px; display: flex; flex-direction: column; }
.result-row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.result-row:first-child { border-top: 1px solid var(--border); }
.result-row::before { content: '→'; color: var(--ink-muted); flex-shrink: 0; }

/* Quote */
.cs-quote { border-left: 3px solid var(--border); padding: 16px 24px; margin: 28px 0; }
.cs-quote p { font-family: var(--serif); font-size: 19px; font-weight: 300; line-height: 1.55; font-style: italic; }
.cs-quote cite { display: block; margin-top: 10px; font-size: 12px; font-style: normal; color: var(--ink-muted); letter-spacing: 0.04em; }

/* Screen flows */
.screen-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.screen-image { background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; aspect-ratio: 9/16; display: flex; align-items: center; justify-content: center; }
.screen-image img { width: 100%; height: 100%; object-fit: contain; }
.screen-image .ph-label { font-size: 10px; padding: 0 8px; }
.screen-caption { font-size: 11px; color: var(--ink-muted); margin-top: 8px; line-height: 1.4; }

/* Iteration row */
.iteration-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 28px; }
.iteration-col { background: var(--bg); padding: 20px; }
.iteration-col-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.iteration-image { background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.iteration-image .cs-image-placeholder { padding: 32px 12px; }

/* Failure cards */
.failure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.failure-card { border: 1px solid var(--border); border-top: 2px solid var(--ink); padding: 22px; }
.failure-card.partial { border-top-color: var(--ink-muted); }
.failure-card-title { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.failure-card-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 12px; }
.failure-metric { font-size: 12px; color: var(--ink-muted); }
.failure-metric.bad { color: #b94040; }
.failure-metric.good { color: #3a7a56; }

/* Conclusion list */
.conclusion-list { display: flex; flex-direction: column; margin-top: 24px; }
.conclusion-item { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); align-items: start; }
.conclusion-item:first-child { border-top: 1px solid var(--border); }
.conclusion-num { font-family: var(--serif); font-size: 18px; font-weight: 300; color: var(--ink-muted); padding-top: 1px; }
.conclusion-text { font-size: 14px; line-height: 1.7; }

/* Beta rows (TMH) */
.beta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 40px; }
.beta-row + .beta-row { padding-top: 32px; border-top: 1px solid var(--border); }
.beta-image { background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.beta-image .cs-image-placeholder { padding: 48px 16px; }
.beta-text-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.beta-text p { font-size: 14px; line-height: 1.7; color: var(--ink-muted); }
.beta-text p + p { margin-top: 12px; }
.beta-text .flag { font-size: 12px; color: #b94040; margin-top: 12px; }

/* Recommendation rows (Spotify) */
.rec-list { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }
.rec-item { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; padding: 36px 0; border-top: 1px solid var(--border); }
.rec-item:last-child { border-bottom: 1px solid var(--border); }
.rec-screens { display: flex; gap: 8px; }
.rec-screens .screen { flex: 1; background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.rec-screens .screen .cs-image-placeholder { padding: 40px 8px; }
.rec-caption { font-size: 11px; color: var(--ink-muted); margin-top: 8px; letter-spacing: 0.02em; }
.pain-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: #FFF0F0; border: 1px solid #F5D0D0; color: #b94040; padding: 4px 10px; display: inline-block; margin-bottom: 10px; }
.rec-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: #F0F7F2; border: 1px solid #C8E0CE; color: #3a7a56; padding: 4px 10px; display: inline-block; margin-bottom: 10px; margin-top: 16px; }
.rec-text { font-size: 13px; color: var(--ink-muted); line-height: 1.65; }
.rec-text ol { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.rec-text ol li { font-size: 13px; color: var(--ink-muted); line-height: 1.55; }

/* Before/after (AV) */
.screen-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.screen-trio .cs-image { margin-top: 0; }
.screen-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.screen-pair .cs-image { margin-top: 0; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 28px; }
.ba-col { background: var(--bg); padding: 20px 24px; }
.ba-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ba-list li { font-size: 13px; color: var(--ink-muted); padding-left: 14px; position: relative; line-height: 1.5; }
.ba-list li::before { content: '—'; position: absolute; left: 0; color: var(--border); }

/* Next project link */
.next-project { display: flex; align-items: center; justify-content: space-between; padding: 48px 0; margin-top: 48px; border-top: 1px solid var(--border); transition: opacity 0.2s; }
.next-project:hover { opacity: 0.6; }
.next-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.next-title { font-family: var(--serif); font-size: 28px; font-weight: 300; }
.next-arrow { font-size: 28px; color: var(--ink-muted); }

/* Page header (about, contact) */
.page-header-meta { text-align: right; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 800px) {
  nav { padding: 20px 24px; }
  .container { padding: 0 24px; }
  main { padding-top: 110px; }

  /* Home */
  .page-header { flex-direction: column; gap: 12px; }
  .page-header-meta { text-align: left; }
  .featured { grid-template-columns: 1fr; }
  .featured-image { aspect-ratio: 16/9; }
  .featured-content { padding: 32px 28px; }
  .work-grid { grid-template-columns: 1fr; }

  /* About */
  .bio-row { grid-template-columns: 1fr; gap: 40px; }
  .photo-frame { max-width: 260px; aspect-ratio: 1/1; }
  .cv-columns { grid-template-columns: 1fr; gap: 48px; }
  .history-item { grid-template-columns: 72px 1fr; }

  /* Contact */
  .contact-body { grid-template-columns: 1fr; gap: 48px; }

  /* Case studies */
  .cs-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .cs-row-label { padding-top: 0; }
  .summary-strip { grid-template-columns: 1fr; }
  .summary-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .summary-cell:last-child { border-bottom: none; }
  .concept-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .cs-image-pair { grid-template-columns: 1fr; }
  .screen-flow { grid-template-columns: repeat(2, 1fr); }
  .iteration-row { grid-template-columns: 1fr; }
  .failure-grid { grid-template-columns: 1fr; }
  .beta-row { grid-template-columns: 1fr; }
  .rec-item { grid-template-columns: 1fr; }
  .screen-trio { grid-template-columns: 1fr; }
  .screen-pair { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .next-project { flex-direction: column; align-items: flex-start; gap: 16px; }
}
