/* Fuyu Film: Photobooth — shared styles
   Palette comes from the logo: deep navy strip, blush pink ground, sakura accent.
   To remove the sakura: delete the <svg id="sakura-defs">, every <use href="#sakura">,
   and the .petals block in index.html. Nothing else depends on them. */

:root {
  --navy: #1c2f5e;
  --navy-deep: #121d3d;
  --ink: #14182b;
  --cream: #fbf6ee;
  --paper: #fffdf9;
  --blush: #f7d4dc;
  --blush-soft: #fbe8ec;
  --sakura: #ef8fa8;
  --sakura-deep: #c9506f;
  --muted: #55607f;
  --line: rgba(28, 47, 94, 0.14);
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(18, 29, 61, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sakura-deep); margin-bottom: 0.9rem;
}
.sakura { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0.8rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--navy); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 0.5rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--navy-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 0.9rem 1.6rem; border-radius: 999px;
  border: 2px solid var(--navy); transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-soon { opacity: 0.92; cursor: default; }
.btn-soon:hover { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blush); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; padding: 4.5rem 1.5rem 5rem; max-width: 1120px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--sakura-deep); }
.hero p.lede { font-size: 1.18rem; color: var(--muted); max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--muted); }
.hero-strips { position: relative; height: 520px; }
.hero-strips .strip { position: absolute; }
.hero-strips .s1 { left: 10%; top: 6%; width: 190px; transform: rotate(-9deg); z-index: 2; }
.hero-strips .s2 { left: 42%; top: 0; width: 190px; transform: rotate(6deg); z-index: 3; }
.hero-strips .s3 { left: 70%; top: 14%; width: 150px; transform: rotate(14deg); z-index: 1; }

