/* ==========================================================================
   Sip & Snap — brand tokens
   --------------------------------------------------------------------------
   To rebrand, change ONLY these values at the top of :root:
     1. --brand-name     — the business name
     2. --brand-tagline  — the tagline
     3. --color-terra     — primary accent (buttons, highlights)  [clay/terracotta]
     4. --color-gold      — secondary accent (ornaments, stars)   [rich gold]
   Everything else on the site derives from these tokens.

   Palette rationale: warm cream/ivory bones (kept from v1), deep warm ink
   instead of grey-charcoal, clay terracotta as the voice accent (modern,
   warm, wedding-appropriate), rich gold kept for decorative moments.
   All text pairs verified WCAG 2.2 AA (4.5:1); UI accents >= 3:1.
   ========================================================================== */

:root {
  /* -- brand identity --------------------------------------------------- */
  --brand-name: "Sip & Snap";
  --brand-tagline: "Sip your drink, snap your shot.";

  /* -- palette ---------------------------------------------------------- */
  --color-cream: #f8f2e7;          /* page background (warm bone)          */
  --color-ivory: #fdf9f0;          /* surfaces & panels                     */
  --color-sand: #f1e6d2;           /* tinted section bands                  */
  --color-ink: #262019;            /* headings / footer / dark card         */
  --color-ink-soft: #5b5143;       /* body text (7:1 on cream)              */
  --color-terra: #b85336;          /* primary accent fill (buttons)         */
  --color-terra-deep: #98422a;     /* accent text & icons on light (5.99:1) */
  --color-terra-soft: #f4ddcf;     /* accent tint surfaces                  */
  --color-gold: #a67c2e;           /* decorative accent (3.39:1 on cream)   */
  --color-gold-deep: #7a5a1e;      /* gold text on light (5.7:1)            */
  --color-gold-bright: #d8b36a;    /* gold text on ink (8.1:1)              */
  --color-gold-soft: #f1e4c6;      /* gold tint surfaces                    */
  --color-border: #e2d7c0;         /* decorative hairlines (non-semantic)   */
  --color-border-strong: #8a7a5f;  /* form field borders (3.74:1, WCAG 1.4.11) */
  --color-focus: #98422a;

  /* -- derived palette (alpha variants — keep in sync with the core tokens) - */
  --color-cream-glass: rgba(248, 242, 231, 0.9);        /* sticky header fallback   */
  --color-cream-faint: rgba(248, 242, 231, 0.14);       /* marquee hairline         */
  --color-cream-mist: rgba(248, 242, 231, 0.35);        /* sticky CTA border        */
  --color-ivory-glass: rgba(253, 249, 240, 0.92);       /* photo-slot chip          */
  --color-ivory-soft: rgba(253, 249, 240, 0.88);        /* featured card body text  */
  --color-ivory-faint: rgba(253, 249, 240, 0.15);       /* footer hairlines         */
  --color-gold-tint: rgba(167, 124, 46, 0.06);          /* why-card hover wash      */
  --color-gold-bright-faint: rgba(216, 179, 106, 0.45); /* footer email underline  */
  --color-ink-muted: #d8cfbf;                           /* muted text on ink        */

  /* -- typography ------------------------------------------------------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  /* Figtree (warm grotesque) replaces Inter — the trend research flagged Inter
     as reading "SaaS/startup"; Figtree keeps body-text neutrality with warmth. */
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* -- shape & depth ---------------------------------------------------- */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(38, 32, 25, 0.08);
  --shadow-lift: 0 18px 45px rgba(38, 32, 25, 0.14);

  /* -- layout ----------------------------------------------------------- */
  --header-h: 4.25rem;
  --wrap-max: 1120px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  background: var(--color-cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* paper grain — a fixed, near-invisible film of noise over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 600;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-terra-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-ink);
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--color-gold-soft);
  color: var(--color-ink);
}

/* -- focus & accessibility ---------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--color-ink);
  color: var(--color-ivory);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.wrap {
  width: min(var(--wrap-max), 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.wrap-narrow {
  max-width: 780px;
}

.section {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.section-alt {
  background: var(--color-ivory);
  border-block: 1px solid var(--color-border);
}

.section-sand {
  background: var(--color-sand);
}

/* section heads — centered for ceremonial sections, left-ruled for editorial */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
}

