/* ==========================================================================
   Coast Marine Sales - mobile-first polished stylesheet
   Base = phones. Enhance with min-width queries.
     40em (640px)  - tablet
     48em (768px)  - large tablet
     64em (1024px) - desktop
   ========================================================================== */

[hidden] { display: none !important; }

:root {
  /* Deep maritime navy + steel + bronze */
  --navy: #0a2338;
  --navy-deep: #051520;
  --navy-mid: #123a55;
  --steel: #5b6b7c;
  --steel-light: #8a97a6;
  --bronze: #b08d57;
  --bronze-bright: #c9a66b;
  --bronze-deep: #8f7040;
  --teal: #1b6b6a;           /* keep for links continuity */
  --teal-bright: #228a87;
  --sand: #e6e0d2;
  --sand-soft: #f3efe6;
  --charcoal: #121a22;
  --muted: #546170;
  --line: #dde3ea;
  --line-strong: #c2ccd6;
  --white: #ffffff;
  --page: #f3f5f7;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(5, 21, 32, 0.07);
  --shadow-md: 0 10px 28px rgba(5, 21, 32, 0.11);
  --shadow-lg: 0 18px 40px rgba(5, 21, 32, 0.16);
  --container: 70rem;
  --gutter: 1.1rem;
  --header-h: 3.85rem;
  --touch: 2.75rem;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --text-base: 1.0625rem;
  --leading: 1.65;
  --ease: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--charcoal);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 7.2vw, 2.35rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 1.85rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-mid); }
a:hover { color: var(--bronze-deep); }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 0.75rem;
  width: auto;
  height: auto;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* Buttons - prominent, consistent hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--touch);
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-sm {
  min-height: 2.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.94rem;
}

/* Solid navy - header Contact, in-page primary */
.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 3px 12px rgba(5, 21, 32, 0.22);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 21, 32, 0.28);
}

/* Bronze accent - hero primary / key CTA */
.btn-accent {
  background: linear-gradient(180deg, var(--bronze-bright) 0%, var(--bronze) 100%);
  border-color: var(--bronze-deep);
  color: #1a1408;
  box-shadow: 0 4px 16px rgba(143, 112, 64, 0.35);
  font-weight: 700;
}
.btn-accent:hover,
.btn-accent:focus-visible {
  background: linear-gradient(180deg, #d4b57a 0%, var(--bronze-bright) 100%);
  border-color: var(--bronze);
  color: #14100a;
  box-shadow: 0 8px 22px rgba(143, 112, 64, 0.42);
}

/* Light surface button */
.btn-tertiary {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(5, 21, 32, 0.06);
}
.btn-tertiary:hover,
.btn-tertiary:focus-visible {
  background: var(--sand-soft);
  border-color: var(--bronze);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(5, 21, 32, 0.1);
}

/* Hero outline (on dark) */
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--bronze-bright);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(201, 166, 107, 0.35);
}

/* Quiet text-style on dark hero */
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(201, 166, 107, 0.7);
  padding-inline: 0.35rem;
  min-height: 2.5rem;
  box-shadow: none;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  text-decoration-color: var(--bronze-bright);
  background: transparent;
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(11, 42, 63, 0.07);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
  flex: 1 1 auto;
}
.brand img {
  height: 2.4rem;
  width: auto;
  flex-shrink: 0;
}
.brand-name {
  display: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.main-nav { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-cta { display: none; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem var(--gutter) 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0.65rem 0.8rem;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}
.mobile-nav a:not(.btn):hover,
.mobile-nav a:not(.btn):focus-visible {
  background: var(--page);
  color: var(--navy);
}
.mobile-nav-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Hero - stronger maritime impact */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(70% 90% at 95% 10%, rgba(176, 141, 87, 0.18) 0%, transparent 50%),
    radial-gradient(80% 70% at 0% 100%, rgba(90, 107, 124, 0.35) 0%, transparent 55%),
    linear-gradient(155deg, #030d16 0%, var(--navy-deep) 32%, var(--navy) 68%, #0f3048 100%);
  border-bottom: 3px solid var(--bronze);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 92%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 13, 22, 0.25) 0%, transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 2.75rem 0 3rem;
  display: grid;
  gap: 1.1rem;
  max-width: 42rem;
}
.hero-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 166, 107, 0.45);
  background: rgba(176, 141, 87, 0.12);
  color: var(--bronze-bright);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-title {
  color: #fff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  font-size: clamp(1.95rem, 7.5vw, 2.55rem);
  line-height: 1.15;
}
.hero-subtitle {
  margin: 0;
  color: rgba(214, 222, 232, 0.95);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 38rem;
  border-left: 3px solid var(--bronze);
  padding-left: 1rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.45rem;
}
.hero-actions .btn { width: 100%; }
.hero-actions .btn-ghost {
  width: auto;
  align-self: flex-start;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}
