/* Amora — home page block styles. Loaded only on front page. */

/* === Section heads === */
.section-head {
  margin-bottom: var(--space-lg);
  max-width: 60ch;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head__title {
  font-size: var(--font-h2);
  line-height: var(--lh-heading);
  margin-top: var(--space-xs);
  color: var(--text-primary);
}

.section-foot {
  margin-top: var(--space-lg);
}
.section-foot--center {
  text-align: center;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--font-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  padding: 0.875rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  min-height: 44px;
}
.btn--primary {
  background: var(--accent);
  color: var(--ivory);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--ivory);
}
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--ink);
}
.btn--secondary:hover {
  background: var(--ink);
  color: var(--ivory);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--font-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--accent);
  position: relative;
}
.link-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}
.link-arrow:hover {
  color: var(--accent-hover);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}

/* === Placeholders === */
.placeholder {
  position: relative;
  width: 100%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--font-caption);
  letter-spacing: var(--tracking-loose);
  text-transform: uppercase;
}
.placeholder span {
  padding: var(--space-xs) var(--space-sm);
  background: var(--ivory);
  border: 1px solid var(--rule);
}
.placeholder--ratio-4x5 {
  aspect-ratio: 4 / 5;
}
.placeholder--ratio-3x2 {
  aspect-ratio: 3 / 2;
}
.placeholder--hero {
  min-height: 60vh;
  aspect-ratio: 16 / 9;
}
.section--dark .placeholder {
  background: rgba(244, 241, 234, 0.06);
  color: rgba(244, 241, 234, 0.55);
}
.section--dark .placeholder span {
  background: transparent;
  border-color: rgba(244, 241, 234, 0.15);
  color: rgba(244, 241, 234, 0.7);
}

/* === Fade-in === */
[data-fade-in] {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  [data-fade-in] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  [data-fade-in].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Hero === */
.hero {
  position: relative;
  background: var(--bg-primary);
}
.hero__media {
  position: relative;
  width: 100%;
}
.hero__track {
  position: relative;
  width: 100%;
}
.hero__slide {
  margin: 0;
  position: relative;
  width: 100%;
}
/* Single-image hero: simple stack. */
.hero__media:not(.hero__media--slider) .hero__slide:not(.is-active) {
  display: none;
}
/* Multi-image hero: absolute layered crossfade. */
.hero__media--slider .hero__track {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  background: var(--bg-tile);
}
.hero__media--slider .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms var(--ease);
}
.hero__media--slider .hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.hero__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: cover;
}
/* On mobile lock the track to a fixed aspect so different artwork formats don't
   make the page jump as the slides crossfade. */
@media (max-width: 720px) {
  .hero__media--slider .hero__track {
    aspect-ratio: 4 / 5;
    max-height: 80vh;
  }
  .hero__media--slider .hero__slide,
  .hero__media--slider .hero__slide.is-active {
    position: absolute;
    inset: 0;
  }
  .hero__slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
}
.hero__slide .placeholder--hero {
  width: 100%;
}

/* Slider nav arrows */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-on-dark);
  background: rgba(33, 52, 50, 0.45);
  color: var(--ivory);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  backdrop-filter: blur(8px);
}
.hero__nav:hover,
.hero__nav:focus-visible {
  background: rgba(33, 52, 50, 0.8);
  border-color: var(--ivory);
}
.hero__nav--prev { left: var(--space-sm); }
.hero__nav--next { right: var(--space-sm); }
@media (max-width: 640px) {
  .hero__nav { width: 36px; height: 36px; }
  .hero__nav--prev { left: var(--space-xs); }
  .hero__nav--next { right: var(--space-xs); }
}

