/* Up Again Active Living LLC | universal responsive production base.
   Exact brief colors and minimum 18px body copy; no external CSS/framework dependencies. */
:root {
  font-size: 18px;
  --navy: #242C39;
  --white: #FFFFFF;
  --gold: #EAC877;
  --slate: #636D79;
  --wash: #F8F9FA;
  --page-pad: 50px;
  --container-width: 1440px;
  --section-space: 120px;
  --header-height: 98px;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --transition: .4s ease-in-out;
}
*,*::before,*::after { box-sizing:border-box; }
html { max-width:100%; scroll-padding-top:calc(var(--header-height) + 24px); }
body { margin:0; max-width:100%; min-width:0; color:var(--navy); background:var(--white); font-family:var(--sans); font-size:1rem; font-weight:400; line-height:1.65; -webkit-font-smoothing:antialiased; }
img,svg,video,canvas { max-width:100%; height:auto; }
img { display:block; }
[hidden] { display:none!important; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
p,h1,h2,h3,h4,ul,figure { margin-top:0; }
p { margin-bottom:24px; }
strong,b { font-weight:700; }
h1,h2,h3,h4 { text-wrap:balance; }
h1,h2 { font-family:var(--serif); font-weight:600; letter-spacing:-.032em; }
h1 { font-size:56px; line-height:1.15; margin:0 0 30px; }
h2 { font-size:40px; line-height:1.25; margin:0 0 24px; }
h3 { font-size:24px; line-height:1.35; letter-spacing:.02em; font-family:var(--sans); font-weight:500; margin:0 0 18px; }
h1 em,h2 em { font-weight:500; font-style:italic; }
:focus-visible { outline:3px solid var(--navy); outline-offset:4px; }
.section--navy :focus-visible,.page-hero :focus-visible,.site-footer :focus-visible { outline-color:var(--gold); }
.skip-link { position:fixed; top:10px; left:10px; z-index:1000; display:flex; justify-content:center; align-items:center; min-height:56px; padding:12px 24px; background:var(--navy); color:var(--white); transform:translateY(-200%); border:3px solid var(--gold); }
.skip-link:focus { transform:translateY(0); }
.container { width:min(calc(100% - 2 * var(--page-pad)),var(--container-width)); margin-inline:auto; }
.section { padding-block:var(--section-space); }
.section--tinted { background:var(--wash); }
.section--navy { background:var(--navy); color:var(--white); }
.eyebrow { display:flex; gap:16px; align-items:center; margin:0 0 28px; font-size:15px; line-height:1.4; font-weight:700; letter-spacing:.19em; text-transform:uppercase; color:var(--slate); }
.eyebrow-rule { flex:none; display:block; width:38px; height:2px; background:var(--gold); }
.eyebrow--dark { color:var(--navy); }
.eyebrow--gold { color:var(--gold); }
.eyebrow--gold .eyebrow-rule { background:var(--gold); }
.button { display:inline-flex; align-items:center; justify-content:center; text-align:center; gap:18px; min-height:58px; min-width:48px; padding:18px 36px; border:1px solid transparent; border-radius:2px; font-size:17px; font-weight:650; line-height:1.35; letter-spacing:.006em; transition:opacity var(--transition),transform var(--transition),background-color var(--transition),border-color var(--transition); }
.button span:last-child { font-size:22px; font-weight:400; line-height:1; flex:none; }
.button--navy { background:var(--navy); color:var(--white); }
.button--outline { border-color:var(--navy); background:rgba(255,255,255,.9); color:var(--navy); }
.button--light { background:var(--white); color:var(--navy); }
.button--full { width:100%; }
.button-row { display:flex; flex-wrap:wrap; gap:14px; margin-top:35px; }
.text-link { display:inline-flex; align-items:center; justify-content:flex-start; gap:15px; min-height:48px; color:var(--navy); font-weight:700; padding:5px 0; text-decoration:underline; text-underline-offset:6px; text-decoration-color:var(--gold); text-decoration-thickness:2px; }
.text-link span { font-size:23px; line-height:1; }
@media (hover:hover) and (pointer:fine) { .button:hover { opacity:.85; transform:translateY(-2px); } .text-link:hover,.nav-link:hover,.footer-links a:hover { opacity:.75; } }

/* Header and accessible single-source navigation */
.site-header :focus-visible { outline-color:var(--gold); }
.site-header { position:sticky; z-index:120; top:0; width:100%; min-height:var(--header-height); background:var(--navy); border-bottom:1px solid rgba(234,200,119,.3); }
.header-inner { display:flex; min-height:var(--header-height); align-items:center; justify-content:space-between; gap:38px; }
.brand { display:inline-flex; flex:none; justify-content:center; align-items:center; width:220px; min-height:90px; }
.brand img { width:218px; height:auto; }
.site-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(12px,1.5vw,30px); min-width:0; }
.nav-link { display:inline-flex; align-items:center; justify-content:center; position:relative; min-height:54px; padding:11px 0; text-align:center; white-space:nowrap; color:var(--white); font-size:16px; line-height:1.45; font-weight:600; transition:opacity var(--transition); }
.nav-link::after { content:""; position:absolute; left:0; right:0; bottom:4px; height:2px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform var(--transition); }
.nav-link.is-active::after,.nav-link:focus-visible::after { transform:scaleX(1); }
.nav-consult { flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:56px; gap:14px; padding:12px 19px; border:1px solid var(--white); background:var(--white); color:var(--navy); font-weight:700; font-size:16px; line-height:1.3; border-radius:2px; transition:opacity var(--transition); }
.nav-consult.is-active { box-shadow:inset 0 -3px 0 var(--gold); }
.menu-toggle { display:none; position:relative; z-index:130; flex:none; width:56px; height:56px; justify-content:center; align-items:center; flex-direction:column; gap:6px; padding:12px; background:var(--navy); border:1px solid var(--gold); color:var(--white); border-radius:2px; }
.menu-toggle span { display:block; height:2px; width:26px; background:var(--white); transform-origin:center; transition:transform var(--transition),opacity var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }

/* Home hero */
.hero { position:relative; isolation:isolate; min-height:740px; display:flex; align-items:center; }
.hero__content { position:relative; z-index:2; display:flex; align-items:center; min-height:740px; }
.hero__copy { width:min(58%,730px); padding-block:80px; }
.hero h1 { max-width:700px; }
.hero__lead { max-width:610px; font-size:21px; line-height:1.65; margin:0; }
.hero__art { position:absolute; z-index:-2; inset:0; overflow:hidden; }
.hero__art img { width:100%; height:100%; object-fit:cover; object-position:center 49%; }
.hero::before { content:""; z-index:-1; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 20%,rgba(255,255,255,.82) 45%,rgba(255,255,255,.12) 75%,rgba(255,255,255,.0) 100%); }
.hero__assurance { display:flex; gap:23px; flex-wrap:wrap; align-items:center; margin-top:47px; font-size:15px; line-height:1.5; letter-spacing:.025em; font-weight:650; }
.hero__assurance-divider { height:28px; width:1px; background:var(--slate); opacity:.5; }

/* Proof band */
.trust-bar { border-top:1px solid rgba(99,109,121,.2); border-bottom:1px solid rgba(99,109,121,.2); background:var(--wash); }
.trust-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding-block:32px; }
.trust-grid > div { min-width:0; display:flex; align-items:flex-start; gap:20px; padding-inline:32px; border-right:1px solid rgba(99,109,121,.2); }
.trust-grid > div:first-child { padding-left:0; }
.trust-grid > div:last-child { border:0; padding-right:0; }
.trust-number { display:block; color:var(--slate); font-size:20px; font-family:var(--serif); flex:none; line-height:1.4; }
.trust-grid h2 { font-family:var(--sans); font-size:19px; letter-spacing:0; font-weight:650; margin:0 0 4px; }
.trust-grid p { font-size:16px; line-height:1.4; margin:0; }

