/* ============================================================
   LACREATIONS — styles.css
   Order: tokens → reset → type → layout → sections → motion → media queries
   ============================================================ */

/* ---------- 0 · FONT ---------- */
/* Helvena — the brand face. One variable file carries every weight. */

@font-face {
  font-family: 'Helvena';
  src: url('assets/fonts/HelvenaVariable.woff2') format('woff2-variations'),
       url('assets/fonts/HelvenaVariable.woff') format('woff-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1 · TOKENS ---------- */

:root {
  --shell:      #FBF7F4;  /* warm cream — page base (light, per the card) */
  --shell-deep: #F3E8E4;  /* recessed panels, section shifts — faint blush */
  --ink:        #33272B;  /* near-black, plum undertone — body text */
  --ink-soft:   #6E5A61;  /* secondary text, captions */
  --amber:      #B25A78;  /* THE accent — the card's dusty rose. CTAs, sweep */
  --leaf:       #BE9770;  /* soft gold — hairlines and rules only */
  --pool:       #53303F;  /* deep plum — dark sections, banner */

  /* Two faces — Playfair (the card's serif) for display,
     Helvena for body and utility caps */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body:    "Helvena", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-mono:    "Helvena", "Avenir Next", "Helvetica Neue", sans-serif;

  --measure: 34em;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-pad: clamp(4.5rem, 12vw, 8.5rem);
  --sticky-cta-h: 4.25rem;
  --announce-h: 2.75rem;
}

/* ---------- 2 · RESET ---------- */

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, p, dl, dd, blockquote, figure { margin: 0; }

a { color: inherit; }

button { font: inherit; }

/* Visible keyboard focus — everywhere */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--shell);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* ---------- 3 · TYPE ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 10vw, 6rem); }
h2 { font-size: clamp(2.125rem, 5.5vw, 3.5rem); margin-bottom: clamp(1.25rem, 3vw, 2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 0.6rem; }

p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: var(--leaf);
  vertical-align: middle;
  margin-right: 0.7rem;
}

/* ---------- 4 · LAYOUT ---------- */

.section-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-inner.narrow { max-width: 46rem; }

.grid-split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

section { padding-block: var(--section-pad); }

.meet-copy p, .slow-copy p, .custom p, .find p { max-width: var(--measure); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-primary {
  background: var(--amber);
  color: var(--shell);
  border: 1px solid var(--amber);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(178, 90, 120, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-soft);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Media frames — every video wears the same quiet grade */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--pool);
  border-radius: 4px;
}
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
/* Faint pool-toned wash so mixed stock sources sit in one palette */
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(29, 74, 69, 0.16), rgba(29, 74, 69, 0) 55%);
  pointer-events: none;
}

.frame-arch {
  border-radius: 6px;
  aspect-ratio: 4 / 4.9;
  width: 100%;
  max-height: min(80svh, 46rem);
}
.frame-band { aspect-ratio: 21 / 7; border-radius: 4px; }
.frame-tall { aspect-ratio: 4 / 5; border-radius: 4px; }

/* ---------- 5 · SECTIONS ---------- */

