/* Path to Rise Therapy — shared styles for index.html, faq.html, blog.html */

:root {
  --cream: #F5F1EE;      /* page background, cards */
  --bone: #EBE9E3;       /* second light band */
  --stone: #D9D4D0;      /* third light band */
  --hair: #D9D4CF;       /* hairlines on light */
  --outline: #C9BFB2;    /* light taupe outline on cards */
  --teal: #1B3033;       /* nav, dark bands, primary button */
  --teal-2: #2C4448;     /* hover for teal buttons, icon circles */
  --navy: #1C2B3A;       /* body text, credential strip, closing CTA */
  --bronze: #7C6A43;     /* gold-on-light: rules, large italics */
  --bronze-ink: #6B5A36; /* bronze for small text on Bone/Stone (passes AA contrast) */
  --gold: #B39A67;       /* gold-on-dark only */
  --peri: #98ADCF;       /* small accent only */
  --ivory: #F5F1EE;
  --ivory-82: rgba(245, 241, 238, .82);
  --ivory-70: rgba(245, 241, 238, .7);
  --ivory-60: rgba(245, 241, 238, .6);
  --ivory-15: rgba(245, 241, 238, .15);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 18px 40px -24px rgba(27, 48, 51, .35);
  --nav-h: 77px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--teal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bronze); }
img { max-width: 100%; display: block; }
button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 16px; z-index: 100; }
.skip:focus { left: 16px; background: var(--gold); color: var(--teal); padding: 10px 16px; border-radius: var(--radius); }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- Type ---------- */
.h1, .h2 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: pretty; }
.h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1.02; letter-spacing: -.02em; color: var(--teal); }
.h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.h2--lg { font-size: clamp(40px, 4.8vw, 72px); letter-spacing: -.025em; }
.h1 em, .h2 em { color: var(--bronze); }
.on-dark .h2 { color: var(--ivory); }
.on-dark .h2 em { color: var(--gold); }
.familiar .h2 em { color: var(--peri); }
.hero .h1 i { color: inherit; }

.eyebrow { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--bronze-ink); }
.eyebrow--peri { color: var(--peri); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  background: var(--teal); color: var(--ivory);
  padding: 12px 32px 14px; border-radius: 999px;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.2; font-weight: 400;
  letter-spacing: 0; text-transform: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--teal-2); color: var(--ivory); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.btn--gold { background: var(--gold); color: var(--teal); }
.btn--gold:hover { background: var(--peri); color: var(--teal); }
.btn--gold:focus-visible { outline-color: var(--gold); }
.btn--sm { padding: 8px 22px 10px; font-size: 17px; }

.link {
  align-self: flex-start;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--bronze-ink); border-bottom: 1px solid var(--bronze); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--teal); border-color: var(--teal); }
.underline { text-decoration: underline 1px var(--bronze); text-underline-offset: 5px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: var(--teal); color: var(--ivory); }
.nav__in {
  max-width: 1280px; margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { font-family: var(--serif); font-size: 22px; display: flex; align-items: baseline; gap: 8px; color: var(--ivory); }
.brand:hover { color: var(--ivory); }
.brand em { color: var(--gold); font-size: 18px; }
.nav__links { display: flex; gap: 28px; align-items: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.nav__links a:not(.btn) { color: var(--ivory); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav__links a:not(.btn):hover { color: var(--gold); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav__toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; color: var(--ivory); cursor: pointer; border-radius: 8px;
}
.nav__toggle:focus-visible { outline: 2px solid var(--gold); }
.nav__toggle i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s ease, top .3s ease; }
.nav__toggle i:first-of-type { top: 17px; }
.nav__toggle i:last-of-type { top: 26px; }
.nav.is-open .nav__toggle i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle i:last-of-type { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__in { padding: 16px 20px; }
  .brand { font-size: 20px; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal); padding: 0 20px 24px; border-top: 1px solid var(--ivory-15);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--ivory-15); }
  .nav__links a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--ivory-15); }
  .nav__links .btn { margin-top: 20px; text-align: center; padding: 14px 20px; }
}

