﻿/*
Theme Name: MaxPotential U (v1.2)
Theme URI: https://maxpotentialu.com
Author: MaxPotential U, LLC
Author URI: https://maxpotentialu.com
Description: Custom one-page brochure theme for MaxPotential U â€” personal brand strategy, career-change coaching, and LinkedIn transformations with Peg Stookey.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maxpotentialu
*/

/* ============================================================
   MaxPotential U â€” modernized one-page site
   Palette + type sampled from the live brand
   ============================================================ */
:root {
  /* brand palette (sampled from the existing site) */
  --indigo:      #3c3680;
  --indigo-deep: #2e2a63;
  --indigo-soft: #5a55a8;
  --peri:        #7a7fe8;   /* CTA / links */
  --peri-bright: #8f93f2;
  --lavender:    #e7e7fb;
  --lavender-2:  #f1f1fc;
  --teal:        #2fb3bf;
  --gold:        #f0bf2e;
  --ink:         #25224a;   /* near-black, indigo-tinted */
  --slate:       #4c4a63;
  --muted:       #76748c;
  --line:        #e6e5ef;
  --paper:       #ffffff;
  --paper-2:     #faf9fd;

  /* tweakable accent (set by JS) */
  --accent:      var(--peri);
  --accent-deep: #5b60d6;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-serif:"Lora", Georgia, serif;

  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(40,38,90,.06);
  --shadow:    0 18px 50px -22px rgba(40,38,90,.35);
  --shadow-lg: 0 40px 90px -40px rgba(40,38,90,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.center { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; cursor: pointer; border: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 80%, #000);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px color-mix(in oklab, var(--accent) 75%, #000); }
.btn-ghost { background: transparent; color: var(--indigo); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--indigo); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-on-dark { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.32); backdrop-filter: blur(4px); }
.btn-on-dark:hover { background: #fff; color: var(--indigo); transform: translateY(-3px); }

.textlink {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--accent-deep); display: inline-flex; align-items: center; gap: 7px;
}
.textlink svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding: 13px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-logo { height: 46px; width: auto; display: block; transition: height .35s var(--ease); }
.nav.scrolled .brand-logo { height: 38px; }
.footer-logo { height: 44px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--indigo), var(--accent));
  position: relative; box-shadow: 0 6px 16px -6px var(--indigo);
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; border-radius: 50%;
}
.brand-mark::before { width: 11px; height: 11px; background: var(--teal); top: 9px; left: 9px; }
.brand-mark::after  { width: 11px; height: 11px; background: var(--gold); bottom: 9px; right: 9px; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.brand-name b { color: var(--accent-deep); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--slate);
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding: 168px 0 110px;
  background:
    radial-gradient(1100px 600px at 78% -8%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(900px 500px at -5% 8%, var(--lavender-2), transparent 55%),
    linear-gradient(180deg, #fff, var(--paper-2));
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero-kicker { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; letter-spacing: -.025em;
  line-height: 1.02; margin-bottom: 24px; color: var(--ink);
}
.hero h1 .accent { color: var(--accent-deep); }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--indigo); }
.hero-sub { font-size: 19px; color: var(--slate); max-width: 30ch; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 18px; }
.hero-trust .stat { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--indigo); line-height: 1; }
.hero-trust .stat span { color: var(--accent-deep); }
.hero-trust .stat-label { font-size: 14px; color: var(--muted); max-width: 22ch; }
.hero-trust .divider { width: 1px; height: 42px; background: var(--line); }

/* hero portrait composition */
.hero-visual { position: relative; }
.portrait-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6;
  background: var(--lavender);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--indigo) 30%, transparent));
}
.hero-badge {
  position: absolute; left: -26px; bottom: 44px; z-index: 3;
  background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px; max-width: 232px;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: color-mix(in oklab, var(--teal) 16%, #fff); }
.hero-badge .dot svg { width: 20px; height: 20px; color: var(--teal); }
.hero-badge b { font-family: var(--font-head); font-size: 15px; display: block; color: var(--ink); }
.hero-badge span { font-size: 12.5px; color: var(--muted); }
.hero-deco {
  position: absolute; z-index: -1; top: -30px; right: -42px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 70%); opacity: .28; filter: blur(6px);
}
.hero-deco.two { top: auto; bottom: -50px; right: auto; left: -60px; background: radial-gradient(circle, var(--teal), transparent 70%); width: 170px; height: 170px; opacity: .22; }

/* marquee logos / context strip */
.hero-context {
  margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.hero-context .label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); font-weight: 600; }