/* Scroll progress — thin amber bar that fills as you read */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Announcement banner — fixed, follows you down the page */
.announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 45;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  height: var(--announce-h);
  padding-inline: var(--gutter);
  background: var(--pool);
  color: var(--shell);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.announce:hover { background: #42242f; }
.announce-tag {
  flex: 0 0 auto;
  padding: 0.15rem 0.6rem;
  background: var(--amber);
  color: var(--shell);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.announce-copy {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-copy strong { color: #EFC8A6; font-weight: 700; }
.announce-arrow { flex: 0 0 auto; }

/* Header */
.site-header {
  position: fixed;
  top: var(--announce-h); left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 244, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--shell-deep);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.site-nav {
  display: none;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--leaf);
}

/* Anchored sections stop below the fixed header + banner */
section[id] { scroll-margin-top: 7.5rem; }
.header-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--leaf);
  padding-bottom: 2px;
}
.header-link:hover { color: var(--ink); }

/* 1 · Hero */
.hero {
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(5.5rem, 14vh, 8rem) 2rem;
  position: relative;
}
.hero-inner {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.hero-copy { min-width: 0; }
.hero-media { min-width: 0; }
.hero-scroll-hint {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}

/* Caustic sweep base state (animation lives in section 6 · MOTION) */
.caustic { color: var(--ink); }

/* Simple centered hero — one message, one CTA */
.hero-simple {
  min-height: auto;
  padding-top: clamp(8rem, 20vh, 12rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  position: relative;
  overflow: hidden;
}

/* Watercolor florals — from Lisa's business card. Multiply blend sinks the
   white background into the cream page, so no cutout is needed. */
.floral {
  position: absolute;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.floral-hero {
  top: calc(var(--announce-h) + 2.5rem);
  left: clamp(-6rem, -4vw, -2rem);
  width: clamp(300px, 48vw, 640px);
  transform: scaleX(-1);
}
.floral-hero-right {
  top: auto;
  bottom: -1.5rem;
  right: clamp(-6rem, -4vw, -2rem);
  left: auto;
  width: clamp(260px, 40vw, 560px);
  transform: rotate(180deg) scaleX(-1);
}
.floral-footer {
  bottom: -2rem;
  right: -2rem;
  width: clamp(140px, 20vw, 260px);
  transform: rotate(180deg);
  opacity: 0.75;
}
.site-footer { position: relative; overflow: hidden; }
.giveaway-hero .floral-hero { top: 5.5rem; }
.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-center .hero-sub { margin-inline: auto; }
.btn-row-center { justify-content: center; }
.eyebrow-center::before { display: none; }
.eyebrow-center { color: var(--amber); }

/* Giveaway CTA band */
.cta-band {
  background: var(--pool);
  color: var(--shell);
  text-align: center;
}
.cta-center { display: flex; flex-direction: column; align-items: center; }
.cta-band .eyebrow { color: var(--shell-deep); }
.cta-band .eyebrow::before { display: none; }
.cta-band p { max-width: var(--measure); }
.cta-band .show-date {
  color: var(--shell-deep);
  border-top-color: var(--leaf);
}

/* Form status line */
.form-status {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pool);
}
.form-status.is-error { color: #9a3b22; }

/* Giveaway page */
.giveaway-hero { padding-top: clamp(7rem, 16vh, 10rem); }
.giveaway-page .site-header { top: 0; }
.giveaway-form {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  text-align: left;
}
.btn-wide { width: 100%; text-align: center; cursor: pointer; }
.giveaway-form .form-alt { text-align: center; }

.event { background: var(--shell-deep); }
.event p { max-width: var(--measure); }
.event .btn { margin-top: 1rem; }
.event-details {
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--leaf);
  font-family: var(--font-mono);
}
.event-row {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--leaf);
}
.event-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  padding-top: 0.2rem;
}
.event-row dd { margin: 0; font-size: 1rem; }

.fine-print {
  margin-top: 2rem;
  max-width: 44em;
  margin-inline: auto;
  font-size: 0.72rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 2 · Meet Lisa — snapshot pinned next to her story */
.meet { background: var(--shell); }
.meet-photo.polaroid {
  background: #fff;
  padding: 0.9rem 0.9rem 0.3rem;
  border-radius: 4px;
  box-shadow: 0 16px 38px rgba(51, 39, 43, 0.16);
  transform: rotate(-2.5deg);
  max-width: 23rem;
  margin-inline: auto;
}
.meet-photo img {
  width: 100%;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.meet-photo.polaroid .hand-note {
  text-align: center;
  margin: 0.45rem 0 0.5rem;
  transform: rotate(-1deg);
}
/* Photo missing → clean single-column text (class set by JS) */
.meet.no-photo .grid-split { grid-template-columns: 1fr; }
.meet.no-photo .meet-photo { display: none; }

/* 1b · Pour band between hero and Meet Lisa */
.intro-band { margin-top: clamp(2.5rem, 8vh, 6rem); }
.intro-band .frame-band { aspect-ratio: 21 / 8; }

/* 3 · What she makes */
.makes { background: var(--shell-deep); }
.card-row {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
.card {
  background: var(--shell);
  border-top: 1px solid var(--leaf);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.45s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -26px rgba(22, 33, 30, 0.4);
}
.card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.card:hover .card-media img { transform: scale(1.06); }
/* Shelf still-life: keep the pieces (lower right) in frame, not just the bouquet */
.card-media img[src*="card-trays"] { object-position: 65% 78%; }
.card-body { padding: 1.5rem 1.5rem 1.8rem; }
.card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.card p:last-child { color: var(--ink-soft); }
.makes-note {
  margin-top: clamp(2rem, 5vw, 3rem);
  font-size: 1.15rem;
}
.makes-note a { color: inherit; text-decoration-color: var(--leaf); text-underline-offset: 3px; }
.media-band .media-frame { border-radius: 0; }

/* 3b · Gallery */
.gallery { background: var(--shell); }
.gallery-note { color: var(--ink-soft); max-width: var(--measure); }
/* Endless marquee — full-bleed rows of work photos.
   Base state is static and swipeable; the drift lives in section 6 · MOTION. */
.marquee {
  overflow-x: auto;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee + .marquee { margin-top: clamp(0.8rem, 1.5vw, 1.25rem); }
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-track figure {
  flex: 0 0 auto;
  width: clamp(11rem, 24vw, 18rem);
  margin: 0 clamp(0.4rem, 0.75vw, 0.65rem) 0 0;
}
.marquee-track img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}
.gallery-cta { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Giveaway hero photo — the full collection shot */
.gw-hero-photo {
  margin: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(1.75rem, 4vw, 2.75rem);
}
.gw-hero-photo img {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(51, 39, 43, 0.18);
}
.gw-hero-photo .hand-note {
  margin-top: 0.9rem;
  text-align: center;
}

/* Static gallery grid — calm, no motion */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery-grid figure:hover img { transform: scale(1.04); }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 4 · Slow work */
.slow {
  background: var(--pool);
  color: var(--shell);
}
.slow .eyebrow { color: var(--shell-deep); }
.slow .eyebrow::before { background: var(--leaf); }
/* Process steps — mix, pour, finish */
.process-steps {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.25rem);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.process-steps figure { margin: 0; }
.process-steps img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.9) contrast(1.05);
}
.process-steps figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.process-steps figcaption span {
  color: var(--leaf);
  margin-right: 0.5rem;
}

.pull-quote {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.2;
  max-width: 22em;
  text-wrap: balance;
}
.data-strip {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--leaf);
  font-family: var(--font-mono);
}
.datum {
  padding: 1.4rem 0 1.5rem;
  border-bottom: 1px solid var(--leaf);
}
.datum dt {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.datum dd {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--shell-deep);
}

/* 5 · Custom — blush section, form in a card */
.custom { background: var(--shell-deep); }
.custom .btn { margin-top: 0.75rem; }
.contact-form {
  margin-top: 2rem;
  max-width: 30rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(190, 151, 112, 0.4);
  border-radius: 8px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 14px 34px rgba(51, 39, 43, 0.08);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ink-soft);
  border-radius: 3px;
  resize: vertical;
}
.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-color: var(--amber);
}
.contact-form .btn { border: 1px solid var(--amber); cursor: pointer; }
.form-alt {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.form-alt a { text-decoration-color: var(--leaf); text-underline-offset: 3px; }

.custom-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.92) contrast(1.04);
}
.custom-photo .hand-note { text-align: center; }

