/* ============================================================
   About — photo-led. Layers on styles.css.
   ============================================================ */

.about-page { background: var(--cream); }

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.4rem) var(--hero-pad);
}
.topbar .logo img { height: var(--logo-h); width: auto; display: block; }

/* ============================================================
   About — an essay. One text column (~680px max), a portrait inside
   the column, one full-bleed production still, a pull quote framed by
   rules. Reads like a document, not a landing page.
   ============================================================ */
.about { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); }

.essay__col {
  max-width: 42rem;                 /* ~672px — long lines kill a page that's mostly writing */
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Opening line — same face as the body, just larger. Not a headline. */
.essay__open {
  margin: 0 0 clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.45vw, 2.2rem);
  line-height: 1.36;
  letter-spacing: 0.002em;
  color: var(--ink);
}

/* Body — big enough to hold the page against the pull quotes */
.essay__col p {
  margin: 0 0 1.25em;
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  line-height: 1.6;
  color: #2a2723;
}

/* Portrait — wide, breaking out past the text column (but short of full-bleed,
   which is reserved for the crane). No caption. */
.essay__portrait {
  width: min(58rem, calc(100vw - 2 * var(--pad)));
  margin-block: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-left: 50%;
  transform: translateX(-50%);
}
.essay__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;              /* the new portrait is landscape — show its natural framing */
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: grayscale(100%) contrast(1.02);
}

/* Big passage — a whole paragraph at the opening line's size. The size sits on
   the paragraph itself, so its em margins scale with it: equal room above and
   below, and it reads as a beat of its own rather than text that got bigger. */
.essay__col p.essay__big {
  margin: 1.1em 0;
  font-size: clamp(1.6rem, 2.45vw, 2.2rem);   /* same size as the opening line — no louder than the heading */
  line-height: 1.36;
  color: var(--ink);
}

/* Crew shot — same width and crop as the portrait, so the two images read as
   a matched pair rather than one quiet, one shouting */
.essay__still {
  width: min(58rem, calc(100vw - 2 * var(--pad)));
  margin-block: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-left: 50%;
  transform: translateX(-50%);
}
.essay__still img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  filter: grayscale(100%) contrast(1.02);
}

/* Timeline — the career at a glance. A hairline spine, one hollow marker per
   stage, the present filled in. Sits inside the text column like the rest. */
.timeline-block { margin-block: clamp(2.6rem, 5.5vw, 4.2rem); }
.timeline-block .eyebrow { margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  --tl-year: clamp(1.25rem, 1.8vw, 1.5rem);          /* the year is the anchor of each entry */
  --tl-mark: calc(var(--tl-year) / 2 - 4.5px);       /* marker centred on the year */
}
.timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.1rem);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {              /* marker, centred on the label */
  content: "";
  position: absolute;
  left: 0;
  top: var(--tl-mark);
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}
.timeline__item::after {               /* spine, down to the next marker */
  content: "";
  position: absolute;
  left: 4px;
  top: calc(var(--tl-mark) + 9px);
  bottom: calc(-1 * var(--tl-mark));
  width: 1px;
  background: rgba(27, 25, 23, 0.2);
}
.timeline__item:last-child::after { display: none; }
.timeline__item:last-child::before { background: var(--ink); }   /* now */
.timeline__when {
  display: block;
  font-family: var(--serif);
  font-size: var(--tl-year);
  line-height: 1;
  color: var(--ink);
}
.essay__col .timeline__what { margin: 0.55rem 0 0; }

/* Wide screens: the timeline runs left to right, across the same width as the
   photos — a feature of its own at the end of the essay rather than more
   scrolling. Phones keep the vertical version above. */
@media (min-width: 860px) {
  .timeline-block {
    width: min(58rem, calc(100vw - 2 * var(--pad)));
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .timeline {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    column-gap: 1.6rem;
  }
  .timeline__item { padding: 1.7rem 0 0; }            /* marker row sits above the label */
  .timeline__item::before { top: 0; }
  .timeline__item::after {                            /* spine runs across to the next marker */
    top: 4px;
    left: 9px;
    right: -1.6rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .essay__col .timeline__what { font-size: 1.05rem; line-height: 1.5; }
}

/* End of the essay: one plain CTA */
.essay__cta {
  display: inline-block;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  padding: 0.78em 1.5em;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.essay__cta:hover { background: var(--ink); color: var(--cream); }


/* ---- Frames / gallery ---- */
.about-frames { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 6rem); }
.about-frames__label { justify-content: flex-start; padding-inline: var(--pad); margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  padding-inline: clamp(0.6rem, 1.2vw, 1rem);
}
.about-gallery figure { margin: 0; overflow: hidden; }
.about-gallery img {
  width: 100%;
  height: clamp(260px, 30vw, 460px);
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.02);
  transition: transform 0.6s ease;
}
.about-gallery figure:hover img { transform: scale(1.03); }
/* three crops of the one photo so it reads as a contact sheet (swap for real photos) */
.about-gallery figure:nth-child(1) img { object-position: left center; }
.about-gallery figure:nth-child(2) img { object-position: center 42%; }
.about-gallery figure:nth-child(3) img { object-position: right center; }

/* ---- Contact ---- */
.about-contact {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--cream-line);
}
.about-contact .eyebrow { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.about-contact .statement a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.about-contact .statement a:hover { border-color: currentColor; }

/* ---- Footer ---- */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--cream-line);
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .about-hero { grid-template-columns: 1fr; gap: clamp(1.6rem, 5vw, 2.5rem); }
  .about-hero__text { max-width: none; }
  .about-hero__media { max-width: 22rem; margin-inline: auto; }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery img { height: clamp(280px, 75vw, 420px); }
  .about-gallery figure:nth-child(1) img,
  .about-gallery figure:nth-child(2) img,
  .about-gallery figure:nth-child(3) img { object-position: center 42%; }
}
