/* ============================================================================
   PLACE PAGES, editorial imagery. Aubury & Co, 26 September 2026.
   Used on: where-we-work, interior-design-newcastle, gosforth-and-jesmond,
   darras-hall-and-ponteland, corbridge-and-the-tyne-valley, northumberland-coast.

   Three moves, all photograph-led, all from the project library:
     .pl-strip    a run of pictures from ONE project (one wide, two tall, or three tall),
                  with an eyebrow naming the project and where it is
     .pl-divider  a full-bleed photograph with a ghosted place name, a breath between
                  two long passages of text (the Kinfolk move from the project pages)
     .pl-lead     one wide photograph straight after the introduction
   Every image has width/height, lazy loading and a conservative alt.
   ============================================================================ */

.pl-strip {
  padding: clamp(28px, 4vw, 48px) var(--space-8) clamp(36px, 5vw, 64px);
  background: var(--bg-primary, #F7F5F0);
}
.pl-strip.alt { background: var(--buttermilk, #F5EDE0); }
.pl-strip-inner { max-width: 1240px; margin: 0 auto; }

.pl-strip-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6);
  margin: 0 0 clamp(14px, 2vw, 22px);
}
.pl-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--forest, #3D5740);
  margin: 0;
}
.pl-eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(61, 87, 64, 0.35); padding-bottom: 2px; }
.pl-eyebrow a:hover { border-bottom-color: var(--forest, #3D5740); }
.pl-strip-line {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; font-style: italic;
  color: var(--text-secondary, #4A4A45);
  margin: 0; text-align: right;
}

.pl-grid { display: grid; gap: clamp(8px, 1.2vw, 14px); }
.pl-grid.wide-tall-tall { grid-template-columns: 2fr 1fr 1fr; }
.pl-grid.tall-tall-tall { grid-template-columns: 1fr 1fr 1fr; }
.pl-grid.tall-wide { grid-template-columns: 1fr 2fr; }
.pl-grid figure { margin: 0; overflow: hidden; background: var(--linen, #E8E2D4); }
.pl-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-grid.wide-tall-tall figure:first-child img { aspect-ratio: 3 / 2; }
.pl-grid.wide-tall-tall figure:not(:first-child) img,
.pl-grid.tall-tall-tall img,
.pl-grid.tall-wide figure:first-child img { aspect-ratio: 3 / 4; }
.pl-grid.tall-wide figure:last-child img { aspect-ratio: 3 / 2; }
.pl-grid.wide-tall-tall figure, .pl-grid.tall-wide figure { height: 100%; }
.pl-grid.wide-tall-tall figure:first-child img, .pl-grid.tall-wide figure:last-child img { aspect-ratio: auto; height: 100%; }

.pl-strip-foot {
  margin: clamp(12px, 1.6vw, 18px) 0 0;
  font-size: var(--text-sm, 0.875rem); color: var(--text-muted, #8A8275);
}
.pl-strip-foot a { color: var(--forest, #3D5740); }

/* full-bleed photograph with a ghosted place name */
.pl-divider {
  position: relative; width: 100%; height: 62vh; min-height: 380px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pl-divider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pl-divider::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(21, 30, 23, 0.18) 0%, rgba(21, 30, 23, 0.10) 50%, rgba(21, 30, 23, 0.26) 100%);
}
.pl-divider-word {
  position: relative; z-index: 2;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.4rem, 12vw, 11rem); font-weight: 400; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(245, 237, 224, 0.66);
  margin: 0; padding: 0 16px; text-align: center;
  pointer-events: none; user-select: none;
}
.pl-divider-word small {
  display: block; font-family: 'Inter', system-ui, sans-serif; font-size: 0.7rem; letter-spacing: 0.3em;
  color: rgba(245, 237, 224, 0.85); margin-top: 14px;
}

/* one wide photograph after the introduction */
.pl-lead { padding: 0 var(--space-8) clamp(28px, 4vw, 48px); }
.pl-lead-inner { max-width: 1240px; margin: 0 auto; }
.pl-lead img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pl-lead figcaption { margin: 10px 0 0; font-size: var(--text-sm, 0.875rem); color: var(--text-muted, #8A8275); }

@media (max-width: 900px) {
  .pl-grid.wide-tall-tall { grid-template-columns: 1fr 1fr; }
  .pl-grid.wide-tall-tall figure:first-child { grid-column: 1 / -1; }
  .pl-grid.wide-tall-tall figure:first-child img { aspect-ratio: 3 / 2; height: auto; }
  .pl-grid.tall-wide { grid-template-columns: 1fr; }
  .pl-grid.tall-wide figure:first-child img { aspect-ratio: 4 / 3; }
  .pl-grid.tall-wide figure:last-child img { aspect-ratio: 3 / 2; height: auto; }
}
@media (max-width: 640px) {
  .pl-strip, .pl-lead { padding-left: 16px; padding-right: 16px; }
  .pl-strip-head { flex-direction: column; gap: 6px; }
  .pl-strip-line { text-align: left; }
  .pl-grid.tall-tall-tall { grid-template-columns: 1fr 1fr; }
  .pl-grid.tall-tall-tall figure:last-child { grid-column: 1 / -1; }
  .pl-grid.tall-tall-tall figure:last-child img { aspect-ratio: 4 / 3; }
  .pl-divider { height: 46vh; min-height: 300px; }
  .pl-lead img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .pl-grid img { transition: none; } }

/* Long place names (Northumberland) fit the width instead of clipping. */
.pl-divider-word.long { font-size: clamp(2.1rem, 7.6vw, 7.2rem); letter-spacing: 0.04em; }
