:root {
  --ivory: #f7f4ee;
  --soft-white: #ffffff;
  --charcoal: #111111;
  --ink: #1d1d1a;
  --green: #1f3a2e;
  --stone: #8b8b84;
  --taupe: #a89578;
  --brass: #b89a5e;
  --line: rgba(17, 17, 17, 0.13);
  --footer: #10110f;
  --serif: "Cormorant Garamond", "Playfair Display", "Libre Baskerville", Georgia, serif;
  --sans: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.13);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--soft-white);
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease, min-height 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 66px;
  background: rgba(247, 244, 238, 0.96);
  color: var(--charcoal);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 15vw, 210px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
  transition: filter 240ms ease, opacity 180ms ease;
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: none;
}

.brand:hover img {
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav a {
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.desktop-nav a:hover {
  opacity: 1;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 26px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button--dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.button--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: currentColor;
}

.site-header.is-scrolled .button--light,
.site-header.is-open .button--light {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}

.button--ivory {
  background: var(--ivory);
  color: var(--charcoal);
}

.button--ghost-light {
  border-color: rgba(247, 244, 238, 0.72);
  color: var(--ivory);
}

.button--ghost-light:hover {
  background: var(--ivory);
  color: var(--charcoal);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(3px) rotate(42deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-3px) rotate(-42deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: stretch;
  background: var(--ivory);
  color: var(--charcoal);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 112px 28px 32px;
}

.mobile-menu a:not(.button) {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.12;
  text-transform: uppercase;
}

.mobile-menu__cta {
  margin-top: auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}

.hero__slideshow,
.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1100ms ease, transform 6000ms ease;
}

.hero__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.1));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: 180px 92px;
  margin-inline: 0 auto;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--taupe);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

sup {
  font-size: 0.5em;
  line-height: 0;
  vertical-align: super;
}

h1,
h2 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 2.65vw, 2.85rem);
}

h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.28;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  color: rgba(247, 244, 238, 0.86);
}

.hero__actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
}

.section-heading--split p:last-child,
.section-heading--center p:last-child {
  color: #55554f;
}

.section-heading--center {
  max-width: 780px;
  text-align: center;
}

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

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

.category-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--soft-white);
  overflow: hidden;
  isolation: isolate;
}

.category-card,
.category-card img {
  border-radius: var(--radius);
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58));
}

.category-card:hover img {
  transform: scale(1.055);
}

.category-card span {
  max-width: 250px;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.12;
  text-transform: uppercase;
}

.category-card strong {
  width: max-content;
  margin-top: 20px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.finish-section {
  overflow: hidden;
}

.finish-section--spc {
  background: #151513;
  color: var(--ivory);
}

.finish-section--pvc {
  background: #fbfaf7;
}

.finish-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.finish-viewer {
  min-width: 0;
}

.finish-intro {
  position: sticky;
  top: 104px;
}

.finish-intro p:last-child {
  color: rgba(247, 244, 238, 0.7);
}

.finish-section--pvc .finish-intro p:last-child {
  color: #5b5b54;
}

.finish-stage {
  position: relative;
  height: clamp(420px, 58vw, 700px);
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.finish-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 260ms ease, transform 260ms ease;
}

.finish-stage img.is-fading {
  opacity: 0;
  transform: scale(1.012);
}

.finish-rail {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 2px 0 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.finish-swatch {
  flex: 0 0 86px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: currentColor;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.finish-section--pvc .finish-swatch {
  border-color: var(--line);
  background: var(--soft-white);
}

.finish-swatch:hover,
.finish-swatch.is-active {
  transform: translateY(-2px);
  border-color: var(--taupe);
}

.finish-swatch.is-active {
  outline: 1px solid var(--taupe);
}

.finish-swatch__chip {
  display: block;
  aspect-ratio: 1;
  border-radius: 7px;
  background-color: #d8d2c4;
  background-position: center;
  background-size: cover;
}

.finish-swatch span:last-child {
  display: block;
  margin-top: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brochure-section {
  background: #efede8;
}

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

.brochure-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  min-height: 430px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.brochure-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 20px 42px rgba(17, 17, 17, 0.12);
}

.brochure-card h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.brochure-card p {
  margin-bottom: 18px;
  color: #5e5e58;
  font-size: 0.95rem;
}

.brochure-card a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
}

.comparison-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 28px;
  color: #55554f;
}

.comparison-slider {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.comparison-slider img,
.comparison-slider__new {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-slider img {
  object-fit: cover;
}

.comparison-slider__new {
  width: 52%;
  overflow: hidden;
}

.comparison-slider__new img {
  width: 192.31%;
  max-width: none;
}

.comparison-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 1px;
  background: rgba(255, 255, 255, 0.88);
}

.comparison-slider__handle {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.58);
  color: var(--soft-white);
  cursor: ew-resize;
  transform: translate(-50%, -50%);
}

.comparison-slider__handle::before,
.comparison-slider__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.comparison-slider__handle::before {
  left: 14px;
  transform: translateY(-50%) rotate(-45deg);
}

.comparison-slider__handle::after {
  right: 14px;
  transform: translateY(-50%) rotate(135deg);
}

.duraslat-section {
  background: #f1f0ec;
}

.performance-panel {
  position: relative;
  max-width: 1080px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--charcoal);
}

