/* Nell Hartley, UGC portfolio. Design direction: Scrapbook ("the fridge door"). */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f0e2;
  --paper-2: #ede3cc;
  --card: #fffdf7;
  --ink: #1f2a44;
  --ink-soft: #4a536b;
  --tomato: #e0482f;
  --tomato-ink: #b2331e;
  --btn: #c33a24;
  --btn-dark: #96291a;
  --sky: #a9cfe9;
  --sky-tile: #bcdaee;
  --sky-light: #d9eaf6;
  --sky-ink: #23598a;
  --sky-btn: #2f6ea3;
  --butter: #f6d36a;
  --butter-soft: #fbe7a6;
  --butter-deep: #d9a826;
  --graphite: #5d6170;
  --wood: #dcae74;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Kalam", "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;

  --shadow-sm: 0 1px 2px rgba(70, 48, 22, .14), 0 6px 14px -6px rgba(70, 48, 22, .28);
  --shadow: 0 2px 3px rgba(70, 48, 22, .10), 0 18px 34px -14px rgba(70, 48, 22, .38);
  --shadow-lg: 0 4px 8px rgba(70, 48, 22, .10), 0 34px 60px -20px rgba(40, 34, 30, .45);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("img/paper.svg");
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; }
.hand { font-family: var(--hand); font-weight: 700; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--sky-btn); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -.018em;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 96;
  font-weight: 640;
  max-width: 17ch;
  text-wrap: balance;
}
h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48;
}
.eyebrow {
  display: inline-block;
  font-size: 22px;
  line-height: 1.2;
  color: var(--tomato-ink);
  margin: 0 0 10px;
  rotate: -2.5deg;
  transform-origin: left center;
}

/* ---------- Buttons and links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 14px 26px 14px 18px;
  background: var(--btn); color: #fff;
  font-family: var(--body); font-weight: 750; font-size: 17px; letter-spacing: .005em;
  text-decoration: none; border: 0; cursor: pointer;
  border-radius: 10px 16px 12px 18px;
  box-shadow: 0 3px 0 var(--btn-dark), 0 16px 26px -12px rgba(195, 58, 36, .6);
  transition: transform .35s var(--spring), box-shadow .3s var(--soft), background-color .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1.6deg); background: #cf4129; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--btn-dark), 0 8px 16px -10px rgba(195, 58, 36, .6); }
.btn__eyelet {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  background: var(--paper);
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .28);
}
.btn--small { min-height: 44px; padding: 9px 18px; font-size: 15px; border-radius: 9px 12px 10px 13px; }
.link-squiggle {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
}
.link-squiggle svg {
  position: absolute; left: 0; right: 0; bottom: 2px; width: 100%; height: 10px; color: var(--tomato);
  stroke-dasharray: 240; stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--soft);
}
.link-squiggle:hover svg { animation: squiggle 0.7s var(--soft); }
@keyframes squiggle { from { stroke-dashoffset: 240; } to { stroke-dashoffset: 0; } }

/* ---------- Shared paper bits ---------- */
.tape {
  position: absolute; z-index: 3; width: 92px; height: 28px;
  background: rgba(247, 230, 170, .78);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 19% 2%, 100% 0, 96% 50%, 100% 100%, 88% 92%, 80% 100%, 0 100%, 4% 52%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.tape--sky { background: rgba(169, 207, 233, .82); }
.tape--butter { background: rgba(246, 211, 106, .78); }
.tape--red { background: rgba(224, 72, 47, .62); }
.tape--tl { top: -12px; left: -22px; rotate: -32deg; }
.tape--br { bottom: 28px; right: -26px; rotate: -28deg; }
.tape--top { top: -14px; left: 50%; translate: -50% 0; rotate: -3deg; }

.magnet-dot {
  position: absolute; z-index: 4; top: -11px; left: 50%; translate: -50% 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .85) 0 3px, transparent 6px), var(--c, var(--tomato));
  box-shadow: inset 0 -3px 4px rgba(0, 0, 0, .18), 0 4px 6px -1px rgba(40, 30, 20, .35);
}
.m-red { --c: #e0482f; }
.m-butter { --c: #f3c93e; }
.m-sky { --c: #6fa9d6; }
.m-navy { --c: #2a3a62; }

.sticky {
  position: relative;
  background: linear-gradient(172deg, #fce79b 0%, #f7d672 100%);
  padding: 18px 18px 22px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 16px 20px -14px rgba(80, 56, 10, .55);
  border-bottom-right-radius: 26px 6px;
}

.label {
  display: inline-block;
  font-family: var(--body); font-weight: 800; font-size: 15px; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--ink);
  padding: 9px 14px 9px 15px;
  border-radius: 3px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .18), var(--shadow-sm);
}
.label--red { background: var(--btn); }
.label--sky { background: var(--sky-btn); }
.label--butter { background: var(--butter); color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.label--sm { font-size: 11px; padding: 6px 9px 6px 10px; letter-spacing: .14em; justify-self: start; }

/* torn paper edges (masks) */
.torn { position: relative; }
.torn::before, .torn::after {
  content: ""; position: absolute; left: 0; right: 0; height: 24px; background: inherit;
  -webkit-mask: url("img/torn.svg") 0 0 / 1200px 100% repeat-x;
  mask: url("img/torn.svg") 0 0 / 1200px 100% repeat-x;
  pointer-events: none;
}
.torn::before { top: -23px; }
.torn::after { bottom: -23px; transform: scaleY(-1); -webkit-mask-position: 340px 0; mask-position: 340px 0; }

/* ---------- Media + fallbacks ---------- */
.media {
  position: relative; display: block; overflow: hidden; border-radius: 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .55) 2px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(0deg, rgba(255, 255, 255, .55) 2px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(168deg, #fbe7a6 0%, #f6d36a 38%, #a9cfe9 100%);
}
.media--clip { aspect-ratio: 9 / 16; }
.media--photo { aspect-ratio: 4 / 5; }
.media video, .media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: transparent;
}
.media.is-missing video, .media.is-missing img { display: none; }
.media__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
}
.media__fallback span {
  font-family: var(--hand); font-weight: 700; font-size: 18px; color: var(--ink);
  background: var(--card); padding: 4px 12px; rotate: -4deg; box-shadow: var(--shadow-sm);
}

.print {
  position: relative; margin: 0; background: var(--card);
  padding: 12px 12px 14px; box-shadow: var(--shadow);
}
.print figcaption { font-size: 17px; line-height: 1.25; padding-top: 10px; text-align: center; color: var(--ink); }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 0; right: 0; pointer-events: none; }
.nav__strip {
  pointer-events: auto; position: relative;
  width: calc(100% - 24px); max-width: 1200px; margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 10px 8px 20px; min-height: 62px;
  background: #fbf7ec url("img/paper.svg");
  border-radius: 12px 16px 14px 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .45s var(--spring);
}
.nav.is-scrolled .nav__strip { box-shadow: var(--shadow); }
.nav.is-tucked .nav__strip { transform: translateY(-120%); }
.nav__strip::before, .nav__strip::after {
  content: ""; position: absolute; top: -8px; width: 54px; height: 20px; background: rgba(169, 207, 233, .75);
  clip-path: polygon(0 10%, 8% 0, 100% 6%, 94% 50%, 100% 100%, 6% 92%, 2% 50%);
}
.nav__strip::before { left: 26px; rotate: -6deg; }
.nav__strip::after { right: 34px; rotate: 5deg; background: rgba(246, 211, 106, .8); }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--hand); font-weight: 700; font-size: 24px; line-height: 1; text-decoration: none; color: var(--ink);
  margin-right: auto;
}
.nav__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .85) 0 2px, transparent 4px), var(--tomato);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .2), 0 3px 4px -1px rgba(0, 0, 0, .3);
}
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-weight: 650; font-size: 15px; text-decoration: none; color: var(--ink); z-index: 0;
}
.nav__links a::before {
  content: ""; position: absolute; z-index: -1; left: 6px; right: 6px; top: 52%; height: 12px;
  background: var(--butter); border-radius: 3px 8px 4px 9px; rotate: -1.5deg;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--soft);
}
.nav__links a:hover::before, .nav__links a.is-current::before { transform: scaleX(1); }
.nav__menu {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: transparent; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; border-radius: 10px;
}
.nav__menu-lines {
  position: relative; width: 22px; height: 2.5px; background: var(--ink); border-radius: 3px; rotate: -3deg;
  transition: background-color .2s;
}
.nav__menu-lines::before, .nav__menu-lines::after {
  content: ""; position: absolute; left: 0; height: 2.5px; background: var(--ink); border-radius: 3px;
  transition: transform .35s var(--spring), top .25s, width .25s;
}
.nav__menu-lines::before { top: -7px; width: 18px; rotate: 4deg; }
.nav__menu-lines::after { top: 7px; width: 22px; rotate: -2deg; }
.nav__menu[aria-expanded="true"] .nav__menu-lines { background: transparent; }
.nav__menu[aria-expanded="true"] .nav__menu-lines::before { top: 0; width: 22px; transform: rotate(41deg); }
.nav__menu[aria-expanded="true"] .nav__menu-lines::after { top: 0; transform: rotate(-47deg); }

