/* Placeholder pages (Careers, Scroll Sessions, Videographer Application, Privacy, Terms, 404).
   Short pages in the site style: dark hero + one content panel. Prefix: .ph- */

/* ── Hero ── */
.panel.ph-hero { display: flex; align-items: center; min-height: min(640px, calc(100svh - var(--navh, 72px) - 16px)); padding-block: clamp(72px, 8vw, 112px); }
.panel.ph-hero > .container { width: 100%; }
.panel.ph-hero--short { min-height: 0; }
.ph-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 820px; }
.ph-hero h1 { font-size: clamp(56px, 6.7vw, 96px); line-height: 1; color: var(--white); }
.ph-hero__lead { max-width: 600px; }
.ph-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }

/* hairline grid accent (the Blog hero's), for heroes without dust */
.ph-hero--grid { isolation: isolate; }
.panel.ph-hero > .ph-hero__grid {
  position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 560px; max-width: 70%; pointer-events: none;
  background-image: linear-gradient(rgba(149,173,197,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(149,173,197,0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.ph-hero--grid > .container { position: relative; z-index: 1; }
.ph-split > .flow { --flow-gap: 18px; }

/* 404 links */
.panel.ph-hero--404 .container { display: flex; flex-direction: column; gap: 48px; }
.ph-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ph-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 24px 26px; background: var(--charcoal); border: 1px solid rgba(149,173,197,0.1); border-top: 2px solid var(--coral); border-radius: var(--radius-card); font: 700 22px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .5px; color: var(--white); transition: transform .25s var(--ease-out), border-color .25s ease, background-color .25s ease; }
.ph-link__arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border: 1px solid rgba(234,165,114,0.35); border-radius: 50%; color: var(--coral); transition: background-color .2s ease, color .2s ease; }
.ph-link__arrow .icon { width: 16px; height: 16px; }
.ph-link:hover { transform: translateY(-3px); border-color: rgba(234,165,114,0.4); border-top-color: var(--coral); background: var(--charcoal-mid); }
.ph-link:hover .ph-link__arrow { background: var(--coral); color: var(--ink); }

/* ── Form (Videographer Application) ── */
.ph-form-card { gap: 0; padding: 48px; scroll-margin-top: calc(var(--navh, 72px) + 24px); box-shadow: 0 24px 60px rgba(26,26,26,0.08); }
.ph-form__title { margin: 0 0 8px; font-size: 32px; line-height: 1.1; letter-spacing: .5px; color: var(--ink); }
.ph-form__sub { margin: 0 0 28px; font-size: 15px; line-height: 1.65; color: var(--ink-body); }
.ph-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font: 600 11px/1.3 var(--font-body); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-body); }
.field__input { width: 100%; min-width: 0; padding: 13px 16px; background: #F7F6F2; border: 1px solid rgba(26,26,26,0.14); border-radius: 8px; font: 400 14px/1.4 var(--font-body); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field__input::placeholder { color: #8a939b; opacity: 1; }
.field__input:hover { border-color: rgba(26,26,26,0.24); }
.field__input:focus { outline: none; background: var(--white); border-color: var(--coral-ink); box-shadow: 0 0 0 3px rgba(234,165,114,0.3); }
.field__input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,0.12); }
.field__input--area { height: 128px; resize: vertical; }
.ph-form__error { margin: -8px 0 18px; font-size: 13px; line-height: 1.5; color: #B3261E; }
.ph-form__submit { padding: 18px; font-size: 15px; }
.ph-thanks { display: flex; flex-direction: column; align-items: flex-start; outline: none; }
.ph-thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 50%; background: rgba(46,125,70,0.12); color: var(--green-ink); }
.ph-thanks__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ph-links { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
}
@media (max-width: 900px) {
  .ph-split, .ph-split--media { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 620px) {
  .panel.ph-hero { min-height: 0; padding-block: 64px 56px; }
  .ph-hero__copy { gap: 18px; }
  .ph-hero h1 { font-size: clamp(42px, 13vw, 52px); line-height: 1; }
  .ph-actions { flex-direction: column; align-items: stretch; gap: 20px; width: 100%; margin-top: 4px; }
  .ph-actions .btn { width: 100%; }
  .ph-actions .link-arrow { justify-content: center; }
  .panel.ph-hero--404 .container { gap: 32px; }
  .ph-links { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ph-link { padding: 18px 18px 18px 20px; font-size: 20px; }
  .ph-form-card { padding: 26px 20px; }
  .ph-form__title { font-size: 24px; }
  .ph-form__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .field__input { padding: 14px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-link:hover { transform: none; }
}
