/* =========================================================
   FUNDTEC — Brand Design System v2
   Deep cobalt brand · Manrope + Spectral typography

   NOTE: Fonts are loaded via <link> in each HTML <head>
   (with preconnect to fonts.gstatic.com) for better performance.
   Importing fonts here would force a render-blocking second
   round-trip after styles.css downloads.
   ========================================================= */

:root {
  /* Brand palette (anchored to logo #000DA2) */
  --brand:        #000DA2;       /* Logo cobalt */
  --brand-deep:   #00097A;       /* Darker cobalt for hover/pressed */
  --brand-tint:   #E8EAF7;       /* Pale wash for subtle backgrounds */

  /* Surfaces */
  --paper:        #FAFAF7;       /* Off-white base */
  --paper-2:      #F2F2EE;       /* Slightly darker neutral */
  --surface:      #FFFFFF;       /* Pure white for cards */

  /* Text */
  --ink:          #0A0E27;       /* Near-black blue-tinted */
  --ink-soft:     #2A3052;       /* Slightly softer ink */
  --ink-2:        #4A5170;       /* Secondary text — body paragraphs in subdued contexts, helper text */
  --ink-3:        #8088A0;       /* Tertiary — placeholders, very subtle text */
  --muted:        #6B7193;
  --rule:         #E2E1DA;       /* Hairline rule */

  /* Typography */
  --sans:         'Manrope', system-ui, -apple-system, sans-serif;
  --serif:        'Spectral', Georgia, serif;
  --mono:         'JetBrains Mono', 'SF Mono', monospace;

  /* Layout */
  --pad:          clamp(1.25rem, 4vw, 3rem);
  --maxw:         1320px;
  --radius:       4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--brand); color: white; }

/* =========================================================
   Layout primitives
   ========================================================= */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1.5px;
  background: var(--brand);
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 250, 247, 0.85);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--brand);
  text-decoration: none;
}
.brand__mark {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.brand__logo {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .brand__logo { height: 30px; }
}
.nav__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  font-size: .92rem;
  font-weight: 500;
}
.nav__links a {
  color: var(--ink-soft);
  transition: color .2s ease;
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--brand); }
/* Active-page underline. Uses ::before so it doesn't collide with the
   dropdown-chevron ::after on .nav__item--has-dropdown > a triggers. */
.nav__links a.active::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  pointer-events: none;
}

/* ---- Dropdown menu (Services) ---- */
.nav__item {
  position: relative;
}
.nav__item--has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}
.nav__item--has-dropdown > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
  display: inline-block;
  margin-left: .15rem;
}
.nav__item--has-dropdown:hover > a::after,
.nav__item--has-dropdown.open > a::after {
  transform: rotate(225deg) translate(-2px, 1px);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 360px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(10, 14, 39, 0.08), 0 2px 6px rgba(10, 14, 39, 0.04);
  padding: .5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 60;
}
/* Invisible bridge so cursor can travel from link to dropdown without losing hover */
.nav__item--has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 18px;
  display: none;
}
.nav__item--has-dropdown:hover::before,
.nav__item--has-dropdown:focus-within::before {
  display: block;
}
.nav__item--has-dropdown:hover > .nav__dropdown,
.nav__item--has-dropdown:focus-within > .nav__dropdown,
.nav__item--has-dropdown.open > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown li { display: block; }
.nav__dropdown a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .9rem;
  align-items: start;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  color: var(--ink) !important;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
}
.nav__dropdown a::after { display: none; }
.nav__dropdown a:hover {
  background: var(--brand-tint);
}
.nav__dropdown a:hover .nav__dropdown__title { color: var(--brand); }
.nav__dropdown__num {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  color: var(--brand);
  font-weight: 500;
  padding-top: .25rem;
}
.nav__dropdown__text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.nav__dropdown__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.015em;
  color: var(--ink);
  line-height: 1.3;
  transition: color .2s ease;
}
.nav__dropdown__desc {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}
.nav__dropdown__arrow {
  font-family: var(--mono);
  color: var(--muted);
  font-size: .85rem;
  align-self: center;
  transition: transform .2s ease, color .2s ease;
}
.nav__dropdown a:hover .nav__dropdown__arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.nav__dropdown__footer {
  margin-top: .25rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__dropdown__footer a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  background: transparent !important;
  color: var(--brand) !important;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
}
.nav__dropdown__footer a:hover { gap: .55rem; }

