/* ==========================================================
   PILLAR FITNESS — Canyon chrome theme
   ========================================================== */

:root {
  --pf-bg: #0E0D0C;
  --pf-bg-deep: #080707;
  --pf-surface: #22201E;
  --pf-surface-2: #2B2825;
  --pf-line: #3A3632;
  --pf-steel: #8A8F96;
  --pf-chrome: #D6DADF;
  --pf-accent: #E0703A;
  --pf-accent-hover: #C85F2D;
  --pf-sand: #E8D5B9;
  --pf-sand-soft: #F3E9DA;
  --pf-text: #F4F1EC;
  --pf-text-muted: #B5ADA3;
  --pf-on-accent: #1A0D06;
  --pf-ink: #22201E;
  --pf-ink-muted: #5E554B;

  --font-head: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pf-bg);
  color: var(--pf-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pf-accent); text-decoration: none; }
a:hover { color: var(--pf-sand); }
strong { color: var(--pf-text); font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--pf-accent); color: var(--pf-on-accent); padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--pf-accent); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.block { padding: 6rem 0; }
.block-tight { padding: 4rem 0; }
.bg-surface { background: var(--pf-surface); }
.bg-deep { background: var(--pf-bg-deep); }
.bg-sand { background: var(--pf-sand-soft); color: var(--pf-ink); }
.bg-sand h2, .bg-sand h3, .bg-sand strong { color: var(--pf-ink); }
.bg-sand p, .bg-sand li { color: var(--pf-ink-muted); }
.bg-sand .eyebrow { color: var(--pf-accent-hover); }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.two-col.flip > :first-child { order: 2; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pf-sand);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 28px; height: 2px;
  background: var(--pf-accent); vertical-align: middle; margin-right: .7rem; transform: translateY(-2px);
}
.center .eyebrow::after {
  content: ''; display: inline-block; width: 28px; height: 2px;
  background: var(--pf-accent); vertical-align: middle; margin-left: .7rem; transform: translateY(-2px);
}
.accent { color: var(--pf-accent); }
.sand { color: var(--pf-sand); }
.lead { font-size: 1.2rem; color: var(--pf-text-muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--pf-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .95rem 1.6rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pf-accent); color: var(--pf-on-accent); }
.btn-primary:hover { background: var(--pf-accent-hover); color: var(--pf-on-accent); }
.btn-ghost { border-color: var(--pf-steel); color: var(--pf-text); background: transparent; }
.btn-ghost:hover { border-color: var(--pf-sand); color: var(--pf-sand); }
.bg-sand .btn-ghost { border-color: var(--pf-ink-muted); color: var(--pf-ink); }
.bg-sand .btn-ghost:hover { border-color: var(--pf-accent-hover); color: var(--pf-accent-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center .btn-row { justify-content: center; }
.text-link { font-weight: 600; color: var(--pf-accent); display: inline-flex; gap: .4rem; align-items: center; }
.text-link:hover { color: var(--pf-sand); }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 13, 12, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pf-line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: .7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .8rem; color: var(--pf-text); }
.brand:hover { color: var(--pf-text); }
.brand img { height: 54px; width: auto; mix-blend-mode: lighten; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pf-steel); margin-top: .2rem; }
.main-menu { display: flex; align-items: center; gap: 1.8rem; }
.main-menu a { color: var(--pf-text-muted); font-weight: 500; font-size: .95rem; position: relative; }
.main-menu a:hover, .main-menu a.active { color: var(--pf-text); }
.main-menu a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--pf-accent);
}
.main-menu a.nav-cta {
  background: var(--pf-accent); color: var(--pf-on-accent);
  padding: .6rem 1.1rem; border-radius: 8px; font-weight: 600;
}
.main-menu a.nav-cta:hover { background: var(--pf-accent-hover); color: var(--pf-on-accent); }
.main-menu a.nav-cta.active::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--pf-line); color: var(--pf-text);
  font: 600 .85rem var(--font-body); padding: .55rem .9rem; border-radius: 8px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,13,12,.94) 0%, rgba(14,13,12,.72) 45%, rgba(14,13,12,.25) 100%),
    linear-gradient(0deg, rgba(14,13,12,1) 0%, rgba(14,13,12,0) 30%);
}
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 6rem 1.5rem; width: 100%; }
.hero-content { max-width: 680px; }
.hero h1 { margin-bottom: .35em; }
.hero-sub { font-size: 1.25rem; color: var(--pf-text-muted); max-width: 600px; }
.hero-note { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; font-size: .9rem; color: var(--pf-text-muted); }
.hero-note span::before { content: '◆'; color: var(--pf-accent); font-size: .7rem; margin-right: .55rem; vertical-align: 2px; }

