/* ==========================================================
   Nyota — inner pages (consultation form, thank you, legal)
   Builds on styles.css tokens, header, menu and footer.
   ========================================================== */

.page-main { position: relative; overflow: hidden; isolation: isolate; }
.page-mandala { position: absolute; z-index: -1; width: min(820px, 120vw); color: var(--gold); opacity: .22; pointer-events: none; }

/* Load animation for page heroes */
.js .rise { opacity: 0; transform: translateY(30px); }
.ready .rise { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

.page-hero { padding: 128px var(--gut) 48px; max-width: 1320px; margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: clamp(52px, 8vw, 120px); font-weight: 300; letter-spacing: -.035em; margin: 20px 0 18px; line-height: .95; }
.page-hero h1 em { background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; animation: foil 6s ease-in-out infinite; }
.page-hero .lead { color: var(--ink-soft); font-size: 18px; max-width: 560px; margin: 0 auto; }
.meta-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.meta-chip .ic { color: var(--sindoor); }

/* ==========================================================
   CONSULTATION FORM
   ========================================================== */
#progress-bar-container { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; background: rgba(91,20,34,.1); opacity: 0; transition: opacity .6s; }
#progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--maroon), var(--sindoor)); transition: width .6s var(--ease); }
.form-step-count { position: fixed; left: 50%; top: 94px; translate: -50% 0; z-index: 119; padding: 7px 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .4s; pointer-events: none; }
.in-form .form-step-count { opacity: 1; }
.in-form .footer { display: none; }

#view-intro { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 112px var(--gut) 64px; transition: opacity .7s var(--ease); position: relative; }
#view-intro .page-mandala { right: -22%; top: 50%; translate: 0 -50%; }
#view-intro .page-mandala.left { left: -30%; right: auto; width: min(620px, 90vw); opacity: .14; }
.intro-head { text-align: center; max-width: 860px; margin-bottom: 64px; }
.intro-head h1 { font-size: clamp(46px, 7vw, 104px); font-weight: 300; letter-spacing: -.035em; line-height: .98; margin: 22px 0 18px; }
.intro-head h1 em { color: var(--maroon); }
.intro-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; width: min(980px, 100%); }
.path-card {
  position: relative; text-align: left; padding: 40px 36px 34px; border-radius: 6px; background: var(--card); cursor: pointer;
  box-shadow: inset 0 0 0 9px var(--card), inset 0 0 0 10px rgba(180,139,53,.5), 0 30px 50px -34px rgba(42,23,18,.5);
  transition: transform .6s var(--ease), box-shadow .6s, rotate .6s var(--ease); display: flex; flex-direction: column; gap: 12px;
}
.path-card:nth-child(1) { rotate: -1.2deg; }
.path-card:nth-child(2) { rotate: 1.2deg; background: var(--maroon); color: var(--paper); box-shadow: inset 0 0 0 9px var(--maroon), inset 0 0 0 10px var(--gold-lt), 0 30px 50px -30px rgba(91,20,34,.7); }
.path-card:hover { transform: translateY(-10px); rotate: 0deg; }
.path-num { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sindoor); }
.path-card:nth-child(2) .path-num { color: var(--gold-lt); }
.path-card h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 300; }
.path-card h2 em { font-family: var(--script); color: var(--gold); font-size: 1.15em; }
.path-card p { color: var(--ink-soft); font-size: 15px; max-width: 340px; }
.path-card:nth-child(2) p { color: rgba(244,237,225,.72); }
.path-go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.path-go .ic { transition: transform .35s var(--ease); }
.path-card:hover .path-go .ic { transform: translateX(5px); }
.path-card:nth-child(2) .path-go { color: var(--gold-lt); }
.path-seal { position: absolute; top: -22px; right: 24px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 26px; color: var(--gold-lt);
  background: radial-gradient(circle at 35% 30%, #a3263b, #6d1323 60%, #4a0c17); box-shadow: 0 6px 14px rgba(0,0,0,.3), inset 0 -3px 6px rgba(0,0,0,.3); rotate: 10deg; }
.path-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(227,197,122,.5); }
.path-card:nth-child(2) .path-seal { background: radial-gradient(circle at 35% 30%, #f1dc9f, #b48b35 65%, #8b6823); color: var(--maroon-deep); }
.intro-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 56px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.intro-trust li::before { content: "✦ "; color: var(--sindoor); }

/* Typeform-style steps */
.tf-view { display: none; width: 100%; min-height: 100svh; align-items: center; justify-content: center; padding: 140px var(--gut) 80px; position: relative; }
.tf-view.active { display: flex; }
.tf-view form { width: 100%; }
.tf-step { display: none; width: 100%; max-width: 860px; margin: 0 auto; }
.tf-step.active { display: block; animation: stepIn .7s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(26px); } }
.tf-desc { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--sindoor); margin-bottom: 18px; }
.tf-question { font-size: clamp(38px, 5.4vw, 72px); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 14px; }
.tf-sub { color: var(--ink-soft); font-size: 16px; margin-bottom: 8px; }
.tf-fields { margin-top: 44px; display: grid; gap: 28px; }
.tf-input {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(42,23,18,.22); border-radius: 0;
  font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; color: var(--ink); padding: 10px 2px 14px;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.tf-input:focus { outline: none; border-bottom-color: var(--maroon); }
.tf-input::placeholder { color: rgba(94,74,64,.45); font-style: italic; }
select.tf-input { cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b1422' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center; }
select.tf-input:invalid { color: rgba(94,74,64,.55); font-style: italic; }
textarea.tf-input { font-family: var(--sans); font-size: 17px; font-weight: 400; min-height: 150px; resize: vertical; border: 1.5px solid rgba(42,23,18,.18); border-radius: 14px; padding: 18px 20px; background: var(--card); }
textarea.tf-input:focus { border-color: var(--maroon); }
input[type="date"].tf-input { min-height: 58px; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }

.tf-choice-grid { display: grid; gap: 14px; margin-top: 40px; }
.tf-choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.tf-choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tf-choice-label { display: block; cursor: pointer; }
.tf-choice-label.span-2 { grid-column: 1 / -1; }
.tf-radio, .tf-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.tf-choice-box {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%;
  padding: 22px 24px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--display); font-size: 22px; font-weight: 400; color: var(--ink);
  transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.tf-choice-label:hover .tf-choice-box { box-shadow: inset 0 0 0 1.5px var(--maroon); transform: translateY(-2px); }
.tf-radio:focus-visible + .tf-choice-box, .tf-checkbox:focus-visible + .tf-choice-box { outline: 2px solid var(--sindoor); outline-offset: 3px; }
.tf-radio:checked + .tf-choice-box, .tf-checkbox:checked + .tf-choice-box { background: var(--maroon); color: var(--paper); box-shadow: 0 18px 30px -18px rgba(91,20,34,.7); }
.check-indicator { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(42,23,18,.3); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.check-indicator::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--maroon-deep); opacity: 0; transition: opacity .3s; }
.tf-checkbox + .tf-choice-box .check-indicator { border-radius: 6px; }
.tf-checkbox + .tf-choice-box .check-indicator::after { border-radius: 2px; }
.tf-radio:checked + .tf-choice-box .check-indicator, .tf-checkbox:checked + .tf-choice-box .check-indicator { background: var(--gold-lt); border-color: var(--gold-lt); }
.tf-radio:checked + .tf-choice-box .check-indicator::after, .tf-checkbox:checked + .tf-choice-box .check-indicator::after { opacity: 1; }

/* Package cards inside the form */
.tf-choice-box.plan-card { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; padding: 30px 26px 26px; position: relative; border-radius: 6px; box-shadow: inset 0 0 0 8px var(--card), inset 0 0 0 9px rgba(180,139,53,.5); }
.plan-card h3 { font-size: 28px; font-weight: 400; }
.plan-card .pc-for { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.plan-card .pc-was { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.plan-card .pc-off { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--sindoor); border: 1px solid currentColor; padding: 2px 8px; border-radius: 999px; }
.plan-card .pc-price { font-family: var(--display); font-weight: 300; font-size: 46px; line-height: 1; }
.plan-card .pc-extra { margin-top: 10px; font-family: var(--script); font-size: 22px; color: var(--gold); }
.plan-card .pc-badge { position: absolute; top: -14px; right: 18px; padding: 5px 12px; border-radius: 999px; background: var(--sindoor); color: var(--paper); font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tf-radio:checked + .plan-card { box-shadow: inset 0 0 0 8px var(--maroon), inset 0 0 0 9px var(--gold-lt), 0 24px 40px -20px rgba(91,20,34,.7); }
.tf-radio:checked + .plan-card .pc-for, .tf-radio:checked + .plan-card .pc-was { color: rgba(244,237,225,.65); }
.tf-radio:checked + .plan-card .pc-off, .tf-radio:checked + .plan-card .pc-extra { color: var(--gold-lt); }

.tf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 44px; }
.btn-ok { display: inline-flex; align-items: center; gap: 10px; padding: 17px 32px; border-radius: 999px; border: 0; background: var(--maroon); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .04em; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(91,20,34,.7); transition: background .3s, transform .3s var(--ease), opacity .3s; }
.btn-ok:hover { background: var(--maroon-2); transform: translateY(-2px); }
.btn-ok:disabled { cursor: wait; transform: none; }
.btn-ok.done { background: var(--gold-lt); color: var(--maroon-deep); box-shadow: none; }
.btn-back { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: border-color .3s, color .3s; }
.btn-back:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-back .ic { rotate: 180deg; }
.hint-text { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.send-error { flex-basis: 100%; margin-top: 4px; padding: 14px 18px; border-radius: 14px; background: #fbe9e4; color: #7a2615; font-size: 14px; }
.send-error a { color: #1f8f4e; font-weight: 700; text-decoration: underline; }

/* ==========================================================
   THANK YOU
   ========================================================== */
.ty-hero { min-height: 92svh; padding: 112px var(--gut) 64px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; max-width: 1320px; margin: 0 auto; position: relative; }
.ty-hero .page-mandala { right: -30%; top: 50%; translate: 0 -50%; }
.ty-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }
.ty-badge i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--paper); font-style: normal; font-size: 12px; }
.ty-dear { font-family: var(--script); font-size: clamp(34px, 3.6vw, 46px); color: var(--maroon); margin-top: 30px; }
.ty-hero h1 { font-size: clamp(54px, 7.5vw, 112px); font-weight: 300; letter-spacing: -.04em; line-height: .92; margin: 6px 0 24px; }
.ty-hero h1 em { background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s ease-in-out infinite; padding-right: .06em; }
.ty-copy > p.lead { color: var(--ink-soft); font-size: 18px; max-width: 520px; }
.ty-copy > p.lead b { color: var(--maroon); font-weight: 700; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.ty-env-wrap { display: grid; place-items: center; gap: 22px; }
.ty-env-wrap .envelope { width: min(460px, 86vw); animation: none; filter: drop-shadow(0 40px 50px rgba(60,10,20,.35)); rotate: -4deg; }
.ty-env-wrap .env-letter { transition: transform 1.1s var(--ease-io) .2s; }
.ty-env-wrap .env-flap { transition: transform .8s var(--ease-io) 1.1s, z-index 0s 1.5s; }
.ty-env-wrap .seal { pointer-events: none; transition: transform .6s cubic-bezier(.3,1.6,.5,1) 1.9s, opacity .3s 1.9s; }
.ty-env-wrap .seal::after { animation: none; display: none; }
.ty-env.open .env-flap { transform: rotateX(180deg); z-index: 0; }
.ty-env.open .env-letter { transform: translateY(-46%); }
.ty-env.open .seal { transform: scale(2.2) rotate(-25deg); opacity: 0; }
.ty-env-caption { font-family: var(--script); font-size: 30px; color: var(--maroon); opacity: 0; transition: opacity 1s 2.4s; }
.ty-env:not(.open) + .ty-env-caption { opacity: 1; }

.next { padding: clamp(64px, 8vw, 104px) var(--gut); background: var(--paper-2); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.next .tickets { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }

/* ==========================================================
   LEGAL PAGES
   ========================================================== */
.legal-hero .page-mandala { left: 50%; top: -260px; translate: -50% 0; width: min(900px, 140vw); opacity: .16; }
.legal-summary { max-width: 900px; margin: 0 auto; padding: 0 var(--gut); }
.legal-summary div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.legal-summary article { padding: 26px 24px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.legal-summary article:nth-child(2) { background: var(--maroon); color: var(--paper); box-shadow: none; }
.legal-summary h3 { font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.legal-summary article:nth-child(2) h3 { color: var(--gold-lt); }
.legal-summary p { font-size: 14px; color: var(--ink-soft); }
.legal-summary article:nth-child(2) p { color: rgba(244,237,225,.75); }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(40px, 6vw, 96px); max-width: 1180px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gut) clamp(64px, 8vw, 104px); align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc p { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--sindoor); margin-bottom: 16px; }
.legal-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: flex; gap: 12px; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink-soft); transition: color .3s, border-color .3s; }
.legal-toc a span { font-weight: 700; color: var(--muted); font-size: 12px; padding-top: 2px; }
.legal-toc a:hover, .legal-toc a.active { color: var(--maroon); border-left-color: var(--maroon); }
.legal-toc .other { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--maroon); }

.legal-body { max-width: 720px; }
.legal-body > p.intro { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; color: var(--ink); margin-bottom: 56px; }
.legal-body section { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-body h2 { display: flex; align-items: baseline; gap: 18px; font-size: clamp(28px, 3vw, 38px); font-weight: 300; margin-bottom: 18px; }
.legal-body h2 span { font-family: var(--display); font-style: italic; font-size: .7em; color: var(--sindoor); min-width: 32px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin-top: 16px; display: grid; gap: 12px; }
.legal-body li { position: relative; padding-left: 26px; }
.legal-body li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 13px; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-contact { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 30px; border-radius: 22px; background: var(--maroon-deep); color: var(--paper); }
.legal-contact p { color: rgba(244,237,225,.7) !important; }
.legal-contact a.mail { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); color: var(--gold-lt); }

.intro-wa { margin-top: 18px; font-size: 14px; color: var(--muted); }
.intro-wa a { color: #1f8f4e; font-weight: 700; border-bottom: 1px solid currentColor; }

/* ==========================================================
   OCCASION LANDING PAGES
   ========================================================== */
.oc-hero { padding-bottom: 40px; }
.oc-hero .page-mandala { left: 50%; top: -240px; translate: -50% 0; width: min(900px, 140vw); opacity: .16; }
.oc-hero h1 { font-size: clamp(46px, 7vw, 104px); max-width: 1000px; margin-left: auto; margin-right: auto; }
.oc-hero h1 em { display: inline; }
.oc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.oc-try { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--sindoor); border-bottom: 1px solid currentColor; }
.oc-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; margin: 40px auto 0; padding: 0 var(--gut); }
.oc-point { padding: 30px 26px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.oc-point span { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--sindoor); }
.oc-point h3 { font-size: 26px; font-weight: 400; margin: 10px 0 8px; }
.oc-point p { color: var(--ink-soft); font-size: 15px; }
.oc-demos { padding: clamp(64px, 8vw, 104px) var(--gut) clamp(48px, 6vw, 80px); }
.oc-demo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.oc-demo-row .inv-card { flex: 0 1 320px; }
.oc-art { background: radial-gradient(circle at 30% 20%, #8f2a40, #3a0c17 75%); }
.oc-art span { font-family: var(--script); font-size: 64px; color: var(--gold-lt); }
.oc-pricing { margin-bottom: 0; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .path-grid { grid-template-columns: 1fr; max-width: 520px; }
  .ty-hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .ty-copy > p.lead { margin: 0 auto; }
  .ty-actions { justify-content: center; }
  .ty-env-wrap { order: -1; }
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 4px 16px; }
  .legal-toc a { border-left: 0; padding-left: 0; }
  .legal-summary div { grid-template-columns: 1fr; }
  .next .tickets { grid-template-columns: 1fr; max-width: 460px; }
  .oc-points { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 120px; }
  #view-intro { padding-top: 110px; }
  .path-card { padding: 34px 26px 28px; }
  .tf-view { padding-top: 100px; align-items: flex-start; }
  .tf-choice-grid.cols-2, .tf-choice-grid.cols-3 { grid-template-columns: 1fr; }
  .tf-choice-box { font-size: 19px; padding: 18px 20px; }
  .tf-actions { margin-top: 32px; }
  .btn-ok { padding: 16px 26px; }
  .hint-text { display: none; }
  .form-step-count { display: none; }
  .ty-actions .btn, .oc-actions .btn { width: 100%; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-contact { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; }
}