.menu { pointer-events: auto; position: absolute; left: 12px; right: 12px; top: calc(100% + 12px); }
.menu__sheet {
  position: relative;
  background:
    linear-gradient(90deg, transparent 46px, rgba(224, 72, 47, .5) 46px 48px, transparent 48px),
    repeating-linear-gradient(180deg, transparent 0 51px, #c4dcee 51px 53px),
    var(--card);
  padding: 22px 24px 26px 64px; border-radius: 6px; box-shadow: var(--shadow-lg);
  rotate: -.8deg; transform-origin: top center;
  animation: menu-drop .5s var(--spring);
}
.menu__title { color: var(--tomato-ink); font-size: 20px; line-height: 30px; margin: 0 0 4px; }
.menu__list a {
  display: flex; align-items: center; min-height: 53px; text-decoration: none;
  font-family: var(--hand); font-weight: 700; font-size: 28px; line-height: 1; color: var(--ink);
}
.menu__list a:hover { text-decoration: line-through; text-decoration-color: var(--tomato); text-decoration-thickness: 3px; }
@keyframes menu-drop { from { opacity: 0; transform: translateY(-16px) rotate(-3deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 104px 0 72px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 64px 64px,
    linear-gradient(180deg, #c3def1 0%, #b4d5ec 100%);
}
.hero::after { /* bench top */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px;
  background: linear-gradient(180deg, #e8dcc2 0%, #dccfb2 30%, #cdbf9f 100%);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .6) inset, 0 -6px 14px -6px rgba(60, 40, 20, .25);
}
.fridge {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(64px, 6vw, 88px) clamp(28px, 5vw, 76px) clamp(36px, 4vw, 56px);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .95), transparent 60%),
    linear-gradient(170deg, #fffefa 0%, #f6f4ee 60%, #ece9e1 100%);
  border-radius: 34px 34px 22px 22px;
  box-shadow:
    inset 0 2px 0 #fff, inset 0 -10px 24px rgba(31, 42, 68, .06), inset -14px 0 30px -18px rgba(31, 42, 68, .18),
    0 40px 70px -36px rgba(31, 42, 68, .55);
  min-height: min(84vh, 780px);
}
.fridge__seam {
  position: absolute; left: 0; right: 0; top: 34px; height: 3px;
  background: linear-gradient(180deg, rgba(31, 42, 68, .1), rgba(255, 255, 255, .9));
}
.fridge__handle {
  position: absolute; right: 22px; top: 16%; width: 16px; height: 36%; border-radius: 10px;
  background: linear-gradient(90deg, #c9d0d9 0%, #fff 38%, #e2e7ed 60%, #aab3bf 100%);
  box-shadow: 0 10px 18px -6px rgba(31, 42, 68, .35), 0 0 0 1px rgba(31, 42, 68, .06);
}
.fridge__copy { position: relative; align-self: center; }
.hero__kicker { font-size: clamp(18px, 1.6vw, 22px); color: var(--sky-ink); margin: 0 0 6px; rotate: -1.5deg; transform-origin: left; }

.magnets {
  font-family: var(--display); font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  font-size: clamp(62px, 10.4vw, 168px); line-height: .9; letter-spacing: 0;
  margin: 0 0 26px; user-select: none; -webkit-user-select: none;
}
.magnets__line { display: block; white-space: nowrap; }
.magnets__line + .magnets__line { margin-left: .28em; }
.mag {
  display: inline-block; position: relative;
  margin-right: .015em;
  color: var(--c);
  text-shadow: 0 .035em 0 var(--cs), 0 .06em 0 var(--cs), 0 .12em .14em rgba(31, 42, 68, .28);
  rotate: var(--r, 0deg);
  translate: var(--dx, 0) var(--dy, 0);
  transition: translate .6s var(--spring), rotate .5s var(--spring), scale .3s var(--spring);
  touch-action: manipulation;
}
.mag.m-red { --c: #db442c; --cs: #9a2d1b; }
.mag.m-butter { --c: #f2c23a; --cs: #b98612; }
.mag.m-navy { --c: #263660; --cs: #111a33; }
.mag.m-cream { --c: #2f74ad; --cs: #1c4c78; }
.magnets__line .mag:nth-child(1) { --r: -7deg; }
.magnets__line .mag:nth-child(2) { --r: 5deg; }
.magnets__line .mag:nth-child(3) { --r: -3deg; }
.magnets__line .mag:nth-child(4) { --r: 8deg; }
.magnets__line .mag:nth-child(5) { --r: -5deg; }
.magnets__line .mag:nth-child(6) { --r: 4deg; }
.magnets__line .mag:nth-child(7) { --r: -6deg; }
.has-drag .mag { cursor: grab; }
.mag.is-dragging { cursor: grabbing; scale: 1.08; transition: rotate .3s var(--spring), scale .3s var(--spring); z-index: 5;
  text-shadow: 0 .035em 0 var(--cs), 0 .06em 0 var(--cs), 0 .26em .3em rgba(31, 42, 68, .3); }
.js .mag.is-wiggle { animation: wiggle .6s var(--spring); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(7deg); } }
.js .mag { animation: mag-in .9s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 55ms + 150ms); }
@keyframes mag-in { from { opacity: 0; transform: translateY(-60px) rotate(-18deg) scale(1.2); } }

.hero__lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 34ch; color: var(--ink); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.hero__hint {
  position: absolute; left: clamp(250px, 26vw, 420px); top: -8px; font-size: 18px; color: var(--tomato-ink);
  display: flex; align-items: flex-start; gap: 4px; margin: 0; rotate: 4deg; pointer-events: none;
}
.hero__hint-arrow { width: 54px; height: 34px; scale: -1 -1; translate: 0 14px; color: var(--tomato); }
.hero__hint { display: none; }
.has-drag .hero__hint { display: flex; }

.fridge__board { position: relative; min-height: 580px; }
.print--hero { position: absolute; left: 4%; top: 0; width: min(300px, 64%); rotate: 3deg; z-index: 2; }
.print--mini { position: absolute; right: 0; top: 47%; width: min(178px, 40%); rotate: -6deg; z-index: 3; padding: 9px 9px 10px; }
.print--mini figcaption { font-size: 15px; padding-top: 6px; }
.hero__note { position: absolute; right: 2%; top: 3%; width: 150px; rotate: 6deg; z-index: 3; }
.hero__note p { margin: 0; font-size: 18px; line-height: 1.25; text-align: center; color: var(--ink); }
.hero__note strong { font-size: 24px; color: var(--tomato-ink); }
.hero__list {
  position: absolute; left: -6%; bottom: -10px; width: 196px; z-index: 4; rotate: -4deg;
  background: repeating-linear-gradient(180deg, transparent 0 25px, #cfe1ef 25px 27px), var(--card);
  padding: 14px 16px 10px; box-shadow: var(--shadow);
}
.hero__list .magnet-dot { width: 20px; height: 20px; top: -8px; }
.hero__list-title { margin: 0; color: var(--tomato-ink); font-size: 16px; line-height: 27px; }
.hero__list ul { font-size: 16px; line-height: 27px; font-weight: 400; }
.hero__list li { position: relative; padding-left: 22px; }
.hero__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border: 2px solid var(--ink); border-radius: 3px; rotate: -4deg; }
.hero__list li.done { text-decoration: line-through; text-decoration-color: var(--tomato); text-decoration-thickness: 2px; }
.hero__list li.done::after { content: ""; position: absolute; left: 3px; top: 6px; width: 6px; height: 11px; border: solid var(--tomato); border-width: 0 3px 3px 0; rotate: 40deg; }
.doodle--sun { position: absolute; width: 74px; height: 74px; color: var(--butter); right: 42%; top: -40px; rotate: 10deg; }

/* ---------- Proof ---------- */
.proof { padding: clamp(80px, 10vw, 140px) 0 clamp(72px, 9vw, 120px); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.proof__copy > p:not(.eyebrow) { max-width: 46ch; color: var(--ink-soft); margin-top: 20px; }
.labels { display: flex; flex-wrap: wrap; gap: 16px 14px; margin-top: 34px; max-width: 520px; }
.labels .label:nth-child(1) { rotate: -2deg; }
.labels .label:nth-child(2) { rotate: 1.5deg; translate: 0 6px; }
.labels .label:nth-child(3) { rotate: -1deg; }
.labels .label:nth-child(4) { rotate: 2.5deg; translate: 0 -3px; }
.labels .label { transition: rotate .4s var(--spring), translate .4s var(--spring); }
.labels .label:hover { rotate: 0deg; translate: 0 -3px; }

.doorframe { position: relative; height: 540px; max-width: 520px; width: 100%; justify-self: end; }
.doorframe__wood {
  position: absolute; left: 0; top: -30px; bottom: -30px; width: 70px; border-radius: 4px;
  background:
    repeating-linear-gradient(92deg, rgba(120, 70, 30, .0) 0 7px, rgba(120, 70, 30, .1) 7px 8px, rgba(120, 70, 30, 0) 8px 15px),
    linear-gradient(90deg, #c99559 0%, #e3b77f 40%, #d9a96b 75%, #b98448 100%);
  box-shadow: inset -6px 0 10px -6px rgba(70, 40, 10, .4), var(--shadow-sm);
}
.doorframe__tick { position: absolute; left: 0; width: 14px; top: var(--h); height: 2px; background: rgba(80, 50, 20, .45); }
.mark { position: absolute; left: 0; right: 0; top: var(--y); display: flex; align-items: baseline; gap: 18px; padding-left: 96px; }
.mark::before {
  content: ""; position: absolute; left: 18px; top: .55em; width: 64px; height: 3px; border-radius: 2px;
  background: var(--graphite); rotate: -2deg; opacity: .85;
}
.mark::after { content: ""; position: absolute; left: 14px; top: calc(.55em - 6px); width: 6px; height: 14px; background: var(--graphite); border-radius: 1px; opacity: .3; rotate: -2deg; }
.mark:nth-child(odd)::before { rotate: 1.5deg; width: 58px; }
.mark__num {
  font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 800; font-size: clamp(48px, 5.4vw, 76px); line-height: .9; color: var(--ink); white-space: nowrap;
}
.mark__num small { font-size: .42em; font-weight: 650; color: var(--ink-soft); }
.mark:nth-child(3) .mark__num { color: var(--tomato-ink); }
.mark:nth-child(5) .mark__num { color: var(--sky-ink); }
.mark__label { font-size: 19px; line-height: 1.2; color: var(--ink-soft); max-width: 14ch; rotate: -2deg; }

/* ---------- Feed ---------- */
.feed { background-color: var(--paper-2); background-image: url("img/paper.svg"); padding: clamp(72px, 8vw, 112px) 0 clamp(80px, 9vw, 120px); }
.feed__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(44px, 5vw, 68px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 8px 14px 8px 28px; cursor: pointer;
  background: var(--card); color: var(--ink); border: 0;
  font-weight: 700; font-size: 15px;
  border-radius: 6px 10px 8px 12px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--spring), background-color .2s, color .2s, box-shadow .3s;
}
.chip::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
.chip:nth-child(2n) { rotate: 1deg; }
.chip:nth-child(3) { rotate: -1.4deg; }
.chip:hover { transform: translateY(-2px) rotate(-1.5deg); box-shadow: var(--shadow); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; transform: rotate(-2deg) translateY(-1px); }
.chip[aria-pressed="true"]::before { background: var(--butter); box-shadow: none; }
.chip__n { font-family: var(--hand); font-size: 15px; min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--butter-soft); color: var(--ink); line-height: 1; padding-top: 2px; }
.chip[aria-pressed="true"] .chip__n { background: var(--butter); }

.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px) clamp(24px, 3.4vw, 52px); max-width: 1080px; margin-inline: auto; }
.clip { --r: -1.6deg; }
.clip:nth-child(2) { --r: 1.8deg; translate: 0 26px; }
.clip:nth-child(3) { --r: -.6deg; }
.clip:nth-child(4) { --r: 1.2deg; }
.clip:nth-child(5) { --r: -2deg; translate: 0 26px; }
.clip:nth-child(6) { --r: 2.2deg; }
.clip.is-hidden { display: none; }
.clip.is-pop { animation: pop-in .6s var(--spring); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.94) rotate(-3deg); } }
.clip__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 6px; }
.clip__btn:focus-visible { outline-offset: 8px; }
.clip__print {
  position: relative; display: block; background: var(--card); padding: 12px 12px 18px;
  box-shadow: var(--shadow); rotate: var(--r);
  transition: rotate .5s var(--spring), transform .5s var(--spring), box-shadow .4s var(--soft);
}
.clip__btn:hover .clip__print, .clip__btn:focus-visible .clip__print { rotate: 0deg; transform: translateY(-8px) scale(1.015); box-shadow: var(--shadow-lg); }
.clip__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; color: #fff;
  filter: drop-shadow(0 3px 6px rgba(20, 24, 40, .45)); transition: transform .45s var(--spring), opacity .3s;
  opacity: .92;
}
.clip__btn:hover .clip__play { transform: scale(1.14) rotate(-8deg); opacity: 1; }
.clip .media::after { /* soft bottom shade for legibility of the play mark on bright footage */
  content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 40% at 50% 50%, rgba(20, 26, 44, .18), transparent 70%); pointer-events: none;
}
.clip__meta { display: grid; gap: 6px; padding: 14px 4px 0; }
.clip__title { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36; font-weight: 650; font-size: 21px; line-height: 1.15; color: var(--ink); }
.clip__cat { font-size: 16px; line-height: 1; color: var(--sky-ink); }
.feed__foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: clamp(56px, 6vw, 80px) 0 0; font-size: 19px; color: var(--ink-soft); text-align: center; }
.feed__foot svg { width: 48px; height: 30px; color: var(--tomato); flex: none; rotate: 180deg; scale: 1 -1; }

