:root {
  --ink: #151515;
  --muted: #666666;
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --white: #ffffff;
  --charcoal: #1b1b1b;
  --charcoal-deep: #111111;
  --silver: #cfcfcf;
  --teal: #1f7a70;
  --teal-dark: #185d56;
  --coral: #b85846;
  --amber: #9b7328;
  --blue: #38648f;
  --shadow: 0 18px 44px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(27, 27, 27, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-logo {
  display: block;
  width: clamp(168px, 18vw, 220px);
  height: auto;
}

.hero-logo {
  display: block;
  width: min(205px, 68vw);
  margin-bottom: 18px;
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.header-cta,
.button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.header-cta {
  padding: 0 16px;
  color: var(--charcoal-deep);
  background: var(--white);
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--charcoal-deep);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.header-cta:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.disabled {
  pointer-events: none;
  opacity: 0.48;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(32px, 5vw, 78px);
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: clamp(34px, 5vw, 60px) clamp(18px, 6vw, 76px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 42%),
    linear-gradient(105deg, var(--charcoal) 0%, #1c1c1c 58%, var(--charcoal-deep) 100%);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 24%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.04) 100%);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  transform-origin: bottom right;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--silver);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 650px;
  font-size: clamp(2.6rem, 4.15vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-highlights span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-media {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #202020;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-media img {
  display: block;
  width: 100%;
  height: min(42vw, 480px);
  min-height: 340px;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  width: min(390px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(14px);
}

.hero-media figcaption strong,
.hero-media figcaption span {
  display: block;
}

.hero-media figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #2c2c2c;
}

.signal-strip div {
  min-height: 116px;
  padding: 24px clamp(18px, 4vw, 42px);
  background: #202020;
  color: var(--white);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.signal-strip span {
  color: rgba(255, 255, 255, 0.62);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 76px);
}

.intro-section,
.section-heading,
.compliance-section,
.credits-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.intro-section p:not(.eyebrow),
.service-copy p,
.compliance-grid p,
.product-card p,
.quote-panel p,
.site-footer p {
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-note {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.filter-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: #343434;
  background: var(--white);
  cursor: pointer;
}

.filter-button.active {
  color: var(--white);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.product-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.05);
  overflow: hidden;
}

.product-visual {
  position: relative;
  display: block;
  height: 116px;
  background:
    linear-gradient(135deg, rgba(27, 27, 27, 0.08), rgba(27, 27, 27, 0)),
    #f3f3f1;
  overflow: hidden;
}

.part-icon {
  width: 78px;
  height: 78px;
  margin: 19px auto;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.image-credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(17, 17, 17, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
}

.product-body {
  padding: 18px;
}

.product-price {
  display: inline-block;
  margin-top: 10px;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 850;
}

.product-body p {
  margin: 10px 0 0;
  font-size: 0.94rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-meta span {
  border: 1px solid #dddddd;
  border-radius: 999px;
  padding: 4px 8px;
  color: #52605c;
  font-size: 0.74rem;
  font-weight: 700;
}

.card-action {
  width: calc(100% - 36px);
  margin: 0 18px 18px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: var(--white);
  cursor: pointer;
}

.card-action.selected {
  color: var(--white);
  background: var(--charcoal);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  background: var(--soft);
}

.service-copy {
  position: sticky;
  top: 104px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article,
.compliance-grid article {
  border: 1px solid var(--line);
  border-left: 4px solid var(--charcoal);
  border-radius: 8px;
  padding: 22px 22px 22px 26px;
  background: var(--white);
}

.service-list span {
  display: inline-block;
  margin-bottom: 24px;
  color: #6f6f6f;
  font-weight: 900;
}

.service-list p,
.compliance-grid p {
  margin-bottom: 0;
}

.compliance-section {
  align-items: start;
}

.compliance-grid {
  display: grid;
  gap: 14px;
}

.credits-section {
  align-items: start;
  padding-top: clamp(36px, 6vw, 72px);
  background: var(--soft);
}

.credit-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credit-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.credit-list a {
  color: var(--charcoal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  background: var(--white);
}

.quote-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
}

.quote-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--soft);
}

.quote-summary .button-primary,
.contact-form .button-primary {
  color: var(--white);
  background: var(--charcoal);
}

.quote-summary ul {
  display: grid;
  gap: 8px;
  min-height: 50px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.quote-summary li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  color: #343434;
  font-size: 0.92rem;
}

.remove-item {
  border: 0;
  color: #8b3d32;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.empty-state {
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #343434;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd9d5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--charcoal);
  outline: 3px solid rgba(27, 27, 27, 0.12);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: var(--soft);
}

.contact-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: #334155;
}

.contact-details a,
.contact-details span {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.contact-details a {
  color: var(--charcoal);
  font-weight: 850;
}

.contact-card {
  box-shadow: var(--shadow);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.legal-header h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.legal-header p:not(.eyebrow),
.legal-content p {
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 16px;
  max-width: 780px;
  padding-top: 32px;
}

.legal-content h2 {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.legal-content p {
  margin: 0;
}

.legal-content a {
  color: var(--charcoal);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--charcoal-deep);
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 6px;
}

@media (max-width: 1060px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-section,
  .quote-panel,
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media img {
    height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-logo {
    width: min(220px, 82vw);
  }

  .hero-media figcaption {
    position: static;
    width: auto;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: #171717;
    backdrop-filter: none;
  }

  .signal-strip,
  .intro-section,
  .section-heading,
  .service-band,
  .compliance-section,
  .credits-section {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

  .service-copy {
    position: static;
  }

  .site-footer {
    display: block;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }
}