/* Giveaway thank-you (replaces the form after a successful entry) */
.thank-you {
  margin-top: 2rem;
  max-width: 30rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(190, 151, 112, 0.4);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 14px 34px rgba(51, 39, 43, 0.08);
  text-align: center;
}
.thank-you .hand-note { margin: 0 0 0.5rem; transform: rotate(-2deg); }
.thank-you h3 { margin: 0 0 0.75rem; font-weight: 500; }
.thank-you p:last-child { margin: 0; color: var(--ink-soft); }

/* 6 · Find me */
.find { background: var(--shell-deep); padding-top: 0; }
.find .media-band { margin-bottom: var(--section-pad); }
.find-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 2vw, 1.25rem);
  align-items: start;
}
.find-photos figure:last-child { margin-top: clamp(1.5rem, 4vw, 2.75rem); }
.find-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.92) contrast(1.04);
}
.show-date {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  border-top: 1px solid var(--leaf);
  padding-top: 1.25rem;
  max-width: 34em;
}

/* 7 · Footer — dark pool, three columns under the catchphrase */
.site-footer {
  background: var(--pool);
  color: var(--shell-deep);
  padding-block: clamp(3.5rem, 8vw, 6rem) 0;
  font-family: var(--font-mono);
  text-align: center;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--shell);
}
.footer-line {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 2;
  color: rgba(243, 232, 228, 0.6);
}
.footer-grid {
  display: grid;
  gap: 2.75rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(243, 232, 228, 0.16);
  text-align: left;
}
.footer-head {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--leaf);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(243, 232, 228, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(190, 151, 112, 0.5);
  padding-bottom: 2px;
}
.footer-col a:hover { color: #fff; border-bottom-color: var(--leaf); }
.footer-note {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 2;
  color: rgba(243, 232, 228, 0.55);
}
.footer-bottom {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(243, 232, 228, 0.16);
  padding-block: 1.4rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(243, 232, 228, 0.45);
}
.design-credit {
  margin-top: 0.6rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(243, 232, 228, 0.4);
}
.design-credit a {
  color: rgba(243, 232, 228, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(190, 151, 112, 0.5);
  padding-bottom: 1px;
}
.design-credit a:hover { color: #fff; border-bottom-color: var(--leaf); }
/* Giveaway page keeps the simple centered footer */
.giveaway-page .site-footer { padding-bottom: clamp(3rem, 7vw, 5rem); }
.giveaway-page .footer-links { margin-top: 0.9rem; font-size: 0.72rem; letter-spacing: 0.14em; }
.giveaway-page .footer-links a { color: rgba(243, 232, 228, 0.8); text-decoration-color: var(--leaf); text-underline-offset: 3px; }
.giveaway-page .fine-print { color: rgba(243, 232, 228, 0.5); }
.catchphrase {
  font-family: "Caveat", "Bradley Hand", cursive;
  font-weight: 600;
  color: #D98BA6;
  font-size: clamp(2.3rem, 6vw, 3.25rem);
  line-height: 1.2;
}

/* Handwritten asides — Lisa's voice in the margins */
.hand-note {
  font-family: "Caveat", "Bradley Hand", cursive;
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--amber);
  transform: rotate(-2deg);
  margin-top: 1.1rem;
}
.catchphrase-sig {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(243, 232, 228, 0.55);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(251, 247, 244, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell-deep);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-follow {
  flex: 1;
  text-align: center;
  padding-block: 0.9rem;
}
.sticky-msg {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  border: 1px solid var(--ink-soft);
  color: var(--ink);
}

/* ---------- 6 · MOTION ---------- */
/* All motion opt-in: it exists only under no-preference. */

@media (prefers-reduced-motion: no-preference) {

  /* THE SIGNATURE — caustic sweep.
     One wide, soft amber band refracts across the headline, left to right,
     ~6s of travel then ~8s of stillness. Both endpoints park the band
     off the text, so the loop restart is invisible. */
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .caustic {
      background-image: linear-gradient(
        105deg,
        var(--ink) 0%,
        var(--ink) 34%,
        #7c4157 46%,             /* rose mixed toward ink — low-key edge */
        var(--amber) 50%,
        #7c4157 54%,
        var(--ink) 66%,
        var(--ink) 100%
      );
      /* Positions stay within 0–100% so the gradient always covers the
         text (outside that range, uncovered glyphs turn transparent).
         At 100% the band sits off the left edge, at 0% off the right. */
      background-size: 320% 100%;
      background-repeat: no-repeat;
      background-position: 100% 0;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: caustic-sweep 14s ease-in-out 0.6s infinite;
    }
    @keyframes caustic-sweep {
      0%   { background-position: 100% 0; }
      44%  { background-position: 0% 0; }
      100% { background-position: 0% 0; }
    }
  }

  /* Scroll reveals — fade + 12px rise, once. JS adds .is-in. */
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  /* Staggered reveals — cards arrive in sequence */
  .js .card-row .card:nth-child(2) { transition-delay: 0.12s; }
  .js .card-row .card:nth-child(3) { transition-delay: 0.24s; }

  /* Endless marquee drift — the two rows travel opposite directions.
     Each track is two identical halves, so -50% loops seamlessly. */
  .marquee { overflow: hidden; }
  .marquee-track { animation: marquee-drift 60s linear infinite; }
  .marquee-reverse .marquee-track { animation-direction: reverse; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee-drift {
    to { transform: translateX(-50%); }
  }

  /* The hero video breathes — a very slow zoom, like resin settling */
  .frame-arch video {
    animation: breathe 22s ease-in-out infinite alternate;
  }
  @keyframes breathe {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
  }

  /* Parallax targets (driven by main.js) */
  [data-parallax] { will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta, .card, .card-media img { transition: none; }
  .btn:hover, .card:hover, .card:hover .card-media img { transform: none; }
  /* Videos are paused + posters shown by main.js; toggles stay hidden. */
}

/* ---------- 7 · MEDIA QUERIES ---------- */

/* Mobile-first defaults above. */

/* Small phones: keep the hero headline inside 320px */
@media (max-width: 359px) {
  h1 { font-size: 2.35rem; }
}

/* Mobile / tablet portrait */
@media (max-width: 767.98px) {
  .sticky-cta { display: flex; }
  .announce { font-size: 0.68rem; }
  .announce-tag { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .frame-arch {
    max-width: 25rem;
    margin-inline: auto;
    aspect-ratio: 4 / 4.4;
    width: 100%;
  }
  .hero { padding-bottom: 3.5rem; }
  .hero-scroll-hint { display: none; }
  .meet-photo { max-width: 22rem; }
  .frame-band { aspect-ratio: 16 / 10; }
}

/* Desktop */
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .meet .grid-split { grid-template-columns: 5fr 7fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .slow .grid-split { grid-template-columns: 7fr 5fr; align-items: start; }
  .custom .grid-split { grid-template-columns: 7fr 5fr; align-items: start; }
  .find .grid-split { grid-template-columns: 6fr 5fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .card-row { grid-template-columns: repeat(3, 1fr); }
  .data-strip { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--leaf); }
  .datum { border-bottom: 0; border-right: 1px solid var(--leaf); padding: 1.6rem 1.75rem 1.75rem; }
  .datum:first-child { padding-left: 0; }
  .datum:last-child { border-right: 0; }
}

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

@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: 5fr 6fr; }
}