.section-head-left {
  text-align: left;
  margin-inline: 0;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terra-deep);
  margin-bottom: 0.9rem;
}

.section-head-left .kicker::before {
  content: "✦ ";
  color: var(--color-gold);
  letter-spacing: 0;
}

.section-head h2 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 560px;
}

.section-head-left .section-intro {
  margin-inline: 0;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 64px;
  height: 1px;
  background: var(--color-border);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* handwritten sticker chips — the "bespoke" wink */
.sticker {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-gold-deep);
  background: var(--color-gold-soft);
  border: 1.5px dashed var(--color-gold);
  border-radius: 10px;
  padding: 0.28rem 0.8rem 0.22rem;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: normal;
  text-align: center;
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.925rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--color-terra);
  color: var(--color-ivory);
}

.btn-primary:hover {
  background: var(--color-terra-deep);
  color: var(--color-ivory);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

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

.btn-ghost:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-ivory);
  transform: translateY(-1px);
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-cream-glass);
  background: color-mix(in srgb, var(--color-cream) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--color-ink);
}

/* Signature ampersand — a bespoke hand-drawn stroke mark (inline SVG).
   One continuous calligraphic stroke with a swashy tail, matching the
   squiggle/underline language used across the site. Inherits `color`, so
   the header (gold-deep on cream) and the footer override (gold-bright on
   ink) both keep their AA contrast with zero extra rules. */
.amp {
  display: inline-block;
  line-height: 1;
  color: var(--color-gold-deep);
  vertical-align: -0.14em;
}

.amp-svg {
  display: block;
  width: 1.05em;
  height: 1.05em;
}

.amp-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* one-time self-draw on load — only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
  .amp-path {
    stroke-dasharray: 90;
    stroke-dashoffset: 90;
    animation: amp-draw 0.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }
}

@keyframes amp-draw {
  to { stroke-dashoffset: 0; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language switch pill — plain <a>, no JS; links to the FR mirror page.
   Shown at every viewport; shrinks to "FR" text-only on tiny screens. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  text-decoration: none;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  color: var(--color-terra-deep);
  border-color: var(--color-terra);
  background-color: var(--color-ivory-soft, transparent);
}

.footer-lang {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: none; /* hidden on small screens — the footer carries full nav */
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--color-ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-terra-deep);
  border-bottom-color: var(--color-gold);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3.25rem, 9vw, 5.5rem) clamp(3rem, 8vw, 5rem);
}

/* soft washes behind the copy — pure CSS, no images */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -180px;
  background: radial-gradient(circle, var(--color-gold-soft) 0%, transparent 70%);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -240px;
  left: -220px;
  background: radial-gradient(circle, var(--color-terra-soft) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 6vw, 3.5rem);
  align-items: center;
}

.hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-terra-deep);
  margin-bottom: 1.35rem;
}

.hero .eyebrow .star {
  color: var(--color-gold);
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.55rem, 8vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 0.85rem;
}

.squiggle-wrap {
  position: relative;
  display: inline-block;
}

.squiggle {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.28em;
  pointer-events: none;
}

.squiggle path {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 4.5;
  stroke-linecap: round;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: var(--color-gold-deep);
  margin-bottom: 0.15rem;
}

.tagline-note {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--color-terra-deep);
  margin: 0 0 1.15rem;
  transform: rotate(-1deg);
}

.hero-sub {
  max-width: 540px;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.flow-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

.pill svg,
.pill-arrow,
.step-icon svg,
.why-icon svg,
.price-features svg,
.contact-points svg,
.faq-chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill svg {
  width: 18px;
  height: 18px;
  color: var(--color-terra-deep);
}

.pill-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex: none;
}

/* -- hero product scene (designed placeholder for the real photo) ------- */

.hero-scene {
  width: min(100%, 560px);
  margin-inline: auto;
  position: relative;
}

