/* PhotoFlow Starter Kit — microsite (preview build, not yet deployed) */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
}

:root {
  --bg: #15161b;
  --bg-elevated: #1b1d24;
  --bg-card: #21232c;
  --border: rgba(244, 241, 234, 0.09);
  --border-strong: rgba(244, 241, 234, 0.16);
  --text-primary: #f4f1ea;
  --text-secondary: #a9abb8;
  --text-muted: #767888;
  --accent-gold: #e8b454;
  --accent-gold-soft: rgba(232, 180, 84, 0.14);
  --accent-coral: #f2705b;
  --accent-coral-soft: rgba(242, 112, 91, 0.14);
  --status-lead: #8890a0;
  --status-booked: #e8b454;
  --status-shot: #6ec1e4;
  --status-delivered: #8b7cf6;
  --status-paid: #6fcf97;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --max-width: 1120px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Scene (signature 3D aperture layer) ---------- */

#scene-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

html.scene-active #scene-canvas {
  opacity: 1;
}

.site-header,
main > section,
.site-footer {
  position: relative;
  z-index: 1;
}

#pain-points,
#faq,
.site-footer {
  background: var(--bg);
}

.showcase-row {
  transition: filter 0.4s ease;
}

html.scene-active #product.product-active .showcase-row {
  filter: saturate(0.86) brightness(0.94);
}

html.scene-active #product.product-active .showcase-row.in-focus {
  filter: saturate(1) brightness(1);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 22, 27, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: none;
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent-coral);
  color: #1a1210;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(242, 112, 91, 0.35);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 520px;
  background: radial-gradient(circle at 30% 20%, rgba(232, 180, 84, 0.16), transparent 60%),
    radial-gradient(circle at 75% 10%, rgba(242, 112, 91, 0.14), transparent 55%);
  opacity: calc(1 + var(--iris-openness, 0) * 0.6);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 56px;
}

@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: var(--accent-gold-soft);
  border: 1px solid rgba(232, 180, 84, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 em {
  font-style: italic;
  color: var(--accent-gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Mockup: shared card chrome ---------- */

.mock-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mock-titlebar span.mock-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mock-body {
  padding: 18px;
}

/* ---------- Hero mockup: pipeline board ---------- */

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pipeline-col {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid var(--border);
}

.pipeline-col h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 2px 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pipeline-col h4::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--status-lead));
}

.pipeline-col[data-status="booked"] h4 {
  --dot: var(--status-booked);
}
.pipeline-col[data-status="shot"] h4 {
  --dot: var(--status-shot);
}
.pipeline-col[data-status="paid"] h4 {
  --dot: var(--status-paid);
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.pipeline-card strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.pipeline-card small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ---------- Pain point cards ---------- */

.pain-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.pain-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  margin: 0 0 8px;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Product showcase ---------- */

.showcase {
  display: grid;
  gap: 64px;
}

.showcase-row {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-row {
    grid-template-columns: 1fr 1fr;
  }
  .showcase-row.reverse .showcase-copy {
    order: 2;
  }
}

.showcase-copy .eyebrow {
  margin-bottom: 16px;
}

.showcase-copy h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.showcase-copy p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.showcase-copy ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.showcase-copy ul li {
  margin-bottom: 6px;
}

.mockup-caption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Shot list mockup ---------- */

.shotlist {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.shotlist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.shotlist li:last-child {
  border-bottom: none;
}

.shotlist .check {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
}

.shotlist li.done .check {
  background: var(--status-paid);
  border-color: var(--status-paid);
}

.shotlist li.done span.label {
  color: var(--text-primary);
}

/* ---------- Invoice tracker mockup ---------- */

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.invoice-table th,
.invoice-table td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
}

.invoice-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.pill-paid {
  background: rgba(111, 207, 151, 0.16);
  color: var(--status-paid);
}

.pill-partial {
  background: rgba(232, 180, 84, 0.16);
  color: var(--status-booked);
}

.pill-due {
  background: rgba(242, 112, 91, 0.16);
  color: var(--accent-coral);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold);
  flex: none;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: var(--text-secondary);
  margin: 0 0 18px;
  font-size: 0.95rem;
}

/* ---------- Early access form ---------- */

.early-access {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ea-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 620px;
  margin: 0 auto;
}

.ea-card h2 {
  text-align: center;
}

.ea-card > p {
  text-align: center;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(111, 207, 151, 0.12);
  color: var(--status-paid);
  font-size: 0.88rem;
  display: none;
}

.form-msg.visible {
  display: block;
}

.form-disclaimer {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 60px;
  border-top: 1px solid var(--border);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 720px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ---------- Guide/article page ---------- */

.article {
  padding: 64px 0 100px;
}

.article .container {
  max-width: 760px;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.article .lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.article h2 {
  font-size: 1.5rem;
  margin-top: 42px;
}

.article h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-top: 28px;
}

.article p,
.article li {
  color: var(--text-secondary);
  font-size: 1rem;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* ---------- Accessibility: focus + reduced motion ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #scene-canvas {
    display: none;
  }

  .showcase-row {
    transition: none;
    filter: none !important;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