.performance-panel img {
  width: 100%;
  aspect-ratio: 1896 / 830;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.performance-labels {
  position: absolute;
  inset: auto 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.performance-labels span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(17, 17, 17, 0.72);
  color: var(--ivory);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mission-section {
  background: var(--charcoal);
  color: var(--ivory);
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 96px);
}

.mission-layout h2 {
  max-width: 620px;
}

.value-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(247, 244, 238, 0.16);
}

.value-list article {
  border-bottom: 1px solid rgba(247, 244, 238, 0.16);
  padding: 26px 0;
}

.value-list h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.value-list p {
  margin-bottom: 0;
  color: rgba(247, 244, 238, 0.68);
}

.quote-section {
  background: linear-gradient(rgba(17, 17, 17, 0.66), rgba(17, 17, 17, 0.72)), url("../images/quote-architectural-materials.svg") center / cover;
  color: var(--ivory);
}

.quote-panel {
  max-width: 820px;
  text-align: center;
}

.quote-panel p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(247, 244, 238, 0.78);
}

.quote-actions {
  justify-content: center;
}

.site-footer {
  background: var(--footer);
  color: var(--ivory);
  padding-block: 72px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(2, minmax(140px, 0.65fr)) minmax(320px, 1.25fr);
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.14);
}

.brand--footer {
  display: inline-block;
  width: 220px;
  margin-bottom: 18px;
}

.brand--footer img {
  filter: invert(1);
}

.footer-brand p {
  max-width: 360px;
  color: rgba(247, 244, 238, 0.66);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(247, 244, 238, 0.2);
  border-radius: 50%;
  font-size: 0.72rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer nav h2,
.footer-contact h2 {
  margin-bottom: 12px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer nav a,
.footer-contact,
.footer-contact p,
.footer-bottom {
  color: rgba(247, 244, 238, 0.66);
  font-size: 0.92rem;
}

.footer-contact {
  display: grid;
  gap: 26px;
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--ivory);
  font-weight: 700;
}

.footer-contact sup {
  font-size: 0.68em;
  line-height: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

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

  .finish-layout,
  .mission-layout {
    grid-template-columns: 1fr;
  }

  .finish-intro {
    position: static;
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__content {
    margin-left: 14px;
    padding-block: 140px 56px;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7));
  }

  .hero__actions,
  .quote-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .section {
    padding-block: 64px;
  }

  .section-heading--split,
  .comparison-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .category-grid,
  .brochure-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 410px;
  }

  .finish-stage {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: calc(100vw - 28px);
    border-radius: 12px;
  }

  .finish-stage img {
    object-fit: contain;
  }

  .finish-swatch {
    flex-basis: 78px;
  }

  .brochure-card {
    min-height: auto;
  }

  .comparison-slider {
    aspect-ratio: 4 / 3;
  }

  .performance-panel img {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    object-position: center;
  }

  .performance-labels {
    grid-template-columns: 1fr;
    inset: auto 14px 14px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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