/* ============================================================
   Landing page — body layout (about copy + portrait card)
   Pairs with _layouts/landing.html and illustration.css
   ============================================================ */

/* ---- Full-bleed escape for the header band ----
   al-folio puts page content inside `.container { max-width: 900px; display: flex; }`.
   We want the band to reach the actual viewport edges. This wrapper escapes that
   container without depending on negative-margin math (which fights flex).
*/
.vm-fullbleed {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* The band's own styling lives in illustration.css; we only neutralize any
   inherited flex/width here. */
.vm-fullbleed .vm-header-band {
  width: 100%;
  flex: 0 0 auto;
}

/* ---- Body grid below the band ---- */
.vm-landing-body {
  display: block;
  width: 100%;
  padding: clamp(28px, 5vw, 64px) 0 64px;
}

.vm-about-header {
  margin: 0 0 clamp(24px, 4vw, 40px);
}
.vm-about-title {
  font-family: var(--vm-font-display, "Fraunces"), Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  margin: 0 0 6px;
  color: var(--vm-paper-800, #2e1c0f);
}
.vm-about-subtitle {
  font-family: var(--vm-font-display, "Fraunces"), Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.4;
  color: var(--vm-paper-600, #6b5a47);
  margin: 0;
}

.vm-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 720px) {
  .vm-about-grid { grid-template-columns: 1fr; }
}

.vm-about-copy {
  font-family: var(--vm-font-sans, "Inter"), -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--vm-paper-800, #2e1c0f);
  text-wrap: pretty;
}
.vm-about-copy p {
  margin: 0 0 1em;
  max-width: 64ch;
}
.vm-about-copy a {
  color: var(--vm-vermillion-500, #ee4f2a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vm-about-copy a:hover { color: var(--vm-vermillion-600, #c43e1f); }

.vm-profile-card {
  display: flex; flex-direction: column;
  gap: 10px;
}
.vm-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--vm-line-strong, #c8b89e);
  box-shadow: 0 6px 20px rgba(46, 28, 15, 0.08);
}
.vm-portrait-address {
  font-family: var(--vm-font-mono, "JetBrains Mono"), monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--vm-paper-600, #6b5a47);
}
.vm-portrait-address p { margin: 0; }

/* Social row below the about grid */
.vm-social {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--vm-line, #d6c8af);
}
.vm-social .contact-icons {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 22px;
}
.vm-social .contact-icons a {
  color: var(--vm-paper-600, #6b5a47);
  transition: color 0.2s ease;
}
.vm-social .contact-icons a:hover {
  color: var(--vm-vermillion-500, #ee4f2a);
}
.vm-social .contact-note {
  margin-top: 12px;
  font-family: var(--vm-font-mono, "JetBrains Mono"), monospace;
  font-size: 12px;
  color: var(--vm-paper-600, #6b5a47);
}

/* Reset al-folio's container display:flex for THIS page only.
   The default container uses flex which makes our block layout act weird. */
body:has(.vm-landing-body) .container {
  display: block !important;
  max-width: 900px;
}
/* Fallback for browsers without :has() — apply via a body class set in head. */
body.vm-landing .container {
  display: block !important;
  max-width: 900px;
}
