/* ==========================================================================
   Medicaid Fraud New York — Norman Spencer Law Group PC
   Shared stylesheet. No build step; deploy as-is.
   ========================================================================== */

:root {
  /* Color */
  --ink: #0F1B2D;          /* navy base: header, hero, footer */
  --ink-2: #16273F;        /* raised navy */
  --ink-line: #2A3F5F;     /* rules on navy */
  --brass: #C6A052;        /* accent on dark */
  --brass-hi: #E2C47C;     /* hover / highlight on dark */
  --brass-ink: #82621C;    /* accent text on light (AA on white) */
  --paper: #F3F4F6;        /* cool light section */
  --white: #FFFFFF;
  --text: #1B2433;
  --muted: #566176;
  --line: #D9DDE4;
  --on-dark: #DCE2EB;
  --on-dark-muted: #9DAABD;
  --letter: #FAFAF7;

  /* Type */
  --f-head: "Zilla Slab", "Rockwell", Georgia, serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-type: "Courier Prime", "Courier New", monospace;

  /* Scale (1.25 minor third-ish, fluid at the top) */
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --t-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.5rem);
  --t-3xl: clamp(2.375rem, 1.6rem + 3.2vw, 3.75rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brass-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: var(--t-3xl); font-weight: 700; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }
p, ul, ol { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.prose { max-width: 68ch; }
.lead { font-size: var(--t-lg); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 52px; padding: 0 24px;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hi); }
.btn--ghost { border-color: var(--ink-line); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--brass); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; line-height: 1.05; display: block; white-space: nowrap; }
.brand__firm { display: block; font-size: var(--t-xs); color: var(--on-dark-muted); margin-top: 3px; letter-spacing: .01em; }

.nav { display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; min-height: 44px;
  font: 600 var(--t-sm)/1 var(--f-body); color: var(--on-dark); white-space: nowrap;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  border-radius: var(--radius);
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--white); background: var(--ink-2); }
.nav__link[aria-current="page"] { color: var(--brass-hi); }
.nav__toggle svg { width: 12px; height: 12px; transition: transform .15s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--white); color: var(--text);
  border-top: 3px solid var(--brass); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 40px rgba(6, 14, 28, .35);
  display: none;
}
.nav__menu.is-open { display: block; }
.nav__menu a {
  display: block; padding: 9px 12px; color: var(--text);
  text-decoration: none; font-size: var(--t-sm); line-height: 1.35; border-radius: var(--radius);
}
.nav__menu a:hover { background: var(--paper); color: var(--ink); }
.header-call { white-space: nowrap; min-height: 46px; padding: 0 18px; }
.nav-burger { display: none; }

@media (max-width: 1180px) {
  .nav, .header-call { display: none; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: none; color: var(--white);
    border: 1px solid var(--ink-line); border-radius: var(--radius); cursor: pointer;
  }
  .nav-burger svg { width: 22px; height: 22px; }
  .site-header.nav-open .nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--ink); overflow-y: auto; padding: 8px var(--gutter) 120px;
  }
  .site-header.nav-open .nav__list { flex-direction: column; gap: 0; }
  .site-header.nav-open .nav__item { border-bottom: 1px solid var(--ink-line); }
  .site-header.nav-open .nav__link,
  .site-header.nav-open .nav__toggle { width: 100%; justify-content: space-between; font-size: 1.0625rem; padding: 16px 4px; }
  .site-header.nav-open .nav__menu {
    position: static; min-width: 0; box-shadow: none; background: transparent;
    border: 0; padding: 0 0 12px 8px;
  }
  .site-header.nav-open .nav__menu a { color: var(--on-dark); font-size: 1rem; padding: 10px 8px; }
  .site-header.nav-open .nav__menu a:hover { background: var(--ink-2); color: var(--white); }
}

