/* FOXGLOVE — "the village florist". Warm paper, garden-green ink, foxglove pink,
   Instrument Serif voice, arch-topped photos, gentle bloom motion. */
:root {
  --paper: #F8F1E7;
  --leaf: #2B3A27;
  --moss: #6A7459;
  --fox: #B0487A;
  --blush: #F0E0D5;
  --rule: rgba(43, 58, 39, 0.18);
  --rule-soft: rgba(43, 58, 39, 0.1);
  --disp: "Instrument Serif", serif;
  --body: "Karla", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gut: max(clamp(20px, 4vw, 56px), calc((100vw - 1240px) / 2));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--paper); color: var(--leaf);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  font-weight: 400;
}
@media (min-width: 880px) { body { font-size: 18px; } }
::selection { background: var(--fox); color: var(--paper); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--fox); outline-offset: 3px;
}
img { display: block; max-width: 100%; }
em { font-style: italic; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--leaf); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.skip:focus { left: 8px; }

h1, h2, h3.disp {
  font-family: var(--disp); font-weight: 400; letter-spacing: -0.01em;
}
h1 em, h2 em { color: var(--fox); }

.kicker {
  font-weight: 700; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--moss);
}

/* ---------- reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--leaf); color: var(--paper); border: 1px solid var(--leaf); }
.btn-primary:hover { background: var(--fox); border-color: var(--fox); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--leaf); border: 1px solid var(--rule); }
.btn-secondary:hover { border-color: var(--leaf); transform: translateY(-2px); }
.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--leaf); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--fox); padding-bottom: 2px;
  transition: color 0.2s var(--ease-out);
}
.textlink:hover { color: var(--fox); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 8px var(--gut);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--rule-soft); }
.wordmark {
  font-family: var(--disp); font-style: italic; font-size: 30px; line-height: 1;
  text-decoration: none; color: var(--leaf);
}
.wordmark:hover { color: var(--fox); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links .anchor {
  text-decoration: none; font-weight: 500; font-size: 16px;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.nav-links .anchor:hover { color: var(--fox); border-bottom-color: var(--fox); }
.nav-phone { text-decoration: none; font-weight: 700; font-size: 15.5px; letter-spacing: 0.02em; }
.nav-phone:hover { color: var(--fox); }
@media (max-width: 880px) {
  .nav-links .anchor, .nav-phone { display: none; }
}

/* ---------- arch photos ---------- */
.arch {
  position: relative; overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  background: var(--blush);
}
.arch image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 5vh, 64px) var(--gut) clamp(48px, 7vh, 88px);
  min-height: min(88svh, 860px);
}
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: 1.02; }
.hero h1 .l { display: block; }
.hero .squig-wrap { position: relative; display: inline-block; }
.hero .squig {
  position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.22em;
  overflow: visible; pointer-events: none;
}
.hero .squig path { fill: none; stroke: var(--fox); stroke-width: 2.5; stroke-linecap: round; }
.hero .sub {
  margin-top: 26px; max-width: 46ch; color: var(--moss); font-size: 1.06em; text-wrap: pretty;
}
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photo { align-self: stretch; min-height: clamp(380px, 62vh, 640px); }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .l { animation: fox-rise 0.8s var(--ease-out) backwards; }
  .hero h1 .l:nth-child(2) { animation-delay: 0.1s; }
  .hero .sub { animation: fox-rise 0.7s var(--ease-out) 0.25s backwards; }
  .hero .ctas { animation: fox-rise 0.7s var(--ease-out) 0.34s backwards; }
  .hero-photo { animation: fox-bloom 1.1s var(--ease-out) backwards; }
  .hero .squig path {
    stroke-dasharray: 240; stroke-dashoffset: 240;
    animation: fox-draw 0.9s var(--ease-out) 0.7s forwards;
  }
  @keyframes fox-rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes fox-bloom { from { opacity: 0; transform: scale(0.97); } }
  @keyframes fox-draw { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero .squig path { stroke-dasharray: none; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 12px; }
  .hero-photo { order: -1; min-height: 46svh; }
}

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.proof .wrap {
  display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 6vw, 90px);
  padding: 18px var(--gut);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--moss);
}
.proof .star { color: var(--fox); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 11vh, 120px) var(--gut); }
.section h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.05; }
.section .sub { margin-top: 14px; color: var(--moss); max-width: 52ch; text-wrap: pretty; }

