/* ==========================================================================
   William Dean Hinsch — Portrait Artist
   Brand tokens: cream #FAF7F0, ink #2A2118, oxblood #6B2028, gold #B8935A
   Display: Playfair Display | Body: Source Serif 4
   ========================================================================== */

:root {
  --cream: #FAF7F0;
  --cream-deep: #F1EBDC;
  --ink: #2A2118;
  --ink-soft: #4A4034;
  --oxblood: #6B2028;
  --oxblood-deep: #3F1015;
  --gold: #B8935A;
  --gold-light: #D8BE7E;
  --border-hairline: #E3DBC8;
  --max-width: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 28px 40px;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li { margin-left: 36px; }
.nav-links li:first-child { margin-left: 0; }
.nav-links a {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; border-bottom: 1px solid var(--gold-light); }

/* ---------- Mobile Nav Toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin: -8px;
  cursor: pointer;
  z-index: 25;
  position: relative;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.55);
  z-index: 19;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-overlay.active { display: block; opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 980px;
  width: 100%;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 20%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,10,0.15) 0%, rgba(20,10,10,0.05) 40%, rgba(20,10,10,0.55) 100%);
}
.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 40px 72px;
  z-index: 5;
}
.hero-content .container { padding: 0; }
.hero-eyebrow {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Source Serif 4', serif;
}
.hero-title {
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  margin-bottom: 18px;
  max-width: 760px;
}
.hero-tagline {
  color: #F1EBDC;
  font-size: 20px;
  font-style: italic;
  max-width: 520px;
  margin-bottom: 34px;
  font-family: 'Source Serif 4', serif;
}
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background 0.25s, color 0.25s;
}
.btn-light {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-solid {
  background: var(--oxblood);
  color: #fff;
  border-color: var(--oxblood);
}
.btn-solid:hover { background: var(--oxblood-deep); border-color: var(--oxblood-deep); }

/* ---------- Section shared ---------- */
section { padding: 100px 0; }
.section-label {
  color: var(--oxblood);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Source Serif 4', serif;
}
.section-heading {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 20px;
}
.section-intro {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 640px;
}

/* ---------- Credibility Strip ---------- */
.credibility {
  background: var(--cream-deep);
  padding: 76px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.credibility-header {
  text-align: center;
  margin-bottom: 48px;
}
.credibility-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  max-width: 680px;
  margin: 0 auto;
}
.credibility-intro {
  text-align: center;
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.credibility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cred-link {
  width: 12%;
  min-width: 110px;
  margin: 0 1.5% 24px;
}
.cred-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(43,24,20,0.14);
  transition: transform 0.3s;
}
.cred-item:hover { transform: translateY(-6px); }
.cred-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cred-caption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 12px;
  letter-spacing: 0.03em;
}
.credibility-footer {
  text-align: center;
  margin-top: 44px;
}
.credibility-footer a {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 4px;
}

/* ---------- NASA Feature ---------- */
.nasa-feature {
  padding: 120px 0;
}
.nasa-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.nasa-image {
  position: relative;
}
.nasa-image img {
  width: 100%;
  box-shadow: 0 24px 60px rgba(43,24,20,0.22);
}
.nasa-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--oxblood);
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin: 32px 0;
}
.nasa-quote-attr {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
}
.nasa-text p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 17px;
}
.nasa-secondary-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border-hairline);
}
.nasa-secondary-line img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 20px;
}
.nasa-secondary-line .cap {
  font-size: 14px;
  color: var(--ink-soft);
}
.nasa-secondary-line .cap a {
  color: var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
}

/* ---------- Case Studies Feature (Homepage) ---------- */
.case-feature {
  padding: 120px 0;
  background: var(--cream-deep);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

/* ---------- Gallery Preview ---------- */
.gallery-preview { background: var(--cream-deep); }
.gallery-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #000;
  width: 23.5%;
  margin: 0 2% 24px 0;
}
.gallery-item:nth-child(4n) { margin-right: 0; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,10,10,0.7) 0%, rgba(20,10,10,0) 45%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
}
.gallery-cta { text-align: center; margin-top: 56px; }

/* ---------- Closing CTA ---------- */
.closing-cta {
  background: var(--oxblood);
  background: linear-gradient(160deg, var(--oxblood) 0%, var(--oxblood-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 120px 0;
}
.closing-cta .section-label { color: var(--gold-light); }
.closing-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 52px);
  max-width: 720px;
  margin: 0 auto 24px;
}
.closing-cta p {
  color: #E9DFC8;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.closing-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.closing-cta-actions .btn { margin: 0 10px; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #C9BFA9;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  font-size: 13px;
  color: #8A8072;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Interior Nav (solid, non-hero pages) ---------- */
.site-nav--solid {
  position: relative;
  background: var(--ink);
  padding: 22px 40px;
}
.site-nav--solid .nav-links a.active {
  color: var(--gold-light);
  opacity: 1;
  border-bottom: 1px solid var(--gold-light);
}

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  background: var(--cream-deep);
  padding: 80px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-hairline);
}
.page-header .section-label,
.page-header .section-intro { margin-left: auto; margin-right: auto; }
.page-header .section-intro { max-width: 640px; }
.page-header h1 { margin-bottom: 20px; }

