:root {
  --rose: #d99a92;
  --rose-soft: #f7d9d3;
  --sage: #9fa68d;
  --moss: #6f735f;
  --clay: #b7927b;
  --ink: #5d4d42;
  --cream: #fff8f2;
  --porcelain: #fdf5ef;
  --line: rgba(156, 116, 94, 0.25);
  --shadow: 0 24px 70px rgba(104, 79, 62, 0.15);
  --ease-soft: cubic-bezier(0.2, 0.75, 0.22, 1);
  --ease-spring: cubic-bezier(0.18, 0.9, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(247, 217, 211, 0.7), transparent 27rem),
    radial-gradient(circle at 83% 24%, rgba(209, 215, 195, 0.72), transparent 25rem),
    linear-gradient(180deg, #fff9f4 0%, #f9ece5 52%, #fff8f2 100%);
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(120, 91, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 91, 70, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 244, 0.78);
  box-shadow: 0 18px 45px rgba(92, 72, 57, 0.09);
  backdrop-filter: blur(18px);
  transition:
    transform 360ms var(--ease-soft),
    background 360ms ease,
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(255, 249, 244, 0.94);
  transform: translateX(-50%) translateY(-6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(183, 146, 123, 0.35);
  border-radius: 50%;
  color: var(--clay);
  font-family: "Allura", cursive;
  font-size: 34px;
  background: #fffaf6;
}

.brand strong {
  display: block;
  font-family: "Allura", cursive;
  font-size: 27px;
  font-weight: 400;
  line-height: 0.85;
}

.brand small {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 26px;
  color: rgba(93, 77, 66, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 220ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--rose);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(183, 146, 123, 0.34);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 260ms var(--ease-spring),
    box-shadow 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-3px);
}

.button:active,
.header-action:active {
  transform: translateY(-1px) scale(0.99);
}

.primary {
  color: #fffaf7;
  background: linear-gradient(135deg, #b98678, #d49b91);
  box-shadow: 0 13px 28px rgba(185, 134, 120, 0.28);
}

.ghost,
.header-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffaf7;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 260ms var(--ease-soft), opacity 220ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(42deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-42deg);
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 82px;
  left: 50%;
  width: min(360px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 249, 244, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity 260ms ease,
    transform 300ms var(--ease-soft);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 8vw, 116px);
  width: min(1180px, calc(100% - 34px));
  min-height: 96vh;
  margin: 0 auto;
  padding: 128px 0 64px;
  perspective: 1400px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -1px;
  width: 100vw;
  height: 120px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 248, 242, 0), rgba(255, 250, 246, 0.9) 82%);
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-art::before {
  right: 1%;
  bottom: 4%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.74), transparent 23%),
    radial-gradient(circle, rgba(255, 248, 242, 0.65), rgba(209, 196, 176, 0.18) 58%, transparent 70%);
  box-shadow:
    inset -26px -30px 55px rgba(108, 82, 65, 0.08),
    inset 18px 22px 38px rgba(255, 255, 255, 0.66),
    0 42px 80px rgba(105, 82, 66, 0.12);
  transform: translateZ(-90px) rotateX(58deg);
  animation: floatPlate 8s var(--ease-soft) infinite alternate;
}

.hero-art::after {
  left: 3%;
  top: 23%;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border: 1px solid rgba(183, 146, 123, 0.16);
  box-shadow:
    inset 18px 22px 44px rgba(255, 255, 255, 0.52),
    0 28px 70px rgba(157, 117, 100, 0.1);
  transform: rotateX(62deg) rotateZ(-14deg);
}

.wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.68;
  animation: drift 9s ease-in-out infinite alternate;
}

.wash-pink {
  width: 350px;
  height: 350px;
  left: -120px;
  top: 25%;
  background: rgba(235, 170, 164, 0.35);
}

.wash-sage {
  width: 310px;
  height: 310px;
  right: 20%;
  bottom: 7%;
  background: rgba(167, 176, 147, 0.35);
}

.sparkle {
  position: absolute;
  width: 42px;
  height: 42px;
  transform: rotate(45deg);
  animation: twinkle 3.8s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
}

.sparkle::before {
  width: 6px;
  height: 42px;
  border-radius: 999px;
}

