/* =========================================================================
   Page-specific styles: /features/photography-crm
   Loads after css/studiofolio-seo.css. Only rules unique to this page, or
   small overrides of a shared default, live here.
   (.section-heading, .ui-panel, .faq-grid and .final-cta all match the
   shared defaults exactly on this page and need no overrides here.)
   ========================================================================= */

/* ---- Hero ---- */
.hero { padding: 46px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); align-items: center; gap: 60px; }
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -1.4px; max-width: 560px; }
.hero p.lede { max-width: 500px; color: var(--text-muted); font-size: 17px; margin: 22px 0 28px; }

/* ---- Connected-client diagram (hero) ---- */
.diagram-wrap { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
.diagram-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram-svg line { stroke: var(--gold); stroke-width: .5; opacity: .55; }
.diagram-card { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; box-shadow: 0 10px 22px rgba(64,54,38,.1); }
.diagram-card .dlabel { font-size: 7.5px; font-weight: 800; letter-spacing: .5px; color: var(--gold-deep); text-transform: uppercase; }
.diagram-card .dvalue { font-size: 11.5px; font-weight: 700; margin-top: 3px; }
.diagram-card .dsub { font-size: 8px; color: var(--text-muted); margin-top: 1px; }
.diagram-client { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44%; padding: 16px 16px; text-align: center; z-index: 2; border-color: var(--gold); }
.diagram-client .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 13px; color: var(--gold-deep); }
.diagram-client .dname { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; }
.diagram-client .demail { font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.diagram-project { left: 4%; top: 6%; width: 30%; }
.diagram-contract { right: 4%; top: 6%; width: 30%; }
.diagram-invoice { left: 4%; bottom: 6%; width: 30%; }
.diagram-gallery { right: 4%; bottom: 6%; width: 30%; }

/* ---- Section 1: scattered -> connected ---- */
.scatter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; }
.scatter-panel { position: relative; height: 260px; border: 1px dashed var(--border); border-radius: 16px; background: var(--bg-alt); }
.scatter-chip { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 9px 13px; font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 14px rgba(64,54,38,.08); }
.connected-panel { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 20px 0; }
.connected-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-muted); padding: 7px 0; }
.connected-item svg { width: 15px; height: 15px; color: var(--sage); flex: none; }
.connected-connector { width: 1px; height: 14px; background: var(--border); }
.connected-node { margin-top: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px; font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; }

/* ---- Section 2: client visual ---- */
.split-row { display: grid; grid-template-columns: 9fr 11fr; gap: 72px; align-items: center; }
.split-row.reversed { grid-template-columns: 11fr 9fr; }
.split-row.reversed .split-copy { order: 2; }
.split-row.reversed .split-visual { order: 1; }
.split-copy h2 { font-size: 36px; line-height: 1.14; letter-spacing: -.6px; }
.split-copy p { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; margin: 20px 0 0; max-width: 460px; }

.client-visual { padding: 26px; }
.client-visual .chead { display: flex; align-items: center; gap: 12px; }
.client-visual .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold-deep); flex: none; }
.client-visual .cname { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; }
.client-visual .ccompany { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.client-visual .crow { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.client-visual .crow svg { width: 14px; height: 14px; color: var(--sage); flex: none; }
.client-visual .cnotes { margin-top: 16px; background: var(--bg-alt); border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--text-muted); }
.client-visual .cnotes b { display: block; font-size: 9px; letter-spacing: .8px; color: var(--gold-deep); font-weight: 800; margin-bottom: 4px; }
.client-visual hr { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.client-visual .cproj-label { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 8px; }
.cproj-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--border); font-size: 12.5px; }
.cproj-row:first-of-type { border-top: none; }
.stage-pill { font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }

/* ---- Section 3: project visual ---- */
.project-visual { padding: 24px; }
.project-visual .phead { display: flex; align-items: center; justify-content: space-between; }
.project-visual .ptitle { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; }
.project-visual .pclient { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.project-visual .pmeta { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.project-visual .pmeta-item { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-muted); }
.project-visual .pmeta-item svg { width: 14px; height: 14px; color: var(--gold-deep); flex: none; }
.project-visual .pnotes { margin-top: 16px; background: var(--bg-alt); border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--text-muted); }
.project-visual .pnotes b { display: block; font-size: 9px; letter-spacing: .8px; color: var(--gold-deep); font-weight: 800; margin-bottom: 4px; }
.deliverables { margin-top: 16px; }
.deliverables .dlabel { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 8px; }
.deliverable-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; padding: 5px 0; }
.deliverable-item .box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border); flex: none; display: flex; align-items: center; justify-content: center; }
.deliverable-item.done .box { background: var(--sage); border-color: var(--sage); }
.deliverable-item.done .box svg { width: 10px; height: 10px; color: #fff; }
.deliverable-item.done span { color: var(--text-muted); text-decoration: line-through; }
.status-chip-row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.status-chip { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: var(--bg-alt); }
.status-chip svg { width: 13px; height: 13px; flex: none; }
.status-chip.good { color: var(--sage); }
.status-chip.good svg { color: var(--sage); }
.status-chip.pending { color: #8D6E4F; }
.status-chip.pending svg { color: #8D6E4F; }
.gallery-chip { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.gallery-chip .thumb { width: 30px; height: 30px; border-radius: 6px; background-image: url('/assets/assets/marketing/wedding-contact-sheet.png'); background-size: 300% 200%; background-position: 0% 0%; flex: none; }
.gallery-chip .gtext { font-size: 11.5px; font-weight: 600; flex: 1; }
.gallery-chip .gsub { font-size: 10px; color: var(--text-muted); }

/* ---- Section 4: pipeline strip ---- */
.pipeline-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 14px; margin-top: 44px; }
.pipeline-col { flex: none; width: 148px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.pipeline-col .pcol-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pipeline-col .pcol-name { font-size: 11px; font-weight: 700; }
.pipeline-col .pcol-count { font-size: 9.5px; font-weight: 800; color: var(--text-muted); background: var(--bg-alt); border-radius: 999px; padding: 2px 7px; }
.pipeline-card { background: var(--bg-alt); border-radius: 8px; padding: 8px 9px; font-size: 10px; font-weight: 600; margin-bottom: 6px; }
.pipeline-card .pc-sub { font-size: 8.5px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ---- Section 5: lifecycle ---- */
.lifecycle { display: flex; justify-content: center; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.lifecycle-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 118px; padding: 0 4px; }
.lifecycle-icon { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.lifecycle-icon svg { width: 19px; height: 19px; stroke-width: 1.8; }
.lifecycle-step h4 { font-size: 12.5px; font-weight: 700; margin: 11px 0 3px; }
.lifecycle-step p { font-size: 10.5px; color: var(--text-muted); margin: 0; line-height: 1.45; }
.lifecycle-line { width: 26px; height: 1px; background: var(--border); align-self: flex-start; margin-top: 21px; flex: none; }

/* ---- Section 6: big connected features ---- */
.big-feature { padding: 40px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.big-feature:first-of-type { border-top: none; }
.big-feature h3 { font-size: 26px; letter-spacing: -.4px; }
.big-feature p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0; max-width: 520px; }
.big-feature .accent { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11.5px; font-weight: 700; color: var(--sage); }
.big-feature .accent svg { width: 15px; height: 15px; }

/* ---- Section 7: photography-specific ---- */
.arc-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 40px; }
.arc-chip { font-size: 11.5px; font-weight: 600; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }
.arc-chip.muted { color: var(--text-muted); }
.arc-sep { color: var(--border); align-self: center; }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 12px; }
.tool { border-top: 1px solid #D9CFBF; padding-top: 20px; }
.tool-icon { display: block; width: 24px; height: 24px; color: var(--gold-deep); margin-bottom: 16px; }
.tool-icon svg { width: 100%; height: 100%; stroke-width: 1.6; }
.tool h4 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.tool p { color: var(--text-muted); font-size: 13px; margin: 0; line-height: 1.6; }

/* ---- Section 8: desktop + mobile ---- */
.device-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mockup-phone { position: relative; width: 220px; height: 430px; background: var(--ink); border-radius: 32px; padding: 7px; box-shadow: 0 20px 40px rgba(0,0,0,.2); margin: 0 auto; }
.mockup-phone-screen { background: #fff; border-radius: 26px; height: 100%; overflow: hidden; display: flex; flex-direction: column; padding: 16px 14px; }
.mockup-phone-bar { width: 44px; height: 5px; border-radius: 99px; background: var(--ink); margin: 0 auto 14px; flex: none; }
.shootday-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; }
.shootday-meta { font-size: 10px; color: var(--text-muted); margin-top: 3px; }
.shootday-actions { display: flex; gap: 7px; margin-top: 14px; }
.shootday-action { flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 8px 4px; text-align: center; }
.shootday-action svg { width: 15px; height: 15px; color: var(--sage); margin: 0 auto; }
.shootday-action span { display: block; font-size: 7.5px; font-weight: 700; margin-top: 4px; }
.shootday-directions { display: flex; align-items: center; gap: 6px; margin-top: 10px; background: var(--bg-alt); border-radius: 8px; padding: 8px 9px; font-size: 9px; font-weight: 700; }
.shootday-directions svg { width: 13px; height: 13px; color: var(--gold-deep); flex: none; }
.shootday-notes { margin-top: 10px; font-size: 8.5px; color: var(--text-muted); background: var(--bg-alt); border-radius: 8px; padding: 8px 9px; }
.shootday-checklist { margin-top: 10px; }
.shootday-checklist .clabel { font-size: 8px; font-weight: 800; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 5px; }
.shootday-check-item { display: flex; align-items: center; gap: 6px; font-size: 9px; padding: 3px 0; }
.shootday-check-item .box { width: 11px; height: 11px; border-radius: 3px; border: 1.3px solid var(--border); flex: none; }
.shootday-check-item.done .box { background: var(--sage); border-color: var(--sage); }
.device-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 0 0 16px; max-width: 480px; }

/* ---- Who / tools reuse ---- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 12px; }

@media (max-width: 1024px) {
  .device-row { grid-template-columns: 1fr; }
  .device-row .mockup-phone { order: -1; }
}
@media (max-width: 980px) {
  .hero-grid, .scatter-grid, .split-row, .split-row.reversed { grid-template-columns: 1fr; }
  .split-row.reversed .split-copy, .split-row.reversed .split-visual { order: initial; }
  .big-feature { grid-template-columns: 1fr; gap: 14px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .diagram-wrap { margin-top: 40px; }
  .section-heading h2 { font-size: 30px; }
  .final-cta h2 { font-size: 32px; }
  .tools, .who-grid { grid-template-columns: 1fr; gap: 0; }
  .tool { padding: 20px 0; }
  /* Lifecycle: switch to a vertical stacked flow on mobile, not horizontal-scroll. */
  .lifecycle { flex-direction: column; align-items: flex-start; gap: 0; max-width: 340px; margin: 44px auto 0; }
  .lifecycle-step { flex-direction: row; align-items: center; text-align: left; width: 100%; gap: 14px; padding: 10px 0; }
  .lifecycle-step h4 { margin: 0 0 2px; }
  .lifecycle-line { width: 1px; height: 22px; margin: 0 0 0 20px; align-self: flex-start; }
}