/* ---------- Gallery Sections (continuous scroll, anchor-linked) ---------- */
.gallery-section { padding: 88px 0; }
.gallery-section--alt { background: var(--cream-deep); }
.gallery-section .section-heading { margin-bottom: 12px; }
.gallery-section .section-intro { margin-bottom: 40px; }

/* ---------- Full Gallery Grid ---------- */
.full-gallery { padding: 64px 0 100px; }
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.full-gallery-grid--narrow {
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Institutional 3-Tier Layout ---------- */
.institutional-tiers {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.institutional-tier {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.institutional-tier--top {
  display: block;
  max-width: 280px;
  margin: 0 auto;
}
.institutional-tier--mid,
.institutional-tier--bottom {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}
.fg-item {
  display: flex;
  flex-direction: column;
}
.fg-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #000;
}
.fg-item figcaption {
  margin-top: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--ink);
  text-align: center;
}
.fg-credit {
  display: block;
  margin-top: 4px;
  font-family: 'Source Serif 4', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
}
.fg-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  border: 1px dashed var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.fg-placeholder span {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
  padding: 0 16px;
}

/* ---------- Lightbox ---------- */
.fg-item { cursor: zoom-in; }
.fg-item img { transition: opacity 0.2s; }
.fg-item:hover img { opacity: 0.88; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 60px;
}
.lightbox.active { display: flex; }
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-caption {
  color: #F1EBDC;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 20px;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 600px) {
  .lightbox { padding: 24px; }
  .lightbox-nav { font-size: 36px; padding: 10px; }
  .lightbox-close { top: 14px; right: 16px; font-size: 32px; }
  .lightbox-caption { font-size: 15px; margin-top: 14px; }
}

/* ---------- Bio Intro ---------- */
.bio-intro { padding: 88px 0 100px; }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.bio-photo { max-width: 780px; margin: 0 auto; }
.bio-photo img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 24px 60px rgba(43,24,20,0.22);
}
.bio-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  border: 1px dashed var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bio-photo-placeholder span {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
  padding: 0 16px;
}
.bio-text { max-width: 760px; }
.bio-text p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 20px;
}
.bio-text p:last-child { margin-bottom: 0; }

/* ---------- Interview Page ---------- */
.interview-intro { padding: 88px 0 40px; }
.interview-portrait {
  max-width: 460px;
  margin: 0 auto 40px;
}
.interview-portrait img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 50px rgba(43,24,20,0.22);
}
.interview-portrait-cap {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
  letter-spacing: 0.03em;
}
.interview-source {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.75;
  margin-top: 6px;
}
.interview-qa { padding: 0 0 100px; }
.interview-qa-inner { max-width: 720px; margin: 0 auto; }
.interview-block { margin-bottom: 44px; }
.interview-block:last-child { margin-bottom: 0; }
.interview-question {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--oxblood);
  margin-bottom: 14px;
  line-height: 1.35;
}
.interview-answer p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 16px;
}
.interview-answer p:last-child { margin-bottom: 0; }

/* ---------- Case Studies Page ---------- */
.case-study { padding: 96px 0; }
.case-study--alt { background: var(--cream-deep); }
.case-study-title { margin-bottom: 40px; }
.case-hero { max-width: 900px; margin: 0 auto 48px; }
.case-hero img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 24px 60px rgba(43,24,20,0.22);
}
.case-hero-cap {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
  letter-spacing: 0.03em;
}
.case-parts { max-width: 760px; margin: 0 auto; }
.case-part { margin-bottom: 36px; }
.case-part:last-child { margin-bottom: 0; }
.case-part-label {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--oxblood);
  margin-bottom: 10px;
}
.case-part-text {
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- Contact Page ---------- */
.contact-section { padding: 88px 0 110px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-panel {
  background: var(--cream-deep);
  padding: 48px;
  border: 1px solid var(--border-hairline);
}
.form-group { margin-bottom: 22px; }
.form-group:last-of-type { margin-bottom: 28px; }
.form-label {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-hairline);
  padding: 12px 14px;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--oxblood);
  border: none;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--oxblood-deep); }
.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.8;
  margin-top: -6px;
  margin-bottom: 22px;
}
.form-success {
  background: var(--oxblood);
  color: #fff;
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: 15px;
}
.form-error {
  background: #fff;
  color: var(--oxblood);
  border: 1px solid var(--oxblood);
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: 15px;
}
.contact-info-panel { padding-top: 8px; }
.contact-info-item { margin-bottom: 32px; }
.contact-info-label {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.contact-info-value {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--ink);
}
.contact-info-value a { color: var(--oxblood); }
.contact-info-value a:hover { border-bottom: 1px solid var(--oxblood); }