.hero-context .roles { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-context .roles span { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--slate); opacity: .8; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); color: var(--ink); margin: 18px 0 16px; letter-spacing: -.02em; }
.section-head p { font-size: 18px; color: var(--slate); }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs { background: linear-gradient(180deg, #fff, var(--lavender-2)); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px 34px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.prog-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c, var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.prog-card:hover::before { transform: scaleX(1); }
.prog-icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: color-mix(in oklab, var(--c, var(--accent)) 14%, #fff);
}
.prog-icon svg { width: 30px; height: 30px; color: var(--c, var(--accent)); }
.prog-card h3 { font-size: 24px; margin-bottom: 6px; color: var(--ink); }
.prog-tagline { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--c, var(--accent-deep)); margin-bottom: 18px; letter-spacing: .01em; }
.prog-card > p.desc { font-size: 15.5px; color: var(--slate); margin-bottom: 20px; }
.prog-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.prog-list li { display: flex; gap: 11px; font-size: 15px; color: var(--slate); align-items: flex-start; }
.prog-list li svg { width: 18px; height: 18px; color: var(--c, var(--accent)); flex: none; margin-top: 3px; }
.prog-price { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.prog-price b { color: var(--ink); font-size: 17px; }
.prog-card .btn { margin-top: auto; justify-content: center; }
.prog-card.featured { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.prog-card.featured h3, .prog-card.featured .prog-card-h { color: #fff; }
.prog-card.featured p.desc, .prog-card.featured .prog-list li { color: rgba(255,255,255,.82); }
.prog-card.featured .prog-icon { background: rgba(255,255,255,.12); }
.prog-card.featured .prog-tagline { color: #fff; opacity: .9; }
.prog-card.featured .prog-price { color: rgba(255,255,255,.7); }
.prog-card.featured .prog-price b { color: #fff; }
.featured-flag {
  position: absolute; top: 20px; right: 20px; font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo);
  background: var(--gold); padding: 5px 11px; border-radius: 100px;
}
.combine-note { text-align: center; margin-top: 40px; font-size: 15px; color: var(--muted); }

/* ============================================================
   ABOUT PEG
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-photo { position: relative; position: sticky; top: 110px; }
.about-photo .frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo .frame img { aspect-ratio: 4/4.6; object-fit: cover; object-position: center top; width: 100%; }
.about-quotecard {
  margin-top: -50px; margin-left: 28px; position: relative; z-index: 2;
  background: var(--indigo); color: #fff; border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow);
}
.about-quotecard .mantra-label { font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.about-quotecard .mantra { font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.2; }

.about-cards { display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.about-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; transition: .35s var(--ease); }
.about-card:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); border-color: var(--lavender); }
.about-card h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px; font-weight: 600; }
.about-card p { font-size: 16px; color: var(--slate); }
.about-body p { font-size: 16.5px; color: var(--slate); margin-bottom: 18px; }
.about-body .lead { font-size: 19px; color: var(--ink); font-family: var(--font-serif); line-height: 1.5; }
.quote-pull {
  border-left: 3px solid var(--accent); padding-left: 22px; margin: 28px 0;
  font-family: var(--font-serif); font-style: italic; font-size: 21px; color: var(--indigo); line-height: 1.4;
}
.quote-pull cite { display: block; font-style: normal; font-family: var(--font-head); font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--indigo-deep); color: #fff; overflow: hidden; }
.testi .section-head h2 { color: #fff; }
.testi .section-head p { color: rgba(255,255,255,.75); }
.testi .eyebrow { color: var(--gold); }
.testi .eyebrow::before { background: var(--gold); }
.testi-stage { position: relative; }
.testi-track { display: flex; transition: transform .6s var(--ease); }
.testi-slide { min-width: 100%; padding: 0 4px; }
.testi-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 46px 48px; backdrop-filter: blur(6px);
}
.testi-quote { font-family: var(--font-serif); font-size: clamp(20px, 2.3vw, 27px); line-height: 1.5; color: #fff; }
.testi-quote .mark { font-size: 60px; color: var(--peri-bright); line-height: 0; vertical-align: -.35em; margin-right: 6px; font-family: var(--font-serif); }
.testi-author { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.testi-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.testi-avatar.has-photo { background: rgba(255,255,255,.08); overflow: hidden; }
.testi-avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-author .who b { font-family: var(--font-head); font-weight: 600; font-size: 17px; display: block; }
.testi-author .who span { font-size: 14px; color: rgba(255,255,255,.6); }
.testi-perspective {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14.5px; color: rgba(255,255,255,.72); line-height: 1.6;
}
.testi-perspective b { color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 7px; }
.testi-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.testi-dots { display: flex; gap: 9px; flex-wrap: wrap; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; transition: .3s; }
.testi-dots button.active { background: var(--gold); width: 26px; border-radius: 5px; }
.testi-arrows { display: flex; gap: 12px; }
.testi-arrows button {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28);
  background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: .3s var(--ease);
}
.testi-arrows button:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.testi-arrows svg { width: 19px; height: 19px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside p { font-size: 17px; color: var(--slate); margin: 16px 0 28px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--ink);
  transition: color .25s;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent-deep); border-radius: 2px; transition: .3s var(--ease); }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px; height: 12px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 4px 28px; font-size: 16px; color: var(--slate); max-width: 60ch; }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--lavender-2), #fff); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-panel {
  background: var(--indigo); color: #fff; border-radius: var(--radius); padding: 48px 44px;
  position: relative; overflow: hidden;
}
.contact-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--peri-bright), transparent 70%); opacity: .4; bottom: -90px; right: -70px; }
.contact-panel h2 { color: #fff; font-size: 36px; margin-bottom: 16px; }
.contact-panel > p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 32px; max-width: 36ch; }
.contact-links { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.contact-link { display: flex; align-items: center; gap: 16px; }
.contact-link .ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; transition: .3s var(--ease); }
.contact-link:hover .ic { background: #fff; }
.contact-link:hover .ic svg { color: var(--indigo); }
.contact-link .ic svg { width: 21px; height: 21px; color: #fff; transition: .3s; }
.contact-link b { font-family: var(--font-head); font-weight: 600; font-size: 16px; display: block; }
.contact-link span { font-size: 13px; color: rgba(255,255,255,.6); }
.contact-cta-row { margin-top: 36px; position: relative; z-index: 1; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--slate); display: block; margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink); background: var(--paper-2);
  transition: .25s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 30px 0; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in oklab, var(--teal) 16%, #fff); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .check svg { width: 30px; height: 30px; color: var(--teal); }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--slate); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--indigo-deep); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand-name { color: #fff; }
.footer-blurb { max-width: 36ch; font-size: 15px; margin-top: 16px; }
.footer-nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; margin-bottom: 11px; color: rgba(255,255,255,.66); transition: color .25s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; }
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Content is visible by default; the reveal is an enhancement that only plays
   when JS adds .in. If JS/observer never runs, nothing stays hidden. */
.reveal { opacity: 1; transform: none; }
@keyframes mpuRevealIn {
  from { transform: translateY(22px); }
  to   { transform: translateY(0); }
}
.has-js .reveal.in { animation: mpuRevealIn .7s var(--ease) both; }
.has-js .reveal.in.d1 { animation-delay: .08s; }
.has-js .reveal.in.d2 { animation-delay: .16s; }
.has-js .reveal.in.d3 { animation-delay: .24s; }
@media print {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .nav, #tweaks, .mobile-menu { display: none !important; }
}

/* ============================================================
   MOBILE
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: var(--indigo-deep);
  display: flex; flex-direction: column; padding: 80px 32px 40px; gap: 6px;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--font-head); font-weight: 600; font-size: 26px; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
.mobile-close { position: absolute; top: 24px; right: 26px; background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; }
.mobile-close svg { width: 28px; height: 28px; }

/* ============================================================
   TWEAK VARIANTS
   ============================================================ */
/* hero layout: centered minimal */
body.hero-centered .hero-grid { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: center; }
body.hero-centered .hero-visual { display: none; }
body.hero-centered .hero-kicker .eyebrow,
body.hero-centered .eyebrow { justify-content: center; }
body.hero-centered .hero-sub { margin-left: auto; margin-right: auto; max-width: 46ch; }
body.hero-centered .hero-actions { justify-content: center; }
body.hero-centered .hero-trust { justify-content: center; }

/* corner style: sharp */
body.corners-sharp {
  --radius: 6px; --radius-sm: 4px;
}
body.corners-sharp .btn { border-radius: 6px; }
body.corners-sharp .brand-mark { border-radius: 6px; }
body.corners-sharp .prog-card, body.corners-sharp .about-card, body.corners-sharp .contact-panel,
body.corners-sharp .contact-form, body.corners-sharp .testi-card, body.corners-sharp .field input,
body.corners-sharp .field textarea, body.corners-sharp .prog-icon, body.corners-sharp .hero-badge,
body.corners-sharp .about-quotecard, body.corners-sharp .portrait-frame, body.corners-sharp .about-photo .frame { border-radius: 6px; }
body.corners-sharp .testi-avatar { border-radius: 6px; }

/* ============================================================
   TWEAKS PANEL (host-driven)
   ============================================================ */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 286px; display: none;
  font-family: var(--font-body); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(40,38,90,.45); overflow: hidden; }
#tweaks.show { display: block; }
#tweaks .tk-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
#tweaks .tk-head b { font-family: var(--font-head); font-size: 15px; color: var(--ink); }
#tweaks .tk-close { background: none; border: 0; cursor: pointer; color: var(--muted); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
#tweaks .tk-close:hover { background: var(--lavender-2); color: var(--ink); }
#tweaks .tk-body { padding: 16px; display: flex; flex-direction: column; gap: 18px; max-height: 70vh; overflow-y: auto; }
#tweaks .tk-label { font-family: var(--font-head); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
#tweaks .tk-swatches { display: flex; gap: 10px; }
#tweaks .tk-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; transition: .2s; }
#tweaks .tk-swatch.active { outline-color: var(--ink); }
#tweaks .tk-seg { display: flex; background: var(--lavender-2); border-radius: 10px; padding: 4px; gap: 4px; }
#tweaks .tk-seg button { flex: 1; border: 0; background: none; cursor: pointer; padding: 8px 6px; border-radius: 7px; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--muted); transition: .2s; }
#tweaks .tk-seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { position: static; max-width: 420px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 76px 0; }
  .hero { padding: 130px 0 80px; }
  .prog-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; }
  .testi-card { padding: 32px 26px; }
  .contact-panel, .contact-form { padding: 34px 26px; }
  .footer-top { flex-direction: column; }
}

/* ============================================================
   LEGAL PAGES (privacy / terms / disclaimer)
   ============================================================ */
.nav.solid { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line); padding: 13px 0; }
.nav.solid .brand-logo { height: 40px; }

.legal-hero {
  position: relative; padding: 150px 0 64px;
  background:
    radial-gradient(900px 460px at 82% -20%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(760px 420px at -6% 0%, var(--lavender-2), transparent 55%),
    linear-gradient(180deg, #fff, var(--paper-2));
  border-bottom: 1px solid var(--line);
}
.legal-hero .wrap { max-width: 860px; }
.legal-hero .eyebrow { margin-bottom: 18px; }
.legal-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 600; letter-spacing: -.025em;
  color: var(--ink); line-height: 1.04; }
.legal-hero .updated { margin-top: 20px; font-size: 14px; color: var(--muted);
  font-family: var(--font-head); font-weight: 500; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 9px; }
.legal-hero .updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.legal-body { padding: 64px 0 96px; }
.legal-body .wrap { max-width: 860px; }
.legal-doc { font-size: 16.5px; line-height: 1.78; color: var(--slate); }
.legal-doc > .intro { font-size: 18.5px; line-height: 1.72; color: var(--ink);
  font-family: var(--font-serif); font-weight: 500; margin-bottom: 8px; }
.legal-doc p { margin: 0 0 20px; text-wrap: pretty; }
.legal-doc h2 {
  font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--indigo);
  letter-spacing: -.01em; line-height: 1.25; margin: 44px 0 14px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--accent-deep); font-weight: 600; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc .addr { font-style: normal; line-height: 1.8; margin: 0 0 20px;
  padding: 18px 22px; background: var(--lavender-2); border-radius: 14px; color: var(--ink); }

.legal-foot-note { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.legal-foot-note .tiny { font-size: 13.5px; color: var(--muted); }
.legal-crosslinks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.legal-crosslinks a { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); }
.legal-crosslinks a:hover, .legal-crosslinks a.current { color: var(--accent-deep); }

@media (max-width: 760px) {
  .legal-hero { padding: 120px 0 48px; }
  .legal-body { padding: 48px 0 72px; }
  .legal-doc { font-size: 16px; }
}

/* ============================================================
   WORDPRESS ADMIN BAR
   Offset the fixed nav below the admin bar for logged-in users
   so the top of the menu is never cut off.
   ============================================================ */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}