.nav__cta {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: .7rem 1.3rem;
  border: 1.5px solid var(--brand);
  background: var(--brand);
  color: white;
  border-radius: var(--radius);
  transition: all .25s ease;
}
.nav__cta:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}
.nav__burger {
  display: none;
  width: 28px; height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--brand);
  transition: all .3s ease;
}
.nav__burger span:nth-child(1) { top: 4px; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 4px; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1.5px solid var(--brand);
  background: var(--brand);
  color: white;
  border-radius: var(--radius);
  transition: all .25s ease;
}
.btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--brand);
}
.btn--ghost:hover {
  background: var(--brand);
  color: white;
}
.btn__arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 70%);
  opacity: .6;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
  position: relative;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
  }
}
.hero__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.hero__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-top: 1.5rem;
  line-height: 1.6;
}
.hero__meta {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.hero__meta-item .label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
  display: block;
}
.hero__meta-item .val {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero__decor {
  position: absolute;
  top: 1.5rem;
  right: var(--pad);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  z-index: 2;
}
.hero__decor span { color: var(--brand); }

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  border-block: 1px solid var(--rule);
  background: var(--brand);
  color: white;
  overflow: hidden;
  padding: 1.2rem 0;
}
.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: -.005em;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.marquee__dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   Sections
   ========================================================= */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 800px) {
  .section__head {
    /* Named-area grid on desktop:
       LEFT column (1.4fr): eyebrow above the title — same pattern used
                            everywhere else on the site (heroes, sub-sections),
                            so the eye learns where eyebrows live.
       RIGHT column (1fr):  the lede, supporting copy that elaborates
                            on the title.
       The title is the dominant mass and anchors the section. */
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      "eyebrow ."
      "title   lede";
    grid-template-rows: auto 1fr;
    column-gap: 4rem;
    row-gap: 0.9rem;
    align-items: start;
  }
  .section__head > .eyebrow      { grid-area: eyebrow; align-self: end; }
  .section__head > .section__title {
    grid-area: title;
    align-self: end;
  }
  .section__head > .section__lede { grid-area: lede; align-self: end; }
}
.section__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.section__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.section__lede {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 52ch;
  line-height: 1.65;
}

/* =========================================================
   Service rows (editorial list)
   ========================================================= */

.services-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .35s cubic-bezier(.2,.7,.2,1);
}
.svc-row:hover { padding-left: 1rem; }
.svc-row__num {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .1em;
  width: 3rem;
}
.svc-row__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
}
.svc-row__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.svc-row__desc {
  display: none;
  font-size: .92rem;
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.55;
}
@media (min-width: 900px) {
  .svc-row__desc { display: block; }
  .svc-row {
    grid-template-columns: auto 1fr 1fr auto;
  }
}
.svc-row__arrow {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--muted);
  transition: all .25s ease;
}
.svc-row:hover .svc-row__arrow {
  color: var(--brand);
  transform: translate(4px, -4px);
}

/* =========================================================
   Card grid
   ========================================================= */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  transition: background .25s ease;
}
.card:hover { background: var(--brand-tint); }
.card__num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--brand);
  font-weight: 500;
}
.card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
}
.card__desc {
  font-size: .94rem;
  color: var(--ink-soft);
  flex-grow: 1;
  line-height: 1.6;
}
.card__link {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  transition: gap .25s ease;
}
.card__link:hover { gap: .8rem; }

/* =========================================================
   Stats — branded dark band
   ========================================================= */

.stats {
  background: var(--brand);
  color: white;
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem;
  position: relative;
}
@media (min-width: 800px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.stat__num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: white;
}
.stat__num sup {
  font-family: var(--serif);
  font-size: .45em;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-left: .15em;
  vertical-align: super;
}
.stat__label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: .9rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: .9rem;
  line-height: 1.5;
}

