/* Elev8 Your Mind — site styles */
:root {
  --magenta: #b3125d;
  --magenta-deep: #8c0d48;
  --magenta-soft: #f6e3ec;
  --blush: #fbf1f5;
  --cream: #fcf9f5;
  --paper: #ffffff;
  --ink: #26191f;
  --muted: #6c5a63;
  --line: #ecdfe5;
  --line-strong: #dcc7d1;
  --focus: rgba(179, 18, 93, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(38, 25, 31, 0.04), 0 12px 32px -16px rgba(38, 25, 31, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--magenta); }
::selection { background: var(--magenta-soft); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--blush { background: var(--blush); }
.section--paper { background: var(--paper); }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 18px;
}
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 34em; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--magenta); color: #fff; }
.btn--primary:hover { background: var(--magenta-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--magenta); color: var(--magenta); }
.btn--light { background: #fff; color: var(--magenta-deep); }
.btn--light:hover { background: var(--magenta-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { font-weight: 600; color: var(--magenta); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { color: var(--magenta-deep); }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--magenta); }
.nav .btn { min-height: 44px; padding: 0 22px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-media { position: relative; }
.hero-media { max-width: 440px; justify-self: end; width: 100%; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-note {
  position: absolute; left: -28px; bottom: 32px; max-width: 250px;
  background: var(--paper); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.5; color: var(--muted);
}
.hero-note strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
  .hero-note { left: 16px; bottom: 16px; }
}

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(36px, 4.2vw, 54px); max-width: 16em; }
.page-hero .lede { margin-top: 20px; }

/* Path cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 16px; }
.card-body .btn, .card-body .link-arrow { margin-top: auto; align-self: flex-start; }
.card-body p + .btn, .card-body p + .link-arrow { margin-top: 22px; }
.card-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin-bottom: 10px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--magenta); margin-bottom: 18px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Magenta band */
.band { background: var(--magenta); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #ffd3e6; }
.band .section-head p { color: rgba(255, 255, 255, 0.82); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillar { border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 24px; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { color: rgba(255, 255, 255, 0.85); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip { grid-template-columns: 1.1fr 0.9fr; }
.split--flip .split-media { order: 2; }
.split-media { max-width: 460px; }
.split--flip .split-media { justify-self: end; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.split-media.wide img { aspect-ratio: 5 / 4; }
.split h2 { margin-bottom: 22px; }
.split .prose p { color: var(--muted); }
.split h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em; margin: 28px 0 10px; color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--magenta); }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .split-media { max-width: 520px; }
}

/* Blog grid */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.post-card .meta .cat { color: var(--magenta); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { font-size: 23px; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.section-foot { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* CTA band */
.cta { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.75); margin-top: 14px; }
.cta .btn-row { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-lines { margin-top: 28px; display: grid; gap: 14px; }
.contact-lines a { text-decoration: none; font-size: 18px; font-weight: 500; }
.contact-lines a:hover { color: var(--magenta); }
.contact-lines small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px 18px; }
.field { grid-column: span 12; min-width: 0; }
.field.half { grid-column: span 6; }
@media (max-width: 640px) { .field.half { grid-column: span 12; } }
.field > label, .field legend {
  display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; line-height: 1.4;
}
.req { color: var(--magenta); margin-left: 2px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.input, .select, .textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 128px; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b3125d' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px var(--focus); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #c0392b; }
.field-error { display: none; color: #b42318; font-size: 13.5px; margin-top: 6px; }
.field.is-invalid .field-error { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--cream); font-size: 15px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.choice span:hover { border-color: var(--line-strong); }
.choice input:checked + span { border-color: var(--magenta); background: var(--magenta-soft); color: var(--magenta-deep); font-weight: 600; }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--focus); }
.rating .choice span { width: 48px; justify-content: center; padding: 0; }
.rating-scale { display: flex; justify-content: space-between; max-width: 290px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: span 12; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-actions .btn { min-width: 240px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { grid-column: span 12; display: none; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.form-status.is-error { display: block; background: #fdecea; color: #8a1c13; }
.form-success { display: none; text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.form-success.is-visible { display: block; }
.form-success:focus { outline: none; }
.form-success .mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--magenta-soft); color: var(--magenta); display: grid; place-items: center; font-size: 30px; }
.form-success h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 30em; margin-inline: auto; }
.is-sent .form-grid { display: none; }

/* Questionnaire layout */
.q-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.q-aside { position: sticky; top: 100px; }
.q-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-bottom: 24px; }
.q-aside h2 { font-size: 26px; margin-bottom: 12px; }
.q-aside p { color: var(--muted); font-size: 16px; }
.q-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.q-facts li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; color: var(--muted); }
.q-facts b { color: var(--ink); font-weight: 600; display: block; }
.q-facts .n { font-family: var(--serif); font-size: 22px; color: var(--magenta); line-height: 1; }
@media (max-width: 960px) { .q-layout { grid-template-columns: 1fr; } .q-aside { position: static; order: 2; } .q-aside img { display: none; } }

/* Article */
.article-head { padding-block: clamp(40px, 5vw, 72px) 28px; }
.article-head .meta { color: var(--muted); font-size: 14.5px; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.article-head .cat { color: var(--magenta); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; text-decoration: none; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.article-body { padding-block: clamp(32px, 4vw, 56px) var(--section); font-size: 18px; line-height: 1.75; }
.article-body h2 { font-size: clamp(28px, 3vw, 36px); margin: 1.6em 0 .55em; }
.article-body h3 { font-size: 26px; margin: 1.4em 0 .5em; }
.article-body h2:first-child, .article-body h3:first-child { margin-top: 0; }
.article-body p { color: #3b2c33; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--magenta); font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--ink); }
.article-body img { border-radius: 16px; margin: 1.4em 0; }
.article-body a { color: var(--magenta); }
.article-cta { margin-top: 48px; background: var(--blush); border-radius: 20px; padding: 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta h3 { font-size: 26px; }
.article-cta p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.back-link { display: inline-flex; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back-link:hover { color: var(--magenta); }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--magenta); }
.footer-brand .brand img { width: 70px; height: 70px; }
.footer-brand p { color: var(--muted); max-width: 26em; margin-top: 14px; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.6; }
.copyright { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .post-card, .gallery img { transition: none; }
}
.skeleton { background: linear-gradient(90deg, var(--blush), #fff, var(--blush)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }

.band h2 em, .cta h2 em { color: #ffd3e6; }
@media (max-width: 860px) { .hero-media { justify-self: start; } .split--flip .split-media { justify-self: start; } }

.article-body hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.2em auto; width: 40%; }
.article-body img { width: 100%; height: auto; }
