/* ============================================================
   SOLÈNE — Bespoke Floral Design
   Concept site by Veluxa
   ─────────────────────────────────────────────────────────
   INTENTIONALLY DIFFERENT FROM THE VELUXA MAIN SITE:
   · Light ivory background (not dark)
   · Playfair Display + DM Sans (not Cormorant + Inter)
   · Dusty rose + sage green palette (not gold on black)
   · Asymmetric editorial layout (not symmetric card grids)
   · CSS gradient "photography" (not SVG tile patterns)
   · Clip-path organic shapes (not geometric rectangles)
   · Text-link CTAs (not heavy buttons)
   · Hover reveals (not scroll marquee)
   · No custom cursor, no scroll progress bar, no curtain
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Background — warm ivory, NOT dark */
  --ivory:      #faf6ef;
  --ivory-2:    #f3ece0;
  --ivory-3:    #e8dece;
  --sand:       #d9cbb5;

  /* Accent 1 — dusty rose / terracotta */
  --rose:       #c07a65;
  --rose-light: #d4957e;
  --rose-deep:  #7a3e2a;
  --rose-pale:  rgba(192, 122, 101, 0.08);

  /* Accent 2 — muted sage */
  --sage:       #6e8f78;
  --sage-light: #9ab5a0;
  --sage-pale:  rgba(110, 143, 120, 0.1);

  /* Text — warm charcoal, NOT blue-black */
  --ink:        #1c1916;
  --ink-mid:    #3d3630;
  --muted:      #8a7b6a;
  --muted-lt:   #b0a090;

  /* Border */
  --bdr:        rgba(28, 25, 22, 0.1);
  --bdr-mid:    rgba(28, 25, 22, 0.18);

  /* Type */
  --display: 'Playfair Display', Georgia, serif;
  --body:    'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
}
h1       { font-size: clamp(3rem, 6vw, 5.5rem); }
h2       { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3       { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--rose); }

.section-label {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
}
.eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: block;
}

/* ── Text CTAs — no heavy buttons, just links with arrows ── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--bdr-mid);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.link-arrow span { transition: transform 0.3s; }
.link-arrow:hover {
  color: var(--rose);
  border-color: var(--rose);
  gap: 0.75rem;
}
.link-arrow:hover span { transform: translateX(3px); }

.link-soft {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.link-soft:hover { color: var(--ink); border-color: var(--bdr-mid); }

/* ── Containers ─────────────────────────────────────────── */
.max-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ══════════════════════════════════════════════════════════
   NAV — light bg, wordmark only (no logo mark box)
   ══════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.5rem 3rem;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--bdr);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.logo:hover { color: var(--rose); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-inquire {
  color: var(--rose) !important;
  border-bottom: 1px solid rgba(192, 122, 101, 0.4);
  padding-bottom: 1px;
}
.nav-inquire:hover { color: var(--rose-deep) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); }

/* Mobile overlay */
.mob-overlay {
  position: fixed; inset: 0;
  background: var(--ivory);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.35s var(--ease);
}
.mob-overlay.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mob-overlay a { font-family: var(--display); font-style: italic; font-size: 2.4rem; color: var(--ink); }
.mob-overlay a:hover { color: var(--rose); }
.mob-x {
  position: absolute; top: 1.5rem; right: 2.5rem;
  background: none; border: none;
  font-size: 1.2rem; color: var(--muted); cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   BLOOM INTRO — scroll-driven iris reveal
   Scrolling literally opens the photo like a flower
   ══════════════════════════════════════════════════════════ */
.bloom-scroll {
  height: 220vh;
  position: relative;
}
.bloom-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.bloom-panel {
  width: 100%; height: 100%;
  background: var(--ivory);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bloom-img {
  position: absolute; inset: 0;
  background-image: url('https://images.pexels.com/photos/33350790/pexels-photo-33350790.jpeg?auto=compress&cs=tinysrgb&w=1600&dpr=1');
  background-size: cover;
  background-position: center;
  clip-path: circle(0% at 50% 48%);
  will-change: clip-path;
}

/* Petal rings that radiate outward during the early bloom */
.bloom-petal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192, 122, 101, 0.35);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.bpr1 { width: 100px; height: 100px; }
.bpr2 { width: 180px; height: 180px; border-color: rgba(192,122,101,0.22); }
.bpr3 { width: 280px; height: 280px; border-color: rgba(192,122,101,0.1); }

/* Frosted card that fades in once the bloom fills the screen */
.bloom-card {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 560px;
  padding: 3.5rem 4rem;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  will-change: opacity, transform;
}
.bloom-card h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin: 1rem 0 2.25rem;
}
.bloom-card .eyebrow { color: var(--muted); }
.bloom-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* Scroll nudge */
.bloom-prompt {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.6rem;
  z-index: 5;
  will-change: opacity;
}
.bloom-prompt-label {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.bloom-prompt-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--rose), transparent);
  animation: prompt-drop 1.8s ease-in-out infinite;
}
@keyframes prompt-drop {
  0%, 100% { opacity: 0.35; transform: scaleY(1) translateY(0); }
  50%       { opacity: 1;    transform: scaleY(1.12) translateY(3px); }
}

