/* goofieseyes — interior page layouts.
 *
 * Loaded by every page except the landing page, which needs none of this.
 * Same namespace contract as site.css: .gf-* selectors only, never bare
 * elements, so this file cannot affect a page that has not opted in.
 */

.gf-page {
  background: var(--gf-paper);
  min-height: 100vh;
  padding: clamp(6rem, 11vw, 8.5rem) clamp(1rem, 4vw, 2.6rem) clamp(4rem, 8vw, 6rem);
}

.gf-page--alt {
  background: var(--gf-paper-2);
}

.gf-page-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.gf-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--gf-line);
}

.gf-page-head h1 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.92;
  max-width: 16ch;
  margin: 0.6rem 0 0;
}

.gf-page-head p {
  margin: 0;
}

.gf-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--gf-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gf-ink-soft);
  text-decoration: none;
  margin-bottom: 1.6rem;
}

.gf-back:hover {
  color: var(--gf-coral);
}

.gf-state {
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
  font-family: var(--gf-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gf-ink-soft);
}

.gf-count {
  font-family: var(--gf-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gf-ink-soft);
  text-align: right;
  white-space: nowrap;
}

.gf-count b {
  display: block;
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  color: var(--gf-ink);
  line-height: 1;
}

/* ---------- the crate as a full-page grid ---------- */
.gf-crate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(2.4rem, 4vw, 3.6rem) clamp(1.6rem, 3vw, 2.6rem);
}

.gf-crate-grid .gf-record {
  width: 100%;
}

/* ---------- collection: photo grid + lightbox ---------- */
.gf-photo-grid {
  columns: 3;
  column-gap: clamp(0.7rem, 1.4vw, 1.1rem);
}

@media (max-width: 900px) {
  .gf-photo-grid { columns: 2; }
}

@media (max-width: 540px) {
  .gf-photo-grid { columns: 1; }
}

.gf-photo {
  break-inside: avoid;
  margin: 0 0 clamp(0.7rem, 1.4vw, 1.1rem);
  cursor: zoom-in;
  overflow: hidden;
  background: var(--gf-paper-2);
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}

.gf-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gf-photo:hover img {
  transform: scale(1.03);
}

.gf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 17, 15, 0.96);
  padding: clamp(1rem, 4vw, 3rem);
}

.gf-lightbox.is-open {
  display: flex;
}

.gf-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gf-lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--gf-paper);
  font-family: var(--gf-mono);
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.gf-lightbox button:hover {
  color: var(--gf-coral);
}

.gf-lb-close { top: 1rem; right: 1rem; }
.gf-lb-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.gf-lb-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }

.gf-lb-count {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--gf-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(247, 244, 238, 0.7);
}

/* ---------- prints ---------- */
.gf-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

/* The card is a container, not a link: a print sells two ways (a framed print
 * and a file) and a nested <a> is not legal markup, so the actions live in
 * .gf-print-buys below. `color`/`text-decoration` are still declared here —
 * the namespace contract at the top of site.css forbids a bare `a` selector,
 * so anything that might hold a link states its own. Without that the browser
 * default wins and the whole card renders as blue underlined link text. */
.gf-print {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.gf-print-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gf-print-img {
  position: relative;
  overflow: hidden;
  background: var(--gf-paper-2);
  aspect-ratio: 4 / 5;
}

.gf-print-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gf-print:hover .gf-print-img img {
  transform: scale(1.04);
}

.gf-print-body {
  padding-top: 0.9rem;
  border-top: 1px solid var(--gf-line);
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gf-print-body h3 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0;
}

.gf-print-price {
  font-family: var(--gf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gf-ink-soft);
  margin: 0.4rem 0 1.1rem;
}

/* Both ways to buy one photograph, stacked at the foot of the card so the
 * rows line up across a row of cards whatever the title wraps to. Reads as a
 * short price list rather than two competing buttons. */
.gf-print-buys {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.gf-print-opt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--gf-line);
  font-family: var(--gf-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gf-print-opt:hover {
  color: var(--gf-coral);
}

.gf-print-opt-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--gf-ink-soft);
  transition: color 0.3s ease;
}

