/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Design tokens — Dark mode ─────────────────────────────────────────────── */
:root {
  --bg:            #0e0d0b;
  --bg-card:       #141311;
  --bg-elevated:   #1a1917;
  --bg-hover:      #1f1d1a;
  --text:          #ede9e0;
  --text-mid:      #9a9590;
  --text-muted:    #5c5a56;
  --accent:        #a87d4b;
  --accent-light:  #c4985e;
  --accent-navy:   #1e3a5f;
  --border:        #232220;
  --border-light:  #2d2b27;

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', 'Helvetica Neue', Helvetica, sans-serif;
  --max:    1100px;
  --gutter: clamp(24px, 5vw, 80px);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Base ──────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* ─── Scroll reveal ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── Navigation ────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 13, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
nav.scrolled { border-color: var(--border); }

.nav-logo {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ─── Container ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Section utilities ─────────────────────────────────────────────────────── */
section { position: relative; z-index: 1; }

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.8;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
#hero {
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(64px, 10vh, 120px);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 800px;
}
.hero-headline em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: clamp(0.88rem, 1.3vw, 1.0rem);
  font-weight: 300;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
  transition: gap 0.4s var(--ease), color 0.3s, border-color 0.3s;
}
.hero-cta:hover { gap: 20px; color: var(--accent-light); border-color: var(--accent); }
.hero-cta svg { transition: transform 0.4s var(--ease); }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.18;
}
.hero-scroll-indicator span {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: var(--accent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.2); opacity: 0.2; }
}

/* ─── About ─────────────────────────────────────────────────────────────────── */
#about {
  padding: clamp(80px, 14vw, 160px) 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.about-sticky { position: sticky; top: 120px; }

.about-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text);
}
.about-role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-divider {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 28px 0;
  opacity: 0.4;
}

