:root {
  --blush: #fdf0f2;
  --cream: #fffaf7;
  --petal: #f9d7de;
  --rose: #ee9fb1;
  --cherry: #c41e3a;
  --cherry-deep: #a31631;
  --ink: #4a0d1c;
  --ink-soft: #85505c;
  --bad: #6b6266;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --page: 1180px;
  --scallop: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, figure, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { fill: currentColor; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Announcement + header ---------- */

.announce {
  display: block;
  padding: 9px var(--gutter);
  background: var(--cherry);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgb(255 250 247 / 0.45);
  text-underline-offset: 3px;
}
.announce:hover { background: var(--cherry-deep); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.125rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark svg { width: 0.42em; height: 0.42em; color: var(--cherry); transform: translateY(-0.5em) rotate(12deg); }

.site-header nav { display: flex; align-items: center; gap: 22px; font-size: 0.9375rem; font-weight: 500; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--cherry); }
.site-header .nav-shop {
  padding: 7px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}
.site-header .nav-shop:hover { background: var(--ink); color: var(--cream); }

/* ---------- Shared pieces ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--cherry);
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.button:hover { background: var(--cherry-deep); }
.button:active { transform: scale(0.98); }
.button:disabled { opacity: 0.7; cursor: progress; }
.button-wide { width: 100%; }

.photo-frame { position: relative; }
.photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain; /* square photo in a square box: the whole sticker always shows */
  border-radius: 32px;
  border: 6px solid var(--cream);
  box-shadow: 0 24px 50px -28px rgb(164 22 49 / 0.45);
  background: var(--petal);
}

.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}
.section-sub { margin-top: 10px; text-align: center; color: var(--ink-soft); }

/* A row of half-circles along the top edge of a section. */
.scalloped { position: relative; }
.scalloped::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--scallop) / -2);
  height: var(--scallop);
  background: radial-gradient(circle at 50% 50%, var(--scallop-color) calc(var(--scallop) / 2 - 0.5px), transparent calc(var(--scallop) / 2)) center top / var(--scallop) var(--scallop) repeat-x;
}

/* ---------- Good vs bad photo labels ----------
   Good photos get a cherry outline and a heart tag;
   bad ones get a gray dashed outline and an X tag. */

.shot { position: relative; --kind: var(--cherry); }
.shot-bad { --kind: var(--bad); }
.shot > img { border: 4px solid var(--kind); }
.shot-bad > img { border-style: dashed; }
.photo-frame.shot > img { border-width: 5px; }
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  background: var(--kind);
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.tag svg { flex: none; width: 13px; height: 13px; }
.shot-small .tag { top: 6px; left: 6px; padding: 5px; }
.shot-small > img { border-width: 3px; }

/* ---------- Landing: hero ---------- */

.hero {
  display: grid;
  grid-template-areas: "title" "photo" "body";
  gap: 26px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 18px var(--gutter) 72px;
}

