/* Lines & Matter growth layer: shop-first homepage, trust lines, email sign-up,
   phone product order. Applied on top of the live package by apply_growth.py. */
:root{--growth-green:#264a3c;--growth-green-ink:#17231f;--growth-paper:#fbfaf5;--growth-line:#d9dccf;--growth-muted:#5b665f;--growth-soft:#eef2e8}

/* Homepage: products before field guides */
.growth-maker{margin:14px 0 0;max-width:46ch;font:italic 16px/1.5 Georgia,"Times New Roman",serif;color:var(--growth-muted)}
.growth-new{margin:8px auto 56px;max-width:1180px;padding:0 24px}
.growth-new-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:8px 24px;margin-bottom:18px}
.growth-new-head h2{margin:4px 0 0;font:400 clamp(28px,4vw,38px)/1.15 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-new-head p{margin:6px 0 0;color:var(--growth-muted);max-width:60ch}
.growth-new-head a{color:var(--growth-green);font-weight:600}
.growth-volumes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
@media(max-width:900px){.growth-volumes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.growth-volumes{grid-template-columns:minmax(0,1fr)}}
.growth-volume{display:flex;flex-direction:column;background:var(--growth-paper);border:1px solid var(--growth-line);border-radius:6px;overflow:hidden}
.growth-volume a.growth-volume-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.growth-volume img{display:block;width:100%;height:230px;max-height:230px;object-fit:contain;padding:14px 14px 0;box-sizing:border-box;background:var(--growth-soft)}
.growth-volume-body{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px;flex:1}
.growth-volume h3{margin:0;font:400 23px/1.2 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-volume-meta{font-size:13px;color:var(--growth-muted)}
.growth-volume-price{margin-top:auto;padding-top:10px;display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-weight:600;color:var(--growth-green)}
.growth-volume-price span:last-child{font-size:14px}
.growth-volume a.growth-volume-link:hover h3,.growth-volume a.growth-volume-link:focus-visible h3{text-decoration:underline}
.growth-volume a.growth-volume-link:focus-visible{outline:3px solid var(--growth-green);outline-offset:-3px}

/* Email sign-up */
.growth-signup-band{margin:48px auto;max-width:1180px;padding:0 24px}
.growth-signup-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 40px;align-items:center;padding:28px;background:var(--growth-soft);border:1px solid var(--growth-line);border-radius:6px}
.growth-signup-inner h2{margin:0;font:400 clamp(24px,3.4vw,32px)/1.2 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-signup-inner > div > p{margin:8px 0 0;color:var(--growth-muted)}
.growth-signup{display:grid;gap:8px}
.growth-signup label{font-weight:600;font-size:14px;color:var(--growth-green-ink)}
.growth-signup-row{display:flex;gap:8px;flex-wrap:wrap}
.growth-signup input[type=email]{flex:1 1 220px;min-height:44px;padding:8px 12px;border:1px solid #9aa79c;border-radius:4px;font:inherit;background:#fff;color:var(--growth-green-ink)}
.growth-signup button{min-height:44px;padding:8px 18px;border:0;border-radius:4px;background:var(--growth-green);color:#fff;font:600 15px/1.2 system-ui,sans-serif;cursor:pointer}
.growth-signup button:focus-visible,.growth-signup input:focus-visible{outline:3px solid #8fb39b;outline-offset:2px}
.growth-signup-note{margin:0;font-size:12.5px;line-height:1.45;color:var(--growth-muted)}
.growth-signup-note a{color:inherit}
.growth-signup-status{margin:0;font-weight:600;color:var(--growth-green)}
.growth-signup-status[data-state=error]{color:#9b2c22}
.growth-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Product pages */
.growth-assurance{display:grid;gap:6px;margin:2px 0 0;padding:0;list-style:none;font-size:13px;line-height:1.45;color:var(--growth-green-ink)}
.growth-assurance li{display:flex;gap:7px}
.growth-assurance li::before{content:"✓";color:var(--growth-green);font-weight:700}
.growth-product-maker{margin:4px 0 18px;font:italic 14px/1.5 Georgia,"Times New Roman",serif;color:var(--growth-muted)}
.growth-product-maker a{color:inherit}

/* Pay-first checkout: sign-in form folded behind one link */
.checkout-page.growth-guest #account-auth-panel{display:none!important}
.growth-guest-signin{display:block;margin:14px 0 0;padding:0;border:0;background:none;color:var(--growth-green);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.growth-guest-signin:focus-visible{outline:2px solid var(--growth-green);outline-offset:3px}

/* Species in the chosen pack, right under the pack buttons */
.growth-set-species{margin:8px 0 2px;font-size:13.5px;line-height:1.45;color:var(--growth-green-ink)}
.growth-set-species summary{cursor:pointer;font-weight:600;color:var(--growth-green);list-style-position:outside}
.growth-set-species summary:focus-visible{outline:2px solid var(--growth-green);outline-offset:2px}
.growth-set-species ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:8px 0 0;padding:0;list-style:none}
.growth-set-species li{min-width:0}
.growth-set-species li span{display:block}
.growth-set-species li em{display:block;font-size:12px;color:var(--growth-muted)}

/* Shop: price on the card, unreleased volumes marked as coming soon */
.growth-from{font-weight:600;color:var(--growth-green)}
.growth-soon .shop-sheet-preview,.growth-soon .shop-product-visual img{filter:grayscale(.35);opacity:.85}
.growth-soon-badge{display:inline-block;align-self:flex-start;justify-self:start;width:auto;max-width:max-content;margin-top:2px;padding:1px 8px;border-radius:99px;background:#ece6d6;color:#6b5a2e;font:600 11px/1.6 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase}
.growth-planned .growth-signup{max-width:520px;margin-top:14px}

/* Volume pages (proposal): one page per volume */
.growth-volume-page{max-width:1180px;margin:0 auto;padding:18px 24px 40px}
.growth-volume-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px;align-items:center;margin:14px 0 30px}
.growth-volume-hero h1{margin:6px 0 10px;font:400 clamp(36px,5vw,56px)/1.05 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-volume-lede{margin:0;font:18px/1.5 Georgia,"Times New Roman",serif;color:var(--growth-green-ink);max-width:52ch}
.growth-volume-hero .growth-assurance{margin-top:14px;font-size:14px}
.growth-volume-hero img{width:100%;height:auto;max-height:420px;object-fit:contain;background:var(--growth-soft);border:1px solid var(--growth-line);border-radius:6px;padding:12px;box-sizing:border-box}
.growth-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:36px}
.growth-type{display:flex;flex-direction:column;gap:6px;padding:18px;background:var(--growth-paper);border:1px solid var(--growth-line);border-radius:6px;min-width:0}
.growth-type h2{margin:0;font:400 24px/1.2 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-type-price{margin:0;font-weight:700;color:var(--growth-green)}
.growth-type p{margin:0;font-size:14px;line-height:1.5;color:var(--growth-muted)}
.growth-editions{display:grid;gap:6px;margin-top:8px}
.growth-editions a{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid var(--growth-line);border-radius:4px;background:#fff;color:var(--growth-green-ink);text-decoration:none;font-size:14px}
.growth-editions a:hover,.growth-editions a:focus-visible{border-color:var(--growth-green);outline:none}
.growth-editions a span:last-child{font-weight:700;color:var(--growth-green)}
.growth-volume-species h2{margin:0 0 4px;font:400 30px/1.2 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-volume-species h3{margin:18px 0 8px;font:600 13px/1 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--growth-muted)}
.growth-species{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px 18px;margin:0;padding:0;list-style:none}
.growth-species li{min-width:0}
.growth-species a,.growth-species li>span{display:block}
.growth-species a{color:inherit;text-decoration:none}
.growth-species a:hover span,.growth-species a:focus-visible span{text-decoration:underline}
.growth-species span{display:block;font:16px/1.3 Georgia,"Times New Roman",serif;color:var(--growth-green-ink)}
.growth-species em{display:block;font-size:13px;color:var(--growth-muted)}
@media(max-width:900px){.growth-types{grid-template-columns:minmax(0,1fr)}.growth-volume-hero{grid-template-columns:minmax(0,1fr)}.growth-volume-hero img{max-height:320px}}

/* Phones: title, then the pictures, then pack choice and Buy */
@media(max-width:760px){
  .product-overview > .product-heading{display:contents}
  .product-overview > .product-heading > *{order:1}
  .product-overview > .product-gallery{order:2}
  .product-overview > .product-heading > .product-pack-choice,
  .product-overview > .product-heading > .product-availability,
  .product-overview > .product-heading > .growth-product-maker{order:3}
  .product-overview > .product-summary{order:4}
  .growth-signup-inner{grid-template-columns:minmax(0,1fr);padding:22px 18px}
  .growth-new,.growth-signup-band{padding:0 16px}
}
@media(prefers-reduced-motion:reduce){.growth-volume *{transition:none!important}}