.hero-scene-svg {
  width: 100%;
  height: auto;
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* photo slots — where real photography drops in. The SVG inside is the
   designed placeholder; the chip names the file that replaces it. */
.photo-slot {
  position: relative;
}

.slot-chip {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-ivory-glass);
  border: 1px dashed var(--color-gold);
  color: var(--color-gold-deep);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.slot-chip code {
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

/* -- photo drop-in support -------------------------------------------------
   When the placeholder SVG scenes are swapped for real photography (see the
   comments in index.html), the <img> just works: same radius, no distortion,
   and the optional .photo-warm class gives it the same warm grade as the
   linen palette. Delete the .slot-chip element at the same time. */
.photo-slot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-scene img {
  border-radius: var(--radius-lg);
}

.photo-warm {
  filter: sepia(0.16) saturate(1.06) brightness(1.02) contrast(0.99);
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */

.marquee-wrap {
  overflow: clip;
  background: var(--color-ink);
  padding-block: 0.35rem;
}

.marquee {
  transform: rotate(-1.1deg) scale(1.03);
  padding-block: 0.85rem;
  border-block: 1px solid var(--color-cream-faint);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-cream);
  white-space: nowrap;
  padding-right: 3rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   How it works
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
  margin-inline: auto;
}

.step {
  position: relative;
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid var(--color-border);
}

.step:first-child {
  border-top: 1px solid var(--color-border);
}

.step-num {
  position: absolute;
  top: 1.1rem;
  right: 0.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold-soft);
  pointer-events: none;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-terra-soft);
  color: var(--color-terra-deep);
  margin-bottom: 1.1rem;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  margin-bottom: 0.5rem;
  padding-right: 3rem;
}

.step p {
  margin-bottom: 0;
  max-width: 52ch;
}

/* -- photo-slot scenes --------------------------------------------------- */

.flow-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-top: clamp(3rem, 7vw, 4.5rem);
  max-width: 980px;
  margin-inline: auto;
}

.scene {
  margin: 0;
}

.scene-visual {
  border-radius: var(--radius-lg);
  overflow: clip;
}

.scene-svg {
  width: 100%;
  height: auto;
}

.scene figcaption {
  margin-top: 0.9rem;
}

.scene figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.scene figcaption span {
  display: block;
  font-size: 0.95rem;
  max-width: 52ch;
}

/* ==========================================================================
   Why us — ruled editorial list (no boxes)
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
  margin-inline: auto;
}

.why-card {
  padding: 1.75rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.25s ease;
}

.why-grid > .why-card:first-child {
  border-top: 1px solid var(--color-border);
}

.why-card:hover {
  background: var(--color-gold-tint);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--color-terra-soft);
  color: var(--color-terra-deep);
  margin-bottom: 0.9rem;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.why-body p {
  font-size: 0.975rem;
  margin-bottom: 0;
  max-width: 58ch;
}

.why-body .sticker {
  margin-top: 0.9rem;
}

/* the lead reason gets a split layout; the 24-hour one becomes a band */
.why-card:first-child .why-body .sticker,
.why-card:last-child .why-body .sticker {
  margin-top: 0.85rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: stretch;
  max-width: 980px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.85rem 1.85rem;
  box-shadow: var(--shadow-soft);
}

.price-card-featured {
  background: var(--color-ink);
  border: 1px solid var(--color-ink);
  transform: rotate(-0.6deg);
  box-shadow: var(--shadow-lift);
}

/* ticket-style punched edge on the dark card */
.price-card-featured::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 1.5rem;
  right: 1.5rem;
  height: 16px;
  background: radial-gradient(circle at 8px 8px, var(--color-sand) 5.5px, transparent 6.5px);
  background-size: 16px 16px;
  background-repeat: repeat-x;
}

.price-badge {
  position: absolute;
  top: -1.1rem;
  right: 1.4rem;
  font-family: var(--font-hand);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-gold-deep);
  background: var(--color-gold-soft);
  border: 1.5px dashed var(--color-gold);
  border-radius: 10px;
  padding: 0.3rem 0.95rem 0.22rem;
  transform: rotate(4deg);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.price-name {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.price-cad {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-gold-deep);
}

.price-note {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gold-deep);
  margin-bottom: 1rem;
}

.price-desc {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.price-features {
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  padding-block: 0.4rem;
}

.price-features svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.25em;
  color: var(--color-gold);
}

.price-card .btn {
  margin-top: auto;
}