.hero-title {
  grid-area: title;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-title span, .hero-title small { display: block; }
.title-dot { width: 0.28em; height: 0.28em; margin-left: 0.05em; color: var(--cherry); }
.hero-title span { white-space: nowrap; }
.hero-title small { font-size: 0.6em; line-height: 1.25; letter-spacing: -0.01em; padding-left: 0.08em; }

.hero-photo { grid-area: photo; }
.hero-body { grid-area: body; margin-top: 52px; } /* clears the stickers hanging off the photo */

.deco { position: absolute; }
.deco-1 { width: 44px; height: 44px; top: -16px; right: 18px; color: var(--cherry); transform: rotate(14deg); }
.deco-2 { width: 26px; height: 26px; top: 30px; right: -8px; color: var(--rose); transform: rotate(-10deg); }
.deco-3 { width: 34px; height: 34px; bottom: -12px; left: 22px; color: var(--rose); transform: rotate(-16deg); }
.deco-4 { width: 20px; height: 20px; bottom: 24px; left: -6px; color: var(--cherry); transform: rotate(10deg); }

.lede { font-size: 1.1875rem; max-width: 30em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 26px;
}
.hero-price { font-family: var(--serif); font-size: 1.375rem; }

.hero-gyn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 6px 16px 6px 12px;
  border: 1.5px solid var(--rose);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.9375rem;
  font-weight: 600;
}
.hero-gyn svg { flex: none; width: 14px; height: 14px; color: var(--cherry); }
.hero-fits { margin-top: 22px; font-size: 0.9375rem; color: var(--ink-soft); }
.hero-fits a { color: var(--ink); font-weight: 600; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.hero-fits a:hover { color: var(--cherry); }

/* ---------- Landing: compare ---------- */

.compare {
  background: var(--cream);
  padding: 64px var(--gutter) 72px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 880px;
  margin: 32px auto 0;
}
.compare-grid img { border-radius: 22px; }
.compare-grid figcaption { margin-top: 12px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
.compare-grid strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 2px;
}

/* ---------- Landing: details ---------- */

.details { background: var(--cream); padding: 0 var(--gutter) 72px; }
.details-grid {
  display: grid;
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1.5px solid var(--petal);
  text-align: center;
}
.details h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
  margin: 10px 0 6px;
}
.details p { max-width: 21em; margin: 0 auto; color: var(--ink-soft); }
.detail-heart { width: 30px; height: 30px; color: var(--cherry); }
.detail-heart.pink { color: var(--rose); }
.detail-heart.outline { fill: none; stroke: var(--cherry); stroke-width: 2.4; }

/* ---------- Landing: fits ---------- */

.fits {
  --scallop-color: var(--petal);
  background: var(--petal);
  padding: 64px var(--gutter) 80px;
}
.fits-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}
.fits-list li {
  padding: 8px 22px 10px;
  background: var(--cream);
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  line-height: 1.2;
}
.fits-cta { margin-top: 36px; text-align: center; }

/* ---------- Landing: sold-out seal, ticker, quote ---------- */

.seal {
  position: absolute;
  right: -6px;
  bottom: -22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--cherry);
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 10px 24px -10px rgb(74 13 28 / 0.6);
  transition: transform 0.2s;
}
.seal:hover { transform: rotate(-4deg) scale(1.05); }
/* Sold out is a starburst callout instead of a circle. The burst is drawn on
   ::before so the drop shadow follows its points. */
.seal.seal-soldout {
  width: 98px; height: 98px; right: 124px; bottom: -38px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 10px rgb(74 13 28 / 0.35));
}
.seal.seal-soldout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cherry);
  clip-path: polygon(50.0% 0.0%, 59.5% 8.6%, 71.7% 5.0%, 76.5% 16.8%, 89.1% 18.8%, 88.3% 31.6%, 98.7% 38.9%, 92.5% 50.0%, 98.7% 61.1%, 88.3% 68.4%, 89.1% 81.2%, 76.5% 83.2%, 71.7% 95.0%, 59.5% 91.4%, 50.0% 100.0%, 40.5% 91.4%, 28.3% 95.0%, 23.5% 83.2%, 10.9% 81.2%, 11.7% 68.4%, 1.3% 61.1%, 7.5% 50.0%, 1.3% 38.9%, 11.7% 31.6%, 10.9% 18.8%, 23.5% 16.8%, 28.3% 5.0%, 40.5% 8.6%);
}
.seal.seal-soldout span { font-size: 1.4375rem; }
/* Gynecologist-approved stamp: the supplied stamp artwork on a cream disc in the
   corner of the photo; the sold-out callout sits to its left with a clear gap. */
.seal-light {
  right: -12px;
  bottom: -62px;
  width: 122px;
  height: 122px;
  background: none;   /* clear: just the stamp artwork, no disc behind it */
  box-shadow: none;
  border-radius: 0;
  transform: rotate(8deg);
}
.seal-light:hover { transform: rotate(8deg); }
/* Beats the generic photo-frame image styling (border, shadow, square corners). */
.photo-frame .seal-light img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.seal span { font-family: var(--serif); font-style: italic; font-size: 1.75rem; line-height: 1; }
.seal small { margin-top: 4px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; }