.gf-print-opt:hover .gf-print-opt-price {
  color: var(--gf-coral);
}

.gf-print-opt svg {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gf-print-opt:hover svg {
  transform: translateX(0.35rem);
}

.gf-section-label {
  font-family: var(--gf-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gf-ink-soft);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gf-line);
  margin: clamp(3rem, 6vw, 5rem) 0 clamp(1.6rem, 3vw, 2.4rem);
}

.gf-section-label:first-of-type {
  margin-top: 0;
}

/* ---------- checkout ---------- */
.gf-checkout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .gf-checkout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.gf-summary {
  border: 1px dashed var(--gf-ink);
  background: var(--gf-paper);
  padding: clamp(1.4rem, 3vw, 2rem);
}

@media (min-width: 900px) {
  .gf-summary {
    position: sticky;
    top: 6rem;
  }
}

.gf-summary img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.2rem;
}

.gf-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gf-line);
  font-family: var(--gf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gf-summary-row:last-child {
  border-bottom: 0;
  font-size: 0.85rem;
  color: var(--gf-ink);
}

.gf-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gf-size {
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--gf-line);
  background: transparent;
  font-family: var(--gf-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--gf-ink);
  min-height: 2.75rem;
}

.gf-size[aria-pressed="true"] {
  border-color: var(--gf-ink);
  background: var(--gf-ink);
  color: var(--gf-paper);
}

.gf-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
  .gf-row { grid-template-columns: 1fr; }
}

.gf-note-box {
  border-left: 2px solid var(--gf-coral);
  padding: 0.9rem 1.1rem;
  margin-top: 1.4rem;
  background: var(--gf-paper-2);
  font-size: 0.92rem;
  line-height: 1.55;
}

.gf-error {
  color: var(--gf-coral);
  font-family: var(--gf-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

/* ---------- journal ---------- */
.gf-journal-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--gf-line);
  text-decoration: none;
  color: inherit;
}

@media (min-width: 760px) {
  .gf-journal-card {
    grid-template-columns: 11rem 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.gf-journal-card:first-child {
  border-top: 1px solid var(--gf-line);
}

.gf-journal-card h2 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.05;
  margin: 0 0 0.7rem;
  transition: color 0.3s ease;
}

.gf-journal-card:hover h2 {
  color: var(--gf-coral);
}

.gf-journal-card p {
  margin: 0;
  color: var(--gf-ink-soft);
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- journal post ---------- */
.gf-post {
  max-width: 68ch;
  margin: 0 auto;
}

.gf-post h1 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  margin: 1rem 0 1.6rem;
}

.gf-post-body p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  margin: 0 0 1.4rem;
}

.gf-post-body blockquote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gf-coral);
  font-family: var(--gf-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3;
}

.gf-post-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem 0;
}

/* Headed prose (privacy.html). Journal posts never emit these. */
.gf-post-body h2 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.05;
  margin: 3rem 0 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--gf-line);
}

.gf-post-body h3 {
  font-family: var(--gf-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 2rem 0 0.7rem;
}

.gf-post-body ul {
  margin: 0 0 1.4rem;
  padding-left: 1.2rem;
}

.gf-post-body li {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.gf-post-body a {
  color: inherit;
  text-decoration-color: var(--gf-coral);
  text-underline-offset: 0.2em;
}

/* ---------- order success ---------- */
.gf-success {
  max-width: 640px;
  margin: 0 auto;
  border: 1px dashed var(--gf-ink);
  background: var(--gf-paper);
  padding: clamp(2rem, 5vw, 3.4rem);
  text-align: center;
}

.gf-success h1 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  margin: 1rem 0;
}

.gf-success-ref {
  font-family: var(--gf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gf-ink-soft);
  padding: 1rem 0;
  margin: 1.4rem 0;
  border-top: 1px solid var(--gf-line);
  border-bottom: 1px solid var(--gf-line);
  word-break: break-all;
}

/* ---------- next pressing ---------- */
.gf-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid var(--gf-line);
}