/* featured (dark) card adjustments */
.price-card-featured .price-name,
.price-card-featured .price {
  color: var(--color-ivory);
}

.price-card-featured .price-cad,
.price-card-featured .price-note {
  color: var(--color-gold-bright);
}

.price-card-featured .price-desc,
.price-card-featured .price-features li {
  color: var(--color-ivory-soft);
}

.price-card-featured .price-features svg {
  color: var(--color-gold-bright);
}

.price-card-featured .btn-primary:hover {
  background: var(--color-gold-deep);
}

.pricing-foot {
  text-align: center;
  max-width: 560px;
  margin: 2.5rem auto 0;
  font-size: 0.95rem;
}

/* -- stats band: ruled numerals under the pricing grid ------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 3rem auto 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-row li {
  padding: 1.75rem 1rem;
  text-align: center;
}

.stat-row li:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.stat-row span {
  display: block;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   Add-ons — price-list rows
   ========================================================================== */

.addon-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.addon-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 2.5rem;
  align-items: baseline;
  padding: 1.75rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
}

.addon-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.addon-info p {
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 56ch;
}

.addon-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-gold-deep);
  margin: 0;
  white-space: nowrap;
}

.addon-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  letter-spacing: 0.03em;
}

.addon-row-note {
  position: relative;
  background: var(--color-gold-soft);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 2.6rem 1.5rem 1.75rem;
  margin-top: 2rem;
}

.addon-row-note .sticker {
  position: absolute;
  top: -1rem;
  right: 1.25rem;
  background: var(--color-ivory);
}

.addon-row-note .addon-info h3 {
  font-size: 1.2rem;
}

.addon-price-note {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
}

.addon-price-note span {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-terra-deep);
}

/* ==========================================================================
   Testimonials — scaffold, inert until markup is added to index.html.
   Use a .section (alternate .section-sand or .section-alt) + .section-head,
   then this grid. Quotes are display-serif, metadata follows the body scale.
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 980px;
  margin-inline: auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-ink);
  margin: 0;
}

.testimonial-meta {
  margin-top: auto;
  font-size: 0.9rem;
}

.testimonial-who {
  font-weight: 700;
  color: var(--color-ink);
}

.testimonial-detail {
  color: var(--color-ink-soft);
}

@media (min-width: 760px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 1.3rem 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--color-terra-deep);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-terra-deep);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* Progressive enhancement: without JS every answer is visible. */
.faq-answer {
  padding: 0 0.25rem 1.4rem;
}

.faq-answer p {
  margin-bottom: 0;
  max-width: 62ch;
}

/* Smooth accordion — the grid-template-rows 0fr→1fr trick. Content stays in
   the accessibility tree when collapsed (unlike display:none), and the open
   state eases instead of snapping. Browsers without grid-row transition
   support fall back to an instant toggle. */
.js .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 0.25rem;
  transition: grid-template-rows 0.35s ease;
}

.js .faq-answer > * {
  overflow: hidden;
  min-height: 0;
}

.js .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  padding: 0 0.25rem 1.4rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  max-width: 980px;
  margin-inline: auto;
}

.contact-copy h3 {
  font-size: 1.4rem;
}

.contact-email {
  font-size: 1.05rem;
}

.email-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 1px;
}

.email-link:hover {
  border-bottom-color: var(--color-ink);
}

.contact-points {
  margin-top: 1.5rem;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.4rem;
  font-size: 0.98rem;
}

.contact-points svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--color-gold);
}

.contact-copy .sticker {
  margin-top: 1.6rem;
}

.enquiry-form {
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lift);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.label-optional {
  font-weight: 400;
  color: var(--color-ink-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-cream);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237a5a1e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-terra-deep);
  box-shadow: 0 0 0 3px var(--color-terra-soft);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.form-note.is-visible {
  color: var(--color-terra-deep);
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: var(--color-ink-muted);
  padding-block: 3.5rem 2rem;
}

.site-footer a:focus-visible {
  outline-color: var(--color-gold-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: 0.35rem;
}

.footer-name .amp {
  color: var(--color-gold-bright);
}

.footer-tagline {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--color-gold-bright);
  margin-bottom: 0.85rem;
}

