:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5d6865;
  --line: #dfe7e4;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --deep: #0f2e2b;
  --teal: #16796f;
  --mint: #d7f4ec;
  --copper: #b86533;
  --gold: #f1b84b;
  --shadow: 0 18px 48px rgb(23 32 31 / 14%);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #ffffff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(255 255 255 / 96%);
  color: var(--ink);
  box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg path:first-child {
  fill: currentColor;
  opacity: 0.12;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 680;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-bottom-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78svh;
  overflow: hidden;
  color: #ffffff;
}

.hero picture,
.hero img,
.hero-shade,
.hero-inner {
  grid-area: 1 / 1;
}

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

.hero img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(6 18 17 / 88%) 0%, rgb(6 18 17 / 70%) 38%, rgb(6 18 17 / 28%) 76%),
    linear-gradient(0deg, rgb(6 18 17 / 40%) 0%, rgb(6 18 17 / 4%) 46%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 112px clamp(20px, 5vw, 58px) 34px;
}

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

.hero .eyebrow {
  color: #9ff0df;
}

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

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

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 7vw, 5.8rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: var(--gold);
  color: #1f1608;
}

.button-primary:hover {
  background: #ffca5d;
}

.button-secondary {
  border-color: rgb(255 255 255 / 50%);
  background: rgb(255 255 255 / 10%);
  color: #ffffff;
}

.button-secondary:hover {
  background: rgb(255 255 255 / 18%);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 44px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 8px;
  background: rgb(255 255 255 / 14%);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 16px;
  background: rgb(6 18 17 / 26%);
}

.hero-metrics dt {
  margin: 0;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 0.9rem;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 54px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
}

.intro-grid p:last-child,
.section-head p,
.quality-grid > div > p,
.market-layout p,
.quote-layout > div > p,
.site-footer p {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.product-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.filter-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 8px 13px;
  font-weight: 760;
  cursor: pointer;
}

.filter-button.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 18px rgb(23 32 31 / 10%);
}

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

.product-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
  box-shadow: 0 12px 34px rgb(23 32 31 / 7%);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.product-card.is-hidden {
  display: none;
}

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

.product-visual {
  position: relative;
  min-height: 118px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
}

.fiber-line::before,
.patch-line::before,
.splitter-line::before {
  inset: 36px 18px auto;
  height: 34px;
  border-top: 5px solid var(--teal);
  border-bottom: 5px solid #9fded4;
  border-radius: 999px;
  transform: rotate(-8deg);
}

.fiber-line::after {
  right: 34px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border: 8px solid var(--gold);
  border-radius: 50%;
}

.outdoor-line::before {
  left: -16px;
  right: -16px;
  top: 52px;
  height: 20px;
  border-radius: 999px;
  background: #25312f;
  box-shadow: 0 15px 0 var(--copper);
  transform: rotate(5deg);
}

.outdoor-line::after {
  right: 24px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border: 10px solid #25312f;
  border-radius: 50%;
}

.patch-line::after {
  right: 22px;
  top: 34px;
  width: 66px;
  height: 34px;
  border-radius: 6px;
  background: #eef8f5;
  border: 2px solid var(--teal);
}

.splitter-line::after {
  left: 50%;
  top: 25px;
  width: 76px;
  height: 62px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
  transform: translateX(-50%);
}

.copper-line::before {
  left: -22px;
  right: 18px;
  top: 48px;
  height: 16px;
  border-radius: 999px;
  background: var(--copper);
  box-shadow:
    0 20px 0 #e3a36b,
    0 -20px 0 #8f4d2a;
  transform: rotate(-7deg);
}

.copper-line::after {
  right: 24px;
  top: 32px;
  width: 46px;
  height: 50px;
  border-radius: 7px;
  background: #f4bf79;
  box-shadow: inset 0 -12px 0 #d2874f;
}

.panel-line::before {
  inset: 34px 18px auto;
  height: 44px;
  border: 2px solid #25312f;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 10%, #25312f 10% 14%, transparent 14% 26%, #25312f 26% 30%, transparent 30% 42%, #25312f 42% 46%, transparent 46% 58%, #25312f 58% 62%, transparent 62%),
    #ffffff;
}

.panel-line::after,
.box-line::after {
  right: 22px;
  bottom: 18px;
  width: 42px;
  height: 20px;
  border-radius: 5px;
  background: var(--teal);
}

.box-line::before {
  left: 26px;
  top: 22px;
  width: 98px;
  height: 74px;
  border: 2px solid #25312f;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 16px 0 #e6f2ef;
}

.tool-line::before {
  left: 36px;
  top: 38px;
  width: 88px;
  height: 20px;
  border-radius: 999px;
  background: var(--gold);
  transform: rotate(-35deg);
}

.tool-line::after {
  right: 34px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border: 8px solid var(--teal);
  border-radius: 50%;
}

.tag {
  width: fit-content;
  margin: 0 0 12px;
  border-radius: 999px;
  background: var(--mint);
  color: #0d5e55;
  padding: 4px 10px;
  font-size: 0.77rem;
  font-weight: 850;
}

.product-card p:not(.tag) {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  color: var(--ink);
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
}

.product-card li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  content: "";
}

.quality-band,
.process-band {
  background: var(--deep);
  color: #ffffff;
}

.quality-band .eyebrow,
.process-band .eyebrow {
  color: #9ff0df;
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.quality-grid > div > p {
  color: rgb(255 255 255 / 75%);
}

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

.quality-list article {
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  padding: 20px;
  background: rgb(255 255 255 / 7%);
}

.quality-list p {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 72%);
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.market-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 320px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(23 32 31 / 5%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(23 32 31 / 5%) 1px, transparent 1px),
    var(--soft);
  background-size: 44px 44px;
}

.market-map span {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px solid rgb(22 121 111 / 22%);
  border-radius: 8px;
  background: rgb(255 255 255 / 84%);
  color: var(--deep);
  font-weight: 850;
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 240px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  padding: 20px;
  background: rgb(255 255 255 / 7%);
}

.process-list span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 850;
}

.process-list p {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 72%);
}

.quote-section {
  background: var(--soft);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-panel a,
.contact-panel span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-weight: 760;
}

.contact-panel svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d5d1;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgb(22 121 111 / 13%);
}

.submit-button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background: #121817;
  color: #ffffff;
  padding: 34px clamp(18px, 4vw, 54px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: rgb(255 255 255 / 66%);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 760;
}

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

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    padding: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(6 18 17 / 88%) 0%, rgb(6 18 17 / 72%) 58%, rgb(6 18 17 / 45%) 100%),
      linear-gradient(0deg, rgb(6 18 17 / 58%) 0%, rgb(6 18 17 / 8%) 48%);
  }

  .hero-inner {
    padding-top: 96px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .quality-grid,
  .market-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand {
    max-width: calc(100vw - 96px);
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: 2.25rem;
  }

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

  .product-grid,
  .process-list,
  .field-row,
  .market-map {
    grid-template-columns: 1fr;
  }

  .product-card,
  .process-list li {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@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;
  }
}
