:root {
  --ink: #171717;
  --charcoal: #232323;
  --graphite: #3a3a38;
  --smoke: #6c6a65;
  --paper: #f3f0e9;
  --paper-deep: #e8e3d8;
  --white: #fff;
  --red: #c91624;
  --red-dark: #9f111b;
  --ember: #e2602b;
  --line: rgba(23, 23, 23, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.13);
  --radius: 5px;
  --max: 1240px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 9%, rgba(201, 22, 36, 0.045), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--red);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  color: var(--white);
  text-decoration: none;
  align-items: center;
  gap: 0.7rem;
}

.brand:hover {
  color: var(--white);
}

.brand > span:last-child {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.brand small {
  margin-top: 0.2rem;
  color: #c7c3bb;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: var(--red);
  border-radius: 3px 12px 3px 3px;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  transform: rotate(-4deg);
}

.brand-mark::after {
  position: absolute;
  top: -3px;
  right: 6px;
  width: 8px;
  height: 12px;
  content: "";
  background: var(--ember);
  border-radius: 100% 0 100% 100%;
  transform: rotate(28deg);
}

.brand-mark i {
  display: block;
  background: var(--white);
  border-radius: 1px 5px 1px 4px;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  opacity: 0.78;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.primary-nav > ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav > ul > li {
  position: relative;
}

.primary-nav a,
.primary-nav button {
  display: inline-flex;
  min-height: 44px;
  padding: 0.6rem 0.72rem;
  color: #e9e7e1;
  background: none;
  border: 0;
  text-decoration: none;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.primary-nav button span {
  color: #9f9d98;
  font-size: 1.1rem;
  transition: transform 160ms ease;
}

.primary-nav .has-submenu.open > button span {
  transform: rotate(45deg);
}

.primary-nav a:hover,
.primary-nav button:hover {
  color: var(--white);
}

.primary-nav .has-submenu > ul {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  display: none;
  min-width: 250px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: #242424;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.primary-nav .has-submenu.open > ul {
  display: block;
}

.primary-nav .has-submenu li a {
  display: flex;
  padding: 0.65rem 0.8rem;
  border-radius: 3px;
}

.primary-nav .has-submenu li a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button-primary:hover {
  color: var(--white);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--red);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.button-outline {
  color: var(--ink);
  border-color: var(--ink);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.button-small {
  min-height: 40px;
  padding: 0.58rem 0.9rem;
  font-size: 0.88rem;
}

main {
  overflow: clip;
}

.page-shell {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

.breadcrumbs {
  padding: 1.15rem 0 0;
  color: var(--smoke);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs li + li::before {
  margin: 0 0.55rem;
  content: "/";
  color: #aaa69f;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 580px;
  margin: 1.25rem 0 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(19, 19, 19, 0.98), rgba(19, 19, 19, 0.92) 48%, rgba(19, 19, 19, 0.45)),
    #171717;
  border-radius: 8px;
  box-shadow: var(--shadow);
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -70px;
  left: 42%;
  width: 2px;
  height: 760px;
  content: "";
  background: var(--red);
  box-shadow: 18px 0 0 rgba(201, 22, 36, 0.12);
  transform: rotate(18deg);
  transform-origin: top;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  padding: clamp(3.4rem, 7vw, 6.7rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: #ff707a;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Inter, ui-sans-serif, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-stretch: condensed;
}

.standard-page h1,
.article-page h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

p {
  margin-top: 0;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 0;
  color: #d8d5ce;
  font-size: clamp(1.05rem, 1.6vw, 1.33rem);
}

.hero-actions {
  display: flex;
  margin-top: 2rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  min-height: 100%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  filter: saturate(0.75) contrast(1.08);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.65), transparent 45%), linear-gradient(0deg, rgba(23, 23, 23, 0.38), transparent 40%);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  padding: 0.8rem 0.95rem;
  color: var(--white);
  background: rgba(17, 17, 17, 0.86);
  border-left: 3px solid var(--red);
  backdrop-filter: blur(6px);
}

.hero-badge span {
  color: #c9c6bf;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-badge strong {
  font-size: 0.92rem;
}

.hero-text-only {
  min-height: 420px;
  grid-template-columns: 1fr;
}

.hero-text-only::after {
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  content: "";
  border: 72px solid rgba(201, 22, 36, 0.16);
  border-radius: 50%;
}

.page-content {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-block {
  margin-top: clamp(5rem, 9vw, 9rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading > p:last-child,
.split-panel > div > p,
.content-grid > div > p,
.legal-copy p,
.article-copy p {
  color: #4f4d49;
}

.proof-strip {
  display: grid;
  margin-top: -2rem;
  padding: 0;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip div {
  display: grid;
  min-height: 150px;
  padding: 1.6rem;
  align-content: center;
  gap: 0.45rem;
}

.proof-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-strip strong {
  font-size: 1.13rem;
}

.proof-strip span {
  color: #fff;
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.image-card {
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.12);
}

.image-card picture {
  display: block;
  aspect-ratio: 1.82 / 1;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.image-card:hover img {
  transform: scale(1.025);
}

.image-card > div {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.image-card p {
  color: #c7c4bd;
}

.card-kicker {
  margin-bottom: 0.45rem;
  color: #ff7881 !important;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  color: inherit;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
}

.image-card .text-link {
  color: var(--white);
}

.split-panel,
.content-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.split-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.split-panel picture {
  min-width: 0;
}

.split-panel picture img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid article {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background: var(--paper);
}

.card-grid article p {
  margin-bottom: 0.75rem;
  color: #5d5a55;
}

.card-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--red);
  font-family: Impact, "Arial Narrow Bold", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.quote-brief {
  display: grid;
  padding: clamp(2rem, 5vw, 4.2rem);
  background: var(--paper-deep);
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 22, 36, 0.1);
}

.cta-band {
  display: flex;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding: clamp(2.4rem, 6vw, 5.5rem);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(201, 22, 36, 0.18), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 18px),
    var(--ink);
  border-radius: var(--radius);
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-band > div {
  max-width: 770px;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p:last-child {
  margin-bottom: 0;
  color: #d0cdc6;
}

.cta-band .button {
  min-width: 220px;
  flex: 0 0 auto;
}

.fact-panel,
.callout {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--paper-deep);
  border-left: 4px solid var(--red);
}

.fact-panel h3,
.callout h3 {
  font-size: 1.7rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.spec-list {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: spec;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-list li {
  min-height: 110px;
  padding: 1.3rem;
  background: var(--paper);
  counter-increment: spec;
}

.spec-list li::before {
  display: block;
  margin-bottom: 0.6rem;
  content: counter(spec, decimal-leading-zero);
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.resource-link {
  display: flex;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.resource-link > div {
  max-width: 760px;
}

.resource-link h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.resource-link p:last-child {
  margin-bottom: 0;
  color: var(--smoke);
}

.process-list {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  display: grid;
  min-height: 190px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--paper);
  grid-template-columns: 56px 1fr;
  gap: 1rem;
}

.process-list li > span {
  color: var(--red);
  font-family: Impact, "Arial Narrow Bold", sans-serif;
  font-size: 1.2rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--smoke);
}

.credential-grid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.credential-grid article {
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
}

.scope-note {
  max-width: 860px;
  margin: 1.5rem 0 0;
  color: var(--smoke);
  font-size: 0.92rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.resource-grid article {
  min-height: 285px;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.07);
}

.resource-grid h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
}

.resource-grid h2 a {
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

.resource-grid article > p:last-child {
  color: var(--smoke);
}

.article-copy,
.legal-copy {
  max-width: var(--reading);
  margin: 0 auto;
}

.article-copy .lead {
  margin-bottom: 3.5rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.article-copy h2,
.legal-copy h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.article-copy li,
.legal-copy li {
  margin-bottom: 0.5rem;
}

.article-summary {
  margin-top: 4rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--paper-deep);
  border-left: 4px solid var(--red);
}

.article-summary h2 {
  margin-top: 0;
}

.updated {
  margin-top: 3rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-layout {
  align-items: start;
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
}

.privacy-note {
  margin-top: 2rem;
  padding-top: 1.4rem;
  color: var(--smoke);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.form-shell {
  min-width: 0;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--white);
  border-top: 5px solid var(--red);
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  gap: 1.4rem;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
}

.field label,
.field legend {
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: #fdfcf9;
  border: 1px solid #aaa69f;
  border-radius: 2px;
}

.field textarea {
  min-height: 155px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--graphite);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(201, 22, 36, 0.12);
}

.field-error {
  min-height: 1.15em;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 750;
}

.checkbox-group {
  padding: 1rem;
  border: 1px solid var(--line);
}

.checkbox-group label {
  display: flex;
  font-weight: 500;
  align-items: flex-start;
  gap: 0.6rem;
}

.checkbox-group input,
.consent input {
  width: 1.1rem;
  height: 1.1rem;
  min-height: auto;
  margin: 0.22rem 0 0;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.consent {
  display: flex;
  font-size: 0.88rem;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-actions p {
  margin: 0;
  color: var(--smoke);
  font-size: 0.78rem;
}

.form-status {
  display: none;
  padding: 1rem;
  font-weight: 700;
  border-left: 4px solid;
}

.form-status.success {
  display: block;
  color: #154c2b;
  background: #e9f5ed;
  border-color: #25874e;
}

.form-status.error {
  display: block;
  color: #7a151d;
  background: #fff0f1;
  border-color: var(--red);
}

.quote-form.submitting {
  opacity: 0.72;
  pointer-events: none;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  margin-top: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5.5rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  color: #d1cec8;
  background: #111;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-grid h2 {
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-grid ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.62rem;
}

.footer-grid a {
  color: #d1cec8;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 1.5rem;
  color: #a6a39d;
}

.footer-bottom {
  display: flex;
  margin-top: 4rem;
  padding-top: 1.4rem;
  color: #96938d;
  font-size: 0.82rem;
  border-top: 1px solid var(--line-dark);
  justify-content: space-between;
  gap: 2rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom span {
  margin: 0 0.55rem;
}

@media (min-width: 981px) {
  .primary-nav .has-submenu:hover > ul,
  .primary-nav .has-submenu:focus-within > ul {
    display: block;
  }
}

@media (max-width: 1120px) {
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    padding-inline: 0.45rem;
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .proof-strip div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .card-grid.four {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--line-dark);
    align-items: center;
    gap: 0.65rem;
  }

  .nav-toggle i,
  .nav-toggle i::before,
  .nav-toggle i::after {
    display: block;
    width: 20px;
    height: 2px;
    content: "";
    background: var(--white);
  }

  .nav-toggle i {
    position: relative;
  }

  .nav-toggle i::before {
    position: absolute;
    top: -6px;
  }

  .nav-toggle i::after {
    position: absolute;
    top: 6px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 68px);
    padding: 1rem 1.5rem 1.5rem;
    background: #171717;
    border-top: 1px solid var(--line-dark);
    overflow: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav > ul {
    display: grid;
    align-items: stretch;
  }

  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    width: 100%;
    padding: 0.75rem 0;
    justify-content: space-between;
  }

  .primary-nav .has-submenu > ul {
    position: static;
    min-width: 0;
    margin: 0 0 0.5rem;
    padding: 0 0 0 0.8rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-nav .has-submenu li a {
    padding: 0.6rem 0.65rem;
  }

  .primary-nav > .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    padding: clamp(3rem, 9vw, 5rem);
  }

  .hero-media {
    min-height: 360px;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-text-only {
    min-height: 390px;
  }

  .split-panel,
  .content-grid,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-layout {
    gap: 3rem;
  }

  .spec-list {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band,
  .resource-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .button {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .brand strong {
    font-size: 1.17rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
  }

  .page-shell {
    width: min(calc(100% - 2rem), var(--max));
  }

  .hero {
    margin-top: 0.8rem;
    border-radius: 4px;
  }

  .hero-copy {
    padding: 2.5rem 1.35rem 3rem;
  }

  h1,
  .standard-page h1,
  .article-page h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 270px;
  }

  .hero-badge {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .page-content {
    padding-block: 4rem;
  }

  .proof-strip {
    margin-top: -1.2rem;
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 120px;
  }

  .proof-strip div + div,
  .proof-strip div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .product-grid,
  .card-grid.four,
  .card-grid.three,
  .resource-grid,
  .credential-grid,
  .process-list,
  .spec-list,
  .quote-brief,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .split-panel {
    padding: 1.5rem;
  }

  .split-panel picture img {
    min-height: 220px;
  }

  .card-grid article {
    padding: 1.5rem;
  }

  .card-number {
    margin-bottom: 1.5rem;
  }

  .process-list li {
    min-height: 0;
    grid-template-columns: 42px 1fr;
  }

  .quote-brief {
    gap: 1.5rem;
  }

  .cta-band {
    padding: 2rem 1.4rem;
  }

  .cta-band .button,
  .resource-link .button {
    width: 100%;
  }

  .form-shell {
    padding: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .cta-band {
    display: none !important;
  }

  body {
    background: var(--white);
  }

  .page-shell {
    width: 100%;
  }

  .hero {
    min-height: auto;
    color: var(--ink);
    background: var(--white);
    box-shadow: none;
  }

  .hero-media {
    display: none;
  }
}
