/* NDMLaw.com — /new2 evolutionary rebuild.
   Keeps the production identity (teal #0c7693, gold #ddb545, Merriweather headings, State House hero, white pages)
   and refines type, spacing, components and accessibility. Mobile-first: base rules are the phone layout;
   min-width queries add the tablet/desktop layout. */

@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("../fonts/merriweather-italic-var.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --teal: #0c7693;
  --teal-hover: #0a6580;
  --teal-dark: #09566c;
  --teal-deep: #073f50;
  --teal-accent: #2b92b8;
  --teal-50: #f3f8fa;
  --teal-100: #e7f1f5;
  --teal-200: #d9e5ea;
  --gold: #ddb545;
  --gold-hover: #cfa532;
  --gold-ink: #7a5b08;
  --text: #2d3336;
  --text-2: #4d5558;
  --muted: #677074;
  --line: #d9e5ea;
  --white: #fff;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ui: "Raleway", "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --measure: 42rem;
  --gutter: 1.15rem;
  --header-h: 3.9rem;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(7, 63, 80, .06), 0 8px 24px -12px rgba(7, 63, 80, .22);
  --shadow-lg: 0 2px 4px rgba(7, 63, 80, .06), 0 22px 44px -22px rgba(7, 63, 80, .38);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 760px) { :root { --gutter: 2rem; --header-h: 4.6rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--teal-hover); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: #25292b; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--teal); color: #fff; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--teal); color: #fff; padding: .8rem 1.2rem; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 48rem); margin-inline: auto; }
.section { padding-block: 3.25rem; }
.section--tint { background: var(--teal-50); }
.section--teal { background: var(--teal); color: #fff; }
.section--teal h2, .section--teal h3 { color: #fff; }
@media (min-width: 760px) { .section { padding-block: 5rem; } }

/* type primitives */
.kicker { font-family: var(--ui); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 .7rem; }
.h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.9rem); font-weight: 300; }
.h2 { font-size: clamp(1.55rem, 1.25rem + 1.4vw, 2.2rem); font-weight: 300; }
.h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); font-weight: 400; }
.lede { font-size: 1.1rem; color: var(--text-2); max-width: 40rem; }
.section--teal .lede { color: #fff; }
.rule-gold { width: 3.2rem; height: 3px; background: var(--gold); border: 0; margin: 1rem 0 1.3rem; }
.center { text-align: center; } .center .rule-gold { margin-inline: auto; } .center .lede { margin-inline: auto; }
.section-head { margin-bottom: 2rem; }
@media (min-width: 900px) { .section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: start; } .section-head--split > :last-child { padding-top: 1.55rem; } }
.section-head--stack .lede { max-width: 62rem; margin-top: .9rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.35em;
  font-family: var(--ui); font-size: .95rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #1f2426; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #111; }
.btn--teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: var(--gold); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--block { width: 100%; }
@media (min-width: 560px) { .btn--block { width: auto; } }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.link-more { font-family: var(--ui); font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-more::after { content: "→"; transition: transform .2s var(--ease); }
.link-more:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s; -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(7,63,80,.5); }
.site-header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.logo { text-decoration: none; color: #333; line-height: 1; display: flex; flex-direction: column; justify-content: center; min-height: 44px; min-width: 0; }
.logo__sub { font-family: var(--ui); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.logo__main { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: #2b2f31; letter-spacing: -.005em; margin-top: .15rem; white-space: nowrap; }
@media (min-width: 760px) { .logo__sub { font-size: .85rem; } .logo__main { font-size: 1.75rem; } }
.nav { display: flex; align-items: center; gap: .5rem; }
.nav__list { display: none; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__btn { background: none; border: 0; padding: .6rem .8rem; font-family: var(--ui); font-size: .95rem; color: #3b4144; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem; border-radius: var(--radius); text-decoration: none; }
.nav__btn:hover, .nav__item.is-open > .nav__btn { color: var(--teal); background: var(--teal-50); }
.nav__btn svg { width: .6rem; height: .6rem; transition: transform .2s; }
.nav__item.is-open > .nav__btn svg { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + .45rem); left: 0; min-width: 17rem; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility 0s .18s; }
.nav__panel--wide { min-width: 34rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .6rem; }
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__item--end .nav__panel { left: auto; right: 0; }
.nav__panel a { display: flex; gap: .7rem; align-items: center; padding: .55rem .7rem; border-radius: 8px; text-decoration: none; color: #2f3538; font-size: .95rem; }
.nav__panel a:hover { background: var(--teal-50); color: var(--teal); }
.nav__panel img { width: 2.2rem; height: 2.2rem; object-fit: contain; flex: none; }
.nav__panel .nav__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: .3rem; font-family: var(--ui); font-weight: 700; color: var(--teal); }
.nav__cta { min-height: 44px; padding: .5em .95em; font-size: .88rem; gap: 0; white-space: nowrap; flex: none; }
.nav__cta .long { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: #2f3538; cursor: pointer; margin-right: -.4rem; }
.menu-btn svg { width: 26px; height: 26px; }
@media (min-width: 480px) and (max-width: 1079px) { .nav__cta .long { display: inline; } }
@media (max-width: 369px) { .logo__main { font-size: 1.15rem; } .nav__cta { padding-inline: .75em; font-size: .84rem; } }
@media (min-width: 1080px) {
  .nav__list { display: flex; }
  .menu-btn { display: none; }
  .nav__cta .long { display: inline; }
  .nav__cta { font-size: .92rem; }
}
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto; padding: 0 var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
.mobile-menu__close { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; margin-right: -.4rem; color: #2f3538; }
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu h2 { font-family: var(--ui); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 1.4rem 0 .4rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding: .4rem 0; border-bottom: 1px solid var(--teal-100); text-decoration: none; color: #2f3538; font-size: 1.06rem; }
.mobile-menu li img { width: 2rem; height: 2rem; object-fit: contain; }
.mobile-menu__cta { display: grid; gap: .7rem; margin-top: 1.6rem; }

/* ---------- hero (production image, refined) ---------- */
.hero { position: relative; color: #fff; background: var(--teal-dark); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,63,80,.72) 0%, rgba(9,86,108,.45) 55%, rgba(12,118,147,.15) 100%); }
.hero__in { position: relative; z-index: 1; padding-block: 3.2rem 3.4rem; }
.hero__eyebrow { font-family: var(--ui); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 1rem; }
.hero h1 { color: #fff; font-weight: 300; font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.35rem); letter-spacing: .01em; text-transform: uppercase; line-height: 1.18; max-width: 16ch; }
.hero__sub { font-size: 1.08rem; color: rgba(255,255,255,.92); max-width: 34rem; margin: 1.1rem 0 1.6rem; }
.hero .btn-row { gap: .7rem; }
@media (min-width: 760px) { .hero__in { padding-block: 6rem 6.5rem; } .hero { min-height: 30rem; } }

.creds { background: var(--teal-50); border-bottom: 1px solid var(--line); }
.creds ul { list-style: none; margin: 0; padding: .85rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.4rem; }
.creds li { display: flex; gap: .55rem; align-items: center; font-family: var(--ui); font-weight: 600; font-size: .86rem; color: var(--teal-deep); line-height: 1.3; }
.creds svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--gold-hover); }
@media (min-width: 900px) { .creds ul { padding: 1rem 0; gap: 3.5rem; } .creds li { font-size: .92rem; } }
/* NDM 2026-10-08: on phones the credentials strip pushed the attorney photo below the first screen */
@media (max-width: 759px) { .creds { display: none; } .hero + .creds + .section { padding-top: 1.8rem; } }

/* ---------- protected intro ---------- */
.intro__head { text-align: center; margin-bottom: 2rem; }
.intro__head h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 300; }
.intro__head p { margin: .7rem 0 0; color: var(--text-2); }
.intro__grid { display: grid; gap: 1.8rem; align-items: start; }
.intro__photo { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.intro__copy p { font-size: 1.05rem; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: .95fr 1.05fr; gap: 3.2rem; } .intro__photo { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* ---------- practice tiles (production's teal squares, with the engraved icons) ---------- */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tile { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1rem 1rem; min-height: 11.5rem; border-radius: 10px;
  background: var(--teal); color: #fff; text-decoration: none; overflow: hidden; transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.tile:hover { background: var(--teal-hover); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile__icon { width: 4.2rem; height: 3.4rem; object-fit: contain; object-position: left center; opacity: .95; }
.tile h3 { color: #fff; font-size: 1.02rem; font-weight: 400; line-height: 1.3; margin-top: auto; }
.tile p { display: none; margin: 0; font-size: .92rem; color: #fff; line-height: 1.5; }
.tile .link-more { color: var(--gold); font-size: .85rem; }
@media (min-width: 700px) { .practice-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .tile { min-height: 14rem; padding: 1.4rem 1.4rem 1.2rem; } .tile p { display: block; } .tile h3 { font-size: 1.22rem; } .tile__icon { width: 5.4rem; height: 4.3rem; } }
@media (min-width: 1000px) { .practice-grid { grid-template-columns: repeat(4, 1fr); } }
.practice-more { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; font-size: .95rem; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: st; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.1rem 1rem 3.6rem; }
.steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--ui); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--text-2); line-height: 1.6; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* ---------- knowledge center ---------- */
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.topic { display: flex; flex-direction: column; gap: .35rem; padding: 1rem .9rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); min-height: 9.5rem; }
.topic:hover { border-color: var(--teal-accent); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.topic__icon { width: 3.6rem; height: 3rem; object-fit: contain; object-position: left center; }
.topic h3, .topic h2 { font-size: 1rem; font-weight: 400; line-height: 1.3; color: #25292b; margin-top: .35rem; }
.topic__count { font-family: var(--ui); font-size: .78rem; font-weight: 700; color: var(--teal); margin-top: auto; padding-top: .35rem; }
.topic p { display: none; font-size: .9rem; color: var(--text-2); margin: 0; line-height: 1.5; }
@media (min-width: 700px) { .topic-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .topic { padding: 1.3rem 1.2rem 1.1rem; min-height: 12rem; } .topic p { display: block; } .topic h3 { font-size: 1.12rem; } }

.cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text);
  transition: box-shadow .25s, transform .25s var(--ease), border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--teal-200); color: var(--text); }
.card__art { background: var(--teal-50); border-bottom: 1px solid var(--line); height: 10.5rem; display: grid; place-items: center; }
.card__art img { height: 8rem; width: auto; max-width: 72%; object-fit: contain; }
@media (max-width: 699px) { .card__art { height: 6.5rem; } .card__art img { height: 5.2rem; max-width: 70%; } }
.card__body { padding: 1.1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card__cat { font-family: var(--ui); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.card__new { display: inline-block; margin-left: .5em; background: var(--gold); color: #1f2426; border-radius: 3px; padding: .05em .45em; letter-spacing: .06em; }
.card h3 { font-size: 1.1rem; line-height: 1.35; }
.card p { font-size: .94rem; color: var(--text-2); margin: 0; line-height: 1.55; }
.card__meta { margin-top: auto; padding-top: .5rem; font-family: var(--ui); font-size: .78rem; font-weight: 600; color: var(--muted); display: flex; gap: .9rem; flex-wrap: wrap; }

.qlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.qlist li { border-bottom: 1px solid var(--line); }
.qlist a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 52px; padding: .75rem 0; text-decoration: none; color: #25292b; font-size: 1rem; line-height: 1.45; }
.qlist a::after { content: "→"; color: var(--teal); flex: none; }
.qlist a:hover { color: var(--teal); }
.qlist small { display: block; font-family: var(--ui); font-size: .76rem; color: var(--muted); font-weight: 600; }

/* videos */
.video-grid { display: grid; gap: 1rem; }
@media (max-width: 759px) { .video-grid--rail { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .6rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; } .video-grid--rail::-webkit-scrollbar { display: none; } .video-grid--rail > * { scroll-snap-align: start; } }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
.video { margin: 0; }
.video-facade { position: relative; aspect-ratio: 16 / 9; background: #0b2a33; border-radius: 10px; overflow: hidden; }
.video-facade button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .3s, transform .6s var(--ease); }
.video-facade button:hover img { opacity: 1; transform: scale(1.02); }
.video-facade__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.video-facade__play svg { width: 24px; height: 24px; margin-left: 4px; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.video figcaption { margin-top: .6rem; font-family: var(--serif); font-size: 1rem; line-height: 1.4; }
.video figcaption a { text-decoration: none; color: #25292b; }
.video figcaption a:hover { color: var(--teal); }

/* attorneys */
.attys { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .attys { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
.atty { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.atty__photo { position: relative; aspect-ratio: 4 / 5; background: var(--teal-100); overflow: hidden; }
.atty__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.atty__body { padding: 1.3rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; }
.atty__role { font-family: var(--ui); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.atty h3 { font-size: 1.55rem; font-weight: 300; }
.atty__creds { list-style: none; margin: .2rem 0 .4rem; padding: 0; display: grid; gap: .3rem; }
.atty__creds li { display: flex; gap: .5rem; font-size: .93rem; color: var(--text-2); line-height: 1.45; }
.atty__creds li::before { content: ""; width: .45rem; height: .45rem; margin-top: .5em; border-radius: 50%; background: var(--gold); flex: none; }
.atty__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; }
.atty__links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.atty__photo--jaime img { object-position: 64% 0; }
@media (min-width: 560px) { .atty__photo { aspect-ratio: 4 / 3; } .atty__photo img { object-position: 50% 0; } .atty__photo--jaime img { object-position: 64% 0; } }
@media (min-width: 860px) { .atty__photo { aspect-ratio: 5 / 4; } }

/* consultation band */
.consult-band { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .consult-band { grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; } }
.fees { background: var(--teal-dark); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 1.2rem 1.25rem; }
.fees dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; }
.fees dt { font-family: var(--ui); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding-top: .15rem; border-left: 3px solid var(--gold); padding-left: .55rem; }
.fees dd { margin: 0; color: #fff; }
.section--teal a:not(.btn) { color: #fff; }
.section--teal .kicker { color: #fff; }

/* ---------- interior ---------- */
.page-hero { background: var(--teal-50); border-bottom: 1px solid var(--line); padding-block: 1.8rem 2rem; }
.page-hero__grid { display: grid; gap: 1rem; align-items: center; }
.page-hero h1 { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.7rem); font-weight: 300; }
.page-hero .lede { margin-top: .8rem; }
.page-hero__icon { width: 5.5rem; order: -1; }
@media (min-width: 860px) { .page-hero { padding-block: 3rem 3.2rem; } .page-hero__grid { grid-template-columns: 1fr 13rem; } .page-hero__icon { width: 12rem; order: 0; justify-self: end; } }
/* article author (NDM 2026-10-08): on phones the attorney's face chip sits to the right of the hero art;
   from 860px up the hero is unchanged (art only) — NDM: "on desktop, keep as it was" */
.hero-side { display: flex; align-items: center; gap: 1rem; order: -1; }
.hero-side .page-hero__icon { width: 4.6rem; flex: none; }
.hero-author { display: grid; grid-template-columns: 3.7rem auto; grid-template-rows: auto auto; column-gap: .7rem; align-items: center;
  text-decoration: none; color: var(--text); padding: .35rem .9rem .35rem .35rem; background: #fff; border-radius: 999px; box-shadow: var(--shadow); }
.hero-author__photo { grid-row: 1 / 3; width: 3.7rem; height: 3.7rem; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); background: var(--teal-100); }
.hero-author__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; transform: scale(1.75); transform-origin: 50% 14%; }
.hero-author__name { font-family: var(--serif); font-weight: 700; font-size: .95rem; color: var(--teal-deep); align-self: end; }
.hero-author__role { font-family: var(--ui); font-size: .72rem; font-weight: 600; color: var(--text-2); align-self: start; line-height: 1.3; }
.hero-author__badge { display: none; }
@media (min-width: 860px) {
  .hero-side { order: 0; justify-self: end; }
  .hero-side .page-hero__icon { width: 12rem; }
  .hero-author { display: none; }
}
.page-hero--teal { background: var(--teal); color: #fff; border: 0; }
.page-hero--teal h1, .page-hero--teal .kicker { color: #fff; } .page-hero--teal .lede { color: #fff; } .page-hero--teal .crumbs, .page-hero--teal .crumbs a { color: #fff; }
.crumbs { font-family: var(--ui); font-size: .8rem; font-weight: 600; color: var(--muted); display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs span[aria-hidden] { opacity: .5; }
.meta-line { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: 1rem; font-family: var(--ui); font-size: .82rem; font-weight: 600; color: var(--muted); }
.meta-line strong { color: var(--text); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2rem 3rem; }
.layout > * { min-width: 0; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 3.5rem; padding-block: 3rem 4.5rem; } .layout--solo { grid-template-columns: minmax(0, 1fr); } }
.aside { display: none; }
@media (min-width: 1000px) {
  .aside { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header-h) - 3rem); overflow: auto; }
}
.aside h2 { font-family: var(--ui); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.aside ol { list-style: none; margin: 0 0 1.5rem; padding: 0; border-left: 2px solid var(--line); }
.aside ol a { display: block; padding: .32rem 0 .32rem .9rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--text-2); font-size: .88rem; line-height: 1.4; }
.aside ol a:hover { color: var(--teal); }
.aside ol a.is-active { border-left-color: var(--teal); color: var(--teal); font-weight: 600; }
.aside__box { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; background: var(--teal-50); }
.aside__box p { font-size: .92rem; margin-bottom: .8rem; }
.aside__box .btn { white-space: nowrap; font-size: .86rem; padding-inline: .7em; }

.prose { max-width: var(--measure); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.8rem); font-weight: 300; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { font-size: 1.22rem; font-weight: 400; margin-top: 1.7em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h4 { font-family: var(--ui); font-size: 1rem; font-weight: 700; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.6em 0; padding: .3em 0 .3em 1.2em; border-left: 3px solid var(--gold); color: var(--text-2); font-style: italic; }
.prose strong { font-weight: 700; color: #25292b; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .65em .75em; border-bottom: 1px solid var(--line); }
.prose th { background: var(--teal-50); font-family: var(--ui); font-size: .85rem; font-weight: 700; color: var(--teal-deep); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; }
.table-scroll table { min-width: 34rem; }
.prose .pullquote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; font-style: italic; color: var(--teal-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1em 0; }
.prose figure { margin: 1.8em 0; }
.keybox { border: 1px solid var(--teal-200); border-left: 4px solid var(--teal); background: var(--teal-50); border-radius: 8px; padding: 1.1rem 1.2rem; }
.keybox > * + * { margin-top: .6em; }
.keybox__title { font-family: var(--ui); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 .6rem; }
.keybox ul { margin: 0; padding-left: 1.2em; }
.answer { border: 1px solid var(--teal-200); border-radius: 10px; padding: 1.2rem 1.25rem; background: #fff; box-shadow: var(--shadow); max-width: var(--measure); }
.answer .keybox__title { color: var(--gold-ink); }

.faq { border-top: 1px solid var(--line); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 1.6rem; gap: 1rem; align-items: start; min-height: 52px; padding: .95rem 0; font-family: var(--serif); font-size: 1.06rem; line-height: 1.45; color: #25292b; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ui); font-size: 1.5rem; line-height: 1; color: var(--teal); text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq__a { padding: 0 0 1.2rem; color: var(--text-2); }
.faq__a > * + * { margin-top: .8em; }
.faq__a p { margin: 0; }

.cta { background: var(--teal); color: #fff; border-radius: 12px; padding: 1.4rem 1.3rem; display: grid; gap: 1rem; margin: 2.5rem 0; max-width: var(--measure); }
.cta h2, .cta h3 { color: #fff; font-size: 1.3rem; font-weight: 300; margin: 0; }
.cta p { margin: .4rem 0 0; color: #fff; font-size: .96rem; }
@media (min-width: 640px) { .cta { grid-template-columns: 1fr auto; align-items: center; padding: 1.6rem 1.8rem; } }
.author { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; max-width: var(--measure); margin-top: 2rem; }
.author img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.author p { margin: .2rem 0 0; font-size: .92rem; color: var(--text-2); line-height: 1.55; }
.author strong a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-block: -.6rem; }
.sources { max-width: var(--measure); margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.sources h2 { font-family: var(--ui); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.sources ul { margin: 0; padding-left: 1.1em; font-size: .92rem; color: var(--text-2); }
.sources li + li { margin-top: .3em; }
.disclaimer { font-size: .86rem; color: var(--muted); max-width: var(--measure); line-height: 1.6; margin-top: 1.8rem; }

/* hubs */
.hub-tools { background: #fff; border-bottom: 1px solid var(--line); padding-block: 1rem .3rem; }
.hub-tools .wrap { display: grid; gap: .75rem; min-width: 0; }
@media (min-width: 900px) { .hub-tools { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.97); } }
.search--big input { min-height: 56px; font-size: 17px; }
.search { position: relative; }
.search input { width: 100%; min-height: 52px; padding: .8rem 1rem .8rem 2.8rem; border: 1.5px solid var(--teal-200); border-radius: 10px; font-size: 16px; background: #fff; }
.search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(12,118,147,.12); }
.search svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; color: var(--teal); }
.chips { display: flex; gap: .5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: .1rem var(--gutter) .4rem; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.chip { flex: none; min-height: 40px; padding: .45rem .95rem; border-radius: 99px; border: 1.5px solid var(--teal-200); background: #fff; color: var(--teal-deep);
  font-family: var(--ui); font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.results-note { font-family: var(--ui); font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.group { margin-top: 2.6rem; }
.group__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--teal-100); padding-bottom: .6rem; }
.group__head h2 { font-size: 1.35rem; font-weight: 300; }
.group__head a { font-family: var(--ui); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; margin-block: -.6rem; }

@media (min-width: 1000px) { .topic-grid { grid-template-columns: repeat(4, 1fr); } }
.topic-grid--compact .topic { min-height: 0; }
@media (min-width: 1000px) { .topic-grid--faq { grid-template-columns: repeat(5, 1fr); } .topic-grid--faq .topic p { font-size: .86rem; } }

/* knowledge center rows */
.entries { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .entries { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.entry { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .9rem; align-items: start; padding: .95rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text); min-width: 0; }
.entry:hover .entry__title { color: var(--teal); }
.entry__icon { width: 3.2rem; height: 3.2rem; border-radius: 8px; background: var(--teal-50); display: grid; place-items: center; }
.entry__icon img { width: 80%; height: 80%; object-fit: contain; }
.entry__body { display: grid; gap: .2rem; min-width: 0; }
.entry__kind { font-family: var(--ui); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.entry__title { font-family: var(--serif); font-size: 1.02rem; line-height: 1.4; color: #25292b; transition: color .2s; }
.entry__dek { font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.entry--q .entry__kind { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 600; }
.entry__qmark { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1.5px solid var(--teal-200); color: var(--teal); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.2rem; }

/* practice hub (light tiles) */
.tile--light { background: #fff; color: var(--text); border: 1px solid var(--line); }
.tile--light:hover { background: #fff; color: var(--text); border-color: var(--teal-accent); }
.tile--light h2, .tile--light h3 { color: #25292b; font-size: 1.12rem; margin-top: auto; }
.tile--light p { color: var(--text-2); display: block; }
.tile--light .link-more { color: var(--teal); }
@media (max-width: 699px) { .practice-grid--light { grid-template-columns: 1fr; } .tile--light { min-height: 0; } }
@media (min-width: 1000px) { .practice-grid--light { grid-template-columns: repeat(3, 1fr); } }

/* bios */
.bio-grid { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 760px) { .bio-grid { grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr); gap: 2.6rem; } }
.bio-photo { margin: 0; border-radius: 12px; overflow: hidden; background: var(--teal-100); box-shadow: var(--shadow-lg); max-width: 26rem; aspect-ratio: 4 / 5; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.cred-list { margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.cred-list div { display: grid; gap: .1rem; }
@media (min-width: 560px) { .cred-list div { grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; } }
.cred-list dt { font-family: var(--ui); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); padding-top: .2rem; }
.cred-list dd { margin: 0; font-size: .96rem; color: var(--text-2); line-height: 1.55; }

/* consultation page */
.consult-layout { display: grid; gap: 2rem; }
@media (max-width: 959px) { .consult-side { order: -1; } .consult-photo { display: none; } .consult-hero-actions { display: none; } }
@media (min-width: 960px) { .consult-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3.2rem; align-items: start; } .consult-side { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.consult-steps { counter-reset: cs; list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.consult-steps li { position: relative; padding: 1rem 1.1rem 1rem 3.4rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; line-height: 1.65; }
.consult-steps li::before { counter-increment: cs; content: counter(cs); position: absolute; left: .95rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--ui); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.consult-card { border: 1px solid var(--teal-200); border-radius: 12px; padding: 1.3rem 1.25rem; background: var(--teal-50); box-shadow: var(--shadow); }
.consult-card__status { font-size: .92rem; color: var(--text-2); margin: .6rem 0 .8rem; }
.consult-actions { display: grid; gap: .6rem; margin-top: 1.1rem; }
.consult-actions .btn { overflow-wrap: anywhere; }
.consult-links { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--teal-200); display: grid; gap: .35rem; }
.consult-links a { display: flex; gap: .6rem; align-items: center; min-height: 44px; font-family: var(--ui); font-weight: 700; font-size: .9rem; line-height: 1.35; text-decoration: none; }
.consult-links a:hover { text-decoration: underline; }
.consult-links svg { width: 1.25rem; height: 1.25rem; flex: none; }
.consult-photo { margin: 1.2rem 0 0; border-radius: 10px; overflow: hidden; }
.avail { display: grid; gap: .6rem; }
.avail__day { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; }
.avail__date { font-family: var(--ui); font-weight: 700; font-size: .9rem; margin: 0 0 .45rem; color: #25292b; }
.avail__opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.avail__opt { font-family: var(--ui); font-size: .8rem; font-weight: 700; padding: .3rem .6rem; border-radius: 99px; background: #eef1f2; color: #3f474a; }
.avail__opt.is-ok { background: #e3f3ea; color: #1d6b40; }
.avail__day--ph .avail__date, .avail__day--ph .avail__opt { background: var(--teal-100); color: transparent; border-radius: 4px; }
.avail__day--ph .avail__date { width: 55%; }
.avail__day--ph .avail__opt { width: 6.5rem; }
@media (prefers-reduced-motion: no-preference) { .avail__day--ph { animation: ph 1.4s ease-in-out infinite alternate; } }
@keyframes ph { from { opacity: .55; } to { opacity: 1; } }

/* footer */
.site-footer { background: var(--teal); color: rgba(255,255,255,.9); padding-block: 3rem 1.6rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.2); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand .logo__sub, .footer-brand .logo__main { color: #fff; }
.footer-nap { font-style: normal; margin-top: 1rem; line-height: 1.8; }
.footer-col h3 { font-family: var(--ui); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .7rem; padding-bottom: .45rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-col li a { display: inline-block; padding: .3rem 0; }
.footer-legal { padding-top: 1.4rem; font-size: .82rem; color: #fff; display: grid; gap: .8rem; }
@media (min-width: 760px) { .footer-legal { grid-template-columns: 1fr auto; } }

.staging-flag { position: fixed; left: .5rem; bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); opacity: .85; z-index: 70; font-family: var(--ui); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(7,63,80,.9); color: #fff; padding: .35rem .6rem; border-radius: 99px; pointer-events: none; }

/* ---------- knowledge center blog (articles & videos) ---------- */
.blog-splash { padding-top: 2.2rem; }
.blog-lead { display: grid; gap: 1.2rem; }
@media (min-width: 960px) { .blog-lead { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: stretch; } }
.blog-feature { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s var(--ease); }
.blog-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--text); }
.blog-feature__art { background: var(--teal-50); display: grid; place-items: center; height: 11rem; border-bottom: 1px solid var(--line); }
.blog-feature__art img { height: 8.5rem; width: auto; max-width: 70%; object-fit: contain; }
.blog-feature__body { padding: 1.3rem 1.3rem 1.25rem; display: grid; gap: .55rem; align-content: start; }
.blog-feature h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 300; line-height: 1.25; }
.blog-feature p { margin: 0; color: var(--text-2); }
@media (min-width: 700px) { .blog-feature { grid-template-columns: 15rem minmax(0, 1fr); } .blog-feature__art { height: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .blog-feature__body { padding: 1.8rem 1.8rem 1.6rem; } }
.blog-next { display: grid; align-content: start; border-top: 2px solid var(--teal-100); }
.blog-next__h { font-family: var(--ui); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: .9rem 0 .2rem; }
.blog-next__item { display: grid; gap: .2rem; padding: .85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.blog-next__item:hover .blog-next__title { color: var(--teal); }
.blog-next__title { font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; color: #25292b; transition: color .2s; }
@media (min-width: 760px) { .video-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .video-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } .video-grid--five figcaption { font-size: .92rem; } }
@media (max-width: 759px) { .video-grid--five.video-grid--rail { grid-template-columns: none; } }
.video__date { display: block; margin-top: .2rem; font-family: var(--ui); font-size: .78rem; font-weight: 600; color: var(--muted); }
.blog-month + .blog-month { margin-top: 2rem; }
.blog-month__h { font-family: var(--ui); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
  margin: 0 0 .4rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .3rem .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.blog-row:hover .blog-row__title { color: var(--teal); }
.blog-row__date { grid-column: 1 / -1; font-family: var(--ui); font-size: .8rem; font-weight: 700; color: var(--muted); }
.blog-row__date small { font-weight: 600; margin-left: .35rem; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.blog-row__icon { width: 3rem; height: 3rem; border-radius: 8px; background: var(--teal-50); display: grid; place-items: center; }
.blog-row__icon img { width: 80%; height: 80%; object-fit: contain; }
.blog-row__body { display: grid; gap: .25rem; min-width: 0; }
.blog-row__title { font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; color: #25292b; transition: color .2s; }
.blog-row__dek { font-size: .94rem; color: var(--text-2); line-height: 1.55; }
@media (min-width: 760px) { .blog-row { grid-template-columns: 9.5rem 3.4rem minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.25rem 0; }
  .blog-row__date { grid-column: auto; padding-top: .9rem; } .blog-row__icon { width: 3.4rem; height: 3.4rem; } }

/* ---------- phone density: same content, less scrolling ---------- */
@media (max-width: 699px) {
  .hero__in { padding-block: 2rem 2.1rem; }
  .hero__eyebrow { font-size: .72rem; margin-bottom: .7rem; }
  .hero .btn-row { flex-wrap: wrap; }
  .hero .btn-row .btn { padding-inline: 1.05em; }
  .steps { gap: .55rem; }
  .steps li { padding: .8rem .9rem .8rem 3.2rem; }
  .steps li::before { left: .85rem; top: .85rem; width: 1.7rem; height: 1.7rem; }
  .steps h3 { font-size: 1rem; }
  .steps p { font-size: .9rem; line-height: 1.5; }
  .topic { min-height: 0; padding: .8rem .8rem .75rem; gap: .25rem; }
  .topic__icon { width: 2.8rem; height: 2.3rem; }
  .topic h3, .topic h2 { font-size: .98rem; }
  .cards--rail { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .6rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cards--rail::-webkit-scrollbar { display: none; }
  .cards--rail > * { scroll-snap-align: start; }
  .atty__photo { aspect-ratio: 5 / 4; }
  .atty__photo img { object-position: 50% 0; }
  .atty__photo--jaime img { object-position: 64% 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col li a { padding: .5rem 0; }
}
.rail-hint { display: none; font-family: var(--ui); font-size: .78rem; font-weight: 600; color: var(--muted); margin: .2rem 0 0; }
@media (max-width: 699px) { .rail-hint { display: block; } }
@media (max-width: 759px) { .rail-hint--video { display: block; } }

/* motion: small reveals only, off for reduced-motion */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .aside, .cta, .staging-flag { display: none !important; } }