/* ---------- bouquet ledger ---------- */
.ledger { margin-top: clamp(36px, 5vh, 56px); }
.lrow {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 10px 32px; align-items: baseline;
  border-top: 1px solid var(--rule); padding: clamp(20px, 3vh, 30px) 0;
  transition: transform 0.25s var(--ease-out);
}
.lrow:last-child { border-bottom: 1px solid var(--rule); }
.lrow .bname { font-family: var(--disp); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; transition: color 0.2s var(--ease-out); }
.lrow .bdesc { color: var(--moss); max-width: 42ch; text-wrap: pretty; }
.lrow .bprice { font-weight: 700; font-size: 1.1em; white-space: nowrap; justify-self: end; }
.lrow:hover { transform: translateX(6px); }
.lrow:hover .bname { color: var(--fox); }
@media (max-width: 760px) {
  .lrow { grid-template-columns: 1fr auto; }
  .lrow .bdesc { grid-column: 1 / -1; }
}

/* ---------- bouquet lineup ---------- */
.bouquet-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.5vw, 28px);
  align-items: end; margin-top: clamp(36px, 5vh, 56px);
}
.bq { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.bq .vase {
  display: flex; align-items: flex-end; justify-content: center;
  width: 100%; height: var(--h, 220px);
  border-radius: 999px 999px 0 0; background: var(--blush); overflow: hidden;
  transition: background-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.bq:nth-child(1) { --h: clamp(120px, 15vw, 190px); }
.bq:nth-child(2) { --h: clamp(150px, 19vw, 240px); }
.bq:nth-child(3) { --h: clamp(185px, 23vw, 295px); }
.bq:nth-child(4) { --h: clamp(215px, 27vw, 350px); }
.bq svg { width: 80%; height: 90%; color: var(--leaf); transform-origin: 50% 100%; transition: transform 0.6s var(--ease-out); }
.bq:hover .vase { background: color-mix(in oklab, var(--blush) 80%, var(--fox)); transform: translateY(-6px); }
.bq:hover svg { transform: rotate(2deg); }
.bq:active .vase { transform: translateY(-2px) scale(0.99); }
.bq .bmeta { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.bq .bname { font-family: var(--disp); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; transition: color 0.2s var(--ease-out); }
.bq:hover .bname { color: var(--fox); }
.bq .bdesc { color: var(--moss); font-size: 14.5px; line-height: 1.45; max-width: 24ch; text-wrap: pretty; }
.bq .bprice { font-weight: 700; margin-top: 2px; }
.ledger.solo { margin-top: clamp(28px, 4vh, 44px); }
@media (prefers-reduced-motion: no-preference) {
  .bq path.draw {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0) * 90ms + 200ms);
  }
  .bq.in path.draw { stroke-dashoffset: 0; }
  .bq .blossom {
    transform: scale(0); transform-box: fill-box; transform-origin: center;
    transition: transform 0.55s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0) * 90ms + 500ms);
  }
  .bq.in .blossom { transform: scale(1); }
}
@media (max-width: 720px) {
  .bouquet-row { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
}

/* ---------- little interactions ---------- */
.arch image-slot { transition: transform 1s var(--ease-out); }
.arch:hover image-slot { transform: scale(1.04); }
.stems li { transition: transform 0.3s var(--ease-out), opacity 0.25s ease; }
.stems .stem { transition: color 0.2s var(--ease-out); }
.stems li:hover { transform: translateX(6px); }
.stems li:hover .stem { color: var(--fox); }

/* ---------- shop / grown close ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split .pic { aspect-ratio: 4 / 5; max-width: 480px; width: 100%; }
.split .txt h2 { max-width: 14ch; }
.split .txt p { margin-top: 18px; color: var(--moss); max-width: 46ch; text-wrap: pretty; }
.split .txt .textlink { margin-top: 26px; }
.split.rev .pic { justify-self: end; }
@media (max-width: 820px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split .pic, .split.rev .pic { justify-self: start; max-width: 420px; }
}

/* ---------- in season: the almanac ---------- */
.month-rail { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 22px; }
.mtab {
  min-height: 44px; min-width: 48px; padding: 0 12px;
  background: none; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss); cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.mtab:hover { color: var(--fox); border-color: var(--rule); }
.mtab[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: var(--paper); }
.mtab.now::after {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--fox); margin-left: 7px; vertical-align: 2px;
}
.stems.fading li { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .stems li.enter { animation: fox-rise 0.5s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
}
.season-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 90px); align-items: center;
  margin-top: clamp(32px, 5vh, 52px);
}
.stems {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vh, 44px) clamp(24px, 3vw, 44px); align-content: start;
}
.stems li { position: relative; padding-left: 22px; }
.stems li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 12px;
  background: var(--fox); border-radius: 70% 70% 60% 60% / 80% 80% 45% 45%;
}
.stems .stem { display: block; font-family: var(--disp); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.08; }
.stems .note { display: block; margin-top: 4px; color: var(--moss); font-size: 15px; font-style: italic; }
@media (max-width: 560px) { .stems { grid-template-columns: 1fr; gap: 20px; } }
.season-note {
  margin-top: clamp(28px, 4.5vh, 44px); padding-top: clamp(18px, 3vh, 26px);
  border-top: 1px solid var(--rule);
  color: var(--moss); max-width: 52ch; text-wrap: pretty;
}
.season-side .pic { aspect-ratio: 1 / 1; max-width: 400px; margin-left: auto; }
@media (max-width: 820px) {
  .season-grid { grid-template-columns: 1fr; }
  .season-side .pic { max-width: 340px; margin-left: 0; }
}

