/* Tori Health page (/health). Namespaced with th- so the rest of the site is untouched.
   Colours follow the Tori Health company profile: paper #f0efeb, navy #11183f, ink #0d0e0d, teal #0bb8a5. */
.th-page{--th-bg:#f0efeb;--th-alt:#e8e7e2;--th-card:#f7f7f4;--th-ink:#0d0e0d;--th-navy:#11183f;--th-muted:#5d6170;
  --th-line:#d6d5d0;--th-teal:#0bb8a5;--th-teal-d:#078b7c;--th-teal-soft:#e3f4f1;--th-dark:#0e0e0e;
  --th-mono:"Courier Prime","Courier New",monospace;--th-sans:"IBM Plex Sans","Segoe UI",Arial,sans-serif;
  background:var(--th-bg);color:var(--th-navy);font-family:var(--th-sans);letter-spacing:0;overflow:hidden}
.th-page *{box-sizing:border-box}
.th-page h1,.th-page h2,.th-page h3,.th-page h4,.th-page p{margin:0}
.th-wrap{max-width:1180px;margin:0 auto}

/* ---------- Hero ---------- */
.th-hero{padding:80px max(calc((100vw - 1180px)/2),5vw) 70px;text-align:center}
.th-tagline{font-family:var(--th-mono);font-weight:400;font-size:clamp(34px,5vw,52px);letter-spacing:.14em;color:var(--th-ink)}
.th-tagline span{color:transparent;-webkit-text-stroke:1.2px var(--th-ink)}
.th-diagram{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:60px 0 70px}
.th-side{position:relative;height:200px}
.th-side svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.th-side path{fill:none;stroke:#bdbcb6;stroke-width:1.2;vector-effect:non-scaling-stroke}
.th-dot{position:absolute;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:var(--th-ink)}
.th-pill{position:absolute;transform:translate(-50%,-50%);padding:5px 14px;border:1px solid #c4c3bd;border-radius:20px;background:var(--th-card);font-size:12px;font-weight:500;white-space:nowrap}
.th-logo-tile{width:150px;height:150px;padding:14px;border-radius:30px;background:#e5e4df;box-shadow:0 26px 50px #0d0e0d14}
.th-logo-tile>div{display:grid;place-items:center;height:100%;border:2px solid #fff;border-radius:20px;background:var(--th-card)}
.th-logo-tile svg{width:96px}
.th-eyebrow{display:block;font-family:var(--th-mono);font-size:12px;letter-spacing:.3em;color:var(--th-muted)}
.th-title{margin-top:18px!important;font-family:var(--th-mono);font-weight:400;font-size:clamp(46px,8vw,80px);letter-spacing:.22em;line-height:1.05;color:var(--th-ink)}
.th-lead{max-width:680px;margin:28px auto 0!important;font-size:18px;line-height:1.7;color:var(--th-muted)}
.th-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:40px}
.th-btn{display:inline-flex;align-items:center;gap:10px;padding:15px 26px;border-radius:9px;font-size:14px;font-weight:600;transition:transform .2s ease,background .2s ease}
.th-btn:hover{transform:translateY(-2px)}
.th-btn-dark{background:var(--th-ink);color:#fff}
.th-btn-line{border:1px solid #bdbcb6;background:var(--th-card);color:var(--th-ink)}
.th-clients{margin-top:90px}
.th-clients>span{font-family:var(--th-mono);font-size:11px;letter-spacing:.3em;color:var(--th-muted)}
.th-clients>div{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:16px}
.th-clients em{padding:7px 18px;border:1px solid #c4c3bd;border-radius:20px;font-style:normal;font-size:13px;background:var(--th-card)}
.th-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line);background:var(--th-card)}
.th-strip a{padding:26px 22px;border-right:1px solid var(--th-line);transition:background .2s ease}
.th-strip a:last-child{border-right:0}
.th-strip a:hover{background:#fff}
.th-strip small{display:block;font-family:var(--th-mono);font-size:12px;color:var(--th-teal)}
.th-strip b{display:block;margin-top:8px;font-size:16px;font-weight:600}

/* ---------- Common section ---------- */
.th-sec{padding:100px max(calc((100vw - 1180px)/2),5vw)}
.th-alt{background:var(--th-alt)}
.th-dark{background:var(--th-dark);color:#fff}
.th-kicker{display:block;font-family:var(--th-mono);font-size:12px;letter-spacing:.24em;color:var(--th-muted)}
.th-kicker i{font-style:normal;font-weight:700;color:var(--th-teal)}
.th-dark .th-kicker{color:#8b8d93}
.th-gap{margin-top:100px}
.th-h2{margin-top:14px!important;font-size:clamp(34px,4.4vw,50px);font-weight:500;line-height:1.15;letter-spacing:-.02em;color:var(--th-navy)}
.th-dark .th-h2{color:#fff}
.th-mono{font-family:var(--th-mono);font-weight:400;letter-spacing:.06em}
.th-sub{max-width:760px;margin-top:16px!important;font-size:17px;line-height:1.65;color:var(--th-muted)}
.th-dark .th-sub{color:#a9abb1}
.th-intro{max-width:1000px;margin-top:30px!important;font-size:19px;line-height:1.75;color:#262b40}
.th-intro strong{color:var(--th-navy)}
.th-intro.th-muted{margin-top:22px!important;font-size:16px;color:var(--th-muted)}

/* ---------- About ---------- */
.th-mv{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:44px}
.th-mv article{padding:30px;border:1px solid var(--th-line);border-radius:18px;background:var(--th-card)}
.th-tag{display:inline-block;padding:5px 14px;border:1px solid #b5b4ae;border-radius:20px;font-family:var(--th-mono);font-size:11px;letter-spacing:.2em}
.th-mv h3{margin-top:18px!important;font-size:22px;font-weight:600}
.th-mv p{margin-top:12px!important;line-height:1.7;color:var(--th-muted)}
.th-values{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:48px;padding-top:28px;border-top:2px solid var(--th-ink)}
.th-values small,.th-commit small,.th-problems small{font-family:var(--th-mono);font-weight:700;font-size:12px;letter-spacing:.12em;color:var(--th-teal)}
.th-values h4{margin-top:8px!important;font-size:18px;font-weight:700}
.th-values p{margin-top:8px!important;font-size:14px;line-height:1.6;color:var(--th-muted)}
.th-sample{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;margin-top:70px}
.th-sample-copy p{margin-top:16px!important;font-size:24px;line-height:1.5;color:var(--th-navy)}
.th-sched{overflow:hidden;border:1px solid var(--th-line);border-radius:18px;background:#fff;box-shadow:0 20px 50px #11183f12}
.th-sched header,.th-sched footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px}
.th-sched header{background:var(--th-navy);color:#fff}
.th-sched header b{font-size:17px;font-weight:600}
.th-sched small{font-family:var(--th-mono);font-size:11px;letter-spacing:.2em;color:var(--th-teal)}
.th-sched>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 24px;border-bottom:1px dashed var(--th-line)}
.th-sched>div span b{display:block;font-size:15px;font-weight:700}
.th-sched>div span small{display:block;margin-top:4px;font-family:var(--th-sans);font-size:13px;letter-spacing:0;color:var(--th-muted)}
.th-sched em{flex:none;padding:6px 12px;border-radius:7px;background:var(--th-teal-soft);color:var(--th-teal-d);font-style:normal;font-size:13px;white-space:nowrap}
.th-sched em.th-off{background:#fdeee3;color:#b0561c}
.th-sched footer{border-top:1px solid var(--th-line);font-size:14px;color:var(--th-muted)}

/* ---------- Problem ---------- */
.th-problems{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;margin-top:50px}
.th-problems>div{display:grid;grid-template-columns:56px 1fr;padding:28px 0;border-bottom:1px solid #2c2c2c}
.th-problems small{padding-top:6px}
.th-problems h3{font-size:20px;font-weight:600}
.th-problems p{margin-top:8px!important;line-height:1.65;color:#a9abb1}
.th-ba{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;margin-top:50px}
.th-ba>div{padding:28px;border:1px solid #2f2f2f;border-radius:18px}
.th-ba>div span{display:block;margin-bottom:10px;font-family:var(--th-mono);font-size:12px;letter-spacing:.2em;color:#8b8d93}
.th-ba>div p{padding:12px 0;border-bottom:1px dashed #333;color:#e4e4e4}
.th-ba>div p:last-child{border-bottom:0}
.th-ba>b{font-size:22px;font-weight:400;color:var(--th-teal)}
.th-ba .th-after{border-color:var(--th-teal)}
.th-ba .th-after span{color:var(--th-teal)}
.th-approach{display:flex;gap:28px;align-items:center;margin-top:70px;padding:36px;border:1px solid #2f2f2f;border-radius:18px}
.th-approach>b{font-size:34px;font-weight:300;color:var(--th-teal)}
.th-approach p{font-family:Georgia,"Times New Roman",serif;font-size:23px;line-height:1.55}
.th-approach small{display:block;margin-top:12px;font-family:var(--th-mono);font-size:11px;letter-spacing:.2em;color:#8b8d93}

/* ---------- Service cards ---------- */
.th-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:44px}
.th-cards article{padding:28px;border:1px solid var(--th-line);border-radius:18px;background:var(--th-card);transition:transform .25s ease,box-shadow .25s ease}
.th-cards article:hover{transform:translateY(-4px);box-shadow:0 22px 50px #11183f14}
.th-core article{border-color:var(--th-navy);background:#fff}
.th-cards header{display:flex;align-items:center;gap:16px}
.th-ico{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:var(--th-navy)}
.th-ico svg{width:22px;height:22px;fill:none;stroke:var(--th-teal);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.th-cards h3{flex:1;font-size:20px;font-weight:700;line-height:1.3}
.th-cards header em{padding:4px 10px;border-radius:6px;background:var(--th-teal);color:var(--th-ink);font-family:var(--th-mono);font-style:normal;font-weight:700;font-size:10px;letter-spacing:.12em}
.th-cards p{margin-top:14px!important;line-height:1.65;color:var(--th-muted)}
.th-cards ul,.th-plans ul{list-style:none;margin:16px 0 0;padding:0}
.th-cards li{position:relative;padding:5px 0 5px 20px;font-size:15px;line-height:1.55}
.th-cards li:before{content:"";position:absolute;left:2px;top:13px;width:7px;height:7px;border-radius:50%;background:var(--th-teal)}
.th-day{margin-top:50px;padding:36px;border-radius:20px;background:var(--th-dark);color:#fff}
.th-day .th-kicker{color:#8b8d93}
.th-day h3{margin-top:14px!important;font-size:24px;font-weight:500}
.th-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:34px}
.th-timeline>div{position:relative;padding-top:26px;border-top:1px solid #3a3a3a}
.th-timeline>div:before{content:"";position:absolute;top:-6px;left:0;width:11px;height:11px;border-radius:50%;background:var(--th-teal)}
.th-timeline small{font-family:var(--th-mono);font-weight:700;font-size:12px;letter-spacing:.1em;color:var(--th-teal)}
.th-timeline b{display:block;margin-top:8px;font-size:18px;font-weight:600}
.th-timeline p{margin-top:8px!important;font-size:14px;line-height:1.6;color:#a9abb1}

/* ---------- Process ---------- */
.th-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin:44px 0 0;padding:0;list-style:none}
.th-steps li{position:relative}
.th-steps li:before{content:"";position:absolute;top:23px;left:46px;right:-20px;height:1px;background:#a9a8a2}
.th-steps li:last-child:before{right:0}
.th-steps i{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--th-ink);color:#fff;font-family:var(--th-mono);font-style:normal;font-size:14px}
.th-steps b{display:block;margin-top:20px;font-size:18px;font-weight:700}
.th-steps p{margin-top:8px!important;font-size:14px;line-height:1.6;color:var(--th-muted)}

/* ---------- Pricing ---------- */
.th-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:44px;align-items:stretch}
.th-plans article{position:relative;display:flex;flex-direction:column;padding:32px 26px;border:1px solid var(--th-line);border-radius:18px;background:var(--th-card)}
.th-plans h3{font-family:var(--th-mono);font-weight:400;font-size:22px;letter-spacing:.16em}
.th-plans article>p{margin-top:12px!important;min-height:48px;font-size:14px;line-height:1.6;color:var(--th-muted)}
.th-price{margin-top:20px;padding-bottom:20px;border-bottom:1px solid var(--th-line)}
.th-price b{display:block;font-family:var(--th-mono);font-size:27px;font-weight:700;letter-spacing:.02em}
.th-price small{display:block;margin-top:4px;font-size:13px;color:var(--th-muted)}
.th-plans ul{flex:1}
.th-plans li{position:relative;padding:6px 0 6px 24px;font-size:15px;line-height:1.5}
.th-plans li:before{content:"";position:absolute;left:3px;top:11px;width:9px;height:5px;border-left:1.6px solid var(--th-teal);border-bottom:1.6px solid var(--th-teal);transform:rotate(-45deg)}
.th-plans article>a{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding:13px 18px;border:1px solid var(--th-ink);border-radius:9px;font-size:14px;font-weight:600;transition:background .2s ease,color .2s ease}
.th-plans article>a:hover{background:var(--th-ink);color:#fff}
.th-featured{background:var(--th-dark)!important;border-color:var(--th-dark)!important;color:#fff}
.th-featured>p,.th-featured .th-price small{color:#a9abb1!important}
.th-featured .th-price{border-color:#333}
.th-featured .th-price b{color:var(--th-teal)}
.th-featured>a{border-color:var(--th-teal)!important;background:var(--th-teal);color:var(--th-ink)}
.th-featured>a:hover{background:#fff!important;border-color:#fff!important}
.th-badge{position:absolute;top:-12px;left:22px;padding:5px 12px;border-radius:20px;background:var(--th-teal);color:var(--th-ink);font-family:var(--th-mono);font-weight:700;font-size:10px;letter-spacing:.16em}
.th-note{margin-top:30px!important;padding:20px 24px;border:1px solid var(--th-line);border-left:5px solid var(--th-teal);border-radius:10px;background:#fff;line-height:1.7;color:#30354a}

/* ---------- Add-on pricing table ---------- */
.th-table-wrap{margin-top:40px;overflow-x:auto;border:1px solid var(--th-line)}
.th-table{width:100%;min-width:560px;border-collapse:collapse;background:var(--th-card)}
.th-table th{padding:16px 20px;background:var(--th-navy);color:#fff;font-size:13px;font-weight:600;text-align:left}
.th-table td{padding:16px 20px;border-top:1px solid var(--th-line);font-size:15px}
.th-table td:last-child{color:var(--th-muted)}

/* ---------- Commitments ---------- */
.th-commit{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}
.th-commit article{padding:26px;border:1px solid var(--th-line);border-radius:18px;background:var(--th-card)}
.th-commit h3{margin-top:8px!important;font-size:19px;font-weight:700}
.th-commit p{margin-top:8px!important;line-height:1.65;color:var(--th-muted)}

/* ---------- Why + contact ---------- */
.th-why{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;margin-top:40px}
.th-why>div{display:flex;gap:18px;padding:24px 0;border-bottom:1px solid #2f2f2f}
.th-why i{flex:none;width:12px;height:12px;margin-top:6px;background:var(--th-teal)}
.th-why h3{font-size:18px;font-weight:600}
.th-why p{margin-top:6px!important;font-size:15px;line-height:1.6;color:#a9abb1}
.th-talk{margin-top:90px!important;font-family:var(--th-mono);font-weight:400;font-size:clamp(40px,6vw,64px);letter-spacing:.14em}
.th-talk span{color:transparent;-webkit-text-stroke:1.2px #fff}
.th-talk-sub{margin-top:24px!important;font-size:clamp(24px,3vw,32px);font-weight:500}
.th-contact{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;margin-top:40px}
.th-contact>a,.th-contact>div{display:block;padding:22px 0;border-top:1px solid #333}
.th-contact small{display:block;font-family:var(--th-mono);font-size:11px;letter-spacing:.2em;color:#8b8d93}
.th-contact span{display:block;margin-top:8px;font-size:18px;color:var(--th-teal);word-break:break-word}
.th-contact a:hover span{text-decoration:underline}
.th-pilot{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:40px;padding:30px;border:1px solid var(--th-teal);border-radius:18px}
.th-pilot h3{font-size:22px;font-weight:700}
.th-pilot p{margin-top:8px!important;color:#a9abb1}
.th-pilot a{flex:none;padding:15px 26px;border-radius:9px;background:var(--th-teal);color:var(--th-ink);font-weight:700;transition:background .2s ease}
.th-pilot a:hover{background:#fff}
.th-fine{margin-top:40px!important;font-size:13px;color:#7c7e84}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .th-values{grid-template-columns:1fr 1fr}
  .th-steps{grid-template-columns:repeat(3,1fr);row-gap:36px}
  .th-steps li:nth-child(3):before{right:0}
  .th-plans{grid-template-columns:1fr;max-width:520px}
  .th-timeline{grid-template-columns:1fr 1fr}
  .th-strip{grid-template-columns:1fr 1fr}
  .th-strip a:nth-child(2){border-right:0}
  .th-strip a:nth-child(-n+2){border-bottom:1px solid var(--th-line)}
}
@media(max-width:760px){
  .th-hero{padding:56px 16px 50px}
  .th-tagline{letter-spacing:.08em}
  .th-diagram{grid-template-columns:1fr;justify-items:center;margin:40px 0 50px}
  .th-side{display:none}
  .th-title{letter-spacing:.1em}
  .th-lead{font-size:16px}
  .th-clients{margin-top:56px}
  .th-sec{padding:70px 16px}
  .th-gap{margin-top:70px}
  .th-intro{font-size:17px}
  .th-mv,.th-sample,.th-problems,.th-cards,.th-commit,.th-why,.th-contact{grid-template-columns:1fr}
  .th-sample{gap:28px}
  .th-sample-copy p{font-size:20px}
  .th-sched>div{padding:14px 18px}
  .th-sched header,.th-sched footer{padding:18px}
  .th-ba{grid-template-columns:1fr}
  .th-ba>b{justify-self:center;transform:rotate(90deg)}
  .th-approach{flex-direction:column;align-items:flex-start;gap:12px;padding:26px}
  .th-approach p{font-size:19px}
  .th-day{padding:26px 20px}
  .th-steps{grid-template-columns:1fr;row-gap:28px}
  .th-steps li{padding-left:66px}
  .th-steps li:before{top:46px;bottom:-28px;left:23px;right:auto;width:1px;height:auto}
  .th-steps li:last-child:before{display:none}
  .th-steps i{position:absolute;left:0;top:0}
  .th-steps b{margin-top:10px}
  .th-cards article{padding:22px}
  .th-pilot{flex-direction:column;align-items:flex-start;padding:24px}
}
@media(max-width:480px){
  .th-timeline,.th-values,.th-strip{grid-template-columns:1fr}
  .th-strip a{border-right:0;border-bottom:1px solid var(--th-line)}
  .th-strip a:last-child{border-bottom:0}
}
