/* ============================================================
   Paper Collective — Handcrafted Photobooks & Prints
   Mobile-first stylesheet
   ============================================================ */

:root {
  --cream:       #f6efe2;
  --cream-alt:   #eee3cd;
  --paper:       #fffbf3;
  --ink:         #2b2420;
  --ink-soft:    #6b5f52;
  --rust:        #a3441f;
  --rust-dark:   #7c3216;
  --rust-tint:   #f0dcc9;
  --line:        #e2d3b8;
  --shadow:      0 10px 30px rgba(43, 36, 32, 0.10);
  --radius-lg:   22px;
  --radius-md:   14px;
  --radius-sm:   8px;
  --maxw:        1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  color: var(--rust);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.9em;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 22px;
}
.section-tight {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px 72px;
}

.section-head { margin-bottom: 34px; }
.section-head h2 { max-width: 20ch; }
.section-sub {
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: 0.98rem;
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--rust);
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(163, 68, 31, 0.28);
}
.btn-primary:hover { background: var(--rust-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row-center { justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 239, 226, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 18px rgba(43,36,32,0.06);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(43,36,32,0.15);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.desktop-nav { display: none; }

.menu-toggle {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 70;
}
.menu-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ============ Mobile nav overlay ============ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--cream);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 16px 22px 28px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.65,0,.35,1);
}
.mobile-nav.open { transform: translateY(0); }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}
.mobile-nav .brand-name { color: var(--cream); }
.menu-close {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  gap: 4px;
}
.mobile-nav-links a {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246,239,226,0.14);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.mobile-nav-links a span {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--rust-tint);
  opacity: .8;
}

.mobile-nav-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  font-size: 0.95rem;
  color: var(--rust-tint);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 40px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 22px 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  margin-bottom: 0.4em;
}
.hero-sub {
  max-width: 46ch;
  margin: 0 auto 1.6em;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.hero .btn-row { justify-content: center; }

.hero-strip {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 22px 4px;
  scrollbar-width: none;
}
.hero-strip::-webkit-scrollbar { display: none; }
.hero-strip-track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0 auto;
  padding-bottom: 6px;
}
.hero-strip-track figure {
  margin: 0;
  width: 62vw;
  max-width: 240px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}
.hero-strip-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--rust);
  color: var(--cream);
  overflow: hidden;
  padding: 13px 0;
  margin-top: 48px;
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  white-space: nowrap;
  animation: scrollMarquee 26s linear infinite;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
}
.marquee-track span { flex-shrink: 0; }
@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-copy h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.about-copy p { color: var(--ink-soft); }
.about-copy .callout {
  background: var(--paper);
  border-left: 3px solid var(--rust);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}
.about-copy .callout strong { font-style: normal; color: var(--rust); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin: 0 -22px;
  padding: 4px 22px 10px;
  scrollbar-width: none;
}
.gallery-scroller::-webkit-scrollbar { display: none; }
.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  margin: 0 auto;
}
.book-card {
  width: 68vw;
  max-width: 260px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.book-card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  margin-bottom: 14px;
  background: var(--paper);
}
.book-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.book-card:hover .book-card-img img { transform: scale(1.05); }
.book-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15em;
}
.book-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}
.swipe-hint {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ============================================================
   FACTS CALLOUT
   ============================================================ */
.facts-box {
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.facts-eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--rust);
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}
.facts-box p:not(.facts-eyebrow) { color: var(--ink-soft); }
.facts-fine {
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.85;
  margin: 0;
}

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}
.price-card-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.price-pages {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  margin: 0 0 6px;
}
.price-pages span {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.price-card-featured .price-pages span { color: var(--rust-tint); }
.price-amount {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rust);
  margin: 0;
}
.price-card-featured .price-amount { color: #f0a67e; }

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.options-block h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}
.options-block p { color: var(--ink-soft); font-size: 0.96rem; }
.options-block .note {
  font-size: 0.85rem;
  background: var(--cream-alt);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  background: var(--rust);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
}
.chip-outline {
  background: transparent;
  border: 1.5px dashed var(--ink-soft);
  color: var(--ink-soft);
}

/* ============================================================
   IMAGE BREAK
   ============================================================ */
.image-break {
  position: relative;
  margin: 0 0 72px;
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 46vh;
  min-height: 280px;
  object-fit: cover;
}
.image-break-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 26px 22px;
  background: linear-gradient(180deg, rgba(43,36,32,0) 40%, rgba(43,36,32,0.55) 100%);
}
.image-break-caption p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: #fff;
  font-size: clamp(1.3rem, 5vw, 2rem);
  margin: 0;
}

/* ============================================================
   PROCESS
   ============================================================ */
.steps {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--rust);
  flex-shrink: 0;
  width: 48px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

.payment-block { text-align: center; }
.payment-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.payment-pill {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============================================================
   FAQ / Accordion
   ============================================================ */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.accordion-icon {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  color: var(--rust);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-panel p {
  padding: 0 4px 20px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 60ch;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 90px;
}
.final-cta h2 {
  font-size: clamp(2.1rem, 7vw, 3.2rem);
}
.final-cta p { color: var(--ink-soft); max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 52px 22px 110px;
  text-align: center;
}
.footer-top { margin-bottom: 22px; }
.footer-top .brand-mark { margin: 0 auto 14px; width: 52px; height: 52px; }
.footer-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--rust-tint);
  margin: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(246,239,226,0.14);
  border-bottom: 1px solid rgba(246,239,226,0.14);
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 0.95rem;
}
.footer-contact a:hover { color: var(--rust-tint); }
.footer-bottom {
  font-size: 0.8rem;
  color: rgba(246,239,226,0.55);
  margin: 0;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246,239,226,0) 0%, rgba(246,239,226,0.96) 30%, var(--cream) 100%);
  transform: translateY(120%);
  transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--rust);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(163,68,31,0.35);
}

/* ============================================================
   RESPONSIVE — Tablet & up
   ============================================================ */
@media (min-width: 640px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .options-grid { flex-direction: row; }
  .options-block { flex: 1; }
  .book-card { width: 42vw; max-width: 280px; }
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 500;
    font-size: 0.95rem;
  }
  .desktop-nav a { padding: 6px 2px; position: relative; }
  .desktop-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1.5px;
    background: var(--rust);
    transition: right .25s ease;
  }
  .desktop-nav a:not(.nav-cta):hover::after { right: 0; }
  .nav-cta {
    background: var(--rust);
    color: var(--paper);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
  }
  .nav-cta:hover { background: var(--rust-dark); }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
  .sticky-cta { display: none; }

  .about {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .about-media, .about-copy { flex: 1; }

  .step { align-items: center; }

  .site-footer { padding-bottom: 60px; }
}

@media (min-width: 1080px) {
  .hero h1 { font-size: 5.2rem; }
  .book-card { width: 22vw; max-width: 260px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
