/* About panel — editorial right rail (drawer + standalone page) */
:root {
  --about-black: #0a0a0a;
  --about-panel-bg: #ede9e2;
  --about-eyebrow: #888;
  --about-body: #555;
  --about-sans: 'Satoshi', system-ui, -apple-system, sans-serif;
}

.about-drawer__inner,
.about-standalone__inner {
  font-family: var(--about-sans);
  padding: clamp(32px, 5vw, 56px);
  box-sizing: border-box;
}

.about-drawer__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-eyebrow);
}

.about-drawer__title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--about-black);
  margin: 0 0 28px;
}

.about-drawer__body {
  max-width: 400px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--about-body);
  margin: 0 0 32px;
}

.about-drawer__rule {
  border: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  margin: 0 0 28px;
}

.about-drawer__photo {
  margin: 0;
  max-width: 100%;
}

.about-drawer__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* —— Drawer (index) —— */
.about-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(10, 10, 10, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
}

.about-panel-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-panel-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 910;
  height: 100vh;
  height: 100dvh;
  width: min(480px, 35vw);
  max-width: 100%;
  background: var(--about-panel-bg);
  box-shadow: -12px 0 40px rgba(10, 10, 10, 0.06);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-panel-drawer.is-open {
  transform: translateX(0);
}

body.about-panel-open {
  overflow: hidden;
}

/* Hide About while drawer is open (avoids overlap with panel copy) */
body.about-panel-open #about-panel-trigger {
  display: none;
}

@media (max-width: 768px) {
  .about-panel-drawer {
    width: 100%;
    box-shadow: none;
  }
}

/* —— Standalone about page —— */
.about-standalone {
  min-height: 100vh;
  background: var(--white, #f5f3ef);
}

.about-standalone-split {
  display: flex;
  min-height: calc(100vh - 73px);
  min-height: calc(100dvh - 73px);
  margin-top: 73px;
}

.about-standalone-fill {
  flex: 1;
  background: var(--white, #f5f3ef);
  min-width: 0;
}

.about-standalone-panel {
  width: min(480px, 35vw);
  max-width: 100%;
  flex-shrink: 0;
  background: var(--about-panel-bg);
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .about-standalone-split {
    flex-direction: column;
    margin-top: 73px;
    min-height: auto;
  }

  .about-standalone-fill {
    display: none;
  }

  .about-standalone-panel {
    width: 100%;
    min-height: calc(100vh - 73px);
    min-height: calc(100dvh - 73px);
  }
}
