:root{color-scheme:light;--paper:#faf6eb;--ink:#2d3128;--green:#283d30;--rust:#a04c33;--line:#ded3bb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,sans-serif}a{color:inherit}header,footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px clamp(20px,6vw,92px)}header{border-bottom:1px solid var(--line)}.brand{font:bold 1.7rem/.94 Georgia,serif;text-decoration:none;letter-spacing:-.055em}.brand span{color:var(--rust)}nav{display:flex;gap:clamp(14px,3vw,42px)}nav a{text-decoration:none;font-weight:650}nav a:hover,footer a:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1.06fr 1fr;background:var(--green);color:var(--paper);min-height:520px}.intro{align-self:center;padding:clamp(30px,7vw,108px)}.hero img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 45%;max-height:690px}.eyebrow{font-size:.72rem;letter-spacing:.14em;font-weight:750;color:var(--rust)}.intro .eyebrow{color:#f2c89e}h1,h2,h3{font-family:Georgia,serif;line-height:1.06;margin:0;letter-spacing:-.045em}h1{font-size:clamp(3rem,6.2vw,6.5rem);max-width:8ch}h2{font-size:clamp(2rem,4.5vw,3.6rem)}h3{font-size:1.6rem}.intro>p:not(.eyebrow){max-width:37ch;margin:22px 0}.button{display:inline-flex;gap:22px;padding:12px 19px;text-decoration:none;color:var(--green);background:#f5e4c9;border-radius:4px;font-weight:700}.button:hover{background:white}.section{padding:clamp(42px,7vw,90px) clamp(20px,6vw,92px);scroll-margin-top:16px}.section-title{margin-bottom:26px}.section-title p{margin:8px 0 0}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fffaf1}.product img,.book-scene{width:100%;height:auto;aspect-ratio:1.13;object-fit:cover;object-position:center 40%;display:block}.product-copy{padding:20px}.product-copy .eyebrow{margin:0 0 10px}.status{font-size:.84rem;font-weight:650;margin-bottom:0}.book-scene{display:grid;place-items:center}.writing{background:#d6dfca}.coloring{background:#ebcbbb}.book{width:55%;aspect-ratio:.78;background:#faf0d8;border-radius:3px 8px 8px 3px;border-left:7px solid #a75c42;box-shadow:6px 10px 14px #49372533;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:rotate(-7deg);padding:8px;line-height:1.15}.coloring .book{transform:rotate(7deg);background:#f7e8d7;border-color:#6a815f}.book strong{font:700 clamp(17px,2.7vw,38px)/1 Georgia,serif;margin:9px 0}.book small,.book span{font-size:clamp(8px,1vw,12px)}.practice{margin-top:14px;border-block:1px solid #b7976c;font:italic clamp(12px,2vw,24px) Georgia,serif}.flower{font-size:clamp(20px,4vw,58px);color:var(--rust)}.journal{background:#f1e6d2}.journal article{border-top:1px solid #d3c4a9}.journal article:last-child{border-bottom:1px solid #d3c4a9}summary{cursor:pointer;padding:18px 0}summary strong{font:700 clamp(1.2rem,2.6vw,1.8rem) Georgia,serif;display:block;margin-top:6px}details p,.about p{max-width:65ch}.about{background:#e6eadc}footer{border-top:1px solid var(--line)}footer .brand{font-size:1.2rem}:focus-visible{outline:3px solid #a04c33;outline-offset:4px}@media(max-width:760px){.hero{grid-template-columns:1fr}.hero img{max-height:440px}.products{grid-template-columns:1fr}.book strong{font-size:34px}.book small,.book span{font-size:12px}}

.hero img,.product img{object-fit:contain;background:#e9dfd5}
.gallery-track{position:relative;min-width:0;width:100%;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.gallery-track figure{width:100%;flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start}
.gallery-track img{aspect-ratio:1;object-fit:contain}
.gallery-controls{display:flex;gap:8px;padding:12px 16px 0;flex-wrap:wrap}
.gallery-controls button{font:inherit;font-size:.86rem;padding:5px 12px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);cursor:pointer}
.gallery-controls button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--paper)}
.product-image-link{display:block}
.product-image-link:focus-visible{outline-offset:-4px}
.product h3 a{text-decoration:none}
.product h3 a:hover{text-decoration:underline}
.back-link{display:inline-block;margin-bottom:24px}
.product-detail{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(24px,5vw,70px);align-items:start}
.detail-media{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fffaf1}
.detail-media img{display:block;width:100%;height:auto}
.detail-media .gallery-controls{padding-bottom:12px}
.detail-copy h1{max-width:14ch;font-size:clamp(2.6rem,5vw,5rem)}
.detail-copy>p:not(.eyebrow){max-width:42ch}
@media(max-width:760px){.product-detail{grid-template-columns:1fr}}
.blog-landing h1{max-width:none;font-size:clamp(2.8rem,6vw,5rem)}