.section-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  text-align: center;
  justify-items: center;
  max-width: 40rem;
  margin-inline: auto;
}
.section-head h2 {
  margin-bottom: 0.2rem;
  position: relative;
  padding-bottom: 0.65rem;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 0.65rem auto 0;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-bright));
  border-radius: 2px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36rem;
}

/* Logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 7.75rem;
  padding: 1.1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--navy);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.logo-tile:hover,
.logo-tile:focus-visible {
  border-color: rgba(176, 141, 87, 0.55);
  box-shadow: var(--shadow-md);
  color: var(--navy);
  transform: translateY(-2px);
}
.logo-tile:active { transform: translateY(0); }
.logo-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.35rem;
}
.logo-tile-media img {
  max-width: 100%;
  max-height: 3.1rem;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-tile-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.25;
}

/* Manufacturer details */
.mfr-details {
  display: grid;
  gap: 1.1rem;
}
.mfr-detail {
  scroll-margin-top: calc(var(--header-h) + 0.9rem);
  display: grid;
  gap: 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.mfr-detail:hover {
  border-color: #d0dae4;
  box-shadow: var(--shadow-md);
}
.mfr-detail-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mfr-detail-logo img {
  max-width: 100%;
  max-height: 3.35rem;
  width: auto;
  height: auto;
  object-fit: contain;
}
.mfr-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}
.mfr-detail-body h3 {
  margin: 0;
  font-size: 1.22rem;
  color: var(--navy);
}
.mfr-detail-body > p {
  margin: 0;
  font-size: 1rem;
  color: var(--charcoal);
}

/* Pills */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: flex-start;
}
.pill-list li {
  background: var(--sand-soft);
  color: #1b2a34;
  border: 1px solid #ddd6c6;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.subcard {
  margin-top: 0.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}
.subcard-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.subcard-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.subcard-body .btn {
  width: 100%;
  justify-content: center;
}

/* Grouped literature (flyers vs multi-page brochures) */
.download-hint {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.download-group + .download-group {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
}
.download-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 0.5rem;
}
.download-group-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.download-group-body .btn {
  width: 100%;
  justify-content: center;
}

.section-products {
  background: #eef2f5;
  border-block: 1px solid var(--line);
}

.section-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
}
.section-cta .btn { width: 100%; }

.card-cta {
  margin: 0.2rem 0 0 !important;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}
.card-cta a {
  text-decoration: none;
  color: var(--navy-mid);
  font-weight: 700;
}
.card-cta a:hover {
  text-decoration: underline;
  color: var(--bronze-deep);
  text-decoration-color: var(--bronze);
}

/* Downloads */
.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.download-list li {
  border-bottom: 1px solid var(--line);
}
.download-list li:last-child { border-bottom: 0; }
.download-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  min-height: var(--touch);
  transition: background var(--ease);
}
.download-item:hover,
.download-item:focus-visible {
  background: #f8fafb;
}
.download-item:hover .download-name { color: var(--bronze-deep); }
.download-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}
.download-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

/* About */
.section-about { background: var(--page); }
.about-grid {
  display: grid;
  gap: 1.5rem;
}
.about-points {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.about-points li { margin-bottom: 0.4rem; }
.about-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--bronze);
}
.about-aside h2 {
  font-family: var(--font);
  font-size: 1.2rem;
}
.contact-lines {
  margin: 0.9rem 0 1.05rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}
