/* ConcreteFortress Coatings: the one stylesheet. Described in docs/theme.md; keep the two in step.
   Surfaces: stone (default, light), paper (raised light), fortress green (dark). Brass is for dark surfaces only. */

:root {
  /* Palette. The --nx-* names are inherited from the template that started this repo; the values are ConcreteFortress's. */
  --nx-navy-900: #1E3A2F;   /* fortress green: dark sections, footer, headings */
  --nx-navy-800: #294A3C;   /* green, one step lighter: panels on dark */
  --nx-ink: #3A3A36;        /* granite: body text */
  --nx-ink-deep: #16291F;   /* deepest green: hover fill on dark */
  --nx-steel-600: #3F6B4A;  /* moss: buttons (white text), links and labels on light */
  --nx-steel-500: #55805F;  /* moss, lighter */
  --nx-steel-400: #7DA487;  /* moss, lightest */
  --nx-cyan: #C9A227;       /* brass: accent on dark only (dark text on it), decorative rules on light */
  --nx-cyan-hover: #DBB94A; /* brass hover */
  --nx-cyan-pale: #EBDDA8;  /* pale brass: light accent text on dark */
  --nx-silver-100: #E3EAE5; /* body text on dark (green-tinted neutral) */
  --nx-silver-300: #B7C5BC; /* muted text on dark */
  --nx-silver-500: #8FA196; /* faint on dark, decorative only */
  --nx-graphite: #5A5A53;   /* muted text on light */
  --nx-white: #FFFFFF;
  --nx-mist-50: #F4F2EC;    /* paper: raised light surfaces */
  --nx-mist-100: #E7E3DA;   /* stone: the page, the header */
  --nx-mist-200: #D4CFC2;   /* stone, darker: rules and borders on stone */

  /* Roles used by the rules below */
  --green: var(--nx-navy-900);
  --green-2: var(--nx-navy-800);
  --green-deep: var(--nx-ink-deep);
  --moss: var(--nx-steel-600);
  --brass: var(--nx-cyan);
  --stone: var(--nx-mist-100);
  --paper: var(--nx-mist-50);
  --rule: var(--nx-mist-200);
  --line: rgba(30, 58, 47, .28);
  --granite: var(--nx-ink);
  --muted: var(--nx-graphite);
  --on-dark: var(--nx-silver-100);
  --on-dark-muted: var(--nx-silver-300);
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0; background: var(--stone); color: var(--granite);
  font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green); }
::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sec--green :focus-visible, .cta :focus-visible, .site-footer :focus-visible, .callout--alert :focus-visible, .protect-head :focus-visible { outline-color: var(--brass); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-placeholder { border-bottom: 1px dashed currentColor; }

/* ---------- type */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); margin: 0 0 .55em; line-height: 1.06; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: .012em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-transform: uppercase; letter-spacing: .022em; text-wrap: balance; }
h3 { font-size: 1.55rem; letter-spacing: .01em; line-height: 1.12; }
h4 { font-size: 1.2rem; }
.eyebrow { font: 600 1.02rem/1.2 var(--font-head); letter-spacing: .17em; text-transform: uppercase; color: var(--moss); margin: 0 0 .8rem; }
.eyebrow--dark { color: var(--brass); }
.lede { font-size: 1.22rem; line-height: 1.55; max-width: 46rem; }
.rule { display: block; width: 72px; height: 4px; background: var(--brass); margin: 0 0 1.5rem; }

/* ---------- layout */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--paper { background: var(--paper); }
.sec--green { background: var(--green); color: var(--on-dark); }
.sec--green h2, .sec--green h3 { color: var(--paper); }
.sec-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p:last-child { margin-bottom: 0; }
.slab-grid {
  background-image: linear-gradient(rgba(231, 227, 218, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(231, 227, 218, .06) 1px, transparent 1px);
  background-size: 112px 112px; background-position: -1px -1px;
}
.slab-grid-light {
  background-image: linear-gradient(rgba(30, 58, 47, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 47, .06) 1px, transparent 1px);
  background-size: 112px 112px; background-position: -1px -1px;
}
.more-link { margin: 1.8rem 0 0; font: 600 1.1rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- buttons: square, outlined, condensed capitals */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .82rem 1.5rem;
  font: 600 1.1rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 1px solid var(--moss); border-radius: 0; background: var(--moss); color: #fff; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--paper); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: var(--green); }
.btn-brass:hover { background: var(--nx-cyan-hover); border-color: var(--nx-cyan-hover); color: var(--green); }
.btn-ghost-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); border-color: var(--paper); color: var(--green); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.2rem; }