/* ---------- Strips (frame art over sample "photos") ---------- */
.strip {
  position: relative; display: block; width: 100%; box-shadow: var(--shadow);
  background: linear-gradient(160deg, #f6c6b3 0%, #f2a6b6 28%, #a9b9ea 55%, #7ea4d8 78%, #f4d9a7 100%);
}
.strip.alt1 { background: linear-gradient(170deg, #bfe3d0, #86b6d9 45%, #e9c6e8); }
.strip.alt2 { background: linear-gradient(150deg, #f9d9a6, #ee9f7a 40%, #b9546a 80%); }
.strip.alt3 { background: linear-gradient(165deg, #cdd7ff, #9aa7e8 50%, #ffd1e2); }
.strip img.frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.strip.r3 { aspect-ratio: 600 / 1399; }
.strip.r4 { aspect-ratio: 600 / 1810; }
.strip.r6 { aspect-ratio: 1200 / 2293; }
/* abstract "people" so the windows read as photos, not empty gradients */
.strip .blobs { position: absolute; inset: 0; opacity: 0.55;
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.9) 0 4%, transparent 4.5%),
    radial-gradient(ellipse at 50% 22%, rgba(255,255,255,0.7) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.9) 0 4%, transparent 4.5%),
    radial-gradient(ellipse at 50% 46%, rgba(255,255,255,0.7) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 62%, rgba(255,255,255,0.9) 0 4%, transparent 4.5%),
    radial-gradient(ellipse at 50% 70%, rgba(255,255,255,0.7) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 86%, rgba(255,255,255,0.9) 0 4%, transparent 4.5%),
    radial-gradient(ellipse at 50% 94%, rgba(255,255,255,0.7) 0 9%, transparent 10%);
}
.strip.r6 .blobs, .strip.r3 .blobs { opacity: 0.35; }

/* ---------- Petals (optional, decorative) ---------- */
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petals .sakura { position: absolute; color: var(--sakura); opacity: 0.55; animation: drift linear infinite; }
.petals .sakura:nth-child(1) { left: 6%;  top: -8%; font-size: 22px; animation-duration: 16s; }
.petals .sakura:nth-child(2) { left: 28%; top: -8%; font-size: 14px; animation-duration: 21s; animation-delay: -6s; }
.petals .sakura:nth-child(3) { left: 52%; top: -8%; font-size: 18px; animation-duration: 18s; animation-delay: -11s; }
.petals .sakura:nth-child(4) { left: 74%; top: -8%; font-size: 26px; animation-duration: 24s; animation-delay: -3s; }
.petals .sakura:nth-child(5) { left: 90%; top: -8%; font-size: 16px; animation-duration: 19s; animation-delay: -14s; }
@keyframes drift { to { transform: translate(60px, 620px) rotate(300deg); } }

/* ---------- Sections ---------- */
section { padding: 5.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: 'Fraunces', serif; margin-bottom: 1rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* Frames */
.frames-band { background: var(--navy); color: #fff; }
.frames-band h2, .frames-band .section-head p { color: #fff; }
.frames-band .section-head p { opacity: 0.8; }
.frames-band .eyebrow { color: var(--sakura); }
.frame-row { display: flex; gap: 1.6rem; overflow-x: auto; padding: 0.5rem 1.5rem 1.8rem; scroll-snap-type: x proximity; margin: 0 -1.5rem; }
.frame-row::-webkit-scrollbar { height: 8px; }
.frame-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 8px; }
.frame-card { flex: 0 0 150px; scroll-snap-align: start; text-align: center; }
.frame-card span { display: block; margin-top: 0.8rem; font-weight: 700; font-size: 0.9rem; }
.sizes { display: flex; justify-content: center; align-items: flex-end; gap: 2rem; margin-top: 3.5rem; flex-wrap: wrap; }
.sizes figure { text-align: center; }
.sizes figcaption { margin-top: 0.8rem; font-weight: 700; font-size: 0.9rem; }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.chip.dark { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); color: #fff; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split + .split { margin-top: 5rem; }
.split h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.9rem; }
.split p { color: var(--muted); margin-bottom: 0.9rem; }
.split.flip > :first-child { order: 2; }

/* Backdrop swatches */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.swatch { aspect-ratio: 3 / 4; border-radius: 16px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.swatch span { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.5rem; font-size: 0.78rem; font-weight: 800; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.5)); }
.sw-studio { background: linear-gradient(#f7f7f7, #c7c7c7); }
.sw-studio span { color: var(--ink); background: linear-gradient(transparent, rgba(255,255,255,0.7)); }
.sw-blush { background: #fbccd9; }
.sw-blush span { color: var(--navy); background: linear-gradient(transparent, rgba(255,255,255,0.55)); }
.sw-sky { background: radial-gradient(ellipse at 30% 70%, #fff 0 12%, transparent 13%), radial-gradient(ellipse at 70% 80%, #fff 0 10%, transparent 11%), linear-gradient(#2a6fc4, #bcd8f2); }
.sw-sunset { background: radial-gradient(circle at 70% 78%, #ffe29a 0 9%, transparent 10%), linear-gradient(#3b1f63, #b2377f 45%, #f58a5c 80%, #ffcf7a); }
.sw-midnight { background: radial-gradient(circle at 25% 25%, #fff 0 1.5%, transparent 2%), radial-gradient(circle at 70% 40%, #fff 0 1.2%, transparent 1.8%), radial-gradient(circle at 50% 15%, #fff 0 1%, transparent 1.6%), radial-gradient(circle at 80% 70%, #fff 0 1%, transparent 1.6%), linear-gradient(#0d1033, #272a69); }
.sw-carpet { background: linear-gradient(#8c0a17, #c2172a 50%, #7f0814); }
.sw-polka { background: radial-gradient(circle, rgba(255,255,255,0.85) 0 18%, transparent 19%) 0 0 / 22px 22px, #fa9eb3; }
.sw-none { background: repeating-linear-gradient(45deg, #fff, #fff 8px, #f1ebe2 8px, #f1ebe2 16px); }
.sw-none span { color: var(--navy); background: linear-gradient(transparent, rgba(255,255,255,0.7)); }

.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.prop { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 0.4rem 0.7rem; text-align: center; }
.prop b { display: block; font-size: 2rem; line-height: 1.2; font-weight: 400; }
.prop span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }

/* Events */
.events { background: var(--blush-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.feature .ico { font-size: 1.6rem; margin-bottom: 0.7rem; display: block; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--paper); border: 2px solid var(--line); border-radius: 28px; padding: 2.2rem; }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.price-card.featured h3, .price-card.featured .big { color: #fff; }
.price-card.featured li { color: rgba(255,255,255,0.88); }
.price-card .tag { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sakura-deep); }
.price-card.featured .tag { color: var(--sakura); }
.price-card h3 { font-size: 1.6rem; margin: 0.4rem 0; }
.price-card .big { font-family: 'Fraunces', serif; font-size: 2.6rem; color: var(--navy); line-height: 1.1; margin: 0.8rem 0 1.2rem; }
.price-card .big small { font-size: 1rem; font-family: 'Manrope', sans-serif; font-weight: 600; opacity: 0.75; }
.price-card ul { list-style: none; }
.price-card li { padding-left: 1.6rem; position: relative; margin-bottom: 0.55rem; color: var(--muted); font-size: 0.97rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; color: var(--sakura-deep); }
.price-card.featured li::before { color: var(--sakura); }
.fine { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1.6rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--sakura-deep); }
details[open] summary::after { content: '–'; }
details p { margin-top: 0.7rem; color: var(--muted); }

/* CTA band */
.cta { background: var(--blush); text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta p { color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; }

/* Footer */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 3rem 0 2rem; font-size: 0.92rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-family: 'Fraunces', serif; font-size: 1.1rem; color: #fff; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom a { color: #fff; }

/* Legal / support pages */
.legal-header { position: relative; overflow: hidden; background: var(--blush); padding: 4.5rem 1.5rem 4rem; text-align: center; border-bottom: 1px solid var(--line); }
.legal-header::before, .legal-header::after {
  content: ''; position: absolute; width: 90px; height: 270px; background: var(--navy); border-radius: 4px; opacity: 0.08;
  top: 50%; transform: translateY(-50%) rotate(-12deg);
}
.legal-header::before { left: 6%; }
.legal-header::after { right: 6%; transform: translateY(-50%) rotate(10deg); }
.legal-header > * { position: relative; }
.legal-header h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 0.8rem; }
.legal-header .subtitle { color: var(--muted); max-width: 36rem; margin: 0 auto; font-size: 1.08rem; }
.legal-body { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.legal-body.has-toc { max-width: 1080px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.legal-content { min-width: 0; font-size: 1.02rem; }
.legal-content > .updated { display: inline-block; background: var(--blush-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 1.6rem; }
.legal-body h2 {
  font-size: 1.55rem; margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.legal-body h2 .num { flex: none; color: var(--sakura-deep); }
.legal-body h3 { font-size: 1.15rem; margin: 1.5rem 0 0.4rem; }
.legal-body p, .legal-body li { color: #2e3552; margin-bottom: 0.9rem; }
.legal-body ul { padding-left: 1.2rem; margin-bottom: 1.1rem; }
.legal-body li { margin-bottom: 0.55rem; padding-left: 0.2rem; }
.legal-body li::marker { color: var(--sakura-deep); }
.legal-body strong { color: var(--navy); }
.legal-body .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.legal-body .note, .legal-body .warn { border-radius: 16px; padding: 1.1rem 1.3rem; margin: 1.2rem 0 1.6rem; border-left: 5px solid var(--sakura); }
.legal-body .note { background: var(--blush-soft); border: 1px solid var(--line); border-left: 5px solid var(--sakura); }
.legal-body .warn { background: #fff7e0; border: 1px solid #ecd9a0; border-left: 5px solid #d9a521; }
.legal-body .note p, .legal-body .warn p { margin-bottom: 0; }
.legal-body .caps { text-transform: uppercase; font-size: 0.86rem; line-height: 1.65; letter-spacing: 0.01em; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.legal-body li.caps { background: none; border: 0; padding: 0; text-transform: uppercase; font-size: 0.86rem; }
.legal-body a { color: var(--sakura-deep); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--navy); }
.back-home { display: inline-block; margin-top: 2.5rem; font-weight: 700; text-decoration: none; }

/* Tables become tidy cards */
.legal-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2rem 0 1.8rem; font-size: 0.93rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.legal-body th, .legal-body td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-body th { background: var(--navy); color: #fff; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body td:first-child { font-weight: 700; color: var(--navy); width: 34%; }

/* Sticky table of contents */
.toc-wrap { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 0.6rem 0.8rem; }
.toc-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sakura-deep); padding: 0 0.8rem 0.5rem; margin: 0; }
.toc { display: flex; flex-direction: column; }
.toc a { display: flex; gap: 0.6rem; align-items: baseline; text-decoration: none; color: var(--muted); font-size: 0.88rem; font-weight: 600; line-height: 1.35; padding: 0.38rem 0.8rem; border-radius: 10px; }
.toc a span { flex: none; min-width: 1.5rem; color: var(--sakura-deep); font-weight: 800; }
.toc a:hover { background: var(--blush-soft); color: var(--navy); }

@media (max-width: 900px) {
  .legal-body.has-toc { grid-template-columns: 1fr; gap: 1.5rem; max-width: 760px; }
  .toc-wrap { position: static; max-height: none; }
  .toc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.5rem; }
  .legal-header::before, .legal-header::after { display: none; }
}
@media (max-width: 560px) {
  .toc { grid-template-columns: 1fr; }
  .legal-body { padding-top: 2rem; }
  .legal-body h2 { font-size: 1.3rem; }
  .legal-body table, .legal-body tbody, .legal-body tr, .legal-body td, .legal-body th { display: block; width: 100% !important; }
  .legal-body tr:first-child { display: none; }
  .legal-body tr { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
  .legal-body td { border: 0; padding: 0.25rem 1rem; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .petals .sakura { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero-inner { padding-top: 3rem; }
  .hero-strips { height: 440px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-strips .strip { width: 150px !important; }
  .hero-strips .s3 { width: 120px !important; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
}
@media (max-width: 560px) {
  .nav-links li:not(:last-child) { display: none; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .swatches, .props { grid-template-columns: repeat(3, 1fr); }
  .frame-row { margin: 0 -1.5rem; }
}