/* =========================================================
   Process steps
   ========================================================= */

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 800px) {
  .process { grid-template-columns: repeat(4, 1fr); }
}
.step {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .25s ease;
}
.step:hover { background: var(--brand-tint); }
.step:last-child { border-right: none; }
@media (max-width: 799px) { .step { border-right: none; } }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 3.2rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -.04em;
}
.step__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .6rem;
  letter-spacing: -.015em;
  color: var(--ink);
}
.step__desc {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =========================================================
   Quote
   ========================================================= */

.quote {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.quote__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--pad);
}
.quote__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 5rem;
  color: var(--brand);
  line-height: .5;
  margin-bottom: 1rem;
}
.quote__text {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--ink);
}
.quote__attr {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq { border-top: 1px solid var(--rule); }
.faq__item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  cursor: pointer;
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: -.018em;
  color: var(--ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__plus {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--brand);
  transition: transform .3s ease;
  flex-shrink: 0;
  font-weight: 500;
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__a {
  font-size: .96rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 65ch;
  margin-top: 1rem;
  padding-right: 2rem;
}

/* =========================================================
   CTA banner
   ========================================================= */

.cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
}
.cta__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 1.2rem;
  max-width: 18ch;
  margin-inline: auto;
  color: var(--ink);
}
.cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.cta__lede {
  color: var(--ink-soft);
  margin-bottom: 2.4rem;
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.65;
}
.cta__actions { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0 2rem;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -.02em;
  color: white;
  margin-bottom: 1rem;
}
.footer__brand .brand__mark { width: 30px; height: 30px; }
.footer__brand .brand__mark path { stroke: white; }
.footer__brand-logo {
  height: 38px;
  width: auto;
  display: block;
  /* The logo is dark blue on transparent; the footer is dark.
     Invert it to white so the wordmark and mark are legible. */
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer__tag {
  color: rgba(250, 250, 247, 0.65);
  font-size: .92rem;
  max-width: 36ch;
  line-height: 1.65;
}
.footer__col h5 {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer__col a {
  color: var(--paper);
  font-size: .92rem;
  transition: color .2s ease;
}
.footer__col a:hover { color: #6E7BFF; }

/* Disclosure paragraph above the bottom row of the footer */
.footer__disclosure {
  border-top: 1px solid rgba(250, 250, 247, 0.12);
  padding-top: 1.75rem;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.55);
  max-width: 980px;
}
.footer__disclosure a {
  color: rgba(250, 250, 247, 0.75);
  text-decoration: underline;
  text-decoration-color: rgba(250, 250, 247, 0.25);
  text-underline-offset: 3px;
}
.footer__disclosure a:hover { color: #6E7BFF; }

/* Inline legal links row (Privacy / Terms / Disclosures) inside footer__bottom */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}
.footer__legal a {
  color: rgba(250, 250, 247, 0.55);
  text-decoration: none;
  transition: color .2s;
}
.footer__legal a:hover { color: #6E7BFF; }
.footer__legal__sep {
  color: rgba(250, 250, 247, 0.25);
}

.footer__bottom {
  border-top: 1px solid rgba(250, 250, 247, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
}

/* =========================================================
   Page header (interior)
   ========================================================= */

.page-head {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.page-head__crumb {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  position: relative;
}
.page-head__crumb span { color: var(--brand); margin: 0 .4rem; }
.page-head__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 18ch;
  position: relative;
  color: var(--ink);
}
.page-head__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.page-head__lede {
  margin-top: 2rem;
  color: var(--ink-soft);
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.65;
  position: relative;
}

/* =========================================================
   Two-col content
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
  }
}
.two-col h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}
.two-col p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1rem;
}
.two-col p:last-child { margin-bottom: 0; }

/* Bullet list */
.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.checks li:last-child { border-bottom: none; }
.checks .num {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--brand);
  letter-spacing: .1em;
  font-weight: 500;
}
.checks strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.015em;
  display: block;
  margin-bottom: .25rem;
  color: var(--ink);
}
.checks p {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================
   Pricing / package strip
   ========================================================= */

.pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 800px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }

.pkg {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pkg--feature {
  background: var(--brand);
  color: white;
}
.pkg--feature .pkg__name,
.pkg--feature .pkg__price { color: white; }
.pkg--feature .pkg__price em { color: rgba(255,255,255,0.7); }
.pkg--feature ul li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.18); }
.pkg--feature ul li::before { background: rgba(255,255,255,0.6); }
.pkg--feature .pkg__tag { color: rgba(255,255,255,0.7); }

.pkg__tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}
.pkg__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.025em;
  color: var(--ink);
}
.pkg__price {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--ink);
}
.pkg__price em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  font-size: .55em;
}
.pkg__price .unit {
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-left: .4rem;
}
.pkg ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 1rem 0;
  flex-grow: 1;
}
.pkg ul li {
  font-size: .92rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--rule);
}
.pkg ul li:last-child { border-bottom: none; }
.pkg ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .55rem;
  width: 8px; height: 1.5px;
  background: var(--brand);
}