/* ---------- Career Timeline ---------- */
.bio-timeline {
  background: var(--cream-deep);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}
.timeline-item {
  border-top: 3px solid var(--gold);
  padding-top: 22px;
}
.timeline-year {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--oxblood);
  margin-bottom: 14px;
}
.timeline-year--label { font-size: 20px; }
.timeline-item p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Notable Clients ---------- */
.bio-clients { padding: 100px 0; }
.clients-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  margin: 40px 0 28px;
  border-top: 1px solid var(--border-hairline);
}
.clients-list li {
  width: 33.333%;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--ink);
}
.clients-footnote {
  color: var(--ink-soft);
  font-size: 15px;
}
.clients-footnote a {
  color: var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
}

/* ---------- Home & Family ---------- */
.bio-family {
  background: var(--cream-deep);
  border-top: 1px solid var(--border-hairline);
}
.bio-family-inner { max-width: 680px; }
.bio-family-inner p { color: var(--ink-soft); font-size: 18px; }

/* ---------- Memorial Stories ---------- */
.memorial-story { padding: 96px 0; }
.memorial-story--alt { background: var(--cream-deep); }
.memorial-story .section-heading { margin-bottom: 40px; }
.story-layout { max-width: 1160px; }
.story-text {
  max-width: 720px;
  margin-bottom: 48px;
}
.story-text p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 20px;
}
.story-payoff {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--oxblood);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-top: 28px !important;
}
.story-media {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 32px;
}
.story-media--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.story-media .story-final { align-self: center; }
.story-media .story-arrow { align-self: center; }
.story-refs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-refs--pair { flex-direction: row; }
.story-refs--pair .story-ref { flex: 1; }
.story-ref img,
.story-final img {
  width: 100%;
  display: block;
  box-shadow: 0 16px 40px rgba(43,24,20,0.18);
}
.story-final img { box-shadow: 0 24px 60px rgba(43,24,20,0.22); }
.story-arrow {
  font-size: 32px;
  color: var(--gold);
  text-align: center;
}
.story-cap {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
  text-align: center;
}
.story-delivery {
  margin-top: 40px;
  max-width: 520px;
}
.story-delivery img {
  width: 100%;
  display: block;
  box-shadow: 0 16px 40px rgba(43,24,20,0.18);
}

/* ---------- Why a Painting: Thesis ---------- */
.wap-thesis {
  background: var(--oxblood);
  background: linear-gradient(160deg, var(--oxblood) 0%, var(--oxblood-deep) 100%);
  padding: 96px 0;
  text-align: center;
}
.wap-lede {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.4vw, 36px);
  color: #fff;
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.35;
}
.wap-signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--gold-light);
}

/* ---------- Why a Painting: Compare ---------- */
.wap-compare { padding: 100px 0; }
.wap-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.wap-compare-col p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 18px;
}
.wap-compare-col p:last-child { margin-bottom: 0; }
.wap-compare-col .section-label { margin-bottom: 20px; }

/* ---------- Why a Painting: Proof ---------- */
.wap-proof {
  background: var(--cream-deep);
  padding: 100px 0;
  border-top: 1px solid var(--border-hairline);
}
.wap-proof .section-intro { margin-bottom: 56px; }
.wap-proof .section-intro a {
  color: var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
}
.wap-proof-item { margin-bottom: 72px; }
.wap-proof-item:last-of-type { margin-bottom: 48px; }
.wap-proof-media {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
}
.wap-proof-refs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wap-proof-refs--pair { flex-direction: row; }
.wap-proof-refs--pair img { flex: 1; min-width: 0; }
.wap-proof-refs img,
.wap-proof-final img {
  width: 100%;
  display: block;
  box-shadow: 0 16px 40px rgba(43,24,20,0.18);
}
.wap-proof-final img { box-shadow: 0 24px 60px rgba(43,24,20,0.22); }
.wap-proof-arrow {
  font-size: 28px;
  color: var(--gold);
}
.wap-proof-cap {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
}
.wap-proof-closer {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--oxblood);
  max-width: 720px;
  margin-top: 56px;
  line-height: 1.5;
}

