/* ============================================================
   J. CALDWELL & SONS — ABOUT.CSS
   About Page Specific Styles (about.html)
   ============================================================ */

/* ============================================================
   PAGE HEADER
   ============================================================ */
.about-page-header {
  padding: 140px 40px 60px;
  text-align: center;
  border-bottom: 1px solid var(--color-rule);
}

.about-page-header .divider-a-top {
  border: none;
  border-top: 3px solid var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  height: 6px;
  margin: 0 auto 40px;
  max-width: 800px;
}

.about-page-header h1 {
  font-family: var(--font-headline);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.about-page-header .subtitle {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-ink-light);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-page-header .date-stamp {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ink-faded);
}

.about-page-header .divider-a-bottom {
  border: none;
  border-top: 1px solid var(--color-ink);
  border-bottom: 3px solid var(--color-ink);
  height: 6px;
  margin: 40px auto 0;
  max-width: 800px;
}


/* ============================================================
   ORIGIN STORY [G] EDITORIAL SPREAD
   ============================================================ */
.origin-story {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  padding: 100px 60px;
  align-items: start;
}

.origin-story-image {
  position: relative;
  overflow: hidden;
}

.origin-story-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.12) contrast(1.03);
  transition: transform 0.5s ease;
}

.origin-story-image:hover img {
  transform: scale(1.06);
}

.origin-story-image figcaption {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-faded);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--color-rule);
}

.origin-story .chapter-label {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink-faded);
  margin-bottom: 8px;
}

.origin-story .story-text h2 {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
}

.origin-story .story-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-ink-light);
}

.origin-story .story-text p + p {
  margin-top: 20px;
  text-indent: 1.5em;
}

.inline-illustration {
  width: 120px;
  margin: 24px auto;
  display: block;
  opacity: 0.7;
  filter: sepia(0.3);
}


/* ============================================================
   PHILOSOPHY [C] OVERLAY
   ============================================================ */
.philosophy {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) contrast(1.05);
}

.philosophy-text {
  position: relative;
  width: 45%;
  padding: 60px;
  background: rgba(245, 240, 232, 0.92);
  margin: 60px;
  border: 1px solid var(--color-rule);
  z-index: 1;
}

.philosophy-text .chapter-label {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink-faded);
  margin-bottom: 8px;
}

.philosophy-text h2 {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.15;
}

.philosophy-text blockquote {
  font-family: var(--font-headline);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid var(--color-indigo);
  color: var(--color-ink);
}

.philosophy-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink-light);
}

.philosophy-text p + p {
  margin-top: 16px;
}


/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  padding: 80px 40px;
  background: var(--color-bg-primary);
}

.timeline-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline-section .section-num {
  font-family: var(--font-headline);
  font-size: 48px;
  color: var(--color-ink-faded);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-section .section-title {
  font-family: var(--font-headline);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
}

.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-rule-dark);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin: 0 0 40px;
  align-items: flex-start;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-spacer {
  width: 50%;
}

.timeline-connector {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 20px;
  height: 2px;
  background: var(--color-rule-dark);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-cream);
  border: 2px solid var(--color-rule-dark);
  border-radius: 50%;
}

.timeline-card {
  width: 42%;
  padding: 24px;
  background: var(--color-cream-dark);
  border: 1px solid var(--color-rule);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  margin-left: 8%;
}

.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  margin-right: 8%;
}

.timeline-year {
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-rust);
  margin: 0 0 8px;
  line-height: 1;
}

.timeline-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink-light);
}


/* ============================================================
   CRAFTSMANSHIP [F] IRREGULAR GRID
   ============================================================ */
.craftsmanship {
  padding: 80px 40px;
  background: var(--color-bg-primary);
}

.craftsmanship .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.craftsmanship .section-num {
  font-family: var(--font-headline);
  font-size: 48px;
  color: var(--color-ink-faded);
  line-height: 1;
  margin-bottom: 8px;
}

.craftsmanship .section-title {
  font-family: var(--font-headline);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
}

.craft-grid {
  display: grid;
  grid-template-areas:
    "denim denim leather"
    "stitch leather .";
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.craft-item {
  position: relative;
  overflow: hidden;
}

.craft-item--denim   { grid-area: denim; }
.craft-item--leather { grid-area: leather; }
.craft-item--stitch  { grid-area: stitch; }

.craft-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  min-height: 250px;
}

.craft-item:hover img {
  transform: scale(1.06);
}

.craft-card {
  background: var(--color-cream);
  padding: 24px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--color-rule);
}

.craft-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.craft-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-ink-light);
}


