/* Roise Paw — Craft Room
   Lavender #B8A4D9, mist #EEE8F7, paper #FBF7F0, plum #4A3A5E, sage #A9C2A3, blush #F1C4CF
   Fonts are self-hosted (SIL OFL). See assets/fonts/OFL-*.txt */

@font-face {
  font-family: "Pinyon Script";
  src: url("../fonts/pinyon-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --lav: #b8a4d9;
  --mist: #eee8f7;
  --paper: #fbf7f0;
  --plum: #4a3a5e;
  --sage: #a9c2a3;
  --blush: #f1c4cf;
  --ink: #1f1726;
  --accent: #7b62a8;
  --line: #e6dcef;
  --shell: 1440px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--plum);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(74, 58, 94, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 700; line-height: 1.1; }
.script { font-family: "Pinyon Script", cursive; font-weight: 400; line-height: 1.15; }
.accent { color: var(--accent); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--plum);
  padding: 8px 12px;
  z-index: 50;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: 64px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 240, 0.92);
  border-bottom: 1px dashed var(--lav);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
}
.nav-inner > .nav-links { grid-column: 1; }
.nav-inner > .logo { grid-column: 2; }
.nav-inner > .nav-tools { grid-column: 3; }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links.right { justify-content: flex-end; }
.nav-tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-links a:not(.pill) {
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}
.nav-links a.on:not(.pill) { border-bottom-color: var(--lav); }
.logo {
  font-size: 52px;
  line-height: 1.05;
  padding: 0 28px;
  color: var(--ink);
  justify-self: center;
  white-space: nowrap;
}