/* Slider dots */
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: var(--space-sm);
  transform: translateX(-50%);
  display: inline-flex;
  gap: var(--space-xs);
  padding: 6px 10px;
  background: rgba(33, 52, 50, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.hero__dot {
  width: 26px;
  height: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero__dot span {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(244, 241, 234, 0.4);
  transition: background var(--transition-fast);
}
.hero__dot:hover span,
.hero__dot.is-active span {
  background: var(--ivory);
}
/* Hero info plate — sits over the active slide, bottom-left. */
.hero__info {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  max-width: min(420px, calc(100% - var(--space-md) * 2));
  padding: var(--space-md) var(--space-md) calc(var(--space-md) - 4px);
  background: rgba(33, 52, 50, 0.62);
  backdrop-filter: blur(10px);
  color: var(--ivory);
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__info-artist {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: 1.2;
  color: var(--ivory);
}
.hero__info-artist a {
  color: var(--ivory);
  text-decoration: none;
  background-image: linear-gradient(to right, currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--transition-fast);
}
.hero__info-artist a:hover { background-size: 100% 1px; }
.hero__info-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-body);
  line-height: 1.4;
  color: rgba(244, 241, 234, 0.85);
}
.hero__info-title a {
  color: inherit;
  text-decoration: none;
}
.hero__info-title em { font-style: italic; }
.hero__info-cta {
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--font-caption);
  letter-spacing: var(--tracking-uppercase);
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 1px solid rgba(244, 241, 234, 0.45);
  padding-bottom: 4px;
  transition: border-color var(--transition-fast), gap var(--transition-fast);
}
.hero__info-cta:hover {
  border-color: var(--ivory);
  gap: 14px;
}
@media (max-width: 640px) {
  .hero__info {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    padding: var(--space-sm);
  }
  .hero__info-artist { font-size: var(--font-body); }
}
.hero__content {
  padding-block: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 760px;
}
.hero__positioning {
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: var(--lh-heading);
  color: var(--text-primary);
  max-width: 40ch;
  margin: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* === Positioning line (sits after Featured Artworks) === */
.positioning-line {
  padding-block: var(--space-xl);
  border-block: 1px solid var(--rule);
}
.positioning-line__eyebrow {
  margin-bottom: var(--space-sm);
}
.positioning-line__title {
  font-family: var(--font-serif);
  font-size: var(--font-h2);
  line-height: var(--lh-heading);
  color: var(--text-primary);
  max-width: 28ch;
  margin: 0;
}

/* === About === */
.about-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 900px) {
  .about-gallery__grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-xl);
    align-items: start;
  }
}
.about-gallery__title {
  font-size: var(--font-h2);
  line-height: var(--lh-heading);
  margin-top: var(--space-xs);
  max-width: 16ch;
}
.about-gallery__body p {
  margin-bottom: var(--space-md);
}
.about-gallery__body .link-arrow {
  margin-top: var(--space-sm);
}

/* === Artists Showcase (Home block 1b) — alternating profile/works rows + works slider === */
.artists-showcase .section-head__title--rule {
  display: inline-flex;
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--rule);
  font-size: var(--font-h2);
  letter-spacing: var(--tracking-uppercase);
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 400;
}
.artists-showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.artists-showcase__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--rule);
  align-items: center;
}
.artists-showcase__row:last-child { border-bottom: 1px solid var(--rule); }

@media (min-width: 900px) {
  .artists-showcase__row {
    flex-direction: row;
    gap: var(--space-xl);
    align-items: center;
  }
  .artists-showcase__profile { flex: 0 0 240px; }
  .artists-showcase__works   { flex: 1 1 auto; min-width: 0; }
  /* Alternating: profile on the right for even rows, left for odd rows */
  .artists-showcase__row--profile-right .artists-showcase__profile { order: 2; }
  .artists-showcase__row--profile-right .artists-showcase__works   { order: 1; }
  .artists-showcase__row--profile-left  .artists-showcase__profile { order: 1; }
  .artists-showcase__row--profile-left  .artists-showcase__works   { order: 2; }
}

/* Profile card */
.artists-showcase__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding-inline: var(--space-sm);
}
.artists-showcase__avatar {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
}
.artists-showcase__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.artists-showcase__avatar-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
}
.artists-showcase__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: 1.2;
}
.artists-showcase__name a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(to right, currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--transition-fast);
}
.artists-showcase__name a:hover { background-size: 100% 1px; }
.artists-showcase__bio {
  margin: 0;
  font-size: var(--font-small);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 36ch;
}