.sparkle::after {
  width: 42px;
  height: 6px;
  border-radius: 999px;
}

.sparkle-one {
  top: 19%;
  right: 18%;
  color: rgba(216, 150, 143, 0.56);
}

.sparkle-two {
  top: 28%;
  right: 10%;
  width: 28px;
  height: 28px;
  color: rgba(145, 150, 125, 0.5);
  animation-delay: 900ms;
}

.leaf-line {
  position: absolute;
  left: 3%;
  bottom: 11%;
  width: 170px;
  height: 270px;
  border-left: 2px solid rgba(111, 115, 95, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(590px, 100%);
  transform-style: preserve-3d;
  animation: heroIn 1150ms var(--ease-soft) both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -16%;
  top: 2%;
  width: 118%;
  height: 82%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 68% 52%, rgba(255, 250, 246, 0.44) 0%, rgba(255, 250, 246, 0.3) 34%, rgba(255, 245, 240, 0.14) 58%, transparent 76%),
    radial-gradient(ellipse at 24% 34%, rgba(244, 183, 176, 0.32) 0%, rgba(244, 183, 176, 0.2) 36%, rgba(244, 183, 176, 0.08) 62%, transparent 80%);
  filter: blur(14px);
  box-shadow:
    0 28px 88px rgba(111, 80, 63, 0.06),
    inset 28px 30px 54px rgba(255, 255, 255, 0.18);
  transform: translateZ(-32px) rotateX(62deg) rotateZ(-8deg);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-family: "Allura", cursive;
  font-size: clamp(74px, 8.1vw, 116px);
  font-weight: 400;
  line-height: 0.78;
  text-wrap: balance;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.34),
    0 16px 28px rgba(94, 72, 58, 0.13);
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.08em;
}

h2 {
  color: #55463c;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.02;
}

h3 {
  margin-bottom: 9px;
  color: #59493f;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1.08;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(93, 77, 66, 0.78);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.logo-orb {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: clamp(8px, 1.3vw, 16px);
  border: 1px solid rgba(183, 146, 123, 0.36);
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.7);
  box-shadow:
    0 28px 70px rgba(104, 79, 62, 0.16),
    inset 16px 18px 34px rgba(255, 255, 255, 0.62),
    inset -16px -18px 30px rgba(115, 86, 67, 0.06);
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transform-style: preserve-3d;
  animation: orbIn 1150ms var(--ease-soft) 180ms both;
  transition:
    transform 520ms var(--ease-soft),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.logo-orb:hover {
  --lift: -8px;
  box-shadow:
    0 38px 96px rgba(104, 79, 62, 0.22),
    inset 18px 20px 34px rgba(255, 255, 255, 0.68),
    inset -18px -20px 34px rgba(115, 86, 67, 0.08);
}

.logo-orb::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 18%;
  border-radius: 50%;
  background: rgba(91, 67, 51, 0.16);
  filter: blur(18px);
  transform: translateZ(-60px) rotateX(70deg);
}