.footer-made {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
}

.footer-nav a {
  color: var(--color-ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color-ivory);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact .email-link {
  color: var(--color-gold-bright);
  border-bottom-color: var(--color-gold-bright-faint);
}

.footer-contact a:not(.email-link) {
  color: var(--color-ink-muted);
}

.footer-contact .email-link:hover,
.footer-contact a:not(.email-link):hover {
  color: var(--color-ivory);
}

.footer-bottom {
  border-top: 1px solid var(--color-ivory-faint);
  padding-top: 1.5rem;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

/* ==========================================================================
   Sticky mobile CTA pill (mobile only — hidden ≥641px)
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(calc(100% + 1.5rem));
  visibility: hidden;
  z-index: 40; /* below the sticky header (50) */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-ivory);
  background: var(--color-ink);
  border: 1.5px solid var(--color-cream-mist);
  border-radius: var(--radius-pill);
  padding: 0.95rem 2rem;
  box-shadow: var(--shadow-lift);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}

.sticky-cta.is-shown {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

@media (min-width: 641px) {
  .sticky-cta {
    display: none;
  }
}

/* ==========================================================================
   Scroll reveals (progressive enhancement — content visible without JS)
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* gentle stagger for grids */
.steps .step:nth-child(2) { --reveal-delay: 0.1s; }
.steps .step:nth-child(3) { --reveal-delay: 0.2s; }
.why-grid .why-card:nth-child(2) { --reveal-delay: 0.06s; }
.why-grid .why-card:nth-child(3) { --reveal-delay: 0.12s; }
.why-grid .why-card:nth-child(4) { --reveal-delay: 0.06s; }
.why-grid .why-card:nth-child(5) { --reveal-delay: 0.12s; }
.why-grid .why-card:nth-child(6) { --reveal-delay: 0.06s; }
.pricing-grid .price-card:nth-child(2) { --reveal-delay: 0.12s; }
.pricing-grid .price-card:nth-child(3) { --reveal-delay: 0.24s; }
.addon-row:nth-child(2) { --reveal-delay: 0.07s; }
.addon-row:nth-child(3) { --reveal-delay: 0.14s; }
.addon-row:nth-child(4) { --reveal-delay: 0.21s; }
.addon-row:nth-child(5) { --reveal-delay: 0.28s; }
.addon-row:nth-child(6) { --reveal-delay: 0.35s; }
.flow-scenes .scene:nth-child(2) { --reveal-delay: 0.15s; }

/* ==========================================================================
   Responsive — mobile-first breakpoints
   ========================================================================== */

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 640px) {
  .addon-row {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-nav ul {
    grid-template-columns: 1fr;
  }

  .flow-scenes {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-row li:nth-child(odd) {
    border-right: 0;
  }

  .stat-row li:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }
}

@media (min-width: 820px) {
  /* ruled two-column editorial grid for the reasons */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
  }

  .why-card:first-child,
  .why-card:last-child {
    grid-column: 1 / -1;
  }

  .why-card:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: center;
    padding-block: 2rem;
  }

  .why-card:first-child .why-icon {
    margin-bottom: 0;
  }

  .why-card:last-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: center;
    padding-block: 2rem;
    background: var(--color-gold-soft);
    border-radius: var(--radius-md);
    padding-inline: 2rem;
    margin-top: 1.5rem;
    border-bottom: none;
  }

  .why-card:last-child .why-icon {
    margin-bottom: 0;
    background: var(--color-ivory);
  }
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .price-card-featured {
    transform: rotate(-0.6deg) translateY(-10px);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
  }

  .step {
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    padding: 2rem 0 0.5rem;
  }

  .step-num {
    top: -0.6rem;
    right: 0;
    font-size: 4.6rem;
  }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-ctas,
  .flow-pills {
    justify-content: flex-start;
  }

  .hero-scene {
    margin-inline: 0;
  }
}

@media (max-width: 420px) {
  /* keep the sticky header on one line at 360px */
  .brand {
    font-size: 1.22rem;
  }

  .btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
  }

  .slot-chip {
    white-space: normal;
    max-width: calc(100% - 1.7rem);
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .marquee-track {
    animation: none;
  }

  .hero-scene-svg {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