/* Teaching to the Choir brand palette */
:root{--blush:#f7dce5;--rose:#f0c3d3;--berry:#842044;--berry-dark:#671535;--pink-line:#e5bdcd}
header{background:#fff3f7;border-color:var(--pink-line)}
.brand span,.eyebrow,.back-link{color:var(--berry)}
nav a:hover,nav a[aria-current=page]{color:var(--berry)}
.hero{background:var(--blush);color:var(--ink)}
.intro .eyebrow{color:var(--berry)}
.button,.gallery-controls button[aria-pressed=true]{background:var(--berry);border-color:var(--berry);color:#fff}
.button:hover{background:var(--berry-dark)}
.product,.detail-media{border-color:var(--pink-line)}
.gallery-controls button{border-color:var(--pink-line)}
.coloring,.journal{background:var(--blush)}
.journal article,.journal article:last-child{border-color:var(--pink-line)}
.about{background:#fff0f5}
footer{background:var(--rose);border-color:var(--pink-line)}
:focus-visible{outline-color:var(--berry)}

.shop-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.category-card{position:relative;display:block;padding:clamp(24px,4vw,48px);padding-right:60px;border:1px solid var(--pink-line);border-radius:8px;text-decoration:none;background:var(--blush)}
.category-card h3{font-size:clamp(1.7rem,3.5vw,2.7rem)}
.category-card p{margin:8px 0 0}
.category-card span{position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:1.5rem;color:var(--berry)}
.category-resources{background:#fff3f7}
.category-card:hover h3{text-decoration:underline;color:var(--berry)}
.category-page h1{max-width:none;font-size:clamp(2.8rem,6vw,5rem);margin-bottom:28px}
.category-page .products{grid-template-columns:repeat(2,minmax(0,1fr));max-width:960px}
@media(max-width:760px){.shop-categories,.category-page .products{grid-template-columns:1fr}}

.purchase-panel{margin-top:24px;padding:20px;border:1px solid var(--pink-line);border-radius:8px;background:#fff3f7}
.product-price{font-size:1.7rem;font-weight:750;margin:0 0 14px}
.option-label,.size-row label{font-weight:700;margin:0}
.purchase-panel .gallery-controls{padding:6px 0 14px}
.size-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.size-row select{font:inherit;border:1px solid var(--pink-line);border-radius:4px;padding:7px;background:white;color:var(--ink)}
.size-guide summary,.order-details summary{font-weight:650;padding:10px 0}
.size-guide table{border-collapse:collapse;width:100%;font-size:.9rem;margin-bottom:12px}
.size-guide caption{text-align:left}
.size-guide th,.size-guide td{text-align:left;padding:5px;border-bottom:1px solid var(--pink-line)}
.product-detail [hidden]{display:none}

.purchase-panel .button:disabled{opacity:.65;cursor:not-allowed}

.blog-card{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:clamp(16px,4vw,38px);align-items:center;padding:20px 0}
.blog-card img,.blog-post img{display:block;width:100%;height:auto;border-radius:8px}
.blog-card h2{font-size:clamp(1.55rem,3.4vw,2.55rem);margin:0}
.blog-card h2 a{text-decoration:none}
.blog-card h2 a:hover{text-decoration:underline}
.blog-post{max-width:760px;margin-inline:auto}
.blog-post h1{max-width:none;font-size:clamp(2.5rem,6vw,4.5rem)}
.blog-post h2{font-size:clamp(1.65rem,4vw,2.5rem);margin-top:1.3em}
.blog-post figure{margin:24px 0}
.blog-post li{margin-bottom:.55em}
@media(max-width:530px){.blog-card{grid-template-columns:1fr}.blog-card>a{max-width:320px}}

.lettering-colors {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .4rem 0 1rem;
  padding: 0;
  list-style: none;
}
.lettering-colors li {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.lettering-colors .swatch {
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
}
.swatch-raspberry { background: #a51f4d; }
.swatch-navy { background: #172b4d; }
.swatch-forest { background: #234b36; }
.swatch-black { background: #161616; }

.merry-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.merry-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  max-width: 20rem;
  margin-top: .75rem;
}
.merry-thumbnails button {
  min-width: 0;
  padding: 3px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.merry-thumbnails button[aria-pressed="true"] {
  border-color: currentColor;
}
.merry-order label {
  display: block;
  font-weight: 700;
  margin: .75rem 0 .25rem;
}
.merry-order select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .5rem;
  font: inherit;
  color: inherit;
  background: white;
  border: 1px solid #8c7382;
  border-radius: 6px;
}
.merry-order button:disabled {
  opacity: .55;
  cursor: default;
}

.teacher-tee-photo {
  margin: 0 0 1rem;
}
.teacher-tee-photo img {
  aspect-ratio: 1;
}
.storytime-gallery .teacher-tee-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
#teacher-tee-order .button {
  margin-top: 1rem;
}

.teacher-collection-products .product-copy h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.apparel-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-bottom: 1.5rem;
}
.apparel-group {
  margin-bottom: 2.5rem;
}
.apparel-group > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.category-page .apparel-group .teacher-collection-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px;
}
.apparel-group .teacher-collection-products h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.2;
}
@media (max-width: 900px) {
  .category-page .apparel-group .teacher-collection-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .category-page .apparel-group .teacher-collection-products {
    gap: 12px;
  }
  .apparel-group .teacher-collection-products .product-copy {
    padding: 12px;
  }
  .apparel-group .teacher-collection-products .button {
    padding-inline: .65rem;
  }
}

.signature-swatch {
  display: inline-block;
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  border: 1px solid #8c7382;
  vertical-align: middle;
}
.signature-bone { background: #f1e6d3; }
.signature-ash { background: #d7d6d8; }
.signature-card-colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
}
#signature-order fieldset {
  margin: .75rem 0;
  padding: .5rem .75rem .75rem;
}
#signature-order legend { font-weight: 700; }
#signature-order label { cursor: pointer; }
.signature-thumbnails { margin-bottom: 1rem; }
.signature-thumbnails a { display: block; min-width: 0; }

.product-image-preview {
  max-inline-size: min(94vw, 60rem);
  max-block-size: 94dvh;
  padding: .65rem;
  border: 0;
  border-radius: 10px;
}
.product-image-preview::backdrop {
  background: rgb(25 17 22 / .78);
}
.product-image-preview .button {
  display: block;
  margin: 0 0 .5rem auto;
  min-height: 44px;
  padding: .5rem .85rem;
}
.product-image-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(94dvh - 74px);
  object-fit: contain;
}
body:has(.product-image-preview[open]) {
  overflow: hidden;
}