/* ============================================================
   WPFORMS â€” style the embedded form to match the site
   ============================================================ */
.wpforms-embed .wpforms-field { padding: 0 0 20px; }
.wpforms-embed .wpforms-field-label {
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--slate);
  display: block; margin-bottom: 8px; letter-spacing: .02em;
}
.wpforms-embed .wpforms-required-label { color: var(--accent-deep); }
.wpforms-embed input[type=text], .wpforms-embed input[type=email], .wpforms-embed input[type=tel], .wpforms-embed input[type=url], .wpforms-embed input[type=number], .wpforms-embed textarea, .wpforms-embed select {
  width: 100%; max-width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: var(--paper-2); transition: .25s var(--ease); box-shadow: none;
}
.wpforms-embed textarea { resize: vertical; min-height: 130px; }
.wpforms-embed input:focus,
.wpforms-embed textarea:focus,
.wpforms-embed select:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent);
}
.wpforms-embed .wpforms-field-description { font-size: 13px; color: var(--muted); margin-top: 6px; }
.wpforms-embed button.wpforms-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  padding: 15px 28px; border: 0; border-radius: 100px; cursor: pointer; margin-top: 6px;
  background: var(--accent); color: #fff;
  box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 80%, #000);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.wpforms-embed button.wpforms-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -14px color-mix(in oklab, var(--accent) 75%, #000);
}
.wpforms-embed label.wpforms-error {
  color: #d23b3b; font-size: 13px; margin-top: 6px; font-family: var(--font-body); font-weight: 500;
}
.wpforms-embed input.wpforms-error,
.wpforms-embed textarea.wpforms-error { border-color: #d23b3b; }
.wpforms-embed .wpforms-confirmation-container-full {
  background: var(--lavender-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6;
}

/* Force the site's styling onto the WPForms contact form */
.contact-form .wpforms-container { margin: 0; }
.contact-form .wpforms-field { padding: 0 0 20px !important; }
.contact-form .wpforms-field-label {
  font-family: var(--font-head) !important; font-weight: 600 !important;
  font-size: 13px !important; color: var(--slate) !important;
  margin: 0 0 8px !important; letter-spacing: .02em !important;
}
.contact-form .wpforms-required-label { color: var(--accent-deep) !important; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select {
  width: 100% !important; max-width: 100% !important;
  border: 1.5px solid var(--line) !important; border-radius: 12px !important;
  padding: 14px 16px !important; font-family: var(--font-body) !important;
  font-size: 15.5px !important; color: var(--ink) !important;
  background-color: var(--paper-2) !important; box-shadow: none !important;
}
.contact-form textarea { resize: vertical !important; min-height: 130px !important; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent) !important; background-color: #fff !important;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent) !important;
  outline: none !important;
}
.contact-form button[type="submit"],
.contact-form .wpforms-submit {
  width: 100% !important; display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
  font-family: var(--font-head) !important; font-weight: 600 !important;
  font-size: 15px !important; letter-spacing: .02em !important;
  padding: 15px 28px !important; border: 0 !important; border-radius: 100px !important;
  background-color: var(--accent) !important; color: #fff !important; cursor: pointer;
  box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 80%, #000) !important;
}
.contact-form button[type="submit"]:hover,
.contact-form .wpforms-submit:hover { transform: translateY(-3px); }
.contact-form label.wpforms-error {
  color: #d23b3b !important; font-size: 13px !important; margin-top: 6px !important; font-weight: 500 !important;
}
.contact-form input.wpforms-error,
.contact-form textarea.wpforms-error { border-color: #d23b3b !important; }
.contact-form .wpforms-confirmation-container-full {
  background: var(--lavender-2) !important; border: 1px solid var(--line) !important;
  border-radius: 14px !important; padding: 22px 24px !important; margin: 0 !important;
  color: var(--ink) !important; font-size: 16px !important;
}