:root {
  --sun: #ffb62f;
  --sun-deep: #f59d14;
  --ink: #2a2d31;
  --muted: #696b70;
  --paper: #f6f3ee;
  --white: #ffffff;
  --blue: #1f78bd;
  --blue-dark: #185a92;
  --line: rgba(42, 45, 49, 0.12);
  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);
  letter-spacing: 0;
}

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

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

.hero {
  position: relative;
  min-height: 1020px;
  overflow: hidden;
  background:
    radial-gradient(
      circle clamp(360px, 34vw, 620px) at 50% 32%,
      rgba(255, 209, 102, 0.52) 0 99%,
      transparent 100%
    ),
    linear-gradient(180deg, var(--sun) 0 76%, var(--paper) 76% 100%);
}

.hero::before,
.hero::after,
.footer::after {
  position: absolute;
  content: "";
  width: 220px;
  height: 260px;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(42, 45, 49, 0.2) 0 1px,
    transparent 1px 8px
  );
}

.hero::before {
  top: -80px;
  left: -40px;
  border-radius: 0 0 120px 0;
}

.hero::after {
  right: -88px;
  bottom: 92px;
}

.nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1560px, calc(100% - 96px));
  height: 96px;
  margin: 0 auto;
}

.brand,
.nav-links,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  gap: 42px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a,
.footer-links a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--blue-dark);
}

.nav-cta {
  margin-left: 58px;
  border: 1px solid rgba(42, 45, 49, 0.26);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.34);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 40px));
  margin: 58px auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--sun-deep);
}

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

h1 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(50px, 6.4vw, 86px);
  line-height: 0.9;
  font-weight: 900;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
}

.btn-primary {
  background: var(--white);
  color: var(--sun-deep);
  box-shadow: 0 10px 24px rgba(160, 92, 0, 0.16);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero-art {
  position: absolute;
  right: 50%;
  bottom: -52px;
  z-index: 2;
  width: min(1300px, 96vw);
  transform: translateX(50%);
}

.hero-art img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 28px 28px rgba(42, 45, 49, 0.24));
}

.webgl-sofa-wrap {
  isolation: isolate;
}

.sofa-fallback {
  position: relative;
  z-index: 1;
  transition: opacity 260ms ease;
}

.webgl-sofa {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: none;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 320ms ease;
}

.webgl-sofa-wrap.webgl-ready .webgl-sofa {
  opacity: 1;
}

.webgl-sofa-wrap.webgl-ready .sofa-fallback {
  opacity: 0;
}

.hero-art .webgl-sofa {
  filter: none;
}

.hero-ring {
  position: absolute;
  top: -420px;
  left: 50%;
  z-index: -1;
  width: min(1120px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.16) 0 1px,
    rgba(255, 255, 255, 0) 1px 7px
  );
  transform: translateX(-50%);
}

.sofa-message {
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: 4;
  width: min(560px, 60%);
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 18px rgba(13, 21, 30, 0.52);
}

.sofa-message p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions .btn {
  text-shadow: none;
}

.section {
  position: relative;
  padding: 92px 24px;
}

