:root {
  --pink: #f38d9e;
  --yellow: #f6b817;
  --outline: #7a1425;
  --orange: #dc4826;
  --footer: #ffefdf;
  --footer-text: #e25740;
  --ink: #5a1320;
  --paper: #fff7e8;
  --mint: #9bd9bd;
  --blue: #4e9bc9;
  --shadow: 0 10px 0 rgba(122, 20, 37, 0.2);
  --heading: "American Typewriter", "Courier New", Courier, monospace;
  --body: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", Georgia, serif;
  --type: "Courier New", Courier, monospace;
  --heart-bg: url("assets/heart-gradient-bg.svg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 239, 223, 0.28) 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--pink), #f6a0a9 48%, var(--pink));
  font-family: var(--body);
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  background: var(--paper);
  border: 3px solid var(--outline);
  padding: 8px 12px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(122, 20, 37, 0.22);
  background: var(--pink);
  box-shadow: 0 2px 10px rgba(122, 20, 37, 0.1);
}

@media (min-width: 901px) {
  .site-header {
    background-color: var(--pink);
    background-image: url("assets/desktop-header-bg.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .site-header .header-main {
    height: calc(100vw * 322 / 3074);
    min-height: 96px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header .brand-lockup {
    visibility: hidden;
  }
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-width: 1660px;
  margin: 0 auto;
  padding: 10px clamp(18px, 8vw, 130px) 8px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: min(248px, 48vw);
  height: auto;
  filter: none;
  transform: none;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.poper-counter {
  padding: 8px 12px;
  border: 2px solid var(--outline);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.82);
  color: var(--outline);
  font-family: var(--heading);
  font-weight: 800;
}

.newsletter-form button {
  border: 0;
  background: var(--orange);
  color: var(--footer);
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.nav-links a,
.cart-button,
.menu-toggle,
.paper-link,
.category-tabs button,
.modal-close,
.cart-head button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-links a {
  padding: 9px 14px;
  color: var(--outline);
  border: 3px solid var(--outline);
  border-radius: 999px;
  background: var(--footer);
  box-shadow: 3px 4px 0 rgba(122, 20, 37, 0.22);
  transform: rotate(-1deg);
}

.nav-links a.is-active,
.category-tabs button.is-active {
  background: var(--orange);
  color: var(--footer);
}

.cart-button,
.menu-toggle {
  padding: 8px 12px;
  color: var(--outline);
  border: 2px solid var(--outline);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.82);
  font-size: 1.02rem;
}

.menu-toggle {
  display: none;
}

.nav-links a:hover,
.cart-button:hover,
.sticker-button:hover,
.paper-link:hover,
.category-tabs button:hover {
  transform: translate(-1px, -2px) rotate(1deg);
  box-shadow: 5px 6px 0 rgba(122, 20, 37, 0.18);
}

.red-nav {
  background: rgba(246, 184, 23, 0.82);
  border-top: 1px solid rgba(122, 20, 37, 0.16);
}

.red-nav .nav-links {
  max-width: 1660px;
  margin: 0 auto;
  padding: 12px clamp(18px, 8vw, 130px) 14px;
}

main {
  max-width: 1660px;
  margin: 0 auto;
  padding: 42px clamp(18px, 8vw, 130px) 64px;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: stretch;
  min-height: auto;
  margin-bottom: 48px;
  padding: clamp(16px, 2.4vw, 30px);
  background-color: var(--pink);
  background-image: url("assets/header-heart-bg.png");
  background-position: left 18% center;
  background-size: auto 138%;
  background-repeat: no-repeat;
}

.hero-copy,
.page-intro,
.content-band,
.print-board,
.about-copy,
.receipt-card,
.contact-form,
.blog-reader,
.cart-panel,
.terminal-card {
  background:
    linear-gradient(rgba(255, 247, 232, 0.22), rgba(255, 247, 232, 0.22)),
    var(--yellow);
  border: 3px solid var(--outline);
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(122, 20, 37, 0.08);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 42px);
}

.hero-copy > * {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: var(--type);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading);
  line-height: 1.02;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

h1 {
  max-width: 640px;
  font-size: clamp(2rem, 3.6vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy p:not(.eyebrow),
.page-intro p {
  max-width: 860px;
  font-size: 1rem;
  line-height: 1.48;
}

.hero-actions,
.category-tabs,
.blog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.sticker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  color: var(--footer);
  background: var(--orange);
  box-shadow: none;
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 800;
  text-decoration: none;
}

.sticker-button.full {
  width: 100%;
}

.paper-link,
.category-tabs button {
  min-height: 40px;
  padding: 8px 13px;
  border: 2px solid var(--outline);
  background: var(--footer);
  color: var(--outline);
}

.category-tabs input {
  flex: 1 1 260px;
  min-height: 42px;
  border: 2px solid var(--outline);
  border-radius: 0;
  padding: 0 14px;
  background: var(--footer);
  color: var(--ink);
}

.hero-window {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 4px solid var(--outline);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(122, 20, 37, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(rgba(122, 20, 37, 0.1) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--footer);
  box-shadow: var(--shadow);
}

.sun-card,
.sticker-sheet,
.memo-pad,
.stamp-block {
  position: absolute;
  border: 4px solid var(--outline);
  box-shadow: 8px 9px 0 rgba(122, 20, 37, 0.18);
}

.sun-card {
  left: 12%;
  top: 10%;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 44% 56% / 55% 45% 58% 42%;
  background: var(--yellow);
  transform: rotate(-7deg);
}

.sun-card p {
  margin: 0;
  color: var(--pink);
  font-family: var(--heading);
  font-size: 3rem;
  font-weight: 800;
  -webkit-text-stroke: 1px var(--outline);
}

.spark {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--mint);
  border: 3px solid var(--outline);
  transform: rotate(45deg);
}

.spark.one { left: 26px; top: 38px; }
.spark.two { right: 34px; top: 60px; background: var(--pink); }
.spark.three { right: 78px; bottom: 38px; background: var(--blue); }

.sticker-sheet {
  right: 9%;
  top: 17%;
  display: grid;
  grid-template-columns: repeat(2, 76px);
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #fffaf1;
  transform: rotate(6deg);
}

.sticker-sheet span {
  aspect-ratio: 1;
  border: 3px solid var(--outline);
  border-radius: 50%;
  background: var(--pink);
}

.sticker-sheet span:nth-child(2) { background: var(--mint); border-radius: 12px; }
.sticker-sheet span:nth-child(3) { background: var(--orange); border-radius: 40% 60% 50% 50%; }
.sticker-sheet span:nth-child(4) { background: var(--yellow); border-radius: 12px 50% 12px 50%; }

.memo-pad {
  left: 15%;
  bottom: 14%;
  width: 220px;
  padding: 22px;
  border-radius: 8px;
  background: #fffaf1;
  color: var(--orange);
  font-family: var(--type);
  font-weight: 700;
  transform: rotate(4deg);
}

.stamp-block {
  right: 12%;
  bottom: 13%;
  padding: 28px 34px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--heading);
  font-size: 2.2rem;
  transform: rotate(-5deg);
}

.content-band,
.page-intro {
  margin-bottom: 44px;
  padding: clamp(22px, 3vw, 36px);
  border: 3px solid var(--outline);
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 239, 223, 0.28) 2px, transparent 3px) 0 0 / 28px 28px,
    var(--pink);
  box-shadow: var(--shadow);
}