/* Editorial, cards and sections */
.editorial-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,6vw,105px); align-items:center; }
.editorial-grid--wide { grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); }
.editorial-photo { min-width:0; position:relative; }
.editorial-photo img { width:100%; aspect-ratio:940/680; object-fit:cover; object-position:center; }
.photo-note { position:absolute; right:0; bottom:0; display:flex; align-items:center; min-height:57px; padding:13px 26px; background:var(--navy); color:var(--white); font-family:var(--serif); font-size:19px; font-style:italic; }
.editorial-copy { min-width:0; }
.editorial-copy p:not(.eyebrow) { color:var(--navy); }
.editorial-copy .text-link { margin-top:10px; }
.section-heading { max-width:960px; margin-bottom:58px; }
.section-heading > p:last-child { max-width:840px; margin:0; }
.section-heading h2 { max-width:920px; }
.section-heading--light { color:var(--white); }
.pillar-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; }
.pillar-card { display:flex; flex-direction:column; min-width:0; padding:40px; background:var(--white); border:1px solid rgba(99,109,121,.19); }
.pillar-index { font-size:15px; line-height:1.45; color:var(--slate); letter-spacing:.15em; font-weight:700; }
.pillar-line { width:52px; height:2px; background:var(--gold); margin:36px 0 32px; }
.pillar-card h3 { font-family:var(--serif); font-size:30px; letter-spacing:-.02em; line-height:1.22; font-weight:600; }
.pillar-card p { flex:1; }
.pillar-card .text-link { align-self:flex-start; font-size:17px; }
.experience-grid,.closing-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.82fr); gap:clamp(50px,8vw,150px); align-items:center; }
.experience-grid h2 { color:var(--white); max-width:630px; font-size:46px; }
.experience-grid p { color:var(--white); margin-bottom:32px; }
.closing-grid h2 { max-width:750px; }
.closing-grid > div:last-child p { max-width:580px; }
.closing-grid .button { margin-top:9px; }
.closing-grid--navy h2,.closing-grid--navy p { color:var(--white); }

/* Inner-page hero and research */
.page-hero { background:var(--navy); color:var(--white); }
.page-hero__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.82fr); gap:clamp(40px,6vw,105px); min-height:585px; align-items:center; }
.page-hero h1 { color:var(--white); max-width:840px; }
.page-hero__grid > div:first-child { padding-block:85px; min-width:0; }
.page-hero__lead { font-size:21px; line-height:1.65; max-width:750px; margin:0 0 28px; }
.page-hero__visual { min-height:450px; height:100%; overflow:hidden; display:flex; justify-content:center; align-items:center; }
.page-hero__visual img { width:100%; height:100%; max-height:585px; object-fit:cover; }
.page-hero--science .page-hero__visual img { object-fit:contain; max-width:640px; }
.page-hero--photo .page-hero__visual--photo img { object-fit:cover; max-height:585px; }
.page-hero--credentials,.page-hero--consultation { overflow:hidden; }
.page-hero--credentials .page-hero__grid,.page-hero--consultation .page-hero__grid { min-height:520px; }
.chapter-index { display:block; color:var(--slate); font-size:16px; line-height:1.4; letter-spacing:.16em; font-weight:750; margin-bottom:32px; }
.science-row { display:grid; grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr); gap:clamp(55px,9vw,170px); align-items:start; }
.science-title h2 { max-width:610px; }
.science-detail { min-width:0; }
.science-detail p { max-width:790px; }
.science-note { margin-top:35px; padding:24px 30px 25px; background:var(--wash); border-left:3px solid var(--gold); }
.section--tinted .science-note { background:var(--white); }
.science-note span { display:block; font-weight:750; font-size:16px; text-transform:uppercase; letter-spacing:.13em; margin-bottom:9px; }
.science-note p { margin:0; font-size:17px; }
.science-inline-art { margin-top:55px; max-width:490px; }
.science-inline-art img { display:block; width:100%; height:auto; }
.evidence-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:45px; }
.evidence-grid > div { min-width:0; padding-top:26px; border-top:1px solid rgba(234,200,119,.55); }
.evidence-grid span { color:var(--gold); font-family:var(--serif); font-size:26px; }
.evidence-grid h3 { color:var(--white); margin-top:24px; }
.evidence-grid p { margin:0; color:var(--white); }
.reference-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.68fr); gap:75px; margin-bottom:55px; align-items:end; }
.reference-heading > p { margin:0; }
.reference-list { display:flex; flex-direction:column; border-top:1px solid rgba(99,109,121,.3); }
.reference-list > a { display:grid; grid-template-columns:200px minmax(0,1fr) 30px; gap:35px; min-height:105px; align-items:center; padding:22px 0; border-bottom:1px solid rgba(99,109,121,.3); }
.reference-list > a span:first-child { color:var(--slate); font-size:15px; font-weight:700; letter-spacing:.09em; }
.reference-list > a strong { font-size:19px; font-weight:600; line-height:1.5; }
.reference-list > a span:last-child { font-size:24px; }

