@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/libre-baskerville-variable.ttf") format("truetype");
}

:root {
  --ink: #24313a;
  --muted: #66727a;
  --blue: #294c66;
  --blue-dark: #203c51;
  --brand-red: #a5262f;
  --phone-red: #b21f2d;
  --phone-shadow: #c7c7c7;
  --blue-soft: #edf3f6;
  --line: #d8dee1;
  --paper: #ffffff;
  --soft: #f5f6f4;
  --warm: #faf9f6;
  --error: #9b2f2f;
  --success: #2f6747;
  --shadow: 0 16px 44px rgba(32, 50, 61, 0.08);
  --radius: 12px;
  --shell: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  line-height: 1.65;
  margin: 0;
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--blue-dark);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.4rem;
}

.shell {
  margin-inline: auto;
  max-width: calc(var(--shell) + 48px);
  padding-inline: 24px;
  width: 100%;
}

.skip-link {
  background: var(--blue-dark);
  color: #fff;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  transition:
    box-shadow 220ms ease,
    background-color 220ms ease;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 124px;
  transition: min-height 240ms ease;
}

.site-header.is-compact {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 24px rgba(30, 47, 58, 0.07);
}

.site-header.is-compact .header-inner {
  min-height: 88px;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-lockup__mark {
  height: 74px;
  object-fit: contain;
  transition:
    height 240ms ease,
    width 240ms ease;
  width: 62px;
}

.site-header.is-compact .brand-lockup__mark {
  height: 52px;
  width: 43px;
}

.brand-lockup__wordmark {
  height: 72px;
  object-fit: contain;
  transition:
    height 240ms ease,
    width 240ms ease;
  width: auto;
}

.site-header.is-compact .brand-lockup__wordmark {
  height: 50px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 30px;
}

.site-nav > a {
  color: #3f4b53;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.header-phone):hover,
.site-nav > a:not(.header-phone):focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-phone {
  border-left: 1px solid var(--line);
  color: var(--blue-dark) !important;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-left: 30px;
  transform: scale(1.07) translateY(1px);
  transform-origin: right center;
  transition:
    font-size 330ms cubic-bezier(0.34, 1.7, 0.64, 1),
    transform 330ms cubic-bezier(0.34, 1.7, 0.64, 1);
}

.site-nav > .header-phone {
  font-size: 1.25rem;
}

.site-header.is-compact .site-nav > .header-phone {
  font-size: 1.02rem;
  transform: scale(1) translateY(0);
}

.header-phone > span {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.direct-contact {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.direct-contact__number {
  color: var(--phone-red);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0.075em 0.075em 0 var(--phone-shadow);
  white-space: nowrap;
}

.direct-contact__actions {
  border: 1px solid #aebfc9;
  border-radius: 4px;
  display: inline-flex;
  overflow: hidden;
}

.direct-contact__actions a {
  color: var(--blue-dark);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  text-decoration: none;
  text-transform: uppercase;
}

.direct-contact__actions a + a {
  border-left: 1px solid #aebfc9;
}

.direct-contact__actions a:hover,
.direct-contact__actions a:focus-visible {
  background: var(--blue-dark);
  color: #fff;
}

.direct-contact--header {
  gap: 9px;
}

.direct-contact--header .direct-contact__number {
  font-size: inherit;
}

.direct-contact--header .direct-contact__actions a {
  font-size: 0.58rem;
  padding: 4px 7px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: 10px;
}

.nav-toggle span {
  background: var(--blue-dark);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 25px;
}

.intro-section {
  background: var(--warm);
  padding: clamp(58px, 8vw, 96px) 0;
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.intro-copy {
  max-width: 530px;
}

.intro-copy > p:not(.eyebrow) {
  color: #566168;
  font-size: 1.04rem;
  margin-bottom: 25px;
}

.direct-contact--intro .direct-contact__number {
  font-size: 1.06rem;
}

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
}

.map-card iframe {
  border: 0;
  display: block;
  height: 390px;
  width: 100%;
}

.map-card > a {
  color: var(--blue);
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  margin: 10px 8px 3px;
  text-underline-offset: 4px;
}

.products-section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-heading {
  margin-bottom: 42px;
  max-width: 720px;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.manufacturer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manufacturer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.manufacturer-card:hover,
.manufacturer-card:focus-visible {
  border-color: #aebdc6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.manufacturer-card__logo {
  align-items: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 160px;
  justify-content: center;
  padding: 35px;
}

.manufacturer-card__logo img {
  max-height: 86px;
  object-fit: contain;
  width: min(230px, 100%);
}

.manufacturer-card__logo--text {
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
  text-align: center;
}

.manufacturer-card > div:last-child {
  padding: 27px 28px 30px;
}

.manufacturer-card h3 {
  margin-bottom: 10px;
}

.manufacturer-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.manufacturer-card > div:last-child > span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-section {
  background: var(--blue-soft);
  border-top: 1px solid #dbe5ea;
  padding: clamp(72px, 10vw, 120px) 0;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(45px, 7vw, 80px);
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
}

.contact-intro {
  position: sticky;
  top: 145px;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-phone {
  border-top: 1px solid #cbd8df;
  color: var(--blue-dark);
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 30px;
  padding-top: 24px;
  text-decoration: none;
}

.contact-phone > span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.direct-contact--contact {
  align-items: center;
  margin-top: 9px;
}

.direct-contact--contact .direct-contact__number {
  font-size: 1.22rem;
}

.contact-form {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(42, 72, 91, 0.07);
  padding: clamp(25px, 5vw, 48px);
}

.contact-form.is-submitting {
  opacity: 0.72;
}

.contact-form fieldset {
  border: 0;
  border-bottom: 1px solid #e4e8ea;
  margin: 0 0 28px;
  padding: 0 0 28px;
}

.contact-form legend {
  color: var(--blue-dark);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 18px;
  padding: 0;
}

.field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-wide {
  grid-column: 1 / -1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form label > span {
  color: #445059;
  font-size: 0.79rem;
  font-weight: 700;
}

.contact-form label b {
  color: var(--error);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fff;
  border: 1px solid #bfc9ce;
  border-radius: 5px;
  color: var(--ink);
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41, 76, 102, 0.13);
  outline: 0;
}

.message-field {
  margin-bottom: 24px;
}

.form-actions {
  align-items: center;
  display: flex;
  gap: 20px;
}

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

.button {
  align-items: center;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button:disabled {
  cursor: wait;
}

.button--outline {
  background: transparent;
  color: var(--blue);
}

.honeypot {
  left: -10000px;
  position: absolute;
}

.form-status {
  border-radius: 5px;
  display: none;
  font-size: 0.88rem;
  margin-top: 20px;
  padding: 13px 15px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #edf6f0;
  border: 1px solid #b8d8c3;
  color: var(--success);
}

.form-status.is-error {
  background: #fbefef;
  border: 1px solid #e0bcbc;
  color: var(--error);
}

.site-footer {
  background: var(--blue-dark);
  color: #dfe8ed;
  font-size: 0.8rem;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  padding-block: 27px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 22px;
}

.footer-inner a {
  color: #fff;
  text-underline-offset: 4px;
}

.direct-contact--footer {
  align-items: center;
  background: #fff;
  border-radius: 5px;
  gap: 9px;
  padding: 6px 8px;
}

.direct-contact--footer .direct-contact__number {
  color: var(--phone-red);
  font-size: 0.98rem;
  text-shadow: 0.075em 0.075em 0 var(--phone-shadow);
}

.direct-contact--footer .direct-contact__actions {
  border-color: #aebfc9;
}

.direct-contact--footer .direct-contact__actions a {
  color: var(--blue-dark);
  font-size: 0.61rem;
  padding: 4px 7px;
}

.direct-contact--footer .direct-contact__actions a + a {
  border-color: #aebfc9;
}

.direct-contact--footer .direct-contact__actions a:hover,
.direct-contact--footer .direct-contact__actions a:focus-visible {
  background: var(--blue-dark);
  color: #fff;
}

/* Manufacturer pages */
.page-main {
  min-height: 70vh;
}

.page-intro {
  background: var(--warm);
  border-bottom: 1px solid #e6e4df;
  padding: 64px 0 58px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--blue);
}

.page-intro__grid {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.page-intro__copy {
  max-width: 700px;
}

.page-intro__copy p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

.page-intro__brand {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  min-height: 160px;
  padding: 35px;
}

.page-intro__brand img {
  max-height: 90px;
  object-fit: contain;
  width: 100%;
}

.page-intro__brand--text {
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
  text-align: center;
}

.product-list-section {
  padding: 74px 0 104px;
}

.product-list-heading {
  margin-bottom: 38px;
  max-width: 700px;
}

.product-list-heading p {
  color: var(--muted);
}

.product-list {
  display: grid;
  gap: 24px;
}

.product-row {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
}

.product-row__media {
  align-items: center;
  background: var(--soft);
  border-right: 1px solid var(--line);
  display: flex;
  justify-content: center;
  min-height: 250px;
  padding: 30px;
}

.product-row__media img {
  max-height: 205px;
  object-fit: contain;
  width: 100%;
}

.product-row__media--brand img {
  max-height: 80px;
  max-width: 220px;
}

.product-row__placeholder {
  align-items: center;
  border: 1px dashed #abb7bd;
  color: #7a868d;
  display: flex;
  font-size: 0.76rem;
  font-weight: 700;
  height: 165px;
  justify-content: center;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.product-row__content {
  padding: 34px 38px;
}

.product-row__type {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.product-row__content h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin-bottom: 12px;
}

.product-row__content > p:not(.product-row__type) {
  color: var(--muted);
  margin-bottom: 16px;
}

.product-row__content ul {
  color: #4d5960;
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
}

.catalog-note {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  color: #53646f;
  font-size: 0.85rem;
  margin-top: 30px;
  max-width: 780px;
  padding: 15px 18px;
}

.page-contact {
  background: var(--blue-dark);
  color: #fff;
  padding: 54px 0;
}

.page-contact__inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.page-contact h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}

.page-contact p {
  color: #d5e0e6;
  margin: 0;
}

.page-contact .button {
  background: #fff;
  border-color: #fff;
  color: var(--blue-dark);
  flex: 0 0 auto;
}

.policy-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.policy-header .brand-lockup {
  max-width: 250px;
}

.policy {
  min-height: 70vh;
  padding: 70px 0 100px;
}

.policy__content {
  max-width: 760px;
}

.policy__content h1 {
  margin-top: 25px;
}

.policy__content h2 {
  font-size: 1.45rem;
  margin: 35px 0 8px;
}

.policy__content p,
.policy__content li {
  color: var(--muted);
}

.policy__back {
  color: var(--blue);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 24px 25px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    border-top: 1px solid #edf0f1;
    padding: 13px 0;
  }

  .header-phone {
    border-top: 1px solid #edf0f1;
    border-left: 0;
    padding: 13px 0 0 !important;
    transform: none;
    transform-origin: left center;
    transition: none;
  }

  .site-nav > .header-phone,
  .site-header.is-compact .site-nav > .header-phone {
    font-size: 1.12rem;
    transform: none;
  }

  .direct-contact--header {
    margin-top: 3px;
  }

  .intro-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 680px;
  }

  .contact-intro {
    max-width: 650px;
    position: static;
  }

  .manufacturer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manufacturer-card:last-child {
    grid-column: 1 / -1;
  }

  .page-intro__grid {
    grid-template-columns: 1fr;
  }

  .page-intro__brand {
    max-width: 320px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 90px;
  }

  .shell {
    padding-inline: 18px;
  }

  .header-inner {
    min-height: 100px;
  }

  .site-header.is-compact .header-inner {
    min-height: 78px;
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-lockup__mark {
    height: 58px;
    width: 48px;
  }

  .site-header.is-compact .brand-lockup__mark {
    height: 44px;
    width: 37px;
  }

  .brand-lockup__wordmark {
    height: 57px;
  }

  .site-header.is-compact .brand-lockup__wordmark {
    height: 43px;
  }

  .map-card iframe {
    height: 310px;
  }

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

  .manufacturer-card:last-child {
    grid-column: auto;
  }

  .manufacturer-card {
    min-height: 0;
  }

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

  .field-wide {
    grid-column: auto;
  }

  .form-actions,
  .footer-inner,
  .page-contact__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    gap: 12px;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }

  .product-row {
    grid-template-columns: 1fr;
  }

  .product-row__media {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 215px;
  }

  .product-row__content {
    padding: 27px 25px 30px;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}