/* ══════════════════════════════════════════════════════════
   MANIFESTO — editorial two-column
   Replaces the agency-feeling numbered process
   ══════════════════════════════════════════════════════════ */
.manifesto {
  padding: 8rem 0;
  background: var(--ivory);
  border-top: 1px solid var(--bdr);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.manifesto-large {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
}
.manifesto-right p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.95;
  margin-bottom: 1.25rem;
}

/* quote-break removed — manifesto carries this role */

/* ══════════════════════════════════════════════════════════
   STORY
   3-column editorial layout (label col + text col + image col)
   ══════════════════════════════════════════════════════════ */
.story { padding: 6rem 0; }
.story-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 140px 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.story-label-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.story-accent-line {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--rose), transparent);
}

.story-text-col h2 { margin-bottom: 2rem; }
.story-body p { color: var(--muted); font-size: 0.95rem; line-height: 1.95; margin-bottom: 1.25rem; }
.story-cta { margin-top: 1.5rem; display: inline-flex; }

/* CSS "portrait photo" */
.story-img {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.story-img-fill {
  position: absolute; inset: 0;
  background-image: url('https://images.pexels.com/photos/31505801/pexels-photo-31505801.jpeg?auto=compress&cs=tinysrgb&w=600&h=800&dpr=1&fit=crop');
  background-size: cover;
  background-position: center top;
  transition: transform 0.6s var(--ease);
}
.story-img:hover .story-img-fill { transform: scale(1.03); }
.story-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,22,0.15) 0%, transparent 40%);
}
.story-img-caption {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-lt);
  margin-top: 0.75rem;
  text-align: right;
}

/* ══════════════════════════════════════════════════════════
   SERVICES — ASYMMETRIC EDITORIAL GRID
   Two large + two small, alternating — not equal columns
   ══════════════════════════════════════════════════════════ */
.services { padding: 6rem 0; background: var(--ivory-2); }
.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.services-header { margin-bottom: 4rem; }
.services-header h2 { margin-top: 0.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.svc-card {
  background: var(--ivory);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease;
}
.svc-card:hover { box-shadow: 0 8px 40px rgba(28,25,22,0.07); }

/* Swap the column sizes for row 2 */
.svc-small { grid-column: 2; }
.svc-small:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.svc-large:nth-of-type(4) { grid-column: 2; grid-row: 2; }

/* CSS gradient "photography" for service cards */
.svc-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.svc-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,22,0.1) 0%, transparent 50%);
}