/* Works slider: 2 visible, horizontal snap-scroll, arrow buttons */
.artists-showcase__works {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.artists-showcase__track {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
}
.artists-showcase__track::-webkit-scrollbar { display: none; }
.artists-showcase__work {
  flex: 0 0 calc(50% - var(--space-md) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-tile);
  aspect-ratio: 1 / 1;
  padding: var(--space-sm);
  scroll-snap-align: start;
  transition: transform var(--transition-base);
}
.artists-showcase__work img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}
.artists-showcase__work:hover img { transform: scale(1.02); }
@media (max-width: 600px) {
  .artists-showcase__work { flex-basis: calc(80% - var(--space-md) / 2); }
}

.artists-showcase__nav {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  background: var(--bg-primary);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.artists-showcase__nav:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.artists-showcase__nav:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--text-muted); }
.artists-showcase__nav[hidden] { display: none; }

/* === Card grids === */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg) var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
}
@media (min-width: 900px) {
  .card-grid--artworks { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl) var(--space-md); }
  .card-grid--artists  { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl) var(--space-md); }
}
@media (min-width: 1280px) {
  .card-grid--artists { grid-template-columns: repeat(4, 1fr); gap: var(--space-xl) var(--space-md); }
}

/* === Artwork card === */
.artwork-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  height: 100%;
}
.artwork-card__media {
  display: block;
  overflow: hidden;
}
.artwork-card__media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}
.artwork-card__media:hover img {
  transform: scale(1.02);
}
.artwork-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: auto;
}
.artwork-card__title {
  font-size: var(--font-h3);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}
.artwork-card__artist {
  font-family: var(--font-sans);
  font-size: var(--font-small);
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--text-secondary);
}
.artwork-card__line {
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}
.artwork-card__line .sep { opacity: 0.5; }
.artwork-card .artwork-price { color: var(--text-secondary); }

/* Rich spec list used on the Catalogue archive */
.artwork-card__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: var(--font-caption);
  letter-spacing: var(--tracking-loose);
  text-transform: uppercase;
  color: var(--text-muted);
}
.artwork-card__price {
  margin: var(--space-xs) 0 0;
  font-family: var(--font-mono);
  font-size: var(--font-small);
  color: var(--text-secondary);
}
.artwork-card__cta {
  margin-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--font-caption);
  letter-spacing: var(--tracking-uppercase);
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: gap var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.artwork-card__cta:hover {
  gap: 14px;
  border-color: var(--accent);
  color: var(--accent);
}
.artwork-card--placeholder .artwork-card__title,
.artwork-card--placeholder .artwork-card__line {
  visibility: hidden;
}

/* Uniform SQUARE tile that CONTAINS the work at natural aspect ratio.
   Background is a near-ivory tint (--bg-tile) so every tile feels framed
   without dominating the page. No cropping — paintings stay intact.
   Reference: askerigallery.com catalogue layout.
   Applied to:
     • Featured Artworks block on home
     • /artworks/ catalogue archive
     • Single-artist "Selected Works" section */
.featured-artworks .artwork-card__media,
.archive--artworks .artwork-card__media,
.single-artist__works .artwork-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}
.featured-artworks .artwork-card__media img,
.archive--artworks .artwork-card__media img,
.single-artist__works .artwork-card__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.featured-artworks .artwork-card__media .placeholder,
.archive--artworks .artwork-card__media .placeholder,
.single-artist__works .artwork-card__media .placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

/* === Artist card === */
.artist-card { display: flex; flex-direction: column; gap: var(--space-sm); }
.artist-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 4 / 5;
}
.artist-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}
.artist-card__media .placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.artist-card__media:hover img {
  transform: scale(1.02);
}
.artist-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.artist-card__name {
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: 1.2;
}
.artist-card__bio {
  font-size: var(--font-small);
  color: var(--text-secondary);
}
.artist-card--placeholder .artist-card__name { visibility: hidden; }

/* === Advisory === */
.advisory__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
@media (min-width: 800px) {
  .advisory__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
}
.advisory__item {
  text-align: left;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--rule);
}
.advisory__num {
  display: block;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.advisory__label {
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}
.advisory__desc {
  font-size: var(--font-small);
  color: var(--text-secondary);
  max-width: 28ch;
}

/* === Dark section base === */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: var(--space-xl);
}
@media (min-width: 768px) {
  .section--dark { padding-block: var(--space-2xl); }
}
.section--dark h2,
.section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: rgba(244, 241, 234, 0.78); }

