/* ==========================================================================
   Custom About Page Styles - High-End Minimalist Editorial & Motion Design
   Strictly Pure White (#ffffff) & Black (#000000)
   Large GregBot Hero, Overlapping Prompt Capsule, Sticky Stacking Cards
   ========================================================================== */

:root {
  --mono-bg: #ffffff;
  --mono-surface: #ffffff;
  --mono-card-bg: #ffffff;
  --mono-black: #000000;
  --mono-near-black: #111111;
  --mono-dark-gray: #333333;
  --mono-gray: #666666;
  --mono-light-gray: #e5e5e5;
  --mono-ultra-light: #f7f7f8;
  --mono-border: #000000;
  --mono-border-subtle: #e5e5e7;
  --mono-radius-lg: 24px;
  --mono-radius-md: 14px;
}

/* Suppress the global floating trigger bubble and chat container on this page */
body.page-about #gregBotTrigger,
body.page-about #gregBotContainer {
  display: none !important;
}

/* Override ghost article width restrictions for the custom about page */
.page-about .site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #ffffff !important;
}

.page-about .gh-head {
  padding-bottom: 4px !important;
}

.about-page-wrapper {
  background-color: #ffffff !important;
  color: var(--mono-black);
  min-height: 100vh;
  position: relative;
  font-family: var(--font-sans);
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Sleek Side Navigation (Desktop Vertical Spine)
   -------------------------------------------------------------------------- */
.about-side-nav {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.about-side-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 12px;
  border-radius: 9999px;
  border: 1.5px solid var(--mono-black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.about-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mono-gray);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-side-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d5db;
  border: 1px solid #9ca3af;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-side-label {
  display: none;
  white-space: nowrap;
}

.about-side-link:hover .about-side-label,
.about-side-link.active .about-side-label {
  display: inline-block;
}

.about-side-link:hover,
.about-side-link.active {
  color: var(--mono-black);
}

.about-side-link.active .about-side-indicator {
  background: var(--mono-black);
  border-color: var(--mono-black);
  transform: scale(1.4);
}

/* --------------------------------------------------------------------------
   HERO: Full Top Section with Large GregBot & Overlapping Prompt Bar
   Pure White Background matching Header
   -------------------------------------------------------------------------- */
.about-hero-stage {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 24px 70px 24px;
  position: relative;
  background: #ffffff !important;
}

.about-hero-content {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.about-hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--mono-dark-gray);
  max-width: 720px;
  line-height: 1.5;
  margin: 0 0 24px 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* LARGE State Machine Avatar Container - Rock Solid, Zero Hover Scale */
.about-avatar-stage {
  position: relative;
  width: min(480px, 86vw);
  height: min(480px, 86vw);
  border-radius: 50%;
  border: 3.5px solid var(--mono-black);
  background-color: #dfd8ce;
  background-image: url('https://gregj.ca/content/images/2026/09/avatar-idle1-v2.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: -58px; /* Deep overlap with prompt bar */
  z-index: 10;
  /* NO scale up on hover per user request - rock solid stationary position */
  transform: none !important;
  cursor: pointer;
}

/* Proven Home Page Crossfade State Video Layering */
.gb-state-vid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Overlapping Capsule Prompt Box */
.about-prompt-wrapper {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-prompt-capsule {
  width: 100%;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--mono-black);
  border-radius: 9999px;
  padding: 8px 10px 8px 24px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.14);
  transition: box-shadow 0.2s ease;
}

.about-prompt-capsule:focus-within {
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.about-prompt-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--mono-black);
  font-family: inherit;
  padding: 8px 6px;
}

.about-prompt-input::placeholder {
  color: #777777;
}

.about-prompt-submit {
  background: var(--mono-black);
  color: #ffffff;
  border: 1px solid var(--mono-black);
  border-radius: 9999px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.about-prompt-submit:hover {
  background: #262626;
}

.about-prompt-submit svg {
  stroke: #ffffff;
}

/* Suggested Prompt Pills Below */
.about-pills-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.about-prompt-pill {
  background: #ffffff;
  color: var(--mono-black);
  border: 1.5px solid var(--mono-black);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.about-prompt-pill:hover {
  background: var(--mono-black);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.about-prompt-pill:hover svg {
  stroke: #ffffff;
}

/* In-Stage Bot Response Area */
.about-hero-reply-box {
  width: 100%;
  margin-top: 28px;
  display: none;
  animation: replySlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes replySlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-hero-reply-inner {
  background: #ffffff;
  border: 2px solid var(--mono-black);
  border-radius: var(--mono-radius-md);
  padding: 26px;
  text-align: left;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  position: relative;
}

.about-hero-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--mono-border-subtle);
  padding-bottom: 10px;
}

.about-hero-reply-author {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mono-black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-hero-reply-dismiss {
  font-size: 20px;
  line-height: 1;
  color: var(--mono-gray);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 2px 6px;
  transition: color 0.15s ease;
}

.about-hero-reply-dismiss:hover {
  color: var(--mono-black);
}

.about-hero-reply-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mono-near-black);
}

/* Clean typing indicator */
.about-hero-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 6px 0;
}

.about-hero-typing span {
  width: 7px;
  height: 7px;
  background: var(--mono-black);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.about-hero-typing span:nth-child(2) { animation-delay: 0.2s; }
.about-hero-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

/* --------------------------------------------------------------------------
   STRONG SCROLL EFFECT: Sticky Stacking Cards (motiondesigner.ca style)
   -------------------------------------------------------------------------- */
.about-stacked-deck {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 24px 120px 24px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-stack-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 2px solid var(--mono-black);
  border-radius: var(--mono-radius-lg);
  padding: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.about-stack-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

/* Top metadata row inside card */
.about-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--mono-border-subtle);
  padding-bottom: 14px;
}