/* Mobile call bar */
.callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); border-top: 1px solid var(--ink-line);
}
.callbar .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) {
  .callbar { display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px);
}
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: .45em; }
.hero .lead { color: var(--on-dark); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero__note { font-size: var(--t-sm); color: var(--on-dark-muted); margin: 0; }

/* The annotated letter — the page's signature element */
.letter {
  position: relative; justify-self: center; width: 100%; max-width: 440px;
  background: var(--letter); color: #2B2F36;
  font-family: var(--f-type); font-size: 12.5px; line-height: 1.5;
  padding: 30px 30px 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 2px 0 rgba(255,255,255,.04) inset;
  transform: rotate(1.6deg);
}
.letter p { margin: 0 0 10px; }
.letter__head { font-weight: 700; text-transform: uppercase; font-size: 11.5px; line-height: 1.35; margin-bottom: 14px; }
.letter__head span { display: block; font-weight: 400; }
.letter__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 11.5px; }
.redact { display: inline-block; height: .95em; background: #15181D; vertical-align: -.1em; }
.letter__docs { margin: 0 0 12px; padding: 0; list-style: none; }
.letter__notice { border-top: 1px solid #C9CCD2; padding-top: 10px; margin-top: 4px; font-size: 11.5px; }
.letter__notice strong { display: block; text-align: center; margin-bottom: 4px; }
.mark {
  background-image: linear-gradient(rgba(214, 170, 72, .6), rgba(214, 170, 72, .6));
  background-repeat: no-repeat; background-position: 0 60%;
  background-size: 100% 85%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 2px; margin: 0 -2px;
  animation: sweep .6s cubic-bezier(.4,.1,.2,1) both;
}
.mark--1 { animation-delay: .3s; }
.mark--2 { animation-delay: .9s; }
.mark--3 { animation-delay: 1.5s; }
.pin {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--brass-hi);
  font: 700 13px/26px var(--f-body); text-align: center;
  box-shadow: 0 0 0 3px var(--letter);
  animation: pop .3s ease-out both;
}
.pin--1 { animation-delay: .6s; }
.pin--2 { animation-delay: 1.2s; }
.pin--3 { animation-delay: 1.8s; }
@keyframes sweep { from { background-size: 0% 85%; } to { background-size: 100% 85%; } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.hero__key { border-top: 1px solid var(--ink-line); }
.key-list {
  list-style: none; margin: 0 auto; padding-top: 32px; padding-bottom: 48px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.key-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.key-list .num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--brass); color: var(--ink);
  font: 700 13px/26px var(--f-body); text-align: center; margin-top: 2px;
}
.key-list h2 { font-size: 1.125rem; color: var(--white); margin: 0 0 4px; }
.key-list p { margin: 0; font-size: var(--t-sm); color: var(--on-dark-muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .letter { max-width: 400px; transform: rotate(1deg); }
  .key-list { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 420px) {
  .letter { padding: 22px 18px; font-size: 11.5px; }
}

/* ---------- If investigators contact you ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__intro p { color: var(--muted); }
.rules { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rules li {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.rules svg { width: 22px; height: 22px; color: var(--brass-ink); transform: translateY(4px); }
.rules strong { font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; display: block; color: var(--ink); }
.rules span { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Case path (a real sequence) ---------- */
.path-head { max-width: 60ch; margin-bottom: 48px; }
.path-head h2 { color: var(--white); }
.path-head p { color: var(--on-dark-muted); }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 0; counter-reset: step; }
.path > li { position: relative; padding: 0 28px 0 0; }
.path > li + li { padding-left: 28px; border-left: 1px solid var(--ink-line); }
.path__step { display: block; font: 700 var(--t-xs)/1 var(--f-body); color: var(--brass); margin-bottom: 14px; letter-spacing: .02em; }
.path h3 { color: var(--white); font-size: 1.375rem; }
.path p { color: var(--on-dark-muted); font-size: var(--t-sm); }
.path a { color: var(--brass-hi); font-weight: 600; font-size: var(--t-sm); }
.outcomes { list-style: none; padding: 0; margin: 16px 0 0; }
.outcomes li { padding: 14px 0; border-top: 1px solid var(--ink-line); }
.outcomes li:last-child { border-bottom: 1px solid var(--ink-line); }
.outcomes strong { display: block; color: var(--white); font-family: var(--f-head); font-size: 1.125rem; font-weight: 600; }
.outcomes span { display: block; color: var(--on-dark-muted); font-size: var(--t-sm); margin-bottom: 4px; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; }
  .path > li, .path > li + li { padding: 28px 0 28px 24px; border-left: 2px solid var(--ink-line); }
  .path > li::before {
    content: ""; position: absolute; left: -7px; top: 32px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--brass);
  }
}

/* ---------- Audiences ---------- */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.audience { padding: 0 clamp(24px, 4vw, 56px); }
.audience:first-child { padding-left: 0; }
.audience + .audience { border-left: 1px solid var(--line); padding-right: 0; }
.audience h2 { font-size: var(--t-xl); color: var(--ink); }
.audience > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 9px; height: 2px; background: var(--brass-ink); }
.more { font-weight: 700; }
@media (max-width: 820px) {
  .audiences { grid-template-columns: 1fr; gap: 48px; }
  .audience, .audience + .audience { padding: 0; border: 0; }
}

