/* ═══════════════════════════════════════════════════════════════
   PRODUCT — "The Develop" product-page layer
   Shared shell: signature hero stage, badge strip, video facade,
   feature sheet, safelight why-different, steps, testimonials,
   FAQ, from-the-journal, final CTA. Per-plugin demo styles live
   in their own marked sections at the bottom.
   Loads after /site.css.
   ═══════════════════════════════════════════════════════════════ */

/* ── Signature hero stage ──────────────────────────────────── */
.p-hero { position: relative; overflow: hidden; }
.p-hero-stage {
  position: relative; min-height: 100svh;
  display: grid; align-content: center;
  padding: clamp(7rem, 14vh, 9rem) var(--pad-x) clamp(4.5rem, 9vh, 6rem);
}
.p-hero-bg, .p-hero-bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.p-hero-bg { filter: saturate(0.85) brightness(0.58); }
.p-hero-exif {
  position: absolute; z-index: 2; left: var(--pad-x); bottom: 1.6rem;
  color: var(--dim); font-size: 0.58rem; letter-spacing: 0.18em;
}
@media (max-width: 1080px) { .p-hero-exif { display: none; } }
.p-hero-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(13 11 8 / 0.55), rgba(13 11 8 / 0.35) 30%, rgba(13 11 8 / 0.82) 88%, var(--carbon)),
    radial-gradient(90% 60% at 50% 42%, transparent, rgba(13 11 8 / 0.5));
}
.p-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(21rem, 0.9fr) 1.1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center;
  max-width: 92rem; margin: 0 auto; width: 100%;
}
.p-eyebrow { color: var(--amber); margin-bottom: 1.3rem; }
.p-title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 490;
  font-variation-settings: 'opsz' 144;
  line-height: 1.0; letter-spacing: -0.015em;
  color: var(--highlight);
  margin-bottom: 1.4rem;
}
.p-title em {
  font-style: italic; font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 45, 'WONK' 1;
  color: var(--amber);
}
.p-tag { color: var(--silver); max-width: 32rem; margin-bottom: 2rem; }
.p-ctas { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.p-req { color: var(--dim); font-size: 0.62rem; letter-spacing: 0.14em; }
.p-hero-demo { position: relative; min-width: 0; }
.p-hero-caption {
  color: var(--dim); font-size: 0.6rem; letter-spacing: 0.2em;
  margin-top: 0.9rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.p-hero-caption .is-live { color: var(--safelight); }
.p-hero-caption .is-done { color: var(--teal); }

/* ── Badge strip ───────────────────────────────────────────── */
.badge-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.6rem;
  padding: 1.1rem var(--pad-x);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--carbon-2);
  color: var(--dim); font-size: 0.62rem; letter-spacing: 0.22em;
}
.badge-strip span::before { content: '✦'; color: var(--amber); margin-right: 0.75rem; font-size: 0.55rem; }

/* ── Section rhythm ────────────────────────────────────────── */
.p-section { padding: clamp(4.5rem, 10vh, 7.5rem) var(--pad-x); }
.p-section-inner { max-width: 90rem; margin: 0 auto; }
.p-sub { color: var(--dim); max-width: 36rem; margin-top: 1.2rem; }

/* ── Video facade (production classes, restyled) ───────────── */
.demo-video { text-align: left; }
.video-facade {
  position: relative; max-width: 62rem; margin: 2.4rem 0 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  cursor: pointer; background: var(--carbon-2);
}
.video-poster { width: 100%; display: block; filter: saturate(0.9); transition: filter 0.4s, transform 0.6s var(--ease-out); }
.video-facade:hover .video-poster { filter: saturate(1); transform: scale(1.015); }
.video-play-btn {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(13 11 8 / 0.25); transition: background 0.3s;
}
.video-facade:hover .video-play-btn { background: rgba(13 11 8 / 0.1); }
.video-play-btn svg { width: 68px; height: 68px; filter: drop-shadow(0 8px 30px rgba(0 0 0 / 0.5)); }
.video-facade.playing .video-poster, .video-facade.playing .video-play-btn { display: none; }
.video-player { width: 100%; display: none; }
.video-facade.playing .video-player { display: block; }
.video-note { color: var(--dim); font-size: 0.6rem; letter-spacing: 0.2em; margin-top: 0.9rem; }

/* ── Feature sheet (6 cards, hairline grid) ────────────────── */
.feature-sheet {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: 3rem;
}
.feature-cell {
  background: var(--carbon); padding: 2.2rem 2rem 2rem;
  transition: background 0.4s;
  position: relative;
}
.feature-cell:hover { background: var(--carbon-2); }
.feature-cell .f-no {
  color: var(--dim); font-size: 0.6rem; letter-spacing: 0.24em; display: block; margin-bottom: 1.6rem;
}
.feature-cell svg { width: 22px; height: 22px; color: var(--amber); margin-bottom: 1.1rem; }
.feature-cell h3 {
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 500;
  font-variation-settings: 'opsz' 40;
  color: var(--highlight); line-height: 1.2; margin-bottom: 0.7rem;
}
.feature-cell p { color: var(--dim); font-size: 0.92rem; }

