:root {
  --bg: #f4efe7;
  --bg-deep: #18130f;
  --card: #fffaf2;
  --text: #201914;
  --muted: #77695c;
  --line: rgba(32, 25, 20, 0.14);
  --accent: #9b6b43;
  --accent-2: #d8b894;
  --glow: rgba(216, 184, 148, 0.45);
  --shadow: 0 30px 90px rgba(51, 35, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(216, 184, 148, 0.52), transparent 32rem),
    linear-gradient(135deg, #fbf7ef 0%, var(--bg) 45%, #e9ded0 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.finish-stone {
  --accent: #797269;
  --accent-2: #d8d0c3;
  --glow: rgba(180, 174, 163, 0.55);
}

body.finish-ink {
  --accent: #2a211c;
  --accent-2: #9d7e68;
  --glow: rgba(42, 33, 28, 0.28);
}

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

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

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

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(12px);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  transition: background 300ms ease;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.68);
  box-shadow: 0 18px 50px rgba(52, 38, 25, 0.12);
  backdrop-filter: blur(22px);
}

.brand,
.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fffaf2;
  border-radius: 50%;
  background: var(--text);
  font-family: "Playfair Display", serif;
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta {
  padding: 12px 18px;
  color: #fffaf2;
  background: var(--text);
  font-size: 0.9rem;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
  padding: 70px 0 90px;
}

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 9vw, 8.5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.studio-copy p,
.cta-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(51, 35, 22, 0.14);
}

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

.button.ghost {
  background: rgba(255, 250, 242, 0.54);
}

.hero-stage {
  position: relative;
  min-height: 650px;
}

.hero-card {
  overflow: hidden;
  border-radius: 48px;
  box-shadow: var(--shadow);
}

.hero-card-main {
  position: absolute;
  inset: 0 0 0 8%;
  transform: rotate(2deg);
}

.hero-card-main img {
  width: 100%;
  height: 100%;
}

.floating-panel {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.7);
  box-shadow: 0 20px 70px rgba(29, 22, 17, 0.16);
  backdrop-filter: blur(18px);
}

.floating-panel span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-top {
  top: 12%;
  left: -2%;
}

.panel-bottom {
  right: -1%;
  bottom: 12%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 120px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--line);
}

.metrics article {
  display: grid;
  gap: 6px;
  padding: 30px;
  background: rgba(255, 250, 242, 0.58);
}

.metrics strong {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.split-section,
.products-section,
.studio,
.cta-section {
  padding: 90px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 330px);
  gap: 22px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.collection-card.tall {
  grid-row: span 2;
}

.collection-card img {
  width: 100%;
  height: 100%;
  opacity: 0.82;
  transition: transform 600ms ease, opacity 600ms ease;
}

.collection-card:hover img {
  opacity: 0.62;
  transform: scale(1.07);
}

.collection-card div {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  color: #fffaf2;
}

.collection-card span {
  color: var(--accent-2);
  font-weight: 800;
}

.collection-card p {
  max-width: 390px;
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.78);
  line-height: 1.6;
}

.finish-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.finish-chip {
  cursor: pointer;
  padding: 12px 18px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.6);
  font: inherit;
  font-weight: 800;
}

.finish-chip.active {
  color: #fffaf2;
  border-color: var(--accent);
  background: var(--accent);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 34px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 24px 70px rgba(51, 35, 22, 0.11);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.product-image {
  position: relative;
  aspect-ratio: 0.9;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  transition: transform 700ms ease, filter 300ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.09);
  filter: saturate(0.88) contrast(1.05);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 11px;
  color: #fffaf2;
  border-radius: 999px;
  background: rgba(24, 19, 15, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.product-info p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-info strong {
  color: var(--accent);
  font-size: 1.2rem;
}

.studio {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 54px;
}

.studio-visual {
  overflow: hidden;
  border-radius: 46px;
  box-shadow: var(--shadow);
}

.studio-visual img {
  width: 100%;
  height: 620px;
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.material-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.58);
  font-weight: 800;
}

.cta-section {
  margin-block: 70px;
  padding: 80px 30px;
  color: #fffaf2;
  border-radius: 48px;
  background:
    linear-gradient(rgba(24, 19, 15, 0.42), rgba(24, 19, 15, 0.72)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1400&q=85") center/cover;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 250, 242, 0.78);
}

.cta-section p {
  max-width: 580px;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 44px;
  color: var(--muted);
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

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

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

  .hero-card-main {
    left: 0;
  }

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

  .collection-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .collection-card,
  .collection-card.tall {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 10px;
  }

  .brand span:last-child,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(3.15rem, 18vw, 4.6rem);
  }

  .hero-stage {
    min-height: 430px;
  }

  .floating-panel {
    min-width: auto;
    max-width: 185px;
  }

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

  .metrics article {
    padding: 24px;
  }

  .split-section,
  .products-section,
  .studio,
  .cta-section {
    padding-block: 56px;
  }

  .studio-visual img {
    height: 430px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none;
  }
}
