:root{
  --ink:#1d211e;
  --cream:#f7f1e7;
  --paper:#fffaf2;
  --aged:#eadfcf;
  --gold:#a9894f;
  --green:#455f43;
  --moss:#5f735c;
  --rose:#c98185;
  --rose-deep:#b76a71;
  --line:rgba(70,56,38,.15);
  --shadow:0 24px 60px rgba(33,24,14,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201,129,133,.08), transparent 28%),
    linear-gradient(180deg,#fbf6ee 0%,#f3e8d7 54%,#f8f2e8 100%);
}
img{max-width:100%;display:block}
a,button{font:inherit}
button{cursor:pointer}

.intro-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#0f1714;
  transition:opacity .72s ease, visibility .72s ease;
}
.intro-overlay.hidden{opacity:0;visibility:hidden;pointer-events:none}
.skip-intro{
  position:absolute;right:22px;bottom:22px;z-index:5;
  border:1px solid rgba(255,250,242,.42);
  background:rgba(0,0,0,.35);
  color:#fffaf2;
  border-radius:999px;
  padding:10px 14px;
  font-family:"DM Mono",monospace;
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.fall-tunnel{
  position:absolute;
  inset:-20%;
  display:grid;
  place-items:center;
  transform-origin:center;
  animation:tunnelFall 4.25s cubic-bezier(.22,.68,.12,1) forwards;
}
.fall-tunnel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255,246,218,.94) 0 5%, rgba(255,246,218,.45) 6% 12%, transparent 13%),
    radial-gradient(ellipse at 50% 50%, transparent 0 15%, rgba(36,22,12,.55) 17% 23%, rgba(12,11,8,.92) 44%, #050504 78%);
  filter:blur(.6px);
}
.fall-tunnel::after{
  content:"";
  position:absolute;
  inset:-15%;
  background:
    repeating-radial-gradient(ellipse at 50% 50%, rgba(255,250,242,.12) 0 2px, transparent 3px 55px),
    radial-gradient(ellipse at 50% 50%, transparent 0 22%, rgba(0,0,0,.55) 62%, #000 100%);
  animation:ringRush 1.18s linear infinite;
  mix-blend-mode:screen;
  opacity:.72;
}
.tunnel-light{
  position:absolute;
  width:34vmin;height:34vmin;
  border-radius:50%;
  top:16%;left:50%;
  transform:translateX(-50%);
  background:radial-gradient(circle,#fff8d7 0 20%,rgba(255,247,207,.28) 42%,transparent 70%);
  animation:lightRecede 4.25s ease forwards;
}
.fall-debris,.fall-card{
  position:absolute;
  z-index:2;
  color:#f8eed7;
  opacity:.78;
  filter:blur(.2px);
}
.fall-debris{font-size:clamp(22px,5vw,54px);animation:debrisFall 4.25s ease forwards}
.d1{left:18%;top:14%;animation-delay:.1s}.d2{right:14%;top:20%;animation-delay:.24s}.d3{left:28%;bottom:22%;animation-delay:.4s}.d4{right:30%;bottom:14%;animation-delay:.62s}
.fall-card{
  width:82px;height:116px;
  border:1px solid rgba(255,250,242,.52);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(255,250,242,.18),rgba(255,250,242,.04));
  box-shadow:0 12px 30px rgba(0,0,0,.24);
  animation:cardFall 4.25s ease forwards;
}
.card-a{left:22%;top:32%;transform:rotate(-18deg)}
.card-b{right:20%;top:42%;transform:rotate(22deg);animation-delay:.18s}
.card-c{left:58%;bottom:14%;transform:rotate(8deg);animation-delay:.36s}
.intro-caption{
  position:absolute;z-index:4;
  left:50%;bottom:9%;
  transform:translateX(-50%);
  margin:0;
  color:#fffaf2;
  font-family:"DM Mono",monospace;
  font-size:12px;
  letter-spacing:.2em;
  text-align:center;
  text-transform:uppercase;
  text-shadow:0 2px 14px rgba(0,0,0,.7);
  animation:captionFade 4.25s ease forwards;
}
@keyframes tunnelFall{
  0%{transform:scale(.82) rotate(0deg);filter:blur(0)}
  50%{transform:scale(1.26) rotate(10deg);filter:blur(1px)}
  82%{transform:scale(1.82) rotate(-8deg);filter:blur(3px)}
  100%{transform:scale(2.28) rotate(0deg);filter:blur(8px)}
}
@keyframes ringRush{
  from{transform:scale(.78) rotate(0deg)}
  to{transform:scale(1.1) rotate(18deg)}
}
@keyframes lightRecede{
  0%{transform:translateX(-50%) scale(1.3);opacity:1}
  80%{transform:translateX(-50%) scale(.45);opacity:.55}
  100%{transform:translateX(-50%) scale(.12);opacity:0}
}
@keyframes debrisFall{
  0%{transform:translate3d(0,0,0) rotate(0deg) scale(.7);opacity:.2}
  40%{opacity:.75}
  100%{transform:translate3d(0,55vh,0) rotate(240deg) scale(1.6);opacity:0}
}
@keyframes cardFall{
  0%{opacity:0;filter:blur(3px)}
  25%{opacity:.75}
  100%{transform:translateY(58vh) rotate(160deg) scale(1.7);opacity:0;filter:blur(7px)}
}
@keyframes captionFade{
  0%,12%{opacity:0}
  28%,78%{opacity:1}
  100%{opacity:0}
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:200;
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:14px clamp(16px,4vw,54px);
  background:rgba(251,246,238,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.brand{
  text-decoration:none;color:var(--ink);font-size:30px;font-weight:700;line-height:1;cursor:pointer;
}
.site-header nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.site-header nav a,.site-header nav button{
  text-decoration:none;background:none;border:0;color:var(--ink);
  font-family:"DM Mono",monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;
}
.site-header nav button{background:var(--ink);color:var(--paper);padding:10px 14px;border-radius:999px}

/* Home hero */
main section{padding:clamp(44px,7vw,88px) clamp(16px,5vw,72px)}
.hero-clean{
  position:relative;
  min-height:calc(100vh - 70px);
  display:grid;
  align-items:center;
  justify-items:center;
  overflow:hidden;
  padding:clamp(48px,7vw,96px) clamp(16px,5vw,72px);
  background:#1d211e;
  color:var(--paper);
}
.hero-bg-art{
  position:absolute;inset:0;overflow:hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,238,189,.9) 0 7%, rgba(255,191,141,.3) 8% 18%, transparent 19%),
    linear-gradient(180deg,#344a5a 0%,#9b6e6f 43%,#d59e83 65%,#4a684d 66%,#1e2c20 100%);
}
.sky-orb{position:absolute;top:16%;left:50%;width:150px;height:150px;border-radius:50%;transform:translateX(-50%);background:radial-gradient(circle,#fff1c0 0 30%,rgba(255,241,192,.25) 62%,transparent 70%)}
.hero-stars{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 18% 16%, #fff8d8 0 1px, transparent 2px),
    radial-gradient(circle at 75% 22%, #fff8d8 0 1px, transparent 2px),
    radial-gradient(circle at 42% 11%, #fff8d8 0 1px, transparent 2px),
    radial-gradient(circle at 82% 39%, #fff8d8 0 1px, transparent 2px);
  opacity:.7;
}
.hero-hill{position:absolute;left:-8%;right:-8%;border-radius:50% 50% 0 0}
.hill-back{bottom:-8%;height:42%;background:linear-gradient(180deg,#698451,#29412f);transform:rotate(-2deg)}
.hill-front{bottom:-13%;height:38%;background:linear-gradient(180deg,#253b2b,#101813);transform:rotate(2deg)}
.hero-hole{
  position:absolute;left:50%;bottom:16%;width:min(44vw,520px);height:min(24vw,260px);
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at center,#020201 0 36%,#22150d 50%,#5f3d22 68%,rgba(95,61,34,.1) 76%,transparent 77%);
  box-shadow:inset 0 0 60px #000,0 0 50px rgba(0,0,0,.3);
}
.hero-shoe{
  position:absolute;bottom:31%;width:120px;height:54px;border:2px solid rgba(255,250,242,.84);border-radius:48% 52% 42% 42%;
  transform:rotate(-15deg);opacity:.8;
}
.hero-shoe::after{content:"";position:absolute;left:4px;right:4px;bottom:-8px;border-bottom:3px solid rgba(255,250,242,.82)}
.hero-shoe-a{left:16%}
.hero-shoe-b{right:17%;transform:rotate(13deg) scale(.92)}
.hero-overlay-content{
  position:relative;z-index:2;
  max-width:940px;
  text-align:center;
  padding:clamp(24px,5vw,54px);
  border:1px solid rgba(255,250,242,.28);
  background:rgba(18,20,17,.32);
  border-radius:34px;
  backdrop-filter:blur(4px);
  box-shadow:0 26px 80px rgba(0,0,0,.28);
}
.eyebrow{font-family:"DM Mono",monospace;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.hero-overlay-content .eyebrow{color:#f6df9f}
.hero-overlay-content h1{
  margin:10px 0 18px;
  font-size:clamp(58px,11vw,150px);
  line-height:.82;
  font-weight:600;
  color:#fffaf2;
  text-shadow:0 4px 30px rgba(0,0,0,.42);
}
.lede,.section-intro,.paper-card p,.reading-copy p,.mini-card p,.about-strip p{font-size:22px;line-height:1.45}
.hero-overlay-content .lede{max-width:850px;margin:0 auto 16px;color:#fff7e6}
.hero-overlay-content .small-lede{font-size:clamp(18px,2vw,24px)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.primary,.secondary,.paper-card a,.paper-card button,.next,.back,.copyBtn{
  min-height:48px;padding:12px 20px;border-radius:999px;border:1px solid var(--ink);
  display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer
}
.primary,.paper-card button,.next{background:var(--green);border-color:var(--green);color:var(--paper)}
.secondary,.back,.paper-card a,.copyBtn{background:rgba(255,250,242,.72);color:var(--ink)}
.slot-banner{
  display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;
  padding:9px 15px;margin:0 auto 16px;
  border:1px solid rgba(169,137,79,.4);
  border-radius:999px;background:rgba(255,250,242,.84);color:var(--green);
  font-family:"DM Mono",monospace;font-size:12px;letter-spacing:.13em;text-transform:uppercase;
}

/* Scrapbook sections */
.scrapbook-section{
  border-top:1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(180deg,rgba(255,250,242,.25),rgba(234,220,198,.18));
}
.center{text-align:center;display:block}
.paths h2,.shoe-guide h2,.work h2,.reading-overview h2{
  text-align:center;margin:10px auto 18px;max-width:950px;
  font-size:clamp(40px,5.6vw,74px);line-height:.92;font-weight:600;
}
.sole-main-card{
  width:min(1120px, calc(100% - 20px));
  margin:34px auto 30px;
  display:grid;grid-template-columns:minmax(280px, 430px) minmax(0, 1fr);gap:clamp(22px,4vw,48px);
  align-items:center;padding:clamp(20px,4vw,44px);
  border:1px solid rgba(169,137,79,.28);
  border-radius:34px;background:rgba(255,250,242,.9);box-shadow:var(--shadow);
}
.tape-card,.paper-note{position:relative}
.tape{
  position:absolute;z-index:5;width:120px;height:34px;background:rgba(231,210,169,.65);
  border:1px solid rgba(142,117,72,.18);box-shadow:0 4px 10px rgba(0,0,0,.07);
  backdrop-filter:blur(2px);
}
.tape-top{top:-15px;left:50%;transform:translateX(-50%) rotate(-3deg)}
.tape-bottom{bottom:-14px;left:50%;transform:translateX(-50%) rotate(2deg)}
.tape.small{width:96px;height:28px;top:-13px}
.scrapbook-card-wrap{
  position:relative;display:grid;place-items:center;min-height:500px;
  padding:20px;border-radius:26px;background:#eee0c7;
  transform:rotate(-1.3deg);box-shadow:0 18px 45px rgba(0,0,0,.14);
}
.scrapbook-card-wrap img{
  width:min(320px,74vw);max-height:455px;object-fit:contain;border-radius:16px;
  box-shadow:0 24px 42px rgba(0,0,0,.23);
}
.paper-note{
  background:rgba(255,250,242,.9);border:1px solid rgba(169,137,79,.24);border-radius:26px;
  padding:clamp(22px,4vw,36px);box-shadow:0 14px 34px rgba(33,24,14,.08);
}
.sole-main-copy h3{
  margin:0 0 16px;color:var(--green);font-size:clamp(52px,7vw,92px);line-height:.88;
}
.sole-main-copy p{font-size:clamp(20px,2.3vw,29px);line-height:1.35}
.sole-main-copy button{
  margin-top:10px;background:var(--green);color:var(--paper);border:1px solid var(--green);
  border-radius:999px;padding:14px 28px;font-family:"DM Mono",monospace;text-transform:uppercase;letter-spacing:.08em;
}
.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.secondary-paths{grid-template-columns:repeat(2, minmax(0, 1fr));max-width:920px;margin-inline:auto}
.paper-card{
  background:rgba(255,250,242,.9);border:1px solid rgba(169,137,79,.28);border-radius:26px;
  padding:18px;box-shadow:0 12px 30px rgba(35,27,19,.08);display:flex;flex-direction:column;gap:14px
}
.paper-image{aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#e7ddce}
.paper-image img{width:100%;height:100%;object-fit:cover}
.paper-card h3,.mini-card h3,.about-strip h3{font-size:34px;line-height:1.02;margin:0}
.paper-card p{font-size:20px;margin:0 0 4px;flex:1}
.reading-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.86fr);gap:22px;align-items:start}
.steps-list{display:grid;gap:10px;padding:0;margin:18px 0 24px;list-style:none}
.steps-list li{font-size:21px;background:rgba(255,250,242,.72);border:1px solid rgba(169,137,79,.2);padding:12px 16px;border-radius:18px}
.reading-demo{display:grid;gap:16px}
.mini-card{background:rgba(255,250,242,.9);border:1px solid rgba(169,137,79,.28);border-radius:24px;padding:18px;box-shadow:var(--shadow)}
.mini-tag{display:inline-block;margin-bottom:10px;font-family:"DM Mono",monospace;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.tarot-demo img{border-radius:18px;box-shadow:0 12px 30px rgba(33,24,14,.12);max-height:520px;object-fit:contain;margin:auto}
.shoe-guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:28px}
.guide-group{background:rgba(255,251,246,.88);border:1px solid rgba(169,137,79,.28);border-radius:28px;padding:20px;box-shadow:var(--shadow)}
.guide-group h3{font-size:34px;margin:0 0 6px}
.guide-group p{margin:0;font-size:18px;line-height:1.4}
.guide-list{display:grid;gap:12px;margin-top:14px}
.guide-item,.tier-card{
  border:1px solid rgba(169,137,79,.26);background:#fffaf2;border-radius:20px;padding:16px;
  display:grid;grid-template-columns:136px 1fr auto;gap:18px;align-items:center;
}
.shoe-sketch{width:136px;height:90px;display:grid;place-items:center;border-radius:18px;background:rgba(255,250,242,.58)}
.shoe-sketch svg{width:120px;height:76px}
.shoe-sketch path{fill:none;stroke:var(--ink);stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round}
.shoe-sketch .shoe-fill{fill:rgba(255,250,242,.62)}
.guide-item strong,.tier-card strong{display:block;font-size:clamp(23px,3vw,37px)}
.guide-item small,.tier-card small,.dsc-card small{display:block;font-family:"DM Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#7d6a4c;margin-top:5px;line-height:1.35}
.price-pill,.pill-price{font-family:"DM Mono",monospace;font-size:12px;background:#efe4d4;border-radius:999px;padding:7px 10px;white-space:nowrap}
.about-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.portfolio-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:28px}
.portfolio-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;border:1px solid rgba(169,137,79,.28);box-shadow:0 10px 25px rgba(0,0,0,.08)}
.site-footer{display:grid;grid-template-columns:1fr auto auto;gap:24px;align-items:start;padding:28px clamp(16px,5vw,72px) 36px;border-top:1px solid var(--line);background:linear-gradient(180deg,#526a4e,#3b4f3a);color:#f8f2e8}
.footer-brand{font-size:30px;font-weight:700}
.footer-links{display:grid;gap:8px}
.footer-links a{color:#f8f2e8;text-decoration:none;font-family:"DM Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase}

/* Quiz */
.quiz-app{display:none;min-height:100vh;background:linear-gradient(180deg,#fcf7ee,#eee0cb);padding:68px clamp(16px,4vw,60px)}
.quiz-app.active{display:block}
.quiz-shell{max-width:1080px;margin:0 auto}
.progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}
.progress span{height:5px;background:rgba(169,137,79,.24);border-radius:99px}
.progress span.done{background:var(--green)}
.screen{background:rgba(255,250,242,.92);border:1px solid rgba(169,137,79,.3);border-radius:30px;padding:clamp(18px,4vw,40px);box-shadow:var(--shadow)}
.qtag{font-family:"DM Mono",monospace;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-size:12px}
.qtitle{font-size:clamp(34px,6vw,68px);line-height:.94;font-weight:600;margin:12px 0 20px}
.qnote,.coverage-suggestion,.result-answer-note{font-size:18px;background:#f7ebd8;border-left:3px solid var(--gold);padding:12px 16px;border-radius:0 14px 14px 0;line-height:1.4}
.opts{display:grid;gap:14px}
.opts.images{grid-template-columns:repeat(2,1fr)}
.opts.images.cols3{grid-template-columns:repeat(4,1fr)}
.img-card,.txt-card,.tier-card,.dsc-card{position:relative;border:1px solid rgba(169,137,79,.28);background:#fffaf2;border-radius:24px;overflow:hidden;cursor:pointer;text-align:left;color:var(--ink);transition:.18s ease}
.img-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.img-card b{display:block;padding:13px 14px;font-size:18px}
.img-card.sel,.txt-card.sel,.tier-card.sel,.dsc-card.sel{outline:3px solid var(--green);transform:translateY(-2px);box-shadow:0 15px 35px rgba(32,77,53,.16)}
.txt-card,.dsc-card{padding:18px 20px;font-size:20px}
.field-grid{display:grid;gap:14px}
.field-grid label{font-size:18px}
.field-grid input,.field-grid textarea{width:100%;border:1px solid rgba(169,137,79,.45);background:white;border-radius:16px;padding:13px;font:16px "DM Mono",monospace;color:var(--ink)}
.field-grid textarea{min-height:100px}
.terms{background:white;border:1px solid rgba(169,137,79,.3);border-radius:18px;padding:18px;font-size:17px;line-height:1.45}
.navrow{display:flex;justify-content:space-between;gap:12px;margin-top:24px}
.next:disabled{opacity:.42;cursor:not-allowed}
.result-layout{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:28px;align-items:start}
.result-card img{width:100%;border-radius:20px;box-shadow:var(--shadow)}
.result-intro,.notice,.deposit-caption{font-size:17px;line-height:1.45;background:#f4e7d5;border:1px solid rgba(169,137,79,.22);border-radius:18px;padding:14px 16px;margin:0 0 16px}
.summary{display:grid;gap:8px;margin:18px 0}
.summary div{display:grid;grid-template-columns:170px 1fr;gap:10px;border-bottom:1px solid rgba(169,137,79,.18);padding:8px 0;font-size:17px}
.summary b{font-family:"DM Mono",monospace;font-size:11px;text-transform:uppercase;color:var(--gold);letter-spacing:.09em}
.deposit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}
.deposit-card{border:1px solid rgba(169,137,79,.28);background:#fffaf2;border-radius:20px;padding:16px}
.deposit-card.suggested{outline:3px solid var(--green)}
.deposit-card h4{font-size:24px;margin:0 0 8px}
.deposit-card p{font-size:15px;line-height:1.35}
.shopify-slot{min-height:48px}

@media(max-width:980px){
  .reading-overview,.about-strip,.result-layout,.sole-main-card{grid-template-columns:1fr}
  .path-grid,.secondary-paths,.shoe-guide-grid,.deposit-grid{grid-template-columns:1fr}
  .portfolio-grid{grid-template-columns:repeat(2,1fr)}
  .site-footer{grid-template-columns:1fr}
}
@media(max-width:820px){
  .site-header{align-items:flex-start;flex-direction:column;gap:8px}
  .site-header nav{display:none}
  .brand{font-size:clamp(32px,9vw,44px)}
  .opts.images,.opts.images.cols3{grid-template-columns:1fr}
  .guide-item,.tier-card{grid-template-columns:110px 1fr}
  .shoe-sketch{width:110px;height:78px}
  .shoe-sketch svg{width:98px;height:64px}
  .price-pill,.pill-price{grid-column:2;justify-self:start}
  .summary div{grid-template-columns:1fr}
  .scrapbook-card-wrap{min-height:390px}
}
@media(max-width:560px){
  .hero-clean{min-height:calc(100vh - 66px);padding:34px 14px}
  .hero-overlay-content{padding:22px 16px;border-radius:24px}
  .hero-hole{width:82vw;height:42vw;bottom:12%}
  .hero-shoe{display:none}
  .scrapbook-card-wrap img{width:min(286px,76vw)}
  .sole-main-card{width:100%;padding:18px;border-radius:24px}
  .slot-banner{font-size:10px}
}


/* --- Deeper fix pass: image-based intro + real shoe-hole hero --- */
.image-intro{
  background:#03110f;
}
.image-intro .fall-tunnel,
.image-intro .tunnel-light,
.image-intro .tunnel-rings,
.image-intro .fall-debris,
.image-intro .fall-card{
  display:none !important;
}
.intro-frame{
  position:absolute;
  inset:0;
  background-position:center center;
  background-size:cover;
  opacity:0;
  transform:scale(1.08);
  filter:blur(1.5px) saturate(.95) contrast(1.08);
  animation:introFrame 4.75s ease forwards;
}
.frame-1{background-image:url("assets/intro_jewel/fall_jewel_1.jpg");animation-delay:0s}
.frame-2{background-image:url("assets/intro_jewel/fall_jewel_2.jpg");animation-delay:.92s}
.frame-3{background-image:url("assets/intro_jewel/fall_jewel_3.jpg");animation-delay:1.86s}
.frame-4{background-image:url("assets/intro_jewel/fall_jewel_4.jpg");animation-delay:2.78s}
.intro-vignette{
  position:absolute;inset:0;z-index:2;
  background:
    radial-gradient(ellipse at center, transparent 0 46%, rgba(0,0,0,.38) 70%, rgba(0,0,0,.84) 100%),
    linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.45));
  pointer-events:none;
}
.intro-motion{
  position:absolute;inset:-12%;z-index:3;pointer-events:none;
  background:
    radial-gradient(ellipse at center, transparent 0 34%, rgba(255,255,255,.08) 38%, transparent 56%),
    repeating-radial-gradient(ellipse at center, rgba(255,255,255,.05) 0 1px, transparent 2px 42px);
  mix-blend-mode:screen;
  opacity:.55;
  animation:introRush 4.75s cubic-bezier(.22,.68,.14,1) forwards;
}
.image-intro .intro-caption{
  z-index:4;
  bottom:7%;
  width:min(84vw,640px);
  letter-spacing:.17em;
  text-shadow:0 2px 22px rgba(0,0,0,.9);
}
.image-intro .skip-intro{
  z-index:5;
  right:clamp(14px,4vw,28px);
  bottom:clamp(14px,4vw,28px);
}
@keyframes introFrame{
  0%{opacity:0;transform:scale(1.14) translateY(3%) rotate(-.6deg);filter:blur(5px) saturate(.9)}
  10%{opacity:1}
  58%{opacity:1;transform:scale(1.03) translateY(-1%) rotate(.2deg);filter:blur(.7px) saturate(1.05)}
  100%{opacity:0;transform:scale(1.3) translateY(-8%) rotate(.7deg);filter:blur(8px) saturate(.8)}
}
@keyframes introRush{
  0%{transform:scale(.8) rotate(0deg);opacity:.15}
  45%{opacity:.5}
  100%{transform:scale(1.55) rotate(8deg);opacity:.06}
}

.hero-clean{
  min-height:auto !important;
  display:block !important;
  background:linear-gradient(180deg,#fbf6ee,#efe2cf) !important;
  color:var(--ink) !important;
  padding:clamp(18px,4vw,38px) clamp(14px,5vw,66px) clamp(28px,5vw,54px) !important;
}
.hero-bg-art,
.sky-orb,
.hero-stars,
.hero-hill,
.hero-hole,
.hero-shoe{
  display:none !important;
}
.hero-image-card{
  position:relative;
  width:min(1080px,100%);
  margin:0 auto;
  aspect-ratio:3/1.45;
  min-height:240px;
  border-radius:clamp(20px,3vw,34px);
  overflow:hidden;
  box-shadow:0 28px 76px rgba(31,23,12,.28);
  border:1px solid rgba(169,137,79,.5);
  outline:6px solid #fffaf2;
  outline-offset:-6px;
  background:#101712;
}
/* washi tape accents on the hero corners for scrapbook personality */
.hero-image-card::before{
  content:"";
  position:absolute;
  z-index:3;
  top:-10px;left:38px;
  width:120px;height:34px;
  background:linear-gradient(135deg,rgba(176,138,62,.5),rgba(201,162,39,.32));
  border:1px solid rgba(255,255,255,.25);
  transform:rotate(-6deg);
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.hero-image-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-image-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.12), transparent 40%),
    linear-gradient(180deg,rgba(0,0,0,.22),transparent 35%,rgba(0,0,0,.12));
  pointer-events:none;
}
.hero-title-overlay{
  position:absolute;
  z-index:2;
  top:9%;
  left:50%;
  transform:translateX(-50%);
  width:min(72%,620px);
  text-align:center;
  color:#fffaf2;
  text-shadow:0 2px 18px rgba(0,0,0,.7),0 0 40px rgba(0,0,0,.4);
}
.hero-title-overlay p{
  margin:0 0 8px;
  font-family:"DM Mono",monospace;
  font-size:clamp(9px,1.6vw,12px);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#f5de9e;
}
.hero-title-overlay h1{
  margin:0;
  font-size:clamp(30px,6.2vw,76px);
  line-height:.9;
  font-weight:600;
  color:#fffaf2;
}
/* CTA buttons live below the image now, on parchment */
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin:22px auto 0;
  width:min(1080px,100%);
}
.brand-intro{
  padding-top:clamp(24px,5vw,56px);
}
.brand-note{
  max-width:980px;
  margin:0 auto;
  text-align:left;
}
.brand-note h2{
  margin:6px 0 14px;
  color:var(--green);
  font-size:clamp(44px,7vw,86px);
  line-height:.9;
}
.brand-note p{
  font-size:clamp(21px,2.6vw,30px);
  line-height:1.38;
}
@media(max-width:560px){
  .hero-image-card{
    aspect-ratio:3/2;
    min-height:0;
    border-radius:18px;
  }
  .hero-image-card img{
    object-position:center center;
  }
  .hero-title-overlay{
    inset:auto;
    top:7%;
    left:50%;
    transform:translateX(-50%);
    width:min(84%,420px);
  }
  .hero-title-overlay h1{
    font-size:clamp(24px,8.5vw,42px);
  }
}

/* Use actual uploaded shoe outline crops for model cards */
.guide-item.has-outline{
  grid-template-columns:190px 1fr auto;
}
.shoe-photo{
  width:190px;
  height:112px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(169,137,79,.22);
  overflow:hidden;
  display:grid;
  place-items:center;
}
.shoe-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:4px;
}
@media(max-width:820px){
  .guide-item.has-outline{
    grid-template-columns:145px 1fr;
  }
  .shoe-photo{
    width:145px;
    height:92px;
  }
  .guide-item.has-outline .price-pill{
    grid-column:2;
  }
}


/* --- TRUE icon purge + animation flow pass --- */

/* If any old sketch container somehow remains, hide it. */
.shoe-sketch{
  display:none !important;
}

/* Every actual shoe-option visual now uses an asset image. */
.guide-item.has-photo,
.tier-card.has-photo{
  grid-template-columns:220px minmax(0,1fr) auto !important;
  gap:22px !important;
  align-items:center !important;
}

.shoe-photo{
  width:220px !important;
  height:128px !important;
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid rgba(169,137,79,.22) !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.025) !important;
}

.shoe-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  padding:3px !important;
  mix-blend-mode:multiply;
}

/* Coverage cards should not have any icon/visual. */
.coverage-card,
.tier-card.no-visual{
  grid-template-columns:minmax(0,1fr) auto !important;
}

.coverage-card .pill-price,
.tier-card.no-visual .pill-price{
  justify-self:end;
}

/* Smooth actual falling intro: shorter, less screensaver, more cinematic crossfade. */
.image-intro{
  background:#03110f !important;
}
.image-intro .intro-frame{
  animation-duration:4.1s !important;
  animation-timing-function:cubic-bezier(.18,.72,.18,1) !important;
  filter:blur(1px) saturate(1.02) contrast(1.06) !important;
}
.image-intro .frame-1{animation-delay:0s !important}
.image-intro .frame-2{animation-delay:.62s !important}
.image-intro .frame-3{animation-delay:1.28s !important}
.image-intro .frame-4{animation-delay:1.94s !important}
.image-intro .intro-vignette{
  background:
    radial-gradient(ellipse at center, transparent 0 42%, rgba(0,0,0,.32) 68%, rgba(0,0,0,.88) 100%),
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.36)) !important;
}
.image-intro .intro-motion{
  opacity:.42 !important;
  animation-duration:4.1s !important;
}
@keyframes introFrame{
  0%{opacity:0;transform:scale(1.18) translateY(7%) rotate(-.8deg);filter:blur(6px) saturate(.95)}
  13%{opacity:1}
  54%{opacity:1;transform:scale(1.04) translateY(-1%) rotate(.2deg);filter:blur(.6px) saturate(1.08)}
  100%{opacity:0;transform:scale(1.34) translateY(-10%) rotate(.8deg);filter:blur(9px) saturate(.9)}
}
@keyframes introRush{
  0%{transform:scale(.72) rotate(0deg);opacity:.1}
  45%{opacity:.42}
  100%{transform:scale(1.72) rotate(7deg);opacity:0}
}
.intro-overlay.hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

@media(max-width:820px){
  .guide-item.has-photo,
  .tier-card.has-photo{
    grid-template-columns:160px minmax(0,1fr) !important;
    gap:14px !important;
  }
  .shoe-photo{
    width:160px !important;
    height:98px !important;
  }
  .guide-item.has-photo .price-pill,
  .tier-card.has-photo .pill-price,
  .coverage-card .pill-price,
  .tier-card.no-visual .pill-price{
    grid-column:2 !important;
    justify-self:start !important;
  }
  .coverage-card,
  .tier-card.no-visual{
    grid-template-columns:1fr !important;
  }
}
@media(max-width:560px){
  .guide-item.has-photo,
  .tier-card.has-photo{
    grid-template-columns:130px minmax(0,1fr) !important;
    gap:12px !important;
    padding:14px !important;
  }
  .shoe-photo{
    width:130px !important;
    height:86px !important;
    border-radius:14px !important;
  }
  .shoe-photo img{
    padding:2px !important;
  }
}


/* STABLE NO-INTRO PATCH removed — intro animation re-enabled */
body{
  overflow:auto !important;
}

/* Keep shoe visuals image-based and avoid old doodle sketches */
.shoe-sketch{display:none !important;}
.guide-item.has-photo,
.tier-card.has-photo{
  grid-template-columns:220px minmax(0,1fr) auto !important;
  gap:22px !important;
  align-items:center !important;
}
.shoe-photo{
  width:220px !important;
  height:128px !important;
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid rgba(169,137,79,.22) !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
}
.shoe-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  padding:3px !important;
  mix-blend-mode:multiply;
}
.coverage-card,
.tier-card.no-visual{
  grid-template-columns:minmax(0,1fr) auto !important;
}
@media(max-width:820px){
  .guide-item.has-photo,
  .tier-card.has-photo{
    grid-template-columns:160px minmax(0,1fr) !important;
    gap:14px !important;
  }
  .shoe-photo{
    width:160px !important;
    height:98px !important;
  }
  .guide-item.has-photo .price-pill,
  .tier-card.has-photo .pill-price,
  .coverage-card .pill-price{
    grid-column:2 !important;
    justify-self:start !important;
  }
}
@media(max-width:560px){
  .guide-item.has-photo,
  .tier-card.has-photo{
    grid-template-columns:130px minmax(0,1fr) !important;
    gap:12px !important;
    padding:14px !important;
  }
  .shoe-photo{
    width:130px !important;
    height:86px !important;
  }
}


/* ============================================================
   JEWEL-TONE PASS — recolor to emerald/sapphire/amethyst/gold
   on a warm cream base. Richer texture, more personality.
   ============================================================ */
:root{
  --ink:#241c2e;            /* deep aubergine-ink, softer than black */
  --cream:#f7f1e7;
  --paper:#fffaf2;
  --aged:#ece0cc;
}
:root{
  --gold:#b08a3e;
  --gold-bright:#d4af5a;
  --green:#1f6b4f;          /* richer emerald */
  --green-deep:#13503a;
  --moss:#3f6b54;
  --rose:#b0517a;           /* jewel berry-rose */
  --rose-deep:#8d2f5e;
  --sapphire:#274a8c;
  --amethyst:#6b3d8f;
  --ruby:#8e2342;
  --line:rgba(80,55,30,.17);
  --shadow:0 24px 60px rgba(40,24,40,.16);
}

/* Warm parchment base with faint jewel glows in corners */
body{
  background:
    radial-gradient(circle at 8% 6%, rgba(107,61,143,.07), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(39,74,140,.06), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(31,107,79,.07), transparent 40%),
    linear-gradient(180deg,#fbf6ee 0%,#f4ead9 55%,#f8f2e8 100%);
}

/* Gold gradient on the brand wordmark */
.brand{
  background:linear-gradient(120deg,var(--green-deep),var(--amethyst) 60%,var(--ruby));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}

/* Section headers get jewel gradient too */
.paths h2,.shoe-guide h2,.work h2,.reading-overview h2,
.brand-note h2,.sole-main-copy h3{
  background:linear-gradient(115deg,var(--green-deep),var(--sapphire) 55%,var(--amethyst));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}

/* Eyebrows + tags shift to antique gold */
.eyebrow,.qtag,.mini-tag,.summary b{color:var(--gold)!important}

/* Buttons: emerald primary with gold ring */
.primary,.paper-card button,.next,.sole-main-copy button{
  background:linear-gradient(160deg,var(--green),var(--green-deep))!important;
  border:1px solid var(--gold)!important;color:#fdf6e8!important;
  box-shadow:0 6px 18px rgba(19,80,58,.28);
}
.site-header nav button{
  background:linear-gradient(160deg,var(--amethyst),var(--rose-deep))!important;
  color:#fdf6e8!important;border:1px solid var(--gold)!important;
}

/* Slot banner: jewel accent */
.slot-banner{
  border:1px solid var(--gold)!important;
  background:linear-gradient(180deg,#fffaf2,#f6ecd9)!important;
  color:var(--green-deep)!important;
}

/* Cards get a subtle gold inner hairline + warmer paper */
.paper-note,.paper-card,.guide-group,.mini-card,.sole-main-card,
.screen,.deposit-card{
  border-color:rgba(176,138,62,.32)!important;
}

/* Selected quiz options: emerald outline already; deepen pop */
.img-card.sel,.txt-card.sel,.tier-card.sel,.dsc-card.sel{
  outline:3px solid var(--green)!important;
  box-shadow:0 15px 35px rgba(31,107,79,.22)!important;
}

/* Price pills: aged gold */
.price-pill,.pill-price{
  background:linear-gradient(180deg,#f3e6cf,#e7d4b0)!important;
  border:1px solid rgba(176,138,62,.4);color:#5a4420;
}

/* Footer: deep jewel gradient */
.site-footer{
  background:linear-gradient(135deg,var(--green-deep),var(--amethyst))!important;
  color:#f7eede!important;
}

/* Steps list + qnote: warm with jewel edge */
.qnote,.coverage-suggestion,.result-answer-note{
  border-left:3px solid var(--amethyst)!important;
}
.steps-list li{border-color:rgba(176,138,62,.26)!important}

/* Tarot/result card frame a touch richer */
.result-card img,.tarot-demo img,.scrapbook-card-wrap img{
  box-shadow:0 22px 44px rgba(40,24,40,.26)!important;
}

/* ============================================================
   FIVE-FRAME JEWEL FALL INTRO
   Deep tunnel -> reaching up -> light grows -> land
   Retuned for smooth mobile playback (~4.5s total)
   ============================================================ */
.image-intro{background:#0b0a14 !important}
.image-intro .frame-1{background-image:url("assets/intro_jewel/fall_jewel_1.jpg")!important;animation-delay:0s !important}
.image-intro .frame-2{background-image:url("assets/intro_jewel/fall_jewel_2.jpg")!important;animation-delay:.8s !important}
.image-intro .frame-3{background-image:url("assets/intro_jewel/fall_jewel_3.jpg")!important;animation-delay:1.6s !important}
.image-intro .frame-4{background-image:url("assets/intro_jewel/fall_jewel_4.jpg")!important;animation-delay:2.4s !important}
.image-intro .frame-5{background-image:url("assets/intro_jewel/fall_jewel_5.jpg")!important;animation-delay:3.2s !important}
.image-intro .intro-frame{
  animation-name:introFrameJewel !important;
  animation-duration:1.5s !important;
  animation-timing-function:cubic-bezier(.33,.66,.3,1) !important;
  animation-fill-mode:both !important;
  filter:saturate(1.08) contrast(1.04) !important;
}
/* last frame holds on screen (no fade) so it settles before the page reveal */
.image-intro .frame-5{
  animation-name:introFrameLast !important;
  animation-duration:1.3s !important;
}
.image-intro .intro-motion{opacity:.34 !important;animation-duration:4.6s !important}
.image-intro .intro-vignette{
  background:
    radial-gradient(ellipse at 50% 44%, transparent 0 40%, rgba(0,0,0,.28) 66%, rgba(7,5,12,.86) 100%),
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.32)) !important;
}
.intro-caption{
  color:#f5e6c2 !important;
  font-family:"DM Mono",monospace;
  font-size:clamp(11px,1.7vw,13px);
  letter-spacing:.22em;text-transform:uppercase;
  text-shadow:0 2px 22px rgba(0,0,0,.95);
  z-index:4;
}
/* Each frame fades in, holds briefly, fades out as the next takes over.
   Overlap is built in via the 0.8s stagger vs 1.5s duration. */
@keyframes introFrameJewel{
  0%{opacity:0;transform:scale(1.14);filter:blur(5px) saturate(1)}
  22%{opacity:1;filter:blur(.4px) saturate(1.1)}
  62%{opacity:1;transform:scale(1.04);filter:blur(.4px)}
  100%{opacity:0;transform:scale(1.3);filter:blur(6px) saturate(.95)}
}
@keyframes introFrameLast{
  0%{opacity:0;transform:scale(1.14);filter:blur(5px)}
  40%{opacity:1;filter:blur(0)}
  100%{opacity:1;transform:scale(1.0);filter:blur(0) saturate(1.1)}
}

/* Coverage icon cards (small/medium/full) on the deposit reveal */
.deposit-card .cov-icon{
  width:100%;aspect-ratio:1/1;max-height:120px;object-fit:contain;
  border-radius:14px;background:#fff;border:1px solid rgba(176,138,62,.28);
  margin-bottom:10px;padding:4px;mix-blend-mode:multiply;
}
.deposit-card.suggested{outline:3px solid var(--green)!important}


/* Custom checkout button (replaces Shopify widget for reliability) */
.rht-checkout-btn{
  width:100%;
  padding:13px 18px;
  border-radius:999px;
  border:1px solid var(--gold);
  background:linear-gradient(160deg,var(--green),var(--green-deep));
  color:#fdf6e8;
  font-family:"Cormorant Garamond",serif;
  font-weight:700;
  font-size:18px;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(19,80,58,.28);
  transition:transform .15s ease;
}
.rht-checkout-btn:active{transform:scale(.98)}

/* ============================================================
   HERO + HEADER POLISH (jewel / parchment / tape)
   ============================================================ */
/* Secondary CTA: parchment pill with gold ring */
.hero-actions .secondary{
  display:inline-block;
  padding:13px 26px;
  border-radius:999px;
  background:linear-gradient(180deg,#fffaf2,#f3e8d4);
  border:1px solid var(--gold);
  color:var(--green-deep);
  font-family:"Cormorant Garamond",serif;
  font-weight:700;
  font-size:18px;
  text-decoration:none;
  box-shadow:0 6px 16px rgba(40,24,40,.12);
}
.hero-actions .primary{
  padding:13px 30px;
  font-size:18px;
}

/* Header brand: a touch more presence + a faint gold underline flourish */
.site-header{
  background:linear-gradient(180deg,rgba(251,246,238,.96),rgba(248,242,232,.88)) !important;
  border-bottom:1px solid rgba(176,138,62,.3) !important;
}
.brand{
  font-family:"Cormorant Garamond",serif;
  font-weight:700;
  letter-spacing:.01em;
}
.site-header nav a{
  position:relative;
}
.site-header nav a:hover{
  color:var(--amethyst);
}

/* Mobile hero: taller crop ratio so the sky circle + shoes both read */
@media(max-width:640px){
  .hero-image-card{
    aspect-ratio:3/2;
    border-radius:18px;
    outline-width:5px;
    outline-offset:-5px;
  }
  .hero-image-card::before{
    width:84px;height:26px;left:24px;top:-8px;
  }
  .hero-title-overlay{
    width:min(84%,420px);
    top:7%;
  }
  .hero-title-overlay h1{
    font-size:clamp(24px,8.5vw,42px);
  }
  .hero-title-overlay p{
    font-size:9px;
  }
  .hero-actions{
    flex-direction:column;
    align-items:stretch;
    padding:0 6px;
  }
  .hero-actions .primary,
  .hero-actions .secondary{
    width:100%;
    text-align:center;
  }
}
