/* Layout experiment: retain the coral wordmark and paper, give the art room. */
.wrap-home { max-width: 1200px; padding-inline: 40px; }
.wrap-home header { padding-block: 30px; border-bottom: 1px solid var(--rule); }
.wrap-home header .wordmark { font-size: 18px; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 64px 0 72px; }
.hero-copy h1 { font-weight: 800; font-size: clamp(44px, 5vw, 64px); max-width: 420px; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; margin: 22px 0; color: #343b32; }
.hero-copy h1 span { color: #e96647; }
.intro { max-width: 390px; font-size: 20px; line-height: 1.65; color: var(--ink-2); }
.availability { margin-top: 28px; }
.preview-desk { background: #edf0e7; border-radius: 32px; padding: 28px 38px 20px; transform: rotate(2deg); }
.desk-note { display: block; text-align: center; font-size: 15px; color: #526149; margin-bottom: 24px; }
.preview-sheet { padding: 20px; background: white; box-shadow: 0 16px 36px #33432a16, 0 2px 4px #33432a0d; transform: rotate(-5deg); }
.sheet-top { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .08em; color: var(--ink-2); padding-bottom: 17px; border-bottom: 1px solid #eceee7; }
.art-toggle { display: grid; grid-template-columns: 1fr 1fr; padding-top: 16px; column-gap: 5px; }
.art-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.art-toggle label { cursor: pointer; text-align: center; padding: 10px 8px; min-height: 44px; border-radius: 5px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: #f6f7f3; transition: background-color .5s ease-in-out, color .5s ease-in-out; }
.art-toggle input:checked + label { background: #e7eddf; color: #364b3e; }
.art-toggle input:focus-visible + label { outline: 2px solid #364b3e; outline-offset: 3px; }
.preview-art { grid-column: 1 / -1; display: grid; margin-block: 10px; }
#mode-outline:checked ~ .preview-art { --wipe: 1; }
.sheet-caption { border-top: 1px solid #eceee7; padding-top: 13px; font-size: 18px; font-weight: 600; }
.sheet-caption a { color: inherit; text-decoration: none; }
.sheet-caption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet-category { display: block; font-size: 15px; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
/* Category and the preview countdown share a line; the dots sit on the right. */
.sheet-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; font-weight: 400; }
.sheet-meta .sheet-category { margin-top: 0; }
.sheet-meta .preview-countdown { margin: 0; flex: none; }
.preview-hint { text-align: right; font-size: 15px; color: #526149; padding-top: 17px; }
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-block: 1px solid var(--rule); padding: 32px 0 36px; }
.step-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.step-icon { display: block; flex: 0 0 44px; width: 44px; height: 44px; }
.how-it-works h2 { font-family: "SF Pro Rounded", ui-rounded, "Nunito", -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 21px; margin: 0; }
.how-it-works p { color: var(--ink-2); font-size: 18px; margin: 0; padding-inline-start: 54px; }
.discover { padding-block: 66px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-family: "SF Pro Rounded", ui-rounded, "Nunito", -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 30px; line-height: 1.2; letter-spacing: -.025em; margin: 0; color: #343b32; }
.section-heading > p { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink-2); margin: 0; }
.heart-icon { display: block; flex: 0 0 30px; width: 30px; height: 30px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.discover .browse-all { margin: 24px 0 0; }
.gallery-card { color: inherit; text-decoration: none; padding: 22px; border-radius: 16px; background: #edf0e7; }
.gallery-card:has(.blue) { background: #eaf1f5; }
.gallery-card:has(.peach) { background: #f6ede2; }
.gallery-art { display: grid; padding: 0; border-radius: 3px; overflow: hidden; box-shadow: 0 5px 12px #00000008;
  transition: --wipe var(--wipe-duration) var(--wipe-easing), transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  .gallery-card:hover .gallery-art { transform: translateY(-3px); box-shadow: 0 10px 22px #33432a20; }
  /* Hovering or focusing a card wipes it to the outline; leaving wipes it back. */
  .gallery-card:hover .gallery-art { --wipe: 1; }
}
.gallery-card:focus-visible .gallery-art { --wipe: 1; }
.gallery-card h3 { font-size: 19px; font-weight: 600; margin: 15px 0 2px; }
.gallery-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 16px; font-weight: 600; color: #364b3e; }
.gallery-link .arrow-icon { width: 16px; height: 16px; }
.gallery-card:hover .gallery-link, .gallery-card:focus-visible .gallery-link { text-decoration: underline; text-underline-offset: 4px; }
.gallery-card p { font-size: 16px; color: var(--ink-2); margin: 0; }
.wrap-home footer { margin-top: 56px; }
a:focus-visible { outline: 2px solid #364b3e; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { .gallery-art, .art-toggle label { transition: none; } }
@media (max-width: 850px) {
  .wrap-home { padding-inline: 24px; }
  .home-hero { gap: 30px; }
  .preview-desk { padding: 24px 28px 18px; }
  .preview-sheet { padding: 14px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
}
@media (max-width: 600px) {
  .wrap-home { padding-inline: 22px; }
  .wrap-home header { padding-block: 23px; }
  .wrap-home header .wordmark { font-size: 14px; }
  .wrap-home header nav a { font-size: 15px; margin-left: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 42px; padding-block: 36px 44px; }
  .hero-copy h1 { font-size: clamp(40px, 10vw, 52px); }
  .intro { font-size: 18px; }
  .preview-desk { margin: 0 8px; padding: 26px 30px 20px; }
  .how-it-works { grid-template-columns: 1fr; gap: 25px; }
  .how-it-works p { max-width: none; }
  .discover { padding-block: 40px; }
  .section-heading h2 { font-size: 28px; }
  .gallery { grid-template-columns: 1fr; gap: 28px; }
  .gallery-card { padding: 25px; }
}