/* ---------- Stills ---------- */
.stills { background-color: #f8dc85; background-image: url("img/paper.svg"); padding: clamp(80px, 9vw, 124px) 0 clamp(90px, 10vw, 136px); }
.stills__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 16px 60px; align-items: end; margin-bottom: clamp(48px, 6vw, 76px); }
.stills__head .eyebrow, .stills__head h2 { grid-column: 1; }
.stills__head .eyebrow { color: #962b19; }
.stills__head p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; max-width: 40ch; }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); }
.photo figure { position: relative; margin: 0; background: var(--card); padding: 10px 10px 12px; box-shadow: var(--shadow); transition: rotate .5s var(--spring), transform .5s var(--spring); }
.photo:nth-child(1) figure { rotate: -3deg; }
.photo:nth-child(2) figure { rotate: 2deg; transform: translateY(34px); }
.photo:nth-child(3) figure { rotate: -1.4deg; transform: translateY(-8px); }
.photo:nth-child(4) figure { rotate: 3deg; transform: translateY(26px); }
.photo figure:hover { rotate: 0deg; }
.photo figcaption { text-align: center; font-size: 18px; padding-top: 10px; line-height: 1.2; }
.washi {
  position: absolute; z-index: 3; top: -14px; left: 50%; width: 104px; height: 28px; translate: -50% 0; rotate: -4deg;
  clip-path: polygon(0 0, 100% 6%, 97% 30%, 100% 56%, 97% 100%, 0 94%, 3% 64%, 0 36%);
}
.washi--sky { background: repeating-linear-gradient(135deg, rgba(169, 207, 233, .9) 0 8px, rgba(255, 255, 255, .7) 8px 14px); }
.washi--red { background: repeating-linear-gradient(90deg, rgba(224, 72, 47, .72) 0 6px, rgba(255, 250, 240, .75) 6px 12px); rotate: 3deg; }
.washi--butter { background: radial-gradient(circle, rgba(255, 255, 255, .8) 2.5px, transparent 3px) 0 0 / 12px 12px, rgba(246, 211, 106, .9); rotate: -2deg; }

