/* landing: thecocoonmethod.life/tarot */

/* site header (her main site chrome, kept) */
.sitehead { position: sticky; top: 0; z-index: 40; background: var(--sand); border-bottom: 1px solid var(--line); }
.sitehead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.sitehead .l, .sitehead .r { display: flex; align-items: center; gap: 4px; }
.sitehead .r { justify-content: flex-end; }
.sitehead .iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; margin-left: -10px; }
.sitehead .r .iconbtn { margin: 0; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 13px/1 var(--sans); letter-spacing: .3em; }
.mark img { width: 22px; height: auto; }
.begin { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 11px 14px; box-shadow: inset 0 0 0 1px rgba(58, 58, 56, .35); border-radius: 2px; min-height: 40px; display: inline-flex; align-items: center; }
.sitenav { display: none; }
@media (min-width: 960px) {
  .sitehead .wrap { height: 76px; }
  .sitenav { display: flex; gap: 22px; margin-left: 12px; }
  .sitenav a, .menu-word { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
  .sitenav a:hover { color: var(--rose); }
  .mark { flex-direction: column; gap: 6px; font-size: 11px; }
  .mark img { width: 26px; }
}
.menu-word { display: none; }
@media (min-width: 960px) { .menu-word { display: inline; } .sitehead .iconbtn--menu { width: auto; gap: 10px; display: inline-flex; padding: 0 8px; border-radius: 4px; } }

/* drawer */
.drawer { border: 0; margin: 0; padding: 0; width: min(86vw, 360px); height: 100%; max-height: none; background: var(--paper); color: var(--ink); }
.drawer::backdrop { background: rgba(40, 30, 26, .45); }
.drawer[open] { animation: drawer .4s var(--ease); }
@keyframes drawer { from { transform: translateX(-100%); } to { transform: none; } }
.drawer nav { display: grid; padding: 72px 28px 28px; }
.drawer nav a { font: 340 var(--t-xl)/1.2 var(--serif); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer nav a[aria-current] { font-style: italic; color: var(--rose); }
.drawer .sheet-x { top: 14px; right: 14px; }

/* hero */
.hero { padding: 12px 0 40px; }
.hero .wrap { display: grid; gap: 20px; }
.arch { position: relative; margin: 0; }
.arch-img { border-radius: 999px 999px 14px 14px; overflow: hidden; height: min(44svh, 400px); background: var(--rose-tint); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-fan { position: absolute; right: -4px; bottom: -22px; width: 168px; height: 130px; }
.hero-fan .tcard { position: absolute; bottom: 0; width: 66px; transform-origin: 50% 110%; animation: fan-in 1.1s var(--ease) both .35s; }
.hero-fan .tcard:nth-child(1) { left: 0; --r0: -16deg; }
.hero-fan .tcard:nth-child(2) { left: 46px; --r0: -2deg; z-index: 2; animation-delay: .45s; }
.hero-fan .tcard:nth-child(3) { left: 92px; --r0: 12deg; animation-delay: .55s; }
.hero-fan .tcard { transform: rotate(var(--r0)); }
@keyframes fan-in { from { transform: rotate(0deg) translateY(18px); opacity: 0; } to { transform: rotate(var(--r0)); opacity: 1; } }
.hero-text { padding-top: 18px; }
.hero h1 { font-size: var(--t-3xl); margin: 8px 0 0; }
.hero-lede { display: none; }
.hero-cta { display: grid; gap: 14px; justify-items: start; margin-top: 4px; }
.hero-cta .btn { width: 100%; }
.hero-price { font-size: var(--t-s); color: var(--muted); }
.hero-price a { color: var(--ink); }
@media (min-width: 760px) {
  .hero { padding: 48px 0 88px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero .arch { order: 2; }
  .hero-text { padding-top: 0; }
  .arch-img { height: min(70svh, 620px); }
  .hero-fan { width: 230px; height: 180px; left: -60px; right: auto; bottom: -30px; }
  .hero-fan .tcard { width: 92px; }
  .hero-fan .tcard:nth-child(2) { left: 64px; }
  .hero-fan .tcard:nth-child(3) { left: 128px; }
  .hero h1 { font-size: clamp(3.2rem, 5.4vw, 4.6rem); }
  .hero-lede { display: block; margin: 24px 0 8px; font-size: var(--t-l); line-height: 1.5; color: var(--muted); max-width: 32ch; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { width: auto; }
}

/* sections */
.sec { padding: 72px 0; }
@media (min-width: 760px) { .sec { padding: 120px 0; } }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: var(--t-2xl); margin-top: 14px; }
.sec-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
@media (min-width: 760px) { .sec-head h2 { font-size: var(--t-4xl); } }

/* today */
.today { background: linear-gradient(172deg, var(--rose-tint), var(--sage-tint) 70%); }
.today .draw { gap: 0; }
.today-intro { max-width: 520px; margin-bottom: 28px; }
.today-intro h2 { font-size: var(--t-2xl); margin: 14px 0 14px; }
.today-intro p:not(.eyebrow) { color: var(--muted); }
@media (min-width: 960px) {
  .today .draw { grid-template-columns: 320px 1fr; grid-template-areas: "stage intro" "cue intro" "act intro"; column-gap: 88px; justify-items: start; text-align: left; align-items: start; }
  .today .stage { grid-area: stage; width: 260px; margin: 0 0 24px 30px; }
  .today .cue { grid-area: cue; width: 320px; text-align: center; }
  .today .draw-actions { grid-area: act; width: 320px; }
  .today-intro { grid-area: intro; align-self: center; }
  .today-intro h2 { font-size: var(--t-4xl); }
  .today .reading { grid-area: intro; }
  .today .draw.is-turned .today-intro { display: none; }
}

/* inside every card */
.anat { display: grid; gap: 40px; }
.anat-card { position: relative; width: min(64vw, 300px); margin: 0 auto; container-type: inline-size; }
.pin {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: var(--rose); color: var(--paper); font: 600 12px/26px var(--sans); text-align: center;
}
.pin::before { content: ""; position: absolute; top: 50%; height: 1px; background: var(--rose); width: var(--len, 30px); }
.pin--l { left: -20px; }
.pin--l::before { left: 26px; }
.pin--r { left: calc(100% + 20px); }
.pin--r::before { right: 26px; }
.pin::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--rose); }
.pin--l::after { left: calc(26px + var(--len, 30px) - 2px); }
.pin--r::after { right: calc(26px + var(--len, 30px) - 2px); }
.anat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: l; }
.anat-list li { display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.anat-list .n { font: 600 12px/26px var(--sans); width: 26px; height: 26px; border-radius: 50%; text-align: center; background: var(--rose); color: var(--paper); }
.anat-list h3 { font-size: var(--t-l); margin-bottom: 4px; }
.anat-list p { color: var(--muted); font-size: var(--t-m); }
@media (min-width: 760px) {
  .anat { grid-template-columns: 380px 1fr; gap: 80px; align-items: center; }
  .anat-card { width: 360px; }
}

/* offer */
.offer { background: var(--paper); }
.offer-grid { display: grid; gap: 16px; }
.plan { padding: 28px 22px; border-radius: 18px; }
.plan--free { box-shadow: inset 0 0 0 1px var(--line); }
.plan--full { background: var(--rose-tint); position: relative; overflow: hidden; }
.plan h3 { font-size: var(--t-xl); margin: 10px 0 18px; }
.plan ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; line-height: 1.4; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sage-deep); }
.plan--full li svg { color: var(--rose); }
.plan .free-tag { font-family: var(--serif); font-size: var(--t-2xl); }
.plan-price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 18px; padding-top: 22px; border-top: 1px solid rgba(58, 58, 56, .18); }
.plan-price strong { font: 340 var(--t-4xl)/1 var(--serif); }
.plan-price span { color: var(--muted); font-size: var(--t-s); line-height: 1.35; }
.plan .btn { width: 100%; }
.plan-pay { font-size: var(--t-s); color: var(--muted); margin-top: 12px; text-align: center; }
.plan--free .btn { margin-top: 26px; }
@media (min-width: 760px) {
  .offer-grid { grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
  .plan { padding: 40px 36px; display: flex; flex-direction: column; }
  .plan--free .btn { margin-top: auto; }
  .plan--free ul { margin-bottom: 32px; }
}

/* deck strip */
.deck-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); padding: 4px var(--gut) 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.deck-strip::-webkit-scrollbar { display: none; }
.deck-strip figure { margin: 0; flex: none; width: 168px; scroll-snap-align: start; }
.deck-strip figcaption { margin-top: 12px; }
.deck-strip figcaption b { display: block; font: 400 var(--t-m)/1.2 var(--serif); font-style: italic; }
.deck-strip figcaption span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) {
  .deck-strip { padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); margin: 0; }
  .deck-strip figure { width: 220px; }
}
.deck-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.deck-foot p { color: var(--muted); max-width: 40ch; }