/* ── Safelight why-different (product variant) ─────────────── */
.p-safelight {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x);
  background: #120705;
  border-top: 1px solid rgba(255 92 57 / 0.18);
  border-bottom: 1px solid rgba(255 92 57 / 0.18);
  overflow: hidden;
}
.p-safelight::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255 92 57 / 0.2), transparent 62%);
  animation: p-safelight-breathe 7s ease-in-out infinite;
}
@keyframes p-safelight-breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.p-safelight-inner { position: relative; max-width: 90rem; margin: 0 auto; }
.p-safelight .eyebrow, .p-safelight .p-eyebrow { color: var(--safelight); }
.p-safelight h2 {
  font-family: var(--f-display); font-size: var(--size-h3); font-weight: 500;
  font-variation-settings: 'opsz' 100;
  color: #FFE9DF; line-height: 1.05; margin-bottom: 1.6rem; max-width: 30rem;
}
.p-safelight h2 em {
  font-style: italic; font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 55, 'WONK' 1;
}
.p-safelight-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.p-safelight p { color: rgba(255 233 223 / 0.66); max-width: 34rem; }
.p-safelight p + p { margin-top: 1.1rem; }
.p-safelight strong { color: #FFE9DF; font-weight: 600; }

/* ── How it works: darkroom steps ──────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: 3rem;
}
.step { background: var(--carbon); padding: 2.2rem 2rem 2rem; position: relative; }
.step-no {
  font-family: var(--f-mono); color: var(--amber); font-size: 0.66rem; letter-spacing: 0.3em;
  display: block; margin-bottom: 1.5rem;
}
.step h3 {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 500;
  font-variation-settings: 'opsz' 40; color: var(--highlight); margin-bottom: 0.6rem;
}
.step p { color: var(--dim); font-size: 0.92rem; }

/* ── Testimonials: contact prints ──────────────────────────── */
.testimonial-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--carbon); padding: 2.2rem 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  transition: background 0.4s;
}
.testimonial-card:hover { background: var(--carbon-2); }
.testimonial-mark {
  font-family: var(--f-display); font-style: italic; font-size: 2.6rem; line-height: 0.5;
  color: var(--amber); display: block; height: 1rem;
}
.testimonial-quote { color: var(--silver); font-size: 0.97rem; flex: 1; }
.testimonial-attribution { display: grid; gap: 0.2rem; }
.testimonial-name { color: var(--highlight); font-size: 0.9rem; font-weight: 600; }
.testimonial-meta { color: var(--dim); font-size: 0.78rem; }

/* ── FAQ: developing notes ─────────────────────────────────── */
.faq-list { max-width: 52rem; margin-top: 2.6rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.25rem 0.2rem;
  color: var(--highlight); font-size: 1.02rem; font-weight: 500;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--f-mono); color: var(--amber);
  font-size: 1rem; flex: none; transition: transform 0.35s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--amber); }
.faq-answer { padding: 0 0.2rem 1.4rem; color: var(--dim); max-width: 46rem; }
.faq-answer p + p { margin-top: 0.8rem; }
.faq-answer a { color: var(--amber); }
.faq-answer a:hover { text-decoration: underline; }
.faq-answer strong { color: var(--silver); }

.faq-contact {
  max-width: 52rem; margin-top: 1.6rem;
  color: var(--dim); font-size: 0.95rem;
}
.faq-contact a { color: var(--amber); }
.faq-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── From the journal (reuse journal-card look) ────────────── */
.p-journal-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: 3rem; max-width: 66rem;
}
.p-journal-row .journal-card {
  background: var(--carbon); padding: 2rem 1.8rem 1.8rem;
  display: flex; flex-direction: column; gap: 1rem; min-height: 12rem;
  transition: background 0.4s;
}
.p-journal-row .journal-card:hover { background: var(--carbon-2); }
.p-journal-row .jc-meta { color: var(--dim); font-size: 0.6rem; }
.p-journal-row .jc-title {
  font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 470; font-variation-settings: 'opsz' 40;
  color: var(--highlight); line-height: 1.2;
}
.p-journal-row .jc-excerpt { color: var(--dim); font-size: 0.88rem; flex: 1; }
.p-journal-row .jc-more { color: var(--dim); font-size: 0.62rem; letter-spacing: 0.2em; }
.p-journal-row .journal-card:hover .jc-title,
.p-journal-row .journal-card:hover .jc-more { color: var(--amber); }
.p-journal-all { margin-top: 1.4rem; }
.p-journal-all a { color: var(--dim); font-size: 0.66rem; letter-spacing: 0.2em; }
.p-journal-all a:hover { color: var(--amber); }