.page-hero { min-height: 58vh; }
.page-hero .hero-inner { padding: 5rem 1.5rem 4rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: #5a524a; transform: translateY(-3px); }
.bg-surface .card { background: var(--pf-bg); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--pf-text-muted); }
.card p:last-child { margin-bottom: 0; }
.card-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pf-accent); margin-bottom: .8rem; display: block;
}

/* Pillars */
.pillar { position: relative; padding-top: 2.4rem; }
.pillar-num {
  font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--pf-steel);
  position: absolute; top: 1.4rem; right: 1.6rem; opacity: .6;
}
.pillar-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(224, 112, 58, .12); color: var(--pf-accent);
  margin-bottom: 1.3rem;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar ul { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .92rem; color: var(--pf-text-muted); }
.pillar li { padding: .3rem 0; border-top: 1px solid var(--pf-line); }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { position: relative; padding: .55rem 0 .55rem 2.1rem; color: var(--pf-text-muted); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .9rem; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(224,112,58,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23E0703A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.bg-sand .check-list li { color: var(--pf-ink-muted); }

/* Milestone path */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; margin-top: 3rem; }
.path::before {
  content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--pf-steel) 0 8px, transparent 8px 16px);
  opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  background: var(--pf-bg); border: 2px solid var(--pf-accent);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--pf-accent);
  position: relative;
}
.bg-surface .step-dot { background: var(--pf-surface); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--pf-text-muted); font-size: .96rem; }
.step:last-child .step-dot { background: var(--pf-accent); color: var(--pf-on-accent); }

/* Photo panel */
.photo-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.photo-panel figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(14,13,12,.82); color: var(--pf-sand);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .5rem .85rem; border-radius: 6px;
}
.photo-panel::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  pointer-events: none;
}

/* Destination cards */
.dest {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  border: 1px solid var(--pf-line);
}
.dest::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,13,12,.95) 0%, rgba(14,13,12,.55) 55%, rgba(14,13,12,.15) 100%);
}
.dest-body { position: relative; padding: 1.8rem; }
.dest-body h3 { margin-bottom: .3em; color: var(--pf-text); transition: color .2s; }
a.dest:hover .dest-body h3 { color: var(--pf-sand); }
a.dest:hover { border-color: #5a524a; }
.dest-body p { color: var(--pf-text-muted); font-size: .96rem; margin-bottom: .8rem; }
.dest-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  padding: .3rem .65rem; border-radius: 999px;
  background: rgba(232,213,185,.12); color: var(--pf-sand); border: 1px solid rgba(232,213,185,.25);
}
.dest-canyon { background-image: url('../images/hero-contact.jpg'); }
.dest-alpine { background-image: url('../images/alpine-start.jpg'); background-position: center 72%; }
.dest-rockies { background-image: url('../images/panel-mountain.jpg'); }
.dest-gc { background-image: url('../images/panel-mountain.jpg'); }
.dest-more { background-image: url('../images/ridge-peaks.jpg'); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 3.5rem; }
.stat { border-left: 2px solid var(--pf-accent); padding: .3rem 0 .3rem 1.2rem; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1.1; color: var(--pf-text); }
.stat .lbl { font-size: .85rem; color: var(--pf-text-muted); }

/* Mission / quote */
.mission {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--pf-text);
  position: relative;
  padding-top: 3.2rem;
}
.mission::before {
  content: '“'; position: absolute; top: -1.2rem; left: 50%; transform: translateX(-50%);
  font-size: 6rem; line-height: 1; color: var(--pf-accent); font-family: Georgia, serif;
}
.mission cite {
  display: block; margin-top: 1.6rem; font-family: var(--font-body); font-style: normal;
  font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-steel);
}
.bg-sand .mission { color: var(--pf-ink); }
.bg-sand .mission cite { color: var(--pf-ink-muted); }

