/* Orange Note - the approved "Citrus" design: the orange itself, in daylight. Shared by every page. */
:root {
  --ground: #fbf3e4;      /* page: warm cream */
  --ground-2: #f5ead3;    /* inset / deeper cream */
  --card: #fffaf0;        /* cards and panels: soft warm white, never stark */
  --card-2: #fde9c8;      /* peach: hovers, chips, round buttons */
  --tile-a: #fff5e2;      /* picture tile, centre */
  --tile-b: #f6e3c1;      /* picture tile, edge */
  --line: #d9c49a;
  --line-soft: #eadbbb;
  --line-strong: #9c8352; /* form field borders (3:1 on cream) */
  --head: #2c2110;        /* headings, strong text */
  --text: #43382a;
  --muted: #6a5b45;
  --orange: #f6921e;      /* fills only: buttons, stickers, graphics */
  --orange-big: #cf5a00;  /* large display text only */
  --orange-ink: #a84300;  /* orange as text: prices, links, labels */
  --orange-deep: #e06a00;
  --zest: #ffd257;        /* fills only */
  --leaf: #8cc84b;        /* fills only */
  --leaf-deep: #3c6e1f;   /* green as text */
  --mint: #a6e3d0;
  --grapefruit: #ffb7a3;
  --ink: #2a1a06;         /* text on orange / coloured fills */
  --shadow: 96, 58, 12;   /* warm brown, used in rgba() shadows */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--ground);
  /* the grove in daylight: soft pools of peach, leaf, zest, grapefruit and mint drifting down alternate sides */
  background-image:
    radial-gradient(900px 560px at 88% -60px, rgba(255, 170, 70, 0.36), transparent 70%),
    radial-gradient(780px 620px at -6% 9%, rgba(150, 200, 90, 0.26), transparent 70%),
    radial-gradient(840px 660px at 104% 24%, rgba(255, 210, 87, 0.32), transparent 70%),
    radial-gradient(820px 660px at -6% 40%, rgba(255, 170, 150, 0.28), transparent 70%),
    radial-gradient(840px 660px at 104% 56%, rgba(140, 215, 195, 0.28), transparent 70%),
    radial-gradient(820px 660px at -6% 72%, rgba(255, 170, 70, 0.28), transparent 70%),
    radial-gradient(840px 660px at 104% 88%, rgba(150, 200, 90, 0.24), transparent 70%),
    linear-gradient(180deg, #fdecd2 0px, #fbf3e4 720px, #faf3e2 60%, #f3f1da 100%);
  position: relative;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: #7a2f00; }
h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  color: var(--head);
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 241, 222, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand svg { width: 46px; height: 46px; flex: none; transition: transform .35s cubic-bezier(.3,1.6,.5,1); transform-origin: 40% 80%; }
.brand:hover svg { transform: rotate(-9deg); }
.brand__word {
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-weight: 650; font-size: 27px; letter-spacing: -0.02em; line-height: 1; color: var(--head); white-space: nowrap;
}
.brand__word b { color: var(--orange-big); font-weight: inherit; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--card-2); color: var(--head); }
.cart {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--head); font-weight: 700; font-size: 16px; text-decoration: none;
}
.cart:hover { border-color: var(--orange-deep); color: var(--head); background: var(--card-2); }
.cart svg { width: 22px; height: 22px; }
.cart__n {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 800;
  display: inline-grid; place-items: center;
}
.cart__n.bump { animation: bump .45s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 50% { transform: scale(1.45); } }
.menu-btn {
  display: none; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--head);
  font: 700 16px var(--body); cursor: pointer;
}