.svc-img-weddings {
  background-image: url('https://images.pexels.com/photos/29860088/pexels-photo-29860088.jpeg?auto=compress&cs=tinysrgb&w=900&h=550&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.svc-img-events {
  background-image: url('https://images.pexels.com/photos/29815053/pexels-photo-29815053.jpeg?auto=compress&cs=tinysrgb&w=900&h=550&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.svc-img-spaces {
  background-image: url('https://images.pexels.com/photos/19385686/pexels-photo-19385686.jpeg?auto=compress&cs=tinysrgb&w=900&h=550&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.svc-img-installs {
  background-image: url('https://images.pexels.com/photos/32707673/pexels-photo-32707673.jpeg?auto=compress&cs=tinysrgb&w=900&h=550&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-img-weddings,
.svc-card:hover .svc-img-events,
.svc-card:hover .svc-img-spaces,
.svc-card:hover .svc-img-installs { transform: scale(1.04); }

.svc-body {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.svc-num {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-lt);
  display: block;
  margin-bottom: 0.25rem;
}
.svc-body h3 { color: var(--ink); margin-bottom: 0.25rem; }
.svc-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.8; flex: 1; }
.svc-body .link-arrow { margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════
   GALLERY — IRREGULAR CSS GRID
   Masonry-style with varied heights via grid-row: span
   ══════════════════════════════════════════════════════════ */
.work-section { padding: 6rem 0; }
.work-header {
  max-width: 1200px; margin: 0 auto;
  padding: 0 3rem 3rem;
}
.work-header h2 { margin-top: 0.5rem; margin-bottom: 0.75rem; }
.work-sub { color: var(--muted); font-size: 0.88rem; font-style: italic; }

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gal {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gal-fill {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease);
}
.gal:hover .gal-fill { transform: scale(1.05); }
.gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(28,25,22,0.45) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gal:hover .gal-caption { opacity: 1; }
.gal-caption span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(250,246,239,0.9);
  font-weight: 400;
}

/* Varied grid spanning */
.g1 { grid-row: span 2; }
.g2 { grid-row: span 1; }
.g3 { grid-row: span 2; }
.g4 { grid-row: span 1; }
.g5 { grid-column: span 1; grid-row: span 1; }
.g6 { grid-row: span 1; }

/* Real photography for gallery grid cells */
.g1 .gal-fill {
  background-image: url('https://images.pexels.com/photos/32069539/pexels-photo-32069539.jpeg?auto=compress&cs=tinysrgb&w=600&dpr=1');
  background-size: cover; background-position: center;
}
.g2 .gal-fill {
  background-image: url('https://images.pexels.com/photos/28613097/pexels-photo-28613097.jpeg?auto=compress&cs=tinysrgb&w=700&dpr=1');
  background-size: cover; background-position: center;
}
.g3 .gal-fill {
  background-image: url('https://images.pexels.com/photos/29815053/pexels-photo-29815053.jpeg?auto=compress&cs=tinysrgb&w=600&dpr=1');
  background-size: cover; background-position: center;
}
.g4 .gal-fill {
  background-image: url('https://images.pexels.com/photos/32707673/pexels-photo-32707673.jpeg?auto=compress&cs=tinysrgb&w=700&dpr=1');
  background-size: cover; background-position: center;
}
.g5 .gal-fill {
  background-image: url('https://images.pexels.com/photos/29860088/pexels-photo-29860088.jpeg?auto=compress&cs=tinysrgb&w=700&dpr=1');
  background-size: cover; background-position: center;
}
.g6 .gal-fill {
  background-image: url('https://images.pexels.com/photos/33350790/pexels-photo-33350790.jpeg?auto=compress&cs=tinysrgb&w=700&dpr=1');
  background-size: cover; background-position: center;
}

/* process section removed — replaced by .manifesto */

/* ══════════════════════════════════════════════════════════
   INQUIRY FORM — SPLIT LAYOUT
   ══════════════════════════════════════════════════════════ */
.inquiry {
  padding: 7rem 0;
  background: var(--ivory);
}
.inquiry-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
.inquiry-left h2 { margin-bottom: 1.25rem; }
.inquiry-left > p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; margin-bottom: 2rem; }
.inquiry-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.inquiry-contact a { color: var(--rose); border-bottom: 1px solid rgba(192,122,101,0.3); display: inline-block; }
.inquiry-contact a:hover { color: var(--rose-deep); }

/* Form */
.inquiry-form { display: flex; flex-direction: column; gap: 1.25rem; }
.if-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.if-group { display: flex; flex-direction: column; gap: 0.45rem; }
.if-group label {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.if-group input,
.if-group select,
.if-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bdr-mid);
  color: var(--ink);
  padding: 0.65rem 0;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  background-color: transparent;
}
.if-group input:focus,
.if-group select:focus,
.if-group textarea:focus {
  border-bottom-color: var(--rose);
}
.if-group input::placeholder,
.if-group textarea::placeholder { color: var(--muted-lt); }
.if-group select option { background: var(--ivory); color: var(--ink); }
.if-group textarea { resize: vertical; min-height: 110px; }

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
}
.submit-btn:hover {
  background: var(--rose);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════
   FOOTER — LIGHT IVORY
   Deliberately opposite to dark-footed agency sites
   ══════════════════════════════════════════════════════════ */
footer {
  background: var(--ivory-3);
  color: var(--ink-mid);
  border-top: 1px solid var(--bdr-mid);
  padding: 5rem 0 2.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo { color: var(--ink); font-size: 1.75rem; display: block; margin-bottom: 1rem; }
.footer-brand > p { font-size: 0.85rem; line-height: 1.85; max-width: 280px; color: var(--muted); }
.footer-col h4 {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-lt);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.85rem; color: var(--muted); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 2rem 3rem 0;
  border-top: 1px solid var(--bdr);
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-lt);
}
.footer-credit a { color: var(--rose); }
.footer-credit a:hover { color: var(--rose-deep); }

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  font-family: var(--body);
  z-index: 5000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  max-width: 340px;
  border-left: 2px solid var(--rose);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
   Clip-path reveal — different from Veluxa's translateY fade
   ══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger for gallery */
.g1.reveal { transition-delay: 0s; }
.g2.reveal { transition-delay: 0.08s; }
.g3.reveal { transition-delay: 0.04s; }
.g4.reveal { transition-delay: 0.12s; }
.g5.reveal { transition-delay: 0.08s; }
.g6.reveal { transition-delay: 0.16s; }

/* Stagger for service cards */
.svc-card:nth-child(2) { transition-delay: 0.1s; }
.svc-card:nth-child(3) { transition-delay: 0.05s; }
.svc-card:nth-child(4) { transition-delay: 0.1s; }

/* Stagger for process steps */
.pstep:nth-child(3) { transition-delay: 0.08s; }
.pstep:nth-child(5) { transition-delay: 0.16s; }
.pstep:nth-child(7) { transition-delay: 0.24s; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .story-inner { grid-template-columns: 100px 1fr 300px; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-small, .svc-large { grid-column: auto; grid-row: auto; }
  .inquiry-inner { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-inner { gap: 3.5rem; }
}

@media (max-width: 820px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-inner { padding: 0; }

  /* Bloom: on mobile the card takes full width */
  .bloom-card { padding: 2.5rem 1.75rem; max-width: 92vw; }
  .bloom-card h1 { font-size: 2.4rem; }
  .bloom-card-actions { gap: 1.5rem; }

  .story-inner { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.5rem; }
  .story-label-col { flex-direction: row; align-items: center; gap: 1rem; }
  .story-accent-line { width: 40px; height: 1px; background: linear-gradient(to right, var(--rose), transparent); }

  .services-inner { padding: 0 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }

  .gallery-grid { padding: 0 1.5rem; grid-template-columns: 1fr 1fr; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: auto; grid-row: auto; }

  .manifesto { padding: 5rem 0; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }

  .inquiry-inner { padding: 0 1.5rem; }
  .if-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.5rem 0; text-align: center; }

  .max-wrap { padding: 0 1.5rem; }
  .work-header { padding: 0 1.5rem 2.5rem; }
}

@media (max-width: 500px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   WOW FACTOR 1 — HERO WORD REVEAL
   Each word slides up from behind a clip mask on load
   ══════════════════════════════════════════════════════════ */
.rl {
  display: block;
  overflow: hidden;
  line-height: 1.12;
}
.rw {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.75s var(--ease), opacity 0.75s ease;
  will-change: transform;
}
.rw.in {
  transform: translateY(0);
  opacity: 1;
}

/* Eyebrow and desc/actions/meta: fade up on load */
.hero-eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-eyebrow.in { opacity: 1; transform: translateY(0); }

.hero-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-fade.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   WOW FACTOR 2 — 3D CARD TILT
   Applied via JS; CSS sets up the perspective context
   ══════════════════════════════════════════════════════════ */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s ease;
  will-change: transform;
}
/* Stronger shadow on tilt — JS adds will-change dynamically */
.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(28, 25, 22, 0.12);
}

/* ══════════════════════════════════════════════════════════
   WOW FACTOR 3 — PAPER GRAIN TEXTURE
   Animated feTurbulence SVG noise overlay on light sections
   ══════════════════════════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.038;
  pointer-events: none;
  z-index: 9998;
  animation: grain-shift 0.65s steps(1) infinite;
}
@keyframes grain-shift {
  0%  { background-position: 0 0; }
  16% { background-position: -30px -20px; }
  32% { background-position: 15px 30px; }
  48% { background-position: -40px 10px; }
  64% { background-position: 25px -30px; }
  80% { background-position: -15px 40px; }
}

/* ══════════════════════════════════════════════════════════
   WOW FACTOR 4 — HORIZONTAL FILMSTRIP GALLERY
   Drag to scroll; overflow hidden on wrapper
   ══════════════════════════════════════════════════════════ */
.filmstrip-hint {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem 1.25rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-lt);
}

