/* ============================================================
   David Z. — editorial portfolio (Instrument Serif + Geist)
   Summer 2026 system: warm cream, soft black, coral, mint.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: #F4F0E8;   /* warm cream   */
  --text:       #191917;   /* soft black   */
  --primary:    #FF5B45;   /* tomato coral */
  --secondary:  #BCEBCB;   /* fresh mint   */
  --border:     #D8D2C8;
  --surface:    #FFFFFF;
  --ink:        #191917;
  --yellow:     #F6D257;
  --muted:      #6f6a5f;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r:     24px;
  --r-sm:  16px;
  --wrap:  1200px;
  --gap:   20px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.wrap-narrow { max-width: 800px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }

/* serif display helpers */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }

/* small mono-ish label (Geist, tracked out) */
.label {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(244,240,232,.72);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header-inner--end { justify-content: flex-end; }
.brand { font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--text); opacity: .78; transition: opacity .15s; }
.nav a:hover { opacity: 1; }
.nav-cta {
  background: var(--primary); color: #fff !important; opacity: 1 !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px; transition: transform .15s, background .15s;
}
.nav-cta .arw { transition: transform .18s; }
.nav-cta:hover { background: #e8442f; transform: translateY(-1px); }
.nav-cta:hover .arw { transform: translateX(3px); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  font-family: var(--sans); cursor: pointer; border: 1px solid transparent;
  transition: transform .16s, background .16s, border-color .16s, color .16s;
}
.btn .arw { transition: transform .18s; }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #e8442f; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--background); transform: translateY(-2px); }

/* ---------------- Reveal motion ---------------- */
.reveal { opacity: 0; transform: translateY(14px); animation: fade-up .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .06s; } .reveal.d2 { animation-delay: .14s; }
.reveal.d3 { animation-delay: .22s; } .reveal.d4 { animation-delay: .30s; }
.reveal.d5 { animation-delay: .38s; } .reveal.d6 { animation-delay: .46s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* ---------------- Hero bento ---------------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }

.cell {
  border: 1px solid var(--border); border-radius: var(--r); background: var(--surface);
  padding: 34px; position: relative; overflow: hidden;
}
.cell--headline { grid-column: span 12; display: flex; flex-direction: column; justify-content: center; background: var(--background); border-color: transparent; padding: 8px 6px; }
.cell--spotlight { grid-column: span 12; padding: 0; display: flex; }
.cell--mint  { grid-column: span 4; background: var(--secondary); border-color: #a9dcbb; display: flex; flex-direction: column; justify-content: center; }
.cell-copy { font-size: 1.05rem; line-height: 1.5; font-weight: 500; color: #16412a; max-width: 22em; }
.cell--ink   { grid-column: span 4; background: var(--ink); color: var(--background); border-color: var(--ink); }
.cell--photo { grid-column: span 4; padding: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--secondary); color: #16412a; border-radius: 999px;
  padding: 6px 14px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(4rem, 9.5vw, 7.5rem); line-height: .9; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.01em;
}
.hero-title em { font-style: italic; color: var(--primary); }
.hero-sub { margin-top: 24px; max-width: 30em; font-size: 1.12rem; color: #423e36; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* homepage spotlight: featured project band, screenshot + pitch + CTAs */
.spotlight-shot { flex: 0 0 42%; display: block; overflow: hidden; background: #191917; }
.spotlight-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; min-height: 260px; transition: transform .3s; }
.spotlight-shot:hover img { transform: scale(1.03); }
.spotlight-copy { flex: 1 1 auto; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.15; margin-bottom: 14px; }
.spotlight-sep { color: var(--primary); }
.spotlight-sub { font-size: 1.03rem; color: #423e36; max-width: 38em; margin-bottom: 26px; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* stat cells */
.stat-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.stat-label { margin-top: 8px; font-size: .92rem; font-weight: 500; opacity: .85; max-width: 16em; }
.cell--ink .stat-label { opacity: .72; }

.cell--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }

/* ---------------- Section scaffolding ---------------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; }
.section-title em { font-style: italic; color: var(--primary); }
.section-sub { max-width: 34em; color: var(--muted); font-size: 1.05rem; }

/* ---------------- About (editorial asymmetric) ---------------- */
.about { border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.about-kicker { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.about-body p { font-size: 1.25rem; line-height: 1.62; color: #2c2924; }
.about-body p + p { margin-top: 18px; }
.about-body strong { font-weight: 600; }

/* ---------------- Featured work (big bento cards) ---------------- */
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.feat {
  grid-column: span 4; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden;
  transition: transform .18s, border-color .18s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--primary); }
.feat-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--background); border-bottom: 1px solid var(--border); }
.feat-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s; }
.feat:hover .feat-shot img { transform: scale(1.03); }
.feat-body { padding: 24px 26px 28px; }
.feat-brand { display: inline-block; background: var(--secondary); color: #16412a; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.feat-title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.feat-desc { margin-top: 10px; color: var(--muted); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- Work grid (uniform editorial cards) ---------------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); }
.work-item {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  transition: transform .18s, border-color .18s;
}
.work-item:hover { transform: translateY(-4px); border-color: var(--primary); }
.work-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--background); border-bottom: 1px solid var(--border); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s; }
.work-item:hover .work-thumb img { transform: scale(1.04); }
.work-meta { padding: 16px 18px 20px; }
.card-tag { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 7px; }
.work-meta h3 { font-family: var(--serif); font-weight: 400; font-size: 1.28rem; line-height: 1.12; letter-spacing: 0; }

/* ---------------- Brands ---------------- */
.section-brands { border-top: 1px solid var(--border); }
.logo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-cell {
  display: flex; align-items: center; justify-content: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-sm); aspect-ratio: 3 / 2; padding: 22px;
  transition: transform .18s, border-color .18s;
}
.logo-cell:hover { transform: translateY(-3px); border-color: var(--primary); }
.logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .66; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ---------------- Detail page ---------------- */
.detail { padding: clamp(36px, 6vw, 68px) 0 clamp(56px, 9vw, 96px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--primary); margin-bottom: 30px; }
.back-link .arw { transition: transform .18s; }
.back-link:hover .arw { transform: translateX(-4px); }
.detail-head { margin-bottom: 28px; }
.detail-tag { display: inline-block; background: var(--secondary); color: #16412a; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; margin-bottom: 18px; }
.detail-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.03; letter-spacing: -.01em; }
.detail-head .btn { margin-top: 22px; }
.detail-body { margin: 0 0 40px; max-width: 42em; }
.detail-body p { font-size: 1.2rem; line-height: 1.68; color: #2c2924; }
.detail-body p + p { margin-top: 18px; }
.detail-body p.built-with { font-style: italic; }
.detail-body p a { color: var(--primary); font-weight: 600; }
.detail-body p a:hover { text-decoration: underline; }
/* Default: creatives render at true email width, centered, not column-width. */
.creatives { display: flex; flex-direction: column; gap: 24px; align-items: center; max-width: 600px; margin-inline: auto; }
.creative { width: 100%; }
.creative img { width: 100%; height: auto; border-radius: var(--r-sm); border: 1px solid var(--border); background: #fff; cursor: zoom-in; }

/* click-to-zoom lightbox for portfolio screenshots */
.lightbox {
  position: fixed; inset: 0; z-index: 999; padding: 5vh 5vw;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 18, 14, .92);
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.5); cursor: zoom-out; }
.lightbox-close {
  position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 999px;
  border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.24); }