/* nina */
.nina { background: var(--sand); }
.nina .wrap { display: grid; gap: 36px; }
.nina .arch-img { height: min(62svh, 520px); }
.nina h2 { font-size: var(--t-3xl); margin: 14px 0 20px; }
.nina p + p { margin-top: 14px; }
.nina .sig { margin: 22px 0 26px; font-family: var(--serif); font-style: italic; color: var(--muted); }
@media (min-width: 760px) { .nina .wrap { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; } .nina h2 { font-size: var(--t-4xl); } .nina .txt { max-width: 520px; } }

/* faq */
.faq-list { border-top: 1px solid var(--line); max-width: 760px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 360 var(--t-l)/1.3 var(--serif); min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* close */
.close-sec { padding-bottom: 0; }
.close-grid { display: grid; gap: 32px; }
.close-grid .arch-img { height: min(58svh, 480px); }
.close-grid h2 { font-size: var(--t-3xl); }
.close-grid .hero-cta { margin-top: 28px; }
@media (min-width: 760px) { .close-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } .close-grid h2 { font-size: var(--t-4xl); } .close-grid .hero-cta .btn { width: auto; } }

/* letters + footer */
.letters { background: #8c7257; color: var(--paper); margin-top: 96px; padding: 64px 0 40px; }
.letters .eyebrow { color: rgba(251, 246, 239, .8); }
.letters h2 { font-size: var(--t-2xl); margin: 12px 0 22px; }
.letters h2 em { color: #f3d9c9; }
.nl { display: grid; gap: 12px; max-width: 520px; }
.nl-row { display: flex; gap: 8px; }
.nl input[type=email] { flex: 1; min-width: 0; min-height: 52px; border: 0; border-radius: 999px; padding: 0 20px; font: inherit; background: var(--paper); color: var(--ink); }
.nl .btn { background: var(--ink); }
.nl label { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; font-size: var(--t-s); line-height: 1.4; color: rgba(251, 246, 239, .88); }
.nl input[type=checkbox] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--olive); flex: none; }
.nl a { color: inherit; }
.foot { border-top: 1px solid rgba(251, 246, 239, .25); margin-top: 48px; padding-top: 28px; display: grid; gap: 20px; font-size: var(--t-s); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { text-decoration: none; letter-spacing: .18em; text-transform: uppercase; font-size: 11px; padding: 8px 0; }
.foot small { opacity: .8; font-size: 12px; }

/* sticky buy bar, phone only */
.buybar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(251, 246, 240, .97); border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: 0 12px 30px -12px rgba(60, 40, 30, .45), 0 0 0 1px var(--line);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.buybar.is-on { transform: none; }
.buybar p { font-size: var(--t-s); line-height: 1.25; }
.buybar p b { font-weight: 600; display: block; }
.buybar .btn { min-height: 46px; padding: 0 20px; flex: none; }
.buybar [data-state] { display: none; }
.buybar[data-mode="free"] [data-state="free"], .buybar[data-mode="buy"] [data-state="buy"], .buybar[data-mode="own"] [data-state="own"] { display: contents; }
@media (min-width: 760px) { .buybar { display: none; } }
