/* Seven Stone Dad — storefront styles */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --moss: #2F4A3B; --sage: #3E5C4B; --lichen: #8FA696; --ember: #F2A65A; --ember-deep: #D9822F;
  --stone: #E7E5DF; --chalk: #F6F5F1; --ink: #1C2621; --muted: #56625B; --line: #D3D0C7; --danger: #B4442E;
  --r-s: 10px; --r-m: 18px; --r-l: 28px;
  --wrap: 1180px; --pad: clamp(16px, 4vw, 40px);
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.3rem; --step-2: 1.65rem; --step-3: 2.15rem; --step-4: clamp(2.4rem, 5.4vw, 4.4rem); --step-5: clamp(2.8rem, 7.2vw, 6.2rem);
  color-scheme: light;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-old(root) { animation-name: vt-out; } ::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 var(--step-0)/1.6 "Archivo", system-ui, sans-serif; font-stretch: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 118%; font-weight: 820; line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--step-5); } h2 { font-size: var(--step-4); } h3 { font-size: var(--step-2); line-height: 1.12; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34em; color: var(--muted); }
.small { font-size: var(--step--1); color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--stone) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-stretch: 112%; font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; color: var(--moss); }
.brand svg { width: 26px; height: 38px; color: var(--moss); }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 560; color: var(--ink); }
.nav a:hover { background: var(--chalk); }
.nav a[aria-current="page"] { background: var(--chalk); }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; font: inherit; font-weight: 650; color: var(--ink); }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--stone); flex-direction: column; align-items: stretch; padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 1.1rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-stretch: 108%; text-decoration: none; cursor: pointer;
  background: var(--moss); color: #F7F6F1; border: 2px solid var(--moss); padding: 14px 24px; border-radius: 999px; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.ember { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.btn.ember:hover { background: #F5B676; border-color: #F5B676; box-shadow: 0 10px 30px -12px rgba(217,130,47,.7); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.small { padding: 9px 16px; font-size: .95rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* Hero: the cairn */