.contact-lines a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.contact-lines a:hover { color: var(--bronze-deep); }
.contact-actions {
  display: grid;
  gap: 0.55rem;
}
.contact-actions .btn { width: 100%; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(230, 238, 245, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-top {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 1.5rem;
}
.footer-brand { max-width: 22rem; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.footer-logo img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 8px;
}
.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(230, 238, 245, 0.7);
}
.footer-nav-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-bright);
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 1rem 0 1.15rem;
  font-size: 0.88rem;
  color: rgba(230, 238, 245, 0.62);
}
.footer-bottom-inner p { margin: 0; }
.footer-linecard {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
}
.footer-linecard:hover { color: #fff; }

/* Dialog */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 44, 0.55);
  backdrop-filter: blur(2px);
  z-index: 90;
}
.dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 26rem);
  max-height: min(90vh, 32rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 1.15rem 1.2rem 1.25rem;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.dialog-header h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.2rem;
}
.dialog-close {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-sm);
  width: var(--touch);
  height: var(--touch);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dialog-close:hover { background: var(--page); }
.dialog-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.dialog-actions {
  display: grid;
  gap: 0.55rem;
}
.dialog-actions .btn { width: 100%; }

/* Tablet 40em */
@media (min-width: 40em) {
  :root {
    --gutter: 1.4rem;
  }

  .brand-name {
    display: inline;
    font-size: 0.98rem;
  }

  .hero-inner {
    padding: 3.25rem 0 3.5rem;
    gap: 1.2rem;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-actions .btn {
    width: auto;
    min-width: 10.5rem;
  }
  .hero-actions .btn-ghost {
    margin-left: 0.15rem;
  }

  .section { padding: 3rem 0; }

  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .logo-tile { min-height: 8.25rem; }

  .subcard-body {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .subcard-body .btn { width: auto; }

  .download-group-body {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .download-group-body .btn { width: auto; }

  .mfr-detail {
    grid-template-columns: 11rem 1fr;
    gap: 1.4rem;
    align-items: start;
    padding: 1.4rem 1.4rem 1.5rem;
  }
  .mfr-detail-logo {
    min-height: 6.25rem;
    position: sticky;
    top: calc(var(--header-h) + 0.85rem);
  }

  .section-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .section-cta .btn { width: auto; }

  .download-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .contact-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .contact-actions .btn { width: auto; }

  .footer-top {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

/* 48em */
@media (min-width: 48em) {
  :root {
    --gutter: 1.75rem;
    --header-h: 4.35rem;
    --text-base: 1.075rem;
  }

  h1 { font-size: clamp(2.05rem, 4.5vw, 2.7rem); }
  h2 { font-size: clamp(1.55rem, 3vw, 1.95rem); }

  .brand img { height: 2.7rem; }
  .brand-name { font-size: 1.05rem; }

  .header-cta { display: inline-flex; }

  .hero-inner {
    padding: 4rem 0 4.25rem;
    max-width: 46rem;
  }
  .hero-subtitle { font-size: 1.12rem; }
  .hero-title { font-size: clamp(2.15rem, 4.8vw, 2.85rem); }

  .section { padding: 3.5rem 0; }
  .section-head {
    margin-bottom: 1.85rem;
    max-width: 42rem;
  }

  .logo-tile-media img { max-height: 3.35rem; }
  .pill-list li { font-size: 0.9rem; }
}

/* Desktop 64em */
@media (min-width: 64em) {
  :root {
    --gutter: 2rem;
    --header-h: 4.55rem;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
  }
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
  }

  .header-inner {
    gap: 1.25rem;
    padding: 0.55rem 0;
  }

  .brand { flex: 0 1 auto; }
  .brand img {
    height: clamp(2.55rem, 2.8vw, 3.15rem);
  }
  .brand-name {
    font-size: clamp(1.05rem, 1.1vw, 1.18rem);
  }

  .main-nav {
    display: block;
    margin-left: auto;
  }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.6vw, 1.75rem);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.4rem 0.1rem;
    border-bottom: 2px solid transparent;
    transition: color var(--ease), border-color var(--ease);
  }
  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: var(--navy);
    border-bottom-color: var(--bronze);
  }

  .nav-toggle { display: none; }
  .mobile-nav,
  .mobile-nav:not([hidden]) {
    display: none !important;
  }

  .hero-inner {
    padding: 5.1rem 0 5.35rem;
    max-width: 48rem;
  }

  .section { padding: 4rem 0; }

  .logo-grid { gap: 1.15rem; }

  .mfr-detail {
    grid-template-columns: 12.5rem 1fr;
    gap: 1.85rem;
  }
  .mfr-detail-body h3 { font-size: 1.28rem; }

  .footer-top {
    padding: 2.4rem 0 1.75rem;
  }
}

@media (min-width: 75em) {
  :root { --gutter: 2.5rem; }
  .hero-inner { padding: 5.25rem 0 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
