/* PicPost — picpost.app marketing site. Weddings, parties & celebrations. */
:root {
  --bg: #fbf7f3;
  --surface: #ffffff;
  --surface-2: #f5ede6;
  --border: #e9ddd2;
  --text: #2a1d24;
  --muted: #6b5a62;
  --faint: #9a8a91;
  --accent: #c8336a;          /* PicPost pink, darkened for AA on ivory */
  --accent-hover: #a82756;
  --accent-soft: #fbe6ee;
  --ink: #1b1217;             /* dark bands */
  --ink-text: #f6ede9;
  --ink-muted: #c9b8bf;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(42, 29, 36, .06), 0 8px 28px rgba(42, 29, 36, .08);
  --font-display: "Gambetta", "Georgia", serif;
  --font-body: "General Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text-xs: clamp(.78rem, .76rem + .1vw, .84rem);
  --text-sm: clamp(.88rem, .86rem + .1vw, .95rem);
  --text-base: clamp(1rem, .97rem + .15vw, 1.075rem);
  --text-lg: clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --text-xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.35rem);
  --text-2xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --text-hero: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);
  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.lead { font-size: var(--text-lg); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.center { text-align: center; }
.section { padding: var(--section) 0; }
.section.tight { padding: calc(var(--section) * .6) 0; }
.band { background: var(--surface-2); }
.dark { background: var(--ink); color: var(--ink-text); }
.dark .lead, .dark .muted { color: var(--ink-muted); }
.dark a:not(.btn) { color: #ff9fbf; }
.dark .eyebrow { color: #ff8fb4; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 var(--text-sm)/1 var(--font-body); padding: .95rem 1.5rem; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 243, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .5rem .8rem; color: var(--text); text-decoration: none; font-size: var(--text-sm); font-weight: 500; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-cta .signin { color: var(--text); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: .5rem .8rem; }
.nav-cta .btn { padding: .75rem 1.15rem; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: .55rem .9rem; border: 1.5px solid var(--border); border-radius: 999px; font-weight: 600; font-size: var(--text-sm); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + .6rem); width: min(86vw, 320px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem; }
.menu-panel a { display: block; padding: .75rem .9rem; color: var(--text); text-decoration: none; border-radius: 10px; font-weight: 500; }
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel .btn { display: flex; margin-top: .4rem; color: #fff; }
.menu-panel hr { border: 0; border-top: 1px solid var(--border); margin: .4rem 0; }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,11,15,.15) 0%, rgba(20,11,15,.2) 35%, rgba(20,11,15,.82) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: clamp(3rem, 7vw, 5.5rem); width: 100%; }
.hero h1 { font-size: var(--text-hero); max-width: 14ch; margin-bottom: .35em; color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 38rem; margin-bottom: 1.8rem; }
.hero .eyebrow { color: #ffc2d6; }
.hero-note { margin-top: 1.1rem; font-size: var(--text-sm); color: rgba(255,255,255,.78); }

.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 42rem; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Big statement */
.statement { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.15; max-width: 22ch; margin: 0 auto .6em; text-wrap: balance; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Benefit list */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; margin-top: 2.5rem; }
.benefit h3 { margin-bottom: .35rem; }
.benefit p { color: var(--muted); margin: 0; }
.dark .benefit p { color: var(--ink-muted); }
.benefit { border-top: 1.5px solid var(--border); padding-top: 1.2rem; }
.dark .benefit { border-top-color: rgba(255,255,255,.16); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* Occasion cards */
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.occ { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--ink); }
.occ img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.occ:hover img { transform: scale(1.04); }
.occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,11,15,.8)); }
.occ span { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; z-index: 1; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; }
.occ span small { display: block; font-family: var(--font-body); font-size: var(--text-xs); opacity: .85; margin-top: .2rem; letter-spacing: .02em; }
.occ:hover { color: #fff; }
@media (max-width: 920px) { .occasions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .occasions { grid-template-columns: 1fr; } }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.8rem; display: flex; flex-direction: column; position: relative; }
.tier.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.tier .badge { position: absolute; top: -.8rem; left: 1.8rem; background: var(--accent); color: #fff; font-size: var(--text-xs); font-weight: 600; padding: .3rem .75rem; border-radius: 999px; letter-spacing: .04em; }
.tier h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin: 0 0 .2rem; }
.tier .guests { color: var(--muted); font-size: var(--text-sm); margin: 0 0 1.2rem; }
.price { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1; margin: 0; font-variant-numeric: lining-nums; }
.price-note { font-size: var(--text-sm); color: var(--muted); margin: .4rem 0 1.4rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.tier li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; font-size: var(--text-sm); }
.tier li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tier .btn { width: 100%; }
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem auto 0; max-width: 720px; background: var(--accent-soft); color: var(--text); border: 1px solid #f3c6d6; }
.notice[hidden] { display: none; }

.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; margin-top: 2rem; }
.included div { font-size: var(--text-sm); }
.included strong { display: block; font-size: var(--text-base); margin-bottom: .2rem; }
.included p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 2rem auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 1.15rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--text-base); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }
.faq h2 { margin-top: 2.5rem; font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; }

/* Prose (legal, about) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 650; margin: 2.4rem 0 .7rem; }
.prose h3 { font-size: var(--text-base); margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: 1rem 0 1.5rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--border); min-width: 140px; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.draft-flag { display: inline-block; background: var(--accent-soft); color: var(--accent-hover); border-radius: 999px; padding: .25rem .8rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; }
.meta { font-size: var(--text-sm); color: var(--muted); }

/* Moments list on occasion pages */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.moment { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.moment h3 { margin-bottom: .4rem; }
.moment p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; } }

.tips { counter-reset: tip; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.tips li { counter-increment: tip; position: relative; padding: 0 0 1.1rem 2.6rem; }
.tips li::before { content: counter(tip); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: var(--text-xs); font-weight: 700; }

/* Breadcrumbs */
.crumbs { font-size: var(--text-xs); color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--faint); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-2xl); max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { max-width: 36rem; margin: 0 auto 1.8rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--ink-muted); padding: 4rem 0 2.5rem; font-size: var(--text-sm); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 1rem; }
.foot-brand p { max-width: 30ch; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; }
.foot-bottom p { margin: 0; }
.rm img { height: 26px; width: auto; opacity: .7; }
.rm:hover img { opacity: 1; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* QA fixes */
.tier { text-align: left; }
.cta-band .btn-row { justify-content: center; }
.dark h2 { color: #fff; }