/* ============================================================
   professional.html — the client-facing portfolio
   ============================================================
   Deliberately plainer than the record-crate framing on the landing page.
   Someone arriving here is deciding whether to hire, so the work is shown
   large and the metaphor is dropped: no discs, no catalogue numbers.
*/

.gf-pro-hero {
  background: var(--gf-ink);
  color: var(--gf-paper);
  padding: calc(var(--gf-nav-h) + clamp(3.5rem, 8vw, 6.5rem)) clamp(1rem, 4vw, 2.6rem)
           clamp(3.5rem, 8vw, 6rem);
}

.gf-pro-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gf-pro-hero h1 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin: 1.2rem 0 0;
  max-width: 16ch;
}

.gf-pro-hero p {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  max-width: 52ch;
  margin: 1.6rem 0 0;
  color: rgba(247, 244, 238, 0.76);
}

/* Capability row — what can actually be commissioned. */
.gf-pro-facts {
  display: grid;
  gap: 1.6rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: clamp(2rem, 4vw, 2.6rem) 0 0;
  border-top: 1px solid rgba(247, 244, 238, 0.18);
}

.gf-pro-facts div {
  margin: 0;
}

.gf-pro-facts dt {
  font-family: var(--gf-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
}

.gf-pro-facts dd {
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--gf-paper);
}

/* ---------- films ---------- */
.gf-pro-films {
  background: var(--gf-ink);
  color: var(--gf-paper);
  padding: 0 clamp(1rem, 4vw, 2.6rem) clamp(4rem, 9vw, 7rem);
}

.gf-pro-films-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.gf-film {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}

@media (min-width: 900px) {
  /* Landscape pieces lead with the frame; the vertical piece is narrow enough
     that a full-width column would strand it, so it sits beside its notes. */
  .gf-film--landscape {
    grid-template-columns: 1fr;
  }

  .gf-film--portrait {
    grid-template-columns: minmax(0, 22rem) 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.gf-film-frame {
  position: relative;
  margin: 0;
  background: #000;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 238, 0.14);
}

.gf-film--landscape .gf-film-frame {
  aspect-ratio: 16 / 9;
}

/* A 9:16 frame given a full-width column turns into a black column taller than
   the viewport — at 768px it came out 1229px high. Cap it and centre it, so the
   vertical piece reads as a phone-shaped cut at every width. */
.gf-film--portrait .gf-film-frame {
  aspect-ratio: 9 / 16;
  width: min(100%, 22rem);
  margin-inline: auto;
}

.gf-film-frame video,
.gf-film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Films play by themselves. The poster sits above the <video> only until the
   clip is actually running, so a visitor never looks at a black rectangle while
   it buffers, and it comes back if autoplay is refused or the tab is hidden.
   Under reduced motion it stays put and the play control does the work. */
.gf-film-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
  color: var(--gf-paper);
  display: block;
  transition: opacity 0.5s ease;
}

.gf-film-cover[hidden] {
  display: none;
}

/* Faded rather than removed while the clip runs: the element keeps its place so
   a stall can bring it straight back without a layout jump. */
.gf-film-frame[data-playing="true"] .gf-film-cover {
  opacity: 0;
  pointer-events: none;
}

.gf-film-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 17, 15, 0.55), rgba(18, 17, 15, 0.05) 55%);
}

.gf-film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: clamp(3.6rem, 7vw, 5rem);
  height: clamp(3.6rem, 7vw, 5rem);
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.7);
  background: rgba(18, 17, 15, 0.32);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: background 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gf-film-play svg {
  width: 34%;
  height: 34%;
  fill: currentColor;
  /* Optical centring: a triangle's visual mass sits left of its bounding box. */
  margin-left: 8%;
}