.about-card-index {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mono-black);
}

.about-card-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1.5px solid var(--mono-black);
  border-radius: 9999px;
  background: var(--mono-ultra-light);
  color: var(--mono-black);
}

.about-card-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.about-card-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--mono-black);
  margin: 0 0 18px 0;
}

.about-card-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mono-dark-gray);
  margin: 0 0 24px 0;
}

/* Minimalist Tag Chips */
.about-mono-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.about-mono-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--mono-near-black);
  background: var(--mono-ultra-light);
  border: 1px solid var(--mono-border-subtle);
  padding: 5px 12px;
  border-radius: 6px;
}

/* Clean Stroke CTA Button */
.about-mono-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mono-black);
  color: #ffffff;
  border: 2px solid var(--mono-black);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-mono-btn svg {
  stroke: #ffffff;
  transition: transform 0.2s ease;
}

.about-mono-btn:hover {
  background: #ffffff;
  color: var(--mono-black);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-mono-btn:hover svg {
  stroke: var(--mono-black);
  transform: translateX(4px);
}

/* Card Visual Container */
.about-card-visual {
  border: 2px solid var(--mono-black);
  border-radius: var(--mono-radius-md);
  overflow: hidden;
  background: #f7f7f8;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: grayscale(15%);
}

.about-stack-card:hover .about-card-visual img {
  filter: grayscale(0%);
}

/* Visual placeholder graphics (stroke art) */
.about-visual-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--mono-black);
  padding: 24px;
  text-align: center;
}

.about-visual-graphic svg {
  stroke: var(--mono-black);
}

.about-visual-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mono-gray);
}

/* --------------------------------------------------------------------------
   LIVING "NOW" SECTION
   -------------------------------------------------------------------------- */
.about-now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.about-now-item {
  background: var(--mono-ultra-light);
  border: 1.5px solid var(--mono-border-subtle);
  border-radius: var(--mono-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.about-now-item:hover {
  border-color: var(--mono-black);
}

.about-now-item-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--mono-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.about-now-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mono-black);
  margin: 0;
}

.about-now-item-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mono-dark-gray);
  margin: 0;
}

/* --------------------------------------------------------------------------
   THE GEAR & THE STACK (Collapsible Accordions)
   -------------------------------------------------------------------------- */
.about-gear-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about-gear-accordion {
  border: 1.5px solid var(--mono-border-subtle);
  border-radius: var(--mono-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
  background: #ffffff;
}

.about-gear-accordion[open] {
  border-color: var(--mono-black);
}

.about-gear-summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mono-black);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background: #ffffff;
}

.about-gear-summary::-webkit-details-marker {
  display: none;
}

.about-gear-chevron {
  width: 18px;
  height: 18px;
  stroke: var(--mono-black);
  transition: transform 0.25s ease;
}

.about-gear-accordion[open] .about-gear-chevron {
  transform: rotate(180deg);
}

.about-gear-body {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--mono-border-subtle);
  background: var(--mono-ultra-light);
}

.about-gear-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.about-gear-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mono-black);
  margin: 0 0 10px 0;
}

.about-gear-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-gear-col li {
  font-size: 14px;
  color: var(--mono-dark-gray);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-gear-col li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mono-black);
}

/* --------------------------------------------------------------------------
   CURATED SITE BRIDGES
   -------------------------------------------------------------------------- */
.about-bridges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.about-bridge-item {
  border: 1.5px solid var(--mono-border-subtle);
  border-radius: var(--mono-radius-md);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  transition: all 0.22s ease;
}

.about-bridge-item:hover {
  border-color: var(--mono-black);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.about-bridge-icon {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--mono-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-bridge-icon svg {
  stroke: var(--mono-black);
}

.about-bridge-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mono-black);
  margin: 0 0 8px 0;
}

.about-bridge-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mono-gray);
  margin: 0 0 16px 0;
}

.about-bridge-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--mono-black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   CONTACT FORM
   -------------------------------------------------------------------------- */
.about-contact-form {
  max-width: 640px;
  margin: 28px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.about-contact-row label {
  font-size: 13px;
  font-weight: 700;
  color: var(--mono-black);
  letter-spacing: 0.02em;
}

.about-contact-row input,
.about-contact-row textarea {
  border: 1.5px solid var(--mono-border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--mono-black);
  background: var(--mono-ultra-light);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.about-contact-row input:focus,
.about-contact-row textarea:focus {
  border-color: var(--mono-black);
  background: #ffffff;
}

.about-contact-submit {
  background: var(--mono-black);
  color: #ffffff;
  border: 2px solid var(--mono-black);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.about-contact-submit:hover {
  background: #ffffff;
  color: var(--mono-black);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-side-nav {
    display: none;
  }

  .about-stack-card {
    padding: 32px 24px;
  }

  .about-card-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-now-grid,
  .about-bridges-row,
  .about-gear-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-hero-stage {
    padding: 24px 16px 60px 16px;
  }

  .about-avatar-stage {
    margin-bottom: -40px;
  }

  .about-prompt-capsule {
    padding: 4px 6px 4px 16px;
  }

  .about-prompt-input {
    font-size: 14px;
  }

  .about-prompt-submit {
    width: 38px;
    height: 38px;
  }

  .about-pills-bar {
    gap: 6px;
  }

  .about-prompt-pill {
    font-size: 11.5px;
    padding: 6px 12px;
  }

  .about-stacked-deck {
    padding: 40px 16px 80px 16px;
    gap: 40px;
  }

  .about-stack-card {
    top: 70px;
    padding: 24px 18px;
    border-radius: 18px;
  }
}