.about-body p {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 22px;
  line-height: 1.82;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { font-weight: 500; color: var(--text); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.tag {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  transition: border-color 0.3s, color 0.3s;
}
.tag:hover { border-color: var(--accent); color: var(--accent-light); }

/* ─── Work ──────────────────────────────────────────────────────────────────── */
#work {
  padding: clamp(80px, 14vw, 160px) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.work-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
.work-count {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.work-filters {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  padding: 7px 16px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  font-family: var(--sans);
}
.filter-btn:hover  { border-color: var(--border-light); color: var(--text-mid); }
.filter-btn.active { border-color: var(--accent); color: var(--accent-light); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.work-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  background: var(--bg-hover);
  z-index: 1;
}
.work-card[data-hidden] { display: none; }

.work-card-number {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--accent);
  opacity: 0.45;
}
.work-card-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
.work-card-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.work-tag {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 9px;
}
.work-card-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.work-action {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
  font-family: var(--sans);
}
.work-action::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.work-action:hover { color: var(--accent-light); }
.work-action:hover::after { width: 100%; }
.work-action:disabled, .work-action[aria-disabled="true"] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.work-wide { grid-column: span 2; }

/* ─── Skills ────────────────────────────────────────────────────────────────── */
#skills {
  padding: clamp(80px, 14vw, 160px) 0;
  border-top: 1px solid var(--border);
}

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.skills-intro-heading {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.skills-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 60px;
}
.skill-button {
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.skill-button:hover,
.skill-button.active {
  color: var(--accent-light);
}
.skill-detail {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  padding: 28px 32px;
}
.skill-detail-label {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.skill-detail h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}
.skill-detail p {
  color: var(--text-mid);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 680px;
}
.skill-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.skill-proof span {
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 8px;
}
.skill-category-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.8;
}
.skill-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.skill-list li {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-list li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  flex-shrink: 0;
}

/* ─── References ────────────────────────────────────────────────────────────── */
#references {
  padding: clamp(80px, 14vw, 160px) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.references-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.references-intro { position: sticky; top: 120px; }
.references-heading {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.references-sub {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.references-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reference-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 36px;
  transition: background 0.35s var(--ease), border-color 0.35s;
}
.reference-card:hover {
  background: var(--bg-hover);
  border-color: var(--border-light);
}
.reference-quote {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 24px;
}
.reference-quote::before { content: '"'; color: var(--accent); opacity: 0.5; margin-right: 2px; }
.reference-quote::after  { content: '"'; color: var(--accent); opacity: 0.5; margin-left: 2px; }
.reference-divider {
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}
.reference-name { font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.reference-meta {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── CV ────────────────────────────────────────────────────────────────────── */
#cv {
  padding: clamp(80px, 14vw, 160px) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.cv-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cv-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 18px;
}
.cv-sub {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.cv-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border-light);
  padding: 13px 26px;
  transition: background 0.4s, border-color 0.4s, gap 0.4s var(--ease);
}
.cv-download:hover {
  background: rgba(168,125,75,0.08);
  border-color: var(--accent);
  gap: 18px;
}

.cv-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
}
.cv-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.cv-line:first-child { padding-top: 0; }
.cv-line:last-child  { border-bottom: none; padding-bottom: 0; }
.cv-line-title {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-mid);
}
.cv-line-date {
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-left: 16px;
}
.cv-line-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Contact ───────────────────────────────────────────────────────────────── */
#contact {
  padding: clamp(80px, 14vw, 160px) 0;
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.contact-heading em { font-style: italic; color: var(--accent); }
.contact-note {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-items { display: flex; flex-direction: column; }
.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.4s var(--ease);
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-item:hover { padding-left: 8px; }
.contact-item-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-item-value {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-mid);
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
footer {
  padding: 26px var(--gutter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.06em; }
.footer-mark { font-family: var(--serif); font-size: 0.82rem; color: var(--text-muted); }

/* ─── Modal ─────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  max-width: 920px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.4s var(--ease);
}
.modal-overlay.open .modal { transform: none; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--text); }
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color 0.3s;
  line-height: 1;
  font-size: 1.1rem;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 28px 32px 32px; }

.modal-caption {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}
.modal-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(168,125,75,0.3);
  padding-bottom: 2px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}
.modal-preview-link:hover { border-color: var(--accent); }

.preview-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.preview-table th {
  text-align: left;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 12px;
}
.preview-table td {
  color: var(--text-mid);
  font-weight: 300;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.preview-table tr:last-child td { border-bottom: none; }
.preview-table tr:hover td { background: var(--bg-hover); }

.preview-slides { display: flex; flex-direction: column; gap: 2px; }
.preview-slide {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  transition: background 0.3s;
}
.preview-slide:hover { background: var(--bg-hover); }
.slide-number { font-size: 0.62rem; color: var(--accent); opacity: 0.45; flex-shrink: 0; width: 20px; }
.slide-title  { font-size: 0.82rem; color: var(--text); font-weight: 400; }
.slide-note   { font-size: 0.72rem; color: var(--text-muted); margin-left: auto; text-align: right; }

.document-preview {
  background: var(--text);
  color: var(--bg);
  padding: 44px 52px;
  font-family: Georgia, serif;
  line-height: 1.7;
}
.document-preview header {
  border-bottom: 1px solid #d3d1c7;
  margin-bottom: 22px;
  padding-bottom: 16px;
}
.document-preview header p {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5a56;
}
.document-preview h3 {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  margin-top: 8px;
}
.document-preview p,
.document-preview li {
  font-size: 0.92rem;
  color: #141311;
}
.document-preview ol {
  margin: 20px 0 0 22px;
}

.deck-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.deck-slide {
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.deck-kicker {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 0.9rem;
  opacity: 0.55;
  margin-bottom: auto;
}
.deck-slide h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.deck-slide p {
  color: var(--text-mid);
  font-size: 0.86rem;
  max-width: 520px;
}
.product-preview {
  display: grid;
  gap: 2px;
  background: var(--border);
}
.product-point {
  background: var(--bg);
  color: var(--text-mid);
  padding: 18px 20px;
  font-size: 0.84rem;
  font-weight: 300;
}

.preview-text {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  white-space: pre-line;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; gap: 48px; }
  .about-sticky     { position: static; }
  .work-grid        { grid-template-columns: 1fr; }
  .work-wide        { grid-column: span 1; }
  .skills-layout    { grid-template-columns: 1fr; gap: 48px; }
  .skills-categories{ grid-template-columns: 1fr 1fr; }
  .references-layout{ grid-template-columns: 1fr; gap: 40px; }
  .references-intro { position: static; }
  .cv-layout        { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout   { grid-template-columns: 1fr; gap: 48px; }
  .nav-links        { display: none; }
}
@media (max-width: 560px) {
  .skills-categories{ grid-template-columns: 1fr; }
  .work-header      { flex-direction: column; align-items: flex-start; gap: 8px; }
}