/* ---------- Services: recipe cards ---------- */
.make { padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); }
.make__head { max-width: 720px; margin: 0 auto clamp(56px, 6vw, 80px); text-align: center; }
.make__head h2 { margin-inline: auto; }
.make__head p:last-child { color: var(--ink-soft); max-width: 52ch; margin: 18px auto 0; }
.recipes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); align-items: start; }
.recipe {
  position: relative; background: var(--card); padding: 30px clamp(20px, 2.4vw, 30px) 18px;
  box-shadow: var(--shadow); border-radius: 3px;
  transition: rotate .5s var(--spring), transform .5s var(--spring), box-shadow .4s;
}
.recipe:nth-child(1) { rotate: -2deg; }
.recipe:nth-child(2) { rotate: 1deg; }
.recipe:nth-child(3) { rotate: -.8deg; margin-top: 18px; }
.recipe:hover { rotate: 0deg; box-shadow: var(--shadow-lg); }
.recipe--fav { margin-top: -18px; }
.recipe__head { border-bottom: 2px solid rgba(224, 72, 47, .75); padding-bottom: 10px; margin-bottom: 0; }
.recipe__for { margin: 0; color: var(--tomato-ink); font-size: 18px; line-height: 1.2; }
.recipe h3 { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.05; font-weight: 750; }
.recipe__ruled {
  background: repeating-linear-gradient(180deg, transparent 0 29px, #c7dcee 29px 30px);
  font-size: 16px; line-height: 30px; padding-top: 0;
}
.recipe__ruled > * { margin: 0; }
.recipe__facts div { display: flex; gap: 10px; }
.recipe__facts dt { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tomato-ink); flex: none; }
.recipe__facts dd { margin: 0; color: var(--ink); }
.recipe__sub { font-family: var(--hand); font-weight: 700; font-size: 20px; line-height: 30px; color: var(--sky-ink); padding-top: 30px; }
.recipe__list li { position: relative; padding-left: 20px; }
.recipe__list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--butter-deep); }
.recipe__method { color: var(--ink); }
.recipe__rate { padding-top: 30px; font-size: 19px; color: var(--tomato-ink); }
.recipe__star { position: absolute; z-index: 3; top: -34px; right: -20px; width: 104px; height: 104px; display: grid; place-items: center; rotate: 12deg; }
.recipe__star svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--butter); filter: drop-shadow(0 6px 8px rgba(80, 56, 10, .3)); }
.recipe__star span { position: relative; font-size: 15px; line-height: 1; text-align: center; color: var(--ink); width: 50px; padding-top: 6px; }