/* Format row */
.format { display: flex; gap: 1.1rem; align-items: flex-start; }
.format-icon {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center; background: var(--pf-surface-2); color: var(--pf-sand);
}
.format-icon svg { width: 22px; height: 22px; }
.format h3 { font-size: 1.2rem; margin-bottom: .3em; }
.format p { color: var(--pf-text-muted); font-size: .97rem; margin: 0; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--pf-line);
  padding: 1.2rem 0;
}
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--pf-accent); font-size: 1.6rem; font-family: var(--font-body); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--pf-text-muted); margin: .8rem 0 0; }

/* CTA banner */
.cta-banner {
  position: relative; padding: 6rem 1.5rem; text-align: center; overflow: hidden;
  background: linear-gradient(rgba(14,13,12,.82), rgba(14,13,12,.9)), url('../images/sunset-rocks.jpg') center 55%/cover no-repeat;
  border-top: 1px solid var(--pf-line);
}
.cta-banner h2 { max-width: 760px; margin: 0 auto .4em; }
.cta-banner p { max-width: 620px; margin: 0 auto; color: var(--pf-text-muted); font-size: 1.15rem; }
.cta-banner .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.form-card { background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: var(--radius-lg); padding: 2.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .45rem; color: var(--pf-text); }
.req { color: var(--pf-accent); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--pf-text);
  background: var(--pf-bg); border: 1px solid var(--pf-line); border-radius: 8px;
  padding: .8rem .95rem;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #7d756c; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--pf-accent); box-shadow: 0 0 0 3px rgba(224,112,58,.2);
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%238A8F96' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem;
}
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--pf-text-muted); margin-top: .8rem; }

.contact-aside .format { margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pf-bg-deep); border-top: 1px solid var(--pf-line); padding: 4rem 1.5rem 2rem; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 90px; width: auto; mix-blend-mode: lighten; margin-bottom: 1rem; }
.site-footer p, .site-footer li { color: var(--pf-text-muted); font-size: .95rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pf-sand); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: var(--pf-text-muted); }
.site-footer a:hover { color: var(--pf-accent); }
.copyright {
  max-width: var(--wrap); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--pf-line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: var(--pf-steel);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .path::before { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--pf-bg); border-bottom: 1px solid var(--pf-line);
    padding: .5rem 1.5rem 1.5rem;
    display: none;
  }
  .main-menu.open { display: flex; }
  .main-menu a { padding: .9rem 0; border-bottom: 1px solid var(--pf-line); }
  .main-menu a.active::after { display: none; }
  .main-menu a.nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .brand img { height: 46px; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .block { padding: 4.5rem 0; }
  .grid-2, .grid-3, .grid-4, .path { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.6rem; }
  .hero { min-height: 80vh; }
  .hero::before { background: linear-gradient(0deg, rgba(14,13,12,.96) 0%, rgba(14,13,12,.75) 60%, rgba(14,13,12,.55) 100%); }
  .brand-sub { display: none; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

/* Longer two-line hero headline */
.hero h1.hero-long { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.dest-blueridge { background-image: url('../images/forest-river.jpg'); background-position: center 40%; }

/* ---------- Five Pillars page ---------- */
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-5 .card { padding: 1.6rem 1.4rem; }
.grid-5 .pillar-num { font-size: 2.4rem; right: 1.2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 500; color: var(--pf-text);
  background: rgba(14,13,12,.6); border: 1px solid var(--pf-line);
  padding: .45rem .9rem .45rem .45rem; border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.chip span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pf-accent); color: var(--pf-on-accent); font-size: .72rem; font-weight: 700;
}
.chip:hover { border-color: var(--pf-accent); color: var(--pf-sand); }
.pillar-detail { scroll-margin-top: 80px; }
.pd-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.pd-head { position: relative; }
.pd-num {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--pf-steel); opacity: .45; margin-bottom: 1rem;
}
.pd-head .pillar-icon { position: absolute; top: .6rem; right: 0; }
.pd-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.pd-body { display: grid; gap: 1rem; }
.pd-box { background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: var(--radius-lg); padding: 1.5rem 1.7rem; }
.bg-surface .pd-box { background: var(--pf-bg); }
.pd-box p { color: var(--pf-text-muted); margin: 0; }
.pd-box .check-list { margin-top: .4rem; }
.pd-box .check-list li { padding: .35rem 0 .35rem 2.1rem; }
.pd-box .check-list li::before { top: .65rem; }
.sources summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--pf-text); }
.sources ul { padding-left: 1.2rem; margin: 1rem 0 0; }
.sources li { font-size: .92rem; padding: .25rem 0; }
.sources p { font-size: .92rem; margin-top: 1rem; }
.pillar-teaser { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2rem; }
@media (max-width: 1180px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1020px) { .pd-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 760px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-5 { grid-template-columns: 1fr; } .pd-num { font-size: 3.6rem; } }

