/* Shared presentation for every first-party HTML family. Existing brand palettes,
   route/form state, provider documents and print layouts keep their owners. */
.site-presentation {
  --presentation-gutter: clamp(18px, 4vw, 48px);
  --presentation-space: clamp(24px, 3.2vw, 40px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
.site-presentation :where(h1, h2, h3) {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.site-presentation h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.site-presentation h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.site-presentation h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.site-presentation :where(p, li, dd) { overflow-wrap: anywhere; }
.site-presentation :where(section, article, aside, .hero-copy, .card-grid > *, .split > *) { min-width: 0; }
.site-presentation :where(a) { text-underline-offset: .2em; }
.site-presentation :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #996112;
  outline-offset: 3px;
}
.site-presentation :where(pre) { max-width: 100%; overflow-x: auto; }
.site-presentation :where(img, video) { max-width: 100%; }
.site-presentation .section { padding: var(--presentation-space) var(--presentation-gutter); }
.site-presentation .section-header { margin-bottom: 20px; }
.site-presentation .section-header > :last-child { margin-bottom: 0; }
.site-presentation .section-header > p:not(.eyebrow),
.site-presentation .hero-text { max-width: 70ch; }
.site-presentation .eyebrow { font-size: .8125rem; line-height: 1.4; letter-spacing: .07em; }
.site-presentation .actions { gap: 10px 14px; margin-top: 18px; }
.site-presentation .actions > :is(.button, .text-link) { min-height: 44px; line-height: 1.35; }
.site-presentation .button { border-radius: 8px; }
.site-presentation .button.secondary { box-shadow: none; }
.site-presentation .proof-note { font-size: .875rem; line-height: 1.5; }
/* Public content intros are single-column when their support panel follows them.
   Request/identity/booking heroes and their embedded forms retain their layout. */
.site-presentation .hero.presentation-content-hero {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-block: 24px;
}
.site-presentation .hero.presentation-content-hero .hero-copy { max-width: 860px; }
.site-presentation .hero.presentation-content-hero h1 { max-width: 26ch; margin-bottom: 12px; }
.site-presentation .hero.presentation-content-hero .hero-text { font-size: 1.0625rem; line-height: 1.5; }
.site-presentation .hero.presentation-content-hero .actions { margin-top: 16px; }
.site-presentation .presentation-hero-notes {
  margin: 0;
  padding: 20px var(--presentation-gutter);
  border: 0;
  border-radius: 0;
}
.site-presentation .presentation-hero-notes :is(p, ul) { max-width: 85ch; }
.site-presentation .presentation-hero-notes > :last-child { margin-bottom: 0; }
/* Headings inherit the panel's actual foreground, including light family panels.
   The main-content scope defeats the services page's broad ink-heading rule. */
.site-presentation .trust-panel :is(h1, h2, h3),
.site-presentation #main-content .trust-panel :is(h1, h2, h3) { color: inherit; }
body.site-presentation .presentation-hero-notes.trust-panel {
  background: var(--paper, #f7fafc);
  color: var(--ink, #102235);
  border-top: 1px solid var(--line, #dbe4ec);
}
body.site-presentation .presentation-hero-notes.trust-panel :is(p, li, dd, strong) { color: inherit; }
body.site-presentation .presentation-hero-notes.trust-panel a { color: var(--navy, #14304a); }
/* One rhythm for existing card families; no facts or eligibility rows are hidden. */
.site-presentation .card-grid { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.site-presentation .card-grid > article,
.site-presentation .contact-card { padding: 20px; border-radius: 12px; }
.site-presentation .card-grid article > :last-child { margin-bottom: 0; }
.site-presentation .card-grid article h3 { margin-bottom: 10px; }
.site-presentation .card-grid article p { margin-bottom: 12px; line-height: 1.55; }
.site-presentation .service-decisions { margin-block: 18px; }
.site-presentation .service-decisions .service-decisions-grid { gap: 18px; }
.site-presentation .service-decisions .service-decision-card { padding: 20px; }
.site-presentation .service-decisions .service-decision-eyebrow { margin-bottom: 6px; font-size: .8125rem; }
.site-presentation .service-decisions .service-decision-title { margin-bottom: 10px; font-size: 1.375rem; line-height: 1.25; }
.site-presentation .service-decisions .service-decision-audience { margin-bottom: 14px; line-height: 1.5; }
.site-presentation .service-decisions .service-decision-details { gap: 12px; padding-top: 12px; margin-bottom: 18px; }
.site-presentation .service-decisions .service-decision-details :is(dt, dd) { line-height: 1.45; }
.site-presentation .service-decisions .service-decision-action { min-height: 48px; padding: 10px 14px; }
/* Preserve the already-landed compact guide variant. */
.site-presentation .guide-service-choices { padding-block: 24px; }
.site-presentation .guide-service-choices .service-decisions { margin-block: 0; }
.site-presentation .guide-service-choices .service-decision-card { padding: 16px; }
/* Domain journeys retain their illustrations, palettes and facts with a tighter intro. */
.site-presentation .journey-hero { padding-block: clamp(24px, 3.2vw, 40px); gap: clamp(20px, 3vw, 40px); }
.site-presentation .journey-hero :is(h1, .journey-hero-title) { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.1; }
.site-presentation .journey-hero-copy > p:not(.eyebrow) { line-height: 1.5; }
.site-presentation .journey-hero-visual { align-self: start; }
/* Shared navigation keeps all existing JS/no-JS disclosure states and destinations. */
.site-presentation.multisite-shell .site-header { column-gap: 18px; padding-inline: var(--presentation-gutter); }
.site-presentation.multisite-shell .site-navigation { gap: 6px 18px; }
.site-presentation.multisite-shell .site-navigation a { font-size: .9375rem; }
.site-presentation.multisite-shell .compact-route-bar { padding-block: 6px; gap: 4px 16px; line-height: 1.4; }
.site-presentation.multisite-shell .compact-route-bar a { min-height: 36px; }
.site-presentation.multisite-shell .site-header .brand-mark {
  flex-shrink: 0; width: 40px; height: 40px; padding: 2px;
  background: #fff; border: 1px solid #dbe4ec; border-radius: 8px;
  isolation: isolate;
}
.site-presentation.multisite-shell .site-header .brand-mark img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  opacity: 1; filter: none; mix-blend-mode: normal; transform: none;
}
.site-presentation.multisite-shell .site-footer { padding-block: 32px; }
/* Standalone references, press, guidance and utility shells share the same reading scale. */
.site-presentation--standalone { color: var(--ink, #102235); }
.site-presentation--standalone:not([data-page-kind="workflow"]) > main,
.site-presentation--standalone:not([data-page-kind="workflow"]) > .wrap,
.site-presentation--standalone:not([data-page-kind="workflow"]) > .container { max-width: 1180px; margin-inline: auto; padding-inline: var(--presentation-gutter); }
.site-presentation--standalone main > :is(section, article) { margin-block: 24px; }
.site-presentation--standalone :is(.hero, .intro) { padding-block: 24px; }
.site-presentation--standalone :is(.grid, .cards) { gap: 18px; }
.site-presentation--standalone :is(.card, .panel, .claim, .band) { padding: 20px; border-radius: 12px; }
.site-presentation--standalone main > p,
.site-presentation--standalone article > p { max-width: 80ch; }
/* Intake chrome only: field identity, values, hidden/disabled states, provider
   frames, upload/Persona callbacks and receipt transitions are never restyled here. */
.site-presentation[data-page-kind="workflow"] :is(.workflow-utility-header, .workflow-utility-intro, .workflow-form-header) { margin-bottom: 16px; }
.site-presentation[data-page-kind="workflow"] :is(.workflow-card, .workflow-form-header, .evidence-card) { border-radius: 12px; }
.site-presentation[data-page-kind="workflow"] :is(input, select, textarea) { font: inherit; }
@media (max-width: 760px) {
  .site-presentation .section { padding-block: 24px; }
  .site-presentation .card-grid { grid-template-columns: minmax(0, 1fr); }
  .site-presentation .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-presentation .journey-hero { padding-block: 24px; }
  .site-presentation .journey-hero :is(h1, .journey-hero-title) { font-size: clamp(30px, 7.5vw, 40px); }
  .site-presentation .actions { align-items: stretch; }
  .site-presentation .actions > .button { width: 100%; }
  .site-presentation--standalone :is(.grid, .cards) { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .site-presentation *, .site-presentation *::before, .site-presentation *::after { scroll-behavior: auto; transition-duration: 0s; }
}
@media print {
  /* The packet owner controls exact print geometry and page-break rules. */
  .site-presentation--print { font-size: inherit; line-height: inherit; }
}

/* The services reading shell has ID-scoped type rules; use the same scope so
   service headings and cards share the site-wide hierarchy rather than inflate. */
.site-presentation #main-content h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.site-presentation #main-content h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.site-presentation #main-content h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.site-presentation.marketing-home #main-content .journey-hero h1 { font-size: clamp(32px, 4.3vw, 56px); }
.site-presentation #main-content .service-decisions :is(p, dd) { line-height: 1.45; }
.site-presentation .service-decision-next { margin: 0 0 14px; }
.site-presentation .service-decision-next > summary {
  min-height: 44px; padding-block: 10px; cursor: pointer;
  font-size: .875rem; font-weight: 700; line-height: 1.5;
}
.site-presentation .service-decision-next > p { margin: 8px 0 0; }

/* Long state-guide indexes are optional navigation, not another preamble. */
.site-presentation .presentation-guide-index > summary {
  min-height: 44px; padding-block: 10px; cursor: pointer;
  font-weight: 700; color: var(--navy, #14304a);
}
.site-presentation .presentation-guide-index > ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 6px 28px;
  margin-block: 12px;
}
.site-presentation :where(table) { max-inline-size: 100%; border-collapse: collapse; }
.site-presentation :where(th, td) { overflow-wrap: anywhere; vertical-align: top; }

/* A two-tone ring remains visible on both light paper and dark brand panels.
   The ID scope also wins the older reading-page action rule. */
.site-presentation :is(a, button, summary, input, select, textarea):focus-visible,
.site-presentation #main-content :is(a, button, summary, input, select, textarea):focus-visible,
.site-presentation.public-reading-page #main-content :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #102235;
}

/* Relocated support illustrations accompany the notes instead of becoming a
   second full-width hero. Keep document examples intact, without cropping. */
.site-presentation .presentation-hero-notes > .panel-visual {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px;
}
.site-presentation .presentation-hero-notes > .panel-visual > span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  align-self: center;
  font-size: 18px;
}
.site-presentation .presentation-hero-notes > .panel-visual > :is(strong, p) { grid-column: 2; }
.site-presentation .presentation-hero-notes > .panel-visual > i { display: none; }
.site-presentation .presentation-hero-notes > .panel-image {
  width: auto;
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  background: transparent;
}
@media (min-width: 761px) {
  .site-presentation .presentation-hero-notes:has(> :is(.panel-image, .panel-visual)) {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }
  .site-presentation .presentation-hero-notes > :is(.panel-image, .panel-visual) {
    grid-row: 1 / span 2;
    margin: 0;
  }
  .site-presentation .presentation-hero-notes:has(> :is(.panel-image, .panel-visual)) > :is(h2, ul) { grid-column: 2; }
}
/* Only full cards have a direct-child detail list. Use available card width,
   so three-card layouts and mobile keep one readable column. Compact state
   disclosures retain their existing layout. */
.site-presentation .service-decisions .service-decision-card > .service-decision-details {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  column-gap: 18px;
}
/* Long route labels and translated browser text must wrap inside their rails. */
.site-presentation .compact-route-bar a { white-space: normal; overflow-wrap: anywhere; }
.site-presentation .actions > :is(.button, .text-link),
.site-presentation .service-decision-details > div { min-width: 0; max-width: 100%; }

/* Wyoming home: expose the order choice without a viewport-sized photo/preamble.
   This homepage scope does not match order, intake, consent or other domains. */
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming {
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr);
  min-height: 0;
  align-items: start;
  gap: clamp(20px, 3vw, 36px);
  padding: 24px var(--presentation-gutter);
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming .journey-hero-copy {
  padding: 0;
  justify-content: flex-start;
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming h1 {
  max-width: 28ch;
  margin-bottom: 14px;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming .eyebrow {
  margin-bottom: 10px;
  font-size: .8125rem;
  line-height: 1.4;
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming .journey-actions {
  margin-top: 16px;
  gap: 10px;
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming .journey-utility-row {
  margin-top: 14px;
  font-size: .875rem;
  line-height: 1.5;
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming .microsite-journey-visual {
  min-height: 0;
  height: clamp(220px, 24vw, 300px);
  align-self: start;
}
body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming .microsite-journey-visual img {
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px) {
  body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming {
    padding-block: 20px;
  }
  body.site-presentation.marketing-home.site-wyoming #main-content .journey-hero--wyoming h1 {
    font-size: clamp(30px, 8vw, 34px);
  }
}
