/* ═══ PoseBible v3 — cinematic editorial design system ═══════════════════ */
@property --shimmer { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --ink: #17140e;
  --ink-2: #14110c;
  --ink-soft: #57503f;
  --paper: #faf7f0;
  --paper-2: #f2ecdd;
  --card: #ffffff;
  --gold: #b28a3e;
  --gold-bright: #d9b45c;
  --gold-deep: #8f6c2a;
  --line: #e6ddc8;
  --line-dark: rgba(217, 180, 92, .18);
  --radius: 16px;
  --shadow: 0 12px 44px rgba(23, 20, 14, .12);
  --shadow-lg: 0 30px 80px rgba(23, 20, 14, .28);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 480; line-height: 1.12; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 380; color: var(--gold-deep); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #fff; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* View transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* Film grain overlay */
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 9999; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite; }
@keyframes grain-shift { 0%{transform:translate(0,0)} 25%{transform:translate(-2%,1%)} 50%{transform:translate(1%,-2%)} 75%{transform:translate(-1%,2%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─── Header ─── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,247,240,.82); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(23,20,14,.08); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; display: flex; align-items: center; gap: 7px; }
.brand-mark { color: var(--gold); display: inline-block; transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.nav { display: flex; align-items: center; gap: 24px; font-size: .93rem; font-weight: 500; }
.nav a { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-strong { color: var(--gold-deep); }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: all .25s var(--ease-out); position: relative; overflow: hidden; }
.btn-gold { background: var(--ink); color: var(--paper); }
.btn-gold::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(217,180,92,.35) 50%, transparent 70%); transform: translateX(-110%); transition: transform .6s ease; }
.btn-gold:hover::before { transform: translateX(110%); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(143,108,42,.35); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-big { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .87rem; }
.btn-light { background: var(--gold); color: var(--ink-2); }
.btn-light:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(217,180,92,.35); }

/* ─── Cinematic hero ─── */
.hero-cine { position: relative; background: var(--ink-2); color: var(--paper); overflow: hidden; }
.hero-cine::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 480px at 78% 18%, rgba(178,138,62,.22), transparent 62%),
  radial-gradient(700px 500px at 8% 90%, rgba(178,138,62,.12), transparent 60%); }
.hero-cine .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 96px 0 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; font-weight: 700; color: var(--gold-bright); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{box-shadow: 0 0 0 0 rgba(217,180,92,.5)} 55%{box-shadow: 0 0 0 9px rgba(217,180,92,0)} }
.hero-cine h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin-bottom: 24px; }
.hero-cine h1 em { color: var(--gold-bright); }
.hero-cine h1 .line { display: block; overflow: hidden; }
.hero-cine h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease-out) forwards; }
.hero-cine h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero-cine h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-cine p.lead { font-size: 1.12rem; color: rgba(250,247,240,.72); max-width: 33em; margin-bottom: 34px; }
.hero-cine p.lead strong { color: var(--gold-bright); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: .84rem; color: rgba(250,247,240,.55); margin-top: 16px; }

/* Layered parallax collage */
.collage { position: relative; height: 560px; }
.collage .shot { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); will-change: transform; transition: transform .2s ease-out; }
.collage .shot img { width: 100%; height: 100%; object-fit: cover; }
.collage .s1 { width: 58%; height: 78%; left: 2%; top: 4%; z-index: 2; }
.collage .s2 { width: 44%; height: 58%; right: 0; top: 22%; z-index: 3; }
.collage .s3 { width: 36%; height: 42%; left: 18%; bottom: 0; z-index: 4; }
.collage .frame-tag { position: absolute; z-index: 5; right: 6%; bottom: 6%; background: rgba(20,17,12,.78); backdrop-filter: blur(10px); border: 1px solid var(--line-dark); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-size: .82rem; }
.collage .frame-tag b { color: var(--gold-bright); font-family: var(--serif); font-size: 1.1rem; display: block; }

/* Marquee */
.marquee { position: relative; background: var(--ink-2); padding: 0 0 64px; overflow: hidden; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: 190px; height: 250px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-dark); filter: saturate(.92); transition: transform .4s var(--ease-out), filter .4s; }
.marquee-track img:hover { transform: translateY(-8px) scale(1.03); filter: saturate(1.1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Scroll reveals ─── */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: .08s; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: .16s; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: .24s; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: .32s; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: .40s; }

/* ─── Stats bar ─── */
.stats { border-block: 1px solid var(--line); background: var(--paper-2); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 34px 0; gap: 12px; }
.stat b { font-family: var(--serif); font-size: 2.1rem; display: block; font-weight: 520; }
.stat span { font-size: .84rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }

/* ─── Sections ─── */
section.block { padding: 96px 0; }
.sec-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.sec-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 14px; }

/* Feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .35s var(--ease-out), box-shadow .35s; position: relative; overflow: hidden; }
.feat::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat:hover::after { transform: scaleX(1); }
.feat .icon { font-size: 1.6rem; margin-bottom: 14px; }
.feat h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feat p { font-size: .93rem; color: var(--ink-soft); }

/* ─── Category film strip ─── */
.strip-wrap { position: relative; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 24px 26px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }
.cat-card { position: relative; flex: 0 0 240px; height: 330px; border-radius: 16px; overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,17,12,.88)); }
.cat-card .label { position: absolute; left: 18px; right: 18px; bottom: 16px; color: var(--paper); }
.cat-card .label b { font-family: var(--serif); font-size: 1.15rem; font-weight: 520; display: block; }
.cat-card .label span { font-size: .78rem; color: rgba(250,247,240,.65); }

/* ─── Pose cards ─── */
.pose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pose-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pose-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s; position: relative; }
.pose-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pose-card .thumb-box { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--paper-2); }
.pose-card .thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.pose-card:hover .thumb { transform: scale(1.06); }
.pose-card .body { padding: 16px 18px 18px; }
.pose-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
.pose-card .meta { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--ink-soft); flex-wrap: wrap; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .71rem; font-weight: 600; letter-spacing: .03em; background: var(--paper-2); border: 1px solid var(--line); }
.badge.gold { background: rgba(178,138,62,.12); border-color: rgba(178,138,62,.4); color: var(--gold-deep); }
.badge.easy { color: #3e7a44; } .badge.medium { color: #a06a12; } .badge.advanced { color: #9a3b3b; }
.lock-tile .lock-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(180deg, rgba(23,20,14,.3), rgba(23,20,14,.7)); color: #fff; font-weight: 600; z-index: 2; }

/* Add-to-shoot button on cards */
.add-btn { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(250,247,240,.92); color: var(--ink); font-size: 1.35rem; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(23,20,14,.25); opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease-out); }
.pose-card:hover .add-btn { opacity: 1; transform: none; }
.add-btn:hover { background: var(--gold); color: #fff; transform: scale(1.1); }
@media (hover: none) { .add-btn { opacity: 1; transform: none; } }

/* ─── Inside-a-pose demo ─── */
.demo { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 44px; align-items: center; }
.demo .photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1.6deg); }
.demo .photo img { aspect-ratio: 3/4; object-fit: cover; }

/* ─── Pricing ─── */
.pricing-card { max-width: 500px; margin: 0 auto; background: var(--ink-2); color: var(--paper); border-radius: 24px; padding: 3px; position: relative; box-shadow: var(--shadow-lg); }
.pricing-card::before { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 2px; background: conic-gradient(from var(--shimmer), transparent 10%, var(--gold-bright) 22%, transparent 36%, transparent 60%, var(--gold) 74%, transparent 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-shimmer 5.5s linear infinite; }
@keyframes spin-shimmer { to { --shimmer: 360deg; } }
.pricing-inner { padding: 44px; text-align: center; position: relative; }
.pricing-card .price { font-family: var(--serif); font-size: 4.4rem; line-height: 1; margin: 18px 0 4px; }
.pricing-card .price small { font-size: 1.2rem; }
.pricing-card ul { list-style: none; text-align: left; margin: 28px 0 30px; }
.pricing-card li { padding: 10px 0; border-bottom: 1px solid rgba(250,247,240,.12); font-size: .95rem; }
.pricing-card li::before { content: "✓  "; color: var(--gold-bright); font-weight: 700; }
.pricing-card .btn { width: 100%; }

/* ─── FAQ ─── */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; padding: 20px 30px 20px 0; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--ink-soft); font-size: .95rem; }

/* ─── CTA band ─── */
.cta-band { position: relative; background: var(--ink-2); color: var(--paper); text-align: center; padding: 110px 24px; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 120%, rgba(178,138,62,.28), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 16px; }
.cta-band p { color: rgba(250,247,240,.7); margin-bottom: 30px; }

/* ─── Bank page ─── */
.bank-head { padding: 54px 0 8px; }
.bank-head h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 22px 0 24px; position: sticky; top: 70px; background: linear-gradient(var(--paper) 82%, transparent); z-index: 40; }
.toolbar input[type=search] { flex: 1; min-width: 220px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.toolbar input[type=search]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(178,138,62,.15); }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .2s var(--ease-out); white-space: nowrap; }
.chip.active, .chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.count-note { font-size: .85rem; color: var(--ink-soft); margin: 0 0 18px; }