.ticker { overflow: hidden; background: var(--ink); color: var(--petal); padding: 14px 0 16px; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding-left: 26px;
  animation: ticker 36s linear infinite;
}
.ticker span { font-family: var(--serif); font-style: italic; font-size: 1.625rem; line-height: 1; white-space: nowrap; }
.ticker svg { flex: none; width: 15px; height: 15px; color: var(--rose); }
@keyframes ticker { to { transform: translateX(-50%); } }

.ring {
  --scallop-color: var(--blush);
  background: var(--blush);
  padding: 64px var(--gutter) 88px;
}
.ring-inner { display: grid; gap: 28px; max-width: 1020px; margin: 0 auto; }
.ring-photo img { width: 100%; border-radius: 28px; }
.ring-photo figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); }
.ring-copy .section-title { text-align: left; margin-bottom: 18px; }
.ring-copy > p { max-width: 30em; }
.ring-copy > p + p { margin-top: 14px; }
.ring-before {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1.5px solid var(--petal);
  max-width: 30em;
}
.ring-before .shot { flex: none; width: 96px; }
.ring-before img { border-radius: 16px; }
.ring-before p { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }

.quote {
  --scallop-color: var(--cherry);
  background: var(--cherry);
  color: var(--cream);
  padding: 72px var(--gutter) 96px;
  text-align: center;
}
.quote p {
  max-width: 12em;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.quote-heart { width: 30px; height: 30px; color: var(--petal); margin-bottom: 18px; }

/* ---------- Product page ---------- */

.product {
  display: grid;
  gap: 28px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 10px var(--gutter) 80px;
}

#gallery-frame > img { object-fit: cover; } /* always a full square, edge to edge */
#gallery-frame { touch-action: pan-y; } /* sideways drags are swipes; vertical still scrolls */
.thumbs { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.thumb {
  width: 76px;
  padding: 0;
  background: none;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
}
/* Thumbnails have no outline until selected: then solid red (good) or solid gray (bad). */
.thumb { --kind: var(--cherry); border: 3px solid transparent; aspect-ratio: 1 / 1; line-height: 0; }
.thumb-bad { --kind: var(--bad); }
/* Each preview fills its outline exactly: a square, cropped to fit, no gaps. */
.thumb img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.thumb[aria-pressed="true"] { border-color: var(--kind); }

.product-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
/* Shop listing */
.shop { max-width: var(--page); margin: 0 auto; padding: 18px var(--gutter) 88px; text-align: center; }
.shop-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3rem, 11vw, 4.75rem); line-height: 1; letter-spacing: -0.02em; }
.shop-sub { margin-top: 12px; color: var(--ink-soft); }
.shop-grid { display: grid; grid-template-columns: 1fr; gap: 36px; max-width: 880px; margin: 36px auto 0; }
.shop-card { display: block; text-decoration: none; }
.shop-photo { position: relative; display: block; }
.shop-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; border: 6px solid var(--cream); box-shadow: 0 24px 50px -28px rgb(164 22 49 / 0.45); transition: transform 0.2s; }
.shop-card:hover .shop-photo img { transform: translateY(-4px); }
.shop-badge { position: absolute; top: 18px; left: 18px; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 0.8125rem; font-weight: 600; }
.shop-number { display: block; margin-top: 18px; font-size: 0.8125rem; font-weight: 600; color: var(--cherry); }
.shop-name { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 2.5rem; line-height: 1.1; }
.shop-text { display: block; margin-top: 6px; color: var(--ink-soft); }
.shop-price { display: block; margin-top: 10px; font-family: var(--serif); font-size: 1.625rem; }
.shop-price small { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-soft); }
@media (min-width: 640px) { .shop-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.crumb { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumb a { color: var(--ink); text-underline-offset: 3px; }
.theme-more { text-underline-offset: 3px; }

/* Design picker on the product page */
.design-picker { margin-top: 14px; max-width: 30rem; }
.design-picker legend { padding: 0; font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; }
.design-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.design-option { position: relative; cursor: pointer; }
.design-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.design-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  background: var(--cream);
  border: 2px solid var(--petal);
  border-radius: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.1;
  transition: border-color 0.15s;
}
.design-card img { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.design-card small { display: block; font-family: var(--sans); font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px; }
.design-option:hover .design-card { border-color: var(--rose); }
.design-option input:checked + .design-card { border-color: var(--cherry); }
.design-option input:focus-visible + .design-card { outline: 3px solid var(--ink); outline-offset: 3px; }

/* "Two designs" on the landing page */
.designs { background: var(--cream); padding: 0 var(--gutter) 88px; }
.designs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 32px auto 0; }
.design-tile { display: block; text-decoration: none; text-align: center; }
.design-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; transition: transform 0.2s; }
.design-tile:hover img { transform: translateY(-4px); }
.design-tile-name { display: block; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.1; }
.design-tile-name small { display: block; font-family: var(--sans); font-style: normal; font-size: 0.8125rem; font-weight: 600; color: var(--cherry); margin-bottom: 4px; }
.design-tile-text { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--ink-soft); }