/* ---------- Start (QR sign-up) page ---------- */
.start-hero { padding: 5rem 0 6rem; background: radial-gradient(ellipse at 20% 0%, rgba(224,112,58,.12), transparent 55%), var(--pf-bg); }
.start-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.start-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.locked-note { background: rgba(224,112,58,.12); border: 1px solid rgba(224,112,58,.4); color: var(--pf-sand); padding: .8rem 1rem; border-radius: 8px; margin: 1rem 0; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: .88rem; font-weight: 600; margin-bottom: .55rem; color: var(--pf-text); padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; margin: 0; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-block; padding: .6rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  border: 1px solid var(--pf-line); background: var(--pf-bg); color: var(--pf-text-muted);
  transition: border-color .15s, background .15s, color .15s;
}
.pill:hover span { border-color: var(--pf-steel); color: var(--pf-text); }
.pill input:checked + span { background: var(--pf-accent); border-color: var(--pf-accent); color: var(--pf-on-accent); }
.pill input:focus-visible + span { outline: 2px solid var(--pf-accent); outline-offset: 2px; }

/* ---------- Journey page ---------- */
.journey-hero { padding: 4.5rem 0 3rem; }
.jh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.journey-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.jh-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 105px); gap: .8rem; }
.jh-photos div { border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--pf-line); }
.jh-photos div:nth-child(1) { grid-column: 1; grid-row: 1; }
.jh-photos div:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.jh-photos div:nth-child(3) { grid-column: 1; grid-row: 2 / 4; }
.jh-photos div:nth-child(4) { grid-column: 2; grid-row: 3; }
.map-section { padding-top: 3rem; }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: stretch; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--pf-line); background: #15130F; }
.topo { display: block; width: 100%; height: auto; }
.topo-bg { fill: #15130F; }
.contour-minor path { fill: none; stroke: #E8D5B9; stroke-opacity: .13; stroke-width: 1; }
.contour-major path { fill: none; stroke: #E8D5B9; stroke-opacity: .3; stroke-width: 1.6; }
.topo .grid line { stroke: #8A8F96; stroke-opacity: .07; stroke-width: 1; }
.trail { fill: none; stroke: #E0703A; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 2 10; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -24; } }
.node { cursor: pointer; outline: none; }
.node .dot { fill: #0E0D0C; stroke: #E0703A; stroke-width: 3; transition: fill .2s; }
.node .halo { fill: #E0703A; fill-opacity: 0; transition: fill-opacity .2s; }
.node .num { fill: #E0703A; font: 700 15px var(--font-body); pointer-events: none; }
.node .lbl { fill: #F4F1EC; font: 600 17px var(--font-body); paint-order: stroke; stroke: #15130F; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.node:hover .halo, .node:focus-visible .halo { fill-opacity: .18; }
.node.active .dot { fill: #E0703A; }
.node.active .num { fill: #1A0D06; }
.node.active .halo { fill-opacity: .25; }
.node-start .dot, .node-summit .dot { stroke: #E8D5B9; }
.node-start .num, .node-summit .num { fill: #E8D5B9; }
.compass circle { fill: none; stroke: #8A8F96; stroke-opacity: .5; }
.compass path { fill: #E8D5B9; fill-opacity: .6; }
.compass text, .topo .elev { fill: #8A8F96; font: 600 11px var(--font-body); letter-spacing: .12em; }
.map-panel { background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; }
.map-panel h3 { font-size: 1.5rem; }
.map-panel p { color: var(--pf-text-muted); }
.jstat { font-size: .93rem; background: rgba(232,213,185,.07); border-left: 2px solid var(--pf-accent); padding: .7rem .9rem; border-radius: 0; color: var(--pf-text-muted); }
.mp-nav { margin-top: auto; display: flex; gap: .6rem; padding-top: 1rem; }
.mp-nav .btn { padding: .75rem 1rem; }
.mp-nav .btn-primary { flex: 1; justify-content: center; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.leg {
  font: 500 .88rem var(--font-body); color: var(--pf-text); background: var(--pf-surface);
  border: 1px solid var(--pf-line); border-radius: 999px; padding: .5rem .95rem; cursor: pointer;
}
.leg span { color: var(--pf-accent); font-weight: 600; margin-right: .45rem; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.leg:hover, .leg.active { border-color: var(--pf-accent); }
.jcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.jcard { background: var(--pf-bg); border: 1px solid var(--pf-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.jcard-img { height: 150px; background-size: cover; background-position: center; position: relative; }
.jcard-img span {
  position: absolute; left: 1rem; bottom: -18px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pf-accent); color: var(--pf-on-accent); font-weight: 700; font-size: .85rem;
}
.jcard-body { padding: 1.8rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.jcard-body h3 { font-size: 1.2rem; }
.jcard-body p { color: var(--pf-text-muted); font-size: .93rem; }
.jcard-body .text-link { margin-top: auto; font-size: .92rem; }
@media (max-width: 1180px) { .jcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1020px) {
  .map-wrap, .start-grid, .jh-grid { grid-template-columns: 1fr; }
  .start-grid { gap: 2.5rem; }
}
@media (max-width: 760px) {
  .jcards { grid-template-columns: 1fr 1fr; }
  .map-frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .topo { min-width: 760px; }
  .map-hint { display: block; }
  .jh-photos { grid-template-rows: repeat(3, 80px); }
}
@media (max-width: 520px) { .jcards { grid-template-columns: 1fr; } }

.map-hint { display: none; text-align: center; font-size: .82rem; color: var(--pf-steel); margin: .6rem 0 0; }
.mp-nav .btn { width: auto; }
.mp-nav #mp-prev { flex: none; width: 52px; justify-content: center; }
.map-wrap > div, .map-wrap > aside { min-width: 0; }
@media (max-width: 760px) { .map-hint { display: block; } }

/* ---------- Pillar illustrations ---------- */
.pillar-group-wrap { max-width: 920px; margin-left: auto; margin-right: auto; }
.pillar-group { display: block; width: 100%; height: auto; }
.pillar-band { padding: 3.5rem 0 0; background: linear-gradient(180deg, var(--pf-bg) 0%, var(--pf-bg-deep) 100%); }
.pd-art { position: relative; width: 280px; margin: 0 0 1.2rem; display: flex; flex-direction: column; align-items: center; }
.pd-fig { display: block; height: 230px; width: auto; max-width: 280px; object-fit: contain; object-position: center bottom; position: relative; z-index: 1; margin-bottom: -3px; }
.pd-art-strength .pd-fig, .pd-art-hypertrophy .pd-fig { height: 210px; }
.pd-art-endurance .pd-fig { height: 190px; margin-bottom: -6px; }
.pd-art-hypertrophy .pd-fig { margin-bottom: 8px; }
.pillar-col { display: block; width: 150px; height: auto; }
.pillar-art { display: block; width: 100%; height: auto; }
.pd-tag {
  position: absolute; right: -6px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pf-accent); color: var(--pf-on-accent); font-weight: 700; font-size: .85rem;
}
sup.cite { font-size: .68em; line-height: 0; margin-left: 1px; }
sup.cite a { color: var(--pf-accent); font-weight: 600; padding: 0 1px; }
sup.cite a:hover { color: var(--pf-sand); }
.refs { padding-left: 1.4rem; margin: 1rem 0 0; }
.refs li { font-size: .9rem; color: var(--pf-text-muted); padding: .35rem 0; scroll-margin-top: 90px; }
.refs li:target { color: var(--pf-sand); }
.refs-note { font-size: .88rem; margin-top: 1.2rem; }
@media (max-width: 640px) { .pd-art { width: 240px; } .pd-fig { height: 190px; max-width: 240px; } .pillar-col { width: 120px; } }
@media (min-width: 1000px) {
  .pillar-teaser { flex-wrap: nowrap; width: max-content; position: relative; left: 50%; transform: translateX(-50%); }
}

.pd-art .pd-tag { right: 48px; bottom: 22px; z-index: 2; }
@media (max-width: 640px) { .pd-art .pd-tag { right: 40px; } }