/* ---------- weddings (blush) ---------- */
.weddings { background: var(--blush); }
.weddings .split .txt p { color: color-mix(in oklab, var(--leaf) 72%, var(--blush)); }

/* ---------- quote ---------- */
.quote-block { max-width: 56rem; }
@media (prefers-reduced-motion: no-preference) {
  .quote-block .qwrap { transition: opacity 0.26s ease; }
}
.quote-block.fading .qwrap { opacity: 0; }
.quote-block .more { display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline; }
button.textlink { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: var(--body); font-size: 1em; padding-top: 0; }
.quote-block blockquote {
  font-family: var(--disp); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.2;
  text-wrap: pretty;
}
.quote-block blockquote em { color: var(--fox); }
.quote-block .attr { margin-top: 18px; color: var(--moss); font-weight: 700; font-size: 15px; }
.quote-block .more { margin-top: 26px; }

/* ---------- find us ---------- */
.find-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 70px); margin-top: clamp(32px, 5vh, 52px); align-items: start;
}
.mapbox { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--blush); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--blush); border: 1px dashed var(--rule); border-radius: 14px;
  font-family: var(--body); font-size: 15.5px; color: var(--leaf); cursor: pointer;
  transition: background-color 0.25s var(--ease-out);
}
.map-facade:hover { background: color-mix(in oklab, var(--blush) 80%, var(--fox) 20%); }
.map-facade .pin { color: var(--fox); }
.map-facade strong { font-size: 16.5px; }
.map-facade span { color: var(--moss); }
.find-info address { font-style: normal; font-family: var(--disp); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.find-info .call { margin-top: 18px; }
.hours { border-collapse: collapse; margin-top: 28px; width: 100%; max-width: 360px; }
.hours caption { text-align: left; font-weight: 700; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--moss); padding-bottom: 10px; }
.hours th { text-align: left; font-weight: 500; padding: 5px 24px 5px 0; }
.hours td { text-align: right; padding: 5px 0; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--fox); font-weight: 700; }
.open-now { margin-top: 14px; color: var(--fox); font-weight: 700; }
.practical { margin-top: 18px; color: var(--moss); max-width: 40ch; text-wrap: pretty; }
@media (max-width: 820px) { .find-grid { grid-template-columns: 1fr; } }