/* ─── Pose detail ─── */
.detail { display: grid; grid-template-columns: minmax(0,460px) 1fr; gap: 48px; padding: 48px 0 84px; align-items: start; }
.detail .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: 100px; }
.detail .photo img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.detail h1 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); margin: 12px 0 16px; }
.detail .lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 28px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.info-card h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-deep); font-family: var(--sans); font-weight: 700; margin-bottom: 10px; }
.info-card p { font-size: .97rem; }
.say-card { background: var(--ink-2); color: var(--paper); border: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.say-card::before { content: "“"; position: absolute; right: 14px; top: -16px; font-family: var(--serif); font-size: 7rem; color: rgba(217,180,92,.14); }
.say-card h3 { color: var(--gold-bright); }
.say-card p { font-family: var(--serif); font-size: 1.14rem; font-style: italic; line-height: 1.6; position: relative; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 60px; }

/* ─── Shoot planner ─── */
.shoot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shoot-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease-out), box-shadow .3s; position: relative; }
.shoot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shoot-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.shoot-card .date { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.progress { height: 7px; background: var(--paper-2); border-radius: 99px; overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); border-radius: 99px; transition: width .6s var(--ease-out); }
.progress-note { font-size: .8rem; color: var(--ink-soft); }
.new-shoot-card { border: 2px dashed var(--line); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 170px; color: var(--ink-soft); cursor: pointer; transition: all .25s; }
.new-shoot-card:hover { border-color: var(--gold); color: var(--gold-deep); }
.new-shoot-card .plus { font-size: 2rem; font-family: var(--serif); }

.shoot-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 54px 0 16px; }
.shoot-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.check-row { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; transition: opacity .3s, transform .3s var(--ease-out); }
.check-row img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; }
.check-row .grow { flex: 1; min-width: 0; }
.check-row h4 { font-family: var(--serif); font-size: 1.02rem; font-weight: 520; }
.check-row .sub { font-size: .78rem; color: var(--ink-soft); }
.check-row.done { opacity: .55; }
.check-row.done h4 { text-decoration: line-through; }
.checkbox { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: transparent; transition: all .2s; flex-shrink: 0; }
.check-row.done .checkbox { background: var(--gold); border-color: var(--gold); color: #fff; }
.row-x { border: none; background: none; color: var(--ink-soft); font-size: 1.2rem; opacity: .5; padding: 4px 8px; }
.row-x:hover { opacity: 1; color: #9a3b3b; }
.cat-divider { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-deep); margin: 26px 0 12px; display: flex; align-items: center; gap: 12px; }
.cat-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ─── Modal & toast ─── */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(20,17,12,.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade-in .25s var(--ease-out); }
.modal-backdrop[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } }
.modal { background: var(--paper); border-radius: 20px; padding: 28px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); animation: pop-in .3s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 1.3rem; }
.modal-x { border: none; background: none; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); }
.modal-sub { font-size: .88rem; margin: 6px 0 16px; }
.shoot-list { max-height: 260px; overflow-y: auto; margin-bottom: 16px; }
.shoot-pick { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); margin-bottom: 8px; transition: all .18s; }
.shoot-pick:hover { border-color: var(--gold); background: rgba(178,138,62,.06); }
.shoot-pick b { font-family: var(--serif); font-weight: 520; }
.shoot-pick span { font-size: .78rem; color: var(--ink-soft); }
.new-shoot { display: flex; gap: 8px; }
.new-shoot input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.new-shoot input:focus { outline: none; border-color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); z-index: 300; background: var(--ink-2); color: var(--paper); padding: 13px 22px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .35s var(--ease-out); border: 1px solid var(--line-dark); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--gold-bright); text-decoration: underline; }

/* ─── Forms / auth ─── */
.auth-wrap { max-width: 440px; margin: 70px auto 100px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.auth-wrap h1 { font-size: 1.85rem; margin-bottom: 6px; }
.auth-wrap .sub { color: var(--ink-soft); font-size: .93rem; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(178,138,62,.14); }
.form-msg { padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; }
.form-msg.error { background: #fbeaea; color: #8f2f2f; border: 1px solid #eac9c9; }
.form-msg.ok { background: #ecf4ec; color: #2f6b38; border: 1px solid #cfe3cf; }

/* ─── Tables ─── */
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--paper-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 48px 0; margin-top: 40px; }
.foot-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-links { text-align: right; font-size: .88rem; }

/* ─── Print (shoot checklist) ─── */
@media print {
  .site-header, .site-footer, .grain, .btn, .row-x, .toast, .modal-backdrop { display: none !important; }
  body { background: #fff; }
  .check-row { break-inside: avoid; border-color: #ccc; }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 60px; }
  .collage { height: 420px; margin-top: 10px; }
  .demo, .detail { grid-template-columns: 1fr; }
  .feat-grid, .pose-grid, .pose-grid.cols-4, .shoot-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; font-size: .85rem; }
  .nav a:not(.btn):not(.nav-strong) { display: none; }
  .detail .photo { position: static; }
}
@media (max-width: 580px) {
  .pose-grid, .pose-grid.cols-4, .shoot-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .marquee-track img { width: 140px; height: 186px; }
  .pricing-inner { padding: 30px 22px; }
}
