:root {
  color-scheme: light;
  --ivory: #faf7ef;
  --ink: #161e34;
  --ink-soft: #4c4952;
  --gold: #806537;
  --line: #d8c9af;
  --lavender: #eeebf3;
  --sage: #e6ebe0;
  --heading: "Baskervville", "Baskerville", "Palatino Linotype", Georgia, serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.65 var(--body); }
img { display: block; max-width: 100%; }
figure, p, h1, h2 { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.skip { position: absolute; left: 1rem; top: -8rem; background: var(--ivory); padding: .5rem 1rem; z-index: 1; }
.skip:focus { top: .5rem; }
.wrap { width: min(1320px, calc(100% - 2 * clamp(20px, 5vw, 76px))); margin-inline: auto; }
.preview { background: var(--ink); color: var(--ivory); text-align: center; padding: 5px 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.masthead { min-height: 99px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 20px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 132px; height: auto; mix-blend-mode: multiply; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 10px clamp(14px, 3vw, 40px); }
nav a { font-size: .88rem; text-decoration: none; white-space: nowrap; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.gift-link { border: 0; padding: 0; }
.hero { display: grid; grid-template-columns: .86fr 1.32fr; align-items: center; gap: clamp(28px, 5vw, 84px); padding-block: clamp(38px, 5vw, 76px); }
.hero-copy { padding-block: 18px; }
.eyebrow { font-size: .72rem; font-weight: 650; color: var(--gold); letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { margin-right: .4em; }
h1, h2 { font-family: var(--heading); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(3.1rem, 6vw, 6rem); letter-spacing: -.045em; margin: .23em 0 .27em; }
h1 em { display: block; color: #57516d; font-weight: 400; }
h2 { font-size: clamp(2.25rem, 4.1vw, 4rem); letter-spacing: -.035em; }
.intro, .heading > p:last-child, .studio p, .gifts p:not(.eyebrow), .about p:not(.eyebrow) { color: var(--ink-soft); max-width: 37ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--ivory); border-radius: 2px; text-decoration: none; padding: 12px 17px; font-size: .87rem; }
.button:hover { background: #33374e; }
.text-link { font-size: .88rem; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.hero-gallery { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 11px; aspect-ratio: 1.32; }
.hero-gallery figure { position: relative; overflow: hidden; min-height: 0; background: var(--sage); border: 1px solid var(--line); }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hero-gallery .signature { grid-row: span 2; border-radius: 46% 46% 3px 3px / 25% 25% 3px 3px; }
.autumn img { object-position: 50% 42%; }
.star img { object-position: 50% 63%; }
.hero-gallery figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 10px 6px; color: #fff; font-size: .76rem; background: linear-gradient(transparent, #11182cdd); }
.collection { border-top: 1px solid var(--line); padding-block: 52px 68px; }
.heading { display: grid; gap: 8px; margin-bottom: 25px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 15px; }
.cards img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; background: var(--sage); border-radius: 2px; }
.cards figcaption, .gift-photos figcaption { font-family: var(--heading); font-size: 1.12rem; margin-top: 5px; line-height: 1.25; }
.gifts { background: var(--lavender); padding-block: clamp(34px, 6vw, 82px); }
.gift-layout, .about-layout { display: grid; grid-template-columns: .8fr 1.25fr; align-items: center; gap: clamp(24px, 6vw, 90px); }
.gifts h2, .about h2 { margin: .15em 0 .28em; }
.gift-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gift-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-block: clamp(36px, 6vw, 80px); }
.studio section { padding: clamp(22px, 4vw, 46px); border: 1px solid var(--line); }
.studio section:first-child { background: var(--sage); }
.studio h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.studio .aside { color: var(--gold); font-size: .85rem; margin-top: 14px; }
.about { background: var(--ink); color: var(--ivory); padding-block: clamp(34px, 5vw, 70px); }
.about .eyebrow { color: #dac49a; }
.about p:not(.eyebrow) { color: #e2dfdf; }
.about img { width: 100%; height: auto; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px; font-size: .9rem; }
.footer a { text-decoration: none; }
@media (max-width: 850px) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: 26px; }
  .hero-gallery { aspect-ratio: 1; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .masthead { flex-direction: column; gap: 0; padding-block: 4px 10px; }
  .brand img { width: 114px; }
  nav { justify-content: center; gap: 3px 13px; }
  nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .78rem; }
  .gift-link { padding: 0; border: 0; }
  .hero, .gift-layout, .studio, .about-layout { grid-template-columns: 1fr; }
  .hero { padding-block: 32px 38px; gap: 23px; }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(2.9rem, 11vw, 4rem); }
  .hero-gallery { aspect-ratio: 1.2; gap: 7px; }
  .hero-gallery figcaption { padding-inline: 6px; font-size: .67rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .collection { padding-block: 36px 42px; }
}
@media (max-width: 350px) {
  nav { column-gap: 9px; }
  .gift-photos { grid-template-columns: 1fr; }
}

/* The decorative crops reference the original Moon Emblem artwork. */
:root {
  --moon-art: url("assets/moon-emblem.png");
  --moon-crop: var(--moon-art) 56% 10% / 274% 209% no-repeat;
  --dragonfly-crop: var(--moon-art) 62.4% 19.1% / 480% 398% no-repeat;
  --flourish-crop: var(--moon-art) 53.5% 92.5% / 240% 1024% no-repeat;
}
body {
  background:
    radial-gradient(ellipse at 0 280px, #e9e1ef 0%, transparent 44rem),
    radial-gradient(ellipse at 100% 510px, #e6ecdf 0%, transparent 36rem),
    var(--ivory);
}
.gift-layout, .studio section, .about-layout {
  position: relative;
  isolation: isolate;
}
.hero-copy::before, .heading::before, .gift-layout::before, .studio section::before, .about-layout::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
h1 {
  position: relative;
}
.hero-copy::before, .hero-copy::after, .heading::after {
  content: none;
}
h1::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: min(100%, 340px);
  aspect-ratio: 560 / 490;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--moon-crop);
  mix-blend-mode: multiply;
  opacity: .17;
  mask-image: radial-gradient(ellipse, #000 46%, transparent 76%);
}
.hero-gallery .signature {
  outline: 1px solid #a58b58;
  outline-offset: 4px;
}
.collection {
  background: radial-gradient(ellipse at top right, #eee5f0 0, transparent 52%);
}
.heading {
  position: relative;
  padding-right: min(22vw, 160px);
}
.heading::before {
  width: clamp(84px, 15vw, 190px);
  aspect-ratio: 320 / 270;
  right: 1%;
  top: 0;
  background: var(--moon-art) 61.68% 19.23% / 480% 379.26% no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 53% 65%, 43% 100%, 32% 100%, 36% 61%, 0 61%);
  mix-blend-mode: multiply;
  opacity: .48;
}
.gifts {
  background: radial-gradient(ellipse at 14% 0%, #faf4f0 0, transparent 62%),
    linear-gradient(120deg, #e3d9ec, #ede8f2 68%, #e0e7dc);
  border-block: 1px solid var(--line);
}
.gift-layout::before {
  width: clamp(160px, 25vw, 320px);
  aspect-ratio: 560 / 490;
  left: -10px;
  top: -15px;
  background: var(--moon-crop);
  mix-blend-mode: multiply;
  opacity: .19;
  mask-image: radial-gradient(ellipse, #000 42%, transparent 75%);
}
.studio section {
  overflow: hidden;
  min-height: 230px;
  background: linear-gradient(130deg, #faf7ef, #e9e0ee);
  border-radius: 26px 2px 26px 2px;
}
.studio section:first-child {
  background: linear-gradient(135deg, #f1f2e8, #dce6d7);
}
.studio section::before {
  width: clamp(112px, 17vw, 220px);
  aspect-ratio: 560 / 490;
  right: 16px;
  bottom: 16px;
  background: var(--moon-crop);
  mix-blend-mode: multiply;
  opacity: .25;
  mask-image: radial-gradient(ellipse, #000 43%, transparent 75%);
}
.studio section:first-child::before {
  right: 16px;
  bottom: 16px;
  aspect-ratio: 320 / 270;
  background: var(--moon-art) 61.68% 19.23% / 480% 379.26% no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 53% 65%, 43% 100%, 32% 100%, 36% 61%, 0 61%);
  mask-image: none;
  opacity: .10;
}
.about {
  background: radial-gradient(ellipse at 24% 22%, #333450 0, #161e34 55%, #080f20);
  border-block: 1px solid #ad8e59;
}
.about-layout::before {
  inset: -13px;
  border: 1px solid #a688574d;
  border-radius: 28px 2px 28px 2px;
}
.footer { position: relative; }
.footer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 100px;
  aspect-ratio: 6.4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--flourish-crop);
  mix-blend-mode: multiply;
  opacity: .7;
}
@media (max-width: 660px) {
  .heading { padding-right: 66px; }
  .heading::before { right: -6px; opacity: .32; }
  .gift-layout::before { left: auto; right: 0; top: -4px; }
  .studio section { min-height: 0; }
  .about-layout::before { inset: -8px; }
  .footer::before { display: none; }
}



h1 { z-index: 0; }
.heading::before { z-index: 0; }
.heading > * { position: relative; z-index: 1; }

.product-detail {
  display: block;
  margin-top: 5px;
  font: .82rem/1.45 var(--body);
  color: var(--ink-soft);
}

.shop-all { margin-bottom: 24px; }
.catalog { padding-block: 45px 65px; }
.catalog h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -.035em; }
.catalog h1::before { content: none; }
.catalog-note { color: var(--ink-soft); font-size: .87rem; max-width: 75ch; margin-bottom: 30px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 22px; }
.catalog-item { min-width: 0; }
.catalog-item h2 { font-size: 1.5rem; margin-top: 12px; line-height: 1.2; }
.catalog-media { display: flex; gap: 6px; height: clamp(220px, 28vw, 360px); }
.catalog-media img { width: 0; min-width: 0; flex: 1; object-fit: contain; background: #eee9df; }
.photo-pending { display: grid; place-items: center; width: 100%; background: linear-gradient(140deg, #ece8f0, #e5eadd); border: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.catalog-variations { margin-top: 8px; font-size: .88rem; }
.catalog-variations p { padding-block: 5px; border-bottom: 1px solid var(--line); }
.catalog-variations span { display: block; color: var(--ink-soft); font-size: .8rem; }
.catalog-photo-note { font-size: .77rem; color: var(--ink-soft); margin-top: 5px; }
.pending-matches { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 35px; }
.pending-matches h2 { font-size: 2rem; }
.pending-matches > p { margin: 12px 0 22px; color: var(--ink-soft); }
@media (max-width: 850px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 450px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-media { height: 350px; }
}

.additional-pieces { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.additional-pieces h2 { font-size: 2rem; margin-bottom: 20px; }

.catalog-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eee9df;
}

.shipping-options {
  margin: 0 0 30px;
  padding: 14px 18px;
  border-block: 1px solid var(--line);
  background: var(--sage);
  color: var(--ink);
  font-size: .9rem;
}

/* Shopping bag and private checkout */
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cart-open { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 13px; border-radius: 2px; }
.purchase-controls { display: grid; gap: 10px; margin-top: 14px; }
.purchase-controls select { min-width: 0; width: 100%; padding: 9px; border: 1px solid var(--line); color: var(--ink); background: var(--ivory); }
.purchase-controls button { justify-content: center; border: 0; min-height: 44px; }
#cart-feedback { position: fixed; bottom: 18px; left: 20px; max-width: calc(100% - 40px); padding: 9px 14px; background: var(--ink); color: var(--ivory); font-size: .9rem; border-radius: 3px; z-index: 5; }
#cart-feedback:empty { display: none; }
dialog { width: min(540px, calc(100% - 32px)); max-height: 85vh; overflow: auto; padding: 25px; border: 1px solid var(--gold); background: var(--ivory); color: var(--ink); }
dialog::backdrop { background: #161e3499; }
.bag-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.bag-heading h2 { font-size: 2.6rem; }
.bag-heading button { background: none; border: 0; font-size: 2rem; color: var(--ink); }
.bag-row { padding-block: 15px; border-bottom: 1px solid var(--line); }
.bag-row button { margin: 8px 8px 0 0; min-width: 44px; min-height: 44px; background: var(--sage); color: var(--ink); border: 1px solid var(--line); }
#bag-status { margin-block: 18px; font-size: .85rem; color: var(--ink-soft); }
.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(25px, 6vw, 85px); padding-block: 40px 75px; }
.checkout-layout h1, .setup-page h1 { font-size: clamp(2.8rem, 6vw, 4rem); margin: 0 0 20px; }
.checkout-layout h1::before, .setup-page h1::before { content: none; }
.checkout-layout h2 { font-size: 2rem; margin-bottom: 15px; }
.checkout-layout fieldset { border: 1px solid var(--line); padding: 18px; margin: 22px 0; }
.checkout-layout legend { padding-inline: 8px; font-family: var(--heading); font-size: 1.5rem; }
.checkout-layout label, .setup-page label { display: grid; gap: 5px; margin-bottom: 14px; font-size: .9rem; }
.checkout-layout input, .checkout-layout select, .setup-page input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 2px; background: #fffdf8; color: var(--ink); }
.checkout-layout .choice, .setup-page .choice { display: flex; align-items: flex-start; gap: 10px; }
.checkout-layout input[type="radio"], .setup-page input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--ink); }
.order-summary { align-self: start; padding: 25px; background: var(--lavender); border: 1px solid var(--line); }
.order-summary p { margin-bottom: 12px; }
#grand-total { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 600; }
#checkout-message { margin-block: 20px; }
#payment-section { margin-top: 24px; }
#card-container { margin-block: 20px; }
#edit-checkout { display: block; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); }
.setup-page { max-width: 650px; padding-block: 35px 60px; }
.setup-page h1 { margin-top: 25px; }
.setup-page form { margin-top: 25px; }
.setup-page form > p, #setup-status { margin-block: 18px; }
[hidden] { display: none !important; }
@media (max-width: 660px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { grid-row: 1; }
  dialog { padding: 18px; }
}

#pickup-note { padding: 15px; background: var(--sage); border: 1px solid var(--line); }
#pickup-note p + p { margin-top: 12px; }

.policy-section { padding-block: 30px; border-bottom: 1px solid var(--line); }
.policy-section summary { cursor: pointer; font-family: var(--heading); font-size: 1.6rem; }
.policy-copy { max-width: 75ch; padding-top: 20px; }
.policy-copy h2 { font-size: 1.6rem; margin: 24px 0 12px; }
.policy-copy p + p { margin-top: 12px; }
.checkout-care { font-size: .85rem; margin-top: 22px; }
.footer a { overflow-wrap: anywhere; }

.inquiry-details { margin-top: 22px; }
.inquiry-details summary { cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.inquiry-details form { margin-top: 22px; }
.inquiry-details label { display: grid; gap: 6px; margin-top: 14px; font-size: .88rem; }
.inquiry-details input, .inquiry-details select, .inquiry-details textarea {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); background: #fffdf8; font: inherit;
}
.inquiry-details textarea { resize: vertical; }
.inquiry-details .button { border: 0; margin-top: 18px; }
.studio .inquiry-help { font-size: .8rem; margin-top: 12px; }
.inquiry-draft { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 10px; }
.draft-text { font-size: .85rem; }
.draft-link { display: inline-block; margin-top: 12px; }
.about-layout > div > p + p { margin-top: 16px; }
.about-shop-link { display: inline-block; margin-top: 20px; color: var(--ivory); }

.scheduled-class { margin-top: 25px; padding-block: 20px; border-block: 1px solid var(--line); }
.class-flyer { display: block; max-width: 290px; margin: 0 auto 22px; }
.class-flyer img { width: 100%; height: auto; border-radius: 3px; }
.class-info h3 { margin: 0 0 12px; font: 400 1.9rem/1.12 var(--heading); letter-spacing: -.02em; }
.studio .class-info p { margin-top: 12px; max-width: none; }
.class-info .class-date { color: var(--ink); font-weight: 600; }
.class-info .button { margin-top: 18px; }

.about-layout {
  grid-template-columns: minmax(180px, .65fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(15px, 3vw, 35px);
}
.about .about-logo { width: 180px; max-width: 100%; height: auto; margin-top: 24px; }
.about .about-story p { max-width: 68ch; line-height: 1.8; }
.about .about-story p:first-child { margin-top: 0; }
@media (max-width: 660px) {
  .about-layout { grid-template-columns: 1fr; gap: 24px; padding: 12px; }
  .about-intro { display: grid; grid-template-columns: 1fr 100px; column-gap: 18px; align-items: center; }
  .about-intro .eyebrow { grid-column: 1; }
  .about-intro h2 { grid-column: 1; }
  .about .about-logo { grid-column: 2; grid-row: 1 / 3; width: 100px; margin: 0; }
}

.about { position: relative; isolation: isolate; overflow: hidden; }
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/moonlit-garden.png") center / min(1050px, 95%) auto no-repeat;
  mix-blend-mode: screen;
  opacity: .09;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 74%);
}
@media (max-width: 660px) {
  .about-intro { display: block; }
  .about::after { background-size: auto 80%; opacity: .07; }
}

.about-maker .about-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: 32px clamp(30px, 5vw, 70px);
}
.about-maker .about-intro { grid-column: 1 / -1; display: block; }
.about-maker h2 { font-size: clamp(2.5rem, 4.7vw, 4.5rem); max-width: 24ch; margin-bottom: 0; }
.about-maker .about-story { grid-column: 1; }
.about-maker .about-story p { max-width: 60ch; }
.about-actions { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.about-maker .maker-process { grid-column: 2; align-self: start; margin-top: 5px; }
.about-maker .maker-process img { width: 100%; height: auto; border: 1px solid #a6885770; border-radius: 20px 2px 20px 2px; }
.maker-process figcaption { color: #d8c9af; font-size: .78rem; margin-top: 8px; }
.about-maker::after { background-position: 90% center; background-size: min(1050px, 100%) auto; opacity: .065; }
@media (max-width: 660px) {
  .about-maker .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-maker .about-intro, .about-maker .about-story, .about-maker .maker-process { grid-column: 1; }
  .about-maker .maker-process { width: min(100%, 340px); justify-self: center; }
  .about-maker::after { background-size: auto 70%; background-position: right center; opacity: .05; }
}

.photo-swipe-hint { display: none; }
@media (max-width: 660px) {
  .inquiry-details input, .inquiry-details select, .inquiry-details textarea,
  .checkout-layout input, .checkout-layout select, .setup-page input:not([type="checkbox"]),
  .purchase-controls select { font-size: 16px; }
  .inquiry-details summary, .policy-section summary { min-height: 44px; padding-block: 10px; }
  .checkout-layout > section, .checkout-layout fieldset, .order-summary { min-width: 0; }
  .checkout-layout button, .checkout-layout .button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .catalog-media.multi-photo { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 0; }
  .catalog-media.multi-photo img { flex: 0 0 100%; width: 100%; scroll-snap-align: start; }
  .photo-swipe-hint { display: block; margin-top: 6px; font-size: .78rem; color: var(--ink-soft); }
}
@media (max-width: 450px) {
  .class-info .button, .inquiry-details .button { width: 100%; justify-content: center; }
  .setup-page .button { width: 100%; justify-content: center; white-space: normal; }
}

.catalog-media.show-all-designs {
  display: grid;
  grid-template-columns: repeat(var(--design-columns, 2), minmax(0, 1fr));
  height: auto;
  min-height: 0;
  gap: 6px;
  overflow: visible;
  scroll-snap-type: none;
}
.catalog-media.show-all-designs img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.moon-stars-item .catalog-media {
  position: relative;
  height: clamp(220px, 28vw, 360px);
  overflow: hidden;
  background: #eee9df;
}
.moon-stars-item .catalog-media img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: none;
  height: 75%;
  flex: none;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 450px) {
  .moon-stars-item .catalog-media { height: 350px; }
}

.production-connection { margin-top: 55px; border-top: 1px solid var(--line); padding-top: 35px; scroll-margin-top: 20px; }
.production-connection h2 { font-size: 2.3rem; margin-bottom: 18px; }
.production-connection p + p { margin-top: 12px; }
.production-connection select { min-height: 44px; padding: 10px; font-size: 16px; width: 100%; background: var(--ivory); color: var(--ink); border: 1px solid var(--line); }
#production-status { margin-block: 22px; }
#production-report h3 { margin-top: 25px; font: 400 1.8rem/1.2 var(--heading); }
.connection-match { border-bottom: 1px solid var(--line); padding-block: 17px; overflow-wrap: anywhere; }
.connection-match h4 { margin: 0 0 8px; font-weight: 600; }
.connection-match p { font-size: .85rem; }
#production-report > button { min-height: 44px; padding: 10px 16px; margin-top: 20px; }

/* Four keepsakes, each visible without a carousel. */
.gifts .gift-layout { grid-template-columns: 1fr; gap: 28px; }
.gifts .gift-heading { display:block; }
.gifts .gift-heading .eyebrow { grid-column:1 / -1; margin:0 0 10px; }
.gifts .gift-heading h2 { font-size:clamp(2.2rem,4.2vw,3.8rem); line-height:1.08; margin:0; }
.gifts .gift-heading h2 em { font-weight:400; color:var(--ink-soft); white-space:nowrap; }
.gifts #gift-intro { max-width:64ch; margin:20px 0 0; font-size:1rem; line-height:1.6; }
.gifts .gift-photos { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.gift-card { color:var(--ink); text-decoration:none; min-width:0; }
.gift-card figure { margin:0; height:100%; padding:10px 10px 16px; background:rgba(255,255,255,.58); border:1px solid rgba(154,127,75,.25); border-radius:4px; }
.gift-image { overflow:hidden; border-radius:2px; background:#eee8e0; }
.gifts .gift-image img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .2s ease; }
.gift-card:last-child img { object-position:50% 24%; }
.gift-card:hover img { transform:scale(1.025); }
.gift-card:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
.gifts .gift-photos figcaption { display:flex; justify-content:space-between; gap:8px; font-size:1.15rem; margin:15px 0 8px; min-height:2.5em; }
.gift-price { white-space:nowrap; font-family:var(--body); font-size:.9rem; padding-top:3px; }
.gifts .gift-meaning { font-size:.95rem; line-height:1.5; margin:0 0 14px; min-height:3em; }
.gift-availability { font-size:.85rem; text-decoration:underline; text-underline-offset:5px; }
.gift-footer { display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid var(--line); padding-top:20px; }
.gifts .gift-footer p { margin:0; font-size:.95rem; line-height:1.6; }
@media(max-width:1000px) { .gifts .gift-photos { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .gifts .gift-heading { grid-template-columns:1fr; gap:16px; }
 .gifts .gift-photos { gap:12px; }
 .gift-card figure { padding:6px 6px 14px; }
 .gifts .gift-photos figcaption { display:block; font-size:1.05rem; min-height:4em; }
 .gift-price { display:block; margin-top:5px; }
 .gifts .gift-meaning { font-size:.9rem; min-height:4.5em; }
 .gift-footer { align-items:flex-start; flex-direction:column; gap:12px; }
}
@media(prefers-reduced-motion:reduce) { .gifts .gift-image img { transition:none; } }

.lady-slipper-link { color:inherit; text-decoration:none; }
.lady-slipper-link:hover { text-decoration:underline; text-underline-offset:4px; }
.lady-slipper-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

/* Enabled only after the owner approves public launch. */
body[data-public-site="true"] .preview { display:none; }

.product-name-link { color:inherit; text-decoration:none; }
.product-name-link:hover { text-decoration:underline; text-underline-offset:4px; }
.product-name-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

.shop-filters { display:flex; flex-wrap:wrap; align-items:end; gap:18px 26px; padding:22px 0; margin:0 0 12px; border-block:1px solid var(--line); }
.shop-filters label { font-size:1rem; }
.shop-filters label[for] { display:block; margin-bottom:8px; }
.shop-filters select { max-width:100%; padding:10px; color:var(--ink); background:var(--ivory); border:1px solid var(--line); min-height:44px; }
.shop-filters .stock-filter { display:flex; align-items:center; gap:9px; min-height:44px; }
.shop-filters input { width:19px; height:19px; accent-color:var(--ink); }
.shop-filters p { margin:0; padding-block:10px; }
#clear-filters { padding:10px 0; min-height:44px; border:0; background:none; color:var(--ink); text-decoration:underline; cursor:pointer; }
.photo-help { font-size:1rem; color:var(--ink-soft); margin:18px 0; }
.catalog-media img[role="button"] { cursor:zoom-in; }
.catalog-media img[role="button"]:focus-visible { outline:3px solid var(--gold); outline-offset:-3px; }
#photo-viewer { width:min(960px,94vw); max-height:94dvh; padding:20px; border:1px solid var(--line); background:var(--ivory); color:var(--ink); border-radius:6px; }
#photo-viewer::backdrop { background:rgba(15,20,35,.82); }
.photo-viewer-top { display:flex; justify-content:space-between; align-items:start; gap:20px; margin-bottom:15px; }
.photo-viewer-top h2 { font-size:clamp(1.3rem,3vw,2rem); }
#photo-large { display:block; max-height:68dvh; width:100%; object-fit:contain; }
#photo-viewer button { min-height:44px; padding:9px 14px; border:1px solid var(--line); background:var(--ivory); color:var(--ink); cursor:pointer; }
.photo-viewer-nav { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.photo-viewer-nav p { font-size:1rem; }
@media(max-width:600px) { .shop-filters { align-items:start; gap:12px 22px; } .shop-filters > div { width:100%; } .shop-filters select { width:100%; } #photo-viewer { padding:12px; } }
.care-page { padding-block:50px 70px; }
.care-page h1 { font-size:clamp(2.5rem,5vw,4rem); }
.care-page .heading > p:last-child { max-width:60ch; margin-top:18px; }
.care-grid { display:grid; grid-template-columns:1fr 1fr; gap:36px; margin:40px 0; }
.care-grid section { background:rgba(255,255,255,.48); border:1px solid var(--line); border-radius:6px; padding:28px; }
.care-page h2 { font-size:1.8rem; margin-bottom:18px; }
.care-page ul { padding-left:22px; }
.care-page li { margin:14px 0; line-height:1.65; }
.care-page p { line-height:1.65; }
.care-help { border-top:1px solid var(--line); padding-top:28px; }
.care-help .text-link { display:inline-block; margin-top:18px; }
.care-sources { margin-top:32px; max-width:75ch; font-size:1rem; }
.care-sources summary { cursor:pointer; padding-block:10px; }
.care-page a { color:var(--ink); text-underline-offset:4px; }
.product-care-link { display:inline-block; margin-top:12px; color:var(--ink-soft); font-size:1rem; text-underline-offset:4px; }
@media(max-width:760px) { .care-grid { grid-template-columns:1fr; gap:22px; } .care-grid section { padding:22px; } }

.home-previews { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; gap:28px; padding-block:20px 65px; }
.home-previews section { padding:32px; border:1px solid var(--line); border-radius:6px; background:rgba(255,255,255,.45); }
.home-previews h2 { font-size:clamp(1.8rem,3vw,2.6rem); margin:12px 0 20px; }
.home-previews p { line-height:1.65; }
.home-previews .text-link { display:inline-block; margin-top:22px; }
.standalone-studio { display:block; padding-block:50px 65px; }
.standalone-studio > section { max-width:1000px; margin:auto; }
.standalone-studio h1, .standalone-page #about-title, .standalone-page #gifts-title { font-size:clamp(2.5rem,5vw,4rem); line-height:1.1; margin-bottom:24px; }
.standalone-studio > section > p { margin-bottom:28px; max-width:65ch; }
.standalone-page .gifts { margin-block:35px; }
.standalone-page .about { margin-block:35px; }
nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:7px; }
@media(max-width:700px) { .home-previews { grid-template-columns:minmax(0,1fr); grid-auto-rows:auto; gap:20px; } .home-previews section { padding:24px; } }
.standalone-page .gift-heading h1 em { font-weight:400; color:var(--ink-soft); white-space:nowrap; }

.home-previews #about { grid-column:auto; }
.home-previews #about > p:not(.eyebrow) { max-width:70ch; }

/* A focused class listing with registration visible beside the flyer. */
.classes-layout { padding-block:48px 70px; }
.classes-page #classes > .eyebrow { margin-bottom:14px; }
.classes-page #classes-title { font-size:clamp(2.6rem,5vw,4rem); margin:0 0 20px; }
.classes-page #classes > p:not(.eyebrow) { max-width:68ch; line-height:1.7; color:var(--ink-soft); margin-bottom:34px; }
.classes-page .scheduled-class { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:clamp(28px,5vw,64px); padding:32px; margin:0; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.58); }
.classes-page .class-flyer { display:block; width:100%; max-width:430px; margin:auto; }
.classes-page .class-flyer img { width:100%; max-width:none; max-height:none; object-fit:contain; border-radius:4px; }
.classes-page .class-info h2 { font-size:clamp(1.9rem,3vw,2.8rem); line-height:1.15; margin:0 0 22px; }
.classes-page .class-info p { max-width:none; line-height:1.6; margin:12px 0; }
.classes-page .class-date { color:var(--ink); font-weight:600; }
.classes-page .class-info .button { display:inline-block; margin-top:18px; }
.classes-page .class-info .inquiry-help { font-size:1rem; color:var(--ink-soft); margin-top:12px; }
.classes-page .inquiry-details { margin-top:30px; padding:24px 28px; background:rgba(231,235,223,.45); border:1px solid var(--line); border-radius:8px; }
.classes-page .inquiry-details summary { font-size:1.25rem; }
.classes-page .inquiry-details form { max-width:760px; }
@media(max-width:760px) { .classes-page .scheduled-class { grid-template-columns:1fr; padding:22px; gap:28px; } .classes-page .class-flyer { max-width:360px; } .classes-layout { padding-block:30px 50px; } .classes-page .inquiry-details { padding:20px; } }
.after-checkout { margin-top:28px; padding:24px; border:1px solid var(--line); border-radius:6px; background:rgba(231,235,223,.45); }
.after-checkout h2 { font-size:1.6rem; margin-bottom:16px; }
.after-checkout p { font-size:1rem; line-height:1.65; margin:12px 0; }
.after-checkout a { color:var(--ink); text-underline-offset:4px; }
.events-page { padding-block:48px 70px; }
.events-page h1 { font-size:clamp(2.6rem,5vw,4rem); }
.events-page .heading > p:last-child { margin-top:20px; max-width:60ch; }
.event-list { margin-top:42px; }
.event-list h2 { font-size:2rem; margin-bottom:20px; }
.events-empty, .event-card { padding:28px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.58); }
.events-empty p { margin:8px 0; }
.events-footer { margin-top:30px; }
.events-page a { color:var(--ink); text-underline-offset:4px; }

.event-list { display:grid; gap:20px; }
.event-card { display:grid; grid-template-columns:110px 1fr; gap:28px; align-items:start; }
.event-card h3 { font-size:clamp(1.5rem,3vw,2rem); line-height:1.25; margin-bottom:18px; }
.event-card p { margin:12px 0; line-height:1.6; }
.event-date { background:var(--sage); border:1px solid var(--line); padding:16px 8px; text-align:center; border-radius:6px; }
.event-date span { display:block; font-size:1rem; }
.event-date strong { display:block; font:400 2.2rem/1.4 var(--heading); }
.events-note { font-size:1rem; color:var(--ink-soft); margin-top:24px; }
@media(max-width:600px) { .event-card { grid-template-columns:1fr; gap:18px; padding:22px; } .event-date { display:flex; align-items:center; justify-content:center; gap:10px; } .event-date strong { font-size:1.8rem; } }

.home-previews .home-photo-feature {
  display: grid;
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.home-photo-feature img {
  display: block;
  width: 100%;
  max-width: 9rem;
  height: auto;
  border-radius: 4px;
}
.home-feature-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 22px;
}
.home-previews .home-feature-links .text-link {
  margin-top: 0;
}
@media (max-width: 480px), (min-width: 701px) and (max-width: 1000px) {
  .home-previews .home-photo-feature {
    grid-template-columns: minmax(0, 1fr);
  }
}
