/* Hoffman palette taken from its 2026 website; darker orange keeps small text readable. */
:root { --brand-accent: #0874f9; --focus-color: #0874f9; }
html[data-branding="hoffman"] {
  --bg: #f9f9fa;
  --ink: #0e121f;
  --muted: #68717d;
  --line: #e3e4e2;
  --brand-accent: #f5822b;
  --focus-color: #a64800;
  --blue: #a64800;
  --blue-tint: #fff1e6;
  --green: #263347;
  --green-tint: #edf0f3;
  --purple: #536075;
  --purple-tint: #eff1f4;
}
.hoffman-logo { display: block; width: 154px; height: auto; }
#header-wordmark { display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: var(--focus-color); }
html[data-branding="hoffman"] .site-header { border-top: 3px solid var(--brand-accent); }
html[data-branding="hoffman"] .header-inner { height: 79px; }
html[data-branding="hoffman"] .brand-caption { color: #263347; }
html[data-branding="hoffman"] .desktop-nav a.active { border-color: var(--brand-accent); }
html[data-branding="hoffman"] .dock-brand,
html[data-branding="hoffman"] .footer-brand { font-weight: 700; letter-spacing: -.025em; }
html[data-branding="hoffman"] .reference-chip { background: #f0f0ed; border-color: #e2e2db; color: #626b78; }
html[data-branding="hoffman"] .site-search:focus-within { border-color: var(--brand-accent); box-shadow: 0 0 0 3px #f5822b16; }
html[data-branding="hoffman"] .hands-feature { background: #eeefeb; border-color: #e0e2da; }
html[data-branding="hoffman"] .feature-art { background: #dde3e6; color: #263347; }
html[data-branding="hoffman"] .feature-art:after { background: var(--brand-accent); border-color: #eeefeb; }
html[data-branding="hoffman"] .hands-feature .eyebrow,
html[data-branding="hoffman"] .hands-feature .text-link { color: #a64800; }
html[data-branding="hoffman"] .hands-feature p { color: #626b78; }
html[data-branding="hoffman"] .notice:not(.red):not(.amber) { background: #f1f3f5; border-color: #e0e4e8; color: #536075; }
html[data-branding="hoffman"] .button.primary { background: #263347; border-color: #263347; }
html[data-branding="hoffman"] .button.primary:hover { background: #0e121f; }
.footer-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; white-space: nowrap; }
.footer-tools .dock-about { margin: 0; }
.branding-link { padding: 5px 0; background: transparent; color: #7e8189; font-size: 10px; font-weight: 400; line-height: 1.4; min-height: 26px; }
.branding-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
#branding-dialog { width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 24px; padding: 27px; background: #fff; color: var(--ink); box-shadow: 0 24px 90px #0e121f30; overflow-y: auto; }
#branding-dialog:not([open]) { display: none; }
#branding-dialog::backdrop { background: #0e121f60; backdrop-filter: blur(4px); }
.branding-dialog-top { display: flex; align-items: center; justify-content: space-between; }
.dialog-close { display: grid; place-items: center; width: 30px; height: 30px; font-size: 25px; font-weight: 300; border-radius: 50%; color: #777d86; background: #f4f4f5; line-height: 1; }
#branding-title { font-size: 25px; margin: 0; }
.branding-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 23px; }
.branding-option { text-align: left; padding: 17px; border: 1px solid #e4e5e8; background: #fff; border-radius: 15px; color: var(--ink); min-width: 0; }
.branding-option[aria-pressed="true"] { border-color: var(--focus-color); background: #fafaf9; box-shadow: inset 0 0 0 1px var(--focus-color); }
.branding-option-logo { display: flex; align-items: center; height: 49px; margin-bottom: 15px; }
.branding-option-logo img { width: min(140px, 100%); height: auto; }
.branding-option-logo .wordmark { font-size: 32px; }
.branding-option-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; }
.brand-swatches { display: flex; margin-left: auto; gap: 3px; }
.brand-swatches i { width: 9px; height: 9px; border: 1px solid #0e121f0d; border-radius: 50%; }
.branding-selection { display: block; color: #858992; font-size: 10px; margin-top: 15px; }
.branding-option[aria-pressed="true"] .branding-selection { color: var(--blue); font-weight: 650; }
.branding-dialog-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.announcement-home { margin-bottom: 30px; }
.announcement-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 15px; }
.announcement-card { display: flex; flex-direction: column; min-width: 0; padding: 23px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s; }
.announcement-card:hover { border-color: #b6bdc7; }
.announcement-meta { display: flex; align-items: center; gap: 7px; font-size: 9px; letter-spacing: .07em; font-weight: 650; text-transform: uppercase; color: #77808c; }
.announcement-meta svg { width: 13px; height: 13px; }
.announcement-card h3 { margin-top: 18px; font-size: 21px; }
.announcement-card p { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 8px; max-width: 380px; }
.announcement-card .text-link { margin-top: auto; padding-top: 20px; }
.announcement-card.featured { color: #f9f9fa; background: #263347; border-color: #263347; position: relative; overflow: hidden; }
.announcement-card.featured:before { content: ""; height: 3px; background: var(--brand-accent); position: absolute; top: 0; left: 0; right: 0; }
.announcement-card.featured:hover { border-color: var(--brand-accent); }
.announcement-card.featured .announcement-meta { color: #cad0d7; }
.announcement-card.featured p { color: #d0d5dd; }
.announcement-card.featured .text-link { color: #f9f9fa; }
.guts-lockup { display: flex; align-items: baseline; gap: 16px; margin-top: 17px; }
.guts-lockup strong { font-size: 54px; line-height: 1; font-weight: 850; letter-spacing: -.06em; color: var(--brand-accent); }
.guts-lockup h3 { margin: 0; max-width: 130px; font-size: 23px; line-height: 1.12; letter-spacing: -.025em; }
.announcement-page-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.announcement-page-grid .announcement-card { min-height: 255px; }
.announcement-page-grid .guts-lockup { margin-top: 25px; }
.announcement-article { max-width: 770px; }
.initiative-masthead { padding: 30px; margin-bottom: 22px; background: #263347; color: #f9f9fa; border-top: 4px solid var(--brand-accent); border-radius: 19px; }
.initiative-masthead .eyebrow { color: #d2d7df; }
.initiative-masthead h1 { font-size: 37px; }
.initiative-masthead .initiative-acronym { color: var(--brand-accent); font-size: 73px; font-weight: 850; line-height: 1; letter-spacing: -.06em; margin: 15px 0 10px; }
.initiative-masthead p { color: #d0d5dd; font-size: 14px; margin-top: 13px; max-width: 570px; }
.initiative-body { display: grid; gap: 17px; }
.initiative-body .panel>p { line-height: 1.85; }
.crew-prompt { border-left: 3px solid var(--brand-accent); padding: 5px 0 5px 18px; margin-top: 12px; font-size: 16px; font-weight: 550; line-height: 1.6; }
.initiative-source { padding: 0 2px; }
.initiative-source p { color: #858992; font-size: 10px; margin-top: 7px; }
.initiative-related { display: grid; gap: 10px; }
@media (max-width: 1000px) and (min-width: 651px) {
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 12px; }
  html[data-branding="hoffman"] .brand-caption,
  html[data-branding="hoffman"] .brand-divider { display: none; }
  .app-footer { gap: 20px; }
  .dock-brand span { display: none; }
  .footer-tools { gap: 13px; }
}
@media (max-width: 650px) {
  html[data-branding="hoffman"] .header-inner { height: 67px; }
  .hoffman-logo { width: 116px; }
  html[data-branding="hoffman"] .brand { gap: 10px; }
  html[data-branding="hoffman"] .brand-caption { font-size: 8px; letter-spacing: .1em; }
  .app-footer { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 5px; padding-bottom: calc(3px + env(safe-area-inset-bottom, 0px)); }
  .footer-tools { margin: 0; display: flex; justify-content: center; height: 23px; }
  .branding-link { min-height: 23px; padding: 4px 10px; font-size: 9px; color: #81858d; }
  .mobile-nav a { min-height: 45px; }
  .toast { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .announcement-home { margin-bottom: 26px; }
  .announcement-grid { grid-template-columns: 1fr; gap: 11px; }
  .announcement-card { padding: 20px; border-radius: 19px; }
  .announcement-meta { font-size: 8px; }
  .announcement-card h3 { font-size: 18px; margin-top: 12px; }
  .announcement-card p { font-size: 12px; margin-top: 8px; }
  .announcement-card .text-link { padding-top: 15px; }
  .guts-lockup { margin-top: 17px; gap: 16px; }
  .guts-lockup strong { font-size: 50px; }
  .guts-lockup h3 { font-size: 22px; margin-top: 0; }
  .announcement-grid .announcement-card:not(.featured) { display: none; }
  .announcement-page-grid { grid-template-columns: 1fr; gap: 13px; }
  .announcement-page-grid .announcement-card { min-height: 215px; }
  .initiative-masthead { padding: 24px 21px; }
  .initiative-masthead h1 { font-size: 28px; }
  .initiative-masthead .initiative-acronym { font-size: 62px; }
  .initiative-masthead p { font-size: 12px; }
  .crew-prompt { font-size: 14px; }
  #branding-dialog { padding: 23px; border-radius: 21px; }
  .branding-options { gap: 10px; }
  .branding-option { padding: 13px; }
  .branding-option-label { display: block; }
  .brand-swatches { margin-top: 8px; }
}
@media (max-width: 360px) {
  html[data-branding="hoffman"] .header-inner { gap: 10px; }
  html[data-branding="hoffman"] .brand-divider { display: none; }
  .hoffman-logo { width: 110px; }
  .guts-lockup { flex-direction: column; gap: 9px; }
  .guts-lockup h3 { max-width: none; font-size: 20px; }
}
@media print {
  html[data-branding="hoffman"] .page-heading:before { content: "HOFFMAN SAFETY HUB · INTERVIEW CONCEPT"; }
  #branding-dialog { display: none !important; }
  .announcement-card.featured, .initiative-masthead { background: #fff; color: #000; }
  .initiative-masthead p { color: #444; }
}