/* =========================================================
   Form / contact styles live in the CONTACT PAGE block at the
   end of this file (~line 1510). The earlier scaffolding from
   v1 of the contact page has been removed.
   ========================================================= */

/* =========================================================
   Blog
   ========================================================= */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 700px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.post__cat {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}
.post__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--ink);
  transition: color .25s ease;
}
.post:hover .post__title { color: var(--brand); }
.post__excerpt {
  font-size: .94rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.post__meta {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: .5rem;
}

/* Blog article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--pad);
}
.article__head {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.article__cat {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}
.article__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.article__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.article__crumb {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.article__crumb span {
  color: var(--brand);
  margin: 0 .5rem;
}
.article__lede {
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.article__meta {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.article__meta__sep {
  margin: 0 .8rem;
  color: var(--brand);
}
.article__body {
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article__body h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article__body h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: .8rem;
}
.article__body p { margin-bottom: 1.2rem; }
.article__body strong { color: var(--ink); font-weight: 600; }
.article__body ul, .article__body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.article__body ul li, .article__body ol li {
  margin-bottom: .6rem;
  line-height: 1.7;
}
.article__body blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.5;
}
.article__body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================================
   Animations
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
}
[data-stagger] > *:nth-child(1) { animation-delay: .05s; }
[data-stagger] > *:nth-child(2) { animation-delay: .15s; }
[data-stagger] > *:nth-child(3) { animation-delay: .25s; }
[data-stagger] > *:nth-child(4) { animation-delay: .35s; }
[data-stagger] > *:nth-child(5) { animation-delay: .45s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 800px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__inner.open { flex-wrap: wrap; }
  .nav__inner.open .nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    margin-top: 1rem;
    gap: 1.2rem;
  }
  /* Mobile: dropdown becomes a static expanded list */
  .nav__item--has-dropdown > a::after { display: none; }
  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: .5rem 0 0 1rem;
    min-width: 0;
    margin-top: .5rem;
    border-left: 2px solid var(--rule);
  }
  .nav__dropdown a {
    padding: .5rem 0;
    grid-template-columns: 1fr;
    gap: .15rem;
  }
  .nav__dropdown__num,
  .nav__dropdown__desc,
  .nav__dropdown__arrow,
  .nav__dropdown__footer { display: none; }
  .nav__item--has-dropdown::before { display: none !important; }
  .hero__decor { display: none; }
}

/* ============================================================
   CONTACT PAGE — proper layout for the rewritten contact.html
   ============================================================ */

/* Layout grid: info column on left, form on right */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr 1.45fr;
    gap: 5rem;
  }
}