/* ---------- Bands ---------- */
.band--bone { background: var(--bone); }
.band--stone { background: var(--stone); }
.band--teal { background: var(--teal); color: var(--ivory); }
.band--navy { background: var(--navy); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero { padding-top: var(--nav-h); }
.hero__in {
  max-width: 1100px; margin: 0 auto; padding: 88px 32px 64px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
  color: var(--teal);
  animation: rise 1s .1s var(--ease) both;
}
.hero__states { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .04em; color: var(--bronze); }
.hero .btn { margin-top: 14px; }
.hero__meta { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--teal); }
.hero__call { margin: 0; font-size: 13px; color: var(--teal); }
.hero .underline { text-decoration-color: var(--peri); text-decoration-thickness: 2px; }
.hero__photo { position: relative; width: 100%; height: clamp(360px, 62vh, 720px); overflow: hidden; animation: rise 1.1s .3s var(--ease) both; }
.hero__photo { background: #000; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Credential strip ---------- */
.creds { position: relative; z-index: 2; }
.creds__grid { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(4, 1fr); }
.cred {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 12px 16px; border-right: 1px solid var(--ivory-15);
}
.cred:last-child { border-right: 0; }
.cred strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.cred span { font-size: 11.5px; letter-spacing: .08em; color: var(--ivory-70); transition: color .35s ease; }
.cred strong, .cred svg { transition: color .35s ease, transform .45s var(--ease); }
.cred:hover strong { color: var(--peri); }
.cred:hover span { color: var(--ivory-82); }
.cred:hover svg { transform: translateY(-3px) scale(1.08); }

@media (max-width: 900px) {
  .creds__grid { grid-template-columns: repeat(2, 1fr); padding-top: 24px; padding-bottom: 24px; }
  .cred { padding: 18px 12px; }
  .cred:nth-child(2) { border-right: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--ivory-15); }
}

/* ---------- Lede ---------- */
.lede { padding-top: 112px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: center; }
.lede__copy { display: flex; flex-direction: column; gap: 28px; }
.lede__copy p { margin: 0; max-width: 540px; font-size: 19px; text-wrap: pretty; }
.portrait { position: relative; justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; }
.portrait > img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius); border: 1px solid var(--hair); box-shadow: var(--shadow);
}
.badge { position: absolute; right: -18px; top: 26px; width: 112px; height: 112px; animation: spin 18s linear infinite; }

/* ---------- Sound familiar ---------- */
.familiar { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px; align-items: start; }
.familiar__intro { display: flex; flex-direction: column; gap: 18px; }
.familiar__lines p { position: relative; isolation: isolate; margin: 0; padding: 22px 0; border-top: 1px solid rgba(245, 241, 238, .2); font-size: 21px; line-height: 1.4; color: rgba(245, 241, 238, .86); cursor: default; }
.js .familiar__lines p[data-reveal] { transition: opacity .8s ease var(--d, 0s), transform .8s ease var(--d, 0s), color .4s ease 0s; }
.familiar__lines p:hover { color: var(--peri); }
.familiar__lines p:last-child { border-bottom: 1px solid rgba(245, 241, 238, .2); }

/* ---------- Specialties ---------- */
.section { padding-top: 104px; padding-bottom: 104px; }
.spec { display: flex; flex-direction: column; gap: 48px; }
.spec__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.spec__head p { margin: 0; max-width: 400px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--cream); border: 1px solid var(--outline); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.card, .js .card.is-in { transition: opacity .8s ease, transform .35s var(--ease), background-color .35s ease, color .35s ease, box-shadow .35s ease; transition-delay: 0s; }
.card:hover { background: var(--teal-2); border-color: var(--teal-2); color: var(--ivory); transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(27, 48, 51, .6); }
.card h3 { margin: 8px 0 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.card p { margin: 0; text-wrap: pretty; }
.icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--peri); color: var(--teal); }

