/* hili-templates.css: parts used by the Nimbus template pages (studio, class, journal, coaches, legal).
   Loaded by the home page so Nimbus-filled pages get it too. Uses the tokens in hili-base.css. */

/* breadcrumbs (Nimbus fills the list) */
.tp-crumbs{position:relative;z-index:3;padding:96px 0 0;background:var(--ink)}
.tp-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--gray-500)}
.tp-crumbs li+li::before{content:"/";margin-right:6px;color:var(--gray-600)}
.tp-crumbs a{color:var(--gray-400);text-decoration:none}
.tp-crumbs a:hover{color:var(--pink)}
.tp-crumbs + .loc-hero{padding-top:24px}

/* heroes */
.tp-hero h1{max-width:18ch}
.tp-hero-short{min-height:0;padding-top:170px}
.tp-hero-short .wrap{grid-template-columns:1fr}

/* class/studio cards */
.tp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.tp-card{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--white);text-decoration:none;transition:border-color .2s,transform .2s}
.tp-card:hover{border-color:var(--pink);transform:translateY(-2px)}
.tp-card b{font-size:20px;font-weight:700}
.tp-card p{margin:0;color:var(--gray-400);line-height:1.55}
.tp-card img{width:calc(100% + 48px);margin:-24px -24px 6px;aspect-ratio:16/10;object-fit:cover;border-radius:18px 18px 0 0}
.tp-more{margin-top:auto;display:inline-flex;align-items:center;gap:6px;color:var(--pink);font-weight:600;font-size:14px}
.tp-more svg{width:16px;height:16px}
.tp-price{font-weight:700;color:var(--white)}
.tp-pill{align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--pink)}

/* chips, filters, ticks */
.tp-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}
.tp-chip,.tp-chips li{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--gray-400);text-decoration:none}
.tp-chip small{color:var(--gray-500)}
.tp-chips{list-style:none;margin:8px 0 22px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tp-chips a{color:inherit;text-decoration:none}
.tp-chips a:hover{color:var(--pink)}
.tp-ticks{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.tp-ticks li{position:relative;padding-left:28px;line-height:1.5}
.tp-ticks li::before{content:"";position:absolute;left:0;top:.45em;width:14px;height:8px;border-left:2px solid var(--pink);border-bottom:2px solid var(--pink);transform:rotate(-45deg)}
.tp-trust{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 24px;color:var(--gray-400);font-size:14px}
.tp-empty{color:var(--gray-500)}
.tp-empty a,.tp-note a{color:var(--pink)}
.tp-note{margin-top:20px;color:var(--gray-500);font-size:14px}

/* two columns */
.tp-two{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.tp-two h3{margin:22px 0 4px;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--gray-500)}

/* photos */
.tp-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.tp-gallery figure{margin:0;border-radius:14px;overflow:hidden;aspect-ratio:4/5;background:var(--surface)}
.tp-gallery img{width:100%;height:100%;object-fit:cover;display:block}

/* reviews (proof) */
.tp-quotes{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.tp-quotes figure{margin:0;padding:26px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.tp-quotes blockquote{margin:0 0 16px;font-family:var(--serif);font-style:italic;font-size:20px;line-height:1.45;color:var(--white)}
.tp-quotes figcaption{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:14px;color:var(--gray-500)}
.tp-quotes figcaption b{color:var(--white)}
.tp-quotes figcaption a{color:var(--pink)}

/* visit */
.tp-visit{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px}
.tp-visit h3{margin:0 0 8px;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--gray-500)}
.tp-visit p{margin:0;line-height:1.6}

/* SEO links block (Nimbus fills it) */
.tp-links{padding:48px 0 64px;border-top:1px solid var(--line);background:var(--ink)}
.tp-links h2{font-size:22px;margin:0 0 16px}
.tp-links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px}
.tp-links a{color:var(--gray-400);text-decoration:underline;text-underline-offset:3px}
.tp-links a:hover{color:var(--pink)}

/* journal post */
.tp-dek{max-width:60ch;margin:14px 0 18px;font-size:19px;line-height:1.55;color:var(--gray-400)}
.tp-tags{margin-top:32px}
.tp-creds{list-style:none;margin:6px 0;padding:0;font-size:13px;color:var(--gray-500)}

/* coaches */
.tp-team{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px}
.tp-person{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--white);text-decoration:none;transition:border-color .2s}
.tp-person:hover{border-color:var(--pink)}
.tp-person>span{display:flex;flex-direction:column;gap:2px}
.tp-person b{font-size:18px}
.tp-person small{color:var(--pink);font-weight:600}
.tp-person p{margin:4px 0 0;color:var(--gray-400);font-size:14px;line-height:1.5}
.tp-profile{padding-top:40px}
.tp-avatar{flex:0 0 auto;width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:50% 20%;background:var(--surface-2);box-shadow:0 0 0 2px var(--ink),0 0 0 4px var(--pink)}
.tp-avatar-lg{width:144px;height:144px}
.tp-id{display:flex;align-items:center;gap:24px}
.tp-id h1{margin:6px 0 0}
.tp-profile-in h3{margin:22px 0 4px;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--gray-500)}
.tp-profile-in .lede{margin:0 0 6px}
.tp-profile-in .tp-id+div{margin-top:24px}
.tp-profile-in .lede{max-width:60ch}
.tp-profile h1{margin:8px 0 12px}
.tp-contact{display:flex;gap:18px;margin-top:18px}
.tp-contact a{color:var(--pink)}
.tp-bio{max-width:none;padding:0}

/* legal */
.tp-legal{padding-top:150px}
.tp-legal .wrap{max-width:780px}
.tp-legal h1{margin:8px 0 6px}
.tp-updated{color:var(--gray-500);margin:0 0 36px}
.tp-legal .po-body{max-width:none;padding:0}
.tp-nimbus{margin-top:40px;padding-top:32px;border-top:1px solid var(--line)}
.tp-choices a{color:var(--pink)}

@media (max-width:760px){
  .tp-avatar-lg{width:104px;height:104px}
  .tp-id{gap:18px}
  .tp-two{grid-template-columns:1fr;gap:28px}
  .tp-crumbs{padding-top:84px}
  .tp-hero-short{padding-top:140px}
  .tp-legal{padding-top:120px}
  .tp-quotes blockquote{font-size:18px}
}

/* fixes for light (cream) sections and article bodies */
.tp-card img{max-width:none}
.light .tp-chips li,.light .tp-chip,.po-body .tp-chips li{color:var(--gray-600);border-color:#cfcac3}
.po-body .tp-chips li,.po-author .tp-creds li{padding-left:14px}
.po-body .tp-chips li::before,.po-author .tp-creds li::before{content:none;display:none}
.po-author .tp-creds li{padding-left:0}
.tp-legal .po-body,.tp-legal .po-body p,.tp-legal .po-body li{color:var(--gray-400)}
.tp-legal .po-body h2,.tp-legal .po-body h3,.tp-legal .po-body strong{color:var(--white)}
.tp-legal .po-body a{color:var(--pink)}

/* facts row: as many columns as Nimbus fills, so no empty slot */
.tp-facts .wrap{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}

/* journal post: let the cover photo overlap the dark header instead of sitting flush on the cream edge */
.po-page{display:flow-root;background:linear-gradient(#0A0A0A 0,#0A0A0A 0) top/100% 0 no-repeat,#EAE6E1}
.po-cover-wrap{margin-top:-96px}
.po-cover{box-shadow:0 18px 40px -24px rgba(0,0,0,.45)}
@media (max-width:760px){.po-cover-wrap{margin-top:-80px}}