.page-intro {
  max-width: none;
}

.page-intro > * {
  max-width: 980px;
}

.page-intro h1 {
  max-width: 1020px;
  font-size: clamp(1.9rem, 3.15vw, 3.45rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.section-arrows {
  display: flex;
  margin-left: auto;
}

.section-arrows span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #e3dada;
  color: #938888;
  font-family: var(--heading);
  font-size: 2rem;
}

.product-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

#blog .blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--outline);
  background: var(--footer);
}

.blog-list-row {
  display: grid;
  grid-template-columns: 130px minmax(220px, 0.55fr) minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 15px 12px;
  border-bottom: 2px dotted rgba(122, 20, 37, 0.38);
  color: var(--ink);
  text-decoration: none;
}

.blog-list-row:hover {
  background: rgba(246, 184, 23, 0.36);
}

.blog-list-row time,
.blog-list-row em {
  color: var(--orange);
  font-family: var(--type);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.blog-list-row span {
  color: #6b1f2c;
}

.product-card,
.blog-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 18px;
  border: 3px solid var(--outline);
  border-radius: 0;
  background: var(--yellow);
  box-shadow: 0 2px 5px rgba(122, 20, 37, 0.08);
}

.product-card {
  cursor: pointer;
}

.product-art {
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: var(--footer);
  overflow: hidden;
}

.product-art span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 96px;
  height: 132px;
  place-items: center;
  border: 4px solid var(--outline);
  border-radius: 999px;
  background: var(--color);
  color: var(--paper);
  font-family: var(--heading);
  font-weight: 800;
  transform: rotate(var(--tilt));
}