/* ---------- NASA Story: Process Sections ---------- */
.nasa-process { padding: 96px 0; }
.nasa-process--alt { background: var(--cream-deep); }
.nasa-process .section-intro { max-width: 760px; margin-bottom: 48px; }
.nasa-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.nasa-process-grid--single {
  grid-template-columns: 1fr;
  max-width: 700px;
}
.nasa-process-item img {
  width: 100%;
  display: block;
  box-shadow: 0 20px 50px rgba(43,24,20,0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-nav,
  .site-nav--solid { padding: 20px 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 84vw);
    height: 100%;
    height: 100dvh;
    background: var(--ink);
    padding: 96px 32px 40px;
    overflow-y: auto;
    z-index: 20;
    transition: right 0.3s ease;
    box-shadow: -12px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.active { right: 0; }
  .nav-links li {
    margin-left: 0;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links li:first-child { margin-left: 0; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    opacity: 0.9;
  }
  .site-nav--solid .nav-links a.active {
    border-bottom: none;
    padding-left: 4px;
    border-left: 2px solid var(--gold-light);
  }

  .cred-link { width: 30%; }
  .nasa-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-item { width: 48%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .full-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-photo-placeholder { max-width: 360px; }
  .timeline-row { grid-template-columns: 1fr; gap: 32px; }
  .clients-list li { width: 50%; }
  .story-media { grid-template-columns: 1fr; }
  .story-arrow { transform: rotate(90deg); padding: 8px 0; }
  .story-refs--pair { flex-direction: column; }
  .wap-compare-grid { grid-template-columns: 1fr; gap: 40px; }
  .wap-proof-media { grid-template-columns: 1fr; }
  .wap-proof-arrow { transform: rotate(90deg); padding: 8px 0; }
  .wap-proof-refs--pair { flex-direction: column; }
  .nasa-process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-panel { padding: 32px 24px; }
  .institutional-tier--mid,
  .institutional-tier--bottom { max-width: 460px; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .site-nav,
  .site-nav--solid { padding: 18px 22px; }
  .nav-logo { font-size: 19px; }
  .cred-link { width: 30%; margin: 0 1.5% 16px; }
  .gallery-item { width: 48%; margin-bottom: 12px; }
  section { padding: 56px 0; }
  .hero { min-height: 560px; }
  .hero-content { padding: 0 22px 44px; }
  .hero-tagline { font-size: 17px; }
  .btn { padding: 14px 28px; font-size: 13px; }
  .closing-cta { padding: 72px 0; }
  .closing-cta-actions { flex-direction: column; align-items: center; gap: 14px; }
  .closing-cta-actions .btn { margin: 0; width: 100%; max-width: 320px; text-align: center; }
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .institutional-tier--mid,
  .institutional-tier--bottom { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 14px; }
  .institutional-tier--top { max-width: 220px; }
  .page-header { padding: 48px 0 36px; }
  .tab-row { gap: 6px; padding: 14px 0; }
  .tab-btn { font-size: 11px; padding: 8px 14px; }
  .clients-list li { width: 100%; }
  .timeline-year { font-size: 26px; }
  .nasa-secondary-line { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nasa-secondary-line img { width: 100%; height: auto; max-height: 180px; margin-right: 0; }
  .nasa-quote { font-size: 21px; padding-left: 20px; }
  .wap-lede { font-size: 22px; }
  .wap-proof-cap { font-size: 15px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .guide-popup { grid-template-columns: 1fr; }
  .guide-popup-image { display: none; }
  .guide-popup-content { padding: 32px 24px; }
  .contact-form-panel { padding: 28px 18px; }
}
@media (max-width: 380px) {
  .cred-link { width: 44%; margin: 0 3% 18px; }
  .gallery-item { width: 100%; margin-right: 0; }
  .full-gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 34px; }
}

/* ---------- Guide Download Popup ---------- */
.guide-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 33, 24, 0.72);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.guide-popup-overlay.active { display: flex; }
.guide-popup {
  background: var(--cream);
  max-width: 760px;
  width: 100%;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  max-height: 90vh;
  overflow-y: auto;
}
.guide-popup-image {
  background: var(--oxblood-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.guide-popup-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.guide-popup-content { padding: 40px 36px; }
.guide-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  z-index: 2;
}
.guide-popup-close:hover { color: var(--oxblood); }
.guide-popup-eyebrow {
  font-family: 'Source Serif 4', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 10px;
}
.guide-popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.25;
}
.guide-popup-text {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.guide-popup-form .form-group { margin-bottom: 16px; }
.guide-popup-error {
  background: #fff;
  color: var(--oxblood);
  border: 1px solid var(--oxblood);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}
.guide-popup-error.active { display: block; }
.guide-popup-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.guide-popup-success.active { display: block; }
.guide-popup-success-icon {
  font-size: 40px;
  color: var(--oxblood);
  margin-bottom: 16px;
}
.guide-popup-submit {
  width: 100%;
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--oxblood);
  border: none;
  padding: 15px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.guide-popup-submit:hover { background: var(--oxblood-deep); }
.guide-popup-submit:disabled { opacity: 0.6; cursor: default; }
.guide-popup-fineprint {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.75;
  margin-top: 14px;
  text-align: center;
}
