/* Signature Healing Touch · secondary pages (thank-you, privacy)
   Loaded after home.css: reuses its tokens, frame, header, buttons, reviews, footer
   and the light thread (.lattice, .journey, .spine, .curtain, .node, .anchor). */

body.page{padding-bottom:0}
.brand-home{display:inline-flex;text-decoration:none}
.site-nav .page-home{text-decoration:none}
.lang-switch button{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;background:none;border:0;padding:5px 11px;border-radius:30px;cursor:pointer}
.lang-switch button[aria-pressed=true]{background:var(--ink);color:var(--ground)}
.pg-journey{padding-top:0}

/* ---------- thank-you ---------- */
.ty{position:relative;min-height:100vh;min-height:100svh;display:grid;align-items:center;background:var(--hero-wash);overflow:hidden;padding:150px 62px 90px}
.ty-copy{position:relative;z-index:3;max-width:640px;text-shadow:0 0 14px var(--ground),0 0 4px var(--ground)}
.ty-copy .btn{text-shadow:none}
.ty h1 strong{display:inline;font-size:1em}
.ty .lede{max-width:46ch}
.ty-contact{margin:34px 0 0;padding:18px 0 0;border-top:1px solid var(--line);color:var(--muted);font-size:15px;max-width:620px}
.ty-contact a{color:var(--ink-hi);text-decoration-color:var(--c1)}
.thanks{position:absolute;z-index:2;right:4vw;top:50%;width:min(40vw,580px);height:min(64vh,520px);transform:translateY(-50%);pointer-events:none;user-select:none}
.thanks span{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;font-family:'Bodoni Moda',serif;font-style:italic;font-weight:500;line-height:1;color:var(--ink);opacity:var(--o,.5);text-shadow:0 0 16px var(--ground),0 0 5px var(--ground);transition:opacity 1.2s cubic-bezier(.2,.8,.2,1)}
.thanks span.hi{font-style:normal;font-weight:900;color:var(--ink-hi);opacity:1}
.thanks:not(.ready) span{opacity:0}

/* ---------- privacy (reading page): the braid runs in the right margin of the text ---------- */
.doc{--col:min(820px,calc(100vw - 220px));position:relative;z-index:2;max-width:var(--col);margin:0 auto;padding:0 62px}
.doc-hero{position:relative;overflow:hidden;background:var(--hero-wash)}
.doc-head{padding-top:170px;padding-bottom:13vh;text-shadow:0 0 14px var(--ground),0 0 4px var(--ground)}
.doc h1{font-size:clamp(46px,6vw,84px);margin:0 0 22px}
.doc h1 strong{font-size:1em;font-weight:900}
.doc .updated{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 26px}
.doc-langs{display:inline-flex;margin:0;font-size:13px;letter-spacing:.18em;text-transform:uppercase;background:var(--ground);text-shadow:none}
.doc-langs a{text-decoration:none}
.pg-doc .origin .node{left:calc(50% + var(--col,820px) / 2 + 40px)}
.pg-doc{--col:min(820px,calc(100vw - 220px))}
.doc section{scroll-margin-top:120px}
.doc h2{position:relative;font-family:'Bodoni Moda',serif;font-weight:500;font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.02em;color:var(--ink-hi);margin:64px 0 16px;padding-top:26px;border-top:1px solid var(--line);scroll-margin-top:120px}
.doc section > h2:first-child{margin-top:0}
.doc h3{font:600 14px/1.3 Barlow,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:34px 0 8px}
.doc p,.doc li{color:var(--body);max-width:68ch}
.doc p{margin:0 0 16px}
.doc ul{padding-left:0;list-style:none;margin:0 0 18px}
.doc li{position:relative;padding-left:26px;margin:0 0 10px}
.doc li:before{content:"";position:absolute;left:2px;top:.78em;width:12px;height:1px;background:var(--c1)}
.doc p strong,.doc li strong{color:var(--ink-hi);font-weight:600}
.doc p em{font-style:normal;color:var(--muted)}
.doc a{color:var(--ink-hi);text-decoration-color:var(--c1);text-decoration-thickness:1px}
.doc a:hover{text-decoration-thickness:2px}
.doc-break{position:relative;height:1px;background:var(--line);margin:110px 0 90px}
/* light points in the margin, on the thread: one per section heading and one between the two languages */
.gut-node{left:calc(100% + 102px);top:0}
.doc h2 .gut-node{top:calc(26px + .55em);width:8px;height:8px;margin:-4px 0 0 -4px}
.doc h2 .gut-node:after{inset:-10px}
.doc .back{margin-top:70px}

@media (max-width:1100px){
  .ty{display:block}
  .thanks{position:relative;right:auto;top:auto;transform:none;width:100%;max-width:600px;height:300px;margin:56px 0 0}
}
@media (max-width:820px){
  .ty{padding:120px 22px 70px 32px}
  .thanks{height:240px;margin:46px 0 0}
  .doc,.pg-doc{--col:100vw}
  .doc{padding:0 22px 0 32px}
  .doc-head{padding-top:130px;padding-bottom:70px}
  .gut-node{left:-18px}
  .doc-break{margin:80px 0 60px}
}
@media (prefers-reduced-motion:reduce){
  .thanks span{transition:none}
}