.burger { display: none; }
.burger summary {
  list-style: none;
  height: 44px;
  padding: 0 14px 0 12px;
  border: 2px solid var(--plum);
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plum);
}
.burger summary::-webkit-details-marker { display: none; }
.burger-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
}
.burger-icon::before,
.burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
}
.burger-icon::before { top: -5px; }
.burger-icon::after { top: 5px; }
.burger-label { line-height: 1; }
.nav-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px dashed var(--lav);
  padding: 8px 20px 18px;
  box-shadow: 0 16px 30px rgba(74, 58, 94, 0.08);
}
.burger[open] .nav-panel { display: flex; flex-direction: column; }
.nav-panel a {
  padding: 12px 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.nav-panel a.on { color: var(--accent); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid transparent;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.pill.dark { background: var(--plum); color: #fff; border-color: var(--plum); }
.pill.dark:hover { background: #3c2e4e; }
.pill.lav { background: var(--lav); color: var(--plum); border-color: var(--lav); padding: 8px 16px; }
.pill.lav:hover { background: #c8b6e4; }
.pill.line { border-color: var(--plum); background: transparent; color: var(--plum); }
.pill.line:hover { background: var(--mist); }
.nav-links .pill { text-transform: none; letter-spacing: 0; }
/* .pill sets display later than a bare .codes-pin rule would, so this has to
   win on specificity. The pin is the single Codes control once the text
   links collapse. */
.nav-tools > .codes-pin { display: none; }
a.pill:focus-visible, button.pill:focus-visible, .logo:focus-visible, .copy:focus-visible, .c:focus-visible {
  outline: 3px solid var(--lav);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 580px;
  padding: 118px 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 380px 260px at 22% 35%, rgba(184, 164, 217, 0.75), transparent 70%),
    radial-gradient(ellipse 420px 300px at 55% 60%, rgba(184, 164, 217, 0.6), transparent 70%),
    radial-gradient(ellipse 300px 220px at 82% 30%, rgba(241, 196, 207, 0.75), transparent 70%),
    radial-gradient(ellipse 260px 200px at 10% 80%, rgba(169, 194, 163, 0.6), transparent 70%),
    radial-gradient(ellipse 280px 220px at 92% 85%, rgba(169, 194, 163, 0.55), transparent 70%),
    linear-gradient(rgba(74, 58, 94, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(74, 58, 94, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    #f6f1f8;
}
.hero-inner { position: relative; z-index: 1; }
.hero .big {
  font-size: clamp(48px, 9.17vw, 132px);
  line-height: 0.95;
  color: var(--ink);
}
.hero p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.08vw, 30px);
  font-style: italic;
  font-weight: 500;
  margin: 6px auto 28px;
  max-width: 22em;
}
.hero .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .pill.line { background: rgba(251, 247, 240, 0.85); }
.mark { display: inline-flex; flex: none; align-items: center; }
.mark svg { display: block; width: 20px; height: 20px; }
.mark.play svg { width: 22px; height: 22px; }
.mark.bow { color: #7b62a8; }
.mark.bow svg { width: 24px; height: 24px; }
.play-bg { fill: #fff; }
.play-tri { fill: var(--lav); }

.tape {
  position: absolute;
  width: 150px;
  height: 34px;
  background: repeating-linear-gradient(45deg, rgba(184, 164, 217, 0.75) 0 10px, rgba(238, 232, 247, 0.75) 10px 20px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.tape.sage {
  background: repeating-linear-gradient(90deg, rgba(169, 194, 163, 0.8) 0 14px, rgba(251, 247, 240, 0.6) 14px 18px);
  bottom: 50px;
  right: max(24px, calc((100% - 1440px) / 2 + 300px));
  transform: rotate(8deg);
  z-index: 1;
}
.tape.blush { background: rgba(241, 196, 207, 0.85); }

.lace {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none;
  opacity: 0.5;
  background-repeat: repeat-x;
  background-position: center top;
  filter: drop-shadow(0 1px 1.4px rgba(74, 58, 94, 0.38));
  z-index: 2;
}
.lace.scallop.tall {
  height: 98px;
  background-image: url("../lace/scallop.svg");
  background-size: 124.7px 98px;
}
.lace.rosette.tall {
  height: 98px;
  background-image: url("../lace/rosette.svg");
  background-size: 110.8px 98px;
}
footer .lace,
.lace.scallop.tall {
  height: 98px;
  background-color: #fff;
  background-image: none;
  -webkit-mask-image: url("../lace/lace-1.svg");
  mask-image: url("../lace/lace-1.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: auto 98px;
  mask-size: auto 98px;
  -webkit-mask-position: center top;
  mask-position: center top;
  mask-mode: alpha;
}

.block { padding: 72px 0; position: relative; }
.sec-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 34px;
  flex-wrap: wrap;
}
.sec-title h2 { font-size: clamp(32px, 3.2vw, 46px); margin: 0; }
.sec-title .script { font-size: clamp(28px, 2.78vw, 40px); color: var(--lav); }
.sec-title .more {
  margin-left: auto;
  font-weight: 800;
  font-size: 15px;
  border-bottom: 2px solid var(--lav);
}
.sec-title .more:hover { color: var(--accent); }

.divider {
  height: 26px;
  background: repeating-linear-gradient(-45deg, var(--lav) 0 12px, var(--mist) 12px 24px);
  opacity: 0.7;
  border-radius: 3px;
  transform: rotate(-0.4deg);
}

.yt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #c4302b;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.yt i {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid #c4302b;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.thumb { position: relative; overflow: hidden; background: #e6dfd4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(31, 23, 38, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
}
.thumb .yt { position: absolute; left: 10px; top: 10px; }

.feat {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.polaroid {
  position: relative;
  display: block;
  background: #fff;
  padding: 18px 18px 70px;
  box-shadow: 0 10px 30px rgba(74, 58, 94, 0.18);
  transform: rotate(-2deg);
  color: inherit;
}
.polaroid:hover { transform: rotate(-2deg) translateY(-3px); }
.polaroid .thumb { aspect-ratio: 16 / 9; }
.polaroid .cap {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  text-align: center;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1;
}
.polaroid .tape { top: -16px; left: 40%; transform: rotate(-4deg); }
.feat h3 { font-size: clamp(28px, 2.8vw, 40px); margin: 12px 0; }
.feat .blurb { font-size: 18px; line-height: 1.7; margin: 0 0 26px; }
.hint { font-size: 13px; margin-left: 12px; opacity: 0.7; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  background: var(--mist);
  border: 1px solid var(--lav);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
}

.shorts-wrap { overflow: hidden; padding-top: 6px; }
.shorts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.short {
  display: block;
  background: #fff;
  padding: 8px 8px 12px;
  box-shadow: 0 4px 14px rgba(74, 58, 94, 0.12);
  border-radius: 4px;
  color: inherit;
}
.short:nth-child(odd) { transform: rotate(1.5deg); }
.short:nth-child(even) { transform: rotate(-1.5deg); }
.short:hover { transform: rotate(0deg) translateY(-3px); }
.short .thumb { aspect-ratio: 9 / 16; border-radius: 3px; }
.short p {
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.band {
  position: relative;
  background: var(--mist);
  padding: 138px 0 72px;
}
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.theme {
  position: relative;
  height: 230px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(74, 58, 94, 0.15);
  display: block;
  color: inherit;
}
.theme:hover { transform: translateY(-3px); }
.theme img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(251, 247, 240, 0.94);
  text-align: center;
  padding: 8px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 21px;
  border-radius: 4px;
  line-height: 1.15;
}

.codes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 14px;
}
.code {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 3px 10px rgba(74, 58, 94, 0.07);
  min-width: 0;
}
.code .who { min-width: 0; flex: 1; }
.code b { font-size: 18px; display: block; line-height: 1.25; }
.code small { display: block; font-size: 13px; opacity: 0.75; margin-top: 2px; }
.badge {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 22px;
  background: var(--mist);
  border: 2px dashed var(--lav);
}
.code { flex-wrap: wrap; container-type: inline-size; }
.code .who { flex: 1 1 140px; }
.coupon { margin-left: auto; text-align: right; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.pct {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  overflow-wrap: anywhere;
}
.c {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  border: 2px dashed var(--plum);
  padding: 6px 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 14px;
  border-radius: 4px;
  background: var(--paper);
  margin-top: 6px;
  font-family: "Nunito", sans-serif;
  text-transform: none;
}
.c:hover { background: var(--mist); }
.actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-items: baseline;
  margin-top: 6px;
  white-space: nowrap;
}
.copy, .shop {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
.copy:hover, .shop:hover { text-decoration: underline; }
.dot { font-size: 12px; opacity: 0.6; }
.tag.star {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--blush);
  border-color: var(--blush);
  margin: 0;
}
.disc { font-size: 13px; opacity: 0.8; line-height: 1.6; }
.disc.space { margin-top: 22px; }
.disc.gap-10 { margin-top: 10px; }
.disc.gap-12 { margin-top: 12px; }

.all-codes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.all-codes > .code:last-child:nth-child(4n + 1) { grid-column: 1 / -1; }
.all-codes > .code:nth-last-child(2):nth-child(4n + 1),
.all-codes > .code:last-child:nth-child(4n + 2) { grid-column: span 2; }
.all-codes > .code:last-child:nth-child(4n + 3) { grid-column: span 2; }

@container (max-width: 330px) {
  .code { align-items: center; align-content: space-between; row-gap: 14px; }
  .code .who { flex: 1 1 0; }
  .coupon {
    flex: 1 1 100%;
    margin-left: 0;
    width: 100%;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
  }
  .coupon .pct { flex: 0 0 auto; }
  .coupon .c {
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
    margin-top: 0;
    text-align: center;
    padding: 9px 12px;
    font-size: 15px;
  }
  .coupon .actions {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
    white-space: nowrap;
  }
  .coupon .actions .dot { display: none; }
  .coupon .copy,
  .coupon .shop,
  .coupon .visit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    padding: 0 12px;
    text-decoration: none;
  }
  .coupon .copy { background: var(--lav); color: var(--plum); border: 2px solid var(--lav); }
  .coupon .shop,
  .coupon .visit { background: #fff; color: var(--accent); border: 2px solid var(--lav); width: 100%; }
}

.posts { display: flex; flex-direction: column; gap: 18px; }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 3px 10px rgba(74, 58, 94, 0.07);
}
.post-card h2 { margin: 0; font-size: 32px; }
.post-card time,
.post-hero time {
  font-weight: 800;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post-card p { margin: 0; }
.prose { font-size: 18px; line-height: 1.7; max-width: 720px; }
.prose h2 { font-size: 32px; margin: 28px 0 8px; }
.prose h3 { font-size: 26px; margin: 22px 0 8px; }
.prose figure { margin: 18px 0; }
.yt-card {
  display: flex;
  max-width: 520px;
}
.yt-card a {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}
.yt-card img { width: 160px; height: 90px; object-fit: cover; border-radius: 6px; }
.pager { display: flex; gap: 12px; margin-top: 22px; }
.post-hero { margin-bottom: 18px; }

.about {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 64px;
  align-items: center;
  background: var(--mist);
  border-radius: 16px;
  padding: 136px 56px 56px;
}
.about .ph {
  position: relative;
  background: #fff;
  padding: 14px;
  transform: rotate(2deg);
  box-shadow: 0 8px 24px rgba(74, 58, 94, 0.18);
}
.about .ph img { width: 100%; display: block; }
.about .ph .tape { top: -14px; left: 30%; transform: rotate(-6deg); }
.about .hello { font-size: clamp(34px, 3vw, 44px); }
.about h2 { font-size: clamp(36px, 3.4vw, 48px); margin: 0; }
.about p { font-size: 18px; line-height: 1.7; margin: 16px 0; }

footer {
  position: relative;
  margin-top: 72px;
  background: var(--plum);
  color: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-top: 118px;
  padding-bottom: 12px;
}
.footer-notes { padding-bottom: 40px; }
.footer-notes .disc { margin: 0 0 8px; }
.footer-notes .disc:last-child { margin-bottom: 0; }
footer .script { font-size: 56px; color: var(--blush); line-height: 1; }
footer h2 {
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--lav);
}
footer p, footer li { font-size: 14px; line-height: 1.8; list-style: none; }
footer ul { margin: 0; padding: 0; }
footer a:hover { color: var(--blush); }
footer .disc { opacity: 0.85; }

/* Inner pages */
.codes-top { padding: 40px 0 10px; }
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--mist);
  border-radius: 16px;
  padding: 134px 40px 56px;
  text-align: center;
}
.page-hero .script { font-size: clamp(32px, 3.3vw, 48px); }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); margin: 0; }
.lede {
  font-size: 18px;
  margin: 14px auto 0;
  max-width: 760px;
  line-height: 1.7;
}
.disclosure {
  max-width: 900px;
  margin: 26px auto 0;
  background: #fff;
  border: 2px dashed var(--lav);
  border-radius: 10px;
  padding: 16px 22px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.tight { padding: 26px 0; }
.tight .sec-title { margin-bottom: 8px; }
.tight .sec-title h2 { font-size: clamp(28px, 2.5vw, 36px); }
.tight .sec-title .script { font-size: clamp(24px, 2vw, 30px); }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard {
  display: block;
  background: #fff;
  padding: 10px 10px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(74, 58, 94, 0.12);
  color: inherit;
  height: 100%;
}
.vcard:hover { transform: translateY(-3px); }
.vcard .thumb { aspect-ratio: 16 / 9; border-radius: 3px; }
.vcard .vtitle {
  font-weight: 800;
  font-size: 15px;
  margin: 10px 4px 0;
  line-height: 1.35;
}
.vcard .vmeta { font-size: 13px; opacity: 0.7; margin: 4px 4px 0; }
.filter-note { margin: -12px 0 22px; font-weight: 700; color: var(--accent); }
.subhead { margin-top: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.chips li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--lav);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 800;
}
.prose { font-size: 18px; line-height: 1.7; }
.prose p { margin: 0 0 16px; }
a.inline-link { border-bottom: 2px solid var(--lav); font-weight: 800; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 8px 0 12px;
}
.stat {
  background: #fff;
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(74, 58, 94, 0.07);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat b {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 700;
  display: block;
  line-height: 1;
  color: var(--accent);
}
.stat b {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat b.cadence { font-size: clamp(18px, 2.2vw, 28px); line-height: 1; white-space: nowrap; }
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.asof { font-size: 13px; opacity: 0.75; margin: 0 0 8px; }
.brandwall {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-weight: 800;
}
.brand .badge { width: 44px; height: 44px; font-size: 18px; }
.stack { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

@media (max-width: 1100px) {
  .all-codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .all-codes > .code:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 1280px) {
  .codes:not(.all-codes) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1280px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .logo { font-size: 44px; padding: 0 16px; }
  .shell { padding-inline: 40px; }
}

@media (max-width: 980px) {
  .shorts { grid-template-columns: repeat(3, 1fr); }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .burger,
  .nav-tools > .codes-pin { display: inline-flex; }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: none; }
  .logo { font-size: 42px; padding: 0; }
  .codes-pin,
  .burger summary { flex: none; }
}

@media (max-width: 900px) {
  .shell { padding-inline: 24px; }
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .about { grid-template-columns: 1fr; gap: 28px; padding: 108px 28px 36px; }
  .about .ph { max-width: 360px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .hero .tape { display: none; }
}

@media (max-width: 680px) {
  .shell { padding-inline: 20px; }
  .block { padding: 48px 0; }
  .band { padding: 92px 0 48px; }
  .hero { min-height: 0; padding: 88px 0 48px; }
  .lace.scallop.tall { height: 56px; background-size: 71.2px 56px; }
  .lace.rosette.tall { height: 56px; background-size: 63.3px 56px; }
  footer .lace, .lace.scallop.tall { height: 56px; -webkit-mask-size: auto 56px; mask-size: auto 56px; }
  .footer-inner { padding-top: 76px; }
  .divider { height: 18px; }
  .shorts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .themes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .theme { height: 168px; }
  .theme span { font-size: 17px; left: 8px; right: 8px; bottom: 8px; }
  .codes:not(.all-codes), .vgrid, .stats { grid-template-columns: 1fr; }
  .all-codes { grid-template-columns: 1fr; }
  .yt-card a { flex-direction: column; align-items: flex-start; }
  .yt-card img { width: 100%; height: auto; }
  .sec-title .more { margin-left: 0; }
  .page-hero { padding: 84px 16px 32px; }
  .codes-top { padding-top: 20px; }
  .about { padding: 84px 18px 24px; }
  .hint { display: block; margin: 10px 0 0; }
  .polaroid { transform: none; }
  .short:nth-child(odd), .short:nth-child(even) { transform: none; }
  footer .script { font-size: 46px; }
  .logo { font-size: 36px; }
}

@media (max-width: 420px) {
  .logo { font-size: 32px; }
  .burger summary {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .burger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.about.plain {
  background: transparent;
  padding: 0;
  overflow: visible;
}
@media (max-width: 900px) {
  .about.plain { padding: 0; }
}
@media (max-width: 680px) {
  .about.plain { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .polaroid, .short, .about .ph, .divider, .tape { transform: none !important; }
  .polaroid:hover, .short:hover, .vcard:hover, .theme:hover { transform: none; }
}
