/* ==========================================================================
   D07 — Jonas Reyes, portrait photographer (demos/jonas-reyes/index.html)
   Cinematic preset, darkroom theme. Showreel hero, series rail, EXIF
   hover grid, prints & licensing, booking inquiry.
   ========================================================================== */

/* ---- Shared page helpers ------------------------------------------------ */
.jr-section {
  margin-top: clamp(80px, 10vw, 144px);
}

/* Italic section heading (h2) */
.section-title {
  font-size: var(--t-h1);
  font-style: italic;
}

/* Italic display title used on cards and date rows (pair with .display) */
.card-title {
  font-size: 28px;
  font-style: italic;
}

/* ---- Hero / showreel ---------------------------------------------------- */
.reel-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88vh;
  background: #000;
  color: #EEE9E1;
}

/* Stand-in for the muted showreel video */
.reel-hero__media {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, var(--ph) 0 10px, var(--ph-stripe) 10px 11px);
  filter: var(--img-filter);
  opacity: .55;
}

.reel-hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
  padding-bottom: 40px;
}

.reel-hero__title {
  max-width: 10em;
  font-size: clamp(52px, 8.5vw, 150px);
  font-style: italic;
  line-height: .9;
}

.reel-hero__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.reel-hero__meta {
  font-family: var(--f-mono);
  font-size: 13px;
}

.reel-hero__toggle {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #EEE9E1;
  background: transparent;
  color: #EEE9E1;
  font-family: var(--f-mono);
  font-size: 12px;
  cursor: pointer;
}

/* ---- Series rail -------------------------------------------------------- */
.series-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.series-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 clamp(20px, 4vw, 56px) 16px;
}

.series-card {
  display: flex;
  flex: 0 0 min(78vw, 420px);
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  color: var(--ink);
  text-decoration: none;
}

.series-card:hover {
  color: var(--ink);
}

.series-card__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

/* ---- Full-bleed frame --------------------------------------------------- */
.full-bleed {
  width: 100%;
  padding: 16px;
  border-radius: 0;
}

/* ---- Shots grid (EXIF on hover / focus) --------------------------------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  outline-offset: 4px;
}

.shot__image {
  --ratio: 4/5;
  padding: 10px;
  border-radius: 0;
  cursor: zoom-in;
}

.shot__exif {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(0, 0, 0, .72);
  color: #EEE9E1;
  font-family: var(--f-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.shot__caption {
  font-size: 14px;
}

/* ---- Prints & licensing ------------------------------------------------- */
.license {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.license-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
}

.license-card__text {
  margin: 0;
  color: var(--muted);
}

.license-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.license-tier {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.license-tier--featured {
  border-color: var(--ink);
}

.license-tier__name {
  font-weight: 600;
}

.license-tier__price {
  font-size: 32px;
  font-variant-numeric: tabular-nums;
}

.license-tier__terms {
  font-size: 14px;
  color: var(--muted);
}

/* ---- Booking: dates table ----------------------------------------------- */
.booking__title {
  margin-bottom: 12px;
}

.dates {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.dates__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dates__range {
  font-family: var(--f-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.dates__status {
  font-size: 15px;
  color: var(--accent-text);
}

.dates__status--booked {
  color: var(--muted);
}

/* ---- Booking: inquiry form ---------------------------------------------- */
.booking {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.booking__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Shoot type picker */
.kinds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 8px;
  margin: 8px 0 20px;
}

.kind {
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

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

.kind__label {
  display: block;
  font-weight: 600;
}

.kind__sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.booking__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 15px;
  font-weight: 600;
}

.field__control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.booking__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.booking__note {
  max-width: 32em;
  font-size: 15px;
  color: var(--muted);
}

/* Confirmation */
.booking__done {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.booking__stamp {
  font-size: 14px;
  animation: proofStamp 380ms cubic-bezier(.2, 1.4, .4, 1) both;
}
