:root {
  --yellow: #FDE21A;
  --yellow-tint: #FFF7C4;
  --sky: #50D4FD;
  --sky-tint: #E3F7FF;
  --ink: #000000;
  --paper: #FDFDFD;
  --muted: #474747;
  --line: 2.5px solid var(--ink);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- Layout ---------- */
.page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.top { padding-top: 28px; }
main > section { margin-top: 56px; }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}
.lede { margin: 0 0 20px; color: var(--muted); max-width: 42ch; }

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero video, .hero img.logo {
  width: min(78%, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
  clip-path: circle(47% at 50% 50%);
}
.tagline {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 14px auto 0;
  max-width: 28ch;
}
.chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.chip svg { width: 18px; height: 18px; }
.chip:hover { background: var(--sky-tint); }

/* ---------- Shop "bricks" ---------- */
.shop { margin-top: 44px; }
.bricks { display: grid; gap: 26px; margin-top: 22px; }
.brick {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 14px 20px;
  border: var(--line);
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 0 5px 0 var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
/* the two studs on top of each brick */
.brick::before, .brick::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 30px;
  height: 11px;
  border: var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: inherit;
}
.brick::before { left: 22%; }
.brick::after { right: 22%; }
.brick.sky { background: var(--sky); }
.brick:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
@media (hover: hover) {
  .brick:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
}
.brick svg { width: 22px; height: 22px; flex: none; }
.brick.soon {
  background: var(--paper);
  border-style: dashed;
  box-shadow: none;
  color: var(--muted);
  cursor: default;
}
.brick.soon::before, .brick.soon::after { border-style: dashed; }
.brick.soon:hover { transform: none; box-shadow: none; }
.soon-tag {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky-tint);
  color: var(--ink);
}

/* ---------- Spotlight ---------- */
.spot-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 24px;
}
.spot-track::-webkit-scrollbar { display: none; }
.spot-track .spot { scroll-snap-align: start; }
.spot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.spot-count { font-weight: 700; font-size: 0.95rem; }
.spot-arrows { display: flex; gap: 10px; }
.arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.arrow svg { width: 22px; height: 22px; }
.arrow:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.arrow:disabled { background: var(--paper); color: #9a9a9a; border-color: #9a9a9a; box-shadow: none; cursor: default; transform: none; }
.spot {
  border: var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.spot-media {
  aspect-ratio: 4 / 3;
  background: #fff;
  display: grid;
  place-items: center;
  border-bottom: var(--line);
}
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-media img.placeholder { width: 46%; height: auto; object-fit: contain; clip-path: circle(47% at 50% 50%); }
.spot-body { padding: 18px 20px 22px; }
.spot-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font-weight: 700;
}
.spot h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
  margin: 10px 0 6px;
}
.spot p { margin: 0 0 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border: var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #222; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--sky-tint); }

/* ---------- Forms ---------- */
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.hint { font-weight: 400; color: var(--muted); }
input, textarea, select {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 13px 14px;
  min-height: 50px;
}
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23000' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
input[type="file"] { padding: 10px; border-style: dashed; }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 0 4px var(--sky); }
.row { display: grid; gap: 16px; }
@media (min-width: 420px) { .row { grid-template-columns: 1fr 1fr; } }
.hp { display: none; }
.form-note { margin: 0; font-size: 0.95rem; font-weight: 700; }
.form-note.ok { color: var(--ink); background: var(--sky-tint); padding: 14px 16px; border-radius: 14px; }
.form-note.err { color: #8a0000; }

.request-card {
  background: var(--sky-tint);
  border-radius: 24px;
  padding: 22px 20px 24px;
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  scroll-padding-left: 20px;
}
.review {
  scroll-snap-align: start;
  background: var(--yellow-tint);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
}
.review blockquote { margin: 0; font-size: 1.05rem; }
.review figcaption { font-weight: 700; font-size: 0.95rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); }
.stars { color: var(--ink); letter-spacing: 2px; font-size: 0.95rem; }