.product-art-stickers {
  background:
    radial-gradient(circle at 38% 32%, #f38d9e 0 7%, transparent 7.5%),
    radial-gradient(circle at 62% 34%, #f6b817 0 7%, transparent 7.5%),
    radial-gradient(circle at 42% 62%, #9bd9bd 0 7%, transparent 7.5%),
    radial-gradient(circle at 65% 64%, #dc4826 0 7%, transparent 7.5%),
    linear-gradient(#fffaf1, #fff4df);
}

.product-art-stickers span {
  width: 110px;
  height: 110px;
  border-radius: 18px;
  background: rgba(255, 239, 223, 0.78);
  color: var(--outline);
}

.product-art-toybooks span {
  width: 122px;
  height: 170px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 239, 223, 0.72), rgba(255, 239, 223, 0.1)),
    var(--color);
  box-shadow: 10px 10px 0 rgba(122, 20, 37, 0.18);
}

.product-art-records span {
  width: 150px;
  height: 150px;
  border-radius: 6px;
  background:
    radial-gradient(circle, #ffefdf 0 13%, transparent 14%),
    radial-gradient(circle, #1a0d10 0 44%, transparent 45%),
    var(--color);
}

.product-art-treasures span {
  width: 140px;
  height: 112px;
  border-radius: 48% 52% 54% 46%;
  background:
    radial-gradient(circle at 40% 44%, rgba(255, 239, 223, 0.7) 0 18%, transparent 19%),
    var(--color);
}

.product-meta {
  display: grid;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.product-meta .sticker-button {
  width: 100%;
}

.price {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.locked-badge,
.clue-badge {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border: 0;
  border-radius: 999px;
  background: #dff2e2;
  color: #2d7a3c;
  font-family: var(--type);
  font-size: 0.78rem;
  font-weight: 700;
}

.locked-badge.is-sold-out {
  background: #f5d8dc;
  color: #9a3440;
}

.product-author {
  margin: -4px 0 0;
  color: var(--orange);
  font-family: var(--type);
  font-size: 0.9rem;
  font-weight: 700;
}

.detail-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 3px solid var(--outline);
  background: var(--yellow);
}

.back-link {
  width: fit-content;
  margin-bottom: 24px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.product-detail-art {
  min-height: 520px;
  border: 3px solid var(--outline);
}

.product-detail-art span {
  width: 140px;
  height: 260px;
}

.product-detail-copy {
  display: grid;
  gap: 16px;
}

.detail-price {
  color: var(--orange);
  font-family: var(--heading);
  font-size: 1.55rem;
  font-weight: 800;
}

.blog-detail-page {
  max-width: 920px;
}

.blog-detail-page h1 {
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.blog-detail-page > p:not(.eyebrow) {
  max-width: 720px;
  line-height: 1.75;
}

.blog-body {
  max-width: 720px;
}

.blog-body p {
  margin: 0 0 1.2em;
  font-size: clamp(1.125rem, 1.32vw, 1.25rem);
  line-height: 1.82;
  letter-spacing: 0.01em;
}

.related-products {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 2px dashed var(--outline);
}

.related-products div {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.related-products a {
  color: var(--orange);
  font-family: var(--heading);
}

.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 3px solid var(--outline);
}

.blog-post-nav div:last-child {
  text-align: right;
}

.blog-post-nav a {
  display: grid;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
}

.blog-post-nav span {
  color: var(--orange);
  font-family: var(--type);
  font-size: 0.86rem;
  font-weight: 700;
}

.blog-post-nav strong {
  font-family: var(--heading);
}

.sticker-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.split-band,
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 64px;
}

.print-board,
.about-copy,
.receipt-card {
  padding: clamp(20px, 4vw, 34px);
}

.print-board ul {
  padding-left: 22px;
  color: var(--orange);
  font-size: 1.12rem;
}

.banner-stack {
  display: grid;
  gap: 14px;
}

.banner-stack div {
  padding: 22px;
  border: 2px solid var(--outline);
  border-radius: 0;
  background: var(--footer);
  box-shadow: none;
  color: var(--orange);
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

.banner-stack div:nth-child(2) {
  background: var(--mint);
  transform: rotate(-1deg);
}

.banner-stack div:nth-child(3) {
  background: var(--blue);
  color: var(--paper);
  transform: rotate(1deg);
}

.blog-tools {
  margin: -4px 0 20px;
}

.blog-tools input,
.contact-form input,
.contact-form textarea,
.terminal-card input {
  width: 100%;
  border: 3px solid var(--outline);
  border-radius: 8px;
  background: #fffaf1;
  color: var(--ink);
  padding: 11px 12px;
  box-shadow: inset 2px 2px 0 rgba(122, 20, 37, 0.12);
}

.blog-tools input {
  flex: 1 1 280px;
}

.blog-card {
  cursor: pointer;
}

.blog-card time {
  color: var(--orange);
  font-family: var(--type);
  font-size: 0.85rem;
}

.blog-reader {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 34px);
}

.blog-reader .reader-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.type-note {
  color: var(--orange);
  font-family: var(--type);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-form label,
.terminal-card label {
  display: grid;
  gap: 7px;
  color: var(--outline);
  font-family: var(--heading);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(540px, 0.88fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(32px, 6vw, 92px);
  row-gap: 0;
  align-items: start;
  min-height: 450px;
  padding: 22px clamp(20px, 7.5vw, 152px) 22px;
  border-top: 2px solid rgba(90, 19, 32, 0.35);
  background: var(--pink);
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.footer-newsletter {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 690px);
  text-align: center;
}

.footer-newsletter h2 {
  color: var(--ink);
  font-size: clamp(2rem, 2.15vw, 2.45rem);
  line-height: 1;
  font-weight: 700;
}

.footer-newsletter p {
  margin-top: 22px;
  font-size: 0.94rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.footer-links {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 8px;
  align-self: end;
  margin-bottom: 16px;
  font-family: var(--heading);
  font-size: clamp(2rem, 2.25vw, 2.55rem);
  line-height: 1.12;
  font-weight: 700;
}

.footer-links a {
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 21px;
  padding: 0 10px 0 26px;
  border: 0;
  border-radius: 999px;
  background: #fffaf1;
  box-shadow: none;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
}

.newsletter-form button {
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-family: var(--body);
  font-weight: 700;
}

.footer-bottom {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: 0;
  padding-top: 26px;
  border-top: 2px solid rgba(90, 19, 32, 0.15);
  color: var(--ink);
  font-size: 0.78rem;
}

.footer-bottom a,
.footer-bottom span {
  color: var(--ink);
  text-decoration: none;
}

.footer-bottom span {
  margin-left: auto;
  font-family: var(--heading);
  font-size: 1.55rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cart-drawer,
.password-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  background: rgba(66, 16, 26, 0.45);
}

.cart-drawer.is-open,
.password-modal.is-open {
  display: block;
}

.cart-panel {
  position: absolute;
  right: 18px;
  top: 18px;
  width: min(430px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  background: var(--footer);
}

.cart-head,
.cart-row,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.cart-row {
  padding: 10px;
  border: 3px solid var(--outline);
  border-radius: 8px;
  background: var(--paper);
}

.cart-total {
  margin: 14px 0;
  padding-top: 12px;
  border-top: 3px dashed var(--outline);
  color: var(--orange);
  font-family: var(--heading);
  font-size: 1.18rem;
}

.checkout-receipt {
  margin-top: 14px;
  padding: 14px;
  border: 2px dashed var(--outline);
  background: #fffaf1;
  font-family: var(--type);
}

.terminal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100vw - 32px));
  padding: 24px;
  background:
    linear-gradient(rgba(255, 247, 232, 0.88), rgba(255, 247, 232, 0.88)),
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(122, 20, 37, 0.12) 23px);
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
}

.password-feedback {
  min-height: 1.4em;
  color: var(--orange);
  font-family: var(--type);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    background-color: var(--pink);
    background-image: url("assets/mobile-header-bg.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .site-header .brand-lockup {
    visibility: hidden;
  }

  .header-main {
    min-height: 146px;
    padding: 12px 18px 10px;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    justify-content: stretch;
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .red-nav .nav-links {
    padding: 12px 18px 16px;
  }

  .hero,
  .split-band,
  .about-layout,
  .product-detail-layout,
  .blog-post-nav {
    grid-template-columns: 1fr;
  }

  .blog-post-nav div:last-child {
    text-align: left;
  }

  .hero-window {
    min-height: 420px;
  }

  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-list-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .newsletter-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-newsletter,
  .footer-links,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-newsletter {
    justify-self: stretch;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-main {
    gap: 10px;
    padding: 10px;
    align-items: start;
  }

  .site-logo {
    width: min(190px, 46vw);
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .cart-button,
  .menu-toggle {
    padding: 7px 8px;
  }

  main {
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .product-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .product-art {
    min-height: 220px;
  }

  .product-detail-art {
    min-height: 340px;
  }

  .newsletter-form {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 18px;
  }

  .section-heading,
  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 34px;
  }

  .footer-bottom span {
    margin-left: 0;
  }

  .sun-card {
    left: 7%;
    width: 210px;
    height: 210px;
  }

  .sticker-sheet {
    right: 5%;
    grid-template-columns: repeat(2, 58px);
  }

  .memo-pad {
    left: 7%;
    bottom: 11%;
    width: 178px;
  }

  .stamp-block {
    right: 6%;
  }
}
