/* ============================================================
   about.css — About Page Styles
   aharsh.com | Sprint 3
   ============================================================ */


/* ============================================================
   PAGE HERO
   Reusable for all inner pages (about, gallery, shop).
   ============================================================ */

.page-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #1f1d16, #2a2218); /* fallback */
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  will-change: transform;
}

/* Gradient overlay — stronger than homepage hero since this is shorter */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(15, 15, 13, 0.92) 0%, rgba(15, 15, 13, 0.30) 60%, rgba(15, 15, 13, 0.50) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-h);
  width: 100%;
}

/* Chapter number e.g. "— About" */
.page-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 9vw, 130px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: var(--text-primary);
  overflow: hidden; /* Clips char animation */
}

.page-hero-title .char {
  display: inline-block;
}


/* ============================================================
   CHAPTER LAYOUT
   Numbered editorial sections — inspired by Leclerc's site.
   ============================================================ */

.chapter {
  padding: var(--section-v) 0;
}

/* Chapter header: number + label on the same baseline */
.chapter-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}

.chapter-number {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.7;
}

.chapter-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Thin gold line between number and label */
.chapter-header-rule {
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  position: relative;
  top: -1px; /* Aligns with baseline */
}


/* ============================================================
   CHAPTER 01 — THE ARTIST (intro)
   Large heading + multi-paragraph bio.
   ============================================================ */

.chapter-intro {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.intro-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* Italic accent word */
.intro-heading em {
  font-style: italic;
  color: var(--accent);
}

.intro-text-col {
  padding-top: 8px;
}

.intro-para {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}

.intro-para:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ============================================================
   FULL-BLEED IMAGE BREAK
   A wide painting or studio photo between chapters.
   ============================================================ */

.full-bleed-img {
  width: 100%;
  height: clamp(300px, 55vh, 680px);
  overflow: hidden;
  position: relative;
}

.full-bleed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Optional caption */
.full-bleed-caption {
  position: absolute;
  bottom: 20px;
  right: var(--page-h);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.45);
}


/* ============================================================
   CHAPTER 02 — THE JOURNEY
   Narrative text with a large chapter title.
   ============================================================ */

.chapter-journey {
  background: var(--bg-secondary);
}

.journey-intro-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.45;
  max-width: 780px;
  margin-bottom: 56px;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}

.journey-col p {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.journey-col p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .journey-col:first-child {
    margin-bottom: 20px;
  }
}


/* ============================================================
   CHAPTER 03 — PROCESS
   2-column: image left, text right.
   ============================================================ */

.chapter-process {
  background: var(--bg);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.process-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}

.process-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
}

.process-img-wrap:hover img {
  transform: scale(1.04);
}

.process-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 28px;
}

.process-para {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Materials list */
.process-materials {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.process-materials-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}

.process-materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-secondary);
  padding: 6px 14px;
  border: 1px solid var(--border);
  letter-spacing: 0.06em;
  transition: border-color 0.3s, color 0.3s;
}

.process-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   ARTIST QUOTE (About page version)
   Slightly different from homepage quote — warmer, first-person.
   ============================================================ */

.about-quote-section {
  padding: var(--section-v) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--page-h);
  text-align: center;
}

.about-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 32px;
}

.about-quote-rule {
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 18px;
}

.about-quote-author {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}


/* ============================================================
   CHAPTER 04 — INSTAGRAM GRID
   Static 3×2 grid. User places recent IG post images.
   ============================================================ */

.chapter-instagram {
  background: var(--bg);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 44px;
}

.instagram-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-expo), filter 0.5s;
}

/* Gold overlay on hover */
.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0.3);
  opacity: 0;
  transition: opacity 0.4s;
}

.instagram-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.instagram-item:hover::after {
  opacity: 1;
}

/* Instagram icon on hover */
.instagram-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease-smooth);
  pointer-events: none;
}

.instagram-item:hover .instagram-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.instagram-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* CTA below grid */
.instagram-cta {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 600px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Show only 4 on mobile */
  .instagram-item:nth-child(n+5) {
    display: none;
  }
}