@media (max-width: 820px) {
  .cards3 { grid-template-columns: 1fr; }
}


/* Other areas of focus + single CTA under the specialty cards */
.spec__focus { display: flex; flex-direction: column; gap: 14px; }
.spec__focus-head { display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.spec__focus-head p:last-child { margin: 0; }
.focus-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid #BFB5A8; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.focus-list li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 16.5px; line-height: 1.4; letter-spacing: .01em; color: var(--teal);
}
.focus-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--peri); flex: none; }
.spec__cta { align-self: flex-start; }

/* ---------- How it works ---------- */
.how { display: flex; flex-direction: column; gap: 40px; }
.how__title { display: flex; flex-direction: column; gap: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--cream); border: 1px solid var(--outline); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step, .js .step.is-in { transition: opacity .8s ease, transform .35s var(--ease), box-shadow .35s ease; transition-delay: 0s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(27, 48, 51, .5); }
.step:hover .step__num { background: var(--teal-2); color: var(--peri); }
.step__num { transition: background-color .35s ease, color .35s ease; width: 56px; height: 56px; border-radius: 50%; background: var(--peri); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; line-height: 1; }
.step h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--teal); }
.step p { margin: 0; text-wrap: pretty; }
.step .step__meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--bronze-ink); }
.step__meta span { display: block; }
.step .step__rate { margin-top: 6px; font-size: 13.5px; letter-spacing: .02em; text-transform: none; font-weight: 400; color: var(--teal-2); }
.how__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.how__fees { margin: 0; flex: 1 1 520px; display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: var(--cream); border: 1px solid var(--outline); border-radius: var(--radius); font-size: 15px; line-height: 1.7; text-wrap: pretty; }
.how__fees strong { font-weight: 600; color: var(--teal); }
.how__fees p { margin: 0; }
.how__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--peri); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-top: 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__photo {
  aspect-ratio: 4 / 5; overflow: hidden; width: 100%; max-width: 440px; justify-self: center;
  border-radius: var(--radius); border: 1px solid var(--hair); box-shadow: var(--shadow);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.about__copy .h2 { color: var(--teal); }
.pull { margin: 0; padding-left: 20px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--teal); text-wrap: pretty; }
.bio { margin: 0; line-height: 1.65; text-wrap: pretty; }
.signature { margin: -6px 0 0; font-family: 'Allura', cursive; font-size: 58px; line-height: 1; color: var(--bronze); transform: rotate(-4deg); transform-origin: left; }
.about__copy .btn { align-self: flex-start; margin-top: 6px; }

