:root {
  --ink: #202423;
  --muted: #626866;
  --line: #dfe2df;
  --paper: #f5f3ee;
  --white: #ffffff;
  --forest: #21483f;
  --sage: #789184;
  --copper: #a8603d;
  --black: #151817;
}

* {
  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.55;
}

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

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

.topbar {
  min-height: 38px;
  padding: 8px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
}

.topbar a {
  color: rgba(255, 255, 255, .84);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 238, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  height: 74px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand img {
  width: 176px;
  height: auto;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}

.button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 6px;
  background: var(--forest);
  color: var(--white);
  font-weight: 750;
}

.button.compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.button.secondary {
  background: transparent;
  color: var(--forest);
}

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

.hero {
  min-height: calc(100vh - 112px);
  padding: 54px 5vw 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .86fr);
  align-items: center;
  gap: 6vw;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 800px;
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

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

.hero-points {
  margin: 46px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-points div {
  padding: 16px;
  background: var(--paper);
}

.hero-points dt {
  margin-bottom: 5px;
  font-weight: 800;
}

.hero-points dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-product {
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-product > img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
}

.hero-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 6px;
  background: rgba(32, 36, 35, .9);
  color: var(--white);
}

.hero-label span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-label strong {
  text-align: right;
  font-size: 14px;
}

section {
  padding: 80px 5vw;
}

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

.section-head > p {
  margin-bottom: 0;
  max-width: 520px;
  color: var(--muted);
}

.categories {
  border-top: 1px solid var(--line);
  background: var(--white);
}

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

.category {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

.category::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 19, 18, .78));
}

.category img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform .35s ease;
}

.category:nth-child(1) img,
.category:nth-child(3) img {
  object-fit: contain;
  background: var(--white);
}

.category:hover img {
  transform: scale(1.025);
}

.category div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: var(--white);
}

.category span {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.category h3 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.15;
}

.products {
  padding-bottom: 30px;
}

.product-row {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.product-row.reverse {
  grid-template-columns: minmax(340px, .8fr) minmax(0, 1fr);
}

.product-row.reverse .product-image {
  order: 2;
}

.product-image {
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f6f6f4;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image.contain img,
#smart-mirror .product-image img {
  padding: 28px;
  object-fit: contain;
  background: var(--white);
}

.product-content {
  padding: clamp(32px, 5vw, 74px);
  position: relative;
  align-self: center;
}

.product-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #d4d8d5;
  font-size: 42px;
  font-weight: 850;
}

.product-content h3 {
  margin-bottom: 18px;
  max-width: 540px;
  font-size: clamp(28px, 3.4vw, 45px);
  line-height: 1.08;
}

.product-content > p:not(.eyebrow) {
  color: var(--muted);
}

.product-content ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.product-content li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

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

.text-link {
  display: inline-block;
  color: var(--forest);
  font-weight: 800;
  border-bottom: 1px solid var(--forest);
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 7vw;
  border-top: 1px solid var(--line);
}

.about-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.value-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.value-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.value-grid strong,
.value-grid span {
  display: block;
}

.value-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.contact-band {
  text-align: center;
  background: var(--forest);
  color: var(--white);
}

.contact-band .eyebrow {
  color: #d7b198;
}

.contact-band h2 {
  margin-bottom: 14px;
}

.contact-band > p:not(.eyebrow) {
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, .72);
}

footer {
  padding: 34px 5vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--black);
  color: var(--white);
}

.footer-brand {
  font-size: 24px;
  font-weight: 850;
}

footer p,
footer small {
  margin: 0;
  color: rgba(255, 255, 255, .6);
}

footer small {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 980px) {
  nav ul {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-product {
    min-height: 520px;
  }

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

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

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

  .product-row.reverse .product-image {
    order: 0;
  }

  .product-image {
    min-height: 480px;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .nav {
    height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .button.compact {
    display: none;
  }

  .hero {
    padding-top: 42px;
    gap: 34px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-points,
  .category-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 420px;
  }

  .hero-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-label strong {
    text-align: left;
  }

  section {
    padding: 58px 5vw;
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    margin-top: 15px;
  }

  .category,
  .category img {
    min-height: 380px;
  }

  .category:last-child {
    grid-column: auto;
  }

  .product-image {
    min-height: 390px;
  }

  .product-content {
    padding: 34px 24px;
  }

  .product-number {
    top: 14px;
    right: 18px;
    font-size: 32px;
  }

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

  footer small {
    grid-column: auto;
  }
}