.gf-film-cover:hover .gf-film-play,
.gf-film-cover:focus-visible .gf-film-play {
  background: var(--gf-coral);
  border-color: var(--gf-coral);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ---------- the bar over a running film ---------- */
.gf-film-bar {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  pointer-events: none;      /* only the controls inside take the pointer */
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Visible once the film is running, and always while a control has keyboard
   focus — otherwise a tabbing visitor focuses something they cannot see. */
.gf-film-frame[data-playing="true"] .gf-film-bar,
.gf-film-frame:hover .gf-film-bar,
.gf-film-bar:focus-within {
  opacity: 1;
}

.gf-film-sound {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(247, 244, 238, 0.4);
  background: rgba(18, 17, 15, 0.62);
  backdrop-filter: blur(6px);
  color: var(--gf-paper);
  font-family: var(--gf-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* 44px minimum touch target, which the type alone does not reach. */
  min-height: 2.75rem;
  padding: 0 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.gf-film-sound:hover {
  background: var(--gf-coral);
  border-color: var(--gf-coral);
}

.gf-film-sound svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
  flex: none;
}

.gf-film-runtime {
  pointer-events: none;
  font-family: var(--gf-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.55rem;
  background: rgba(18, 17, 15, 0.6);
  color: var(--gf-paper);
}

.gf-film-body {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.gf-film-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.gf-film-body h2 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.02;
  margin: 0;
}

.gf-film-tag {
  font-family: var(--gf-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.55);
}

.gf-film-body p {
  margin: 0;
  max-width: 58ch;
  line-height: 1.6;
  color: rgba(247, 244, 238, 0.78);
}

/* ---------- stills ---------- */
.gf-pro-stills {
  background: var(--gf-paper);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2.6rem);
}

.gf-pro-stills-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gf-pro-stills h2 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  margin: 0.8rem 0 0;
}

.gf-pro-stills > .gf-pro-stills-inner > p {
  max-width: 46ch;
  line-height: 1.6;
  color: var(--gf-ink-soft);
  margin: 1.2rem 0 0;
}

/* ---------- the two stills sections ---------- */
.gf-still-set + .gf-still-set {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
}

.gf-still-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(2.2rem, 5vw, 3.4rem) 0 0;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gf-line);
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
}

.gf-still-heading[hidden] {
  display: none;
}

.gf-still-heading span {
  font-family: var(--gf-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gf-ink-soft);
}

/* The heading already provides the gap above each grid. */
.gf-still-set .gf-still-grid {
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}

.gf-still-grid {
  display: grid;
  gap: clamp(0.5rem, 1.4vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}

@media (min-width: 700px) {
  .gf-still-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .gf-still-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gf-still {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--gf-paper-2);
  aspect-ratio: 4 / 5;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Every fourth frame runs tall, so the grid keeps a rhythm instead of reading
   as a contact sheet. */
.gf-still:nth-child(4n + 1) {
  aspect-ratio: 4 / 6;
}

.gf-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gf-still:hover img,
.gf-still:focus-visible img {
  transform: scale(1.05);
}

/* ---------- the ask ---------- */
.gf-pro-cta {
  background: var(--gf-ink);
  color: var(--gf-paper);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2.6rem);
}

.gf-pro-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  justify-items: start;
}

.gf-pro-cta h2 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 0.98;
  margin: 0;
  max-width: 18ch;
}

.gf-pro-cta p {
  margin: 0;
  max-width: 48ch;
  line-height: 1.6;
  color: rgba(247, 244, 238, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .gf-film-play,
  .gf-still img,
  .gf-film-cover {
    transition: none !important;
  }
}

/* ============================================================
   work.html — "Work with me", the client intake page
   ============================================================
   Plain like the portfolio: the hero reuses .gf-pro-hero, the form reuses the
   landing page's slip, and the sections in between sit on paper.
*/

/* ---------- first screen ---------- */
.gf-work-top {
  background: var(--gf-ink);
  color: var(--gf-paper);
  padding: calc(var(--gf-nav-h) + 1.4rem) clamp(1rem, 4vw, 2.6rem) clamp(3rem, 7vw, 5rem);
}

.gf-work-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-areas:
    "intro"
    "book"
    "steps";
}

.gf-work-intro { grid-area: intro; }
.gf-work-book { grid-area: book; }
.gf-work-steps { grid-area: steps; }