.logo-orb::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(183, 146, 123, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.logo-orb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  transform: translateZ(34px);
  box-shadow:
    0 12px 28px rgba(95, 72, 58, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.band {
  border-block: 1px solid rgba(183, 146, 123, 0.18);
  background: rgba(255, 250, 246, 0.48);
}

section:not(.hero) {
  padding: clamp(72px, 10vw, 118px) max(18px, calc((100vw - 1120px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.narrow {
  display: block;
  max-width: 760px;
}

.narrow .eyebrow {
  margin-bottom: 14px;
}

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

.intro-grid article,
.product-card {
  border: 1px solid rgba(183, 146, 123, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 15px 44px rgba(104, 79, 62, 0.08);
}

.intro-grid article {
  padding: 28px;
  transition:
    transform 300ms var(--ease-soft),
    box-shadow 300ms ease,
    border-color 300ms ease,
    background 300ms ease;
}

.intro-grid article:hover,
.product-card:hover {
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(-8px)
    translateZ(12px);
  border-color: rgba(217, 154, 146, 0.42);
  box-shadow:
    0 28px 70px rgba(104, 79, 62, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.intro-grid span {
  color: rgba(153, 117, 95, 0.52);
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
}

.intro-grid p,
.product-card span {
  color: rgba(93, 77, 66, 0.74);
  line-height: 1.7;
}

.collection {
  position: relative;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition:
    transform 420ms var(--ease-soft),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.product-card > div:last-child {
  position: relative;
  z-index: 2;
  padding: 22px;
  transform: translateZ(30px);
}

.product-card p {
  margin-bottom: 10px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-visual {
  position: relative;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.86), transparent 18%),
    radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.82) 0 18%, transparent 19%),
    linear-gradient(145deg, rgba(250, 221, 216, 0.86), rgba(223, 228, 211, 0.86));
  transform: translateZ(18px);
  transition: filter 360ms ease, transform 460ms var(--ease-soft);
}

.product-card:hover .product-visual {
  filter: saturate(1.08) brightness(1.02);
  transform: translateZ(34px) scale(1.035);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid rgba(113, 91, 78, 0.24);
  background: rgba(255, 250, 246, 0.68);
  box-shadow:
    0 18px 28px rgba(92, 71, 56, 0.14),
    inset 10px 12px 18px rgba(255, 255, 255, 0.6),
    inset -8px -10px 16px rgba(113, 91, 78, 0.08);
}

.bowl::before {
  bottom: 38px;
  width: 122px;
  height: 52px;
  border-radius: 12px 12px 70px 70px;
}

.bowl::after {
  bottom: 86px;
  width: 144px;
  height: 28px;
  border-radius: 50%;
}

.candle::before {
  bottom: 35px;
  width: 102px;
  height: 112px;
  border-radius: 12px;
}

.candle::after {
  bottom: 146px;
  width: 22px;
  height: 44px;
  border-color: rgba(218, 151, 119, 0.38);
  border-radius: 50% 50% 45% 45%;
  background: #ffe8b8;
}

.arch::before {
  bottom: 36px;
  width: 112px;
  height: 120px;
  border-radius: 60px 60px 10px 10px;
}

.arch::after {
  bottom: 36px;
  width: 46px;
  height: 78px;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: rgba(247, 217, 211, 0.68);
}

.set::before {
  bottom: 34px;
  width: 136px;
  height: 78px;
  border-radius: 10px;
}

.set::after {
  bottom: 100px;
  width: 78px;
  height: 104px;
  border-radius: 50% 50% 14px 14px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 840px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(93, 77, 66, 0.74);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(183, 146, 123, 0.28);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.88);
  outline: none;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(217, 154, 146, 0.75);
  box-shadow: 0 0 0 4px rgba(217, 154, 146, 0.16);
}

.contact-form .button {
  width: fit-content;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px max(18px, calc((100vw - 1120px) / 2));
  color: rgba(93, 77, 66, 0.66);
  border-top: 1px solid rgba(183, 146, 123, 0.18);
}

.site-footer p {
  margin: 0;
  font-family: "Allura", cursive;
  font-size: 32px;
}

.site-footer span {
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 740ms ease,
    transform 820ms var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

@keyframes orbIn {
  from {
    opacity: 0;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(14px, -10px, 0) scale(1.04);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.42;
    transform: rotate(45deg) scale(0.9);
  }
  50% {
    opacity: 0.8;
    transform: rotate(45deg) scale(1.05);
  }
}

@keyframes floatPlate {
  from {
    transform: translate3d(0, 0, -90px) rotateX(58deg) scale(0.98);
  }
  to {
    transform: translate3d(-18px, -12px, -90px) rotateX(58deg) scale(1.02);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 116px;
  }

  .logo-orb {
    width: min(520px, 100%);
    justify-self: center;
  }

  .section-heading,
  .intro-grid,
  .product-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .product-grid {
    max-width: 640px;
  }

}

@media (max-width: 600px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
  }

  .brand strong {
    font-size: 23px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    width: calc(100% - 28px);
    min-height: auto;
    padding-bottom: 54px;
  }

  .sparkle,
  .leaf-line {
    display: none;
  }

  h1 {
    font-size: clamp(60px, 18vw, 76px);
    line-height: 0.82;
  }

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

  .button {
    width: 100%;
  }

}
