/* Commercial navy, red, and white; real photographs remain the hero visual. */
:root {
  color-scheme: light;
  --ink: #0B2545;
  --ink-deep: #0B2545;
  --steel: #0B2545;
  --steel-dark: #0B2545;
  --text: #253b52;
  --muted: #4d6175;
  --line: #d5dfe8;
  --paper: #ffffff;
  --mist: #f2f5f8;
  --accent: #B31942;
  --accent-dark: #951437;
  --accent-light: #ff9eb2;
  --shell: 1440px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
section[id] { scroll-margin-top: 1rem; }
/* The wider desktop gutter keeps content clear of the fixed quote tab. */
.shell { width: min(100% - 5.25rem, var(--shell)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: .75rem; top: .75rem; z-index: 100; background: #fff; color: #111; padding: .8rem 1rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Utility strip and navigation */
.utility-bar { background: var(--ink-deep); border-bottom: 1px solid #425875; color: #e2eaf2; }
.utility-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .075em; }
.utility-tag { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; }
.utility-dot { width: .4rem; height: .4rem; background: var(--accent-light); border-radius: 50%; }
.utility-contact { white-space: nowrap; text-transform: uppercase; }
.utility-contact a { display: inline-block; max-width: 100%; margin-left: .45rem; padding: .22rem .45rem; background: #fff; color: var(--accent); text-decoration: none; letter-spacing: .04em; font-size: .77rem; }
.utility-contact a:hover { text-decoration: underline; }
.site-header { background: var(--ink-deep); color: #fff; }
/* Simple lines, not flag artwork. */
.site-header::after, .site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(to bottom, var(--accent) 0 33.333%, #fff 33.333% 66.666%, var(--ink-deep) 66.666% 100%); }
.header-inner { min-height: 91px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 3vw, 3.25rem); }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: #fff; text-decoration: none; width: max-content; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand-spark { color: var(--accent-light); }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong { font-size: .88rem; letter-spacing: .055em; font-weight: 800; white-space: nowrap; }
.brand-type > span { margin-top: .45rem; color: #c1cfdd; font-size: .59rem; font-weight: 700; letter-spacing: .21em; white-space: nowrap; }
.primary-nav ul, .footer-nav-block ul { list-style: none; padding: 0; margin: 0; }
.primary-nav { min-width: 0; overflow-x: auto; }
.primary-nav ul { display: flex; justify-content: flex-start; align-items: center; width: max-content; gap: clamp(1rem, 1.8vw, 2rem); }
.primary-nav a { display: block; padding: .8rem 0; color: #e8eef5; text-decoration: none; font-size: .79rem; font-weight: 650; line-height: 1.3; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--accent-light); }
.header-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: .95rem 1rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; font-size: .65rem; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.header-action span { color: #fff; font-size: 1rem; }
.header-action:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.floating-quote { position: fixed; right: .35rem; top: 50%; transform: translateY(-50%); z-index: 30; display: inline-flex; align-items: center; gap: .8rem; padding: 1rem .72rem; background: var(--accent); color: #fff; box-shadow: 0 4px 16px #0b254538; writing-mode: vertical-rl; text-decoration: none; font-size: .63rem; font-weight: 850; letter-spacing: .09em; }
.floating-quote:hover { background: var(--accent-dark); }
.floating-quote:focus-visible { box-shadow: 0 0 0 3px #fff, 0 4px 16px #0b254538; }
.floating-quote span { font-size: 1rem; }

/* Existing figure and copy share one grid cell: the photo fills the hero,
   while the navy overlay belongs to the copy layer. No template change is needed. */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 590px; background: var(--ink); color: #fff; }
.hero-copy { grid-area: 1 / 1; position: relative; z-index: 1; min-width: 0; display: flex; justify-content: flex-start; background: linear-gradient(90deg, rgba(11, 37, 69, .97) 0%, rgba(11, 37, 69, .93) 35%, rgba(11, 37, 69, .82) 60%, rgba(11, 37, 69, .56) 100%); }
.hero-copy::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42%; height: 2px; background: var(--accent); }
.hero-copy-inner { width: min(100%, 50vw); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(4rem, 6.8vw, 7rem) clamp(2rem, 5vw, 5.5rem) 5rem max(2.625rem, calc((100vw - var(--shell)) / 2)); }
.eyebrow { margin: 0 0 2rem; display: flex; align-items: center; gap: .7rem; font-size: .68rem; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #eef3f9; }
.eyebrow span { width: 2rem; height: 2px; flex: 0 0 2rem; background: var(--accent); }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(2.75rem, 5vw, 5.25rem); font-weight: 700; letter-spacing: -.055em; line-height: .99; overflow-wrap: anywhere; }
.hero-summary { max-width: 35rem; margin: 1.7rem 0 0; color: #edf3f9; font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.4rem; }
.button { display: inline-flex; min-height: 54px; justify-content: space-between; align-items: center; gap: 2.4rem; padding: .95rem 1.2rem; border: 1px solid transparent; cursor: pointer; font-size: .81rem; font-weight: 800; line-height: 1.3; text-decoration: none; }
.button span { font-size: 1.15rem; }
.button-accent { background: var(--accent); color: #fff; }
.button-accent:hover { background: var(--accent-dark); }
.hero-text-link { color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid #81939a; padding: .4rem 0; }
.hero-text-link span { margin-left: .6rem; color: var(--accent-light); }
.hero-text-link:hover { border-color: var(--accent-light); }
.hero-index { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(3.5rem, 7vw, 7rem); color: #d5e1ed; font-size: .6rem; font-weight: 750; letter-spacing: .12em; }
.hero-index span:nth-child(2) { color: var(--accent-light); }
.hero-media { grid-area: 1 / 1; position: relative; min-width: 0; min-height: 590px; margin: 0; background: var(--ink-deep); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 0; object-fit: cover; object-position: center; }
/* Credit remains above the overlay and its link remains interactive. */
.photo-credit { position: absolute; z-index: 2; right: 4rem; bottom: 1rem; max-width: calc(100% - 5rem); padding: .35rem .55rem; background: #0b2545ed; color: #fff; font-size: .65rem; line-height: 1.4; pointer-events: auto; }
.photo-credit a { color: #fff; }

/* Reference badges use original typography, not UL's certification logo. */
.assurance { border-bottom: 1px solid var(--line); background: #fff; }
.assurance-inner { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1.35fr; align-items: center; gap: 2rem; min-height: 152px; padding-block: 1.8rem; }
.assurance-heading { display: flex; flex-direction: column; gap: .5rem; }
.assurance-heading strong { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.025em; }
.section-number { margin: 0; color: #435a72; font-size: .64rem; font-weight: 800; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.section-number span { color: var(--accent); }
.info-badge { display: flex; align-items: center; gap: .85rem; }
.info-badge > span:last-child { display: flex; flex-direction: column; gap: .3rem; }
.info-badge strong { color: var(--ink); font-size: .8rem; letter-spacing: .07em; white-space: nowrap; }
.info-badge small { color: #4d6175; font-size: .71rem; line-height: 1.35; }
.badge-emblem { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border: 1px solid #7a8fa4; color: var(--ink); font-weight: 850; }
.usa-emblem { border-radius: 50%; font-size: .8rem; line-height: 1; }
.usa-emblem span { transform: translateY(4px); }
.usa-emblem i { align-self: start; width: 1.2rem; height: 3px; background: var(--accent); }
.standard-emblem { border-radius: 2px; font-size: .86rem; letter-spacing: -.04em; }
.assurance-note { margin: 0; padding-left: 1.6rem; border-left: 1px solid var(--line); color: #4d6175; font-size: .72rem; line-height: 1.6; }

/* Specification and editorial content */
.section-pad { padding-block: clamp(4.5rem, 8vw, 8rem); }
.spec-section { background: var(--paper); border-bottom: 1px solid var(--line); }
.spec-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.section-intro h2, .quote-intro h2 { margin: 1.35rem 0 1.3rem; color: var(--ink); font-size: clamp(2.25rem, 4vw, 4.25rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.04; }
.section-intro > p:not(.section-number) { max-width: 30rem; margin: 0; color: #4d6175; font-size: 1rem; line-height: 1.75; }
.inline-link { display: inline-block; margin-top: 2rem; padding-bottom: .5rem; border-bottom: 1px solid #9baebe; color: var(--accent); font-size: .82rem; font-weight: 800; text-decoration: none; }
.inline-link span { margin-left: .7rem; }
.inline-link:hover { border-color: var(--accent-dark); }
.spec-table-wrap { border-top: 3px solid var(--steel); }
.table-heading { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: var(--ink); font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.table-heading span:last-child { color: #4d6175; white-space: nowrap; }
.spec-table { width: 100%; border-collapse: collapse; text-align: left; }
.spec-table thead { background: var(--mist); }
.spec-table th, .spec-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.spec-table thead th { color: #405971; font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spec-table tbody th { width: 31%; color: var(--ink); font-size: .84rem; font-weight: 750; }
.spec-table tbody td { color: #4d6175; font-size: .85rem; }
.table-note { margin: 1rem 0 0; color: #4d6175; font-size: .73rem; line-height: 1.5; }
.article-section { background: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.article-rail { color: #4d6175; }
.rail-line { width: 3rem; height: 3px; margin: 2rem 0; background: var(--accent); }
.rail-title { margin: 0 0 1rem; color: var(--ink); font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.article-rail > p:not(.rail-title):not(.section-number) { max-width: 14rem; font-size: .85rem; line-height: 1.6; }
.rail-phone { display: inline-block; max-width: 100%; overflow-wrap: anywhere; margin-top: .5rem; color: var(--accent); font-size: .88rem; font-weight: 800; text-decoration: none; }
.rail-phone:hover { text-decoration: underline; }
.article-content { max-width: 78ch; color: #334b63; font-size: 1.02rem; line-height: 1.8; overflow-wrap: break-word; }
.article-content > :first-child { margin-top: 0; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.035em; }
.article-content h1, .article-content h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.8rem, 2.5vw, 2.55rem); }
.article-content h3 { margin: 2rem 0 .7rem; font-size: 1.3rem; }
.article-content h4 { margin: 1.5rem 0 .6rem; font-size: 1.05rem; }
.article-content p { margin: 0 0 1.35rem; }
.article-content ul, .article-content ol { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.article-content li { padding-left: .3rem; margin: .35rem 0; }
.article-content a { color: #174c77; font-weight: 650; }
.article-content a[href^="tel:"] { color: var(--accent); }
.article-content blockquote { margin: 2rem 0; padding: .2rem 0 .2rem 1.5rem; border-left: 3px solid var(--accent); color: var(--ink); font-size: 1.15rem; }
.article-content table { width: 100%; display: block; overflow-x: auto; margin: 2rem 0; border-collapse: collapse; font-size: .9rem; }
.article-content th, .article-content td { min-width: 7rem; border-bottom: 1px solid var(--line); padding: .8rem 1rem; text-align: left; }
.article-content th { color: var(--ink); background: var(--mist); }
.article-content img { height: auto; }
.related-pages { margin-top: 3.25rem; padding-top: 1.6rem; border-top: 3px solid var(--accent); }
.article-content .related-pages h2 { margin: 0 0 1rem; font-size: 1.4rem; }
.article-content .related-pages ul { list-style: none; padding: 0; margin: 0; }
.related-pages li { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.related-pages a { color: var(--ink); font-size: .9rem; text-decoration-color: var(--accent); }
.related-pages a:hover { color: var(--accent); }

/* Inquiry form */
.quote-section { background: var(--paper); color: var(--text); border-top: 1px solid var(--line); }
.quote-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.section-number-light { color: #435a72; }
.section-number-light span { color: var(--accent); }
.quote-intro h2 { color: var(--ink); max-width: 12ch; }
.accent-period { color: var(--accent); }
.quote-intro > p:not(.section-number) { max-width: 30rem; color: #4d6175; font-size: 1rem; line-height: 1.75; }
.quote-intro > p a { color: #174c77; overflow-wrap: anywhere; }
.quote-intro > p a[href^="tel:"] { color: var(--accent); }
.quote-contact { display: flex; flex-direction: column; gap: .65rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.quote-contact > span { color: #4d6175; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.quote-contact a { width: max-content; max-width: 100%; overflow-wrap: anywhere; color: var(--accent); font-size: 1.45rem; font-weight: 750; text-decoration: none; }
.quote-contact a span { color: var(--accent); }
.quote-contact a:hover { text-decoration: underline; }
.quote-form-panel { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: #fff; color: var(--ink); }
.form-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: #435a72; font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .5rem; color: var(--ink); font-size: .76rem; font-weight: 750; }
.field label span { color: var(--accent); }
.field input, .field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #aabac9; border-radius: 0; background: #fff; color: var(--ink); padding: .75rem; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #637c94; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); outline-color: var(--accent); outline-offset: 2px; }
.form-note { margin: 1rem 0 1.35rem; color: #4d6175; font-size: .75rem; line-height: 1.55; }
.form-submit { width: 100%; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 3rem; padding-block: 4.5rem; }
.footer-brand-block p { margin: 1.5rem 0 0; color: #c6d3df; font-size: .86rem; line-height: 1.65; }
.footer-main h2 { margin: 0 0 1.3rem; color: #c6d3df; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav-block li + li { margin-top: .7rem; }
.footer-nav-block a { color: #e6edf5; font-size: .83rem; font-weight: 600; text-decoration: none; }
.footer-nav-block a:hover { text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-phone { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: .25rem .45rem; background: #fff; color: var(--accent); font-size: 1.45rem; font-weight: 750; text-decoration: none; }
.footer-email { max-width: 100%; margin-top: .8rem; color: #d5e1ec; font-size: .8rem; overflow-wrap: anywhere; }
.footer-phone:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid #526883; color: #c6d3df; font-size: .63rem; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.footer-bottom span span { padding-inline: .5rem; color: var(--accent-light); }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 1rem; padding-top: 1rem; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; overscroll-behavior-x: contain; }
  .primary-nav ul { justify-content: flex-start; width: max-content; min-width: 100%; gap: 1.6rem; }
  .primary-nav a { padding: 1rem 0; white-space: nowrap; }
  .header-action { grid-column: 2; grid-row: 1; }
  .assurance-inner { grid-template-columns: 1fr 1fr 1fr; }
  .assurance-note { grid-column: 1 / -1; padding: .85rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 760px) {
  body { padding-right: 2.6rem; background: var(--ink-deep); }
  .shell { width: min(100% - 2.5rem, var(--shell)); }
  .utility-inner { min-height: 37px; font-size: .58rem; }
  .utility-contact { font-size: 0; }
  .utility-contact a { margin-left: 0; font-size: .76rem; }
  .header-inner { min-height: 0; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-type strong { font-size: .78rem; }
  .brand-type > span { font-size: .53rem; }
  .header-action { padding: .7rem .8rem; font-size: .58rem; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 530px; }
  .hero-copy { justify-content: flex-start; background: linear-gradient(90deg, rgba(11, 37, 69, .95), rgba(11, 37, 69, .84)); }
  .hero-copy-inner { width: 100%; padding: 4rem 1.25rem 5rem; }
  .hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 9vw, 4.4rem); }
  .hero-summary { max-width: 38rem; }
  .hero-index { margin-top: 3rem; }
  .hero-media { min-height: 100%; height: auto; }
  .photo-credit { right: 1rem; max-width: calc(100% - 2rem); }
  .assurance-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .assurance-heading { grid-column: 1 / -1; }
  .assurance-heading strong br { display: none; }
  .assurance-note { grid-column: 1 / -1; }
  .spec-layout, .article-layout, .quote-layout { grid-template-columns: 1fr; gap: 3rem; }
  .article-rail { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; align-items: start; }
  .article-rail .section-number, .article-rail .rail-line { grid-column: 1 / -1; }
  .rail-line { margin: .7rem 0 1rem; }
  .article-rail .rail-title { grid-row: 3 / 5; }
  .article-rail > p:not(.rail-title):not(.section-number) { margin: 0; }
  .rail-phone { margin-top: 0; }
  .quote-intro h2 { max-width: 15ch; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand-block { grid-column: 1 / -1; }
}

/* Stack footer contacts before the phone panel gets squeezed at narrow widths. */
@media (max-width: 520px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 2rem); }
  .utility-tag { display: none; }
  .utility-inner { justify-content: flex-end; }
  .header-action { display: none; }
  .header-inner { grid-template-columns: 1fr; }
  .hero-copy-inner { padding-inline: 1rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .info-badge { gap: .6rem; }
  .badge-emblem { width: 44px; height: 44px; flex-basis: 44px; }
  .info-badge strong { font-size: .69rem; }
  .info-badge small { font-size: .67rem; }
  .spec-table th, .spec-table td { padding: .8rem .6rem; }
  .article-rail { grid-template-columns: 1fr; }
  .article-rail .rail-title { grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-quote { top: auto; bottom: 1rem; right: .35rem; transform: none; padding: .7rem .55rem; }
}

/* Very short landscape viewports keep the fixed tab wholly in view. */
@media (max-height: 200px) {
  .floating-quote { top: auto; right: .35rem; bottom: .5rem; transform: none; writing-mode: horizontal-tb; padding: .65rem .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