@media (min-width: 800px) {
  .gf-work-top {
    padding-top: calc(var(--gf-nav-h) + 2.2rem);
  }

  .gf-work-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro book"
      "steps book";
    gap: 2.4rem clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }

  .gf-work-book {
    position: sticky;
    top: calc(var(--gf-nav-h) + 1rem);
  }
}

.gf-work-kicker {
  margin: 0;
  color: rgba(247, 244, 238, 0.55);
}

.gf-work-intro h1 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin: 0.8rem 0 0;
  max-width: 14ch;
}

.gf-work-lede {
  margin: 1rem 0 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.5;
  color: rgba(247, 244, 238, 0.76);
}

/* The capability row, reduced to one quiet line. Desktop only: on a phone the
   calendar matters more than the list. */
.gf-work-facts {
  display: none;
  margin: 1.1rem 0 0;
  line-height: 1.7;
  color: rgba(247, 244, 238, 0.5);
}

.gf-work-jump {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--gf-paper);
  text-underline-offset: 0.2em;
}

@media (min-width: 800px) {
  .gf-work-facts {
    display: block;
  }

  .gf-work-jump {
    display: none;
  }
}

.gf-work-small-h {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  line-height: 1.05;
  margin: 0;
}

/* ---------- booking ---------- */
.gf-work-book {
  scroll-margin-top: calc(var(--gf-nav-h) + 0.5rem);
}

.gf-work-book:focus {
  outline: none;
}

.gf-cal {
  margin-top: 1rem;
  background: var(--gf-paper);
  color: var(--gf-ink);
}

/* Roughly a calendar's height from 800px, so the page does not jump when the
   Cal.com link goes in. */
@media (min-width: 800px) {
  .gf-cal {
    min-height: 420px;
    display: flex;
    align-items: center;
  }

  .gf-cal.is-live {
    display: block;
  }
}

.gf-cal.is-live {
  min-height: 34rem;
  overflow: auto;
}

.gf-cal-placeholder {
  margin: 0;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gf-ink-soft);
}

.gf-cal-placeholder a {
  color: var(--gf-ink);
}

/* ---------- how it works, compact ---------- */
.gf-work-step-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.gf-work-step-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.6rem;
  border-top: 1px solid rgba(247, 244, 238, 0.16);
  padding-top: 0.9rem;
}

.gf-work-step-n {
  color: var(--gf-coral);
  padding-top: 0.3rem;
}

.gf-work-step-list h3 {
  font-family: var(--gf-serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.1;
  margin: 0;
}

.gf-work-step-list p {
  margin: 0.35rem 0 0;
  max-width: 46ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(247, 244, 238, 0.68);
}

/* ---------- the form ---------- */
.gf-work-write {
  scroll-margin-top: var(--gf-nav-h);
}

.gf-work-form,
.gf-work-thanks {
  margin: 0 auto;
}

.gf-work-pair {
  display: grid;
  gap: 0 clamp(1.2rem, 3vw, 2rem);
}

@media (min-width: 640px) {
  .gf-work-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.gf-field > span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
}

.gf-field input::placeholder,
.gf-field textarea::placeholder {
  color: var(--gf-ink-soft);
  opacity: 0.7;
}

.gf-work-thanks h2:focus {
  outline: none;
}

.gf-work-thanks p:not(.gf-meta) {
  margin: 1rem 0 0;
  max-width: 48ch;
  line-height: 1.6;
  color: var(--gf-ink-soft);
}

.gf-work-thanks p a,
.gf-inherit {
  color: inherit;
}

.gf-work-thanks .gf-cta-tab {
  margin-top: 1.8rem;
}

.gf-work-thanks .gf-cta-tab[hidden],
.gf-work-thanks p[hidden] {
  display: none;
}

.gf-foot-right {
  text-align: right;
}

/* professional.html: the ask, repeated under the films. */
.gf-pro-cta--mid {
  padding-top: 0;
}

.gf-pro-cta--mid .gf-pro-cta-inner {
  border-top: 1px solid rgba(247, 244, 238, 0.18);
  padding-top: clamp(3rem, 7vw, 4.5rem);
}

.gf-pro-cta--mid .gf-cta-sleeve {
  max-width: 28rem;
}

