:root {
  color-scheme: dark;
  --ink: #fff7eb;
  --muted: #b9ad9c;
  --paper: #11100e;
  --paper-strong: #181512;
  --charcoal: #0b0b0a;
  --line: rgba(255, 247, 235, 0.14);
  --accent: #d19a5f;
  --accent-strong: #f0bd79;
  --stone: #d8ccbd;
  --signal: #89d8ca;
  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:
    radial-gradient(ellipse at top, rgba(209, 154, 95, 0.18), transparent 52%),
    var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff9ef;
  mix-blend-mode: normal;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.72), rgba(8, 8, 7, 0.08));
}

.brand,
nav,
.hero-actions,
.intro-meta,
.hero-strip,
.contact-actions,
.product-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

nav {
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 249, 239, 0.86);
  font-size: 0.94rem;
  font-weight: 760;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 112px clamp(18px, 6vw, 84px) clamp(92px, 12vw, 132px);
  color: #fff9ef;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92), rgba(18, 13, 8, 0.4) 58%, rgba(8, 8, 7, 0.72)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1400&q=72")
      center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(12, 10, 8, 0.6), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  animation: riseIn 780ms cubic-bezier(0.2, 0.72, 0.22, 1) both;
}

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

.hero .eyebrow {
  color: #f2b08b;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 9vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 26px;
  color: rgba(255, 249, 239, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.58;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  border-left: 2px solid var(--signal);
  padding: 5px 0 5px 10px;
  color: rgba(255, 249, 239, 0.82);
  font-size: 0.92rem;
  font-weight: 820;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(209, 154, 95, 0.22);
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff9ef;
}

.hero .button.primary {
  background: linear-gradient(135deg, #fff9ef, #f0bd79);
  color: #17130f;
}

.button.secondary {
  color: #fff9ef;
}

.button.dark {
  border-color: transparent;
  background: var(--charcoal);
  color: #fff9ef;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 6vw, 84px);
  bottom: 28px;
  left: clamp(18px, 6vw, 84px);
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-strip::-webkit-scrollbar {
  display: none;
}

.hero-strip span,
.intro-meta span {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 249, 239, 0.34);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 249, 239, 0.86);
  font-size: 0.9rem;
  font-weight: 780;
  backdrop-filter: blur(12px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 28px;
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 21, 18, 0.92), rgba(17, 16, 14, 0.96));
}

.intro p {
  max-width: 900px;
  font-size: clamp(1.5rem, 3.7vw, 3.25rem);
  line-height: 1.03;
}

.intro-meta {
  align-self: end;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.intro-meta span {
  border-color: var(--line);
  color: var(--muted);
  backdrop-filter: none;
}

.products,
.feature,
.calculator,
.quote,
.contact,
.trust-panel,
.experience,
.journey,
.testimonial {
  padding: clamp(60px, 10vw, 128px) clamp(18px, 6vw, 84px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.72, 0.22, 1),
    transform 720ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.trust-panel div {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 247, 235, 0.08), transparent 55%),
    var(--paper-strong);
}

.trust-panel strong {
  color: var(--accent-strong);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.86;
}

.trust-panel span {
  color: var(--muted);
  font-weight: 850;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 62px);
}

.product-controls {
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-controls::-webkit-scrollbar {
  display: none;
}

.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.filter.is-active,
.filter:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #17130f;
}

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

.product {
  min-height: 460px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 247, 235, 0.1);
  background: linear-gradient(180deg, rgba(255, 247, 235, 0.08), rgba(255, 247, 235, 0.035));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    box-shadow 220ms ease;
}

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

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(209, 154, 95, 0.42);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.36);
}

.product img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.product:hover img {
  transform: scale(1.04);
}

.product div {
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(137, 216, 202, 0.08), transparent),
    rgba(8, 8, 7, 0.62);
}

.product span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-stack,
.journey-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.benefit-stack article,
.journey-steps article {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 247, 235, 0.08), transparent 48%),
    var(--paper-strong);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.benefit-stack article:hover,
.journey-steps article:hover {
  background:
    linear-gradient(135deg, rgba(209, 154, 95, 0.18), transparent 48%),
    var(--paper-strong);
}

.benefit-stack span,
.journey-steps span {
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.benefit-stack p,
.journey-steps p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(34px, 8vw, 100px);
  align-items: start;
}

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