.filmstrip {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.filmstrip.is-dragging { cursor: grabbing; }

.filmstrip-track {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  padding: 0.5rem 3rem 2.5rem;
  width: max-content;
  transition: transform 0.05s linear;
}

/* Individual film items */
.film-item {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.film-portrait  { width: 260px; height: 380px; }
.film-landscape { width: 460px; height: 300px; }
.film-square    { width: 300px; height: 300px; }

.film-fill {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease);
}
.film-item:hover .film-fill { transform: scale(1.05); }

.film-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(28, 25, 22, 0.5) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.film-item:hover .film-caption { opacity: 1; }
.film-caption span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 239, 0.9);
  font-weight: 400;
}

/* Real photography — each film cell a distinct Pexels photo */
.ff1 {
  background-image: url('https://images.pexels.com/photos/32069539/pexels-photo-32069539.jpeg?auto=compress&cs=tinysrgb&w=600&h=900&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}
.ff2 {
  background-image: url('https://images.pexels.com/photos/28613097/pexels-photo-28613097.jpeg?auto=compress&cs=tinysrgb&w=900&h=600&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}
.ff3 {
  background-image: url('https://images.pexels.com/photos/29815053/pexels-photo-29815053.jpeg?auto=compress&cs=tinysrgb&w=600&h=900&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}
.ff4 {
  background-image: url('https://images.pexels.com/photos/32707673/pexels-photo-32707673.jpeg?auto=compress&cs=tinysrgb&w=700&h=700&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}
.ff5 {
  background-image: url('https://images.pexels.com/photos/29860088/pexels-photo-29860088.jpeg?auto=compress&cs=tinysrgb&w=900&h=600&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}
.ff6 {
  background-image: url('https://images.pexels.com/photos/31505801/pexels-photo-31505801.jpeg?auto=compress&cs=tinysrgb&w=600&h=900&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}
.ff7 {
  background-image: url('https://images.pexels.com/photos/33350790/pexels-photo-33350790.jpeg?auto=compress&cs=tinysrgb&w=700&h=700&dpr=1&fit=crop');
  background-size: cover;
  background-position: center;
}

/* ══════════════════════════════════════════════════════════
   WOW FACTOR 5 — FLOWER NAME MARQUEE
   Large italic Playfair Display, slow editorial scroll
   ══════════════════════════════════════════════════════════ */
.flower-marquee {
  overflow: hidden;
  padding: 3rem 0;
  background: var(--ivory-2);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
}
.fm-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: fm-scroll 55s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .fm-track { animation: none; }
}
@keyframes fm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.fm-name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--ink-mid);
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.fm-name:hover { color: var(--rose); }
.fm-sep {
  color: var(--rose);
  font-size: 1.1rem;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Filmstrip responsive */
@media (max-width: 820px) {
  .filmstrip-track { padding: 0.5rem 1.5rem 2rem; }
  .filmstrip-hint { padding: 0 1.5rem 1rem; }
  .film-portrait  { width: 200px; height: 290px; }
  .film-landscape { width: 340px; height: 230px; }
  .film-square    { width: 230px; height: 230px; }
}
