/* ============================================================
   SCRIPT & SOUL — Wedding Prompt-Guide
   Shared design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&family=Pinyon+Script&display=swap');

:root {
  /* Surfaces */
  --cream:      #F6F1E8;
  --cream-soft: #FBF7F0;
  --card:       #FCFAF5;
  --sand:       #EFE6D7;
  --beige:      #E6D8C5;
  --taupe:      #CBB89E;
  --blush:      #ECDBD2;

  /* Ink */
  --espresso:   #3A2E27;
  --brown:      #6E6052;
  --brown-soft: #8C7E6E;
  --muted:      #A89A88;

  /* Accent */
  --gold:       #B68F52;
  --gold-deep:  #9A7437;
  --gold-light: #D8C19A;

  /* Lines */
  --line:       rgba(58, 46, 39, 0.13);
  --line-soft:  rgba(58, 46, 39, 0.07);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;
  --script:'Pinyon Script', cursive;

  /* Rhythm */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;

  /* Shadows */
  --shadow-sm: 0 2px 14px rgba(58, 46, 39, 0.06);
  --shadow-md: 0 18px 50px -20px rgba(58, 46, 39, 0.22);
  --shadow-gold: 0 14px 30px -10px rgba(154, 116, 55, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--brown);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.7;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--espresso);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}
.eyebrow.flank { position: relative; padding: 0 2.4em; }
.eyebrow.flank::before,
.eyebrow.flank::after {
  content: ""; position: absolute; top: 50%; width: 1.7em; height: 1px;
  background: var(--gold); opacity: 0.55;
}
.eyebrow.flank::before { left: 0; }
.eyebrow.flank::after  { right: 0; }

.script { font-family: var(--script); color: var(--gold-deep); font-weight: 400; }

.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--brown); line-height: 1.6; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(64px, 11vw, 132px) 0; position: relative; }
.section--tight { padding: clamp(48px, 8vw, 90px) 0; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 620px; }

/* ---------- Ornaments ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: clamp(40px,7vw,70px) auto; max-width: 460px; }
.divider .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 60%, transparent); opacity: 0.5; }
.divider svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1.05em 2.4em;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #C5A36A 0%, #A87F45 52%, #8E6A35 100%);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, filter .35s;
  position: relative;
  text-shadow: 0 1px 1px rgba(80,55,20,0.25);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(154,116,55,0.55); filter: brightness(1.04); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--espresso); box-shadow: none;
  border: 1px solid var(--gold); text-shadow: none;
}
.btn--ghost:hover { background: rgba(182,143,82,0.08); box-shadow: none; }
.btn--lg { font-size: 1.3rem; padding: 1.15em 2.8em; }
.btn[disabled], .btn.is-disabled {
  background: linear-gradient(135deg,#d9cdb8,#c4b6a0);
  box-shadow: none; cursor: not-allowed; filter: grayscale(0.2); opacity: 0.75;
  text-shadow: none; transform: none;
}

.trust-micro { font-size: 0.86rem; color: var(--brown-soft); letter-spacing: 0.04em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Footer ---------- */
.foot { background: var(--espresso); color: #E9E0D4; padding: clamp(56px,8vw,80px) 0 clamp(44px,6vw,60px); text-align: center; }
.foot .logo-wht { width: 200px; margin: 0 auto 26px; opacity: .96; }
.foot-brand { margin-bottom: 22px; line-height: 1; }
.foot-logo { width: clamp(220px, 62vw, 300px); margin: 0 auto; height: auto; }
.foot-brand .ss { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; letter-spacing: 0.14em; color: #F3E9DA; }
.foot-brand .ss .amp { color: var(--gold-light); margin: 0 0.05em; }
.foot-brand .tag { font-family: var(--script); font-size: 1.55rem; color: var(--gold-light); display: block; margin-top: 2px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center; margin: 0 0 26px; }
.foot-links a { color: #E9E0D4; text-decoration: none; font-size: 0.92rem; letter-spacing: 0.05em; opacity: 0.85; transition: opacity .25s, color .25s; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.foot-links a:hover { opacity: 1; color: var(--gold-light); border-color: var(--gold-light); }
.foot-social { display: flex; justify-content: center; margin: 0 0 26px; }
.foot-social a { display: inline-flex; align-items: center; gap: 9px; color: #E9E0D4; text-decoration: none; font-size: 0.86rem; letter-spacing: 0.06em; border: 1px solid rgba(233,224,212,0.28); padding: 0.55em 1.15em; border-radius: 999px; transition: border-color .3s, color .3s, background .3s; }
.foot-social a:hover { color: var(--gold-light); border-color: var(--gold-light); background: rgba(216,193,154,0.08); }
.foot-social svg { width: 18px; height: 18px; }
.foot-legal { font-size: 0.7rem; color: rgba(233,224,212,0.46); max-width: 452px; margin: 38px auto 0; padding-top: 26px; line-height: 1.95; letter-spacing: 0.055em; text-wrap: balance; position: relative; }
.foot-legal::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); opacity: 0.55; }
.foot-legal--lp { max-width: 560px; }
.foot-legal--lp .fl-line { display: block; }
.foot-legal--lp .fl-meta { margin-top: 9px; font-size: 0.96em; letter-spacing: 0.1em; color: rgba(233,224,212,0.4); text-transform: uppercase; }
.foot-brandline { font-family: var(--script); font-size: 1.5rem; color: var(--gold-light); margin-top: 22px; }

/* ---------- Floral accents (CSS, decorative) ---------- */
.floral-corner { position: absolute; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply; z-index: 0; }