/* ---------- buttons, stickers ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 17px var(--body); text-decoration: none;
  background: var(--orange); color: var(--ink);
  box-shadow: 0 4px 0 #c46200, 0 14px 22px -14px rgba(196, 98, 0, 0.55);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:hover { background: #ffa43d; color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 0 #c46200, 0 16px 24px -14px rgba(196, 98, 0, 0.6); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c46200; }
.btn--ghost { background: var(--card); color: var(--head); border: 2px solid var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--card-2); color: var(--head); border-color: var(--orange-deep); box-shadow: none; }
.btn svg { width: 20px; height: 20px; }

.sticker {
  display: inline-block; padding: 5px 12px 4px; border-radius: 999px;
  font: 800 12px/1.3 var(--body); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink); background: #ffa63f;
  box-shadow: 0 2px 0 rgba(var(--shadow), 0.38);
  transform: rotate(-3deg); white-space: nowrap;
}
.sticker--cd { background: var(--leaf); }
.sticker--mp3 { background: var(--zest); }
.sticker--bundle { background: var(--grapefruit); }
.sticker--aid { background: var(--mint); }
.sticker--flag { background: var(--card); color: var(--orange-ink); border: 1.5px dashed var(--orange-ink); transform: rotate(4deg); box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 30px; }
.hero__in { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  color: var(--leaf-deep); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow svg { width: 20px; height: 20px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 86px); font-weight: 600; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; color: var(--orange-big); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero__lede { font-size: 20px; max-width: 34em; margin: 22px 0 30px; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; display: grid; place-items: center; min-height: 470px; }
.hero__slice { position: absolute; width: min(460px, 100%); aspect-ratio: 1; right: -4%; top: 50%; transform: translateY(-50%); }
.hero__slice svg { width: 100%; height: 100%; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__feature { position: relative; display: block; text-decoration: none; transform: rotate(-5deg); transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.hero__feature:hover { transform: rotate(-2deg) scale(1.02); }
.hero__feature img { width: 270px; border-radius: 4px; box-shadow: 0 28px 40px -20px rgba(var(--shadow), .65), 0 0 0 1px rgba(var(--shadow), .18); }
.hero__feature .sticker { position: absolute; top: -14px; right: -26px; font-size: 13px; padding: 7px 14px 6px; transform: rotate(8deg); background: var(--leaf); }
.hero__tag {
  position: absolute; left: 0; bottom: 4px; z-index: 2; max-width: 290px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 18px; text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.4;
  box-shadow: 0 16px 28px -16px rgba(var(--shadow), .5);
}
.hero__tag strong { display: block; color: var(--head); font-family: var(--display); font-size: 18px; font-weight: 600; }
.hero__tag span { color: var(--orange-ink); font-weight: 700; }
.hero__tag:hover { border-color: var(--orange-deep); color: var(--text); }

.aisles { display: flex; flex-wrap: wrap; gap: 10px; padding: 26px 0 8px; margin: 0; list-style: none; }
.aisles a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 18px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  color: var(--head); font-weight: 600; text-decoration: none;
}
.aisles a:hover { border-color: var(--orange-deep); background: var(--card-2); }
.aisles i {
  font-style: normal; font-weight: 800; font-size: 14px; min-width: 30px; height: 30px; border-radius: 999px;
  display: inline-grid; place-items: center; background: #ffe2a6; color: var(--ink);
}

/* ---------- sections ---------- */
.section { padding: 54px 0 10px; scroll-margin-top: 80px; }
.section__head { display: flex; align-items: center; gap: 22px; margin-bottom: 10px; }
.section__head h2 { font-size: clamp(32px, 4vw, 46px); }
.section__note { color: var(--muted); max-width: 46em; margin-bottom: 28px; }
/* a five-line staff with one orange on it */
.staff {
  flex: 1; height: 33px; min-width: 40px; position: relative;
  background: repeating-linear-gradient(to bottom, rgba(var(--shadow), .30) 0 1px, transparent 1px 8px);
}
.staff::before {
  content: ""; position: absolute; left: 14%; top: 10px; width: 15px; height: 13px; border-radius: 50%;
  background: var(--orange); transform: rotate(-18deg);
}
.staff::after {
  content: ""; position: absolute; left: calc(14% + 13px); top: -12px; width: 2px; height: 30px; background: #6aa62f; border-radius: 2px;
}
.section:nth-of-type(even) .staff::before { left: 62%; top: 18px; }
.section:nth-of-type(even) .staff::after { left: calc(62% + 13px); top: -4px; }
.count { color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }

/* ---------- product cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sheet { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.grid--cd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  color: var(--text); text-decoration: none; overflow: hidden;
  box-shadow: 0 1px 0 rgba(var(--shadow), .06), 0 14px 22px -20px rgba(var(--shadow), .45);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-5px); border-color: var(--orange); color: var(--text); box-shadow: 0 24px 32px -22px rgba(196, 98, 0, 0.55); }
.card__media {
  position: relative; display: grid; place-items: center; padding: 48px 22px 22px;
  background: radial-gradient(120% 90% at 50% 30%, var(--tile-a), var(--tile-b) 75%);
  aspect-ratio: 1 / 1;
}
.card--sheet .card__media { aspect-ratio: 4 / 4.6; }
.card__media img {
  max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 3px;
  filter: drop-shadow(0 1px 1px rgba(var(--shadow), .28)) drop-shadow(0 10px 12px rgba(var(--shadow), .30));
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.card:hover .card__media img { transform: rotate(-2.5deg) scale(1.04); }
.card__media .sticker { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card__media .sticker--flag { left: auto; top: auto; right: 12px; bottom: 12px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card h3 { font-size: 20px; font-weight: 600; }
.card__sub { color: var(--muted); font-size: 15px; line-height: 1.4; margin: 0; }
.card__desc { color: var(--text); font-size: 15.5px; line-height: 1.5; margin: 4px 0 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 650; font-size: 23px; color: var(--orange-ink); white-space: nowrap; }
.price s { color: var(--muted); font-size: 0.7em; font-weight: 500; margin-right: 6px; }
.price small { font: 600 13px var(--body); color: var(--muted); margin-right: 5px; text-transform: uppercase; letter-spacing: .05em; }
.go {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--card-2); color: var(--orange-ink); border: 1px solid var(--line);
  transition: background .18s, color .18s;
}
.go svg { width: 18px; height: 18px; }
.card:hover .go { background: var(--orange); color: var(--ink); border-color: var(--orange); }

/* wide cards: bundles and the teaching aid */
.grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card--wide { flex-direction: row; }
.card--wide .card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 250px; padding: 48px 22px 22px; }
.card--wide .card__media img { max-height: 230px; }
.card--wide .card__body { padding: 24px 24px 22px; gap: 8px; }
.card--wide h3 { font-size: 24px; }
.card--aid .card__media { flex-basis: 54%; grid-template-columns: 1fr 1fr; gap: 16px; }
.card--aid .card__media img { border-radius: 8px; }
.card--aid .card__media img + img { transform: rotate(3deg); }
.card--aid:hover .card__media img + img { transform: rotate(5deg) scale(1.04); }
.card--aid h3 { font-size: 30px; }
.card--aid .card__desc { font-size: 17px; }

