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

/* ---- Sprite photography (real StudioFolio marketing asset, six crops) ---- */
.ph {
  background-image: url('/assets/assets/marketing/wedding-contact-sheet.png');
  background-size: 300% 200%;
  background-repeat: no-repeat;
}
.ph1 { background-position: 0% 0%; }
.ph2 { background-position: 50% 0%; }
.ph3 { background-position: 100% 0%; }
.ph4 { background-position: 0% 100%; }
.ph5 { background-position: 50% 100%; }
.ph6 { background-position: 100% 100%; }

.final-cta h2 { font-size: 42px; line-height: 1.14; }

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

.hero-visual { position: relative; max-width: 520px; margin: 0 auto; padding-bottom: 56px; }
.gallery-window { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 26px 60px rgba(64,54,38,.16); }
.gw-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.gw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.gw-title { margin-left: 8px; font-size: 11.5px; font-weight: 700; color: var(--text-muted); }
.gw-picks { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; color: var(--gold-deep); background: rgba(215,180,106,.16); padding: 3px 9px; border-radius: 999px; }
.gw-picks svg { width: 11px; height: 11px; }
.gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.gw-tile { position: relative; aspect-ratio: 1; min-width: 0; min-height: 0; }
.gw-heart { position: absolute; bottom: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20,18,15,.4); display: flex; align-items: center; justify-content: center; }
.gw-heart svg { width: 12px; height: 12px; color: #fff; }
.gw-heart.active { background: var(--gold); }
.gw-heart.active svg { color: var(--ink); }

.hero-phone { position: absolute; right: -6px; bottom: -20px; width: 148px; background: var(--ink); border-radius: 22px; padding: 5px; box-shadow: 0 18px 34px rgba(0,0,0,.22); }
.hero-phone-screen { background: #fff; border-radius: 18px; overflow: hidden; }
.hero-phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 9px 5px; }
.hero-phone-bar .hpb-title { font-size: 8px; font-weight: 800; }
.hero-phone-bar .hpb-picks { font-size: 7.5px; font-weight: 800; color: var(--gold-deep); }
.hp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 0 2px 2px; }
.hp-tile { position: relative; aspect-ratio: .82; min-width: 0; min-height: 0; }
.hp-heart { position: absolute; bottom: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: rgba(20,18,15,.4); display: flex; align-items: center; justify-content: center; }
.hp-heart svg { width: 7px; height: 7px; color: #fff; }
.hp-heart.active { background: var(--gold); }
.hp-heart.active svg { color: var(--ink); }

/* Subtle hover zoom on every photo tile — this page is the gallery/proofing
   page, so its imagery is the point. Native CSS media query means it works
   with no JS and is automatically skipped under prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .gw-tile, .hp-tile, .bp-tile { transition: transform .35s var(--ease-out-soft); }
  .gw-tile:hover, .hp-tile:hover, .bp-tile:hover { transform: scale(1.045); z-index: 2; }
  .cover-card, .exp-hero, .proof-photo { transition: transform .4s var(--ease-out-soft); }
  .cover-card:hover, .exp-hero:hover, .proof-photo:hover { transform: scale(1.02); }
}

/* ---- Section 1: delivery matters ---- */
.contrast-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; }
.file-list { background: var(--ink-panel); border: 1px solid var(--ink-panel-border); border-radius: 14px; padding: 22px 24px; font-family: 'SF Mono', 'Consolas', monospace; font-size: 13px; color: var(--ink-soft); }
.file-list .fl-row { padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.file-list .fl-row svg { width: 14px; height: 14px; color: #756E60; flex: none; }
.file-list .fl-cap { margin-top: 14px; font-family: 'Inter', sans-serif; font-size: 11.5px; color: #8B8477; }
.cover-card { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: 0 18px 36px rgba(64,54,38,.14); min-width: 0; }
.cover-card .cc-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.72) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.cover-card .cc-eyebrow { color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.cover-card .cc-title { color: #fff; font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-top: 6px; }
.cover-card .cc-btn { margin-top: 14px; align-self: flex-start; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: 8px; }
.translation-line { text-align: center; max-width: 560px; margin: 40px auto 0; font-family: 'Playfair Display', serif; font-size: 21px; line-height: 1.5; color: var(--text); }

/* ---- Section 2: client experience ---- */
.experience-panel { border-radius: 20px; overflow: hidden; box-shadow: 0 26px 56px rgba(64,54,38,.16); border: 1px solid var(--border); background: #fff; }
.exp-hero { position: relative; aspect-ratio: 16/8; min-width: 0; }
.exp-hero .exp-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,7,.15) 30%, rgba(10,9,7,.65) 100%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 30px 20px; }
.exp-hero .exp-eyebrow { color: rgba(255,255,255,.75); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.exp-hero .exp-title { color: #fff; font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; margin-top: 8px; }
.exp-hero .exp-sub { color: rgba(255,255,255,.8); font-size: 12.5px; margin-top: 6px; }
.exp-hero .exp-btn { margin-top: 18px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 11px 20px; border-radius: 8px; }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; }
.exp-grid .gw-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.exp-copy { max-width: 620px; margin: 40px auto 0; text-align: center; }
.exp-copy p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; }
.theme-row { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.theme-chip { font-size: 11.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.theme-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Section 3: favourites / proofing ---- */
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.proof-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 20px 40px rgba(64,54,38,.16); min-width: 0; }
.proof-photo .pp-heart { position: absolute; bottom: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(155,120,65,.4); }
.proof-photo .pp-heart svg { width: 22px; height: 22px; color: var(--ink); }
.proof-flow { display: flex; flex-direction: column; gap: 0; }
.proof-step { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.proof-step .ps-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex: none; }
.proof-step .ps-icon svg { width: 19px; height: 19px; color: var(--gold-deep); }
.proof-step h4 { font-size: 15px; font-weight: 700; }
.proof-step p { font-size: 13px; color: var(--text-muted); margin: 3px 0 0; }
.proof-connector { width: 1px; height: 18px; background: var(--border); margin-left: 21px; }
.proof-note { margin-top: 8px; background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--text-muted); }

/* ---- Section 4: both sides ---- */
.both-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.side-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.side-label { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); }
.side-body { padding: 20px; }
.client-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.client-mini-grid .gw-tile { aspect-ratio: .85; }
.dl-chip { display: flex; align-items: center; gap: 8px; margin-top: 12px; background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; font-size: 12px; font-weight: 700; }
.dl-chip svg { width: 15px; height: 15px; color: var(--sage); flex: none; }
.pg-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.pg-chip { font-size: 10.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--bg-alt); color: var(--text-muted); }
.pg-chip.on { background: var(--ink); color: #fff; }
.pg-status { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.pg-picks-pill { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: var(--gold-deep); background: rgba(215,180,106,.16); padding: 5px 11px; border-radius: 999px; }
.pg-picks-pill svg { width: 12px; height: 12px; }
.pg-seen { font-size: 11px; color: var(--text-muted); }
.pg-actions { display: flex; gap: 8px; margin-top: 16px; }
.pg-action { flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 9px; text-align: center; font-size: 11px; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.pg-action svg { width: 14px; height: 14px; }

/* ---- Section 5: project connection ---- */
.chain-row { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.chain-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; text-align: center; box-shadow: 0 10px 22px rgba(64,54,38,.08); min-width: 148px; }
.chain-card .chain-label { font-size: 9.5px; font-weight: 800; letter-spacing: .5px; color: var(--gold-deep); text-transform: uppercase; }
.chain-card .chain-value { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; margin-top: 5px; }
.chain-card .chain-sub { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.chain-arrow { padding: 0 18px; color: var(--border); font-size: 20px; }
.chain-cta { text-align: center; margin-top: 36px; }
.chain-cta p { max-width: 480px; margin: 0 auto 14px; color: var(--text-muted); font-size: 15px; font-family: 'Playfair Display', serif; }
.chain-cta a { font-size: 13.5px; font-weight: 700; color: var(--gold-deep); }

/* ---- Section 6: storage ---- */
.storage-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 48px; flex-wrap: wrap; }
.storage-chip { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px rgba(64,54,38,.06); }
.storage-chip svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.storage-arrow { color: var(--border); font-size: 22px; }
.storage-node { background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 26px; font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; }
.storage-line { text-align: center; max-width: 540px; margin: 32px auto 0; font-family: 'Playfair Display', serif; font-size: 19px; line-height: 1.55; color: var(--text); }
.cloud-note { max-width: 560px; margin: 28px auto 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; text-align: center; }
.cloud-note p { font-size: 13.5px; color: var(--text-muted); margin: 4px 0 0; }
.cloud-note b { font-size: 13.5px; }

/* ---- Section 7: performance ---- */
.perf-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.perf-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.perf-card svg { width: 22px; height: 22px; color: var(--gold-deep); }
.perf-card h4 { font-size: 14.5px; font-weight: 700; margin-top: 14px; }
.perf-card p { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0; line-height: 1.6; }

/* ---- Section 8: mobile ---- */
.mobile-row { display: flex; justify-content: center; }
.big-phone { position: relative; width: 260px; background: var(--ink); border-radius: 36px; padding: 8px; box-shadow: 0 24px 48px rgba(0,0,0,.24); }
.big-phone-screen { background: #fff; border-radius: 30px; overflow: hidden; }
.big-phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px; }
.big-phone-bar .bpb-title { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; }
.big-phone-bar .bpb-picks { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; color: var(--gold-deep); background: rgba(215,180,106,.16); padding: 3px 8px; border-radius: 999px; }
.big-phone-bar .bpb-picks svg { width: 10px; height: 10px; }
.bp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 0 3px; }
.bp-tile { position: relative; aspect-ratio: .85; min-width: 0; min-height: 0; }
.bp-heart { position: absolute; bottom: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20,18,15,.4); display: flex; align-items: center; justify-content: center; }
.bp-heart svg { width: 12px; height: 12px; color: #fff; }
.bp-heart.active { background: var(--gold); }
.bp-heart.active svg { color: var(--ink); }
.bp-bar { margin: 3px 3px 3px; background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; }
.bp-bar span { font-size: 10.5px; font-weight: 700; }
.bp-bar .bp-btn { background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 700; padding: 6px 10px; border-radius: 7px; }
.mobile-copy { max-width: 480px; margin: 40px auto 0; text-align: center; }
.mobile-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ---- Section 9: use cases ---- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 12px; }
.usecase { border-top: 1px solid #D9CFBF; padding-top: 20px; }
.usecase-icon { display: block; width: 24px; height: 24px; color: var(--gold-deep); margin-bottom: 16px; }
.usecase-icon svg { width: 100%; height: 100%; stroke-width: 1.6; }
.usecase h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.usecase p { color: var(--text-muted); font-size: 13.5px; margin: 0; line-height: 1.6; }

@media (max-width: 1024px) {
  .proof-row { grid-template-columns: 1fr; }
  .proof-photo { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 980px) {
  .hero-grid, .contrast-row, .both-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 36px; }
  .perf-row { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero h1 { font-size: 33px; letter-spacing: -1px; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .section-heading h2 { font-size: 29px; }
  .final-cta h2 { font-size: 31px; }
  .storage-row { gap: 10px; }
  .storage-arrow { display: none; }
  .chain-arrow { transform: rotate(90deg); padding: 8px 0; }
  .chain-row { flex-direction: column; }
  .usecase-grid { grid-template-columns: 1fr; gap: 0; }
  .usecase { padding: 20px 0; }
  .exp-grid .gw-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