/* ---------- icons: thin lines, square caps */
.icon { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
.icon--lg { width: 56px; height: 56px; stroke-width: 1; }
.icon--h { width: 1.05em; height: 1.05em; stroke-width: 1.4; color: var(--moss); }

/* ---------- header: two rows, wordmark centered on the first, nav centered on the second */
.site-header { background: var(--stone); position: relative; z-index: 50; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--paper); padding: 10px 16px; z-index: 100; font: 600 1rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.skip-link:focus { left: 12px; outline-color: var(--brass); }
.hdr-brand { padding-block: 24px 20px; }
.hdr-brand-inner { display: flex; justify-content: center; align-items: center; position: relative; }
.brand { display: inline-block; line-height: 0; }
.brand-logo { height: 54px; width: auto; max-width: 100%; }
.menu-btn { display: none; }
.hdr-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-list { display: flex; justify-content: center; align-items: center; gap: 0 clamp(1.4rem, 2.6vw, 2.6rem); list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a:not(.btn) {
  display: flex; align-items: center; gap: .5em; padding: 16px 0; font: 600 1.12rem/1 var(--font-head); letter-spacing: .1em;
  text-transform: uppercase; color: var(--green); text-decoration: none; position: relative;
}
.nav-list > li > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.nav-list > li > a:not(.btn):hover::after, .nav-list > li > a.active::after, .nav-list > li:focus-within > a:not(.btn)::after, .has-menu:hover > a::after { transform: scaleX(1); }
.nav-parent::before { content: ""; order: 2; width: .38em; height: .38em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-.1em); }
.nav-cta { margin-left: .4rem; }
.nav-cta .btn { padding: .66rem 1.1rem; font-size: 1.02rem; }
.menu { position: absolute; top: 100%; left: -20px; min-width: 310px; background: var(--paper); border: 1px solid var(--green); padding: 8px 0; list-style: none; display: none; z-index: 60; }
.has-menu:hover > .menu, .has-menu:focus-within > .menu { display: block; }
.menu a { display: block; padding: 10px 22px; color: var(--green); text-decoration: none; font: 500 1rem/1.3 var(--font-body); }
.menu a:hover, .menu a:focus-visible { background: var(--green); color: var(--paper); outline: 0; }
.menu-all { font: 600 1.05rem var(--font-head) !important; letter-spacing: .1em; text-transform: uppercase; }
.menu-sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

/* ---------- footer: fortress green, brass divider, two columns and a legal row */
.site-footer { background: var(--green); color: var(--on-dark); border-top: 4px solid var(--brass); font-size: .99rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 80px); }
.logo-plate { display: inline-block; background: var(--stone); padding: 16px 22px; line-height: 0; }
.footer-logo { height: 46px; width: auto; max-width: 100%; }
.footer-brand p { max-width: 30rem; margin: 1.4rem 0; color: var(--on-dark); }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.contact-list .icon { color: var(--brass); margin-top: .1em; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-h { font: 600 1.1rem/1.2 var(--font-head); letter-spacing: .17em; text-transform: uppercase; color: var(--brass); margin: 0 0 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brass); text-decoration: underline; }
.footer-legal { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 20px 26px; color: var(--on-dark-muted); font-size: .94rem; }
.footer-legal::before { content: ""; position: absolute; top: 0; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); height: 1px; background: var(--brass); }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--on-dark-muted); }

