/* ==========================================================================
   Serenity Wealth Advisors LLC — design system
   Palette sampled from the firm's logo: charcoal #262c31 / mint #49cab1
   ========================================================================== */

:root {
  --ink:        #171c20;
  --ink-2:      #262c31;
  --ink-3:      #3a4248;
  --mint:       #49cab1;
  --mint-2:     #5fdfc6;
  --mint-deep:  #2a9c86;
  --gray:       #888d96;
  --gray-2:     #6b7280;
  --line:       #e4e7ea;
  --bg:         #ffffff;
  --bg-2:       #f6f8f8;
  --bg-3:       #eef2f2;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(23, 28, 32, .04), 0 8px 24px -12px rgba(23, 28, 32, .12);
  --shadow-lg:  0 2px 4px rgba(23, 28, 32, .04), 0 24px 60px -20px rgba(23, 28, 32, .22);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gut:  clamp(20px, 5vw, 48px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-3);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: var(--mint-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; }
h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 500; letter-spacing: -.015em; }
h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 500; letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.005em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--ink-2); font-weight: 600; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--bg-2); }
.section--ink { background: var(--ink); color: #c3cace; }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid--media { grid-template-columns: 1.05fr .95fr; }
  .grid--media.is-flipped > .grid__media { order: 2; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mint-deep); margin: 0 0 1.1em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mint); border-radius: 2px; }
