/* ============================================================
   Molly Engels — brand tokens & base
   ============================================================ */
@font-face {
  font-family: "Exposure";
  src: url("./assets/fonts/exposure.otf") format("opentype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Muoto Mono";
  src: url("./assets/fonts/muoto-mono.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* palette — black always rides on top of a color splash */
  --ink: #222222;
  --white: #ffffff;
  --yellow: #f2e64d;
  --red: #da3837;
  --bubblegum: #f0b9d5;
  --blue: #d2e5ee;
  --honey: #f5f1be;

  --font-display: "Exposure", Georgia, serif;
  --font-mono: "Muoto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-pill: 999px;
  --tracking-label: 0.14em;
  --tracking-display: -0.02em;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

/* shared bits ------------------------------------------------ */
.label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background-color: var(--bubblegum);
  /* chunky blue + pink stripes, centered */
  background-image: repeating-linear-gradient(
    90deg,
    var(--blue) 0, var(--blue) 100px,
    var(--bubblegum) 100px, var(--bubblegum) 200px
  );
  background-position: center top;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* the whole scene scales as one unit so stamps always sit outside the envelope */
.loading__scene {
  position: relative;
  width: 1240px;
  height: 820px;
  transform: scale(var(--scene-scale, 1));
  transform-origin: center center;
}

.loading__instruction {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  z-index: 5;
}

/* honey "trays" the stamp options sit in — read as pullable assets */
.stamp-tray {
  position: absolute;
  top: 96px;
  width: 112px;
  height: 112px;
  background: var(--honey);
  border: 2px solid var(--ink);
  border-radius: 10px;
  z-index: 3;
}
.tray-1 { left: 436px; }
.tray-2 { left: 564px; }
.tray-3 { left: 692px; }

/* skip option — outside the envelope, below it */
.loading__skip {
  position: absolute;
  left: 50%;
  top: 772px;
  transform: translateX(-50%);
  background: var(--honey);
  font-size: 12px;
  padding: 10px 22px;
  z-index: 5;
}

/* envelope --------------------------------------------------- */
.envelope {
  position: absolute;
  left: 240px;
  top: 268px;
  width: 760px;
  height: 470px;
  background: var(--honey);
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 14px 18px 0 rgba(34, 34, 34, 0.18);
  padding: 34px 40px;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(.4, 0, 1, 1), opacity 0.5s ease 0.08s;
}
/* clicking ENTER "mails" the letter off to the right */
.envelope.is-sent { transform: translate(1800px, -50px) rotate(6deg); opacity: 0; }
.envelope__tagline {
  position: absolute;
  top: 34px;
  left: 40px;
  max-width: 300px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
}
.envelope__wordmark {
  position: absolute;
  left: 50px;
  bottom: 28px;
  width: 660px;
  height: auto;
}

/* slots ------------------------------------------------------ */
.slots {
  position: absolute;
  top: 24px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
/* a single neutral slot — any picked stamp can go here */
.slot {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  transform: rotate(-4deg);
  background: rgba(255, 255, 255, 0.55);
  border: 2.5px dashed rgba(34, 34, 34, 0.5);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 22px;
  color: rgba(34, 34, 34, 0.6);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.slot.is-over {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--ink);
}
.slot.is-filled {
  background: transparent;
  border-color: transparent;
}
.slot .plus {
  max-width: 72px;
  pointer-events: none;
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.slot.is-filled .plus { display: none; }
.slot .placed {
  height: auto;
  filter: drop-shadow(4px 5px 0 rgba(34, 34, 34, 0.22));
}

/* enter button ---------------------------------------------- */
.enter-btn {
  position: absolute;
  left: 50%;
  top: 176px;
  transform: translateX(-50%);
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(34, 34, 34, 0.05);
  border: 3px dashed rgba(34, 34, 34, 0.45);
  text-align: center;
  cursor: not-allowed;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.enter-btn__word {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(34, 34, 34, 0.38);
  transition: color 0.3s ease;
}
.enter-btn__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.55);
  transition: color 0.3s ease;
}
.enter-btn.is-unlocked {
  background: var(--red);
  border: 3px solid var(--ink);
  box-shadow: 7px 9px 0 var(--ink);
  cursor: pointer;
}
.enter-btn.is-unlocked .enter-btn__word { color: var(--ink); }
.enter-btn.is-unlocked .enter-btn__hint { color: var(--ink); }
.enter-btn.is-unlocked:hover { transform: translateX(-50%) translateY(-2px); }
.enter-btn.is-unlocked:active { transform: translateX(-50%) translateY(2px); box-shadow: 3px 4px 0 var(--ink); }

/* draggable stamps ------------------------------------------ */
.stamp {
  position: absolute;
  z-index: 4;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  /* bold, hard offset shadow (like the envelope) so stamps read as grabbable */
  filter: drop-shadow(4px 5px 0 rgba(34, 34, 34, 0.22));
  transition: left 0.25s cubic-bezier(.2,.8,.3,1), top 0.25s cubic-bezier(.2,.8,.3,1), transform 0.25s, filter 0.18s ease;
}
.stamp.is-dragging { cursor: grabbing; z-index: 30; transition: none; filter: drop-shadow(9px 11px 0 rgba(34, 34, 34, 0.24)); }
.stamp.is-placed { display: none; } /* the placed clone lives inside the slot */

/* ============================================================
   HOME
   ============================================================ */
html { scroll-behavior: smooth; }

/* home starts just below the viewport, then slides up over the loading screen on ENTER */
.home { position: relative; z-index: 200; transform: translateY(100vh); }
.home.is-revealed { transform: translateY(0); transition: transform 0.9s cubic-bezier(.16, 1, .3, 1); }

/* pill variants + interactivity */
.pill--bubblegum { background: var(--bubblegum); }
.pill--blue { background: var(--blue); }
.pill--yellow { background: var(--yellow); }
.pill--honey { background: var(--honey); }
.pill--red { background: var(--red); color: var(--white); }
a.pill, button.pill { cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease; text-decoration: none; }
a.pill:hover, button.pill:hover { transform: translateY(-2px); background: var(--blue); color: var(--ink); border-color: var(--ink); }
a.email-pill:hover { background: var(--bubblegum); }
a.map-pill:hover { background: var(--yellow); }

/* NAV -------------------------------------------------------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px clamp(24px, 4vw, 56px);
  background: var(--yellow);
}
.nav__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav__flower { width: 34px; height: auto; }
.nav__right { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.nav__link { text-decoration: none; transition: opacity 0.15s ease; }
.nav__link:hover { opacity: 0.6; }

/* HERO ------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--yellow);
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px;
  padding: 60px clamp(24px, 4vw, 56px) 84px;
  min-height: 84vh;
}
.hero__wordmark { width: min(620px, 82vw); height: auto; position: relative; z-index: 2; }
.hero__tagline {
  font-family: var(--font-mono); font-size: 16px; line-height: 24px;
  text-align: center; max-width: 520px; position: relative; z-index: 2; margin: 0;
}
.hero__story { display: flex; gap: 22px; position: relative; z-index: 2; margin: 14px 0 0; }
.hero__story-word {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 3px solid var(--u);
}
.hero-stamp { position: absolute; z-index: 1; }
.hs-eye    { left: 8%;  top: 13%; width: 80px;  transform: rotate(-9deg); }
.hs-tulip  { left: 12%; top: 60%; width: 66px;  transform: rotate(7deg); }
.hs-book   { right: 8%; top: 11%; width: 98px;  transform: rotate(7deg); }
.hs-shelf  { right: 11%; top: 59%; width: 98px; transform: rotate(-7deg); }
.hs-edge-l { left: -52px; top: 33%; width: 106px; transform: rotate(-13deg); }
.hs-edge-r { right: -52px; top: 33%; width: 106px; transform: rotate(12deg); }

/* MARQUEE ---------------------------------------------------- */
.marquee {
  background: var(--bubblegum);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden; padding: 18px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee__group { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee__group > span {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--ink);
}
.marquee__star { color: var(--red) !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SERVICES (light blue) — Swiss accordion -------------------- */
.services {
  position: relative; background: var(--blue);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 66px);
  padding: clamp(80px, 9vw, 104px) clamp(24px, 4vw, 64px);
}
.services__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }
.services__headline {
  font-family: var(--font-display); font-size: clamp(48px, 5.2vw, 74px);
  line-height: 0.96; letter-spacing: var(--tracking-display); color: var(--ink); margin: 0;
}
.services__sub { font-family: var(--font-mono); font-size: 15px; line-height: 24px; max-width: 480px; margin: 0; }

/* accordion — maximalist: colored bands, big titles, striped topper */
.accordion {
  --acc-pad: clamp(22px, 3vw, 44px);
  --acc-num-w: clamp(30px, 3.6vw, 56px);
  --acc-gap: clamp(16px, 2.6vw, 34px);
  border: 3px solid var(--ink); border-radius: 4px; overflow: hidden;
}
/* chunky striped cap — top + bottom */
.accordion::before,
.accordion::after {
  content: ""; display: block; height: 40px;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, var(--yellow) 24px 48px);
}
.accordion::before { border-bottom: 3px solid var(--ink); }
.accordion::after { border-top: 3px solid var(--ink); }
.acc-item { position: relative; }
.acc-item + .acc-item { border-top: 3px solid var(--ink); }
.acc-item:nth-child(4n+1) { background: var(--bubblegum); }
.acc-item:nth-child(4n+2) { background: var(--honey); }
.acc-item:nth-child(4n+3) { background: var(--yellow); }
.acc-item:nth-child(4n+4) { background: var(--blue); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: var(--acc-gap);
  padding: clamp(20px, 2.5vw, 30px) var(--acc-pad);
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  transition: padding-left 0.2s ease;
}
.acc-head:hover { padding-left: calc(var(--acc-pad) + 12px); }
.acc-title { flex: 1; font-family: var(--font-display); font-size: clamp(27px, 5vw, 60px); line-height: 0.98; letter-spacing: var(--tracking-display); }
.acc-icon { position: relative; flex-shrink: 0; width: 26px; height: 26px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.acc-icon::before { left: 0; top: 50%; width: 100%; height: 3.5px; transform: translateY(-50%); }
.acc-icon::after { top: 0; left: 50%; width: 3.5px; height: 100%; transform: translateX(-50%); transition: transform 0.3s ease, opacity 0.25s ease; }
.acc-item.is-open .acc-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s cubic-bezier(.4, 0, .2, 1); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body__inner { overflow: hidden; padding: 0 var(--acc-pad); }
.acc-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--ink); background: transparent;
  border: 2px solid var(--ink); border-radius: 5px; padding: 5px 12px; margin: 2px 0 16px;
}
/* tag fill contrasts the band it sits on */
.acc-item:nth-child(4n+1) .acc-tag { background: var(--yellow); }
.acc-item:nth-child(4n+2) .acc-tag { background: var(--bubblegum); }
.acc-item:nth-child(4n+3) .acc-tag { background: var(--blue); }
.acc-item:nth-child(4n+4) .acc-tag { background: var(--yellow); }
.acc-desc { font-family: var(--font-mono); font-size: 14px; line-height: 23px; color: var(--ink); max-width: 640px; margin: 0; padding-bottom: 34px; }

.client-deck { display: flex; flex-direction: column; align-items: center; gap: 24px; flex-shrink: 0; width: 432px; }
.deck-stack { position: relative; width: 404px; height: 338px; }
.deck-card {
  position: absolute; top: 0; left: 0; width: 376px; height: 314px;
  border: 2.5px solid var(--ink); border-radius: 12px;
  display: flex; flex-direction: column; gap: 13px; padding: 26px 28px;
  transition: transform 0.45s cubic-bezier(.2, .8, .25, 1);
  will-change: transform;
}
.card--blue { background: var(--blue); }
.card--honey { background: var(--honey); }
.card--pink { background: var(--bubblegum); }
/* stacked positions (cattywampus) */
.at-front { transform: translate(0, 0) rotate(-1.5deg); z-index: 3; }
.at-mid   { transform: translate(15px, 13px) rotate(3.5deg); z-index: 2; }
.at-back  { transform: translate(28px, 24px) rotate(6.5deg); z-index: 1; }
/* shuffle animations */
.deck-card.is-dealing { animation: deal-to-back 0.5s cubic-bezier(.45, .05, .25, 1) forwards; }
.deck-card.is-dealing-back { animation: deal-from-back 0.5s cubic-bezier(.45, .05, .25, 1) forwards; }
@keyframes deal-to-back {
  0%   { transform: translate(0, 0) rotate(-1.5deg); z-index: 9; }
  45%  { transform: translate(112px, -30px) rotate(13deg); z-index: 9; }
  55%  { z-index: 0; }
  100% { transform: translate(28px, 24px) rotate(6.5deg); z-index: 0; }
}
@keyframes deal-from-back {
  0%   { transform: translate(112px, -30px) rotate(13deg); z-index: 9; }
  100% { transform: translate(0, 0) rotate(-1.5deg); z-index: 9; }
}
.deck-card__head { display: flex; align-items: center; justify-content: space-between; }
.deck-card__name { font-family: var(--font-display); font-size: 26px; line-height: 1.0; letter-spacing: var(--tracking-display); margin: 0; }
.deck-card__tag { align-self: flex-start; font-size: 11px; padding: 7px 15px; }
.deck-card__blurb { font-family: var(--font-mono); font-size: 12.5px; line-height: 19px; margin: 0; }
.deck-nav { display: flex; align-items: center; gap: 20px; }
.deck-arrow {
  width: 42px; height: 42px; border-radius: var(--radius-pill); border: 2px solid var(--ink);
  background: var(--honey); color: var(--ink); font-family: var(--font-mono); font-size: 17px;
  cursor: pointer; display: grid; place-items: center; transition: transform 0.15s ease;
}
.deck-arrow--filled { background: var(--ink); color: var(--honey); }
.deck-arrow:hover { transform: translateY(-2px); background: var(--blue); color: var(--ink); }
.deck-arrow:active { transform: translateY(1px); }
.deck-dots { display: flex; align-items: center; gap: 9px; }
.deck-dot { width: 11px; height: 11px; border-radius: var(--radius-pill); border: 2px solid var(--ink); background: transparent; transition: background 0.2s ease; }
.deck-dot.is-active { background: var(--ink); }

/* ABOUT (blue) — open letter -------------------------------- */
.about { position: relative; overflow: hidden; background: var(--red); display: flex; align-items: center; justify-content: center; padding: clamp(80px, 10vw, 128px) clamp(24px, 4vw, 96px); }
.about__stage { position: relative; }
/* two extra Molly photos flanking the letter (desktop only) */
.about-photo { position: absolute; margin: 0; width: clamp(158px, 14vw, 208px); aspect-ratio: 300 / 361; z-index: 7; }
.about-photo--left { top: 40%; left: 0; transform: translateX(calc(-100% + 34px)) rotate(-6deg); }
.about-photo--right { top: 9%; right: 0; transform: translateX(calc(100% - 34px)) rotate(5deg); }
.about-photo--left .letter__photo-img { object-position: center 44%; }
.about-photo--right .letter__photo-img { object-position: center center; }
@media (max-width: 1200px) { .about-photo { display: none; } }
.letter {
  position: relative; width: min(840px, 92vw); background: var(--honey); border-radius: 2px;
  padding: 58px clamp(28px, 5vw, 66px) 62px; transform: rotate(-1.5deg);
}
.letter__fold { position: absolute; top: 0; left: 0; width: 46px; height: 46px; z-index: 4; }
.letter__fold::before { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: polygon(0 0, 100% 0, 0 100%); }
.letter__fold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #d7d094, #f2ecb6); clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.letter__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1.5px solid rgba(34, 34, 34, 0.22); }
.letter__salutation { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 52px); line-height: 0.98; letter-spacing: var(--tracking-display); margin: 26px 0 0; }
.letter__cols { display: flex; align-items: flex-start; gap: 46px; margin-top: 44px; }
.letter__col { flex: 1; min-width: 0; }
.letter__body { font-family: var(--font-mono); font-size: 14px; line-height: 22px; margin: 0 0 15px; }
.letter__signoff { margin-top: 26px; }
.letter__yours { font-family: var(--font-mono); font-size: 14px; }
.letter__sign { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.letter__me { font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: var(--tracking-display); }
.letter__flower { width: 34px; height: auto; }
.letter__photo { position: relative; width: min(300px, 100%); aspect-ratio: 300 / 361; margin: 26px auto 0; transform: rotate(3deg); }
.letter__photo--mid { display: none; } /* second photo — shown on mobile only to break up the scroll */
.letter__photo-frame { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(3px 5px 3px rgba(34, 34, 34, 0.16)); }
.letter__photo-img { position: absolute; top: 7.2%; left: 8.6%; width: 82.8%; height: 85.6%; object-fit: cover; object-position: center 16%; border: 2px solid var(--ink); z-index: 1; }
.letter__tape { position: absolute; top: -14px; left: 50%; width: 42%; height: 30px; background: rgba(242, 230, 77, 0.45); border: 1px solid rgba(34, 34, 34, 0.18); transform: translateX(-50%) rotate(-5deg); z-index: 5; }
.letter-stamp { position: absolute; z-index: 3; height: auto; }
.ls-1 { width: 92px; right: -20px; bottom: -22px; transform: rotate(8deg); z-index: 6; }
.ls-1--mob { display: none; } /* dog stamp — mobile only; eye stays on desktop */

/* CTA (yellow) ---------------------------------------------- */
.cta { position: relative; background: var(--yellow); overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: clamp(96px, 11vw, 132px) clamp(24px, 4vw, 96px) clamp(104px, 12vw, 140px); text-align: center; }
.cta__logo { position: relative; z-index: 2; width: clamp(58px, 7vw, 78px); height: auto; margin-bottom: 4px; }
.cta__headline { font-family: var(--font-display); font-size: clamp(66px, 10vw, 124px); line-height: 0.86; letter-spacing: var(--tracking-display); margin: 0; }
.cta__sub { font-family: var(--font-mono); font-size: 16px; line-height: 24px; max-width: 440px; margin: 0; }
.cta__btn { font-size: 16px; padding: 20px 36px; }
.cta-stamp { position: absolute; z-index: 1; }
.cta-stamp--book { left: 10%; top: 18%; width: 130px; transform: rotate(-11deg); }
.cta-stamp--tulip { right: 12%; bottom: 18%; width: 86px; transform: rotate(9deg); }

/* FOOTER ----------------------------------------------------- */
.footer {
  position: relative; padding: 70px clamp(24px, 4vw, 56px) 48px;
  background-color: var(--bubblegum);
  background-image: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 100px, rgba(0,0,0,0) 100px, rgba(0,0,0,0) 200px);
  background-position: center top;
  /* stripes drift slowly & seamlessly (pattern repeats every 200px) */
  animation: footer-stripes 9s linear infinite;
}
@keyframes footer-stripes {
  from { background-position: 0 top; }
  to   { background-position: 200px top; }
}
@media (prefers-reduced-motion: reduce) {
  .footer { animation: none; }
}
.footer__logo { display: block; width: 100%; max-width: 1160px; height: auto; margin: 0 auto; position: relative; z-index: 1; }
.footer__pills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; position: relative; z-index: 1; }
.footer__legal { position: relative; z-index: 1; margin: 22px 0 0; text-align: center; }
.footer__legal span {
  display: inline-block; background: var(--honey); border: 2px solid var(--ink); border-radius: var(--radius-pill);
  padding: 7px 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--ink);
}
.footer__flower { width: 22px; height: auto; }
.footer__group { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.footer__pills .pill { font-size: 12px; padding: 9px 16px; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 700px) {
  /* corner stamp: dog on mobile, eye on desktop */
  .ls-1--desk { display: none; }
  .ls-1--mob { display: block; }
  /* nav */
  .nav { padding: 20px 18px; }
  .nav__brand .label { display: none; }
  .nav__flower { width: 30px; }
  .nav__right { gap: 14px; }
  .nav__link { font-size: 11px; }
  .nav .pill { font-size: 11px; padding: 8px 14px; }

  /* hero */
  .hero { padding: 20px 18px 60px; }
  .hero__wordmark { width: 90vw; }
  .hero-stamp { display: none; }
  .hero__tagline { font-size: 14px; }

  /* statement / services */
  .services { padding: 60px 18px; gap: 38px; }
  .services__headline { font-size: 39px; }
  .acc-title { font-size: clamp(22px, 6.6vw, 30px); }
  .acc-num { width: 30px; }
  .acc-body__inner { padding-left: 30px; }

  /* about / letter — stack to one column, keep signature last */
  .about { padding: 60px 16px; }
  .letter { padding: 52px 22px 42px; transform: none; }
  .letter__salutation { font-size: 38px; }
  .letter__cols { flex-direction: column; gap: 0; margin-top: 30px; }
  .letter__col { display: contents; }
  .letter__body { order: 0; }
  .letter__photo { order: 1; margin: 28px auto 0; }
  .letter__photo--mid { display: block; order: 0; margin: 26px auto; transform: rotate(-2.5deg); }
  .letter__signoff { order: 2; margin-top: 26px; }

  /* cta */
  .cta { padding: 70px 20px 78px; gap: 24px; }
  .cta__headline { font-size: 46px; line-height: 0.92; }
  .cta-stamp { display: none; }

  /* footer — contact + pages first, wordmark near the bottom, copyright last */
  .footer { padding: 52px 16px 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; animation: none; }
  .footer__pills { display: contents; }
  .footer__pages { order: 1; }
  .footer__contact { order: 2; }
  .footer__logo { order: 3; width: 92%; margin: 4px auto 0; }
  .footer__copyright { order: 4; }
  .footer__pills .pill { font-size: 11px; padding: 8px 13px; }
}