/* ---------- About ---------- */
.about { padding: clamp(72px, 8vw, 120px) 0 clamp(96px, 10vw, 140px); }
.about__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; margin: 0; background: var(--card); padding: 14px 14px 64px; box-shadow: var(--shadow-lg); rotate: -3deg; max-width: 460px; justify-self: center; width: 100%; }
.about__photo figcaption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 22px; }
.paperclip { position: absolute; z-index: 3; top: -36px; left: 34px; width: 30px; height: 90px; color: #8d97a8; rotate: 8deg; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.letter {
  position: relative; background: var(--card);
  background-image: linear-gradient(90deg, transparent 38px, rgba(224, 72, 47, .45) 38px 40px, transparent 40px);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 48px) clamp(58px, 6vw, 84px);
  box-shadow: var(--shadow); rotate: .7deg; border-radius: 3px;
}
.letter h2 { margin-bottom: 22px; }
.letter p:not(.eyebrow):not(.hand) { max-width: 58ch; }
.letter__sign { font-size: 38px; line-height: 1; color: var(--tomato-ink); rotate: -4deg; margin: 10px 0 18px; display: inline-block; }
.letter__ps { font-size: 18px; font-weight: 400; line-height: 1.45; color: var(--ink-soft); max-width: 50ch; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fact { font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px 999px 999px 999px / 60% 70% 60% 70%; box-shadow: var(--shadow-sm); }
.fact span { display: block; font-size: 14px; line-height: 1.1; color: var(--tomato-ink); }
.fact--butter { background: var(--butter-soft); rotate: -2deg; }
.fact--sky { background: var(--sky-light); rotate: 1.5deg; }
.fact--cream { background: #fff; rotate: -1deg; }

/* ---------- Process: chore chart ---------- */
.process { background-color: var(--sky-light); background-image: url("img/paper.svg"); padding: clamp(80px, 9vw, 120px) 0 clamp(88px, 9vw, 128px); }
.process__head { margin-bottom: clamp(36px, 5vw, 56px); }
.chart {
  position: relative; background: var(--card); border-radius: 10px; box-shadow: var(--shadow-lg); rotate: -.6deg; overflow: hidden;
}
.chart::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--tomato) 0 60px, var(--butter) 60px 120px, var(--sky) 120px 180px); }
.chart__row { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(0, 2fr) minmax(110px, .55fr) 86px; gap: 24px; align-items: center; padding: 22px clamp(20px, 3vw, 40px); }
.chart__row--head { padding-top: 30px; padding-bottom: 14px; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
.chart__row--head span:last-child { text-align: center; }
.chart__body .chart__row { border-bottom: 2px solid #cfe1ef; transition: background-color .3s; }
.chart__body .chart__row:last-child { border-bottom: 0; }
.chart__body .chart__row:hover { background: #fdf6df; }
.chart__job { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36; font-weight: 700; font-size: 22px; line-height: 1.15; }
.chart__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--hand); font-size: 19px; padding-top: 3px; rotate: -6deg; }
.chart__what { color: var(--ink-soft); line-height: 1.5; }
.chart__when { font-size: 19px; color: var(--sky-ink); line-height: 1.2; }
.chart__done { display: grid; place-items: center; }
.chart__done svg { width: 46px; height: 46px; rotate: -12deg; filter: drop-shadow(0 3px 3px rgba(60, 40, 20, .25)); }
.s-red { color: var(--tomato); }
.s-butter { color: #f0c23b; }
.s-sky { color: #5d9ccc; }
.js .chart .chart__done svg { scale: 0; transition: scale .6s var(--spring); }
.js .chart.is-in .chart__done svg { scale: 1; }
.js .chart.is-in li:nth-child(2) .chart__done svg { transition-delay: .25s; }
.js .chart.is-in li:nth-child(3) .chart__done svg { transition-delay: .5s; }
.js .chart.is-in li:nth-child(4) .chart__done svg { transition-delay: .75s; }

/* ---------- Notes ---------- */
.notes { padding: clamp(96px, 10vw, 140px) 0 clamp(80px, 9vw, 120px); }
.notes__head { margin-bottom: clamp(48px, 6vw, 72px); }
.notes__board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.note { position: relative; margin: 0; padding: 30px 28px 26px; box-shadow: var(--shadow); transition: rotate .5s var(--spring); }
.note:hover { rotate: 0deg; }
.note blockquote { margin: 0 0 20px; }
.note blockquote p { font-family: var(--hand); font-weight: 400; font-size: 21px; line-height: 1.45; margin: 0; color: var(--ink); }
.note figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.note figcaption strong { font-size: 16px; color: var(--ink); }
.note--lined {
  background: repeating-linear-gradient(180deg, transparent 0 29px, #c7dcee 29px 31px) 0 22px, var(--card);
  rotate: -2.4deg; padding-top: 40px;
}
.note--lined::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 14px; background: var(--card);
  -webkit-mask: url("img/torn.svg") 0 0 / 600px 100% repeat-x; mask: url("img/torn.svg") 0 0 / 600px 100% repeat-x;
}
.note--sticky { background: linear-gradient(172deg, #fce79b 0%, #f7d672 100%); rotate: 2deg; margin-top: 34px; border-bottom-right-radius: 30px 8px; }
.note--card { background: var(--card); rotate: -1deg; border-top: 6px solid var(--sky); margin-top: 10px; }

/* ---------- Contact ---------- */
.contact { background-color: var(--paper-2); background-image: url("img/paper.svg"); padding: clamp(80px, 9vw, 124px) 0 clamp(96px, 10vw, 140px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 44ch; margin-top: 20px; }
.contact__ways { margin-top: 30px; display: grid; gap: 4px; }
.contact__ways li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; min-height: 44px; border-bottom: 2px dotted rgba(31, 42, 68, .18); }
.contact__ways .hand { color: var(--tomato-ink); font-size: 18px; }
.contact__ways a { font-weight: 700; text-decoration-color: var(--tomato); text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact__ways a:hover { color: var(--tomato-ink); }

.pad {
  position: relative; rotate: .8deg;
  background:
    linear-gradient(90deg, transparent 52px, rgba(224, 72, 47, .45) 52px 54px, transparent 54px),
    repeating-linear-gradient(180deg, transparent 0 39px, #c7dcee 39px 41px) 0 70px,
    var(--card);
  background-repeat: no-repeat, repeat-y, no-repeat;
  padding: 64px clamp(22px, 4vw, 48px) 40px clamp(72px, 7vw, 90px);
  box-shadow: var(--shadow-lg); border-radius: 4px;
}
.pad__rings {
  position: absolute; left: 24px; right: 24px; top: 16px; height: 18px;
  background: radial-gradient(circle at 50% 50%, #d4c6aa 0 6px, rgba(0, 0, 0, .06) 6.5px 7.5px, transparent 8px) 0 0 / 30px 18px repeat-x;
}
.pad__title { font-size: 30px; line-height: 1; color: var(--tomato-ink); margin-bottom: 18px; rotate: -2deg; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; padding: 0; }
.field input, .field textarea {
  width: 100%; min-height: 46px; padding: 6px 4px; border: 0; border-bottom: 2px solid #8fb5d6; border-radius: 0;
  background: transparent; color: var(--ink); font-family: var(--hand); font-weight: 700; font-size: 22px; line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 40px; padding-top: 0; background: transparent; border-bottom: 0; }
.field input::placeholder, .field textarea::placeholder { color: #646b80; font-weight: 400; opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--tomato); background: rgba(251, 231, 166, .45); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px rgba(47, 110, 163, .35); border-radius: 4px 4px 0 0; }
.field input[aria-invalid="true"] { border-bottom-color: var(--tomato-ink); }
.field--ticks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 14px; }
.field--ticks legend { width: 100%; margin-bottom: 6px; float: left; }
.tick { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-family: var(--hand); font-weight: 700; font-size: 20px; }
.tick input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; left: 0; cursor: pointer; }
.tick span { position: relative; padding-left: 36px; line-height: 1; }
.tick span::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin-top: -13px; border: 2.5px solid var(--ink); border-radius: 5px 3px 6px 4px; rotate: -4deg; background: #fff; }
.tick span::after { content: ""; position: absolute; left: 8px; top: 50%; width: 9px; height: 17px; margin-top: -16px; border: solid var(--tomato); border-width: 0 4px 4px 0; rotate: 40deg; scale: 0; transition: scale .35s var(--spring); }
.tick input:checked + span::after { scale: 1; }
.tick input:focus-visible + span::before { outline: 3px solid var(--sky-btn); outline-offset: 3px; }
.form__error { color: var(--tomato-ink); font-weight: 700; margin: -4px 0 14px; }
.btn--submit { margin-top: 6px; }
.pad__done { outline: none; }
.pad__done .sticky { rotate: -2.5deg; padding: 32px 30px; max-width: 440px; animation: stick .7s var(--spring); }
.pad__done-big { font-size: 40px; line-height: 1.05; color: var(--tomato-ink); margin-bottom: 12px; }
@keyframes stick { from { opacity: 0; transform: translateY(-30px) rotate(-12deg) scale(1.1); } }

/* ---------- Footer ---------- */
.foot { background-color: var(--ink); color: #f3ecdc; padding: 64px 0 96px; margin-top: 24px; }
.foot__grid { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.foot__name { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; margin: 0; }
.foot__name .hand { font-size: .5em; color: var(--butter); margin-left: 8px; }
.foot__social { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; }
.foot a { color: #fff; text-decoration-color: var(--butter); text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.foot a:hover { color: var(--butter); }
.foot__small { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #c9c6c0; max-width: 70ch; }
.foot__by { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: none; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); align-items: center; }

/* ---------- Demo ribbon (a strip of masking tape) ---------- */
.ribbon {
  position: fixed; z-index: 60; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 2px; isolation: isolate;
  padding: 0 4px 0 18px; min-height: 46px; rotate: -1.5deg;
  filter: drop-shadow(0 6px 8px rgba(40, 30, 20, .28));
  font-size: 13.5px; line-height: 1.25; color: var(--ink);
  animation: ribbon-in .8s var(--spring) 1.2s backwards;
}
.ribbon::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #f5ead0, #eadcb9);
  clip-path: polygon(0 6%, 3% 0, 6% 8%, 9% 0, 100% 0, 98% 22%, 100% 40%, 98% 62%, 100% 80%, 98% 100%, 7% 100%, 4% 93%, 1% 100%, 2% 52%);
}
.ribbon a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.ribbon a strong { margin-left: .35em; text-decoration: underline; text-decoration-color: var(--tomato); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 800; }
.ribbon a:hover strong { color: var(--tomato-ink); }
.ribbon__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); border-radius: 50%; }
.ribbon__close svg { width: 16px; height: 16px; }
.ribbon__close:hover { color: var(--tomato-ink); }
.is-embed .ribbon, .ribbon-closed .ribbon { display: none; }
@keyframes ribbon-in { from { opacity: 0; transform: translateY(30px) rotate(-6deg); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(22, 30, 50, .84); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s ease; }
.lightbox__stage { position: relative; display: grid; grid-template-columns: 64px auto 64px; align-items: center; gap: clamp(16px, 3vw, 40px); }
.lightbox__print {
  position: relative; margin: 0; background: var(--card); padding: 12px 12px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  width: min(380px, 78vw, calc((100vh - 250px) * .5625 + 24px)); rotate: -1.2deg;
  animation: lb-in .55s var(--spring);
}
.lightbox__print.is-swap { animation: lb-swap .45s var(--spring); }
.lightbox__print .media video { cursor: pointer; }
.lightbox__print figcaption { display: grid; gap: 6px; padding: 14px 4px 0; }
.lightbox__title { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36; font-weight: 700; font-size: 23px; line-height: 1.15; }
.lightbox__note { font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.lightbox__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox__count { font-size: 17px; color: var(--sky-ink); }
.lb-pause { min-height: 44px; padding: 0 14px; border: 0; background: var(--paper-2); border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }
.lb-pause:hover { background: var(--butter-soft); }
.lb-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  transition: transform .35s var(--spring), background-color .2s;
}
.lb-btn:hover { transform: scale(1.08) rotate(-6deg); background: var(--butter-soft); }
.lb-btn svg { width: 40px; height: 26px; }
.lb-btn--prev svg { rotate: 200deg; scale: 1 -1; }
.lb-btn--next svg { rotate: -20deg; }
.lb-btn--close { position: fixed; top: 16px; right: 16px; width: 52px; height: 52px; z-index: 2; }
.lb-btn--close svg { width: 18px; height: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes lb-in { from { opacity: 0; transform: translateY(40px) rotate(-8deg) scale(.9); } }
@keyframes lb-swap { from { opacity: .2; transform: translateX(var(--from, 30px)) rotate(4deg) scale(.96); } }
body.is-locked { overflow: hidden; }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s var(--soft), transform .9s var(--spring); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .clips .reveal:nth-child(3n+2), .js .photos .reveal:nth-child(2), .js .recipes .reveal:nth-child(2), .js .notes__board .reveal:nth-child(2) { transition-delay: .1s; }
.js .clips .reveal:nth-child(3n), .js .photos .reveal:nth-child(3), .js .recipes .reveal:nth-child(3), .js .notes__board .reveal:nth-child(3) { transition-delay: .2s; }
.js .photos .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 0 7px; font-size: 14.5px; }
  .hero__list { left: -2%; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__strip { gap: 8px; }
  .fridge { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .fridge__handle { right: auto; left: 50%; top: auto; bottom: 18px; width: 30%; height: 12px; translate: -50% 0;
    background: linear-gradient(180deg, #c9d0d9 0%, #fff 38%, #e2e7ed 60%, #aab3bf 100%); }
  .fridge__board { min-height: 0; height: clamp(520px, 92vw, 700px); max-width: 620px; width: 100%; margin: 8px auto 30px; }
  .print--hero { width: min(290px, 54%); left: 6%; }
  .print--mini { width: min(180px, 34%); right: 4%; top: 40%; }
  .hero__list { left: auto; right: 2%; bottom: -18px; width: 180px; }
  .hero__note { right: 6%; }
  .doodle--sun { display: none; }
  .hero__hint { left: auto; right: 0; top: 30px; }
  .proof__grid { grid-template-columns: 1fr; }
  .doorframe { justify-self: start; margin-top: 30px; }
  .stills__head { grid-template-columns: 1fr; }
  .stills__head p:last-child { grid-column: 1; grid-row: auto; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .recipes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 48px; }
  .recipe--fav, .recipe:nth-child(3) { margin-top: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 380px; }
  .chart__row { grid-template-columns: minmax(170px, .9fr) minmax(0, 2fr) 70px; }
  .chart__row--head span:nth-child(3), .chart__when { display: none; }
  .notes__board { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .note--sticky, .note--card { margin-top: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clip:nth-child(n) { translate: none; }
  .clip:nth-child(2n) { translate: 0 30px; }
}
@media (max-width: 760px) {
  .chart__row--head { display: none; }
  .chart__row { grid-template-columns: 1fr 52px; gap: 8px 14px; padding: 20px 20px; }
  .chart__job { grid-column: 1; }
  .chart__done { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .chart__what, .chart__when { grid-column: 1; }
  .chart__when { display: block; }
  .chart__done svg { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .nav__strip { padding-left: 16px; min-height: 58px; }
  .nav__logo { font-size: 22px; }
  .hero { padding: 88px 0 60px; }
  .hero .wrap { padding-inline: 12px; }
  .fridge { padding: 56px 22px 44px; border-radius: 26px 26px 18px 18px; gap: 18px; }
  .fridge__seam { top: 26px; }
  .magnets { font-size: clamp(58px, 21vw, 92px); margin-bottom: 20px; }
  .magnets__line + .magnets__line { margin-left: 0; }
  .hero__lede { margin-bottom: 22px; }
  .fridge__board { height: auto; aspect-ratio: auto; min-height: 0; display: block; padding-bottom: 20px; margin-top: 18px; }
  .print--hero { position: relative; left: auto; top: auto; width: 66%; margin-left: 2%; }
  .print--mini { width: 42%; right: -2%; top: auto; bottom: 0; }
  .hero__note { width: 118px; padding: 12px 10px 14px; right: -4px; top: -8px; }
  .hero__note p { font-size: 15px; }
  .hero__note strong { font-size: 19px; }
  .hero__list { display: none; }
  .print figcaption { font-size: 15px; }
  .mark { padding-left: 84px; gap: 12px; flex-direction: column; gap: 2px; }
  .mark::before { width: 52px; }
  .doorframe { height: 520px; }
  .doorframe__wood { width: 58px; }
  .mark__label { font-size: 17px; max-width: 22ch; }
  .clips { gap: 34px 14px; }
  .clip__print { padding: 7px 7px 12px; }
  .clip__meta { padding: 10px 2px 0; gap: 5px; }
  .clip__title { font-size: 16px; }
  .clip__cat { font-size: 14px; }
  .label--sm { font-size: 9.5px; padding: 5px 7px; letter-spacing: .1em; }
  .clip__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .magnet-dot { width: 22px; height: 22px; top: -9px; }
  .chips { gap: 8px; }
  .chip { padding: 6px 10px 6px 24px; font-size: 14px; }
  .chip::before { left: 9px; }
  .photos { gap: 34px 16px; }
  .photo figure { padding: 7px 7px 9px; }
  .photo figcaption { font-size: 15px; }
  .washi { width: 76px; height: 22px; }
  .recipe__star { right: -6px; width: 88px; height: 88px; }
  .letter { padding-left: 50px; background-image: linear-gradient(90deg, transparent 30px, rgba(224, 72, 47, .45) 30px 32px, transparent 32px); rotate: 0deg; }
  .chart { rotate: 0deg; }
  .chart__job { font-size: 20px; }
  .pad { padding: 58px 18px 34px 54px; rotate: 0deg;
    background:
      linear-gradient(90deg, transparent 36px, rgba(224, 72, 47, .45) 36px 38px, transparent 38px),
      repeating-linear-gradient(180deg, transparent 0 39px, #c7dcee 39px 41px) 0 70px,
      var(--card);
    background-repeat: no-repeat, repeat-y, no-repeat; }
  .contact__ways li { grid-template-columns: 92px 1fr; }
  .foot { padding-bottom: 110px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__social { justify-content: flex-start; }
  .ribbon { left: 50%; translate: -50% 0; bottom: 10px; font-size: 12.5px; padding-left: 14px; width: max-content; max-width: calc(100% - 20px); rotate: -1deg; }
  .lightbox { padding: 12px; }
  .lightbox__stage { grid-template-columns: 1fr 1fr; grid-template-areas: "print print" "prev next"; gap: 14px; justify-items: center; }
  .lightbox__print { grid-area: print; width: min(330px, 84vw, calc((100svh - 330px) * .5625 + 24px)); }
  .lb-btn--prev { grid-area: prev; justify-self: end; margin-right: 12px; }
  .lb-btn--next { grid-area: next; justify-self: start; margin-left: 12px; }
  .lb-btn { width: 56px; height: 56px; }
  .lightbox__note { display: none; }
}

@media (hover: none) {
  .clip__btn:hover .clip__print { rotate: var(--r); transform: none; box-shadow: var(--shadow); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .chart .chart__done svg { scale: 1; }
}
.contact.torn::after, .foot.torn::after { display: none; }

/* ---------- Round 2 refinements ---------- */
.field .tick { display: inline-flex; font-family: var(--hand); font-weight: 700; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; }
.clip .media__fallback { place-items: end center; padding-bottom: 16%; }
.clips .clip:nth-child(2) .media, .clips .clip:nth-child(5) .media, .photos .photo:nth-child(2) .media, .photos .photo:nth-child(4) .media {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .55) 2px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(0deg, rgba(255, 255, 255, .55) 2px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(200deg, #a9cfe9 0%, #d9eaf6 45%, #fbe7a6 100%);
}
.clips .clip:nth-child(3) .media, .clips .clip:nth-child(4) .media, .photos .photo:nth-child(3) .media {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .5) 2px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(0deg, rgba(255, 255, 255, .5) 2px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(160deg, #fff6dc 0%, #f6d36a 55%, #e9b94a 100%);
}
.hero__hint { left: 50%; top: 78px; rotate: -3deg; align-items: flex-end; }
.hero__hint-arrow { scale: -1 1; translate: 0 18px; order: -1; }
.hero__list { bottom: -46px; left: -9%; }
.tape--br { bottom: 44%; right: -30px; }
.print--hero figcaption { padding-right: 18px; }
@media (max-width: 960px) {
  .magnets { font-size: clamp(62px, 15vw, 140px); }
  .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
  .clip:nth-child(2n) { translate: none; }
  .clip:nth-child(3n+2) { translate: 0 24px; }
  .clip__print { padding: 9px 9px 14px; }
  .clip__title { font-size: 17px; }
  .photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .photo figure { padding: 7px 7px 9px; }
  .photo figcaption { font-size: 15px; }
  .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
  .print--hero { width: min(290px, 50%); }
}
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
  .clip:nth-child(3n+2) { translate: none; }
  .clip:nth-child(2n) { translate: 0 24px; }
  .clip__print { padding: 7px 7px 12px; }
  .clip__title { font-size: 16px; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .print--hero { width: 62%; }
  .print--mini { bottom: -26px; width: 40%; }
  .fridge__board { padding-bottom: 40px; }
  .tape--br { display: none; }
}
.clips { display: flex; flex-wrap: wrap; justify-content: center; --cols: 3; --gx: clamp(24px, 3.4vw, 52px); column-gap: var(--gx); }
.clip { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); min-width: 0; }
.lb-btn svg { width: 46px; height: 30px; }
@media (max-width: 960px) { .clips { --gx: 22px; } }
@media (max-width: 600px) { .clips { --cols: 2; --gx: 14px; } }
.tape--red { background: rgba(214, 64, 40, .88); }
.washi--red { background: repeating-linear-gradient(90deg, rgba(214, 64, 40, .9) 0 6px, rgba(255, 250, 240, .8) 6px 12px); }
@media (max-width: 600px) {
  .lightbox__print { width: min(300px, 80vw, calc((100svh - 400px) * .5625 + 24px)); margin-top: 36px; }
  .ribbon { bottom: 12px; }
}
.clips { max-width: 1000px; }
@media (max-width: 600px) { .magnets { font-size: clamp(54px, 22.5vw, 108px); } }
/* Real footage: keep the play mark off the figure, in the lower corner */
.clip__play { left: auto; top: auto; right: 10px; bottom: 10px; margin: 0; width: 54px; height: 54px; }
.clip .media::after { background: radial-gradient(55% 32% at 100% 100%, rgba(20, 26, 44, .38), transparent 75%); }
.clip .media.is-missing::after { background: none; }
.clip .media.is-missing .clip__play { left: 50%; top: 50%; right: auto; bottom: auto; margin: -30px 0 0 -30px; width: 60px; height: 60px; }
@media (max-width: 600px) { .clip__play { width: 40px; height: 40px; right: 6px; bottom: 6px; } }

/* The "family fave" star pokes past the right edge on phones: clip it at the section edge so there is no sideways scroll. */
.make { overflow-x: clip; }
