/* SO WOOD! — mockup scene + editable HTML overlays */

:root {
  --cream: #f2e4cc;
  --cream-soft: #e6d4b8;
  --ink: #2a1810;
  --glass: rgba(255, 248, 235, 0.14);
  --glass-border: rgba(255, 255, 255, 0.45);
  --ui: "Outfit", system-ui, sans-serif;
  --display: "Anton", Impact, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  color: var(--cream);
  background: #4a1a0c;
  overflow-x: hidden;
}

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========== Hero: cleaned mockup as full scene ========== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #3a1408;
}

.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

/* Soft vignette so edges match mockup mood */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    75% 70% at 50% 45%,
    transparent 40%,
    rgba(40, 12, 4, 0.28) 100%
  );
}

.hero__ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__ui > * {
  pointer-events: auto;
}

/* Nav */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0.65rem clamp(1.25rem, 5vw, 4rem) 0;
}

.nav nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: min(980px, 86vw);
  margin: 0 auto;
}

.nav a {
  font-size: clamp(0.68rem, 1.05vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(40, 10, 0, 0.35);
  transition: opacity 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

/* Left glass callout — positions tuned to mockup */
.callout {
  position: absolute;
  width: min(270px, 26vw);
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 14px 40px rgba(30, 8, 0, 0.22);
}

.callout--left {
  left: clamp(1.2rem, 8vw, 9.5rem);
  top: 42%;
  transform: translateY(-50%);
}

.callout p {
  margin: 0;
  font-size: clamp(0.74rem, 1vw, 0.88rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 248, 238, 0.96);
}

/* Right product card */
.product-card {
  position: absolute;
  right: clamp(1.2rem, 7.5vw, 8.5rem);
  top: 36%;
  width: min(198px, 20vw);
  padding: 0.62rem;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 14px 40px rgba(30, 8, 0, 0.22);
}

.product-card__media {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 5 / 4.1;
  background: rgba(60, 24, 10, 0.35);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.product-card__body {
  padding: 0.65rem 0.28rem 0.28rem;
}

.product-card__body h2 {
  margin: 0 0 0.28rem;
  font-size: clamp(0.68rem, 0.92vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-card__body p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  font-size: clamp(0.58rem, 0.78vw, 0.68rem);
  opacity: 0.88;
}

.product-card__body .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

/* Hotspot connectors toward deck */
.hotspot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.22),
    0 0 14px rgba(255, 220, 160, 0.85);
}

.hotspot::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
}

.hotspot--left {
  right: -9px;
  top: 55%;
  transform: translate(100%, -50%);
}

.hotspot--left::before {
  left: 9px;
  width: clamp(36px, 5.5vw, 88px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.1)
  );
}

.hotspot--right {
  left: -9px;
  top: 40%;
  transform: translate(-100%, -50%);
}

.hotspot--right::before {
  right: 9px;
  width: clamp(32px, 4.5vw, 72px);
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.1)
  );
}

/* Reviews */
.reviews {
  position: absolute;
  left: clamp(1.2rem, 7vw, 7.5rem);
  bottom: clamp(1.8rem, 5.5vh, 4.2rem);
  width: min(208px, 42vw);
}

.reviews__stack,
.reviews__card {
  border-radius: 14px;
}

.reviews__stack {
  position: absolute;
  inset: 8px -6px -8px 6px;
  background: rgba(242, 228, 204, 0.32);
  transform: rotate(2.8deg);
}

.reviews__stack--mid {
  inset: 4px -3px -4px 3px;
  background: rgba(242, 228, 204, 0.52);
  transform: rotate(1.3deg);
}

.reviews__card {
  position: relative;
  padding: 0.78rem 0.92rem 0.88rem;
  background: rgba(242, 228, 204, 0.95);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(30, 8, 0, 0.28);
}

.reviews__top {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.reviews__rating {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.reviews__star {
  font-size: 0.9rem;
  color: #c45a18;
  margin-right: 0.28rem;
}

.reviews__avatars {
  display: flex;
  margin-left: auto;
}

.reviews__avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #f2e4cc;
  margin-left: -8px;
  object-fit: cover;
  background: #c48c62;
}

.reviews__avatars img:first-child {
  margin-left: 0;
}

.reviews__label {
  margin: 0.48rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.72;
}

/* CTA */
.cta {
  position: absolute;
  right: clamp(1.2rem, 7vw, 7.5rem);
  bottom: clamp(2rem, 6vh, 4.5rem);
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.4rem 0.4rem 0.4rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 245, 230, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  font-weight: 500;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(255, 245, 230, 0.22);
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

.cta__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: transform 0.25s ease;
}

.cta:hover .cta__icon,
.cta:focus-visible .cta__icon {
  transform: translateX(2px);
}

.cta--inline {
  position: static;
  margin-top: 1.75rem;
  width: fit-content;
}

/* Lower sections */
.section {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 4rem);
  background: #521e0e;
}

.section--alt {
  background: #42180a;
}

.section__inner {
  max-width: 680px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--cream);
}

.lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream-soft);
  opacity: 0.9;
}

.lede a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 1.5rem;
  text-align: center;
  background: #321208;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
  }

  .callout--left {
    left: 1rem;
    top: auto;
    bottom: 30%;
    transform: none;
    width: min(240px, 70vw);
  }

  .product-card {
    right: 1rem;
    top: auto;
    bottom: 44%;
    width: min(160px, 44vw);
  }

  .hotspot {
    display: none;
  }

  .reviews {
    left: 1rem;
    bottom: 1.4rem;
  }

  .cta {
    right: 1rem;
    bottom: 1.4rem;
    padding-left: 1rem;
    gap: 0.65rem;
  }

  .cta__icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 560px) {
  .product-card {
    display: none;
  }

  .callout--left {
    bottom: 24%;
  }

  .nav a {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