.press { padding-top: 72px; padding-bottom: 96px; }
.press__row { border-top: 1px solid var(--hair); padding-top: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.motion-toggle {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--bronze); background: transparent;
  color: var(--bronze-ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.motion-toggle svg { fill: currentColor; }
.motion-toggle:hover { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.motion-toggle:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.motion-toggle .i-play, .motion-toggle[data-paused="true"] .i-pause { display: none; }
.motion-toggle[data-paused="true"] .i-play { display: block; }
.motion-paused .marquee__track, .motion-paused .badge { animation-play-state: paused; }
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.press__row .eyebrow { white-space: nowrap; }
/* Blend the whole row (not each logo) so logos with white backgrounds melt into the band */
.marquee {
  overflow: hidden;
  mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15); opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: logoScroll 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo { width: 180px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (max-width: 700px) {
  .press__row { grid-template-columns: 1fr auto; gap: 20px; }
  .press__row .marquee { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}

/* ---------- Closing CTA ---------- */
.cta { padding-top: 120px; padding-bottom: 104px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: center; }
.cta__copy { display: flex; flex-direction: column; gap: 20px; }
.cta .h2 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.cta__copy p { margin: 0; color: var(--ivory-82); max-width: 520px; text-wrap: pretty; }
.cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-left: 48px; border-left: 1px solid rgba(152, 173, 207, .4); }
.cta__side p { margin: 0; font-size: 14px; color: var(--ivory-60); }
.cta__side p a { color: var(--ivory); border-bottom: 1px solid var(--peri); }
.cta-group { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.soft-link { font-size: 14px; font-weight: 500; color: var(--ivory-82); text-decoration: underline 1px var(--peri); text-underline-offset: 5px; }
.soft-link:hover { color: var(--gold); }

@media (max-width: 700px) {
  .cta { padding-top: 88px; padding-bottom: 80px; }
  .cta__side { padding-left: 24px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--teal); border-top: 1px solid rgba(179, 154, 103, .35); color: rgba(245, 241, 238, .72); font-size: 14px; }
.footer__grid {
  max-width: 1180px; margin: 0 auto; padding: 48px 32px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col p { margin: 0; text-wrap: pretty; }
.footer__col .footer__name { color: var(--peri); margin-top: -4px; font-size: 17px; }
.footer .brand { font-size: 28px; flex-wrap: wrap; column-gap: 8px; }
.footer .brand em { font-size: 23px; }
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social a { width: 36px; height: 36px; justify-content: center; border: 1px solid rgba(152, 173, 207, .6); border-radius: 50%; }
.footer__social a:hover { border-color: var(--peri); background: rgba(152, 173, 207, .12); }
.footer__social svg, .footer a.to-top svg { stroke: var(--peri); }
.footer__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer a { color: var(--ivory); display: flex; align-items: center; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer svg { flex: none; }
.footer__addr { display: flex; align-items: flex-start; gap: 10px; }
.footer__addr svg { margin-top: 3px; }
.footer__bottom { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.footer__bottom-in { border-top: 1px solid var(--ivory-15); padding: 24px 0 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer__crisis { margin: 0; max-width: 70ch; line-height: 1.6; text-wrap: pretty; }
.footer__crisis .footer__label { margin-right: 8px; }
.footer a.to-top { flex: none; gap: 8px; padding: 9px 16px; border: 1px solid rgba(152, 173, 207, .6); border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer a.to-top:hover { color: var(--ivory); border-color: var(--peri); background: rgba(152, 173, 207, .12); }
@media (min-width: 600px) and (max-width: 1099px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr .9fr 1.4fr 1.1fr; gap: 56px; } }
.footer__copy { max-width: 1180px; margin: 0 auto; padding: 0 32px 32px; font-size: 12px; color: var(--ivory-60); }

/* ---------- FAQ page ---------- */
.faq-band { background: var(--bone); }
.faq { padding-top: 160px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }
.faq__title { color: var(--teal); }
.faq__lead { margin: 0; max-width: 42ch; }
.faq__photo { margin: 8px 0 0; max-width: 420px; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

.acc { display: flex; flex-direction: column; gap: 12px; }
.acc details {
  background: var(--cream); border: 1px solid var(--outline); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.acc details:hover { box-shadow: 0 26px 46px -26px rgba(27, 48, 51, .45); }
.acc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr 30px; align-items: center; column-gap: 16px;
  padding: 20px 24px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -.005em; color: var(--teal);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: var(--radius); }
.acc__num { font-size: 22px; color: var(--bronze); }
.acc__q { transition: color .3s ease; }
.acc summary:hover .acc__q { color: var(--teal-2); }
.plus {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--teal); flex: none; color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 18px; font-weight: 400; line-height: 1;
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.acc details[open] .plus { transform: rotate(45deg); background: var(--peri); border-color: var(--teal); }
.acc__a { margin: 0 24px 0 68px; padding: 14px 46px 22px 0; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; animation: rise .4s ease both; }
.acc__a p { margin: 0; text-wrap: pretty; }
.page-end { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-bottom: 112px; }
.back { font-size: 15px; font-weight: 500; }

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .faq__photo { max-width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .acc summary { grid-template-columns: 24px 1fr 30px; column-gap: 12px; padding: 18px; font-size: 20px; }
  .acc__num { font-size: 20px; }
  .acc__a { margin: 0 18px 0 54px; padding: 12px 0 20px; }
}

/* ---------- Blog page ---------- */
.blog-head { padding-top: 160px; }
.blog-head__in { display: flex; flex-direction: column; gap: 18px; padding-bottom: 64px; border-bottom: 1px solid rgba(217, 212, 207, .9); }
.blog-head .h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.blog-head p.intro { margin: 0; max-width: 60ch; font-size: 18px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  cursor: pointer; background: transparent; color: var(--teal);
  border: 1px solid var(--gold); border-radius: 999px; padding: 8px 16px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.chip:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.posts { padding-top: 64px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px 40px; }
.post { display: flex; flex-direction: column; gap: 16px; }
.post[hidden] { display: none; }
.frame { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--bronze); padding: 8px; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; filter: saturate(.9); transition: transform .8s ease; }
.frame:hover img { transform: scale(1.03); }
.post .eyebrow { margin: 10px 0 -4px; }
.post h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; letter-spacing: -.01em; text-wrap: pretty; }
.post p { margin: -4px 0 4px; font-size: 16px; line-height: 1.6; text-wrap: pretty; }

/* ---------- Phone spacing ---------- */
@media (max-width: 600px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero__in { padding: 56px 20px 48px; gap: 20px; }
  .hero__states { color: var(--bronze-ink); }
  .hero__meta { display: flex; flex-direction: column; align-items: center; gap: 10px; text-wrap: balance; line-height: 2; }
  .hero__sep { display: none; }
  .lede, .about { padding-top: 80px; }
  .lede { padding-bottom: 72px; }
  .familiar, .section { padding-top: 80px; padding-bottom: 80px; }
  .press { padding-bottom: 72px; }
  .faq, .blog-head { padding-top: 128px; }
  .faq { padding-bottom: 48px; }
  .footer__grid { padding: 40px 20px 32px; }
  .footer__copy { padding: 0 20px 28px; }
  .footer__bottom { padding: 0 20px; }
  .badge { right: 12px; width: 96px; height: 96px; }
}

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scroll reveals only kick in when JavaScript is running, so content is never hidden without it */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Policy pages ---------- */
.policy { padding-top: 160px; padding-bottom: 112px; }
.policy__in { max-width: 760px; }
.policy__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--hair); }
.policy__head .h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.policy__meta { margin: 0; font-size: 14px; color: var(--teal-2); }
.policy__lead { margin: 0; font-size: 19px; line-height: 1.6; text-wrap: pretty; }
.policy__notice {
  margin: 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--bone);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; line-height: 1.6;
}
.policy__notice strong { font-weight: 600; }
.prose h2 { margin: 48px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; color: var(--teal); }
.prose h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; color: var(--teal); }
.prose p, .prose li { line-height: 1.7; text-wrap: pretty; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a:not(.btn) { text-decoration: underline 1px var(--bronze); text-underline-offset: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.prose th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--bronze-ink); }
.prose .contact-card { margin: 8px 0 16px; padding: 20px 22px; background: var(--bone); border-radius: var(--radius); line-height: 1.7; }
.policy-nav { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.policy-nav a { color: var(--teal-2); text-decoration: underline 1px var(--hair); text-underline-offset: 4px; }
.policy-nav a[aria-current="page"] { color: var(--bronze-ink); text-decoration-color: var(--bronze); }
.post-byline { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--hair); line-height: 1.6; }
.post-byline strong { font-weight: 600; color: var(--teal); }
.post-back { margin: 32px 0 0; }
.post-photo { margin: 36px 0 12px; }
.post-photo.frame { aspect-ratio: 3 / 2; }
/* Blog only: page title, post titles and post subtitles in bronze (periwinkle is too light to read on cream) */
.blog-head .h1, .post-page .policy__head .h1, .post-page .prose h2 { color: var(--bronze); }

@media (max-width: 600px) {
  .policy { padding-top: 120px; padding-bottom: 80px; }
  .prose h2 { font-size: 26px; margin-top: 40px; }
  .prose table { font-size: 15px; }
  .prose th, .prose td { padding: 10px 8px; }
}