.product-theme { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px 5px 11px;
  border-radius: 999px;
  background: var(--cherry);
  color: var(--cream);
  font-size: 0.9375rem;
  font-weight: 600;
}
.theme-chip svg { width: 13px; height: 13px; }
.theme-more { font-size: 0.9375rem; color: var(--ink-soft); }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; }
.price { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.price-note { font-size: 0.9375rem; color: var(--ink-soft); }
.product-desc { margin-top: 16px; max-width: 30em; }

.perks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 500; }
.perks li { display: flex; align-items: flex-start; gap: 10px; }
.perks svg { flex: none; width: 16px; height: 16px; margin-top: 0.36em; color: var(--cherry); }

.fit-picker { margin-top: 26px; max-width: 30rem; }
.fit-picker legend { padding: 0; font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block;
  padding: 8px 16px;
  background: var(--cream);
  border: 1.5px solid var(--petal);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.15s, background-color 0.15s;
}
.chip:hover span { border-color: var(--rose); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.product-info .button-wide { margin-top: 22px; max-width: 30rem; }

.soldout {
  scroll-margin: 24px;
  margin-top: 22px;
  max-width: 30rem;
  padding: 26px 24px 24px;
  background: var(--cream);
  border: 1.5px solid var(--petal);
  border-radius: 28px;
  animation: reveal 0.35s ease-out both;
}
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }

.soldout-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.05;
}
.soldout-title:focus { outline: none; }
.soldout-title svg { width: 30px; height: 30px; color: var(--cherry); transform: rotate(-16deg); }
.soldout-text { margin: 8px 0 18px; }
#soldout-fit { font-weight: 600; }

.soldout label { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 6px; }
.field-row { display: flex; flex-direction: column; gap: 10px; }
.field-row .button { width: 100%; }
.soldout input[type="email"] {
  flex: none;
  width: 100%;
  height: 54px;
  padding: 0 20px;
  font: inherit;
  font-size: 1rem; /* 16px keeps iOS from zooming on focus */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--petal);
  border-radius: 999px;
  transition: border-color 0.15s;
}
.soldout input[type="email"]:hover { border-color: var(--rose); }
.soldout input[type="email"]:focus-visible { outline: 3px solid var(--petal); outline-offset: 1px; border-color: var(--cherry); }
.soldout input[aria-invalid="true"] { border-color: var(--cherry); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-message { font-size: 0.9375rem; font-weight: 500; color: var(--cherry-deep); }
.form-message:not(:empty) { margin-top: 10px; }
.fine-print { margin-top: 12px; font-size: 0.875rem; color: var(--ink-soft); }

.confirmation:focus { outline: none; }
.confirmation-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1.05;
  margin-bottom: 8px;
}
.confirmation .heart {
  width: 26px; height: 26px;
  color: var(--cherry);
  animation: heart-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.1s both;
}
@keyframes heart-pop { from { transform: scale(0); } }

