:root {
  color-scheme: light;
  --store-ink: #173c2b;
  --store-green: #24543a;
  --store-leaf: #6b8860;
  --store-paper: #fbf9f0;
  --store-line: rgba(23, 60, 43, .16);
  --store-muted: #68766d;
}

* { box-sizing: border-box; }

body.gv-storefront-page {
  margin: 0;
  background: var(--store-paper);
  color: var(--store-ink);
  font-family: Inter, Arial, sans-serif;
}

.gv-skip {
  position: absolute;
  left: -10000px;
  top: 8px;
  z-index: 2000;
  padding: 10px 14px;
  background: #fff;
  color: var(--store-ink);
}

.gv-skip:focus { left: 8px; }

.store-hero {
  padding: clamp(72px, 11vw, 142px) max(7vw, calc((100vw - 1200px) / 2)) clamp(70px, 9vw, 112px);
  background: #f3f1e5;
}

.store-eyebrow {
  margin: 0;
  color: var(--store-leaf);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.store-hero h1 {
  max-width: 920px;
  margin: 22px 0;
  font: 500 clamp(54px, 8.2vw, 112px)/.93 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.035em;
}

.store-hero h1 em,
.store-about h2 em { color: var(--store-leaf); font-weight: 400; }

.store-lede {
  max-width: 560px;
  margin: 0;
  color: var(--store-muted);
  font-size: 15px;
  line-height: 1.8;
}

.store-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.store-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--store-green);
  border-radius: 2px;
  color: var(--store-green);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.store-button:hover { background: #e9eee4; }
.store-button--primary { background: var(--store-green); color: #fff; }
.store-button--primary:hover { background: #173c2b; color: #fff; }
.store-button:disabled { cursor: not-allowed; opacity: .6; }

.store-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 28px;
}

.store-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.store-section-heading h2,
.store-about h2 {
  margin: 8px 0 0;
  font: 500 clamp(34px, 4.7vw, 56px)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.025em;
}

.store-section-heading > a,
.store-text-link {
  color: var(--store-green);
  font-size: 12px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.collection-card {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--store-line);
  background: #fffef9;
  color: var(--store-ink);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}

.collection-card:hover { border-color: var(--store-leaf); transform: translateY(-2px); }
.collection-card > span { color: var(--store-leaf); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.collection-card h3 { margin: 24px 0 8px; font: 500 26px/1 "Cormorant Garamond", Georgia, serif; }
.collection-card p { margin: 0; color: var(--store-muted); font-size: 12px; line-height: 1.65; }

.store-featured { border-top: 1px solid var(--store-line); }
.store-book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.store-book-card { min-width: 0; }
.store-book-card > a { display: block; color: inherit; text-decoration: none; }
.store-book-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #eeece1;
}

.store-book-series {
  display: block;
  margin-top: 13px;
  color: var(--store-leaf);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.store-book-card h3 { margin: 6px 0; font: 500 23px/1.05 "Cormorant Garamond", Georgia, serif; }
.store-book-question { margin: 0; color: var(--store-muted); font-size: 11px; line-height: 1.6; }
.store-book-price { margin: 8px 0 0; color: var(--store-green); font-size: 12px; font-weight: 600; }
.store-book-price[data-status="error"] { color: #9a3325; }
.store-book-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.store-book-actions .store-button { min-height: 36px; padding: 8px 10px; font-size: 10px; }

.store-about {
  padding: clamp(56px, 8vw, 94px) max(7vw, calc((100vw - 980px) / 2));
  background: #e9eee4;
}

.store-about h2 { max-width: 820px; }
.store-about > p:not(.store-eyebrow) { max-width: 700px; margin: 20px 0; color: #56685d; font-size: 13px; line-height: 1.85; }

.store-loading,.store-status { grid-column: 1 / -1; color: var(--store-muted); font-size: 13px; line-height: 1.6; }
.store-status[data-status="error"] { color: #9a3325; }

.store-library-tools { margin: 0 0 24px; }
.store-library-tools input {
  width: min(100%, 460px);
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--store-line);
  border-radius: 2px;
  background: #fffef9;
  color: var(--store-ink);
  font: inherit;
  font-size: 13px;
}

.store-collection-group { margin: 30px 0 56px; }
.store-collection-group > h2 { margin: 0 0 20px; font: 500 34px/1 "Cormorant Garamond", Georgia, serif; }
.store-cart-list { display: grid; gap: 14px; }
.store-cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--store-line);
  background: #fffef9;
}
.store-cart-item img { width: 76px; aspect-ratio: 2 / 3; object-fit: cover; background: #eeece1; }
.store-cart-item h2 { margin: 0; font: 500 22px/1.1 "Cormorant Garamond", Georgia, serif; }
.store-cart-item p { margin: 5px 0; color: var(--store-muted); font-size: 11px; }
.store-cart-item .store-button { min-height: 36px; padding: 8px 10px; }
.store-cart-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.store-cart-note { margin: 20px 0; color: var(--store-muted); font-size: 12px; line-height: 1.7; }

.store-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.store-product-price { margin: 0; color: var(--store-green); font-size: 18px; font-weight: 600; }
.about-house { background: #fbf9f0; }
.about-official-logo {
  display: block;
  width: min(190px, 42vw);
  height: auto;
  margin: 0 0 34px;
  object-fit: contain;
  object-position: center;
  background: #f8f5e7;
}
.about-house h1,.founder-profile h1 {
  max-width: 860px;
  margin: 12px 0 22px;
  font: 500 clamp(48px, 7vw, 86px)/.95 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.03em;
}
.about-house h1 em,.founder-profile h1 em { color: var(--store-leaf); font-weight: 400; }
.about-house > p:not(.store-eyebrow) { max-width: 760px; color: var(--store-muted); font-size: 14px; line-height: 1.85; }
.about-house .store-text-link { display: inline-block; margin-top: 8px; }
.about-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.about-principles article { padding: 22px; border: 1px solid var(--store-line); background: #fffef9; }
.about-principles h3 { margin: 0 0 10px; font: 500 25px/1 "Cormorant Garamond", Georgia, serif; }
.about-principles p,.about-founder-link { margin: 0; color: var(--store-muted); font-size: 12px; line-height: 1.7; }
.about-founder-link { margin-top: 24px; }
.about-founder-link a { color: var(--store-green); }
.founder-profile {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 8vw, 100px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) max(7vw, calc((100vw - 1100px) / 2));
  background: #f3f1e5;
}
.founder-profile-photo { max-width: 370px; }
.founder-profile-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.founder-role-line { margin: 0 0 22px; color: var(--store-leaf); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.founder-contribution > p:not(.store-eyebrow) { max-width: 700px; color: var(--store-muted); font-size: 13px; line-height: 1.85; }
.legal-copy { max-width: 900px; }
.legal-copy h2 { margin: 34px 0 9px; font: 500 29px/1.1 "Cormorant Garamond", Georgia, serif; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--store-muted); font-size: 13px; line-height: 1.8; }
.legal-copy a { color: var(--store-green); }
.store-product-actions { flex-basis: 100%; }
.store-product-price[data-status="error"] { color: #9a3325; }

html[data-theme="dark"] {
  color-scheme: dark;
  --store-ink: #edf2e8;
  --store-green: #a4c39f;
  --store-leaf: #a4c39f;
  --store-paper: #101b15;
  --store-line: rgba(222, 235, 219, .18);
  --store-muted: #bec9bd;
}

html[data-theme="dark"] body.gv-storefront-page { background: #101b15; }
html[data-theme="dark"] .store-hero,
html[data-theme="dark"] .store-about { background: #18271d; }
html[data-theme="dark"] .collection-card,
html[data-theme="dark"] .store-cart-item { background: #1a2c20; color: var(--store-ink); }
html[data-theme="dark"] .store-book-cover,
html[data-theme="dark"] .store-cart-item img { background: #23362a; }
html[data-theme="dark"] .store-about > p:not(.store-eyebrow) { color: #c3cec2; }
html[data-theme="dark"] .store-library-tools input { background: #1a2c20; color: var(--store-ink); }
html[data-theme="dark"] .store-button { color: var(--store-ink); border-color: #789878; }
html[data-theme="dark"] .store-button--primary { background: #527b59; color: #fff; }
html[data-theme="dark"] .store-button--primary:hover { background: #42664a; }
html[data-theme="dark"] .about-principles article { background: #1a2c20; }
html[data-theme="dark"] .founder-profile { background: #18271d; }
html[data-theme="dark"] .about-founder-link a,html[data-theme="dark"] .legal-copy a { color: #b5d2ad; }
html[data-theme="dark"] .store-product-price[data-status="error"] { color: #ffb4a9; }
html[data-theme="dark"] .store-book-price[data-status="error"] { color: #ffb4a9; }

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .store-hero { padding: 72px 22px 66px; }
  .store-hero h1 { font-size: clamp(49px, 14vw, 68px); }
  .store-section { padding: 54px 20px; }
  .store-section-heading { align-items: flex-start; flex-direction: column; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 148px; }
  .collection-card h3 { margin-top: 16px; }
  .store-book-grid { gap: 20px 12px; }
  .store-book-card h3 { font-size: 21px; }
  .store-about { padding: 56px 22px; }
  .about-principles { grid-template-columns: 1fr; }
  .founder-profile { grid-template-columns: 1fr; padding: 56px 22px; }
  .founder-profile-photo { width: min(72%, 320px); margin: auto; }
  .store-cart-item { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
  .store-cart-item img { width: 58px; }
  .store-cart-actions { grid-column: 1 / -1; }
}