/* ---------- home */
.hero { text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--green); }
.hero .rule { margin-inline: auto; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); max-width: 21ch; margin-inline: auto; }
.hero .lede { margin: 1.4rem auto 2.2rem; max-width: 44rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .hero-frame { max-width: 1040px; margin: clamp(40px, 6vw, 68px) auto 0; text-align: left; }
.hero .hero-frame img { aspect-ratio: 21 / 9; object-fit: cover; }
.hazards { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--green); border-left: 1px solid var(--green); }
.hazard { display: flex; flex-direction: column; padding: 30px 24px 26px; background: var(--stone); border-right: 1px solid var(--green); border-bottom: 1px solid var(--green); transition: background .15s; }
.hazard:hover { background: #fff; }
.hazard .icon--lg { color: var(--moss); margin-bottom: 20px; }
.hazard h3 { font-size: 1.55rem; text-transform: uppercase; letter-spacing: .05em; }
.hazard p { font-size: .98rem; line-height: 1.55; }
.hazard .more { margin-top: auto; align-self: flex-start; padding-top: .6rem; display: inline-flex; align-items: center; gap: .5em; font: 600 .98rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--green); }
.hazard .more:hover { color: var(--moss); }
.hazard .more .row-arrow { display: inline-flex; width: auto; height: auto; border: 0; background: none; }
.hazard .more .icon { width: 1.1em; height: 1.1em; }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach-intro { position: sticky; top: 28px; }
.approach-intro p { max-width: 30rem; }
.principles { list-style: none; }
.principles li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0 18px; padding: 28px 0; border-top: 1px solid rgba(231, 227, 218, .28); }
.principles li:last-child { border-bottom: 1px solid rgba(231, 227, 218, .28); }
.p-n { font: 600 2.7rem/1 var(--font-head); color: var(--brass); }
.principles h3 { color: var(--paper); font-size: 1.65rem; margin-bottom: .35em; }
.principles p { margin: 0; color: var(--on-dark); }
.band { background: var(--paper); border-block: 1px solid var(--green); padding-block: 18px; text-align: center; }
.band p { margin: 0; font-size: 1.02rem; }
.cta { background: var(--green); color: var(--on-dark); padding-block: clamp(56px, 7vw, 96px); }
.cta h2 { color: var(--paper); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta-inner p { max-width: 38rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta--home .cta-inner { align-items: start; }
.cta-card { border: 1px solid rgba(231, 227, 218, .4); padding: 28px; }
.cta-card-label { font: 600 1.05rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0 0 .8rem; }
.cta-list { list-style: none; margin: 0 0 1.6rem; }
.cta-list li { padding: 11px 0; border-top: 1px solid rgba(231, 227, 218, .28); }
.cta-list li:first-child { border-top: 0; }

/* ---------- list rows (industries, coatings, related): name, one line, arrow */
.rows { list-style: none; border-top: 1px solid var(--green); }
.rows li { border-bottom: 1px solid var(--green); }
.row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto; gap: 0 32px; align-items: center; padding: 26px 10px; text-decoration: none; color: var(--granite); transition: background .15s; }
.row-name { font: 600 clamp(1.5rem, 2.5vw, 2.1rem)/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .035em; color: var(--green); }
.row-note { color: var(--granite); }
.row-arrow { width: 46px; height: 46px; border: 1px solid var(--green); display: grid; place-items: center; color: var(--green); transition: background .15s, color .15s; }
.row-arrow .icon { width: 22px; height: 22px; }
.row:hover { background: var(--paper); color: var(--granite); }
.row:hover .row-arrow { background: var(--green); color: var(--brass); }
.rows--compact .row { padding: 18px 10px; }
.rows--compact .row-name { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.sec--paper .row:hover { background: var(--stone); }
.also { margin: 3rem 0 1rem; }
.also-title { font-size: 1.7rem; }

/* ---------- inner pages */
.page-head { padding-block: clamp(26px, 4vw, 44px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--green); }
.page-head--center { text-align: center; }
.page-head--center .rule { margin-inline: auto; }
.page-head--center .lede { margin-inline: auto; }
.page-head h1 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); max-width: 30ch; text-wrap: pretty; }
.page-head--center h1 { margin-inline: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 clamp(24px, 3.5vw, 40px); font: 600 .92rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.page-head--center .crumbs ol { justify-content: center; }
.crumbs li + li::before { content: "/"; margin: 0 .75em; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { color: var(--green); }
.page-head .lede { margin: 1.2rem 0 0; }
.page-head--center .lede { margin-inline: auto; }
.hazard-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 1.9rem 0 0; }
.hazard-tags a { display: inline-flex; align-items: center; gap: .55em; padding: .42rem .9rem .42rem .7rem; border: 1px solid var(--green); background: var(--paper); font: 600 .98rem/1 var(--font-head); letter-spacing: .09em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.hazard-tags a:hover { background: var(--green); color: var(--paper); }
.jump { display: none; margin-top: 1.4rem; font: 600 1rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.bignum { font: 700 clamp(5rem, 16vw, 11rem)/.9 var(--font-head); color: var(--green); letter-spacing: .04em; margin: 0 0 .2em; }

.longform { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 6vw, 88px); padding-block: clamp(44px, 6vw, 80px); align-items: start; }
.longform--single { grid-template-columns: minmax(0, 1fr); }
.longform--single > .prose { max-width: 46rem; }
.longform--toc { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.longform--toc > .prose { max-width: 48rem; }
.toc { position: sticky; top: 24px; }
.toc-label { font: 600 .95rem var(--font-head); letter-spacing: .17em; text-transform: uppercase; color: var(--moss); margin: 0 0 .8rem; }
.toc ol { list-style: none; border-left: 1px solid var(--green); }
.toc a { display: block; padding: 7px 0 7px 16px; font: 600 1.02rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.toc a:hover { background: var(--paper); }

/* prose: long-form reading */
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2.3em 0 .6em; clear: both; font-size: clamp(1.8rem, 3vw, 2.35rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.7em 0 .45em; }
.prose p, .prose .list li { max-width: 46rem; }
.longform--single > .prose--hub { max-width: none; }
.prose--hub > h2, .prose--hub > .callout { max-width: 46rem; }
.prose--hub > h2#children { max-width: none; }
.prose .updated { font: 600 1rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose--wide { padding-block: clamp(40px, 5vw, 72px); }
.prose--wide > p, .prose--wide > ul, .prose--wide > ol, .prose--wide > h2, .prose--wide > h3, .prose--wide > .callout, .prose--wide > .ruled { max-width: 46rem; }
.list { list-style: none; margin: 0 0 1.5em; }
.list li { position: relative; padding-left: 1.5em; margin-bottom: .6em; }
ul.list li::before { content: ""; position: absolute; left: 0; top: .66em; width: .5em; height: .5em; background: var(--moss); }
ol.list { counter-reset: li; }
ol.list li { counter-increment: li; padding-left: 2.1em; }
ol.list li::before { content: counter(li); position: absolute; left: 0; top: -.02em; font: 600 1.25rem var(--font-head); color: var(--moss); }
.ruled { margin: 1.5rem 0 2rem; border-top: 1px solid var(--green); }
.ruled > div { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: 0 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ruled dt { font: 600 1.3rem/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--green); }
.ruled dd { margin: 0; }
.callout { display: flow-root; margin: 2rem 0; border: 1px solid var(--green); border-left-width: 5px; background: var(--paper); padding: 20px 24px; }
.callout-label { font: 600 1.02rem var(--font-head); letter-spacing: .17em; text-transform: uppercase; color: var(--moss); margin: 0 0 .5rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--alert { background: var(--green); color: var(--on-dark); border-left-color: var(--brass); }
.callout--alert .callout-label { color: var(--brass); }
.callout--alert a { color: var(--brass); }
.callout--alert a:hover { color: var(--nx-cyan-pale); }
h2.has-icon { display: flex; align-items: center; gap: .5em; }

.frame { margin: 2rem 0; border: 1px solid var(--green); padding: 10px; background: var(--paper); }
.frame img { width: 100%; }
.frame figcaption { font-size: .92rem; line-height: 1.45; color: var(--muted); padding-top: 10px; }
.frame--square img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 72%; }
.frame--side { float: right; width: min(340px, 44%); margin: .3rem 0 1.5rem 2.2rem; }
/* photo frames: crop an <img> to a ratio, steer the crop with an .fp-NN class (object-position: 50% NN%) */
.frame--21x9 img { aspect-ratio: 21 / 9; object-fit: cover; }
.frame--16x9 img { aspect-ratio: 16 / 9; object-fit: cover; }
.frame--5x3 img { aspect-ratio: 5 / 3; object-fit: cover; }
.frame--4x3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.fp-30 { object-position: 50% 30%; }
.fp-40 { object-position: 50% 40%; }
.fp-50 { object-position: 50% 50%; }
.fp-55 { object-position: 50% 55%; }
.fp-60 { object-position: 50% 60%; }
.fp-65 { object-position: 50% 65%; }
.fp-70 { object-position: 50% 70%; }
.fp-x30 { object-position: 30% 50%; }
.frame--col { max-width: 46rem; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 2rem 0; }
.strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip .frame { margin: 0; }

.protect { position: sticky; top: 24px; border: 1px solid var(--green); background: var(--paper); }
.protect-head { display: flex; align-items: center; gap: 14px; background: var(--green); color: var(--paper); padding: 16px 22px; }
.protect-head .icon { color: var(--brass); width: 32px; height: 32px; stroke-width: 1.15; }
.protect-head h2 { margin: 0; font-size: 1.55rem; color: var(--paper); }
.protect-body { padding: 20px 22px 24px; }
.protect-body > p { font-size: .97rem; color: var(--muted); }
.checks { list-style: none; margin: 0 0 1.4rem; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .97rem; line-height: 1.45; }
.checks li:first-child { border-top: 0; }
.checks .icon { width: 22px; height: 22px; color: var(--moss); stroke-width: 1.4; margin-top: 1px; }
.protect .btn { width: 100%; }
.also-sec .wrap > h2 { margin-bottom: 1.2rem; }

/* comparison table */
.table-wrap { margin: 2rem 0 2.4rem; }
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--green); background: var(--paper); font-size: .98rem; line-height: 1.5; }
.compare caption { caption-side: top; text-align: left; font: 600 1.02rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); padding: 0 0 .8rem; }
.compare thead th { background: var(--green); color: var(--paper); font: 600 1rem var(--font-head); letter-spacing: .13em; text-transform: uppercase; text-align: left; padding: 14px 16px; border-right: 1px solid rgba(231, 227, 218, .25); }
.compare tbody th, .compare tbody td { padding: 16px; vertical-align: top; text-align: left; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare tbody th { font: 600 1.3rem/1.15 var(--font-head); color: var(--green); width: 19%; }
.compare tbody th a { color: inherit; }
.compare tbody tr:nth-child(even) { background: var(--stone); }
.compare th:last-child, .compare td:last-child { border-right: 0; }

/* steps and long principles (approach page) */
.steps { list-style: none; margin: 2rem 0; }
.steps > li { position: relative; padding: 0 0 2.4rem 76px; }
.steps > li::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 1px; background: var(--green); }
.steps > li:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border: 1px solid var(--green); background: var(--paper); display: grid; place-items: center; font: 600 1.3rem var(--font-head); color: var(--green); }
.steps h3 { margin: .15rem 0 .5rem; }
.steps p { margin-bottom: .8em; }
.ask { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.ask-label { font: 600 .95rem var(--font-head); letter-spacing: .15em; text-transform: uppercase; color: var(--moss); margin: 0 0 .5rem; }
.ask .list { margin-bottom: 0; }
.principles--long { margin: 2rem 0; }
.principles--long li { border-top: 1px solid var(--green); }
.principles--long li:last-child { border-bottom: 1px solid var(--green); }
.principles--long .p-n { color: var(--moss); }
.principles--long h3 { color: var(--green); }
.prose .principles--long h3 { margin-top: 0; }
.principles--long p { color: var(--granite); }

/* FAQ */
.faq-group { margin: 0 0 3.2rem; }
.faq-group > h2 { margin-top: 0; font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
details.qa { border-top: 1px solid var(--green); }
.faq-group details.qa:last-child { border-bottom: 1px solid var(--green); }
details.qa summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 0; font: 600 1.45rem/1.2 var(--font-head); letter-spacing: .01em; color: var(--green); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--moss); }
details.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
details.qa[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.qa-a { padding: 0 56px 22px 0; max-width: 46rem; }
.qa-a p:last-child { margin-bottom: 0; }

/* contact */
.contact-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 880px; margin: 0 auto 40px; border: 1px solid var(--green); background: var(--paper); }
.contact-strip li { display: flex; gap: 12px; padding: 18px 20px; border-right: 1px solid var(--green); }
.contact-strip li:last-child { border-right: 0; }
.contact-strip .icon { color: var(--moss); margin-top: .15em; }
.strip-label { font: 600 .92rem var(--font-head); letter-spacing: .15em; text-transform: uppercase; color: var(--moss); margin: 0; }
.strip-value { margin: 0; font-size: .98rem; word-break: break-word; }
.form-panel { max-width: 880px; margin: 0 auto; border: 1px solid var(--green); background: var(--paper); padding: clamp(24px, 4vw, 48px); }
.form-intro { color: var(--muted); font-size: .98rem; }
fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
legend { display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 1.2rem; font: 600 1.55rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--green); }
.legend-n { width: 34px; height: 34px; border: 1px solid var(--green); display: grid; place-items: center; font-size: 1.15rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.form-group label { display: block; font: 600 .96rem var(--font-body); margin-bottom: 6px; color: var(--green); }
input, select, textarea { width: 100%; font: inherit; color: var(--granite); background: #fff; border: 1px solid #6B6B63; border-radius: 0; padding: 12px 14px; min-height: 48px; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231E3A2F' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.form-note { font-size: .95rem; color: var(--muted); margin: 0 0 1.4rem; }
.form-status { margin: 1.2rem 0 0; padding: 12px 16px; border: 1px solid #8A1F1F; background: #fff; color: #7A1818; }
.have-ready { max-width: 880px; margin: 3.2rem auto 0; }
.have-ready h2 { font-size: 1.8rem; }
.checks--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.checks--two li:nth-child(2) { border-top: 0; }

/* ---------- breakpoints */
@media (max-width: 1180px) {
  .hazards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hazard { grid-column: span 2; }
  .hazard:nth-child(n+4) { grid-column: span 3; }
  .nav-list { gap: 0 1.4rem; }
}
@media (max-width: 959px) {
  .hdr-brand { position: relative; padding-block: 16px 64px; }
  .hdr-brand-inner { position: static; }
  .brand-logo { height: 40px; }
  .menu-btn { display: flex; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 48px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--green); align-items: center; justify-content: center; gap: 14px; cursor: pointer; border-radius: 0; padding: 0; font: 600 1.1rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; }
  .menu-btn::after { content: "Menu"; }
  .menu-btn[aria-expanded="true"] { background: var(--green); color: var(--stone); }
  .menu-btn[aria-expanded="true"]::after { content: "Close"; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; position: relative; }
  .menu-bars::before { position: absolute; top: -7px; left: 0; }
  .menu-bars::after { position: absolute; top: 7px; left: 0; }
  .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }
  .hdr-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--stone); max-height: calc(100vh - 76px); overflow-y: auto; border-bottom: 1px solid var(--green); }
  .hdr-nav.open { display: block; }
  .nav-list { display: block; padding-block: 6px 22px; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a:not(.btn) { padding: 14px 0; font-size: 1.3rem; }
  .nav-list > li > a:not(.btn)::after, .nav-parent::before { display: none; }
  .menu { position: static; display: block; min-width: 0; border: 0; background: transparent; padding: 0 0 12px 14px; }
  .menu a { padding: 7px 0; color: var(--granite); }
  .menu a:hover, .menu a:focus-visible { background: transparent; color: var(--moss); }
  .menu-sep { border-top: 0; margin-top: 4px; padding-top: 0; }
  .nav-cta { border: 0 !important; margin: 18px 0 0; }
  .nav-cta .btn { display: flex; width: 100%; }
  .longform, .longform--toc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .protect { position: static; }
  .jump { display: inline-block; }
  .approach-grid, .cta-inner, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .approach-intro { position: static; }
  .cta .actions { justify-content: flex-start; }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; }
  .row-note { grid-column: 1; grid-row: 2; }
  .row-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .page-head h1 { max-width: none; }
}
@media (max-width: 900px) {
  .ruled > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 820px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; left: -9999px; }
  .compare caption { display: block; padding: 14px 16px 4px; }
  .compare tbody tr { border-top: 1px solid var(--green); padding: 6px 0; }
  .compare tbody tr:first-child { border-top: 0; }
  .compare tbody th { border: 0; padding: 14px 16px 4px; width: auto; }
  .compare tbody td { border: 0; padding: 6px 16px; }
  .compare tbody td::before { content: attr(data-label); display: block; font: 600 .82rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
  .compare tbody tr:last-child td:last-child { padding-bottom: 14px; }
}
@media (max-width: 720px) {
  .hazards { grid-template-columns: minmax(0, 1fr); }
  .hazard, .hazard:nth-child(n+4) { grid-column: auto; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-strip li:nth-child(2) { border-right: 0; }
  .contact-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--green); }
  .form-grid, .checks--two { grid-template-columns: minmax(0, 1fr); }
  .checks--two li:nth-child(2) { border-top: 1px solid var(--line); }
  .ruled > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .frame--side { float: none; width: 100%; margin: 1.6rem 0; }
  .strip, .strip--2 { grid-template-columns: minmax(0, 1fr); }
  .principles li { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .steps > li { padding-left: 62px; }
  .step-n { width: 42px; height: 42px; }
  .steps > li::before { left: 20px; top: 46px; }
  details.qa summary { font-size: 1.3rem; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .cta-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