.swatch {
  min-height: 132px;
  border: 1px solid rgba(255, 247, 235, 0.22);
  border-radius: 8px;
  padding: 14px;
  color: #fff9ef;
  font-weight: 900;
  text-align: left;
  background: var(--texture, #777);
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.12);
  transition:
    transform 180ms ease,
    outline-color 180ms ease,
    filter 180ms ease;
}

.swatch:nth-child(1) {
  --texture: linear-gradient(135deg, #f8f4ea, #d4c9b7 42%, #8e8173);
  color: #211d18;
}

.swatch:nth-child(2) {
  --texture: linear-gradient(135deg, #111, #3a342e 48%, #8a8177);
}

.swatch:nth-child(3) {
  --texture: linear-gradient(135deg, #5c331f, #9c6848 52%, #2f1a10);
}

.swatch:nth-child(4) {
  --texture: linear-gradient(135deg, #efe5d6, #c3b59f 54%, #8d8070);
  color: #211d18;
}

.swatch:nth-child(5) {
  --texture: repeating-linear-gradient(90deg, #232323 0 9px, #57504a 9px 18px);
}

.swatch:hover,
.swatch.is-selected {
  transform: translateY(-3px);
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
  filter: saturate(1.18) brightness(1.06);
}

.swatch-preview {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 8px;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid rgba(137, 216, 202, 0.2);
  background:
    linear-gradient(135deg, rgba(137, 216, 202, 0.18), transparent 52%),
    var(--charcoal);
  color: #fff9ef;
}

.swatch-preview span {
  color: #d9b99e;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.swatch-preview strong {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.05;
}

.showcase {
  height: min(82svh, 780px);
  overflow: hidden;
}

.showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: end;
  background:
    linear-gradient(135deg, rgba(137, 216, 202, 0.08), transparent 48%),
    var(--paper-strong);
}

.estimate-form {
  display: grid;
  gap: 14px;
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-form input,
.estimate-form select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 247, 235, 0.08);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.estimate-form input:focus,
.estimate-form select:focus {
  border-color: var(--accent-strong);
  outline: 3px solid rgba(209, 154, 95, 0.18);
}

.estimate-result {
  display: grid;
  gap: 18px;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 5vw, 62px);
}

.estimate-result span {
  color: var(--accent-strong);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 950;
  line-height: 0.82;
}

.estimate-result span.pulse {
  animation: numberPulse 320ms ease;
}

.estimate-result p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.quote {
  color: #fff9ef;
  background:
    linear-gradient(90deg, rgba(22, 17, 13, 0.9), rgba(22, 17, 13, 0.5)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=72")
      center / cover;
}

blockquote {
  max-width: 1080px;
  font-size: clamp(2.3rem, 6vw, 6.4rem);
  line-height: 0.98;
}

.journey {
  background: linear-gradient(180deg, #11100e, #17120e);
}

.journey-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
  display: grid;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(209, 154, 95, 0.16), transparent 48%),
    #0d0d0c;
}

.testimonial blockquote {
  max-width: 980px;
}

.testimonial > span {
  color: var(--muted);
  font-weight: 900;
}

.contact {
  min-height: 72svh;
  display: grid;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.98), rgba(17, 16, 14, 0.62)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1200&q=72")
      right center / cover;
}

.contact h2 {
  max-width: 12ch;
}

.contact-line {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 760;
  line-height: 1.5;
}

.contact-line a {
  color: var(--accent-strong);
}

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

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 247, 235, 0.24);
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, #1e7d66, #8bd8c8);
  color: #06100d;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes numberPulse {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.035);
  }
}

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

  .trust-panel,
  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    mix-blend-mode: normal;
  }

  nav {
    max-width: 54vw;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 92svh;
    align-items: center;
  }

  .intro,
  .split,
  .calculator {
    grid-template-columns: 1fr;
  }

  .intro-meta {
    justify-content: flex-start;
  }

  .estimate-result {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 0.95rem;
  }

  .brand span {
    width: 28px;
    height: 28px;
  }

  nav a:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.5rem);
  }

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

  .product-grid,
  .swatch-board,
  .trust-panel,
  .journey-steps {
    grid-template-columns: 1fr;
  }

  .product {
    min-height: 420px;
  }

  .quote {
    background-attachment: scroll;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