.hero { position: relative; background: radial-gradient(120% 90% at 78% 60%, #46664F 0%, var(--moss) 46%, #22362B 100%); color: #F2F1EB; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -42% 30%; height: 70%; background: radial-gradient(closest-side, rgba(242,166,90,.55), rgba(242,166,90,0)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: min(86vh, 820px); gap: 24px; }
.hero h1 { font-size: var(--step-5); max-width: 8.6em; margin-bottom: .32em; }
.hero h1 .num { font-stretch: 125%; color: var(--ember); }
.hero p.lede { color: #D2DBD3; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .proof { margin-top: 30px; display: flex; gap: 28px; flex-wrap: wrap; color: #BFCDC2; font-size: .95rem; }
.hero .proof b { display: block; color: #F2F1EB; font-size: 1.5rem; font-stretch: 120%; font-weight: 800; }
.cairn { position: relative; height: min(76vh, 700px); pointer-events: none; }
.cairn canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.cairn .fallback { position: absolute; inset: 12% 22%; color: #E7E5DF; opacity: .9; }
.cairn .fallback svg { width: 100%; height: 100%; }
.cairn.ready .fallback { display: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; padding-bottom: 8px; }
  .cairn { height: 340px; order: -1; margin: 0 -10px -30px; }
}

/* Sections */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.dark { background: var(--moss); color: #EFEEE8; }
.section.dark .lede, .section.dark .small { color: #C3CFC6; }
.section.chalk { background: var(--chalk); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* The morning: a real sequence of times */
.morning { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--moss); }
.morning li { padding: 22px 22px 0 0; position: relative; }
.morning li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--stone); border: 3px solid var(--moss); }
.morning li:last-child::before { background: var(--ember); border-color: var(--ember); }
.morning time { display: block; font-size: var(--step-3); font-weight: 820; font-stretch: 125%; color: var(--moss); line-height: 1; margin-bottom: 10px; }
.morning h3 { font-size: 1.15rem; margin-bottom: .35em; font-stretch: 105%; }
.morning p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .morning { grid-template-columns: 1fr 1fr; row-gap: 34px; } }
@media (max-width: 520px) { .morning { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--moss); padding-left: 22px; } .morning li { padding: 0 0 26px; } .morning li::before { left: -31px; top: 6px; } }

/* Story: before → after */
.journey { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 34px 0 10px; }
.journey .w { font-size: clamp(3rem, 9vw, 6.4rem); font-weight: 860; font-stretch: 125%; line-height: .9; letter-spacing: -.03em; }
.journey .w small { display: block; font-size: .95rem; letter-spacing: 0; font-weight: 600; font-stretch: 100%; color: #B9C7BD; margin-top: 8px; }
.journey .w.after { color: var(--ember); }
.journey .track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--moss), var(--ember)); position: relative; }
.journey .track::after { content: "−7 stone"; position: absolute; left: 50%; top: -34px; transform: translateX(-50%); font-weight: 750; font-stretch: 110%; color: #F2F1EB; white-space: nowrap; }
.quote { font-size: var(--step-2); line-height: 1.3; font-weight: 600; font-stretch: 104%; letter-spacing: -.01em; max-width: 26em; }
.quote cite { display: block; margin-top: 14px; font-size: 1rem; font-style: normal; color: var(--muted); font-weight: 500; }
.section.dark .quote cite { color: #B9C7BD; }

/* Products */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.product-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.cover { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); background: linear-gradient(160deg, #DAD7CE, #CFCBC0); display: grid; place-items: center; overflow: hidden;  }
.cover img { width: 62%; height: auto; border-radius: 4px; box-shadow: 0 2px 4px rgba(28,38,33,.12), 0 22px 40px -18px rgba(28,38,33,.45); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.product-card:hover .cover img, .product-card:focus-visible .cover img { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(28,38,33,.12), 0 30px 46px -18px rgba(28,38,33,.5); }
.cover .tag { position: absolute; top: 16px; left: 16px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.product-card .meta { padding: 18px 4px 0; }
.product-card h3 { font-size: 1.45rem; margin-bottom: .25em; }
.product-card p { color: var(--muted); margin-bottom: .6em; }
.price { font-weight: 800; font-stretch: 115%; font-size: 1.35rem; }
.price s { color: var(--muted); font-weight: 500; font-size: 1rem; margin-left: 8px; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.pdp .cover { position: sticky; top: 92px; }
.pdp h1 { font-size: var(--step-4); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--moss) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.5 10.5l3 3 6-7" fill="none" stroke="%23F2A65A" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/100% no-repeat; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp .cover { position: relative; top: 0; aspect-ratio: 5 / 4; } .pdp .cover img { width: 40%; } }

/* Buy box and forms */
.panel { background: var(--chalk); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 var(--line); }
.buybox .price { font-size: 2.2rem; }
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: .97rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(47,74,59,.14); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 450; font-size: .95rem; line-height: 1.45; margin: 14px 0; align-items: start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--moss); }
.bump { border: 2px dashed var(--ember); background: #FFF6EC; border-radius: var(--r-m); padding: 14px 16px; margin: 18px 0 6px; }
.bump .check { margin: 0; }
.bump b { font-stretch: 108%; }
.pay-choices { display: grid; gap: 10px; margin-top: 18px; }
.pay-choices .btn { width: 100%; }
.pay-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .88rem; margin-top: 12px; }
.err { color: var(--danger); font-weight: 600; font-size: .95rem; min-height: 1.4em; margin-top: 8px; }
.ok-msg { color: var(--moss); font-weight: 650; }
.code-row { display: flex; gap: 8px; } .code-row input { flex: 1; } .code-row .btn { padding: 0 16px; }
details.more summary { cursor: pointer; color: var(--muted); font-weight: 600; margin-top: 14px; }

/* Free guide band */
.lead-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lead-band .cover { aspect-ratio: auto; background: none;  }
.lead-band .cover img { width: min(72%, 320px); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 18px; }
.lead-form input { padding: 15px 16px; }
@media (max-width: 860px) { .lead-band { grid-template-columns: 1fr; } .lead-form { grid-template-columns: 1fr; } .lead-band .cover img { width: 46%; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--moss); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 46em; }

/* Order / account */
.state { text-align: center; padding: clamp(48px, 8vw, 96px) 0; max-width: 720px; margin: 0 auto; }
.state .seal { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--moss); display: grid; place-items: center; color: var(--ember); }
.state .seal svg { width: 40px; height: 40px; }
.dl-list { display: grid; gap: 14px; margin: 28px 0; text-align: left; }
.dl { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; background: var(--chalk); border-radius: var(--r-m); padding: 14px; }
.dl img { width: 64px; border-radius: 3px 6px 6px 3px; box-shadow: 6px 8px 16px -8px rgba(0,0,0,.4); }
.dl b { display: block; font-stretch: 108%; }
@media (max-width: 560px) { .dl { grid-template-columns: 52px 1fr; } .dl .btn { grid-column: 1 / -1; } .dl img { width: 52px; } }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .85rem; color: var(--muted); font-weight: 650; }
.prose { max-width: 720px; } .prose h2 { font-size: var(--step-2); margin-top: 1.6em; } .prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }

/* Footer */
.site-foot { background: var(--ink); color: #C9D1CB; padding: 64px 0 40px; font-size: .95rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-foot a { color: #EDEDE7; text-decoration: none; } .site-foot a:hover { text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot h4 { color: #fff; font-stretch: 110%; margin: 0 0 14px; font-size: 1rem; }
.site-foot .brand { color: #F2F1EB; } .site-foot .brand svg { color: #F2F1EB; }
.site-foot .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid #33413A; font-size: .85rem; color: #98A49C; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* One orchestrated reveal for the hero copy; everything else stays still. */
.hero .reveal { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .reveal:nth-child(2) { animation-delay: .12s; } .hero .reveal:nth-child(3) { animation-delay: .24s; } .hero .reveal:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; opacity: 0; transition: .25s; z-index: 60; }
.toast.show { opacity: 1; transform: translateX(-50%); }

.feature .cover { background: linear-gradient(160deg, #DAD7CE, #CFCBC0); border-radius: var(--r-l); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.feature .cover img { width: 52%; }
.feature .cover:hover img { transform: translateY(-6px); }
.row-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.row-cta .price { font-size: 2rem; }
@media (max-width: 860px) { .feature .cover { aspect-ratio: 4 / 3; } .feature .cover img { width: 34%; } }
.sticky-buy { display: none; }
@media (max-width: 900px) { .sticky-buy { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 12px 30px -10px rgba(28,38,33,.5); } .pdp { padding-bottom: 110px; } }
.buybox { scroll-margin-top: 84px; }
.sticky-buy { transition: opacity .2s, transform .2s; }
.sticky-buy.away { opacity: 0; transform: translateY(12px); pointer-events: none; }