.eyebrow--on-dark {
  color: rgba(244, 241, 234, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6BAA8A;
  box-shadow: 0 0 0 4px rgba(107, 170, 138, 0.18);
  display: inline-block;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(107, 170, 138, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(107, 170, 138, 0.05); }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

.link-arrow--on-dark {
  color: rgba(244, 241, 234, 0.9);
}
.link-arrow--on-dark:hover { color: var(--ivory); }

/* === Block 6: AI Aesthetic Engine === */
/* Compact layout per client (2026-05-30): slim dark strip, no pillars. */
.ai-engine--compact { padding-block: var(--space-lg); }
.ai-engine__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
@media (min-width: 800px) {
  .ai-engine__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }
}
.ai-engine__row-text { max-width: 70ch; }
.ai-engine__head {
  max-width: 60ch;
  margin-bottom: var(--space-xl);
}
.ai-engine__title {
  font-size: var(--font-h2);
  line-height: var(--lh-heading);
  margin-top: var(--space-xs);
  color: var(--text-on-dark);
}
.ai-engine__lede {
  margin-top: var(--space-xs);
  font-size: var(--font-body);
  line-height: 1.5;
  max-width: 60ch;
  color: rgba(244, 241, 234, 0.78);
  font-family: var(--font-serif);
  font-style: normal;
}

.ai-engine__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding: 0;
}
@media (min-width: 800px) {
  .ai-engine__pillars { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
}
.ai-engine__pillar {
  position: relative;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(244, 241, 234, 0.2);
}
.ai-engine__code {
  position: absolute;
  top: var(--space-xs);
  right: 0;
  color: rgba(244, 241, 234, 0.4);
  font-size: var(--font-caption);
}
.ai-engine__pillar-label {
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--text-on-dark);
}
.ai-engine__pillar-desc {
  font-size: var(--font-small);
  color: rgba(244, 241, 234, 0.7);
  max-width: 36ch;
  line-height: 1.6;
}

.ai-engine__foot {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}
@media (min-width: 800px) {
  .ai-engine__foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
.ai-engine__meta {
  color: rgba(244, 241, 234, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}
.ai-engine__meta .sep { opacity: 0.4; }

/* === Block 7: In Situ === */
.in-situ__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 900px) {
  .in-situ__list {
    grid-template-columns: 7fr 5fr;
    grid-auto-rows: auto;
    column-gap: var(--space-md);
    row-gap: var(--space-xl);
  }
  .in-situ__item--0 { grid-column: 1 / 2; grid-row: 1 / 2; }
  .in-situ__item--1 { grid-column: 2 / 3; grid-row: 1 / 2; align-self: end; padding-top: var(--space-xl); }
  .in-situ__item--2 { grid-column: 1 / 3; grid-row: 2 / 3; max-width: 75%; margin-inline: auto; }
}
.in-situ__figure { margin: 0; }
.in-situ__figure img,
.in-situ__figure .placeholder {
  width: 100%;
  height: auto;
}
.in-situ__caption {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.in-situ__label {
  font-family: var(--font-serif);
  font-size: var(--font-h3);
  line-height: 1.2;
}
.in-situ__note {
  color: var(--text-muted);
  font-size: var(--font-caption);
}

/* === Block 8: Founder === */
.founder__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 900px) {
  .founder__grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-xl);
    align-items: center;
  }
}
.founder__portrait { margin: 0; }
.founder__portrait .placeholder { aspect-ratio: 4 / 5; }
.founder__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.founder__name {
  font-size: var(--font-h1);
  line-height: var(--lh-display);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
}
.founder__bio p {
  margin-bottom: var(--space-md);
  max-width: 55ch;
}
.founder__body .link-arrow {
  margin-top: var(--space-sm);
}

/* === Block 9: Final CTA === */
.final-cta {
  padding-block: var(--space-xl);
  border-top: 1px solid var(--rule);
}
@media (min-width: 768px) {
  .final-cta { padding-block: var(--space-2xl); }
}
.final-cta__inner {
  max-width: 60ch;
  text-align: center;
  margin-inline: auto;
}
.final-cta__headline {
  font-size: var(--font-h1);
  line-height: var(--lh-display);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}
