@import url('star.css?v=7'); /* r13: the star-work showcase leads this page (shared with home) */
/* firstpack-v2 — portfolio page. Owner: fp2-portfolio. ADDS to base.css chrome only.
   mech-3 kraft opener · six category chapters (full-bleed bands + mech-5 carousels) ·
   die-line motif (fine dashed cut-line on sample cards + ⌖ registration mark). PRESSROOM
   palette, rationed: board is the only panel hue here; ink text on board (AAA 6.90:1). */

/* ---- registration mark ⌖ : the only decorative glyph, sparse ---- */
.pf-reg {
  font-weight: 300;
  opacity: .5;
  line-height: 1;
}
.pf-ch-head .pf-reg {
  margin-right: .5em;
  font-size: .9em;
}

/* ---- mechanic 3: kraft opener split panel (photo + flat board). r13: it follows the
   star-work lead, so the header clearance (--hdr-h) it carried at page top is gone ---- */
.pf-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(88vh, 760px);
  border-bottom: 1px solid var(--line);
}
.pf-open-panel {
  position: relative;
  background: var(--board);          /* PANEL-B kraft — INK text only */
  color: var(--ink);
  padding: clamp(3rem, 2rem + 5vw, 6.5rem) var(--pad) clamp(2.5rem, 1.5rem + 4vw, 5rem);
  display: flex;
  flex-direction: column;
}
.pf-open-panel .eyebrow {
  opacity: .7;
}
.pf-open-panel .display {
  margin-top: 1rem;
}
.pf-open-copy {
  max-width: 30rem;
  margin-top: auto;             /* the deliberate press-grammar gap: head up top, copy pinned low */
  padding-top: clamp(2.5rem, 1.5rem + 6vw, 6rem);
  font-weight: 300;
}
/* ⌖ at the panel corners — die-line registration, disciplined */
.pf-reg-tl,
.pf-reg-br {
  position: absolute;
  font-size: 1.05rem;
  opacity: .42;
}
.pf-reg-tl { top: 1rem; left: var(--pad); }
.pf-reg-br { right: var(--pad); bottom: 1rem; }
.pf-open-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.pf-open-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- category chapters ---- */
.pf-ch {
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.pf-ch + .pf-ch {
  border-top: 1px solid var(--line);
}
.pf-ch-head {
  max-width: var(--wrap);
}
.pf-ch-head .eyebrow {
  color: var(--press-blue);
}
.pf-ch-head .display-sm {
  margin-top: .85rem;
}
.pf-cn {
  font-size: .5em;
  letter-spacing: .06em;
  opacity: .55;
  margin-left: .35em;
}
.pf-ch-intro {
  max-width: 34rem;
  margin-top: 1.1rem;
  font-weight: 300;
  color: color-mix(in oklab, var(--ink) 78%, var(--paper));
}
.pf-ch-body {
  margin-top: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, .6rem + 1.6vw, 2rem);
}

/* ---- full-bleed / half bands ---- */
.pf-fig {
  margin: 0;
}
.pf-frame {
  position: relative;
  aspect-ratio: var(--ar, 3 / 2);
  max-height: 82vh;
  overflow: hidden;
  background: color-mix(in oklab, var(--ink) 8%, var(--paper));
}
.pf-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, .6rem + 1.6vw, 2rem);
}
.pf-duo-tall .pf-frame {
  max-height: 78vh;
}
/* a near-1:1 master promoted to a full band renders as a centred plate, not a
   lone square dumped left with dead space beside it (BRIEF-V2 §2.3 rhythm). The
   cap only binds above the mobile stack, so ≤900 keeps the full-width square. */
.pf-full--square .pf-frame {
  max-width: 680px;
  margin-inline: auto;
}
.pf-full--square .pf-cap {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.pf-cap {
  margin-top: .8rem;
  font-size: var(--eyebrow);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ink) 62%, var(--paper));
}

/* ---- mechanic 5: sample-card carousel with die-line cut-line frame ---- */
.pf-samples {
  margin-top: clamp(.5rem, 0rem + 1.5vw, 1.5rem);
}
.pf-rail {
  position: relative;
}
.pf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 300px);
  gap: clamp(1rem, .6rem + 1.4vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-card {
  scroll-snap-align: start;
  /* the die-line: a fine dashed cut-line around the sample, image inset within it */
  border: 1px dashed var(--line-strong);
  padding: .55rem;
}
.pf-card .pf-frame {
  max-height: none;
}
.pf-card .pf-cap {
  margin-top: .7rem;
}
.pf-rail-ctl {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.pf-rail.can-scroll .pf-rail-ctl {
  display: flex;
}
.pf-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.pf-arrow:hover {
  background: var(--ink);
  color: var(--paper);
}
.pf-rail-line {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.pf-rail-bar {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(.18);
  background: var(--press-blue);
  transition: transform .2s var(--ease);
}

/* ---- lone sample → die-line inset detail (not a one-card carousel) ---- */
.pf-detail {
  margin: 0;
  max-width: 360px;
  border: 1px dashed var(--line-strong);
  padding: .55rem;
}

/* ---- closing group: catalogue extracts (real client work from the profile) ---- */
.pf-ch.pf-ch-cat {
  border-top: 1px solid var(--line-strong);   /* a firmer rule marks the coda vs chapter divides */
}
.pf-ch-cat .pf-ch-head {
  border-left: 2px solid var(--press-blue);    /* die-line accent, disciplined — no new grid */
  padding-left: clamp(1rem, .5rem + 1.4vw, 1.75rem);
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .pf-open {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pf-open-panel {
    padding-top: 3rem;
  }
  .pf-open-media {
    aspect-ratio: 4 / 3;
  }
  .pf-reg-br { display: none; }
  .pf-duo {
    grid-template-columns: 1fr;
  }
  .pf-frame,
  .pf-duo-tall .pf-frame {
    max-height: 72vh;
  }
}