/* ---- Left column: contact info ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.contact-info__block {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--rule);
}
.contact-info__block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-info__block .eyebrow {
  margin-bottom: .25rem;
}
.contact-info__big {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  display: inline-block;
  transition: color .2s ease;
}
a.contact-info__big:hover {
  color: var(--brand);
}
.contact-info__small {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: .15rem;
  font-family: var(--sans);
}

.contact-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.contact-steps li {
  font-family: var(--sans);
  font-size: .94rem;
  color: var(--ink-2);
  line-height: 1.6;
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: .85rem;
  counter-increment: steps;
}
.contact-steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: .05em;
}
.contact-steps li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---- Right column: form ---- */
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2.6rem;
  box-shadow: 0 1px 0 rgba(0, 13, 162, 0.02), 0 12px 36px -18px rgba(0, 0, 0, 0.08);
}
@media (max-width: 640px) {
  .contact-form-wrap { padding: 1.8rem 1.4rem; }
}

.contact-form-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.contact-form-head .eyebrow {
  margin-bottom: .8rem;
}
.contact-form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .6rem;
  font-style: italic;
}
.contact-form-lede {
  font-size: .95rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 640px) {
  .form-row--2col { grid-template-columns: 1fr; gap: 1.4rem; }
}
.form-row--2col > div {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-row label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.form-row .req {
  color: var(--brand);
  font-weight: 600;
  margin-left: .15rem;
}

/* Inputs */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}
.form-row textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--sans);
  line-height: 1.6;
}
.form-row select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000DA2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(0, 13, 162, 0.08);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-3, #9aa1ad);
  opacity: 1;
}

/* Consent checkbox row */
.form-row--check {
  flex-direction: row;
  align-items: flex-start;
  gap: .75rem;
  padding: .25rem 0;
}
.form-row--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}
.form-row--check label {
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.55;
  cursor: pointer;
}

/* Full-width submit button */
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  font-size: 1rem;
}

.contact-form-foot {
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 1rem 0 0;
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--rule);
}
.contact-form-foot a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.contact-form-foot a:hover {
  text-decoration: underline;
}

/* Success state */
.contact-form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.contact-form-success h3 {
  font-family: var(--sans);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 .8rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.contact-form-success p {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}
.contact-form-success a {
  color: var(--brand);
  font-weight: 600;
}

/* Error state */
.contact-form-error {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px solid #E5C7C7;
  background: #FBF6F6;
  border-radius: 6px;
}
.contact-form-error h3 {
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0 0 .8rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.contact-form-error p {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.contact-form-error p:last-child { margin-bottom: 0; }
.contact-form-error a {
  color: var(--brand);
  font-weight: 600;
}

/* Honeypot field — hidden from real users, visible to dumb bots */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submitting state */
.contact-form button[type="submit"]:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* ============================================================
   HOMEPAGE — large two-up practice cards
   Replaces the previous inline-styled .card variant.
   Behaves correctly across mobile, tablet, and desktop.
   ============================================================ */

.practice-cards {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.practice-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: stretch;
  padding: 2.2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.practice-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px rgba(0, 13, 162, 0.25);
}

.practice-card__num {
  flex-shrink: 0;
}
.practice-card__body {
  flex: 1;
  min-width: 0;
}
.practice-card__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0 0 .8rem;
  color: var(--ink);
  letter-spacing: -.015em;
}
.practice-card__desc {
  font-family: var(--sans);
  font-size: .98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.practice-card__link {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  transition: gap .2s ease;
}

@media (min-width: 760px) {
  .practice-card {
    flex-direction: row;
    gap: 3rem;
    padding: 3rem 2.5rem;
  }
  .practice-card__num {
    width: 6rem;
  }
  .practice-card__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .practice-card__desc {
    font-size: 1rem;
  }
}

/* ============================================================
   ACCESSIBILITY — skip-to-content link, focus rings,
   and prefers-reduced-motion support.
   ============================================================ */

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  background: var(--brand);
  color: white;
  padding: .65rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  z-index: 100;
  text-decoration: none;
  /* translateY pulls it fully off-screen regardless of computed height */
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus {
  transform: translateY(.5rem);
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Visible focus rings — overridden inline-style ":focus { outline: none }"
   on form inputs already provides custom focus state via box-shadow. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduced motion — disable scroll reveal and entrance animations
   for users who prefer it. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