/* ---------- order (leaf block) ---------- */
.order-block { background: var(--leaf); color: var(--paper); border-radius: 0; }
.order-block h2 em { color: #E9A9C6; }
.order-block .sub { color: rgba(248, 241, 231, 0.72); }
.order-block .btn-primary { background: var(--paper); color: var(--leaf); border-color: var(--paper); font-size: 17px; padding: 14px 34px; }
.order-block .btn-primary:hover { background: #E9A9C6; border-color: #E9A9C6; }
.form-note { font-size: 14px; color: rgba(248, 241, 231, 0.55); }
/* mad-lib order form */
.order-form { margin-top: clamp(32px, 5vh, 52px); max-width: 56rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.madlib .line { font-family: var(--disp); font-size: clamp(1.45rem, 2.9vw, 2.4rem); line-height: 1.75; text-wrap: pretty; }
.madlib .line + .line { margin-top: 14px; }
.blank {
  font: inherit; font-style: italic; color: #E9A9C6;
  background: transparent; border: 0; border-bottom: 1px solid rgba(248, 241, 231, 0.38);
  border-radius: 0; padding: 0 4px 2px; max-width: 100%;
  transition: border-color 0.2s var(--ease-out);
}
.blank::placeholder { color: rgba(233, 169, 198, 0.5); font-style: italic; }
.blank:hover { border-bottom-color: rgba(248, 241, 231, 0.7); }
.blank:focus { outline: none; border-bottom-color: #E9A9C6; box-shadow: 0 2px 0 0 #E9A9C6; }
select.blank {
  appearance: none; cursor: pointer; padding-right: 1.05em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E9A9C6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px bottom 0.5em; background-size: 0.55em;
}
select.blank option { color: var(--leaf); background: var(--paper); font-style: normal; }
.card-blank {
  display: block; width: 100%; max-width: 44rem; margin-top: 6px;
  line-height: 1.75; min-height: calc(1.75em * 2 + 6px); resize: vertical; overflow: auto;
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(1.75em - 1px), rgba(248, 241, 231, 0.28) calc(1.75em - 1px) 1.75em);
  border-bottom: 0; padding: 0 4px;
}
.card-blank:focus { box-shadow: none; outline: 1px dashed rgba(233, 169, 198, 0.6); outline-offset: 6px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 40px); }
.form-error.show { display: block; }
.order-success { display: none; margin-top: clamp(32px, 5vh, 52px); max-width: 46rem; }
.order-success.show { display: block; }
.order-success .big {
  display: flex; align-items: flex-start; gap: 16px;
  font-family: var(--disp); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1;
}
.order-success .bloom-mark { flex: none; margin-top: 0.18em; color: #E9A9C6; }
@media (prefers-reduced-motion: no-preference) {
  .order-success.show .bloom-mark path {
    stroke-dasharray: 130; stroke-dashoffset: 130;
    animation: fox-draw 0.9s var(--ease-out) 0.1s forwards;
  }
}
.form-error { margin-top: 16px; color: #F2B8CF; font-weight: 700; display: none; }

.order-success p:not(.big) { margin-top: 18px; color: rgba(248, 241, 231, 0.72); }
.order-success .echo { font-family: var(--disp); font-style: italic; font-size: 1.35em; color: #E9A9C6; }

/* one-shot petal fall on success */
.order-block { position: relative; }
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute; top: -20px; width: 11px; height: 15px;
  background: #E9A9C6; opacity: 0.9;
  border-radius: 70% 70% 60% 60% / 80% 80% 45% 45%;
}
@media (prefers-reduced-motion: no-preference) {
  .petal { animation: petal-fall var(--dur, 2.6s) cubic-bezier(0.3, 0, 0.6, 1) var(--delay, 0s) forwards; }
  @keyframes petal-fall {
    from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.95; }
    to { transform: translate3d(var(--dx, 30px), 80vh, 0) rotate(300deg); opacity: 0; }
  }
}
.site-foot { margin-top: clamp(56px, 9vh, 96px); border-top: 1px solid rgba(248, 241, 231, 0.2); padding-top: clamp(32px, 5vh, 48px); }
.site-foot .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-foot .wordmark { color: var(--paper); }
.site-foot .wordmark:hover { color: #E9A9C6; }
.site-foot address { font-style: normal; margin-top: 14px; color: rgba(248, 241, 231, 0.72); }
.site-foot h3 { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248, 241, 231, 0.55); margin-bottom: 12px; }
.site-foot p { color: rgba(248, 241, 231, 0.72); }
.site-foot a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(248, 241, 231, 0.35); }
.site-foot a:hover { color: #E9A9C6; border-bottom-color: #E9A9C6; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(36px, 6vh, 56px); padding-bottom: 8px;
  color: rgba(248, 241, 231, 0.55); font-size: 14px;
}
.demo-credit { font-size: 14px; color: rgba(248, 241, 231, 0.55); }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* ---------- sticky mobile bar ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; grid-template-columns: 1fr auto; gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px); border-top: 1px solid var(--rule-soft);
  transform: translateY(110%);
}
.stickybar .btn { min-height: 50px; }
.stickybar .callbtn { padding: 12px 18px; }
@media (prefers-reduced-motion: no-preference) {
  .stickybar { transition: transform 0.4s var(--ease-out); }
}
@media (max-width: 760px) {
  .stickybar { display: grid; }
  .stickybar.on { transform: none; }
}

/* ---------- 404 ---------- */
.lost {
  min-height: 88svh; display: grid; align-content: center; justify-items: start;
  padding: 40px var(--gut);
}
.lost h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.02; }
.lost p { margin-top: 20px; color: var(--moss); max-width: 44ch; text-wrap: pretty; }
.lost .btn { margin-top: 32px; }