/* Service page */
.process-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:40px; }
.process-grid > article { min-width:0; border-top:2px solid var(--gold); padding-top:24px; }
.process-grid article > span { display:block; margin-bottom:34px; font-family:var(--serif); font-size:30px; line-height:1.2; color:var(--slate); }
.process-grid article p { margin-bottom:0; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; align-items:stretch; }
.service-card { display:flex; flex-direction:column; min-width:0; padding:40px; border:1px solid rgba(99,109,121,.25); background:var(--white); }
.service-card--featured { border-top:4px solid var(--gold); padding-top:37px; }
.service-card__number { font-family:var(--serif); font-size:42px; line-height:1; color:var(--slate); margin-bottom:26px; }
.service-card__eyebrow { color:var(--slate); font-size:15px; font-weight:750; letter-spacing:.16em; margin-bottom:18px; }
.service-card h3 { font-family:var(--serif); font-size:29px; line-height:1.2; font-weight:600; letter-spacing:-.015em; }
.service-card > p:not(.service-card__eyebrow) { font-size:17px; }
.service-card ul { flex:1; padding-left:22px; margin:5px 0 29px; font-size:17px; line-height:1.55; }
.service-card li { margin-bottom:10px; }
.service-card__bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; border-top:1px solid rgba(99,109,121,.25); padding-top:21px; }
.service-card__bottom strong { font-size:15px; }
.service-card__bottom a { display:inline-flex; align-items:center; gap:9px; min-height:48px; font-size:16px; text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--gold); font-weight:700; }
.service-card__bottom a span { font-size:22px; }
.tick-list { list-style:none; margin:22px 0 0; padding:0; }
.tick-list li { position:relative; padding-left:31px; margin-bottom:16px; }
.tick-list li::before { content:""; position:absolute; top:12px; left:0; width:15px; height:8px; border:2px solid var(--navy); border-right:0; border-top:0; transform:rotate(-45deg); }
.art-panel { background:var(--navy); padding:0 0 25px; }
.art-panel img { width:100%; }
.art-panel p { text-align:center; color:var(--white); font-family:var(--serif); font-size:25px; font-style:italic; margin:0; }

/* Credentials page */
.credential-hero-mark { width:min(86%,450px); aspect-ratio:1; margin-inline:auto; border:2px solid var(--gold); outline:1px solid rgba(234,200,119,.35); outline-offset:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-direction:column; color:var(--white); }
.credential-hero-mark > span { font-family:var(--serif); font-size:100px; line-height:1.05; letter-spacing:-.05em; }
.credential-hero-mark small { font-size:17px; letter-spacing:.16em; color:var(--gold); margin-top:6px; }
.credential-hero-mark strong { font-family:var(--serif); font-size:37px; font-weight:500; letter-spacing:.06em; }
.credential-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; }
.credential-card { padding:40px; border:1px solid rgba(99,109,121,.25); display:flex; flex-direction:column; min-width:0; }
.credential-card__index { display:block; color:var(--slate); font-size:15px; font-weight:700; letter-spacing:.13em; padding-bottom:28px; margin-bottom:25px; border-bottom:2px solid var(--gold); }
.credential-card h3 { font-family:var(--serif); letter-spacing:-.02em; font-size:27px; font-weight:600; }
.credential-card p { flex:1; }
.credential-card .text-link { font-size:16px; margin-top:4px; }
.scope-panel { background:var(--white); border:1px solid rgba(99,109,121,.25); padding:38px 43px; }
.scope-panel__top { font-size:16px; font-weight:700; color:var(--slate); letter-spacing:.13em; padding-bottom:18px; border-bottom:2px solid var(--gold); }
.scope-panel__item { padding:27px 0; border-bottom:1px solid rgba(99,109,121,.25); }
.scope-panel__item:last-child { border:0; padding-bottom:0; }
.scope-panel__item span { display:block; color:var(--slate); font-size:16px; margin-bottom:7px; }
.scope-panel__item strong { display:block; font-family:var(--serif); font-size:25px; line-height:1.25; font-weight:600; }
.document-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 70px; }
.document-grid > div { border-top:1px solid rgba(99,109,121,.3); padding-top:25px; min-width:0; }
.document-grid span { font-size:22px; color:var(--slate); font-family:var(--serif); }
.document-grid h3 { margin-top:20px; }
.document-grid p { margin-bottom:0; }