/* Wide opt-in: let a big app screenshot (e.g. the SFMC calendar) break out of the
   narrow text column so its small print stays legible. Default creatives stay normal. */
.creatives--wide { max-width: none; width: min(94vw, 1500px); margin-left: 50%; transform: translateX(-50%); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--border); }
.pager-link { font-weight: 600; font-size: .95rem; color: var(--text); max-width: 46%; display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.pager-link:hover { color: var(--primary); }
.pager-link.next { text-align: right; margin-left: auto; }
.pager-link .arw { transition: transform .18s; }
.pager-link.prev:hover .arw { transform: translateX(-4px); }
.pager-link.next:hover .arw { transform: translateX(4px); }

/* ---------------- Resume page ---------------- */
.resume { padding: clamp(36px, 6vw, 68px) 0 clamp(56px, 9vw, 96px); }
.resume-head { margin-bottom: 44px; }
.resume-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; margin-top: 6px; }
.resume-role { margin-top: 10px; font-size: 1.15rem; font-weight: 600; color: var(--ink-soft, #46536b); }
.resume-meta { margin-top: 6px; color: var(--muted); font-size: .98rem; }
.resume-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.resume-section { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--border); }
.resume-h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 20px; }
.resume-section > p { color: #2c2924; font-size: 1.05rem; margin-bottom: 14px; max-width: 46em; }
.resume-featured {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 24px 26px;
}
.resume-featured-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 16px; margin-bottom: 10px;
}
.resume-featured-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.28rem; }
.resume-featured-sep { color: var(--primary); }
.resume-featured-link { color: var(--primary); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.resume-featured-link:hover { text-decoration: underline; }
.resume-featured p { color: #2c2924; font-size: .98rem; margin-bottom: 10px; }
.resume-featured p:last-child { margin-bottom: 0; }
.resume-featured-demo a { color: var(--primary); font-weight: 600; }
.resume-job { margin-bottom: 30px; }
.resume-job-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.resume-job-head h3 { font-size: 1.08rem; font-weight: 600; }
.resume-dates { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.resume-note { font-size: .92rem; font-style: italic; color: var(--muted); margin-bottom: 8px; }
.resume-job ul { margin: 0; padding-left: 20px; }
.resume-job li { color: #2c2924; font-size: .99rem; margin-bottom: 7px; }
.resume-skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.skill-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 20px 22px; }
.skill-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.skill-card p { font-size: .93rem; color: #2c2924; }

/* ---------------- AI David widget ---------------- */
.aid { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.aid [hidden] { display: none !important; }
/* Guard: if the SDK injects its own video element, never render it as a second screen */
.aid video:not(#aidVideo) { display: none !important; }
.aid-bubble {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 20px 8px 8px; box-shadow: 0 16px 44px -14px rgba(25,25,23,.45);
  transition: transform .16s, border-color .16s;
  font-family: var(--sans);
}
.aid-bubble:hover { transform: translateY(-3px); border-color: var(--primary); }
.aid-bubble img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.aid-pill { font-weight: 700; font-size: .95rem; color: var(--text); }
.aid-card {
  width: min(85vw, 260px); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(25,25,23,.45);
}
.aid-video-wrap { position: relative; aspect-ratio: 3 / 4; background: #191917; }
.aid-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.aid-preview {
  position: absolute; inset: 0; z-index: 2; display: block; width: 100%;
  border: none; padding: 0; cursor: pointer; background: #191917; font-family: var(--sans);
}
.aid-preview img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.aid-preview:hover img { opacity: .75; }
.aid-play {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; padding-left: 4px;
  box-shadow: 0 12px 30px -8px rgba(255,91,69,.65); transition: transform .16s;
}
.aid-preview:hover .aid-play { transform: translate(-50%, -50%) scale(1.08); }
.aid-start-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap;
  background: rgba(25,25,23,.75); color: #fff; font-size: .74rem; font-weight: 600;
  padding: 6px 13px; border-radius: 999px;
}
.aid-status {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #F4F0E8; font-size: .82rem; text-align: center; padding: 18px; background: rgba(25,25,23,.55);
}
.aid-timer {
  position: absolute; left: 10px; top: 10px; background: rgba(25,25,23,.7); color: #fff;
  font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.aid-mic {
  position: absolute; left: 10px; bottom: 10px; background: rgba(25,25,23,.7); color: #fff;
  font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.aid-mic.live { background: var(--secondary); color: #16412a; }
.aid-close, .aid-expand {
  position: absolute; top: 8px; width: 28px; height: 28px; border: none; cursor: pointer;
  border-radius: 50%; background: rgba(25,25,23,.7); color: #fff; font-size: 1.05rem; line-height: 1;
  z-index: 3; display: flex; align-items: center; justify-content: center;
}
.aid-close { right: 8px; }
.aid-expand { left: 8px; font-size: .95rem; }
.aid-close:hover, .aid-expand:hover { background: var(--primary); }
.aid-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 12px; font-size: .68rem; color: var(--muted);
}
.aid-foot a { color: var(--primary); font-weight: 600; white-space: nowrap; }

/* Full-screen expanded state: card fills the viewport, video takes the space instead of a fixed 3:4 box. */
.aid-card.expanded {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none;
  border-radius: 0; z-index: 1000; display: flex; flex-direction: column;
}
.aid-card.expanded .aid-video-wrap { flex: 1 1 auto; aspect-ratio: unset; min-height: 0; }
.aid-card.expanded .aid-foot { flex: 0 0 auto; font-size: .85rem; padding: 14px 20px; }
.aid-card.expanded .aid-play { width: 84px; height: 84px; font-size: 2rem; padding-left: 6px; }
.aid-card.expanded .aid-start-label { font-size: 1rem; padding: 10px 22px; bottom: 32px; }
.aid-card.expanded .aid-status { font-size: 1.1rem; padding: 40px; }
.aid-card.expanded .aid-timer, .aid-card.expanded .aid-mic { font-size: .9rem; padding: 6px 16px; left: 20px; }
.aid-card.expanded .aid-timer { top: 20px; }
.aid-card.expanded .aid-mic { bottom: 20px; }
.aid-card.expanded .aid-close, .aid-card.expanded .aid-expand { width: 40px; height: 40px; font-size: 1.3rem; top: 20px; }
.aid-card.expanded .aid-close { right: 20px; }
.aid-card.expanded .aid-expand { left: 20px; font-size: 1.15rem; }
/* Smaller and tucked in the corner on mobile, not hidden, just out of the way. */
@media (max-width: 620px) {
  .aid { right: 10px; bottom: 10px; }
  .aid-card { width: min(52vw, 168px); }
  .aid-bubble { gap: 8px; padding: 6px 14px 6px 6px; }
  .aid-bubble img { width: 38px; height: 38px; }
  .aid-pill { font-size: .78rem; }
  .aid-play { width: 34px; height: 34px; font-size: .85rem; padding-left: 3px; }
  .aid-start-label { font-size: .62rem; padding: 4px 9px; bottom: 8px; }
  .aid-status { font-size: .68rem; padding: 10px; }
  .aid-timer, .aid-mic { font-size: .6rem; padding: 2px 7px; left: 6px; }
  .aid-timer { top: 6px; }
  .aid-mic { bottom: 6px; }
  .aid-close { width: 22px; height: 22px; font-size: .85rem; right: 5px; top: 5px; }
  .aid-foot { flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 9px; font-size: .6rem; }
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--background); padding: clamp(48px, 7vw, 84px) 0 40px; margin-top: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.footer-lead { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.04; max-width: 12em; }
.footer-lead em { font-style: italic; color: var(--primary); }
.footer-mail { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 1.15rem; font-weight: 600; color: var(--secondary); }
.footer-mail .arw { transition: transform .18s; }
.footer-mail:hover .arw { transform: translateX(4px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(244,240,232,.16); font-size: .88rem; opacity: .7; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .cell--headline, .about-grid { grid-column: 1 / -1; }
  .cell--mint, .cell--ink, .cell--photo { grid-column: span 6; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .feat, .feat:first-child, .feat:nth-child(2) { grid-column: span 6; }
  .spotlight-shot { flex-basis: 36%; }
}
@media (max-width: 700px) {
  .cell--spotlight { flex-direction: column; }
  .spotlight-shot { flex-basis: auto; }
  .spotlight-shot img { min-height: 200px; }
  .spotlight-copy { padding: 28px 26px; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 20px; }
  .nav { gap: 14px; }
  .nav a:not(.nav-cta) { display: none; }
  .cell--mint, .cell--ink, .cell--photo, .feat, .feat:first-child, .feat:nth-child(2) { grid-column: 1 / -1; }
  .cell:not(.cell--spotlight) { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