.section--ink .eyebrow { color: var(--mint-2); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--gray-2); }
.section--ink .lead { color: #aab2b7; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .measure { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .93rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--ink-2); }
.btn--mint { background: linear-gradient(135deg, var(--mint), var(--mint-2)); color: #10312b; }
.btn--mint:hover { box-shadow: 0 12px 28px -12px rgba(73, 202, 177, .8); }
.btn--ghost { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--onink { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--onink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn .ico { width: 1em; height: 1em; flex: none; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink); color: #a9b1b6;
  font-size: .82rem; letter-spacing: .02em;
}
.topbar__in { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: flex-end; padding-block: .6rem; }
.topbar a { color: #d3d9dc; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--mint-2); text-decoration: none; }
.topbar .ico { width: 14px; height: 14px; color: var(--mint); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: 232px; }
.brand:hover { text-decoration: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: .6rem .82rem; border-radius: 999px;
  font-size: .89rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.nav__list a:hover { background: var(--bg-3); text-decoration: none; }
.nav__list a[aria-current="page"] { color: var(--mint-deep); background: rgba(73, 202, 177, .12); font-weight: 600; }
.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(-90deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; opacity: 0; }

@media (max-width: 1040px) {
  .brand img { width: 196px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 78px 0 auto; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none; max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gut) 1.25rem; }
  .nav__list a { padding: .9rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav__list li:last-child a { border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #cfd5d8; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(73, 202, 177, .26), transparent 60%),
    linear-gradient(100deg, rgba(23, 28, 32, .96) 0%, rgba(23, 28, 32, .86) 48%, rgba(23, 28, 32, .55) 100%);
}
.hero__in { padding-block: clamp(72px, 13vw, 148px); }
.hero__body { max-width: 44rem; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--mint), var(--mint-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.7rem); color: var(--mint-2); font-style: italic; margin-bottom: 1.1em; }
.hero__text { font-size: clamp(1rem, 1.5vw, 1.14rem); color: #b7bfc4; max-width: 40rem; margin-bottom: 2rem; }
.hero .btn-row { margin-top: .5rem; }

/* hexagon motif echoing the logo mark */
.hex-motif { position: absolute; right: -6%; bottom: -22%; width: min(52vw, 620px); opacity: .13; z-index: -1; pointer-events: none; }
.hex-motif path { fill: none; stroke: var(--mint); stroke-width: 2.5; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #b7bfc4; overflow: hidden; isolation: isolate; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 140% at 88% -10%, rgba(73, 202, 177, .22), transparent 62%);
}
.page-hero__in { padding-block: clamp(48px, 8vw, 92px); }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero .lead { color: #a9b2b7; max-width: 62ch; }
.crumbs { font-size: .82rem; color: #7f888e; margin-bottom: 1.4rem; }
.crumbs a { color: #a9b2b7; }
.crumbs a:hover { color: var(--mint-2); }
.crumbs span { margin-inline: .5em; opacity: .5; }

/* ---------- cards ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 700px)  { .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card__num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--mint); display: block; margin-bottom: .5rem; }

/* problem / solution pairs */
.ps { display: grid; gap: clamp(18px, 2.4vw, 26px); }
@media (min-width: 860px) { .ps { grid-template-columns: 1fr 1fr; } }
.ps__item {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--mint);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px);
}
.ps__label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .5em;
}
.ps__label--problem { color: #b4664f; }
.ps__label--solution { color: var(--mint-deep); }
.ps__q { color: var(--ink-2); font-weight: 500; margin-bottom: 1.1em; }
.ps__a { color: var(--gray-2); margin: 0; }
.ps__a .ps__label { margin-top: 0; }

/* credential badges */
.marks { display: grid; gap: clamp(14px, 2vw, 20px); }
@media (min-width: 640px)  { .marks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .marks { grid-template-columns: repeat(5, 1fr); } }
.mark {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.mark__abbr {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .3em;
}
.mark__abbr sup { font-size: .5em; top: -.7em; }
.mark__text { font-size: .87rem; color: var(--gray-2); margin: 0; line-height: 1.5; }
.section--ink .mark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--ink .mark__abbr { color: var(--mint-2); }
.section--ink .mark__text { color: #a9b2b7; }

/* logo strips */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); }
.logo-strip img { max-height: 58px; width: auto; object-fit: contain; }
.logo-strip--certs img { max-height: 108px; }

/* media figure */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-3); }
.figure img, .figure video { width: 100%; }
.figure--portrait { max-width: 460px; }
.figure--frame { border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; padding: 10px; }
.figure--frame img { border-radius: 10px; }

/* video / iframe embeds */
.embed { position: relative; padding-top: 56.25%; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.embed > iframe, .embed > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--video { padding-top: 0; }
.embed--video > video { position: static; height: auto; display: block; }

/* prose (long-form original copy) */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line);
  font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-deep);
}
.prose ul { margin: 0 0 1.4em; padding: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: 1.9em; margin-bottom: 1.35em; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px;
  background: linear-gradient(135deg, var(--mint), var(--mint-2));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.prose ul > li > strong:first-child { display: block; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .95rem; }
.prose caption { text-align: left; }
.prose th, .prose td { padding: .85em 1em; border-bottom: 1px solid var(--line); text-align: left; }
.prose thead th { background: var(--bg-2); color: var(--ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.prose tbody tr:hover { background: var(--bg-2); }
.table-scroll { overflow-x: auto; }

/* fee blocks */
.fee { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.fee + .fee { margin-top: clamp(18px, 2.4vw, 24px); }
.fee h3 { margin: 0 0 .7em; padding: 0; border: 0; text-transform: none; letter-spacing: -.005em; font-size: 1.25rem; color: var(--ink); }
.fee p { color: var(--gray-2); }

/* download list */
.docs { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px)  { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .docs { grid-template-columns: repeat(3, 1fr); } }
.doc-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; color: var(--ink-2); font-weight: 500; font-size: .95rem; line-height: 1.4;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mint); text-decoration: none; }
.doc-card__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(73, 202, 177, .14); color: var(--mint-deep); }
.doc-card__ico svg { width: 19px; height: 19px; }
.doc-card__meta { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-top: .25em; }

/* portal buttons */
.portals { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .portals { grid-template-columns: repeat(2, 1fr); } }
.portal {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 20px 24px; font-weight: 600; font-size: .98rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.portal:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: #fff; }
.portal svg { flex: none; width: 18px; height: 18px; color: var(--mint-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(73, 202, 177, .14); color: var(--mint-deep); }
.info-list__ico svg { width: 18px; height: 18px; }
.info-list dt { font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gray); margin-bottom: .3em; }
.info-list dd { margin: 0; color: var(--ink-2); font-weight: 500; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: .5em; }
.field .req { color: var(--mint-deep); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8em 1em; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 0; background: #fff; border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(73, 202, 177, .16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c9705a; }
.form__note { font-size: .84rem; color: var(--gray); margin: 1rem 0 0; }
.form__status { margin: 0 0 1.2rem; padding: .9em 1.1em; border-radius: 12px; font-size: .92rem; display: none; }
.form__status.is-shown { display: block; }
.form__status--ok { background: rgba(73, 202, 177, .14); color: #1d6d5d; }
.form__status--err { background: rgba(201, 112, 90, .14); color: #8f4230; }

/* map */
.map { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: clamp(280px, 40vw, 420px); background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* newsletter */
.newsletter { background: linear-gradient(135deg, var(--ink) 0%, #1d2529 60%, #21403c 100%); color: #c3cace; border-radius: var(--radius-lg); padding: clamp(30px, 4.5vw, 60px); text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter .lead { color: #a9b2b7; margin-inline: auto; }
.subscribe { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 2rem auto 0; }
.subscribe input {
  flex: 1 1 240px; font: inherit; font-size: 1rem; color: #fff;
  padding: .85em 1.15em; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
}
.subscribe input::placeholder { color: #8d979c; }
.subscribe input:focus { outline: 0; border-color: var(--mint); background: rgba(255, 255, 255, .13); box-shadow: 0 0 0 4px rgba(73, 202, 177, .18); }
.subscribe .btn { flex: none; }
.newsletter__note { font-size: .8rem; color: #7f888e; margin: 1.1rem 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--mint) 0%, var(--mint-2) 100%); color: #0f2f29; }
.cta-band h2 { color: #0b241f; }
.cta-band p { color: #14453c; }

/* calendly */
.calendly-inline-widget { min-width: 320px; height: 700px; border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #8d979c; font-size: .93rem; padding-block: clamp(48px, 7vw, 76px) 0; }
.footer-top { display: grid; gap: clamp(28px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer a { color: #b7bfc4; }
.site-footer a:hover { color: var(--mint-2); text-decoration: none; }
.footer-brand img { width: 250px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 1.2rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .7em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 26px 34px; }
.disclaimer { font-size: 11px; line-height: 1.65; color: #6b747a; margin: 0 0 1.4rem; }
.copyright { font-size: .84rem; color: #6b747a; margin: 0; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--hover:hover, .doc-card:hover, .portal:hover { transform: none; }
}

/* ---------- utilities ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8em 1.2em; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: clamp(18px, 2.5vw, 28px); }