/* Consultation page: no PHI form is implemented; portal handoff requires configuration. */
.consultation-art { width:min(83%,390px); aspect-ratio:1; position:relative; margin-inline:auto; display:grid; place-items:center; }
.consultation-art__ring { position:absolute; inset:10px; border:2px solid var(--gold); border-radius:50%; box-shadow:0 0 0 28px rgba(234,200,119,.04),0 0 0 57px rgba(234,200,119,.04); }
.consultation-art span { text-align:center; font-family:var(--serif); font-size:47px; line-height:1.1; font-style:italic; color:var(--white); }
.consult-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:clamp(50px,8vw,140px); align-items:start; }
.consult-intro h2 { max-width:590px; }
.consult-intro p { max-width:690px; }
.privacy-detail { max-width:690px; border-left:3px solid var(--gold); background:var(--wash); padding:22px 26px; margin-top:28px; }
.privacy-detail strong { display:block; font-size:18px; margin-bottom:6px; }
.privacy-detail p { margin:0; font-size:17px; }
.intake-card { min-width:0; padding:40px; border:1px solid rgba(99,109,121,.3); box-shadow:0 16px 48px rgba(36,44,57,.07); }
.intake-card__eyebrow { color:var(--slate); display:block; letter-spacing:.14em; font-weight:750; font-size:16px; }
.intake-card__line { margin:24px 0 31px; width:65px; height:2px; background:var(--gold); }
.intake-card h3 { font-family:var(--serif); font-size:33px; font-weight:600; letter-spacing:-.02em; line-height:1.22; }
.intake-card__hint { font-size:16px; color:var(--slate); margin:15px 0 27px; }
.intake-card__bottom { display:flex; align-items:center; gap:13px; padding-top:24px; border-top:1px solid rgba(99,109,121,.24); font-size:16px; font-weight:650; }
.intake-card__bottom > span { color:var(--slate); font-size:27px; flex:none; }
.process-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.dialog-backdrop { position:fixed; z-index:400; inset:0; padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); display:flex; align-items:center; justify-content:center; background:rgba(36,44,57,.72); }
.dialog { position:relative; width:min(100%,650px); max-height:calc(100dvh - 32px); padding:50px; overflow:auto; background:var(--white); color:var(--navy); }
.dialog h2 { font-size:34px; }
.dialog-close { position:absolute; top:10px; right:10px; width:52px; height:52px; border:0; background:var(--navy); color:var(--white); font-size:33px; line-height:1; }
body.dialog-open { overflow:hidden; }

/* Footer */
.site-footer { background:var(--navy); color:var(--white); padding:80px 0 28px; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr) minmax(0,.9fr); gap:clamp(40px,6vw,105px); }
.footer-brand-link { display:inline-flex; align-items:center; min-height:70px; margin-bottom:26px; }
.footer-brand-link img { width:230px; height:auto; }
.footer-brand p { max-width:435px; font-size:17px; line-height:1.65; }
.footer-brand .footer-regulation { color:var(--gold); font-size:15px; font-weight:650; margin:5px 0 0; }
.footer-links { display:flex; flex-direction:column; align-items:flex-start; }
.footer-links h2 { font-family:var(--sans); font-weight:700; font-size:17px; letter-spacing:.13em; text-transform:uppercase; margin:13px 0 16px; color:var(--gold); }
.footer-links a { display:inline-flex; align-items:center; min-height:48px; font-size:17px; line-height:1.45; transition:opacity var(--transition); }
.footer-bottom { display:flex; justify-content:space-between; gap:40px; border-top:1px solid rgba(255,255,255,.25); margin-top:70px; padding-top:25px; font-size:15px; line-height:1.55; }
.footer-bottom > span:last-child { max-width:560px; }

/* Native form controls kept aligned with the specification for later approved secure form integration. */
input,select,textarea { min-height:56px; max-width:100%; border:1px solid var(--slate); border-radius:2px; color:var(--navy); background:var(--white); font-size:18px; padding:12px 16px; }
input:focus,select:focus,textarea:focus { border:2px solid var(--gold); outline:2px solid var(--navy); outline-offset:3px; }
textarea { min-height:130px; }

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
/* Width and height must both meet the 48px tap-target standard. */
.footer-links a,.nav-link,.text-link,.service-card__bottom a { min-width:48px; min-height:48px; }
/* Long unbroken strings/zoom resilience without shrinking the 18px type baseline. */
h1,h2,h3,h4,p,a,li,td,th { overflow-wrap:anywhere; }