/* ── Final CTA — the print ─────────────────────────────────── */
.final-cta {
  padding: clamp(5.5rem, 12vh, 9rem) var(--pad-x);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.final-cta-inner { max-width: 46rem; margin: 0 auto; }
.final-cta h2 {
  font-family: var(--f-display); font-size: var(--size-h3); font-weight: 500;
  font-variation-settings: 'opsz' 100; color: var(--highlight);
  line-height: 1.05; margin-bottom: 1rem;
}
.final-cta h2 em {
  font-style: italic; font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 55, 'WONK' 1; color: var(--amber);
}
.final-cta > .final-cta-inner > p { color: var(--silver); margin-bottom: 2.2rem; }
.cta-reasons {
  display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); gap: 0.7rem 2.5rem;
  justify-content: center; text-align: left;
  margin: 0 0 2.4rem;
}
.cta-reasons li {
  position: relative; padding-left: 1.5rem;
  color: var(--dim); font-size: 0.92rem;
}
.cta-reasons li::before {
  content: '✦'; position: absolute; left: 0; top: 0.1rem;
  color: var(--amber); font-size: 0.7rem;
}
.cta-requirements { color: var(--dim); font-size: 0.62rem; letter-spacing: 0.14em; margin-top: 1.2rem; }

/* ── Newsletter band ───────────────────────────────────────── */
.p-newsletter {
  padding: clamp(4rem, 8vh, 6rem) var(--pad-x);
  border-top: 1px solid var(--line-soft);
  background: var(--carbon-2);
}
.p-newsletter-inner {
  max-width: 90rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.p-newsletter h2 {
  font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 500;
  font-variation-settings: 'opsz' 60; color: var(--highlight); line-height: 1.1;
}
.p-newsletter .nl-copy p { color: var(--dim); font-size: 0.95rem; margin-top: 0.8rem; max-width: 28rem; }

/* ── Responsive (shared shell) ─────────────────────────────── */
@media (max-width: 1080px) {
  .p-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .p-hero-stage { min-height: 0; }
  .feature-sheet, .steps, .testimonial-row { grid-template-columns: 1fr; }
  .p-safelight-cols { grid-template-columns: 1fr; }
  .p-journal-row { grid-template-columns: 1fr; }
  .p-newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .cta-reasons { grid-template-columns: 1fr; }
  .p-title { font-size: clamp(2.3rem, 9vw, 3rem); }
}

/* ═══════════════════════════════════════════════════════════════
   GOOGLE PHOTOS — "The Republish Loop" signature hero
   ═══════════════════════════════════════════════════════════════ */
.gp-demo {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.1rem; align-items: stretch;
  background: rgba(13 11 8 / 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 5px;
  padding: 1.3rem;
}
.gp-pane { min-width: 0; display: flex; flex-direction: column; }
.gp-pane-head {
  color: var(--dim); font-size: 0.58rem; letter-spacing: 0.2em;
  display: flex; justify-content: space-between; gap: 0.8rem;
  margin-bottom: 0.7rem;
}
#gpEditedTag { color: var(--safelight); opacity: 0; transition: opacity 0.4s; }
.gp-demo.is-edited #gpEditedTag { opacity: 1; }
.gp-photo { position: relative; overflow: hidden; border-radius: 3px; border: 1px solid var(--line); }
.gp-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
#gpSrcImg, #gpDstImg { transition: filter 0.5s var(--ease-out); }
.gp-sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(232 163 61 / 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.gp-demo.is-publishing .gp-sweep { animation: gp-sweep 0.9s var(--ease-inout) forwards; }
@keyframes gp-sweep { to { transform: translateX(120%); } }
.gp-sliders { margin-top: 0.9rem; display: grid; gap: 0.55rem; }
.gp-slider { display: grid; grid-template-columns: 44px 1fr 38px; align-items: center; gap: 0.6rem; }
.gp-slider .gs-name { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.08em; color: var(--dim); }
.gp-slider .gs-val {
  font-family: var(--f-mono); font-size: 0.6rem; text-align: right;
  color: var(--silver); font-variant-numeric: tabular-nums;
}
.gp-slider input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: var(--line); border-radius: 1px; outline: none;
  cursor: ew-resize;
}
.gp-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); border: 0;
  box-shadow: 0 0 0 3px rgba(232 163 61 / 0.15);
}
.gp-slider input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); border: 0;
}
.gp-slider input[type="range"]:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.gp-flow { display: grid; gap: 0.9rem; justify-items: center; align-content: center; }
.gp-flow-line { width: 1px; height: 40px; background: var(--line); }
.gp-btn { padding: 0.7rem 1.1rem; font-size: 0.62rem; white-space: nowrap; }
.gp-album { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-top: 0.9rem; }
.gp-album img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; opacity: 0.85; }
.gp-meta {
  display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 0.65rem;
  color: var(--dim); font-size: 0.58rem; letter-spacing: 0.08em;
}
#gpOk { color: var(--teal); opacity: 0; transition: opacity 0.5s; }
.gp-demo.is-published #gpOk { opacity: 1; }
@media (max-width: 760px) {
  .gp-demo { grid-template-columns: 1fr; }
  .gp-flow { grid-auto-flow: column; }
  .gp-flow-line { width: 40px; height: 1px; }
}