/* ---------- Coloring book ---------- */
.book {
  display: flex;
  gap: 18px;
  align-items: center;
  border: var(--line);
  border-radius: 24px;
  padding: 18px;
}
.book img {
  width: 96px;
  flex: none;
  border-radius: 8px;
  border: 2px solid var(--ink);
}
.book h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; margin: 0 0 4px; }
.book p { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Newsletter ---------- */
.news {
  background: var(--yellow);
  border: var(--line);
  border-radius: 24px;
  padding: 24px 20px;
}
.news .lede { color: var(--ink); }
.inline-form { grid-template-columns: 1fr; }
@media (min-width: 420px) { .inline-form { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
footer nav { display: flex; gap: 16px; }
footer a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Desktop: two columns, shop stays in view ---------- */
@media (min-width: 960px) {
  .page {
    max-width: 1080px;
    display: grid;
    grid-template-columns: 360px 1fr;
    column-gap: 72px;
    padding: 0 40px 56px;
  }
  .top { grid-column: 1 / -1; padding: 40px 0 8px; }
  .top .hero video { width: 240px; }
  .side {
    position: sticky;
    top: 24px;
    align-self: start;
    padding-top: 40px;
  }
  .side .shop { margin-top: 0; }
  main { padding-top: 40px; }
  main > section:first-child { margin-top: 0; }
  footer { grid-column: 1 / -1; }
  .reviews { grid-auto-columns: calc(50% - 7px); margin: 0; padding-left: 2px; padding-right: 2px; }
  .spot { display: grid; grid-template-columns: 1.1fr 1fr; }
  .spot-media { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: var(--line); }
  .spot-body { align-self: center; padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brick { transition: none; }
}

/* ---------- Blog ---------- */
.post-links { border-top: 2px solid var(--ink); }
.post-row {
  display: grid;
  gap: 2px;
  padding: 14px 2px;
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
}
.post-row:hover .post-row-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-date { font-size: 0.9rem; color: var(--muted); }
.post-row-title { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; }

.blog-page { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px 40px; }
.blog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0 8px; }
.home-link { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.5rem; }
.home-link img { width: 52px; height: 52px; clip-path: circle(47% at 50% 50%); }
.blog-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 11vw, 4.5rem);
  line-height: 0.95;
  margin: 28px 0 8px;
}
.post-card {
  display: grid;
  border: var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  margin-top: 22px;
}
.post-card .media { aspect-ratio: 16 / 9; background: var(--yellow-tint); border-bottom: var(--line); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 22px; }
.post-card h2 { font-size: 1.75rem; margin: 6px 0 8px; }
.post-card p { margin: 0 0 14px; }
.read-more { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card:hover { background: var(--sky-tint); }
@media (min-width: 700px) {
  .post-card.has-media { grid-template-columns: 260px 1fr; }
  .post-card.has-media .media { aspect-ratio: auto; min-height: 200px; border-bottom: 0; border-right: var(--line); }
  .post-card .body { align-self: center; padding: 24px 26px; }
}
.back-link { display: inline-block; margin-top: 24px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-hero { margin-top: 20px; border: var(--line); border-radius: 24px; overflow: hidden; }
.post-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.post-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 8vw, 3.6rem);
  line-height: 1;
  margin: 18px 0 8px;
}
.post-body { margin-top: 22px; }
.post-body p { max-width: 65ch; font-size: 1.125rem; line-height: 1.7; margin: 0 0 1.1em; }
.post-body a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.notice { margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--sky-tint); font-weight: 500; }

/* ---------- Designer credit ---------- */
.credit { margin: 18px 0 0; font-size: 0.8rem; color: var(--muted); }
.credit a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.credit a:hover { color: var(--ink); }
@media (min-width: 960px) { .page > .credit { grid-column: 1 / -1; } }

/* ---------- Blog brand touches ---------- */
.blog-banner {
  margin-top: 20px;
  padding: 26px 22px 24px;
  background: var(--yellow);
  border: var(--line);
  border-radius: 24px;
}
.blog-banner .blog-title { margin: 0 0 6px; }
.blog-banner .lede { color: var(--ink); margin: 0; }
.post-pill { font-size: 0.85rem; }
.brick-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--yellow);
  border: var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.brick-btn::before, .brick-btn::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 20px;
  height: 9px;
  border: var(--line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: inherit;
}
.brick-btn::before { left: 18%; }
.brick-btn::after { right: 18%; }
@media (hover: hover) {
  .post-card:hover .brick-btn { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
}
.post-card:active .brick-btn { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.post-card h2 { margin-top: 12px; }
.back-chip { margin-top: 24px; }
#postDate { margin-top: 4px; }

.post-hero.ig { border: 0; border-radius: 0; max-width: 540px; }
.post-hero.ig iframe { width: 100%; height: 680px; border: var(--line); border-radius: 24px; background: #fff; display: block; }
.post-body strong { font-weight: 700; }

/* ---------- "Hello from Fave!" bubble ---------- */
.hello {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 12px 14px;
  background: var(--sky-tint);
  border: var(--line);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
}
/* little speech-bubble tail pointing up at the shop buttons */
.hello::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-left: var(--line);
  border-top: var(--line);
  border-top-left-radius: 4px;
  transform: rotate(45deg);
}
.hello img {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: #fff;
}
.hello-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.hello-label { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.hello-title { font-weight: 700; line-height: 1.3; }
.hello-arrow { width: 20px; height: 20px; flex: none; }
.hello.no-link .hello-arrow { display: none; }
a.hello[href]:hover { background: var(--sky); }

/* Hello bubble wiggle on hover */
@keyframes fave-wiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-3deg); }
  30% { transform: rotate(2.5deg); }
  45% { transform: rotate(-2deg); }
  60% { transform: rotate(1.5deg); }
  75% { transform: rotate(-0.5deg); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hello:hover { animation: fave-wiggle 0.6s ease-in-out; transform-origin: 30px 0; }
}

/* ---------- Rich blog post content (from the editor) ---------- */
.post-body h2, .post-body h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  margin: 1.6em 0 0.5em;
}
.post-body h2 { font-size: 2rem; }
.post-body h3 { font-size: 1.5rem; }
.post-body ul, .post-body ol { max-width: 65ch; font-size: 1.125rem; line-height: 1.7; padding-left: 1.4em; margin: 0 0 1.1em; }
.post-body li { margin-bottom: 0.3em; }
.post-body blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  background: var(--yellow-tint);
  border-left: 6px solid var(--yellow);
  border-radius: 0 16px 16px 0;
  font-size: 1.15rem;
}
.post-body blockquote p { margin: 0; }
.post-body img {
  width: 100%;
  height: auto;
  margin: 1.4em 0;
  border: var(--line);
  border-radius: 20px;
}
.post-body p:has(> img:only-child) { max-width: none; }
.post-body .ig-embed { max-width: 540px; margin: 1.4em 0; }
.post-body .ig-embed iframe { width: 100%; height: 680px; border: var(--line); border-radius: 24px; background: #fff; display: block; }
.post-body hr { border: 0; border-top: 2px solid var(--ink); margin: 2em 0; }
.post-cover { margin-top: 20px; border: var(--line); border-radius: 24px; overflow: hidden; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
