/* =========================================================
   DigiInvite — Core Stylesheet
   Stationery-studio look: warm paper, ink, handwriting,
   washi tape, wax seals. Made by hand, sent with love.
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..800,100,1;1,9..144,300..800,100,1&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design tokens ---------- */
:root{
  /* paper */
  --bg: #F7F0E3;              /* page paper */
  --bg-soft: #EFE3CF;         /* deeper paper for alternating sections */
  --paper: #FFFCF5;           /* card stock */
  --kraft: #D9BC92;
  --kraft-deep: #C39F6E;
  --sticky: #FBE8A6;

  /* legacy surface tokens (used by page-local styles) — now solid paper */
  --surface: #FFFCF5;
  --surface-strong: #FFFDF8;
  --surface-border: rgba(59, 42, 33, 0.18);

  /* ink */
  --ink: #3B2A21;
  --ink-soft: #6F5C4E;
  --ink-faint: #A08E7E;

  /* colour */
  --accent: #C8553D;          /* terracotta rose */
  --accent-ink: #A23F2A;
  --accent-soft: #F4D6CA;
  --accent-2: #6F8456;        /* sage */
  --accent-2-soft: #DDE4CC;
  --mustard: #D9A441;
  --blush: #F6E2D9;

  --line: rgba(59, 42, 33, 0.14);

  /* hand-cut corners — slightly uneven on purpose */
  --radius-xl: 26px 34px 28px 38px / 34px 26px 38px 28px;
  --radius-lg: 18px 26px 20px 28px / 26px 18px 28px 20px;
  --radius-md: 12px 16px 13px 18px / 16px 12px 18px 13px;
  --radius-sm: 7px 9px 8px 10px / 9px 7px 10px 8px;
  --radius-pill: 999px;
  --wobble: 255px 18px 225px 18px / 18px 225px 18px 255px;

  /* soft, paper-on-table shadows */
  --shadow-sm: 0 1px 1px rgba(59,42,33,.06), 0 6px 14px -8px rgba(59,42,33,.28);
  --shadow-md: 0 2px 2px rgba(59,42,33,.06), 0 16px 30px -14px rgba(59,42,33,.35);
  --shadow-lg: 0 3px 3px rgba(59,42,33,.06), 0 28px 50px -20px rgba(59,42,33,.42);

  --blur-sm: none;
  --blur-md: none;
  --blur-lg: none;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Karla', 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;

  --ease: cubic-bezier(.22,1,.36,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
  --container: 1160px;

  /* reusable hand-drawn bits */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 18 2, 30 11, 47 6 S 78 1, 95 7 S 112 9, 118 4' fill='none' stroke='%23C8553D' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --squiggle-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 20 3, 34 10, 52 6 S 84 3, 100 7 S 114 8, 118 5' fill='none' stroke='%233B2A21' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3c-.4-.3-7.6-4.8-7.8-10.1-.1-2.6 1.8-4.6 4.1-4.5 1.6.1 2.9 1 3.7 2.4.8-1.5 2.2-2.5 3.9-2.5 2.3 0 4 2 3.8 4.6-.4 5.2-7.3 9.8-7.7 10.1Z' fill='%23C8553D'/%3E%3C/svg%3E");
  --hand-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60' preserveAspectRatio='none'%3E%3Cpath d='M46 6 C 22 2 5 13 6 31 C 7 48 28 56 47 53 C 66 50 77 38 73 23 C 69 10 54 4 34 9' fill='none' stroke='%23D9A441' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .12 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
*{ margin: 0; padding: 0; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  font-family: var(--font-sans);
  font-size: 1.04rem;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(246,226,217,.7), transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(221,228,204,.45), transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* paper grain over everything */
body::after{
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .32;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1000;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; }
ul{ list-style: none; }
input, textarea, select{ font: inherit; color: inherit; }
svg{ display: block; }
::selection{ background: var(--sticky); color: var(--ink); }

:focus-visible{
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

/* Respect reduced motion */


/* ---------- Scrollbar ---------- */
html{
  scrollbar-width: thin;
  scrollbar-color: var(--kraft-deep) var(--bg-soft);
}
::-webkit-scrollbar{ width: 12px; height: 12px; }
::-webkit-scrollbar-track{ background: var(--bg-soft); }
::-webkit-scrollbar-thumb{
  background: var(--kraft-deep);
  border-radius: var(--radius-pill);
  border: 3px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover{ background: var(--accent); }

/* ---------- Scroll progress — a stitched thread ---------- */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 16px);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 999;
}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section{ position: relative; }
.section-pad{ padding: 110px 0; }
@media (max-width: 780px){
  .section-pad{ padding: 76px 0; }
}

/* Alternating "deeper paper" section with scalloped edges */
.section-tint{
  background: var(--bg-soft);
  margin: 14px 0;
}
.section-tint::before,
.section-tint::after{
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background-image: radial-gradient(circle at 50% 100%, var(--bg-soft) 9px, transparent 9.5px);
  background-size: 22px 14px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.section-tint::before{ top: -13px; }
.section-tint::after{
  bottom: -13px;
  transform: scaleY(-1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4{
  font-family: var(--font-serif);
  font-weight: 560;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.eyebrow::before{
  content: '';
  width: 18px; height: 18px;
  background: var(--heart) center / contain no-repeat;
  flex: none;
}
.h-display{
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  font-weight: 520;
  margin-bottom: 22px;
}
.h-section{
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin-bottom: 16px;
}
.h-card{
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.lede{
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.accent-word{
  font-style: italic;
  font-weight: 480;
  color: var(--accent-ink);
  position: relative;
  white-space: nowrap;
  padding-bottom: .08em;
  background: var(--squiggle) left 100% / 100% .32em no-repeat;
}
.accent-underline{
  position: relative;
  display: inline-block;
}
.accent-underline svg{
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  width: 100%; height: 12px;
  color: var(--accent);
}

/* handwritten aside, e.g. "psst — it's free to ask" */
.hand-note{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ink-soft);
  transform: rotate(-3deg);
}
.hand-note svg{ color: var(--accent); flex: none; }

/* scattered doodles */
.doodle{
  position: absolute;
  pointer-events: none;
  color: var(--accent);
  z-index: 4;
}
.doodle-sage{ color: var(--accent-2); }
.doodle-gold{ color: var(--mustard); }
@keyframes bob{
  0%, 100%{ transform: translateY(0) rotate(var(--r, 0deg)); }
  50%{ transform: translateY(-6px) rotate(calc(var(--r, 0deg) + 6deg)); }
}
.doodle.bob{ animation: bob 5s ease-in-out infinite; }

.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head .lede{ margin: 0; }
@media (max-width: 780px){
  .section-head{ flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Buttons — hand-cut paper ---------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--wobble);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: .01em;
  border: 2px solid var(--ink);
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translate(-1px, -2px) rotate(-1deg); }
.btn:active{ transform: translate(1px, 1px); box-shadow: none; }
.btn:disabled{ opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary{
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 4px 0 var(--accent);
}
.btn-primary:hover{ box-shadow: 5px 6px 0 var(--accent); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover{
  background: var(--blush);
  color: var(--ink);
}
.btn-accent{
  background: var(--accent);
  border-color: var(--ink);
  color: #FFF8F0;
  box-shadow: 3px 4px 0 var(--ink);
}
.btn-accent:hover{
  background: var(--accent-ink);
  box-shadow: 5px 6px 0 var(--ink);
}
.btn-sm{ padding: 9px 20px; font-size: 0.88rem; border-width: 1.5px; }
.btn-sm.btn-primary, .btn-sm.btn-accent{ box-shadow: 2px 3px 0 var(--ink); }
.btn-sm.btn-primary{ box-shadow: 2px 3px 0 var(--accent); }
.btn-block{ width: 100%; }
[data-filter].active,
[data-price-tab].active,
[data-builder-cat].active{
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-color: var(--ink) !important;
  box-shadow: 2px 3px 0 var(--accent);
  transform: rotate(-1.5deg);
}

/* --- pricing category panels --- */
.price-panel{ display: none; scroll-margin-top: 130px; }
.price-panel.is-active{ display: block; }
#faq{ scroll-margin-top: 110px; }

/* ---------- Paper surfaces (formerly glass) ---------- */
.glass{
  background: var(--paper);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
}
.glass-strong{
  background: var(--paper);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
}

/* ---------- Watercolour washes (formerly blobs) ---------- */
.blob-field{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob{
  position: absolute;
  border-radius: 46% 54% 60% 40% / 48% 42% 58% 52%;
  opacity: .55;
  mix-blend-mode: multiply;
  filter: url(#watercolor);
  animation: drift 26s ease-in-out infinite;
}
.blob-1{
  width: 460px; height: 420px;
  top: -120px; left: -140px;
  background: radial-gradient(circle at 50% 50%, rgba(244,214,202,.85) 0 48%, rgba(222,150,128,.55) 60%, transparent 66%);
}
.blob-2{
  width: 420px; height: 400px;
  top: 110px; right: -170px;
  background: radial-gradient(circle at 50% 50%, rgba(221,228,204,.9) 0 48%, rgba(150,170,120,.5) 60%, transparent 66%);
  animation-duration: 32s;
}
.blob-3{
  width: 320px; height: 300px;
  bottom: -110px; left: 32%;
  background: radial-gradient(circle at 50% 50%, rgba(251,232,166,.85) 0 46%, rgba(217,164,65,.4) 58%, transparent 64%);
  animation-duration: 38s;
}
@keyframes drift{
  0%, 100%{ translate: 0 0; }
  50%{ translate: 18px -14px; }
}

/* =========================================================
   HEADER — a strip of paper with a stitched edge
   ========================================================= */
.site-header{
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 900;
  padding: 16px 20px;
  transition: background .4s ease, padding .4s var(--ease), box-shadow .4s ease;
}
.site-header::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(200,85,61,.45) 0 9px, transparent 9px 16px);
  opacity: 0;
  transition: opacity .4s ease;
}
.site-header.is-scrolled{
  padding: 8px 20px 14px;
  background: rgba(247, 240, 227, 0.96);
  box-shadow: 0 10px 24px -20px rgba(59,42,33,.5);
}
.site-header.is-scrolled::after{ opacity: 1; }
.nav-shell{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 8px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 560;
  line-height: 1;
  color: var(--ink);
  position: relative;
}
.brand-mark{
  position: relative;
  width: 44px; height: 44px;
  flex: none;
  /* the PNG (assets/img/brand/) already carries the tilt and the soft shadow */
  transition: transform .5s var(--bounce);
}
.brand:hover .brand-mark{ transform: rotate(14deg) scale(1.06); }
.brand-mark img, .brand-mark svg{ width: 100%; height: 100%; display:block; }
.brand small{
  display: block;
  font-family: var(--font-hand);
  font-style: normal;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 3px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a{
  position: relative;
  padding: 10px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .25s ease;
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 7px;
  background: var(--squiggle) center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--ink); }

/* Pricing link as a little gift tag */
.nav-links a.nav-pricing{
  margin-left: 8px;
  padding: 9px 18px 9px 26px;
  color: #FFF8F0;
  background: var(--accent);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
  transform: rotate(-3deg);
  transition: transform .35s var(--bounce), background .25s ease;
}
.nav-links a.nav-pricing::before{
  content: '';
  position: absolute;
  left: 11px; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--bg);
}
.nav-links a.nav-pricing::after{ display: none; }
.nav-links a.nav-pricing:hover{ background: var(--accent-ink); color: #fff; transform: rotate(2deg); }

.nav-cta{ display: flex; align-items: center; gap: 10px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--wobble);
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span::before{ position: absolute; top: -6px; width: 14px; }
.nav-toggle span::after{ position: absolute; top: 6px; width: 16px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ width: 18px; transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after{ width: 18px; transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px){
  .nav-links{
    position: fixed;
    top: 84px; left: 20px; right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px 18px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px) rotate(-1deg);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s var(--bounce), opacity .3s ease, visibility .3s;
  }
  .nav-links.is-open{
    transform: translateY(0) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a{ text-align: center; padding: 12px; font-size: 1.05rem; }
  .nav-links a::after{ left: 35%; right: 35%; }
  .nav-links a.nav-pricing{ margin: 8px auto 0; padding: 12px 30px 12px 38px; }
  .nav-cta .btn-ghost{ display: none; }
  .nav-toggle{ display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .hero{ padding: 124px 0 70px; }
  .hero-visual{ height: 400px; }
  .invite-card-chip{ right: 0; }
  .hero-trust{ gap: 18px; }
}
.hero-copy .lede{ margin-bottom: 34px; }
.hero-actions{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-trust{
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 2px dashed var(--line);
  max-width: 520px;
}
.hero-trust div{ display: flex; flex-direction: column; }
.hero-trust strong{
  font-family: var(--font-hand);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-ink);
}
.hero-trust div:nth-child(2) strong{ color: var(--accent-2); }
.hero-trust div:nth-child(3) strong{ color: var(--mustard); }
.hero-trust span{ font-size: 0.86rem; color: var(--ink-soft); }

/* --- hero visual: a card resting on its envelope --- */
.hero-visual{
  position: relative;
  height: 540px;
}
.invite-card{
  position: absolute;
  width: min(290px, 74vw);
  border-radius: 4px;
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-lg);
}
.invite-card-main{
  top: 30px; left: 50%;
  transform: translateX(-58%) rotate(-4deg);
  background: var(--paper);
  border: none;
  outline: 1px solid rgba(200,85,61,.45);
  outline-offset: -11px;
  text-align: center;
  z-index: 3;
  transition: transform .6s var(--bounce);
}
.hero-visual:hover .invite-card-main{ transform: translateX(-58%) translateY(-10px) rotate(-2deg); }
.invite-card-main::before{
  /* washi tape */
  content: '';
  position: absolute;
  top: -13px; left: 50%;
  width: 96px; height: 26px;
  margin-left: -48px;
  background: repeating-linear-gradient(-45deg, rgba(221,228,204,.92) 0 7px, rgba(200,214,178,.92) 7px 14px);
  transform: rotate(3deg);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 100% 0, 96% 90%, 100% 100%, 0 100%, 4% 90%);
  box-shadow: 0 1px 2px rgba(59,42,33,.12);
}
.invite-card-back{
  /* kraft envelope */
  top: 190px; left: 50%;
  width: min(340px, 84vw);
  height: 230px;
  padding: 0;
  transform: translateX(-46%) rotate(5deg);
  background: var(--kraft);
  background-image: var(--grain), linear-gradient(160deg, #E2C8A1, var(--kraft));
  border-radius: 5px;
  z-index: 1;
  overflow: hidden;
}
.invite-card-back::before{
  /* envelope flap */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 62%;
  background: var(--kraft-deep);
  background-image: linear-gradient(180deg, #C9A877, var(--kraft-deep));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: inset 0 -1px 0 rgba(59,42,33,.2);
}
.invite-card-back::after{
  /* wax seal */
  content: '♥';
  position: absolute;
  top: 62%; left: 50%;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  display: grid;
  place-items: center;
  color: rgba(255,240,230,.75);
  font-size: 18px;
  border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
  background: radial-gradient(circle at 38% 34%, #D9705A, var(--accent-ink) 70%);
  box-shadow: 0 0 0 4px rgba(162,63,42,.35), 0 3px 6px rgba(59,42,33,.35);
}
.invite-card-chip{
  /* sticky note */
  position: absolute;
  bottom: 30px; right: -6px;
  padding: 16px 18px 18px;
  width: 168px;
  background: var(--sticky);
  color: var(--ink);
  z-index: 4;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.05;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transform: rotate(6deg);
  box-shadow: 0 12px 18px -10px rgba(59,42,33,.45);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 90% 100%, 0 100%);
}
.invite-card-chip .dot{
  flex: none;
  width: 16px; height: 16px;
  margin-top: 3px;
  background: var(--heart) center / contain no-repeat;
}
.invite-card .tag{
  display: block;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.invite-card h4{
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 460;
  margin-bottom: 10px;
}
.invite-card p{ font-size: 0.9rem; color: var(--ink-soft); }
.invite-card .sprig{ margin: 0 auto 12px; color: var(--accent-2); }
.invite-card .rsvp{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--wobble);
  color: var(--ink);
}

.scroll-cue{
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--ink-faint);
  z-index: 2;
}
.scroll-cue .line{
  width: 2px; height: 34px;
  background: repeating-linear-gradient(180deg, var(--ink-faint) 0 4px, transparent 4px 8px);
  overflow: hidden;
  position: relative;
}
.scroll-cue .line::after{
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 40%;
  background: var(--accent);
  border-radius: 2px;
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop{
  0%{ top: -40%; }
  70%{ top: 100%; }
  100%{ top: 100%; }
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in-view{ opacity: 1; transform: translateY(0); }
[data-reveal="fade"]{ transform: none; }
[data-reveal="left"]{ transform: translateX(-36px); }
[data-reveal="left"].in-view{ transform: translateX(0); }
[data-reveal="right"]{ transform: translateX(36px); }
[data-reveal="right"].in-view{ transform: translateX(0); }
[data-reveal="scale"]{ transform: scale(.94) rotate(-2deg); }
[data-reveal="scale"].in-view{ transform: none; }

[data-reveal-group] [data-reveal]{ transition-delay: calc(var(--i, 0) * 110ms); }

[data-parallax]{ will-change: transform; }

/* =========================================================
   Shared section components
   ========================================================= */

/* --- Ribbon strip (formerly marquee) --- */
.marquee{
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 16px 0;
  margin: 0 -20px;
  background: var(--accent);
  transform: rotate(-1.4deg);
  box-shadow: 0 10px 20px -14px rgba(59,42,33,.6);
}
.marquee::before,
.marquee::after{
  /* stitching along the ribbon */
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,248,240,.6) 0 8px, transparent 8px 14px);
}
.marquee::before{ top: 6px; }
.marquee::after{ bottom: 6px; }
.marquee-track{
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span{
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  color: #FFF8F0;
  white-space: nowrap;
}
.marquee-track span::after{
  content: '♥';
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--sticky);
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* --- process steps — index cards pinned with tape --- */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 980px){ .steps{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }
.step-card{
  position: relative;
  padding: 32px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--bounce), box-shadow .5s var(--ease);
}
.steps .step-card{ transform: rotate(var(--tilt, 0deg)); }
.steps .step-card:nth-child(4n+1){ --tilt: -1.4deg; }
.steps .step-card:nth-child(4n+2){ --tilt: 1deg; }
.steps .step-card:nth-child(4n+3){ --tilt: -.6deg; }
.steps .step-card:nth-child(4n+4){ --tilt: 1.6deg; }
.steps .step-card.in-view{ transform: rotate(var(--tilt, 0deg)); }
.steps .step-card::before{
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  width: 78px; height: 24px;
  margin-left: -39px;
  background: rgba(244,214,202,.88);
  transform: rotate(-4deg);
  clip-path: polygon(0 10%, 5% 0, 10% 12%, 15% 0, 100% 0, 95% 88%, 100% 100%, 0 100%, 5% 88%);
  box-shadow: 0 1px 2px rgba(59,42,33,.1);
}
.steps .step-card:nth-child(even)::before{ background: rgba(251,232,166,.9); transform: rotate(5deg); }
.steps .step-card:nth-child(3n)::before{ background: rgba(221,228,204,.92); }
.step-card:hover,
.steps .step-card:hover{
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-md);
}
.step-num{
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  padding: 8px 16px 10px;
  margin: -6px 0 12px -10px;
  background: var(--hand-circle) center / 100% 100% no-repeat;
}
.step-card p{ color: var(--ink-soft); font-size: 0.96rem; }

/* --- work / gallery — polaroids --- */
.work-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 34px;
}
@media (max-width: 980px){ .work-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .work-grid{ grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

.work-card{
  position: relative;
  padding: 14px 14px 74px;
  background: var(--paper);
  border-radius: 3px;
  box-shadow: var(--shadow-md);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--bounce), box-shadow .5s var(--ease);
}
.work-card:nth-child(3n+1){ --tilt: -2deg; }
.work-card:nth-child(3n+2){ --tilt: 1.4deg; }
.work-card:nth-child(3n+3){ --tilt: -.8deg; }
.work-card.in-view{ transform: rotate(var(--tilt, 0deg)); }
.work-card:hover{
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.work-card::before{
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  width: 90px; height: 26px;
  margin-left: -45px;
  z-index: 3;
  background: repeating-linear-gradient(90deg, rgba(244,214,202,.9) 0 6px, rgba(236,196,182,.9) 6px 12px);
  transform: rotate(-3deg);
  clip-path: polygon(0 10%, 5% 0, 10% 12%, 15% 0, 100% 0, 95% 88%, 100% 100%, 0 100%, 5% 88%);
}
.work-card:nth-child(even)::before{
  background: repeating-linear-gradient(90deg, rgba(221,228,204,.92) 0 6px, rgba(204,216,184,.92) 6px 12px);
  transform: rotate(4deg);
}
.work-card .swatch{
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
}
a.work-card{ display: block; color: inherit; }
.work-card .shot{
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: var(--bg-soft);
}
.work-card .shot img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .8s var(--ease);
}
.work-card:hover .shot img{ transform: scale(1.04); }
.work-card .overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 18px;
  color: var(--ink);
}
.work-card .cat{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-card h4{
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--ink);
}
.work-card .icon{
  position: absolute; bottom: 22px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transform: scale(.8) rotate(-20deg);
  opacity: 0;
  transition: opacity .3s ease, transform .4s var(--bounce);
}
.work-card:hover .icon{ opacity: 1; transform: scale(1) rotate(0); }

/* swatch backgrounds — a flat-lay: a little invitation resting on coloured paper */
.swatch{ position: relative; }
.swatch::after{
  content: '';
  position: absolute;
  inset: 19% 24%;
  background: #FFFBF3;
  border-radius: 2px;
  outline: 1px solid var(--sw-line, rgba(200,85,61,.5));
  outline-offset: -7px;
  box-shadow: 0 10px 18px -8px rgba(59,42,33,.45);
  transform: rotate(var(--sw-tilt, -3deg));
  transition: transform .6s var(--bounce);
}
.work-card:hover .swatch::after,
.masonry-item:hover .swatch::after{ transform: rotate(0deg) scale(1.04); }
.swatch::before{
  /* a little flourish printed on the card */
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  width: 28%; height: 10%;
  transform: translate(-50%, -50%) rotate(var(--sw-tilt, -3deg));
  background: var(--squiggle) center / 100% 60% no-repeat;
  opacity: .8;
}
.sw-1{ --sw-line: rgba(200,85,61,.55); background: #E7A891 radial-gradient(rgba(255,255,255,.28) 1.5px, transparent 2px) 0 0 / 16px 16px; }
.sw-2{ --sw-line: rgba(111,132,86,.6); --sw-tilt: 2deg; background: #B9C59F repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 6px, transparent 6px 14px); }
.sw-3{ --sw-line: rgba(195,159,110,.7); --sw-tilt: -1deg; background: #E8D0B0 radial-gradient(rgba(195,159,110,.35) 1.5px, transparent 2px) 0 0 / 14px 14px; }
.sw-4{ --sw-line: rgba(140,94,135,.55); --sw-tilt: 3deg; background: #CDB0C8 repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 2px, transparent 2px 12px); }
.sw-5{ --sw-line: rgba(80,124,130,.55); --sw-tilt: -2deg; background: #A9C4C6 radial-gradient(rgba(255,255,255,.3) 1.5px, transparent 2px) 0 0 / 18px 18px; }
.sw-6{ --sw-line: rgba(183,91,91,.55); --sw-tilt: 1.5deg; background: #DDA9A4 repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 5px, transparent 5px 13px); }
.sw-7{ --sw-line: rgba(130,140,70,.6); --sw-tilt: -3deg; background: #C8CD9E radial-gradient(rgba(255,255,255,.28) 1.5px, transparent 2px) 0 0 / 15px 15px; }
.sw-8{ --sw-line: rgba(169,134,63,.65); --sw-tilt: 2.5deg; background: #E3C98F repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 3px, transparent 3px 14px); }
.sw-9{ --sw-line: rgba(90,127,166,.55); --sw-tilt: -1.5deg; background: #B3C3D6 radial-gradient(rgba(255,255,255,.3) 1.5px, transparent 2px) 0 0 / 16px 16px; }

/* --- pricing cards — paper tags --- */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr); /* --cols = number of plans, set by pricing.php */
  gap: 30px;
  align-items: stretch;
}
.pricing-grid[style*="--cols:4"]{ gap: 20px; }
.pricing-grid[style*="--cols:4"] .price-card{ padding-left: 24px; padding-right: 24px; }
@media (max-width: 1200px){ .pricing-grid[style*="--cols:4"]{ grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; } }
@media (max-width: 980px){ .pricing-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .pricing-grid[style*="--cols:4"]{ grid-template-columns: 1fr; max-width: 460px; } }

.price-card{
  position: relative;
  padding: 42px 32px 34px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--bounce), box-shadow .5s var(--ease);
}
.price-card:hover{ transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-md); }
.price-card.featured{
  background: var(--blush);
  color: var(--ink);
  border: 1px solid rgba(200,85,61,.35);
  outline: 1.5px dashed rgba(200,85,61,.45);
  outline-offset: -12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1deg) translateY(-8px);
}
.price-card.featured:hover{ transform: rotate(0deg) translateY(-12px); }
.price-card.featured .price-tier-desc,
.price-card.featured .price-note{ color: var(--ink-soft); }
.price-card.featured .price-list li{ border-color: rgba(200,85,61,.2); }
.price-card.featured .price-amount{ color: var(--ink); }
@media (max-width: 980px){ .price-card.featured{ transform: none; } }

/* rubber stamp */
.price-badge{
  position: absolute;
  top: -20px; right: 18px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--paper);
  border: 2px solid var(--accent-ink);
  outline: 1px solid var(--accent-ink);
  outline-offset: 2px;
  border-radius: 4px;
  transform: rotate(7deg);
  box-shadow: var(--shadow-sm);
}
.price-tier{
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.price-tier-desc{ font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 22px; }
.price-amount{
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 2.6rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-amount sup{ font-size: 1rem; font-family: var(--font-sans); font-weight: 700; }
.price-amount .per{ font-size: 0.9rem; font-family: var(--font-sans); color: var(--ink-soft); font-weight: 500; }
.price-note{
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 22px;
}
.price-list{ margin-bottom: 30px; flex: 1; }
.price-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1.5px dashed var(--line);
  font-size: 0.95rem;
}
.price-list li:first-child{ border-top: none; }
.price-list li svg{ flex: none; margin-top: 4px; color: var(--accent-2); }
.price-card.featured .price-list li svg{ color: var(--accent); }
.price-list li.price-list-inherit{
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--accent-ink);
  padding-bottom: 6px;
}
.price-list li.price-list-inherit strong{ font-weight: 600; }
.price-card.featured .price-list li.price-list-inherit{ color: var(--accent-ink); }

/* --- testimonials — little letters on lined paper --- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 980px){ .testi-grid{ grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.testi-card{
  position: relative;
  padding: 30px 28px 26px 44px;
  border-radius: 3px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 30px, rgba(200,85,61,.35) 30px, rgba(200,85,61,.35) 31.5px, transparent 31.5px),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(111,132,86,.2) 31px 32px);
  background-position: 0 0, 0 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--bounce);
}
.testi-card:nth-child(1){ --tilt: -1.5deg; }
.testi-card:nth-child(2){ --tilt: 1deg; margin-top: 18px; }
.testi-card:nth-child(3){ --tilt: -.5deg; }
.testi-card.in-view{ transform: rotate(var(--tilt, 0deg)); }
.testi-card:hover{ transform: rotate(0) translateY(-4px); }
.testi-card::after{
  /* paper clip */
  content: '';
  position: absolute;
  top: -14px; right: 26px;
  width: 14px; height: 40px;
  border: 2.5px solid #9AA0A6;
  border-radius: 8px;
  transform: rotate(8deg);
}
.testi-stars{ color: var(--mustard); font-size: 1rem; margin-bottom: 8px; letter-spacing: 3px; }
.testi-card p{
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 32px;
  color: var(--ink);
  margin-bottom: 20px;
}
.testi-who{ display: flex; align-items: center; gap: 12px; }
.testi-avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  flex: none;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.testi-who strong{ display: block; font-size: 0.95rem; }
.testi-who span{ font-size: 0.82rem; color: var(--ink-soft); }

/* --- CTA band — an envelope with a wax seal --- */
.cta-band{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 130px 60px 64px;
  border-radius: 6px;
  color: var(--ink);
  background-color: var(--kraft);
  background-image: var(--grain), linear-gradient(170deg, #E6CDA8, var(--kraft));
  box-shadow: var(--shadow-lg);
}
.cta-band::before{
  /* the flap */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 96px;
  background: linear-gradient(180deg, #CBAA79, var(--kraft-deep));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 2px 0 rgba(59,42,33,.15));
}
.cta-band::after{
  /* wax seal */
  content: '♥';
  position: absolute;
  top: 96px; left: 50%;
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: rgba(255,240,230,.8);
  border-radius: 47% 53% 45% 55% / 53% 45% 55% 47%;
  background: radial-gradient(circle at 36% 32%, #DC765F, var(--accent-ink) 70%);
  box-shadow: 0 0 0 5px rgba(162,63,42,.32), 0 4px 8px rgba(59,42,33,.35);
}
.cta-band h2{ color: var(--ink); margin-bottom: 10px; }
.cta-band p{ color: #5E4A3B; max-width: 46ch; }
.cta-band-actions{ display: flex; gap: 14px; flex-wrap: wrap; flex: none; }
.cta-band .btn-ghost{ background: rgba(255,252,245,.55); }
.cta-band .btn-ghost:hover{ background: var(--paper); }
.cta-band .blob-field{ display: none; }
@media (max-width: 820px){
  .cta-band{ flex-direction: column; align-items: flex-start; padding: 120px 28px 44px; }
  .cta-band::before{ height: 76px; }
  .cta-band::after{ top: 76px; }
}

/* --- feature scrapbook --- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px){ .feature-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .feature-grid{ grid-template-columns: 1fr; } }
.feature-card{
  position: relative;
  padding: 28px 26px 26px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--bounce), box-shadow .5s var(--ease);
}
.feature-card:nth-child(odd){ border-radius: 26px 16px 30px 18px / 18px 28px 16px 30px; }
.feature-card:hover{ transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.feature-card h3{ font-size: 1.28rem; margin-bottom: 8px; }
.feature-card p{ color: var(--ink-soft); font-size: 0.96rem; }
.feature-icon{
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 16px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%;
  transform: rotate(-6deg);
}
.feature-card:nth-child(3n+2) .feature-icon{ color: #4F6439; background: var(--accent-2-soft); border-radius: 55% 45% 58% 42% / 44% 56% 45% 55%; }
.feature-card:nth-child(3n+3) .feature-icon{ color: #8A6420; background: #F6E5BC; transform: rotate(5deg); }

/* --- comparison on notebook paper --- */
.compare-note{
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 26px 18px;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(180deg, transparent 0 51px, rgba(111,132,86,.16) 51px 52px);
  background-position: 0 66px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  transform: rotate(-.4deg);
  overflow-x: auto;
}
.compare-note table{ width: 100%; min-width: 560px; border-collapse: collapse; }
.compare-note th{
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink-soft);
  padding: 4px 10px 14px;
  text-align: center;
}
.compare-note td{
  height: 52px;
  padding: 0 10px;
  font-size: 0.98rem;
  text-align: center;
}
.compare-note td:first-child{ text-align: left; font-weight: 600; color: var(--ink); }
.compare-note td svg{ margin: 0 auto; }
.compare-note .yes{ color: var(--accent-2); }
.compare-note .no{ color: rgba(162,63,42,.55); }
.compare-note .meh{ color: var(--ink-faint); }
.compare-note th.is-us{ color: var(--accent); font-size: 1.7rem; }
.compare-note .is-us{ position: relative; }
/* our column, highlighted like a marker swipe */
.compare-note .is-us{ background: rgba(244,214,202,.45); color: var(--accent); }
.compare-note th.is-us{ border-radius: 14px 18px 0 0; }
.compare-note tbody tr:last-child td.is-us{ border-radius: 0 0 18px 14px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  position: relative;
  margin-top: 140px;
  padding-top: 80px;
  background: var(--bg-soft);
}
.site-footer::before{
  content: '';
  position: absolute;
  left: 0; right: 0; top: -13px;
  height: 14px;
  background-image: radial-gradient(circle at 50% 100%, var(--bg-soft) 9px, transparent 9.5px);
  background-size: 22px 14px;
  background-repeat: repeat-x;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}
@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand p{ color: var(--ink-soft); font-size: 0.95rem; max-width: 32ch; margin-bottom: 20px; }
.footer-social{ display: flex; gap: 10px; }
.footer-social a{
  width: 40px; height: 40px;
  border-radius: var(--wobble);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  transition: transform .35s var(--bounce), background .25s ease, color .25s ease;
}
.footer-social a:nth-child(2){ transform: rotate(4deg); }
.footer-social a:hover{ transform: translateY(-3px) rotate(-6deg); background: var(--accent); color: #fff; }
.footer-col h5{
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col ul li{ margin-bottom: 11px; }
.footer-col ul li a{
  font-size: 0.97rem;
  color: var(--ink-soft);
  background: var(--squiggle-ink) left bottom / 0 5px no-repeat;
  padding-bottom: 3px;
  transition: color .25s ease, background-size .35s var(--ease);
}
.footer-col ul li a:hover{ color: var(--ink); background-size: 100% 5px; }
.footer-col ul li a.link-pricing{
  color: var(--accent-ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-newsletter form{
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.footer-newsletter input{
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: var(--wobble);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 0.92rem;
}
.footer-newsletter input:focus{ outline: 2px dashed var(--accent); outline-offset: 2px; }
.footer-love{
  display: flex;
  justify-content: center;
  padding: 10px 0 26px;
}
.footer-love .hand-note{ font-size: 1.6rem; color: var(--ink); }
.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 2px dashed var(--line);
  font-size: 0.86rem;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.footer-bottom-links{ display: flex; gap: 18px; }
.footer-bottom-links a:hover{ color: var(--ink); }

/* =========================================================
   Generic page header (about/contact/work/gallery/pricing)
   ========================================================= */
.page-hero{
  padding: 170px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .wrap{ position: relative; z-index: 2; }
.page-hero .h-display{ margin: 0 auto 18px; max-width: 20ch; }
.page-hero .lede{ margin: 0 auto; text-align: center; }
.page-hero .eyebrow{ transform-origin: center; }
@media (max-width: 640px){
  .page-hero{ padding: 130px 0 56px; }
}

/* Breadcrumb */
.crumb{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.crumb .accent-word{
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  color: var(--accent-ink);
  background: none;
}

/* =========================================================
   Forms (shared look for every input on the site)
   ========================================================= */
.form-field input, .form-field select, .form-field textarea,
.lookup-form input, .add-guest-form input, .add-guest-form select{
  background: var(--paper) !important;
  border: 1.5px solid rgba(59,42,33,.28) !important;
  border-radius: var(--radius-md) !important;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.lookup-form input:focus, .add-guest-form input:focus, .add-guest-form select:focus{
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px var(--accent-soft) !important;
}
.form-field label, .add-guest-form label{
  font-family: var(--font-hand);
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
}

/* =========================================================
   Utility
   ========================================================= */
.text-center{ text-align: center; }
.mx-auto{ margin-left: auto; margin-right: auto; }
.mt-lg{ margin-top: 80px; }
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 820px){ .grid-2{ grid-template-columns: 1fr; } }

/* Responsive padding for large paper cards (contact form, quote box, etc.) */
.pad-lg{ padding: 44px; }
@media (max-width: 640px){ .pad-lg{ padding: 26px 20px; } }
@media (max-width: 400px){ .pad-lg{ padding: 22px 16px; } }

/* Tighten section/global spacing further on small phones */
@media (max-width: 480px){
  .wrap{ padding: 0 18px; }
  .section-pad{ padding: 64px 0; }
  .mt-lg{ margin-top: 56px; }
  .marquee-track span{ font-size: 1.45rem; }
}

/* =========================================================
   MOBILE: no sideways wobble + lighter effects for phones
   ========================================================= */
/* clip at the root as well — on phones body{overflow-x:hidden} alone doesn't stop sideways scrolling */
html, body{ overflow-x: hidden; }
@supports (overflow: clip){ html, body{ overflow-x: clip; } }
.marquee{ margin-left: 0; margin-right: 0; }

/* Phones & tablets: the full-screen blended grain, fixed background, SVG-filtered
   watercolour blobs and their animation are the expensive bits — swap for cheap equivalents. */
@media (max-width: 900px), (hover: none){
  body{ background-attachment: scroll; }
  body::after{ display: none; }
  body{ background-color: #FAF4EA; background-image: radial-gradient(ellipse at 15% 0%, rgba(246,226,217,.55), transparent 55%), radial-gradient(ellipse at 90% 30%, rgba(221,228,204,.35), transparent 50%); }
  .blob{ filter: blur(18px); animation: none; mix-blend-mode: normal; opacity: .45; will-change: auto; }
  [data-parallax]{ will-change: auto; transform: none !important; }
  .doodle.bob{ animation: none; }
  .site-header.is-scrolled{ box-shadow: none; }
}
/* homepage polaroids: a "photo" of the invite on a phone, styled on a backdrop in the design's own colours */
.work-card .shot{
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--sw3, #E7A891) 55%, transparent) 0 22%, transparent 23%),
    radial-gradient(circle at 18% 86%, color-mix(in srgb, var(--sw2, #C98B86) 40%, transparent) 0 26%, transparent 27%),
    linear-gradient(150deg, color-mix(in srgb, var(--sw1, #F3ECE1) 70%, #fff), color-mix(in srgb, var(--sw2, #C98B86) 35%, var(--sw1, #F3ECE1)));
}
.work-card .shot::after{ content:''; position:absolute; inset:0; background-image: var(--grain); opacity: .25; mix-blend-mode: multiply; pointer-events:none; }
.work-card .shot-phone{
  position: relative; z-index: 1; height: 86%; aspect-ratio: 390 / 844; padding: 5px; border-radius: 22px;
  background: #241B16; box-shadow: 0 18px 26px -14px rgba(36,27,22,.6), 0 2px 4px rgba(36,27,22,.25);
  transform: rotate(-5deg); transition: transform .6s var(--bounce);
}
.work-card:nth-child(even) .shot-phone{ transform: rotate(4deg); }
.work-card:hover .shot-phone{ transform: rotate(0) translateY(-4px) scale(1.03); }
.work-card .shot-phone img{ width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; display:block; }
.work-card:hover .shot img{ transform: none; }
.work-card .shot-phone{ height: auto; width: 41%; }

/* =========================================================
   Floating WhatsApp seal + question note (includes/whatsapp-float.php)
   ========================================================= */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 940;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--font-sans);
}
.wa-seal{
  position: relative; width: 66px; height: 66px; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(1px 3px 2px rgba(59,42,33,.32)) drop-shadow(0 10px 14px rgba(59,42,33,.18));
  transform: rotate(-8deg); transition: transform .5s var(--bounce);
  animation: waNudge 7s ease-in-out 3s infinite;
}
.wa-seal:hover, .wa-float.is-open .wa-seal{ transform: rotate(10deg) scale(1.07); animation: none; }
.wa-seal:focus-visible{ outline: 3px dashed var(--accent); outline-offset: 4px; border-radius: 50%; }
.wa-wax{ position:absolute; inset:0; width:100%; height:100%; }
.wa-icon{ position:absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; transform: rotate(8deg); } /* room inside the dotted ring */
.wa-dot{ /* a little WhatsApp-green dot so it reads as "chat" at a glance */
  position:absolute; right: 7px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: #25D366; box-shadow: 0 0 0 2.5px var(--paper);
}
@keyframes waNudge{ 0%, 88%, 100%{ transform: rotate(-8deg); } 91%{ transform: rotate(4deg); } 94%{ transform: rotate(-12deg); } 97%{ transform: rotate(-4deg); } }

.wa-tag{ /* handwritten "ask us!" beside the seal */
  position: absolute; right: 74px; bottom: 18px; white-space: nowrap; pointer-events: none;
  font-family: var(--font-hand); font-size: 1.35rem; line-height: 1; color: var(--accent-ink);
  transform: rotate(-6deg); transition: opacity .3s ease, transform .3s ease;
}
.wa-tag::after{ /* little hand-drawn arrow */
  content: ''; display: inline-block; width: 18px; height: 10px; margin-left: 4px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M1 6c4-3 9-3 14-1M12 2l3 3-4 2' fill='none' stroke='%23A23F2A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.wa-float.is-open .wa-tag{ opacity: 0; transform: rotate(-6deg) translateX(8px); }

.wa-menu{
  position: absolute; right: -4px; bottom: 100%; width: 286px; padding-bottom: 16px; /* padding = hover bridge */
  opacity: 0; visibility: hidden; transform: translateY(10px) rotate(1.5deg); transform-origin: 90% 100%;
  transition: opacity .25s ease, transform .35s var(--bounce), visibility 0s .25s;
}
.wa-menu::before{ /* the paper note */
  content: ''; position: absolute; inset: 0 0 16px 0; z-index: -1;
  background: var(--paper); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.wa-menu::after{ /* washi tape */
  content: ''; position: absolute; top: -10px; left: 50%; width: 92px; height: 22px; margin-left: -46px;
  background: rgba(221,228,204,.92); transform: rotate(-3deg);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px));
          mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px));
}
.wa-float.is-open .wa-menu{ opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover){
  .wa-float:hover .wa-menu{ opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .wa-float:hover .wa-tag{ opacity: 0; }
}
.wa-head{
  margin: 0; padding: 20px 20px 8px;
  font-family: var(--font-hand); font-size: 1.6rem; line-height: 1; color: var(--ink);
}
.wa-head small{ display:block; margin-top: 6px; font-family: var(--font-sans); font-size: .78rem; line-height: 1.35; color: var(--ink-faint); }
.wa-picks{
  margin: 4px 16px 6px; padding: 8px 10px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem; line-height: 1.35;
}
.wa-list{ list-style: none; margin: 0; padding: 4px 10px 6px; }
.wa-list a{
  position: relative; display: block; padding: 10px 12px 10px 30px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.3;
  transition: background .2s ease, transform .2s var(--bounce);
}
.wa-list a::before{ /* a tiny speech bubble */
  content: ''; position: absolute; left: 10px; top: 13px; width: 12px; height: 10px; border-radius: 6px 6px 6px 1px;
  background: var(--accent-2); opacity: .75;
}
.wa-list a:hover, .wa-list a:focus-visible{ background: var(--blush); transform: translateX(3px); outline: none; }
.wa-list li + li a{ border-top: 1px dashed var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.wa-list li + li a:hover{ border-top-color: transparent; }
.wa-hello{
  display: block; margin: 0 20px 18px; padding-top: 8px;
  font-family: var(--font-hand); font-size: 1.25rem; color: var(--accent); text-decoration: none;
}
.wa-hello:hover{ color: var(--accent-ink); }

@media (max-width: 700px){
  .wa-float{ right: 14px; bottom: 14px; }
  .wa-seal{ width: 62px; height: 62px; }
  .wa-icon{ width: 22px; height: 22px; margin: -11px 0 0 -11px; } /* was 27px in a 37px ring: too cramped on phones */
  .wa-tag{ display: none; }
  .wa-menu{ width: min(300px, calc(100vw - 28px)); right: 0; }
  body.has-picks .wa-float{ bottom: 92px; } /* sit above the Design Library picks tray */
}

/* =========================================================
   "Your invitation" build (assets/js/build.js): step bar, header button, chosen state
   ========================================================= */
.build-steps{
  position: relative; display:flex; align-items:center; gap: 14px 22px; flex-wrap: wrap;
  margin: 0 auto 34px; padding: 16px 20px 16px 22px; max-width: var(--container);
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  outline: 1.5px dashed rgba(59,42,33,.18); outline-offset: -7px;
}
.build-title{ font-family: var(--font-hand); font-size: 1.45rem; color: var(--accent); line-height: 1; transform: rotate(-3deg); }
.build-steps ol{ list-style:none; margin:0; padding:0; display:flex; gap: 6px; flex: 1 1 auto; flex-wrap: wrap; }
.build-steps li{ position: relative; }
.build-steps li + li::before{ /* little stitched connector */
  content:''; position:absolute; left:-6px; top: 50%; width: 6px; border-top: 1.5px dashed rgba(59,42,33,.25);
}
.build-steps a{ display:flex; align-items:center; gap: 9px; padding: 7px 12px 7px 8px; border-radius: 999px; text-decoration:none; color: var(--ink); transition: background .2s ease; }
.build-steps a:hover{ background: var(--blush); }
.bs-dot{
  display:grid; place-items:center; width: 28px; height: 28px; flex:none; border-radius: 50%;
  border: 1.5px solid rgba(59,42,33,.3); font: 700 .82rem/1 var(--font-sans); color: var(--ink-soft); background: var(--bg);
}
.bs-text{ display:flex; flex-direction:column; line-height: 1.15; }
.bs-text b{ font-size: .9rem; font-weight: 700; }
.bs-text small{ font-size: .76rem; color: var(--ink-faint); max-width: 13em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.build-steps li.is-done .bs-dot{ background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.build-steps li.is-done small{ color: var(--accent-2); font-weight: 600; }
.build-steps li.is-current a{ background: var(--blush); box-shadow: inset 0 0 0 1.5px var(--accent); }
.build-steps li.is-current .bs-dot{ border-color: var(--accent); color: var(--accent-ink); }
.build-steps li.is-skipped{ opacity: .55; }
.build-steps li.is-skipped .bs-dot{ border-style: dashed; }
.build-next{
  margin-left:auto; display:inline-flex; align-items:center; padding: 11px 18px; white-space: nowrap;
  background: var(--accent); color: #FFF8F0 !important; font-weight: 700; font-size: .92rem; text-decoration:none;
  border-radius: var(--radius-md); box-shadow: 3px 4px 0 var(--ink); transition: transform .3s var(--bounce);
}
.build-next:hover{ transform: translate(-1px,-2px) rotate(-1deg); }
@media (max-width: 900px){
  .build-steps{ padding: 14px; gap: 10px; }
  .build-steps ol{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .build-steps ol::-webkit-scrollbar{ display:none; }
  .build-steps li{ flex: none; }
  .build-next{ margin-left: 0; width: 100%; justify-content: center; }
}

/* "My invitation": a little paper tag floating bottom-left (the WhatsApp seal is bottom-right),
   shown by build.js once they've chosen something. Moved out of the header (Nov 2026) to give it room. */
.build-link{
  position: fixed; left: 22px; bottom: 22px; z-index: 930;
  display:inline-flex; align-items:center; gap: 10px; padding: 8px 10px 8px 8px;
  text-decoration:none; color: var(--ink);
  background: var(--paper); border: 1.5px solid rgba(59,42,33,.22); border-radius: var(--wobble, 16px);
  box-shadow: 0 2px 0 rgba(59,42,33,.06), 0 18px 30px -16px rgba(59,42,33,.55);
  transform: rotate(-1.5deg); transition: transform .3s var(--bounce), bottom .3s var(--ease);
  animation: buildIn .55s var(--bounce) backwards;
}
.build-link[hidden]{ display:none; }
.build-link::before{ content:''; position:absolute; top: -9px; left: 50%; width: 54px; height: 16px; margin-left: -27px; background: rgba(251,232,166,.92); transform: rotate(3deg); clip-path: polygon(0 10%, 6% 0, 12% 12%, 18% 0, 100% 0, 94% 88%, 100% 100%, 0 100%, 6% 88%); }
.build-link:hover{ transform: rotate(0deg) translateY(-2px); }
.build-link img{ width: 30px; height: 30px; flex: none; }
.build-text{ display:flex; flex-direction:column; line-height: 1.1; }
.build-text small{ font-family: var(--font-hand); font-size: 1.05rem; color: var(--accent-ink); }
.build-text b{ font-size: .86rem; font-weight: 700; }
.build-count{ align-self: center; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
@keyframes buildIn{ from{ opacity: 0; transform: translateY(24px) rotate(-6deg); } }
@media (max-width: 700px){
  .build-link{ left: 14px; bottom: 16px; padding: 6px 8px 6px 6px; gap: 8px; }
  .build-link img{ width: 26px; height: 26px; }
  .build-text small{ font-size: .95rem; } .build-text b{ font-size: .8rem; }
}
/* the Design Library's picks tray sits at the bottom on smaller screens — lift the tag above it */
@media (max-width: 1199px){ body.has-picks .build-link{ bottom: 92px; } }

/* "Choose this design / opening" once chosen */
[data-build-choose].is-chosen, [data-pick-opening].is-chosen{ background: var(--accent-2) !important; border-color: var(--accent-2) !important; color: #fff !important; }

/* build notes + Design Library "needs" tags (assets/js/build.js) */
.build-note{ max-width: var(--container); margin: -20px auto 30px; padding: 12px 18px; border-radius: var(--radius-md);
  background: var(--sticky); color: var(--ink); font-size: .92rem; box-shadow: var(--shadow-sm); transform: rotate(-.3deg); }
.build-note a{ color: var(--accent-ink); font-weight: 700; }
.needs-tag{ display:inline-block; align-self:flex-start; margin: 0 0 6px; padding: 3px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--sticky); color: var(--accent-ink); border: 1px solid rgba(162,63,42,.25); }
.needs-tag.is-soft{ background: transparent; color: var(--ink-faint); border-style: dashed; }

/* =========================================================
   Legal pages (privacy.php, terms.php, refund.php)
   ========================================================= */
.legal{ max-width: 780px; margin: 0 auto; padding: 130px 22px 90px; }
@media (max-width: 900px){ .legal{ padding-top: 110px; } }
.legal .eyebrow{ margin-bottom: 6px; }
.legal h1{ font-size: clamp(2.1rem, 5vw, 3rem); margin: 0 0 6px; }
.legal .updated{ color: var(--ink-faint); font-size: .92rem; margin: 0 0 26px; }
.legal .summary{ background: var(--paper); border: 1.5px dashed rgba(59,42,33,.22); border-radius: var(--radius-md); padding: 18px 22px; margin: 0 0 34px; }
.legal .summary p{ margin: 0 0 6px; } .legal .summary ul{ margin: 6px 0 0; padding-left: 20px; }
.legal h2{ font-size: 1.35rem; margin: 34px 0 10px; }
.legal p, .legal li{ color: var(--ink); line-height: 1.75; }
.legal ul{ padding-left: 22px; }
.legal li{ margin-bottom: 6px; }
.legal table{ width:100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .95rem; }
.legal th, .legal td{ text-align:left; padding: 10px 8px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.legal th{ font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.legal .contact-box{ margin-top: 40px; padding: 20px 22px; border-radius: var(--radius-md); background: var(--bg-tint, #F3EADB); }
.legal-nav{ display:flex; gap: 8px; flex-wrap:wrap; margin: 0 0 22px; }
.legal-nav a{ font-weight: 700; font-size: .86rem; padding: 6px 14px; border-radius: 999px; border: 1.5px solid rgba(59,42,33,.2); text-decoration:none; color: var(--ink-soft); }
.legal-nav a.on{ background: var(--ink); color: var(--paper); border-color: var(--ink); }