/* ---------- Main copy + agencies aside ---------- */
.copy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.copy-grid h2 { color: var(--ink); }
.agencies { border-top: 3px solid var(--brass); background: var(--paper); padding: 24px; }
.agencies h3 { font-size: 1.125rem; margin-bottom: 12px; }
.agencies ul { list-style: none; margin: 0; padding: 0; }
.agencies li { padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.4; }
.agencies li a { font-weight: 700; color: var(--ink); text-decoration: none; }
.agencies li a:hover { text-decoration: underline; }
.agencies li span { display: block; color: var(--muted); }
@media (max-width: 900px) { .copy-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-wrap { display: block; }
.faq h2 { color: var(--ink); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--brass-ink); border-bottom: 2px solid var(--brass-ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 20px; color: var(--text); max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-2); color: var(--on-dark); border-top: 4px solid var(--brass); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--on-dark-muted); }
.cta-phone { font-family: var(--f-head); font-weight: 700; font-size: var(--t-2xl); color: var(--brass-hi); text-decoration: none; white-space: nowrap; }
.cta-phone:hover { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: var(--t-sm); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h2 { font-family: var(--f-body); font-size: var(--t-sm); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; line-height: 1.4; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brass-hi); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 12px; }
.footer-phone { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; color: var(--brass-hi) !important; }
.footer-legal { padding-bottom: 32px; }
.footer-legal__inner { border-top: 1px solid var(--ink-line); padding-top: 24px; font-size: var(--t-xs); line-height: 1.6; }
.footer-legal__inner p { margin: 0 0 8px; max-width: 110ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-head { background: var(--ink); color: var(--on-dark); border-bottom: 4px solid var(--brass); }
.page-head .wrap { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); max-width: 22ch; margin-bottom: .35em; text-wrap: balance; }
.page-head .dek { font-size: var(--t-lg); line-height: 1.55; color: var(--on-dark); max-width: 60ch; margin: 0; }
.crumbs { margin-bottom: 20px; font-size: var(--t-sm); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--ink-line); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brass-hi); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-dark); }

.article-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 6vw, 80px); align-items: start;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px);
}
.article { max-width: 68ch; min-width: 0; }
.article h2 { font-size: var(--t-xl); color: var(--ink); margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article h3 { color: var(--ink); margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .45em; }
.article li::marker { color: var(--brass-ink); }
.article .checklist { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.article .checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); margin: 0; position: relative; }
.article .checklist li::before {
  content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--brass-ink); border-bottom: 2.5px solid var(--brass-ink); transform: rotate(-45deg);
}
.callout { background: var(--paper); border-left: 4px solid var(--brass); padding: 18px 22px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.figure { margin: 1.6em 0; }
.figure img { border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15, 27, 45, .14); }
.figure figcaption { font-size: var(--t-sm); color: var(--muted); margin-top: 10px; }
.next-read { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.next-read p { margin: 0 0 4px; font-size: var(--t-sm); color: var(--muted); }
.next-read a { font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.sidecall { background: var(--ink); color: var(--on-dark); padding: 24px; border-top: 4px solid var(--brass); }
.sidecall h2 { font-size: 1.25rem; color: var(--white); margin-bottom: 8px; }
.sidecall p { font-size: var(--t-sm); color: var(--on-dark-muted); margin-bottom: 14px; }
.sidecall .btn { width: 100%; justify-content: center; }
.sidenav h2 { font-family: var(--f-body); font-size: var(--t-sm); font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.sidenav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sidenav li { border-bottom: 1px solid var(--line); }
.sidenav a { display: block; padding: 10px 0 10px 12px; font-size: var(--t-sm); line-height: 1.35; color: var(--text); text-decoration: none; border-left: 3px solid transparent; }
.sidenav a:hover { color: var(--ink); border-left-color: var(--line); }
.sidenav a[aria-current="page"] { font-weight: 700; color: var(--ink); border-left-color: var(--brass); }
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* Hub pages */
.hub-list, .article .hub-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.article .hub-list li { margin: 0; }
.hub-list li { border-bottom: 1px solid var(--line); }
.hub-list a { display: block; padding: 20px 0; text-decoration: none; color: var(--text); }
.hub-list strong { display: block; font-family: var(--f-head); font-size: 1.375rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.hub-list span { display: block; color: var(--muted); font-size: var(--t-sm); }
.hub-list a:hover strong { color: var(--brass-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.contact-info h2, .contact-form h2 { color: var(--ink); font-size: var(--t-xl); }
.contact-phone { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: var(--t-2xl); color: var(--ink); text-decoration: none; margin-bottom: 8px; }
.contact-phone:hover { color: var(--brass-ink); }
.contact-info address { font-style: normal; margin-bottom: 1.1em; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: var(--t-sm); color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: var(--text); background: var(--white);
  border: 1px solid #B9C0CC; border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--brass); outline-offset: 0; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--t-xs); color: var(--muted); margin-top: 12px; }
.form-status { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid; font-weight: 600; }
.form-status--ok { background: #EAF4EC; border-color: #2E7D46; color: #1E5631; }
.form-status--err { background: #FBECEC; border-color: #B3261E; color: #8C1D18; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.notfound h1 { color: var(--ink); font-size: var(--t-2xl); }