.section-heading {
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2,
.process-copy h2,
.footer-copy h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  width: min(1040px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 220px;
  padding: 34px 30px 30px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(42, 45, 49, 0.08);
}

.service-card::before,
.service-card::after {
  display: none;
}

.service-card::before {
  top: -14px;
  left: -14px;
  width: 84px;
  height: 14px;
}

.service-card::after {
  top: -14px;
  left: -14px;
  width: 14px;
  height: 84px;
}

.service-card:nth-child(even)::before {
  top: auto;
  bottom: -14px;
  right: 34px;
  left: auto;
  width: 150px;
}

.service-card:nth-child(even)::after {
  display: none;
}

.service-card span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.service-card h3 {
  margin: 18px 0 12px;
  font-size: 27px;
}

.service-card p,
.process-copy p,
.faq p,
.footer-copy p,
.fineprint {
  color: var(--muted);
  line-height: 1.7;
}

.showcase {
  overflow: hidden;
  background: #efebe4;
}

.comparison {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.comparison-frame {
  --split: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.45;
  background: var(--white);
  box-shadow: 0 28px 72px rgba(42, 45, 49, 0.12);
}

.comparison-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-before-wrap {
  position: absolute;
  inset: 0;
  width: var(--split);
  overflow: hidden;
}

.comparison-before {
  width: 100%;
}

.comparison-label {
  position: absolute;
  top: 22px;
  z-index: 5;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(42, 45, 49, 0.14);
  font-size: 14px;
  font-weight: 900;
}

.before-label {
  left: 24px;
}

.after-label {
  right: 24px;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 4;
  width: 4px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(42, 45, 49, 0.08);
}

.comparison-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  box-shadow: 0 16px 32px rgba(42, 45, 49, 0.22);
}

.comparison-handle span::before {
  content: "↔";
  color: var(--sun-deep);
  font-size: 24px;
  font-weight: 900;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.fineprint {
  width: min(720px, 100%);
  margin: 32px auto 0;
  text-align: center;
}

.process {
  background:
    linear-gradient(180deg, #efebe4 0 40%, var(--sun) 40% 100%);
  padding-top: 80px;
  padding-bottom: 120px;
}

.process-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 56px 70px 62px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(42, 45, 49, 0.1);
}

.process-copy {
  max-width: 840px;
  padding: 0;
}

.process-copy h2 {
  margin: 12px 0 24px;
  text-transform: none;
}

.process-copy > p {
  margin-bottom: 34px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 18px 0 17px;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps strong {
  font-size: 18px;
}

.steps span {
  color: var(--muted);
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

details {
  background: var(--white);
  padding: 22px 24px;
  box-shadow: 0 16px 42px rgba(42, 45, 49, 0.06);
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 16px 0 0;
}

.footer {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 40px;
  overflow: hidden;
  align-items: end;
  padding: 72px max(24px, calc((100vw - 1080px) / 2));
  background: linear-gradient(135deg, var(--sun) 0%, #ffc766 100%);
}

.footer::after {
  right: 8%;
  bottom: -70px;
}

.footer-sofa {
  position: relative;
  width: min(790px, 66vw);
  align-self: end;
  transform: translateX(-16%);
}

.footer-sofa img {
  display: block;
  width: 100%;
  max-width: none;
  filter: drop-shadow(0 26px 26px rgba(92, 54, 0, 0.18));
}

.footer-sofa .webgl-sofa {
  filter: none;
}

.footer-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  color: var(--white);
}

.footer-copy h2 {
  text-transform: none;
}

.footer-copy p {
  width: min(560px, 100%);
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  flex-wrap: wrap;
  gap: 20px 28px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
    background:
      radial-gradient(
        circle clamp(280px, 55vw, 440px) at 50% 31%,
        rgba(255, 209, 102, 0.52) 0 99%,
        transparent 100%
      ),
      linear-gradient(180deg, var(--sun) 0 76%, var(--paper) 76% 100%);
  }

  .nav {
    justify-content: space-between;
    width: min(100% - 32px, 720px);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero-copy {
    margin-top: 34px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 74px);
  }

  .sofa-message {
    top: 18%;
    width: min(520px, 74%);
  }

  .hero-ring {
    top: -300px;
    width: min(760px, 94vw);
  }

  .sofa-message p {
    font-size: 17px;
  }

  .service-grid,
  .faq-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .comparison-frame {
    aspect-ratio: 1.08;
  }

  .process-panel {
    padding: 42px 34px;
  }

  .process-copy {
    padding: 8px;
  }

  .footer {
    padding-top: 58px;
  }

  .footer-sofa {
    order: 2;
    width: 720px;
    transform: translateX(-28%);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 700px;
    background:
      radial-gradient(
        circle clamp(260px, 74vw, 360px) at 50% 31%,
        rgba(255, 209, 102, 0.5) 0 99%,
        transparent 100%
      ),
      linear-gradient(180deg, var(--sun) 0 76%, var(--paper) 76% 100%);
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    margin-left: 0;
    padding: 10px 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: min(280px, 100%);
  }

  .hero-art {
    bottom: 38px;
    width: 138vw;
  }

  .sofa-message {
    top: 18%;
    width: min(300px, 70%);
  }

  .hero-ring {
    top: -210px;
    width: min(460px, 94vw);
  }

  .sofa-message p {
    font-size: 13px;
    line-height: 1.38;
  }

  .section {
    padding: 68px 18px;
  }

  .section-heading h2,
  .process-copy h2,
  .footer-copy h2 {
    font-size: 36px;
  }

  .service-card {
    min-height: 0;
  }

  .comparison-frame {
    aspect-ratio: 0.82;
  }

  .comparison-label {
    top: 14px;
    padding: 8px 12px;
  }

  .before-label {
    left: 14px;
  }

  .after-label {
    right: 14px;
  }

  .comparison-handle span {
    width: 48px;
    height: 48px;
  }

  .footer-links {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .webgl-sofa {
    display: none;
  }

  .webgl-sofa-wrap.webgl-ready .sofa-fallback {
    opacity: 1;
  }
}