/* ============================================================
   ABOUT — PARALLAX QUOTE [E]
   ============================================================ */
/* Uses .parallax-quote from style.css */


/* ============================================================
   LEGACY [B] NEWSPAPER COLUMNS + [D]
   ============================================================ */
.legacy {
  padding: 80px 60px;
}

.legacy .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.legacy .section-num {
  font-family: var(--font-headline);
  font-size: 48px;
  color: var(--color-ink-faded);
  line-height: 1;
  margin-bottom: 8px;
}

.legacy .section-title {
  font-family: var(--font-headline);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
}

.legacy-portrait {
  float: left;
  width: 250px;
  margin: 0 24px 16px 0;
  padding: 12px;
  border: 1px solid var(--color-rule);
  background: var(--color-cream);
}

.legacy-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.legacy-portrait figcaption {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-faded);
  margin-top: 8px;
  text-align: center;
}

.legacy-portrait-right {
  float: right;
  width: 220px;
  margin: 0 0 16px 24px;
  padding: 12px;
  border: 1px solid var(--color-rule);
  background: var(--color-cream);
}

.legacy-portrait-right img {
  width: 100%;
  height: auto;
  display: block;
}

.legacy-portrait-right figcaption {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-faded);
  margin-top: 8px;
  text-align: center;
}

.legacy-text {
  column-count: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--color-rule);
  font-size: 17px;
  line-height: 1.75;
  text-align: justify;
  color: var(--color-ink-light);
}

.legacy-text p {
  margin-bottom: 16px;
}

.legacy-inline-illustration {
  width: 100px;
  margin: 16px auto;
  display: block;
  opacity: 0.65;
  filter: sepia(0.3);
}


/* ============================================================
   ABOUT — CTA SECTION
   ============================================================ */
.about-cta {
  padding: 80px 40px;
  text-align: center;
  background: var(--color-cream-dark);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
}

.about-cta h2 {
  font-family: var(--font-nav);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-cta p {
  font-family: var(--font-headline);
  font-size: 17px;
  color: var(--color-ink-light);
  margin-bottom: 28px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.about-cta .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
   RESPONSIVE — TABLET (769–1024px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {

  .origin-story {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 40px;
  }

  .philosophy-text {
    width: 55%;
    padding: 40px;
    margin: 40px;
  }

  .craft-grid {
    grid-template-areas:
      "denim denim leather"
      "stitch stitch leather";
  }

  .legacy {
    padding: 60px 40px;
  }

  .legacy-text {
    column-count: 2;
  }
}


/* ============================================================
   RESPONSIVE — SP (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Page Header */
  .about-page-header {
    padding: 120px 20px 40px;
  }

  .about-page-header h1 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .about-page-header .subtitle {
    font-size: 17px;
  }

  /* Origin Story */
  .origin-story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 20px;
  }

  .origin-story .story-text h2 {
    font-size: clamp(22px, 5vw, 28px);
  }

  /* Philosophy */
  .philosophy {
    min-height: 60vh;
    justify-content: center;
  }

  .philosophy-text {
    width: 90%;
    margin: 20px auto;
    padding: 32px 24px;
  }

  .philosophy-text h2 {
    font-size: 24px;
  }

  .philosophy-text blockquote {
    font-size: 18px;
  }

  /* Timeline */
  .timeline-section {
    padding: 60px 20px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }

  .timeline-spacer {
    display: none;
  }

  .timeline-connector {
    left: 20px;
    width: 30px;
    transform: none;
  }

  .timeline-connector::after {
    left: 0;
    transform: none;
  }

  .timeline-card,
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    width: 100%;
    margin: 0 0 0 50px;
  }

  .timeline-year {
    font-size: 28px;
  }

  /* Craftsmanship */
  .craftsmanship {
    padding: 60px 16px;
  }

  .craft-grid {
    grid-template-areas:
      "denim"
      "leather"
      "stitch";
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .craft-card {
    margin-top: -20px;
  }

  /* Legacy */
  .legacy {
    padding: 60px 20px;
  }

  .legacy-text {
    column-count: 1;
  }

  .legacy-portrait,
  .legacy-portrait-right {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }

  /* CTA */
  .about-cta {
    padding: 60px 20px;
  }

  .about-cta .btn-group {
    flex-direction: column;
    align-items: center;
  }
}


/* ============================================================
   RESPONSIVE — LARGE (1440px+)
   ============================================================ */
@media (min-width: 1440px) {

  .origin-story {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 80px;
  }

  .craftsmanship {
    max-width: 1400px;
    margin: 0 auto;
  }

  .legacy {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 80px;
  }
}
