/* ================= moody media ================= */

@font-face { font-family: "Comic Neue"; src: url("../assets/fonts/ComicNeue-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Comic Neue"; src: url("../assets/fonts/ComicNeue-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Comic Neue"; src: url("../assets/fonts/ComicNeue-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }

:root {
  --cherry: #6E1F2B;
  --cherry-deep: #4a1219;
  --sky: #BCD4EA;
  --pink: #F2A7BE;
  --butter: #F4E1A7;
  --blush: #FCE3EA;
  --paper: #FFFDF8;
  --ink: #3a1a1f;

  --f-head: "Inter", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-hand: "Comic Neue", "Comic Sans MS", cursive;

  --gutter: clamp(18px, 5vw, 56px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--f-head);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--cherry); color: var(--butter);
  padding: 10px 14px; font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* --- type helpers --- */
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.hand  { font-family: var(--f-hand); }
.tag {
  font-family: var(--f-head); font-weight: 600;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  margin: 0;
}

/* --- sparkles: small + sparing --- */
.spark { position: absolute; width: 18px; height: 18px; pointer-events: none; }

/* ================= top bar ================= */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
}
.topbar__logo img { width: clamp(118px, 32vw, 170px); height: auto; filter: drop-shadow(0 1px 8px rgba(40,10,16,.25)); }
.topbar__dm {
  font-family: var(--f-hand); font-weight: 700; font-size: .95rem;
  color: var(--cherry); background: var(--butter);
  padding: 6px 12px 5px; text-decoration: none;
  transform: rotate(2deg);
  box-shadow: 2px 2px 0 var(--cherry);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.topbar__dm:hover { transform: rotate(-2deg) translateY(-2px); box-shadow: 3px 4px 0 var(--cherry); }

/* ================= 1. hero ================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) calc(58px + env(safe-area-inset-bottom));
  color: #fff;
  background: var(--cherry-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  animation: heroZoom 1.8s var(--ease-out) both;
}
.hero::before { /* soft neutral shade, just enough for white/pink/yellow text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 20%),
    linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%);
}
.hero__copy { text-shadow: 0 2px 18px rgba(0,0,0,.28); }

.hero__copy { position: relative; max-width: 40rem; }
.hero__tag { color: var(--butter); margin-bottom: 14px; }
.hero__title { margin: 0; line-height: .86; }
.hero__italic {
  display: block;
  font-size: clamp(2.6rem, 12.5vw, 6.2rem);
  color: var(--pink);
  line-height: .95;
  margin-bottom: .04em;
}
.hero__bold {
  display: block;
  font-weight: 800;
  font-size: clamp(3.1rem, 15.5vw, 8.4rem);
  letter-spacing: -0.065em;
  line-height: .84;
  margin-left: -.03em;
}
.hero__sub {
  max-width: 26ch; margin: 14px 0 0;
  font-size: .98rem; line-height: 1.4; color: rgba(255,255,255,.9);
}

.hero__sub .serif { font-size: 1.25em; color: var(--butter); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }

/* the instagram dm composer button */
.dmbar {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 6px 8px 6px 6px;
  width: min(100%, 320px);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; text-decoration: none;
  transition: transform .25s var(--ease-spring), background .25s, border-color .25s;
}
.dmbar:hover { transform: translateY(-2px); background: rgba(255,255,255,.26); border-color: #fff; }
.dmbar:active { transform: scale(.98); }
.dmbar__cam {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--pink); color: var(--cherry);
}
.dmbar__cam svg { width: 20px; height: 20px; }
.dmbar__field { flex: 1; display: flex; align-items: center; font-size: 1rem; }
.dmbar__pre { color: rgba(255,255,255,.75); margin-right: .3em; }
.dmbar__word { font-weight: 800; letter-spacing: .02em; color: var(--butter); }
.dmbar__caret { width: 2px; height: 1.15em; margin-left: 2px; background: var(--butter); animation: blink 1s steps(1) infinite; }
.dmbar__send { font-weight: 700; font-size: .95rem; color: var(--sky); padding: 0 8px; transition: color .2s; }
.dmbar:hover .dmbar__send { color: #fff; }

.hero__link {
  font-family: var(--f-serif); font-style: italic; font-size: 1.35rem;
  color: var(--butter); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease-out);
  padding-bottom: 2px;
}
.hero__link:hover { background-size: 100% 1px; }

/* handwritten hello */
.hero__note {
  position: absolute; left: var(--gutter); top: 31%;
  margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--butter);
  transform: rotate(-6deg);
  text-shadow: 0 1px 10px rgba(40,10,16,.45);
}
.hero__arrow { width: 54px; margin: 0 0 0 64%; color: var(--butter); }

.hero__scroll {
  position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  margin: 0; font-size: .85rem; color: rgba(255,255,255,.75); white-space: nowrap;
}
.hero__scroll::after { content: ""; display: block; width: 1px; height: 14px; margin: 4px auto 0; background: currentColor; animation: drip 1.8s var(--ease-out) infinite; transform-origin: top; }

.spark--a { color: var(--butter); right: 14%; top: 36%; width: 16px; height: 16px; }
.spark--b { color: var(--pink); right: 8%; bottom: 34%; width: 22px; height: 22px; }

/* screen time notification */
.notif {
  position: absolute; z-index: 15;
  top: calc(70px + env(safe-area-inset-top)); left: 50%;
  width: min(calc(100% - 24px), 380px);
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  padding: 11px 13px;
  border: 0; border-radius: 20px;
  background: rgba(245, 240, 242, .74);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  color: #1d1d1f;
  box-shadow: 0 10px 40px rgba(40,10,16,.25);
  cursor: pointer;
  transform: translate(-50%, -160%);
  opacity: 0;
  transition: transform .7s var(--ease-spring), opacity .4s, box-shadow .25s;
}
.notif.is-in { transform: translate(-50%, 0); opacity: 1; }
.notif.is-in:hover { transform: translate(-50%, -3px); box-shadow: 0 16px 44px rgba(40,10,16,.32); }
.notif.is-out { transform: translate(-50%, -160%); opacity: 0; }
.notif__icon svg { width: 38px; height: 38px; }
.notif__body { flex: 1; display: grid; gap: 1px; font-size: .86rem; line-height: 1.28; }
.notif__top { display: flex; justify-content: space-between; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(29,29,31,.55); }
.notif__app { font-weight: 600; }
.notif__title { font-weight: 700; }
.notif__text { color: rgba(29,29,31,.8); }

/* entrance */
.hero__tag, .hero__italic, .hero__bold, .hero__sub, .hero__ctas, .hero__note {
  animation: rise .9s var(--ease-out) both;
}
.hero__tag    { animation-delay: .15s; }
.hero__italic { animation-delay: .28s; }
.hero__bold   { animation-delay: .4s; }
.hero__sub    { animation-delay: .55s; }
.hero__ctas   { animation-delay: .68s; }
.hero__note   { animation: noteIn .8s var(--ease-spring) 1s both; }

@keyframes rise   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes noteIn { from { opacity: 0; transform: rotate(-14deg) scale(.8); } to { opacity: 1; transform: rotate(-6deg); } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* desktop: headline goes huge, notification tucks top-right like a real phone banner */
@media (min-width: 900px) {
  .tag { font-size: .7rem; letter-spacing: .32em; }
  .hero { padding-bottom: 88px; }
  /* one full-bleed photo, zoomed a touch so kaelee sits right of the headline */
  .hero { background: var(--cherry-deep); }
  .hero__photo { overflow: hidden; }
  .hero__photo img { width: 104%; max-width: none; object-position: 50% 53%; }
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 18%),
      linear-gradient(to right, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,0) 58%),
      linear-gradient(to top, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 40%);
  }
  .hero__copy { max-width: min(39vw, 44rem); }
  .hero__italic { font-size: clamp(2.8rem, 5vw, 5.2rem); }
  .hero__bold { font-size: clamp(3.8rem, 7.2vw, 7.2rem); }
  .hero__sub { font-size: 1.1rem; }
  .notif { left: auto; right: var(--gutter); top: 96px; transform: translateY(-160%); }
  .notif.is-in { transform: none; }
  .notif.is-in:hover { transform: translateY(-3px); }
  .notif.is-out { transform: translateY(-160%); }
  .hero__note { left: 57%; right: auto; top: 27%; font-size: 1.45rem; transform: rotate(5deg); }
  .hero__note .hero__arrow { transform: scaleX(-1); margin: 0 0 0 -10%; }
  .spark--a { right: auto; left: 36%; top: 22%; }
  .spark--b { right: 12%; bottom: 22%; }
}



/* ================= 2. about ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.about {
  position: relative;
  isolation: isolate;
  /* softened cherry: warmer base, pink glow up top, a hint of butter below */
  background:
    /* cherry, matched to the wax seal */
    radial-gradient(110% 70% at 10% 0%, rgba(166,58,76,.55), rgba(166,58,76,0) 62%),
    linear-gradient(170deg, #80283A 0%, #7A2231 55%, #6E1F2B 100%);
  color: var(--butter);
  padding: 76px var(--gutter) 96px;
  overflow: hidden;
}
.about::before { /* soft paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .4; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.about__head { max-width: 40rem; margin-bottom: 0; }
.about__tag { color: var(--sky); margin-bottom: 12px; }
.about__title { margin: 0; line-height: .9; }
.about__title .serif { display: block; color: #fff; font-size: clamp(2.3rem, 10.5vw, 4.6rem); }
.about__bold { display: block; color: var(--sky); font-weight: 800; font-size: clamp(3rem, 14vw, 6.4rem); letter-spacing: -0.065em; line-height: .86; }
.about__hint { margin: 18px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--sky); transform: rotate(-2deg); transform-origin: left; }

/* --- the envelope --- */
.envwrap {
  display: grid; place-items: center;
  padding: clamp(140px, 42vw, 200px) 0 32px; /* room for the flap + letter to rise */
  transition: opacity .35s, transform .35s var(--ease-out);
}
.envwrap.is-gone { opacity: 0; transform: translateY(20px) scale(.94); }

.envelope {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 3 / 2;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  perspective: 1600px;
  transform: rotate(-2.5deg);
  transition: transform .45s var(--ease-spring);
}
.envelope > span, .envelope > svg { position: absolute; inset: 0; }

/* inside of the envelope: pink paper with a gingham liner + depth shadow */
.envelope__back {
  border-radius: 5px;
  background: #D9D1C1;
  box-shadow:
    0 1px 1px rgba(30,6,10,.25),
    0 8px 14px rgba(30,6,10,.22),
    0 26px 44px rgba(30,6,10,.35);
}
.envelope__back::before {
  content: ""; position: absolute; left: 2.6%; right: 2.6%; top: 0; height: 56%;
  background: linear-gradient(to bottom, #E3DBCC, #EDE7DB);
}
.envelope__back::after { /* shadow down inside the pocket */
  content: ""; position: absolute; inset: 0; border-radius: 5px;
  background: linear-gradient(to bottom, rgba(58,40,30,.22), rgba(58,40,30,0) 32%);
}

.envelope__letter {
  inset: 7% 6% 8% !important;
  z-index: 2;
  background:
    linear-gradient(to bottom, transparent 49.6%, rgba(0,0,0,.05) 50%, rgba(255,255,255,.8) 50.4%, transparent 51%),
    #FFFEFB;
  box-shadow: 0 -1px 6px rgba(58,40,30,.12), inset 0 0 0 1px rgba(0,0,0,.03);
  padding: 14px 16px;
  text-align: left;
  transition: transform .75s var(--ease-out) .35s;
}
.envelope__letter-line { font-size: 1rem; font-weight: 700; color: #2f2a33; }

.envelope__pocket { z-index: 3; width: 100%; height: 100%; overflow: visible; border-radius: 5px; }

/* writing + stamp sit on the paper */
.envelope__face { z-index: 3; pointer-events: none; }
.envelope__to {
  position: absolute; left: 8%; bottom: 9%;
  font-size: .82rem; color: #2f2a33; text-align: left; max-width: 78%;
}
.envelope__to span { border-bottom: 1px solid rgba(47,42,51,.3); padding-bottom: 1px; }
.envelope__open {
  position: absolute; left: 7%; bottom: 27%;
  font-size: clamp(1.7rem, 7.4vw, 2.3rem); font-weight: 700; color: #2f2a33;
  transform: rotate(-5deg);
  opacity: .92;
}
.stamp {
  position: absolute; right: 7%; top: 31%;
  width: 16%; aspect-ratio: 4 / 5;
  padding: 5px; background: #fffdf8;
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at 3px 3px, transparent 1.7px, #000 2.1px) -3px -3px / 6px 6px;
          mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at 3px 3px, transparent 1.7px, #000 2.1px) -3px -3px / 6px 6px;
  transform: rotate(5deg);
  filter: drop-shadow(0 1px 1px rgba(30,6,10,.25));
}
.stamp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.postmark {
  position: absolute; right: 13%; top: 37%;
  width: 26%; height: auto;
  color: #3d3d45; opacity: .45;
  transform: rotate(-12deg);
  mix-blend-mode: multiply;
}

/* top flap: two faces so the inside (lined) shows once it flips */
.envelope__flap {
  z-index: 4;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  transition: transform .65s var(--ease-out), z-index 0s linear .32s;
}
.flap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flap--back { transform: rotateY(180deg); }

.envelope__seal {
  inset: auto !important; left: 50% !important; top: 61% !important;
  z-index: 5;
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  filter: drop-shadow(0 2px 1px rgba(30,6,10,.35)) drop-shadow(0 4px 6px rgba(30,6,10,.2));
  transition: transform .35s var(--ease-out), opacity .3s;
}
.envelope__seal svg { width: 100%; height: 100%; }

.envelope:hover { transform: rotate(-1deg) translateY(-6px); }
.envelope:hover .envelope__flap { transform: rotateX(14deg); }
.envelope:hover .envelope__seal { transform: translateY(-4px) rotate(8deg); }
.envelope:focus-visible { outline-offset: 12px; }

.envelope.is-open .envelope__flap { transform: rotateX(180deg); z-index: 1; }
.envelope.is-open .envelope__seal { transform: translateY(-20px) scale(.6) rotate(20deg); opacity: 0; }
.envelope.is-open .envelope__letter { transform: translateY(-54%); }

.js-envelope:not(.is-open) { animation: nudge 5s ease-in-out 2.5s infinite; }
@keyframes nudge {
  0%, 88%, 100% { transform: rotate(-2.5deg); }
  91% { transform: rotate(-4deg) translateY(-3px); }
  94% { transform: rotate(-1deg) translateY(-3px); }
  97% { transform: rotate(-2.5deg); }
}
.envelope:hover { animation: none !important; }

/* --- the letter (story) --- */
.story.is-in .letter { animation: unfold 1s var(--ease-out) both; }
.story.is-in .board  { animation: rise .8s var(--ease-out) .55s both; }
@keyframes unfold {
  0%   { clip-path: inset(0 0 68% 0); transform: rotate(.6deg) translateY(30px); }
  45%  { clip-path: inset(0 0 34% 0); }
  100% { clip-path: inset(0 0 -10% 0); transform: rotate(.6deg); }
}

.letter {
  position: relative;
  max-width: 38rem;
  padding: 40px 24px 32px;
  color: var(--cherry);
  background: var(--paper);
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 24px 50px rgba(30,6,10,.35);
  transform: rotate(.6deg);
}
.letter .tape--l { left: 50%; margin-left: -46px; transform: rotate(-3deg); }
.letter__date { margin: 0 0 6px; font-size: .95rem; opacity: .65; }
.letter__hi { margin: 0; font-weight: 800; font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -0.06em; line-height: 1; }
.letter__hi:focus { outline: none; }
.letter__hi .serif { font-weight: 400; letter-spacing: -0.01em; font-size: 1.12em; color: #b24d64; }
.letter__intro { margin: 12px 0 8px; font-size: 1rem; max-width: 34ch; }

.chapters { list-style: none; margin: 0; padding: 0; }
.chapter { padding: 20px 0 18px; border-top: 1.5px dashed rgba(110,31,43,.22); }
.chapter:first-child { border-top: 0; }
.chapter__tag { color: rgba(110,31,43,.7); margin-bottom: 8px; }
.chapter__tag span {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; margin-right: 8px;
  border-radius: 50%; background: var(--pink); color: var(--cherry);
  letter-spacing: 0; font-weight: 800;
}
.chapter__line { margin: 0; font-weight: 700; font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.035em; }
.chapter__line .serif { font-weight: 400; font-size: 1.15em; letter-spacing: -0.01em; }
.chapter__aside {
  display: inline; margin: 0;
  font-size: 1.05rem; line-height: 1.6;
  background: linear-gradient(transparent 58%, rgba(244,225,167,.95) 58%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.chapter__aside::before { content: ""; display: block; height: 6px; }
.chapter--last .chapter__line { font-size: 1.32rem; }
.chapter--last mark { color: inherit; background: linear-gradient(transparent 52%, var(--pink) 52%); padding: 0 2px; }

.letter__sign { margin: 18px 0 0; font-size: 2rem; line-height: 1; }
.letter__sign .hand { font-weight: 700; font-size: 1.9rem; }
.letter__fold {
  margin-top: 18px; padding: 4px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--f-hand); font-size: .95rem; color: rgba(110,31,43,.7);
  text-decoration: underline; text-underline-offset: 3px;
}
.letter__fold:hover { color: var(--cherry); }

/* --- polaroid board --- */
.board {
  position: relative;
  height: 470px;
  margin-top: 48px;
}
.board__hint {
  position: absolute; right: 0; bottom: -6px; margin: 0;
  font-size: 1.05rem; font-weight: 700; color: var(--butter);
  transform: rotate(-4deg);
}
.board__spark { color: #fff; left: 46%; top: 47%; width: 18px; height: 18px; }
.polaroid {
  --dx: 0px; --dy: 0px;
  position: absolute; left: var(--x); top: var(--y);
  width: 46%; max-width: 230px;
  margin: 0; padding: 8px 8px 0;
  background: #fff;
  box-shadow: 0 10px 24px rgba(30,6,10,.35);
  transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  transition: transform .35s var(--ease-spring), box-shadow .3s;
  cursor: grab;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.polaroid::before { /* tape */
  content: ""; position: absolute; top: -10px; left: 50%; width: 60px; height: 20px; margin-left: -30px;
  background: rgba(188,212,234,.8); transform: rotate(-4deg);
}
.polaroid:nth-of-type(2n)::before { background: rgba(244,225,167,.85); transform: rotate(5deg); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; pointer-events: none; }
.polaroid figcaption { padding: 8px 2px 12px; font-size: .88rem; line-height: 1.2; text-align: center; color: var(--ink); }
.polaroid:hover, .polaroid:focus-visible {
  transform: translate(var(--dx), var(--dy)) translateY(-6px) rotate(calc(var(--r) * .3)) scale(1.04);
  box-shadow: 0 20px 36px rgba(30,6,10,.4);
}
.polaroid.is-dragging {
  cursor: grabbing;
  transition: box-shadow .2s;
  transform: translate(var(--dx), var(--dy)) rotate(calc(var(--r) * .3)) scale(1.07);
  box-shadow: 0 28px 46px rgba(30,6,10,.45);
}

@media (min-width: 1000px) {
  .about { padding: 110px var(--gutter) 130px; }
  .envwrap { padding: 0 6% 40px 0; margin-top: -40px; place-items: center end; } /* envelope sits right, so the flap rises beside the heading */
  .story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
  .letter { padding: 54px 48px 40px; }
  .board { position: sticky; top: 60px; height: 640px; margin-top: 0; }
  .polaroid { max-width: 250px; }
}


/* ================= 3. services ================= */
.services {
  position: relative;
  background:
    radial-gradient(100% 60% at 100% 0%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
    var(--butter);
  color: var(--cherry);
  padding: 76px var(--gutter) 96px;
  overflow: hidden;
}
.services__head { max-width: 40rem; margin-bottom: 44px; }
.services__tag { opacity: .75; margin-bottom: 12px; }
.services__title { margin: 0; line-height: .9; }
.services__title .serif { display: block; font-size: clamp(2.4rem, 11vw, 4.6rem); }
.services__bold { display: block; font-weight: 800; font-size: clamp(3rem, 14vw, 6.4rem); letter-spacing: -0.065em; line-height: .86; }
.services__lede { max-width: 32ch; margin: 16px 0 0; }
.services__spark { color: var(--pink); right: 10%; top: 72px; width: 22px; height: 22px; }

.services__grid { display: grid; gap: 64px; }
.svc { position: relative; }
.svc__label { margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; transform: rotate(-2deg); transform-origin: left; }

/* --- iPhone Notes --- */
.notes {
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --notes-yellow: #E3A600;
  --gray: #8e8e93;
  position: relative;
  display: grid;
  width: min(100%, 370px);
  overflow: hidden;
  background: #fff;
  border-radius: 30px;
  font-family: var(--ios);
  color: #1c1c1e;
  box-shadow: 0 0 0 8px #1c1c1e, 0 0 0 9px #3a3a3c, 0 30px 50px rgba(110,31,43,.25);
  margin: 9px;
  transform: rotate(-1.5deg);
}
.notes__list, .notes__note {
  grid-area: 1 / 1;
  padding: 16px 18px 22px;
  background: #fff;
  transition: transform .45s cubic-bezier(.32,.72,0,1), opacity .45s;
}
.notes__note { transform: translateX(100%); box-shadow: -10px 0 30px rgba(0,0,0,.08); z-index: 2; }
.notes.is-open .notes__note { transform: none; }
.notes.is-open .notes__list { transform: translateX(-28%); opacity: .4; }

.notes__bar { display: flex; justify-content: space-between; align-items: center; height: 30px; color: var(--notes-yellow); font-size: 1.02rem; }
.notes__dots { font-weight: 800; letter-spacing: 1px; }
.notes__h { margin: 6px 0 10px; font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }
.notes__search {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  background: #EEEEF0; border-radius: 10px; color: var(--gray); font-size: 1rem;
}
.notes__search svg { width: 17px; height: 17px; }
.notes__group { margin: 18px 0 6px; font-weight: 700; font-size: 1.15rem; }
.notes__rows { background: #F4F4F6; border-radius: 12px; overflow: hidden; }
.notes__row {
  display: grid; gap: 2px; width: 100%; text-align: left;
  padding: 11px 14px; border: 0; background: transparent;
  font: inherit; color: inherit;
  border-bottom: 1px solid #E1E1E5;
}
.notes__row:last-child { border-bottom: 0; }
.notes__row-title { font-weight: 600; font-size: 1rem; }
.notes__row-meta { font-size: .86rem; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notes__row-meta span { color: #3c3c43; margin-right: 6px; }
.notes__row--open { cursor: pointer; position: relative; transition: background .2s; }
.notes__row--open:hover { background: #ECECEF; }
.notes__row--open:active { background: #E2E2E6; }
.notes__row--open::after { /* gentle pulse so it reads as tappable */
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 2px var(--notes-yellow);
  opacity: 0; animation: tapme 2.6s ease-in-out 1s infinite;
}
@keyframes tapme { 0%, 60%, 100% { opacity: 0; } 30% { opacity: .9; } }
.notes__count { margin: 14px 0 0; text-align: center; font-size: .78rem; color: var(--gray); }
.notes__tap {
  position: absolute; right: 16px; top: 168px; margin: 0;
  font-size: 1rem; font-weight: 700; color: var(--cherry); transform: rotate(4deg);
}

.notes__back { padding: 0; border: 0; background: none; color: var(--notes-yellow); font: inherit; font-size: 1.02rem; cursor: pointer; }
.notes__back:hover { opacity: .7; }
.notes__done { font-weight: 600; }
.notes__date { margin: 6px 0 4px; text-align: center; font-size: .78rem; color: var(--gray); }
.notes__title { margin: 6px 0 6px; font-family: var(--ios); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; }
.notes__p { margin: 0 0 12px; font-size: 1rem; line-height: 1.4; }
.notes__p--last { margin: 14px 0 0; }
.notes__p a { color: var(--notes-yellow); font-weight: 600; }

.checklist, .checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist ul { padding-left: 30px; }
.checklist li { position: relative; padding: 7px 0 7px 32px; font-size: 1rem; line-height: 1.35; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 21px; height: 21px; border-radius: 50%;
  border: 1.6px solid #C7C7CC; box-sizing: border-box;
  transition: background .25s, border-color .25s, transform .3s var(--ease-spring);
}
.checklist li.is-checked::before {
  border-color: var(--notes-yellow);
  background: var(--notes-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  transform: scale(1.08);
}
.packs { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 32px; }
.pack {
  display: inline-flex; align-items: baseline; gap: 4px;
  padding: 6px 11px; border-radius: 999px; background: #FFF4D1; color: #6b4e00; font-size: .88rem;
}
.pack b { font-size: 1.05rem; }

/* --- Guest Check --- */
.printer { position: relative; width: min(100%, 380px); padding-top: 10px; }
.printer__slot {
  position: absolute; top: 0; left: -14px; right: -14px; height: 22px; z-index: 2;
  border-radius: 11px;
  background: linear-gradient(#45454b, #1f1f23);
  box-shadow: 0 6px 14px rgba(110,31,43,.25), inset 0 -3px 0 #111;
}
.printer__slot::after { content: ""; position: absolute; left: 18px; right: 18px; top: 9px; height: 4px; border-radius: 2px; background: #0b0b0c; }
.printer__clip { position: relative; overflow: hidden; padding: 0 10px 26px; margin: 0 -10px; }

.check {
  --green: #2E6B52;
  --rl: 36px;
  --ink: #23324f;
  position: relative;
  background: #FBFBF4;
  color: var(--green);
  padding: 20px 18px 18px;
  font-family: var(--f-head);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 14px 28px rgba(110,31,43,.16);
  transform: translateY(-101%);
  transition: transform 1.9s steps(14, end);
}
.printer.is-printed .check { transform: rotate(.8deg); }
.check::after { /* torn bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background:
    linear-gradient(135deg, #FBFBF4 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
    linear-gradient(225deg, #FBFBF4 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}
.check__top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--green); padding-bottom: 8px; }
.check__brand { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--green); }
.check__no { margin: 0; font-weight: 700; font-size: .95rem; color: #C2333F; letter-spacing: .04em; }
.check__meta { display: grid; grid-template-columns: 1.4fr .7fr 1fr; border-bottom: 1.5px solid var(--green); }
.check__meta div { padding: 6px 6px 6px 0; border-right: 1px solid rgba(46,107,82,.5); display: grid; }
.check__meta div + div { padding-left: 8px; }
.check__meta div:last-child { border-right: 0; }
.check__meta span { font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.check__meta b { color: var(--ink); font-size: 1.05rem; line-height: 1.3; }

/* ruled lines: every row is exactly one line tall */
.check__lines {
  list-style: none; margin: 0; padding: 0;
  background:
    linear-gradient(90deg, transparent 33px, rgba(46,107,82,.5) 33px 34px, transparent 34px calc(100% - 46px), rgba(46,107,82,.5) calc(100% - 46px) calc(100% - 45px), transparent 0),
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--rl) - 1px), rgba(46,107,82,.35) calc(var(--rl) - 1px) var(--rl));
}
.check__lines li { height: var(--rl); }
.check__lines button {
  display: grid; grid-template-columns: 34px 1fr 46px; align-items: center;
  width: 100%; height: var(--rl); padding: 0; border: 0; background: transparent;
  text-align: left; cursor: pointer; color: var(--ink);
  transition: background .2s;
}
.check__lines .q { text-align: center; font-weight: 700; font-size: 1.05rem; }
.check__lines .i { padding-left: 10px; font-size: 1.12rem; font-weight: 700; }
.check__lines .m { justify-self: center; width: 22px; height: 22px; border-radius: 50%; transition: background .2s, transform .3s var(--ease-spring); }
.check__lines button:hover { background: rgba(244,225,167,.45); }
.check__lines button:hover .m { background: rgba(242,167,190,.6); transform: scale(.7); }
.check__lines button.is-active { background: rgba(242,167,190,.35); }
.check__lines button.is-active .m {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13c2 1 4 4 5 6 3-7 7-11 11-14' fill='none' stroke='%23C2333F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
}
.check__lines button:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
.check__sub { display: flex; align-items: center; padding-left: 44px; }
.check__sub span { font-size: .6rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

.check__total {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 54px; border-top: 2px solid var(--green);
}
.check__total > span { font-size: .7rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.check__total a {
  position: relative; padding: 4px 12px;
  font-size: 1.15rem; font-weight: 700; color: #C2333F; text-decoration: none;
  transform: rotate(-3deg);
}
.check__total a::before { /* hand-drawn circle */
  content: ""; position: absolute; inset: -4px -6px; border: 2px solid #C2333F; border-radius: 50% 46% 52% 44% / 60% 50% 56% 48%;
  transform: rotate(2deg);
  transition: transform .3s var(--ease-spring);
}
.check__total a:hover::before { transform: rotate(-4deg) scale(1.06); }
.check__thanks { margin: 6px 0 0; text-align: center; font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }

.check__note {
  position: relative; margin: 6px 0 0 auto; padding: 14px 16px 16px;
  width: min(80%, 250px); min-height: 92px;
  background: var(--pink); color: var(--cherry);
  font-size: 1.05rem; font-weight: 700; line-height: 1.3;
  transform: rotate(2.5deg);
  box-shadow: 0 10px 20px rgba(110,31,43,.16);
}
.check__note::before { content: ""; position: absolute; top: -10px; left: 50%; margin-left: -34px; width: 68px; height: 20px; background: rgba(255,255,255,.6); transform: rotate(-3deg); }

@media (min-width: 1000px) {
  .services { padding: 110px var(--gutter) 130px; }
  .services__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; max-width: 1100px; margin: 0 auto; }
  .svc--check { margin-top: 90px; }
  .notes { margin-left: auto; margin-right: auto; }
  .printer { margin: 0 auto; }
  .check__note { position: absolute; right: -70px; bottom: -64px; margin: 0; width: 210px; }
}


/* --- websites: browser window, sketch -> live --- */
.browser {
  position: relative;
  width: min(100%, 540px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 24px 44px rgba(110,31,43,.22);
  transform: rotate(1.2deg);
}
.browser__bar {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 10px 0 14px;
  background: linear-gradient(#F7F6F4, #ECEBE8);
  border-bottom: 1px solid #DAD8D4;
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser__dots i:nth-child(2) { background: #FEBC2E; }
.browser__dots i:nth-child(3) { background: #28C840; }
.browser__url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 28px; min-width: 0;
  background: #fff; border-radius: 8px; border: 1px solid #E2E0DC;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; font-size: .8rem; color: #555;
  white-space: nowrap; overflow: hidden;
}
.browser__url svg { width: 9px; height: 11px; color: #888; flex: none; }
.browser__build {
  flex: none; height: 30px; padding: 0 12px;
  border: 0; border-radius: 8px;
  background: var(--cherry); color: var(--butter);
  font-family: var(--f-hand); font-weight: 700; font-size: .92rem;
  cursor: pointer;
  transition: transform .25s var(--ease-spring), background .2s;
  animation: buildme 2.4s ease-in-out 1.5s infinite;
}
.browser__build:hover { transform: translateY(-2px) rotate(-2deg); background: #84283a; }
.browser__build[aria-pressed="true"] { animation: none; background: var(--pink); color: var(--cherry); }
@keyframes buildme { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(242,167,190,0); } 35% { box-shadow: 0 0 0 5px rgba(242,167,190,.8); } }

.browser__view { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; }
.wire, .live { position: absolute; inset: 0; }

/* the sketch, on graph paper */
.wire {
  --pencil: #4a4450;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background:
    linear-gradient(rgba(188,212,234,.5) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(188,212,234,.5) 1px, transparent 1px) 0 0 / 16px 16px,
    #FFFEFA;
  color: var(--pencil);
}
.wire__nav { display: flex; justify-content: space-between; align-items: center; }
.wire__box, .wire__hero, .wire__btn, .wire__grid span {
  border: 2px dashed var(--pencil); border-radius: 4px;
}
.wire__logo { font-family: var(--f-hand); font-weight: 700; font-size: .85rem; padding: 2px 10px; }
.wire__lines { display: flex; gap: 6px; }
.wire__lines i { width: 26px; height: 3px; border-radius: 2px; background: var(--pencil); opacity: .6; }
.wire__hero { position: relative; flex: 1.4 1 0; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.wire__x::before, .wire__x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 140%; height: 1.5px; background: var(--pencil); opacity: .25;
  transform: translate(-50%, -50%) rotate(28deg);
}
.wire__x::after { transform: translate(-50%, -50%) rotate(-28deg); }
.wire__tag { position: relative; background: #FFFEFA; padding: 2px 8px; font-weight: 700; font-size: .95rem; transform: rotate(-3deg); }
.wire__h { font-size: 1.15rem; font-weight: 700; text-decoration: underline wavy rgba(74,68,80,.45); text-underline-offset: 5px; }
.wire__btn { align-self: flex-start; padding: 4px 14px; font-weight: 700; font-size: .95rem; }
.wire__grid { flex: .8 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wire__note { position: absolute; right: 16px; bottom: 34%; margin: 0; font-size: .85rem; font-weight: 700; color: var(--cherry); transform: rotate(-4deg); }
.wire__note::before { content: ""; position: absolute; left: -34px; top: 50%; width: 28px; height: 2px; background: var(--cherry); transform: rotate(14deg); }

/* the finished site */
.live {
  display: flex; flex-direction: column;
  background: var(--blush);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.65,0,.35,1);
}
.browser.is-built .live { clip-path: inset(0 0 0 0); }
.live__nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: .78rem; color: var(--cherry); }
.live__nav b { font-weight: 800; letter-spacing: -0.04em; font-size: 1rem; }
.live__nav span { font-weight: 500; opacity: .8; }
.live__hero { position: relative; flex: 1.6 1 0; min-height: 0; margin: 0 10px; overflow: hidden; border-radius: 4px; }
.live__hero img { width: 100%; height: 100%; object-fit: cover; }
.live__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 80%); }
.live__copy { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: grid; justify-items: start; color: #fff; line-height: .9; }
.live__serif { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--butter); }
.live__bold { font-weight: 800; font-size: 2rem; letter-spacing: -0.06em; }
.live__btn { margin-top: 10px; padding: 7px 14px; background: var(--butter); color: var(--cherry); font-weight: 700; font-size: .8rem; border-radius: 999px; }
.live__grid { flex: .8 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 10px 10px; }
.live__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

.browser__example { position: absolute; right: 10px; bottom: 8px; margin: 0; z-index: 3; font-size: .52rem; color: rgba(74,68,80,.7); background: rgba(255,255,255,.8); padding: 3px 6px; border-radius: 3px; }

.sitemap { margin-top: 30px; max-width: 30rem; }
.sitemap__h { margin: 0 0 12px; line-height: 1; }
.sitemap__h .serif { font-size: 1.9rem; }
.sitemap__h b { font-weight: 800; font-size: 1.9rem; letter-spacing: -0.06em; }
.sitemap__list { list-style: none; margin: 0; padding: 0; font-size: 1.08rem; font-weight: 700; }
.sitemap__list li { position: relative; padding: 5px 0 5px 28px; }
.sitemap__list li::before { /* little hand-drawn arrow */
  content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 2px; background: var(--cherry); border-radius: 2px;
}
.sitemap__list li::after {
  content: ""; position: absolute; left: 11px; top: 11px; width: 7px; height: 7px;
  border-top: 2px solid var(--cherry); border-right: 2px solid var(--cherry); transform: rotate(45deg);
}
.sitemap__cta { margin: 14px 0 0; }
.sitemap__cta a { font-weight: 700; color: var(--cherry); text-underline-offset: 3px; }
.sitemap__cta a:hover { text-decoration-thickness: 2px; }

@media (min-width: 1000px) {
  .svc--web { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; margin-top: 30px; }
  .svc--web .svc__label { grid-column: 1 / -1; margin-bottom: -30px; }
  .browser { justify-self: end; }
  .browser__view { aspect-ratio: 16 / 12; }
  .sitemap { margin-top: 0; }
}


/* ================= 4. case study ================= */
.case {
  position: relative;
  background:
    radial-gradient(90% 60% at 0% 100%, rgba(242,167,190,.35), rgba(242,167,190,0) 60%),
    var(--blush);
  color: var(--cherry);
  padding: 76px var(--gutter) 96px;
  overflow: hidden;
}
.case__head { position: relative; max-width: 42rem; margin-bottom: 40px; }
.case__tag { opacity: .75; margin-bottom: 12px; }
.case__title { margin: 0; line-height: .9; }
.case__title .serif { display: block; font-size: clamp(2.3rem, 10.5vw, 4.6rem); }
.case__bold { display: block; font-weight: 800; font-size: clamp(2.9rem, 13.5vw, 6.4rem); letter-spacing: -0.065em; line-height: .86; }
.case__who { margin: 16px 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.case__goal {
  display: inline-block; margin: 18px 0 0; padding: 10px 14px 12px;
  background: var(--butter); font-size: 1.1rem; font-weight: 700; line-height: 1.25;
  transform: rotate(-2deg);
  box-shadow: 0 8px 16px rgba(110,31,43,.12);
}
.case__goal span { color: #C2333F; }
.case__spark { color: var(--pink); right: 9%; top: 90px; width: 22px; height: 22px; }

.case__grid { display: grid; gap: 56px; }

/* --- iPhone lock screen --- */
.lock {
  position: relative; isolation: isolate;
  width: min(100% - 18px, 340px);
  aspect-ratio: 9 / 18;
  margin: 9px auto;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 0 0 9px #1c1c1e, 0 0 0 10px #3a3a3c, 0 30px 50px rgba(110,31,43,.28);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  transform: rotate(-1.5deg);
}
.lock__wall { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lock::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 35%, rgba(0,0,0,.15)); }
.lock__top { padding-top: 42px; text-align: center; color: #fff; }
.lock__date { margin: 0; font-size: .95rem; font-weight: 600; opacity: .9; }
.lock__time { margin: 0; font-size: 5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.lock__stack { list-style: none; margin: 26px 0 0; padding: 0 10px; display: grid; gap: 8px; }
.am {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 12px;
  border-radius: 20px;
  background: rgba(245,243,244,.76);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  color: #1c1c1e;
  opacity: 0; transform: translateY(-16px) scale(.96);
  transition: opacity .5s, transform .6s var(--ease-spring);
}
.lock.is-in .am { opacity: 1; transform: none; }
.lock.is-in .am:nth-child(2) { transition-delay: .45s; }
.lock.is-in .am:nth-child(3) { transition-delay: .9s; }
.lock.is-in .am:nth-child(4) { transition-delay: 1.35s; }
.am__icon svg { width: 34px; height: 34px; }
.am__body { flex: 1; min-width: 0; }
.am__body p { margin: 0; }
.am__top { display: flex; justify-content: space-between; font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: rgba(28,28,30,.55); font-weight: 600; }
.am__title { font-size: .86rem; font-weight: 700; line-height: 1.25; }
.am__text { font-size: .84rem; line-height: 1.25; color: rgba(28,28,30,.8); }

/* --- results --- */
.stats { display: grid; gap: 0; }
.stat { position: relative; padding: 18px 0 20px; border-top: 2px solid rgba(110,31,43,.2); }
.stat:first-child { border-top: 0; padding-top: 0; }
.stat p { margin: 0; }
.stat__num { font-weight: 800; letter-spacing: -0.07em; line-height: .85; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 6px !important; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; }
.stat__label .serif { font-weight: 400; font-size: 1.15em; }
.stat__note { margin-top: 4px !important; font-size: 1.02rem; font-weight: 700; opacity: .85; }

.stat--roas .stat__num { font-size: clamp(6rem, 30vw, 9.5rem); }
.stat--cps .stat__num { display: inline-block; font-size: clamp(4.4rem, 22vw, 6.6rem); background: linear-gradient(transparent 55%, var(--pink) 55%); padding-right: 6px; }
.stat__was {
  position: absolute; left: clamp(180px, 50vw, 250px); top: 20px;
  font-size: 1.8rem; font-weight: 700; color: rgba(110,31,43,.55);
  transform: rotate(-8deg);
}
.stat__was::after { content: ""; position: absolute; left: -6px; right: -6px; top: 52%; height: 3px; background: #C2333F; border-radius: 2px; transform: rotate(-10deg); }
.stat--sales { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.stat--sales .stat__num {
  display: grid; place-items: center;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--butter); font-size: 4.2rem; letter-spacing: -0.04em;
  transform: rotate(-6deg);
  box-shadow: 0 8px 16px rgba(110,31,43,.12);
}
.stat--sales .stat__label { margin-top: 0 !important; max-width: 12ch; font-size: 1.3rem; line-height: 1.1; }

/* --- what we did: label-maker tape --- */
.did { margin-top: 34px; }
.did__h { margin: 0 0 16px; line-height: 1; }
.did__h .serif { font-size: 2rem; }
.did__h b { font-weight: 800; font-size: 2rem; letter-spacing: -0.06em; }
.did__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.did__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.did__list li:nth-child(odd) .dymo { transform: rotate(-1.5deg); }
.did__list li:nth-child(even) .dymo { transform: rotate(1deg); }
.did__list .hand { font-size: 1.02rem; font-weight: 700; }
.dymo {
  display: inline-block;
  padding: 7px 12px 6px;
  background: var(--cherry); color: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 -1px 0 rgba(255,255,255,.2);
  border-radius: 2px;
  box-shadow: 0 2px 3px rgba(110,31,43,.25), inset 0 1px 0 rgba(255,255,255,.15);
}
.dymo--pink { background: #D9728F; }
.dymo--sky { background: #6C93B8; }

.case__cta { margin: 34px 0 0; font-size: 1.1rem; }
.case__cta .serif { font-size: 1.5rem; margin-right: 6px; }
.case__cta a { font-weight: 700; color: var(--cherry); text-underline-offset: 3px; }

@media (min-width: 1000px) {
  .case { padding: 110px var(--gutter) 130px; }
  .case__head { max-width: none; }
  .case__goal { position: absolute; right: 4%; top: 20px; max-width: 260px; transform: rotate(3deg); }
  .case__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; max-width: 1150px; margin: 0 auto; }
  .stat__was { left: 260px; }
}



/* ================= 4b. case study: jackee ================= */
.jb {
  position: relative;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
    var(--sky);
  color: var(--cherry);
  padding: 76px var(--gutter) 96px;
  overflow: hidden;
}
.jb__head { position: relative; max-width: 42rem; margin-bottom: 40px; }
.jb__tag { opacity: .75; margin-bottom: 12px; }
.jb__title { margin: 0; line-height: .9; }
.jb__title .serif { display: block; font-size: clamp(2.3rem, 10.5vw, 4.6rem); }
.jb__bold { display: block; font-weight: 800; font-size: clamp(2.5rem, 12vw, 6rem); letter-spacing: -0.065em; line-height: .86; }
.jb__who { margin: 16px 0 0; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.jb__goal {
  display: inline-block; margin: 18px 0 0; padding: 10px 14px 12px; max-width: 30ch;
  background: var(--pink); font-size: 1.08rem; font-weight: 700; line-height: 1.25;
  transform: rotate(1.5deg);
  box-shadow: 0 8px 16px rgba(110,31,43,.12);
}
.jb__goal span { color: #fff; }
.jb__spark { color: var(--butter); left: 8%; bottom: 60px; width: 22px; height: 22px; }

.jb__grid { display: grid; gap: 56px; }

/* before / after phone */
.ba { display: grid; justify-items: center; gap: 16px; }
.ba__switch {
  display: inline-flex; padding: 3px; border-radius: 12px;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(110,31,43,.12);
}
.ba__switch button {
  padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: -0.01em; color: var(--cherry);
  transition: background .25s, color .25s, transform .25s var(--ease-spring);
}
.ba__switch button:hover { transform: translateY(-1px); }
.ba__switch button[aria-pressed="true"] { background: var(--cherry); color: var(--butter); box-shadow: 0 2px 6px rgba(110,31,43,.3); }
.ba__phone {
  position: relative;
  width: min(100% - 18px, 300px);
  aspect-ratio: 920 / 2000;
  margin: 9px;
  border-radius: 40px;
  overflow: hidden;
  background: #0c0d10;
  box-shadow: 0 0 0 9px #1c1c1e, 0 0 0 10px #3a3a3c, 0 30px 50px rgba(60,80,110,.35);
  transform: rotate(-1.5deg);
}
.ba__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba__shot--after { clip-path: inset(0 0 0 100%); transition: clip-path .9s cubic-bezier(.65,0,.35,1); }
.ba.is-after .ba__shot--after { clip-path: inset(0 0 0 0); }
.ba__note {
  margin: 0; padding: 6px 12px 8px; background: var(--butter);
  font-size: 1.05rem; font-weight: 700; transform: rotate(-2deg);
  box-shadow: 0 6px 12px rgba(110,31,43,.12);
}

/* numbers */
.jstats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.jstat { padding: 16px 0 18px; border-top: 2px solid rgba(110,31,43,.18); }
.jstat p { margin: 0; }
.jstat--views { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
.jstat--new { grid-column: 1 / -1; }
.jstat__num { font-weight: 800; letter-spacing: -0.065em; line-height: .88; font-variant-numeric: tabular-nums; font-size: clamp(2.6rem, 13vw, 4.4rem); }
.jstat--views .jstat__num { font-size: clamp(3.6rem, 19vw, 7rem); }
.jstat--follow .jstat__num { display: inline-block; background: linear-gradient(transparent 55%, var(--butter) 55%); padding-right: 4px; }
.jstat__label { margin-top: 6px !important; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.03em; }
.jstat__label .serif { font-weight: 400; font-size: 1.15em; }
.jstat__note { margin-top: 4px !important; font-size: 1rem; font-weight: 700; opacity: .85; }

/* the receipts */
.receipts {
  position: relative; margin: 26px 0 0 auto; padding: 8px 8px 0;
  width: min(62%, 230px);
  background: #fff;
  box-shadow: 0 14px 28px rgba(60,80,110,.28);
  transform: rotate(3deg);
  transition: transform .35s var(--ease-spring);
}
.receipts:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
.receipts .tape--l { left: 50%; margin-left: -46px; transform: rotate(-4deg); }
.receipts img { width: 100%; aspect-ratio: 920 / 1300; object-fit: cover; object-position: top; }
.receipts figcaption { padding: 8px 2px 10px; text-align: center; font-size: .88rem; font-weight: 700; color: var(--ink); }

.jb__wins { list-style: none; margin: 24px 0 0; padding: 0; font-size: 1.08rem; font-weight: 700; }
.jb__wins li { position: relative; padding: 5px 0 5px 28px; }
.jb__wins li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 2px; background: var(--cherry); border-radius: 2px; }
.jb__wins li::after { content: ""; position: absolute; left: 11px; top: 11px; width: 7px; height: 7px; border-top: 2px solid var(--cherry); border-right: 2px solid var(--cherry); transform: rotate(45deg); }

@media (min-width: 1000px) {
  .jb { padding: 110px var(--gutter) 130px; }
  .jb__head { max-width: none; }
  .jb__goal { position: absolute; right: 4%; top: 20px; transform: rotate(-3deg); }
  .jb__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; max-width: 1150px; margin: 0 auto; }
  .jb__right { display: grid; grid-template-columns: 1fr 230px; gap: 0 40px; align-items: start; }
  .jstats { grid-column: 1 / -1; }
  .receipts { grid-column: 2; grid-row: 2 / span 2; margin: 10px 0 0; width: 100%; }
  .jb__wins { grid-column: 1; grid-row: 2; }
  .jb__right .case__cta { grid-column: 1; grid-row: 3; }
}

/* ================= 5. client work ================= */
.work {
  position: relative;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(255,255,255,.5), rgba(255,255,255,0) 60%),
    var(--butter);
  color: var(--cherry);
  padding: 76px var(--gutter) 110px;
  overflow: hidden;
}
.work__head { position: relative; max-width: 42rem; margin-bottom: 44px; }
.work__tag { opacity: .75; margin-bottom: 12px; }
.work__title { margin: 0; line-height: .9; }
.work__title .serif { display: block; font-size: clamp(2.3rem, 10.5vw, 4.6rem); }
.work__bold { display: block; font-weight: 800; font-size: clamp(2.6rem, 12.5vw, 6rem); letter-spacing: -0.065em; line-height: .86; }
.work__lede { max-width: 32ch; margin: 16px 0 0; }
.work__lede em { font-family: var(--f-serif); font-size: 1.2em; }
.work__hint { margin: 14px 0 0; font-size: 1.05rem; font-weight: 700; transform: rotate(-2deg); transform-origin: left; }
.work__spark { color: var(--pink); left: 46%; bottom: 46px; width: 22px; height: 22px; }

.board2 {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px 18px; align-items: start;
}
.post {
  --r: 0deg; --y: 0px;
  position: relative;
  transform: translateY(var(--y)) rotate(var(--r));
  opacity: 0;
  transition: transform .7s var(--ease-spring), opacity .4s;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.board2:not(.is-in) .post { transform: translateY(calc(var(--y) - 50px)) rotate(calc(var(--r) + 10deg)) scale(1.06); }
.board2.is-in .post { opacity: 1; }
.post:hover { z-index: 2; }

.post__frame {
  position: relative; display: block; width: 100%;
  padding: 7px 7px 0; border: 0;
  background: #fff;
  box-shadow: 0 10px 22px rgba(110,31,43,.16);
  cursor: zoom-in; text-align: left; font: inherit; color: inherit;
  transition: transform .35s var(--ease-spring), box-shadow .3s;
}
.post__frame:hover { transform: translateY(-8px) rotate(calc(var(--r) * -1)) scale(1.03); box-shadow: 0 22px 38px rgba(110,31,43,.24); }
.post__frame:focus-visible { outline: 3px solid var(--cherry); outline-offset: 4px; }
.post__media { position: relative; display: block; overflow: hidden; background: var(--blush); }
.post__media img { width: 100%; height: auto; } /* each post keeps its own shape */
.post--empty .post__media { aspect-ratio: 4 / 5; }
.post__cap { display: grid; gap: 1px; padding: 8px 2px 10px; }
.post__type { font-size: .56rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(110,31,43,.7); }
.post__client { font-family: var(--f-hand); font-weight: 700; font-size: .92rem; color: var(--ink); line-height: 1.15; }

/* tape + pins, varied per post */
.post--tape .post__frame::before {
  content: ""; position: absolute; top: -10px; left: 50%; z-index: 2; width: 64px; height: 20px; margin-left: -32px;
  background: rgba(242,167,190,.75); transform: rotate(-4deg);
}
.post--tape-sky .post__frame::before { background: rgba(188,212,234,.85); transform: rotate(5deg); }
.post--pin .post__frame::before {
  content: ""; position: absolute; top: -7px; left: 50%; z-index: 2; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e35c75, #8c1e33 70%);
  box-shadow: 0 3px 4px rgba(0,0,0,.25);
}

/* view count: handwritten paper tag */
.views-tag {
  position: absolute; right: -10px; bottom: 44px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 16px;
  background: #FFFDF6; color: var(--cherry);
  font-family: var(--f-hand); font-weight: 700; font-size: .95rem; white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  filter: drop-shadow(0 3px 4px rgba(110,31,43,.25));
  transform: rotate(6deg);
}
.views-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); box-shadow: inset 0 0 0 1.5px rgba(110,31,43,.5); }

/* view count: TikTok-style counter on the photo */
.views-tt {
  position: absolute; left: 8px; bottom: 8px; z-index: 1;
  display: flex; align-items: center; gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif; font-weight: 700; font-size: .9rem; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.views-tt svg { width: 13px; height: 13px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.post__media::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to top, rgba(0,0,0,.4), rgba(0,0,0,0)); pointer-events: none; }

/* empty placeholder slot */
.post--empty .post__frame { cursor: default; }
.post--empty .post__frame:hover { transform: none; }
.post--empty .post__media {
  display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; padding: 12px;
  background: repeating-linear-gradient(45deg, rgba(242,167,190,.18) 0 10px, transparent 10px 20px), #FFFDF6;
  outline: 2px dashed rgba(110,31,43,.35); outline-offset: -8px;
}
.post--empty .post__media::after { display: none; }
.slot__title { font-family: var(--f-hand); font-weight: 700; font-size: 1.05rem; color: var(--cherry); }
.slot__how { font-size: .7rem; line-height: 1.3; color: rgba(110,31,43,.7); }

/* full-size viewer */
.viewer {
  max-width: min(92vw, 520px); width: 100%; padding: 12px 12px 4px; border: 0;
  background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.viewer::backdrop { background: rgba(58,26,31,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.viewer[open] { animation: rise .35s var(--ease-out); }
.viewer__img { width: 100%; max-height: 76vh; object-fit: contain; background: var(--blush); }
.viewer__cap { margin: 8px 2px 10px; font-weight: 700; color: var(--cherry); }
.viewer__close {
  position: absolute; right: 10px; top: -44px;
  padding: 6px 14px; border: 0; background: var(--butter); color: var(--cherry);
  font-family: var(--f-hand); font-weight: 700; font-size: 1rem; cursor: pointer;
  transform: rotate(2deg);
}
.viewer { overflow: visible; }
.viewer__close:hover { transform: rotate(-2deg) translateY(-2px); }

@media (min-width: 760px) {
  .board2 { grid-template-columns: repeat(3, 1fr); gap: 56px 40px; max-width: 1050px; margin: 0 auto; }
}
@media (min-width: 1000px) {
  .work { padding: 110px var(--gutter) 150px; }
  .work__hint { position: absolute; right: 0; bottom: 0; }
}


/* ================= 6. contact ================= */
.contact {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 90px var(--gutter) 72px;
  color: #fff;
  overflow: hidden;
  background: #2b2a33;
}
.contact__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 30%, rgba(0,0,0,.1) 50%, rgba(0,0,0,0) 60%),
    linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 65%);
}
.contact__inner { width: 100%; max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; }
.contact__head { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.contact__tag { color: var(--butter); margin-bottom: 12px; }
.contact__title { margin: 0; line-height: .88; }
.contact__title .serif { display: block; color: var(--pink); font-size: clamp(2.5rem, 11.5vw, 5.4rem); }
.contact__bold { display: block; font-weight: 800; font-size: clamp(3.2rem, 15vw, 8rem); letter-spacing: -0.065em; line-height: .84; }

/* iMessage */
.chat { width: min(100%, 360px); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif; }
.chat__meta { margin: 0 0 10px; text-align: center; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.8); text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.chat__meta span { font-weight: 400; }
.chat__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.msg {
  max-width: 78%; padding: 8px 13px; border-radius: 19px;
  font-size: .98rem; line-height: 1.3;
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .3s, transform .35s var(--ease-spring);
}
.msg--them { align-self: flex-start; background: #E9E9EB; color: #000; border-bottom-left-radius: 6px; transform-origin: left bottom; }
.msg--me { align-self: flex-end; background: #0A84FF; color: #fff; border-bottom-right-radius: 6px; transform-origin: right bottom; }
.msg.is-in { opacity: 1; transform: none; }
.chat__typing {
  display: none; align-items: center; gap: 4px; width: 56px; height: 34px; margin: 5px 0 0; padding: 0 12px;
  border-radius: 19px; background: #E9E9EB;
}
.chat__typing.is-on { display: flex; }
.chat__typing.is-me { margin-left: auto; background: #0A84FF; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: dot 1.1s infinite ease-in-out; }
.chat__typing.is-me i { background: rgba(255,255,255,.8); }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat__read { margin: 4px 0 0; text-align: right; font-size: .7rem; color: rgba(255,255,255,.75); opacity: 0; transition: opacity .4s; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.chat.is-done .chat__read { opacity: 1; }

.contact__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact__form-link {
  font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; color: var(--butter); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out);
}
.contact__form-link:hover { background-size: 100% 1px; }
.contact__handle { margin: 0; font-size: 1.05rem; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.contact__handle a { color: var(--butter); text-underline-offset: 3px; }

@media (min-width: 1000px) {
  .contact { align-items: center; padding: 110px var(--gutter); }
  .contact__photo { object-position: 30% 45%; }
  .contact::before {
    background:
      linear-gradient(to right, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 75%),
      linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%);
  }
  .contact__inner { grid-template-columns: 1fr 360px; align-items: end; column-gap: 60px; }
  .contact__head { grid-column: 1; grid-row: 1; align-self: start; }
  .chat { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .contact__ctas { grid-column: 1; grid-row: 2; }
  .contact__handle { grid-column: 1; grid-row: 3; }
}

/* AirDrop pop-up */
.airdrop {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: min(calc(100% - 32px), 290px);
  padding: 18px 0 0; text-align: center;
  border-radius: 16px;
  background: rgba(242,242,247,.88);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  color: #000;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .55s var(--ease-spring), opacity .3s;
}
.airdrop.is-in { transform: translate(-50%, 0); opacity: 1; }
.airdrop__pic { width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 50%; }
.airdrop__title { margin: 0; font-weight: 700; font-size: 1.05rem; }
.airdrop__text { margin: 4px 18px 14px; font-size: .86rem; line-height: 1.3; }
.airdrop__text q { quotes: "\201C" "\201D"; }
.airdrop__btns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(60,60,67,.29); }
.airdrop__btns button {
  height: 46px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 1.05rem; color: #0A84FF;
  transition: background .2s;
}
.airdrop__btns button:first-child { border-right: 1px solid rgba(60,60,67,.29); border-bottom-left-radius: 16px; }
.airdrop__btns button:last-child { font-weight: 600; border-bottom-right-radius: 16px; }
.airdrop__btns button:hover { background: rgba(0,0,0,.05); }

/* ================= footer ================= */
.foot {
  position: relative;
  display: grid; gap: 40px; align-items: center;
  padding: 60px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  background: var(--cherry); color: var(--sky);
}
.foot__strip {
  justify-self: center;
  display: grid; gap: 6px; width: 120px; padding: 8px 8px 26px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,.3);
  transform: rotate(-4deg);
  transition: transform .35s var(--ease-spring);
}
.foot__strip:hover { transform: rotate(0) translateY(-6px); }
.foot__strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.1) brightness(1.05); }
.foot__main { display: grid; gap: 14px; justify-items: center; text-align: center; }
.foot__logo { width: min(70vw, 280px); height: auto; }
.foot__tag { color: var(--pink); }
.foot__links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 600; }
.foot__links a { color: var(--butter); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.foot__links a:hover { background-size: 100% 1px; }
.foot__note { margin: 4px 0 0; font-size: 1rem; color: var(--pink); }
.foot__copy { margin: 0; font-size: .78rem; opacity: .8; }
.foot__copy a { color: inherit; }

@media (min-width: 900px) {
  .foot { grid-template-columns: auto 1fr; gap: 64px; padding: 70px 8vw; }
  .foot__main { justify-items: start; text-align: left; }
  .foot__links { justify-content: flex-start; }
}

/* ================= work with me form ================= */
.inquiry {
  position: relative;
  background: var(--sky);
  color: var(--cherry);
  padding: 72px var(--gutter) 88px;
  overflow: hidden;
}
.inquiry__head { position: relative; max-width: 40rem; margin-bottom: 34px; }
.inquiry__tag { color: var(--cherry); opacity: .75; margin-bottom: 12px; }
.inquiry__title { margin: 0; line-height: .9; }
.inquiry__title .serif { display: block; font-size: clamp(2.2rem, 10vw, 4.4rem); }
.inquiry__bold { display: block; font-weight: 800; font-size: clamp(2.8rem, 13vw, 6rem); letter-spacing: -0.065em; line-height: .86; }
.inquiry__lede { max-width: min(30ch, calc(100% - 118px)); margin: 16px 0 0; font-size: 1rem; }
.inquiry__sticky {
  position: absolute; right: 0; bottom: -18px;
  margin: 0; padding: 12px 12px 14px; width: 104px;
  background: var(--butter); color: var(--cherry);
  font-size: .95rem; font-weight: 700; line-height: 1.15; text-align: center;
  transform: rotate(6deg);
  box-shadow: 0 8px 18px rgba(110,31,43,.18);
}

/* the paper sheet: everything snaps to one ruled line (--ln) */
.sheet {
  --ln: 40px;
  --rule: rgba(150, 186, 220, .75);
  --label-w: 8.2em;
  position: relative;
  max-width: 40rem;
  padding: var(--ln) 20px var(--ln) 34px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--ln) - 1px), var(--rule) calc(var(--ln) - 1px) var(--ln)),
    var(--paper);
  background-origin: content-box, padding-box;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px rgba(60,40,70,.18);
  transform: rotate(-.8deg);
}
.sheet::before { /* pink margin line, like notebook paper */
  content: ""; position: absolute; top: 0; bottom: 0; left: 22px; width: 1.5px; background: rgba(242,167,190,.95);
}
.tape {
  position: absolute; top: -12px; width: 92px; height: 26px;
  background: rgba(244,225,167,.82);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.tape--l { left: 18px; transform: rotate(-7deg); }
.tape--r { right: 18px; transform: rotate(5deg); background: rgba(242,167,190,.75); }
.sheet__spark { color: var(--pink); width: 22px; height: 22px; right: -6px; bottom: 40px; }

/* shared "sits on the line" text metrics */
.sheet__top, .field > label, .field > legend, .field > input, .field > textarea, .sheet__err {
  line-height: 30px;
  padding-top: 10px;
}

.sheet__top {
  display: flex; justify-content: space-between; align-items: baseline;
  height: calc(var(--ln) * 2); margin: 0;
  font-size: 1.2rem; font-weight: 700; color: var(--cherry);
}
.sheet__top span { font-weight: 400; font-size: .9rem; opacity: .6; }

/* one field = one line: label on the left, answer fills the rest */
.field {
  display: grid; grid-template-columns: var(--label-w) 1fr; align-items: start;
  margin: 0; border: 0; padding: 0; min-width: 0;
}
.field > label, .field > legend {
  height: var(--ln);
  font-family: var(--f-hand); font-weight: 700; font-size: .98rem; color: var(--cherry);
  white-space: nowrap;
}
.field input, .field textarea {
  width: 100%; min-width: 0; height: var(--ln);
  margin: 0; padding-left: 2px; padding-right: 2px; padding-bottom: 0;
  font: inherit; font-size: 1rem; line-height: 30px; color: var(--ink);
  background: transparent; border: 0; border-radius: 0;
  transition: background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(58,26,31,.35); }
.field input:hover, .field textarea:hover { background: rgba(252,227,234,.35); }
.field input:focus, .field textarea:focus {
  outline: none; background: rgba(252,227,234,.6);
  box-shadow: inset 0 -2px 0 var(--cherry);
}
.field [aria-invalid="true"] { box-shadow: inset 0 -2px 0 #c23b55; }

/* label on its own line, answer below (pick chips + goals) */
.field--stack { grid-template-columns: 1fr; }
.field--stack legend { float: left; width: 100%; } /* makes legend behave like a normal row */
.field--stack textarea {
  height: calc(var(--ln) * 3);
  line-height: var(--ln); padding-top: 4px;  /* each typed line lands on a rule */
  resize: none; overflow: auto;
}

/* pick chips: real checkboxes/radios; each chip row is exactly one line tall */
.picks__row {
  clear: both;
  display: flex; flex-wrap: wrap; gap: 8px; row-gap: 8px;
  padding: 4px 0;
}
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span {
  display: flex; align-items: center; height: 32px;
  font-size: .86rem; font-weight: 600; letter-spacing: -.01em;
  padding: 0 12px;
  border: 1.5px solid var(--cherry);
  background: var(--paper);
  transition: background .2s, color .2s, transform .25s var(--ease-spring);
}
.pick:hover span { transform: translateY(-2px) rotate(-1deg); background: var(--blush); }
.pick input:checked + span { background: var(--cherry); color: var(--butter); transform: rotate(-1.5deg); }
.pick input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.sheet__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px;
  min-height: var(--ln); margin-top: var(--ln);
}
.send {
  height: var(--ln);
  font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.03em;
  color: var(--butter); background: var(--cherry);
  border: 0; padding: 0 26px; cursor: pointer;
  box-shadow: 4px 4px 0 var(--pink);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.send:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.send:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }
.send[disabled] { opacity: .6; cursor: wait; }
.sheet__err { margin: 0; font-family: var(--f-hand); font-weight: 700; color: #c23b55; font-size: .95rem; padding-top: 0; }

/* thank-you state, also on the lines */
.sheet__done { animation: rise .7s var(--ease-out) both; }
.sheet__done:focus { outline: none; }
.sheet__done p { margin: 0; }
.sheet__done .tag { color: var(--cherry); opacity: .7; height: var(--ln); line-height: var(--ln); }
.sheet__done-title { height: calc(var(--ln) * 2); line-height: calc(var(--ln) * 2); white-space: nowrap; }
.sheet__done-title .serif { font-size: 2.5rem; }
.sheet__done-title b { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.06em; }
.sheet__done .hand { font-size: 1.05rem; line-height: var(--ln); max-width: 30ch; }
.sheet__preview { font-size: .88rem !important; opacity: .7; }

@media (min-width: 640px) {
  .sheet { padding: var(--ln) 40px var(--ln) 56px; --label-w: 9em; }
  .sheet::before { left: 34px; }
}
@media (min-width: 1000px) {
  .inquiry { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; padding: 110px var(--gutter); }
  .inquiry__head { position: sticky; top: 100px; }
  .inquiry__sticky { right: 10%; bottom: -120px; width: 120px; font-size: 1.05rem; }
}


/* ================= motion off ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .dmbar__caret { display: none; }
  .js-envelope:not(.is-open) { animation: none; }
  .check { transform: rotate(.8deg) !important; }
  .browser__build { animation: none; }
  .am { opacity: 1 !important; transform: none !important; }
  .post { opacity: 1 !important; transform: translateY(var(--y)) rotate(var(--r)) !important; }
  .msg { opacity: 1 !important; transform: none !important; }
  .chat__read { opacity: 1; }
}