.product-facts { margin-top: 32px; max-width: 30rem; border-top: 1.5px solid var(--petal); }
.product-facts > div { padding: 14px 0; border-bottom: 1.5px solid var(--petal); }
.product-facts dt { font-weight: 600; font-size: 0.9375rem; }
.product-facts dd { color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--petal);
  padding: 52px var(--gutter) 32px;
  font-size: 0.875rem;
  line-height: 1.55;
}
.site-footer > * { max-width: calc(var(--page) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.site-footer .wordmark { color: var(--cream); font-size: 2.5rem; }
.site-footer .wordmark svg { color: var(--rose); }
.footer-brand p { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.footer-nav { display: grid; gap: 10px; align-content: start; font-size: 1rem; font-weight: 500; }
.footer-nav a { color: var(--cream); text-decoration: none; }
.footer-nav a:hover { color: var(--rose); }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(249 215 222 / 0.25); font-size: 0.8125rem; opacity: 0.85; }
.footer-copy { margin-top: 12px; font-size: 0.8125rem; }

/* ---------- Wider screens ---------- */

@media (min-width: 700px) {
  .compare-grid { gap: 28px; }
  .details-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; max-width: 760px; }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --scallop: 34px; }

  .site-header { padding-top: 20px; padding-bottom: 20px; }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas:
      "title photo"
      "body  photo";
    column-gap: clamp(40px, 6vw, 84px);
    row-gap: 0;
    padding-top: 28px;
    padding-bottom: 110px;
  }
  /* Title at the bottom of its row, body at the top of its row:
     the copy reads as one group centered beside the photo. */
  .hero-title { align-self: end; font-size: clamp(3rem, 5vw, 4.75rem); margin-bottom: 26px; }
  .hero-body { align-self: start; margin-top: 0; }
  .title-dot { width: 0.2em; height: 0.2em; }
  .hero-photo {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: max(380px, calc(100vh - 200px)); /* never taller than the window */
  }
  .deco-1 { width: 60px; height: 60px; top: -24px; right: 30px; }
  .deco-2 { width: 34px; height: 34px; top: 44px; right: -16px; }
  .deco-3 { width: 46px; height: 46px; bottom: -18px; left: 34px; }
  .hero { padding-bottom: 122px; }
  .deco-4 { width: 26px; height: 26px; bottom: 36px; left: -12px; }

  .compare { padding: 96px var(--gutter) 96px; }
  .compare-grid { margin-top: 44px; }
  .details { padding-bottom: 96px; }
  .designs { padding-bottom: 120px; }
  .designs-grid { gap: 28px; margin-top: 44px; }
  .details-grid { padding-top: 64px; }
  .fits { padding: 96px var(--gutter) 110px; }
  .fits-list { margin-top: 44px; gap: 14px; }
  .seal { width: 136px; height: 136px; right: -26px; bottom: -30px; }
  .seal.seal-soldout { width: 120px; height: 120px; right: 146px; bottom: -28px; }
  .seal.seal-soldout span { font-size: 1.75rem; }
  .seal-light { right: -40px; bottom: -84px; width: 164px; height: 164px; }
  .seal span { font-size: 2.125rem; }
  .seal small { font-size: 0.75rem; }
  .ticker span { font-size: 1.875rem; }
  .quote { padding: 110px var(--gutter) 130px; }
  .ring { padding: 104px var(--gutter) 130px; }
  .ring-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 80px); align-items: center; }

  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 84px);
    align-items: start;
    padding-top: 24px;
    padding-bottom: 120px;
  }
  .gallery { position: sticky; top: 24px; max-width: max(380px, calc(100vh - 170px)); }
  .product-info { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