/* ---------- about / faq / contact / newsletter ---------- */
.about { box-shadow: 0 18px 30px -28px rgba(var(--shadow), .5); display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; background: var(--card); border: 1px solid var(--line-soft); border-radius: 34px; padding: 40px 44px; }
.about__mark { display: grid; place-items: center; }
.about__mark svg { width: 190px; height: auto; filter: drop-shadow(0 18px 18px rgba(var(--shadow), .28)); }
.about h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; }
.about p { max-width: 40em; }
.about ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--ground-2); font-size: 15px; font-weight: 600; color: var(--head); }
.about li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #6aa62f; margin-right: 8px; }

.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; min-height: 60px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 21px; font-weight: 600; color: var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card-2); color: var(--orange-ink); font: 700 22px/1 var(--body);
}
.faq details[open] summary::after { content: "\2013"; background: var(--orange); color: var(--ink); }
.faq .answer { padding: 0 22px 20px; max-width: 46em; }
.faq .answer p:last-child, .faq .answer ol:last-child { margin-bottom: 0; }
.faq .answer ol { padding-left: 1.3em; margin: 0 0 1em; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: 34px; padding: 38px 40px; border: 1px solid var(--line-soft); background: var(--card); position: relative; overflow: hidden; }
.panel h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 10px; }
.panel p { color: var(--text); max-width: 34em; }
.panel--news { background: linear-gradient(150deg, #ffe6b8, #fde3bd 55%, #f4ecc4); border-color: #ecc98c; }
.panel--news::after {
  content: ""; position: absolute; right: -70px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffc477, #f6921e 62%, #e06a00); opacity: .85; pointer-events: none;
}
.panel > * { position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
label { font-weight: 700; font-size: 15px; color: var(--head); }
input[type="email"], input[type="text"], textarea, .qty input {
  font: 500 17px var(--body); color: var(--head); background: #fffdf8; border: 1.5px solid var(--line-strong);
  border-radius: 14px; padding: 13px 16px; width: 100%; min-height: 50px;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #75664e; }
/* every field sits on a soft shadow and lights up orange while it is being typed in (Stripe's fields on /checkout/ are set to match in checkout.js) */
input[type="email"], input[type="text"], input[type="tel"], textarea { box-shadow: 0 3px 9px rgba(var(--shadow), .20); transition: border-color .15s, box-shadow .15s, background-color .15s; }
input[type="tel"] { font: 500 17px var(--body); color: var(--head); background: #fffdf8; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 13px 16px; width: 100%; min-height: 50px; }
input[type="email"]:hover, input[type="text"]:hover, input[type="tel"]:hover, textarea:hover { border-color: #7d6638; }
input:focus, textarea:focus { outline: none; border-color: var(--orange-big); box-shadow: 0 0 0 3px rgba(246,146,30,.30); }
input[type="email"]:focus, input[type="text"]:focus, input[type="tel"]:focus, textarea:focus { background: #fff4dc; box-shadow: 0 0 0 4px rgba(246,146,30,.32), 0 3px 9px rgba(var(--shadow), .20); }
input.is-bad { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.18), 0 3px 9px rgba(var(--shadow), .20); }
.field-err { margin: 0; color: #b3261e; font-weight: 600; font-size: 14.5px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; max-width: 480px; }
.inline-form input { flex: 1 1 200px; border-radius: 999px; padding-left: 20px; }
.form-msg { margin: 14px 0 0; font-weight: 700; color: var(--leaf-deep); min-height: 1.6em; }
.fine { font-size: 14.5px; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { margin-top: 70px; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, #f1edd2, #ebe9cb); padding: 44px 0 34px; }
.site-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-foot h2 { font: 800 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; }
.site-foot li a:hover { color: var(--orange-ink); }
.site-foot p { color: var(--muted); max-width: 30em; margin-top: 14px; font-size: 16px; }
.site-foot__base { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- product page ---------- */
.crumbs { padding: 22px 0 0; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-block; padding: 6px 0; }
.crumbs a:hover { color: var(--orange-ink); }
.crumbs span { margin: 0 8px; color: var(--line-strong); }
.pdp { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 52px; padding: 22px 0 20px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery__stage {
  position: relative; display: grid; place-items: center; height: 560px; padding: 40px;
  border-radius: 34px; border: 1px solid var(--line-soft); overflow: hidden;
  background: radial-gradient(110% 80% at 50% 35%, var(--tile-a), var(--tile-b) 82%);
}
.gallery__stage::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -210px; bottom: -230px;
  background: radial-gradient(circle at 35% 30%, #ffe0ae, #ffc77e 58%, #f9ad55);
}
.gallery__stage img { position: relative; max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 40px -24px rgba(var(--shadow), .7), 0 0 0 1px rgba(var(--shadow), .18); }
.gallery__stage img[data-kind="page"] { box-shadow: 0 26px 40px -24px rgba(var(--shadow), .6), 0 0 0 1px rgba(var(--shadow), .22); }
.gallery__stage .sticker { position: absolute; top: 20px; left: 20px; z-index: 2; font-size: 13px; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb {
  width: 92px; height: 104px; padding: 10px; border-radius: 18px; cursor: pointer;
  background: var(--card); border: 2px solid var(--line-soft); display: grid; place-items: center;
}
.thumb img { max-height: 100%; width: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(var(--shadow), .2); }
.thumb[aria-current="true"] { border-color: var(--orange-deep); background: var(--card-2); }
.thumb:hover { border-color: var(--orange-deep); }
.thumbs__cap { align-self: center; color: var(--muted); font-size: 15px; margin-left: 6px; }

.buy h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 16px 0 8px; letter-spacing: -0.025em; }
.buy__by { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.buy__by b { color: var(--head); font-weight: 600; }
.buy__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.buy__price .price { font-size: 44px; }
.buy__price span.note { color: var(--muted); font-size: 15px; }
.buy__short { font-size: 19px; max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; grid-template-columns: repeat(4, auto); gap: 10px; justify-content: start; }
.facts li { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 10px 16px; line-height: 1.3; }
.facts small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.facts b { color: var(--head); font-weight: 600; font-size: 16.5px; }
.buy__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.qty { display: inline-flex; align-items: center; background: #fffdf8; border: 1.5px solid var(--line-strong); border-radius: 999px; height: 56px; padding: 0 5px; }
.qty button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card-2); color: var(--head);
  font: 700 22px/1 var(--body); cursor: pointer;
}
.qty button:hover { background: var(--orange); color: var(--ink); }
.qty input { width: 54px; min-height: 0; height: 44px; border: 0; background: transparent; text-align: center; padding: 0; font-weight: 700; font-size: 19px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__row .btn { flex: 1 1 220px; min-height: 56px; font-size: 18px; max-width: 340px; }
.ship {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 26px; padding: 18px 20px;
  border-radius: 20px; border: 1.5px dashed #7fae4c; background: #eef3d6;
}
.ship svg { width: 38px; height: 38px; flex: none; }
.ship strong { display: block; color: var(--head); font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 20px; font-weight: 600; }
.ship p { margin: 2px 0 0; font-size: 16px; color: var(--text); }
.formats { margin-top: 26px; }
.formats h2 { font: 800 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: 12px; }
.formats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.formats a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; min-height: 68px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line-soft); text-decoration: none; color: var(--text); line-height: 1.25;
}
.formats a:hover { border-color: var(--orange-deep); background: var(--card-2); }
.formats img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.formats b { display: block; color: var(--head); font-size: 15.5px; }
.formats span { color: var(--orange-ink); font-weight: 700; font-size: 15px; }

.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 44px; align-items: start; }
.prose { font-size: 18px; }
.prose p { max-width: 38em; }
.prose strong { color: var(--head); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li::marker { color: var(--orange-deep); }
.listen { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 24px; }
.listen a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--head); font-weight: 600; font-size: 16px; text-decoration: none;
}
.listen a:hover { border-color: var(--orange-deep); background: var(--card-2); }
.listen svg { width: 26px; height: 26px; color: var(--orange-ink); }
.contents { background: var(--card); border: 1px solid var(--line-soft); border-radius: 28px; padding: 28px 30px 24px; }
.contents h3 { font-size: 26px; margin-bottom: 4px; }
.contents > p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.contents ol { list-style: none; margin: 0; padding: 0; }
.contents li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 1.35; }
.contents li:last-child { border-bottom: 0; }
.contents li i { font-style: normal; font-weight: 800; color: var(--orange-ink); min-width: 26px; font-size: 14.5px; }
.contents li span { flex: 1; color: var(--text); }
.contents li em { font-style: normal; color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.specs { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0; border-top: 1px solid var(--line); max-width: 38em; font-size: 16.5px; }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.specs dt { color: var(--muted); padding-right: 28px; }
.specs dd { color: var(--head); }

.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; z-index: 60;
  background: #2f5a17; color: #fffaf0; font-weight: 700; padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 16px 26px -12px rgba(var(--shadow), .7); transition: transform .35s cubic-bezier(.3,1.4,.5,1);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .grid--sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, auto); }
  .formats ul { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { min-height: 430px; }
  .grid, .grid--sheet, .grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--cd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--wide { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; padding: 32px 28px; gap: 20px; }
  .about__mark { justify-items: start; }
  .about__mark svg { width: 110px; }
  .duo { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .gallery__stage { height: 460px; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .formats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot__in { grid-template-columns: 1fr 1fr; }
  .site-foot__in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .site-head__in { flex-wrap: wrap; gap: 10px; min-height: 64px; }
  .nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; font-size: 18px; border-radius: 14px; }
  .cart span.cart__label { display: none; }
  .cart { padding: 0 10px 0 12px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .brand svg { width: 34px; height: 40px; }
  .brand__word { font-size: 23px; }
  .hero { padding: 30px 0 10px; }
  .hero__lede { font-size: 18px; margin: 16px 0 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__art { min-height: 400px; margin-top: 6px; }
  .hero__slice { width: 330px; right: -60px; }
  .hero__feature img { width: 220px; }
  .hero__feature .sticker { right: -14px; }
  .hero__tag { left: 0; bottom: 0; max-width: 250px; }
  .aisles a { min-height: 46px; padding-left: 14px; font-size: 15.5px; }
  .section { padding-top: 42px; }
  .section__head { gap: 14px; }
  .count { display: none; }
  .grid, .grid--sheet, .grid--cd, .grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 20px; }
  .card__media { padding: 38px 14px 14px; }
  .card__media .sticker { top: 9px; left: 8px; font-size: 10.5px; padding: 4px 9px 3px; }
  .card__media .sticker--flag { left: auto; right: 8px; bottom: 8px; }
  .card__body { padding: 12px 13px 14px; gap: 4px; }
  .card h3 { font-size: 17px; }
  .card__sub { font-size: 14px; }
  .card__desc { display: none; }
  .price { font-size: 20px; }
  .go { width: 34px; height: 34px; }
  .card--wide { flex-direction: column; }
  .card--wide .card__media { flex: none; min-height: 0; aspect-ratio: 16 / 11; }
  .card--wide .card__media img { max-height: 100%; }
  .card--wide .card__body { padding: 16px 18px 18px; }
  .card--wide h3 { font-size: 21px; }
  .card--wide .card__desc { display: block; }
  .card--aid h3 { font-size: 24px; }
  .card--aid .card__media { gap: 10px; }
  .about { border-radius: 26px; padding: 26px 20px; }
  .panel { border-radius: 26px; padding: 28px 20px; }
  .faq summary { font-size: 18.5px; padding: 16px 18px; }
  .faq .answer { padding: 0 18px 18px; }
  .inline-form .btn { flex: 1 1 100%; }
  .site-foot__in { grid-template-columns: 1fr; }
  .gallery__stage { height: 380px; padding: 30px 24px; border-radius: 26px; }
  .thumb { width: 76px; height: 88px; }
  .buy__price .price { font-size: 38px; }
  .buy__short { font-size: 17.5px; }
  .facts { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .buy__row .btn { max-width: none; }
  .formats ul { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .contents { padding: 22px 18px 16px; border-radius: 22px; }
  .contents li { font-size: 15.5px; }
  .specs { font-size: 15.5px; }
  .specs dt { padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- round 2 fixes ---------- */
[id] { scroll-margin-top: 92px; }
/* transparent cut-out pictures (bundles): no rounded corners, just the soft ground shadow */
.card--bundle .card__media img { border-radius: 0; }
.faq { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.panel--news { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
.amp { font-family: var(--body); font-weight: 600; }
.gallery__stage { height: 520px; }
.gallery__stage img[data-kind="cover"] { height: 82%; }
@media (max-width: 900px) { .gallery__stage { height: 460px; } }
@media (max-width: 620px) { .gallery__stage { height: 380px; } .gallery__stage img[data-kind="cover"] { height: 90%; } }
@media (max-width: 760px) {
  .site-head__in { gap: 8px; }
  .cart { order: 2; }
  .menu-btn { order: 3; padding: 0 13px; }
}
@media (max-width: 620px) {
  .brand { gap: 7px; }
  .brand__word { font-size: 22px; }
  .eyebrow { font-size: 13px; letter-spacing: 0.04em; gap: 8px; margin-bottom: 14px; }
  .card__media .sticker--flag { top: auto; }
  .grid--wide, .grid--one { grid-template-columns: 1fr; }
  .card--wide .card__media { aspect-ratio: auto; height: 250px; padding: 44px 16px 18px; }
  .card--wide .card__media img { max-height: 188px; }
  .card--aid .card__media img { max-height: 150px; }
}
.grid--one { grid-template-columns: 1fr; }
html { overflow-x: hidden; }
.hero { overflow-x: clip; }
.gallery__stage, .card__media { grid-template-rows: minmax(0, 1fr); }
.site-foot li a { padding: 10px 0; line-height: 1.5; }

/* ---------- light theme: each aisle gets its own soft tile tint ---------- */
.card--cd .card__media { background: radial-gradient(120% 90% at 50% 30%, #f8f9e6, #e6edc8 75%); }
.card--mp3 .card__media { background: radial-gradient(120% 90% at 50% 30%, #fff9df, #f8e8b0 75%); }
.card--bundle .card__media { background: radial-gradient(120% 90% at 50% 30%, #fff3ec, #f9dccd 75%); }
.card--aid .card__media { background: radial-gradient(120% 90% at 50% 30%, #f1faf5, #d5ecdf 75%); }

/* =====================================================================
   The full shop: pieces added to the approved mockup, in the same language
   ===================================================================== */
.nav a[aria-current="page"], .cart[aria-current="page"] { background: var(--card-2); }
button, input, textarea { font-family: var(--body); }
[hidden] { display: none !important; }

/* ---------- page heading for the text pages ---------- */
.page-head { padding: 14px 0 26px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.025em; }
.page-head__lede { color: var(--muted); font-size: 19px; max-width: 44em; margin: 6px 0 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.5em 0 .5em; }
.prose h3 { font-size: 22px; margin: 0 0 10px; }
.prose--page { max-width: 980px; }
.prose--page > p, .prose--page > ul { max-width: 44em; }
.prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; max-width: none !important; }
.fine a, .prose a { font-weight: 600; }
.after-note { margin: 26px 0 0; color: var(--muted); }
.about--page { align-items: start; }
.about--page .prose > p:first-child { font-size: 21px; color: var(--head); }
.about--page .about__mark { padding-top: 10px; }
.about__more { margin: 18px 0 0; font-weight: 700; }
.panel__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.linklist { list-style: none; padding: 0; margin: 14px 0 0; }
.linklist a { display: inline-block; padding: 8px 0; font-weight: 700; }
.duo--contact { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
.duo--contact .panel--news { display: block; }
.duo--contact .fine { margin: 18px 0 0; }
.form-msg:empty { min-height: 0; margin: 0; }
.form-msg.is-warn { color: #7a2f00; }

/* FAQ page: one column, question headings inside the summaries */
.faq--page { grid-template-columns: 1fr; max-width: 900px; }
.faq summary h2 { font: inherit; color: inherit; letter-spacing: 0; }
.faq blockquote { margin: 0 0 0 1.3em; padding: 12px 16px; border-left: 4px solid var(--orange); background: var(--ground-2); border-radius: 0 12px 12px 0; font-size: 16px; overflow-wrap: anywhere; }
.faq .answer ul { padding-left: 1.3em; margin: 0 0 1em; }

/* ---------- product page additions ---------- */
.buy__flag { transform: rotate(-2deg); }
.thumbs { flex-wrap: wrap; }
/* photographs (CD cases, discs, cards) sit on the tile without the printed-page edge */
.gallery__stage img[data-kind="photo"], .gallery__stage img[data-kind="page"] { max-height: 100%; }
.gallery__stage img[data-kind="photo"] { box-shadow: none; filter: drop-shadow(0 22px 22px rgba(var(--shadow), .38)); border-radius: 6px; }
.gallery__stage--cd { background: radial-gradient(110% 80% at 50% 35%, #f8f9e6, #e6edc8 82%); }
.gallery__stage--mp3 { background: radial-gradient(110% 80% at 50% 35%, #fff9df, #f8e8b0 82%); }
.gallery__stage--bundle { background: radial-gradient(110% 80% at 50% 35%, #fff3ec, #f9dccd 82%); }
.gallery__stage--aid { background: radial-gradient(110% 80% at 50% 35%, #f1faf5, #d5ecdf 82%); }
.buy__price { flex-wrap: wrap; }
.buy__short p:last-child { margin-bottom: 0; }
.facts { grid-template-columns: repeat(4, auto); margin-top: 20px; }
.details { background: var(--card); border: 1px solid var(--line-soft); border-radius: 28px; padding: 26px 30px 16px; }
.details h3 { font-size: 26px; margin-bottom: 12px; }
.details .specs { margin-top: 0; max-width: none; }
.details .specs dt:last-of-type, .details .specs dd:last-child { border-bottom: 0; }
.details--row { margin-top: 22px; max-width: 620px; }
.contents li span strong { font-weight: 700; color: var(--head); }
.contents__note { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }
.prose .listen { margin: 0 0 1.1em; }
.story > .prose > :last-child { margin-bottom: 0; }

/* ---------- cart ---------- */
.cartpage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr); gap: 28px; align-items: start; min-height: 240px; transition: opacity .15s; }
.cartpage.is-busy { opacity: .6; pointer-events: none; }
.cart-wait { color: var(--muted); grid-column: 1 / -1; }
.lines { list-style: none; margin: 0; padding: 6px 26px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 28px; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto 44px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; }
.line__pic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 16px; padding: 8px; background: radial-gradient(120% 90% at 50% 30%, var(--tile-a), var(--tile-b) 75%); }
.line__pic img { max-height: 68px; width: auto; max-width: 100%; object-fit: contain; border-radius: 2px; filter: drop-shadow(0 4px 5px rgba(var(--shadow), .3)); }
.line__name { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--head); text-decoration: none; }
.line__name:hover { color: var(--orange-ink); }
.line__detail { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.4; margin-top: 3px; }
.line__each { display: block; color: var(--text); font-size: 15px; margin-top: 4px; }
.line__each s { color: var(--muted); margin-right: 6px; }
.line__total { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 650; font-size: 21px; color: var(--orange-ink); min-width: 78px; text-align: right; white-space: nowrap; }
.qty--sm { height: 48px; padding: 0 4px; }
.qty--sm button { width: 40px; height: 40px; font-size: 20px; }
.qty--sm input { width: 40px; height: 40px; font-size: 17px; }
.qty button[disabled] { opacity: .45; cursor: default; background: var(--card-2); color: var(--head); }
.line__rm { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; display: grid; place-items: center; font: 700 22px/1 var(--body); }
.line__rm:hover { background: var(--card-2); color: #7a2f00; border-color: var(--orange-deep); }
.sum { background: linear-gradient(150deg, #ffe6b8, #fde3bd 55%, #f4ecc4); border: 1px solid #ecc98c; border-radius: 28px; padding: 26px 28px 28px; position: sticky; top: 96px; }
.sum h2 { font-size: 28px; margin-bottom: 14px; }
.sum__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; color: var(--text); }
.sum__row b { color: var(--head); font-weight: 700; white-space: nowrap; }
.sum__row small { display: block; color: var(--muted); font-size: 14px; }
.sum__row--total { border-top: 1.5px solid #dcb672; margin-top: 8px; padding-top: 16px; font-size: 19px; }
.sum__row--total b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 30px; font-weight: 650; color: var(--orange-ink); }
.seg { border: 0; padding: 0; margin: 10px 0 8px; min-width: 0; }
.seg legend { font-weight: 700; font-size: 15px; color: var(--head); padding: 0; margin-bottom: 8px; }
.seg__opts { display: grid; gap: 8px; }
.seg label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 14px; background: #fffdf8; border: 1.5px solid var(--line-strong); cursor: pointer; font-weight: 600; font-size: 16px; }
.seg input { width: 20px; height: 20px; accent-color: var(--orange-ink); margin: 0; flex: none; }
.seg label:has(input:checked) { border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgba(246,146,30,.30); }
.sum .btn { width: 100%; margin-top: 18px; min-height: 56px; font-size: 18px; }
.btn[disabled] { background: #e9d9b8; color: #6a5b45; box-shadow: none; cursor: not-allowed; transform: none; }
.sum .fine { margin: 14px 0 0; }
.notice { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; border: 1.5px dashed #7fae4c; background: #eef3d6; color: var(--head); font-size: 16px; }
.notice--warn { border-color: var(--orange-ink); background: #fff1dc; }
.notice a { font-weight: 700; }
.cartpage > .notice { grid-column: 1 / -1; margin: 0; }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 44px 24px 50px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 34px; }
.empty svg { width: 96px; height: auto; margin-bottom: 8px; filter: drop-shadow(0 12px 12px rgba(var(--shadow), .25)); }
.empty h2 { font-size: clamp(28px, 3.4vw, 38px); }
.empty p { color: var(--muted); max-width: 30em; margin: 0 0 14px; }
.toast a { color: #ffe2a6; margin-left: 10px; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 60px 0 20px; display: grid; justify-items: center; }
.lost__slice { width: 150px; margin-bottom: 22px; transform: rotate(18deg); }
.lost h1 { font-size: clamp(34px, 5vw, 56px); max-width: 16em; margin-bottom: 14px; }
.lost p { color: var(--muted); max-width: 32em; }
.lost .cta-row { justify-content: center; }

@media (max-width: 1120px) {
  .facts { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 900px) {
  .cartpage { grid-template-columns: 1fr; }
  .sum { position: static; }
  .duo--contact { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-head { padding: 8px 0 20px; }
  .page-head__lede { font-size: 17.5px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .details { border-radius: 22px; padding: 20px 18px 10px; }
  .lines { padding: 2px 16px; border-radius: 22px; }
  .line { grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 10px 12px; padding: 16px 0; }
  .line__pic { width: 64px; height: 64px; grid-row: 1; }
  .line__pic img { max-height: 50px; }
  .line__info { grid-column: 2; }
  .line__rm { grid-column: 3; grid-row: 1; align-self: start; }
  .line .qty { grid-column: 1 / 3; grid-row: 2; justify-self: start; }
  .line__total { grid-column: 2 / 4; grid-row: 2; justify-self: end; min-width: 0; }
  .line__name { font-size: 18px; }
  .sum { border-radius: 22px; padding: 22px 18px 24px; }
  .empty { border-radius: 26px; padding: 34px 18px 38px; }
  .cta-row .btn { flex: 1 1 100%; }
  .panel__links .btn { flex: 1 1 100%; }
}

/* short pages (empty cart, 404): keep the footer at the bottom of the window */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* cart: the quantity discount and the nudge towards it */
.sum__row--off b, .sum__row--off span { color: var(--leaf-deep); }
.sum__row--off small { color: var(--leaf-deep); }
.sum__hint { margin: 2px 0 6px; padding: 10px 14px; border-radius: 14px; border: 1.5px dashed #7fae4c; background: #eef3d6; color: var(--head); font-size: 15px; line-height: 1.45; }

/* ---------- faint line drawings in the page margins (wide screens only) ---------- */
body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: no-repeat;
  background-image: url(/img/deco/slice-orange.svg), url(/img/deco/sprig.svg), url(/img/deco/slice-zest.svg), url(/img/deco/sprig.svg), url(/img/deco/slice-orange.svg), url(/img/deco/sprig.svg), url(/img/deco/slice-zest.svg);
  background-size: 460px, 340px, 380px, 320px, 440px, 340px, 400px;
  background-position: right -190px top 3%, left -90px top 16%, right -150px top 31%, left -80px top 46%, left -200px top 62%, right -90px top 76%, right -170px top 91%;
}
@media (max-width: 900px) { body::before { display: none; } }

/* ---------- painted pictures ---------- */
/* the orange branch beside "about": the cream paper melts into the card */
.about__mark--art img {
  width: 100%; max-width: 300px; mix-blend-mode: multiply;
  /* the branch reaches in from the top right corner, so only those two edges are softened */
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16%), linear-gradient(to bottom, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, transparent 0, #000 16%), linear-gradient(to bottom, transparent 0, #000 16%);
  mask-composite: intersect;
}
@media (max-width: 900px) { .about__mark--art img { max-width: 220px; } }
/* the grove along the foot of every page, fading up into the page */
.site-foot { position: relative; margin-top: calc(40px + min(28vw, 470px)); }
.site-foot::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  width: min(100%, 1904px); height: min(33.6vw, 560px); pointer-events: none; /* 33.6vw keeps the whole picture, piano lid included */
  background: url(/img/art/grove-piano.jpg) center bottom / cover no-repeat;
  mix-blend-mode: multiply; opacity: .92;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%), linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 30%), linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- checkout page ---------- */
.checkout.is-loading .pay, .checkout.is-loading .sum { opacity: .55; pointer-events: none; }
.pay { display: grid; gap: 22px; min-width: 0; }
.pay__sec { background: var(--card); border: 1px solid var(--line-soft); border-radius: 24px; padding: 24px 26px 26px; box-shadow: 0 14px 30px -24px rgba(var(--shadow), .55); }
.pay__sec h2 { font-size: 26px; margin: 0 0 16px; }
.pay__sec .field:last-child { margin-bottom: 0; }
.pay__sec .fine { margin: 2px 0 0; }
.pay__stripe { min-height: 60px; }
.pay .notice { margin: 0; }
.co-lines { list-style: none; margin: 0 0 10px; padding: 0 0 12px; border-bottom: 1.5px solid #dcb672; display: grid; gap: 12px; }
.co-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co-line img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff8ea; }
.co-line__info b { display: block; color: var(--head); line-height: 1.25; }
.co-line__info small { display: block; color: var(--muted); font-size: 14px; }
.co-line__total { font-weight: 700; color: var(--head); white-space: nowrap; }
.sum .back { display: inline-block; margin-top: 14px; font-weight: 600; }
@media (max-width: 620px) { .pay__sec { padding: 20px 18px 22px; border-radius: 20px; } }

/* FAQ while an answer is gliding shut: show the plus sign straight away */
.faq details.is-closing summary::after { content: "+"; background: var(--card-2); color: var(--orange-ink); }

/* a track that is listed but not part of this product (e.g. on the CD, not in the download) */
.contents li.is-off i, .contents li.is-off span { color: var(--muted); opacity: .7; }
.contents li.is-off em { font-weight: 700; color: var(--orange-ink); font-size: 13.5px; }
@media (max-width: 560px) { .contents li.is-off { flex-wrap: wrap; } .contents li.is-off em { flex-basis: 100%; padding-left: 36px; } }

/* ==========================================================================
   Added with the order back end: newsletter sign-up in the footer, the hidden
   robot-trap field, status lines that keep their room, the thank-you page's
   order line, and the buyer's order status page (/order/status/).
   ========================================================================== */
/* a field people never see or reach; robots fill it in and give themselves away */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* one line of news under a form; its room is always there so the page does not jump */
.status-line { min-height: 1.6em; margin: 10px 0 0; font-weight: 600; font-size: 15px; line-height: 1.6; color: var(--leaf-deep); }
.status-line.is-warn { color: #7a2f00; }
.inline-form .status-line { flex: 1 1 100%; margin-top: 4px; }
#contact-form .status-line { margin-top: 14px; }

.foot-news { margin-top: 20px; max-width: 430px; }
.foot-news label { display: block; margin-bottom: 8px; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.foot-news__row { display: flex; gap: 8px; }
.foot-news__row input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 9px 18px; border-radius: 999px; font-size: 16px; }
.foot-news__row .btn { flex: none; min-height: 46px; padding: 0 20px; font-size: 16px; }
/* room for two lines here: the column is narrow and the thank-you wraps */
.site-foot .foot-news .status-line { max-width: none; min-height: 3.2em; margin-top: 8px; font-size: 14.5px; color: var(--leaf-deep); }
.site-foot .foot-news .status-line.is-warn { color: #7a2f00; }

/* thank-you page: the line that receives the order number */
.ty-order { min-height: 1.7em; font-size: 20px; color: var(--head); }

/* the buyer's order page */
.orderpage .pay__sec h2 { margin-bottom: 12px; }
.os-status { font-size: 20px; color: var(--head); font-weight: 600; margin: 0 0 6px; }
.os-facts { margin: 0; color: var(--text); }
.os-facts a { font-weight: 700; }
.os-items { list-style: none; margin: 0; padding: 0; }
.os-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.os-item:first-child { border-top: 0; padding-top: 0; }
.os-item:last-child { padding-bottom: 0; }
.os-item__info { flex: 1 1 220px; min-width: 0; }
.os-item__info b { display: block; color: var(--head); }
.os-item__info small { color: var(--muted); font-size: 14.5px; }
.os-item__total { font-weight: 700; color: var(--head); white-space: nowrap; }
.os-item__dl { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.os-item__dl .btn { min-height: 46px; font-size: 16px; }
.os-item__dl small { color: var(--muted); font-size: 14.5px; }
.os-address { margin: 0; font-style: normal; line-height: 1.55; }
@media (max-width: 620px) { .foot-news__row { flex-wrap: wrap; } .foot-news__row .btn { flex: 1 1 100%; } }
.contents__cd { margin: 14px 0 0; font-size: 15.5px; font-weight: 700; }
.contents__cd a { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-ink); }
.contents__cd svg { width: 16px; height: 16px; }

/* how an international order travels: two choices, each with its price and a plain fact */
.seg--services label { align-items: flex-start; padding: 12px 16px; }
.seg--services input { margin-top: 2px; }
.seg--services span { display: grid; gap: 2px; }
.seg--services small { font-weight: 400; font-size: 14px; color: var(--muted, #6a5b45); line-height: 1.35; }

/* checkout: the page while a payment is with the bank */
.co-working { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(44, 33, 16, .75); animation: co-fade .25s ease-out; }
@keyframes co-fade { from { opacity: 0; } }

/* ---- payment picture (drawn by payanim.js): a metronome over music that scrolls past a playback bar ----
   --beat is one tick: .5s is 120 to the minute (payanim.js has the same number as BEAT_SECONDS).
   The pendulum takes one beat to cross. The music moves 72 for every beat and repeats after its
   16 beats (1152), so the two always stay together. One empty bar (4 beats, 288) comes first. */
.pa { --beat: .5s; display: block; width: min(760px, 96vw); height: auto; overflow: visible; }
.pa-tick { transform-origin: 320px 116px; animation: pa-tick var(--beat) cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes pa-tick { from { transform: rotate(-21deg); } to { transform: rotate(21deg); } }
.pa-scroll { animation: pa-lead calc(var(--beat) * 4) linear, pa-scroll calc(var(--beat) * 16) linear calc(var(--beat) * 4) infinite; }
@keyframes pa-lead { from { transform: translateX(288px); } to { transform: none; } } /* the empty first bar */
@keyframes pa-scroll { to { transform: translateX(-1152px); } }
.pa-played { opacity: 0; animation: pa-played 1ms linear calc(var(--beat) * 20) forwards; }
@keyframes pa-played { to { opacity: 1; } }
/* a note flashes as it reaches the playback bar (each note's own start time is set in payanim.js) */
.pa-n { transform-box: fill-box; transform-origin: center; animation: pa-flash calc(var(--beat) * 16) linear infinite; }
@keyframes pa-flash {
  0% { transform: none; filter: none; }
  .01% { transform: scale(1.4); filter: brightness(1.7) drop-shadow(0 0 5px #ffe45c); }
  4.5%, 100% { transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) { .pa * { animation: none !important; } }
