:root {
  color-scheme: dark;
  --ink: #090207;
  --panel: rgb(20 5 14 / 82%);
  --panel-solid: #160710;
  --rose: #ff3d9b;
  --rose-light: #ff9dca;
  --cream: #fff3e8;
  --muted: #c9aeba;
  --gold: #e6b777;
  --line: rgb(255 175 211 / 18%);
  --section-transition: clamp(1.5rem, 2vw, 2rem);
  background: var(--ink);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgb(139 8 65 / 16%), transparent 30rem),
    linear-gradient(180deg, #070105 0%, #0b0208 46%, #030102 100%);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 1240px);
  min-height: 250px;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 340px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 1rem rgb(255 0 128 / 20%));
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
}

nav a {
  color: #e9cedb;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: var(--rose-light);
}

.heart-key {
  position: relative;
  display: inline-block;
  width: 1.55rem;
  height: 0.9rem;
  color: #ff68ac;
  filter: drop-shadow(0 0 0.32rem rgb(255 61 155 / 52%));
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.heart-key span {
  position: absolute;
  top: -0.16rem;
  left: 0;
  font-size: 0.72rem;
  line-height: 1;
}

.heart-key::before {
  content: "";
  position: absolute;
  top: 0.38rem;
  left: 0.43rem;
  width: 0.98rem;
  height: 1px;
  background: currentColor;
  transform: rotate(-7deg);
  transform-origin: left center;
}

.heart-key::after {
  content: "";
  position: absolute;
  top: 0.32rem;
  right: 0.05rem;
  width: 0.28rem;
  height: 0.28rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-7deg);
}

.home-link:hover .heart-key,
.home-link:focus-visible .heart-key {
  color: #fff;
  filter: drop-shadow(0 0 0.48rem rgb(255 61 155 / 90%));
  transform: translateX(-0.08rem) rotate(-5deg);
}

.preview-banner {
  position: relative;
  z-index: 2;
  padding: 0.65rem 1rem;
  border-block: 1px solid rgb(255 95 170 / 22%);
  background: rgb(91 5 45 / 30%);
  color: #f2cbdc;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

main {
  position: relative;
  z-index: 1;
}

.product-hero,
.cuttings-section,
.provenance-section {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100svh - 288px);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 var(--section-transition);
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 2rem 2rem 7rem 2rem;
  background: #12070e;
  box-shadow: 0 2.5rem 6rem rgb(0 0 0 / 48%), 0 0 4rem rgb(197 0 85 / 8%);
}

.gallery-stage > img,
.gallery-stage > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-stage > video {
  background: #000;
}

.is-hidden {
  display: none !important;
}

.gallery-count {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.55rem 0.72rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(7 1 5 / 76%);
  color: #f8e7ee;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.gallery-thumbs--six {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-thumbs--five {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-thumbs--seven {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-thumbs--eight {
  grid-template-columns: repeat(8, 1fr);
}

.thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  background: #160710;
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover,
.thumb:focus-visible,
.thumb.is-active {
  border-color: var(--rose-light);
  opacity: 1;
  transform: translateY(-2px);
}

.thumb:focus-visible,
.primary-cta:focus-visible,
.cutting-card:has(input:focus-visible) {
  outline: 2px solid white;
  outline-offset: 3px;
}

.thumb--video span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  place-content: center;
  background: rgb(8 1 6 / 76%);
  color: white;
  font-size: 0.72rem;
  transform: translate(-50%, -50%);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--rose-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.88;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.alias {
  margin: 1.2rem 0 2rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
}

.price-line strong {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.price-line span {
  color: var(--muted);
  font-size: 0.8rem;
}

.price-line--unavailable strong {
  color: var(--rose-light);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.seduction-copy {
  margin-block: 2rem;
  color: #e9d8e0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.seduction-copy p {
  margin: 0 0 0.75rem;
}

.primary-cta,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  border: 1px solid #ff79b8;
  border-radius: 999px;
  background: linear-gradient(135deg, #e40068, #8c073f);
  box-shadow: 0 0 2rem rgb(255 0 128 / 18%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-cta:hover {
  box-shadow: 0 0 2.8rem rgb(255 0 128 / 30%);
  transform: translateY(-1px);
}

.primary-cta--quiet {
  border-color: rgb(255 121 184 / 42%);
  background: rgb(97 7 48 / 38%);
}

.product-promises {
  display: grid;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  list-style: none;
}

.product-promises li::before {
  margin-right: 0.7rem;
  color: var(--rose-light);
  content: "✦";
}

.cuttings-section {
  padding: var(--section-transition) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading > p:last-child,
.provenance-copy > p {
  color: var(--muted);
  line-height: 1.7;
}

.cuttings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.cuttings-photo {
  margin: 0;
}

.cuttings-crop {
  overflow: hidden;
  aspect-ratio: 1.42 / 1;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #171016;
}

.cuttings-crop img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

figcaption {
  padding: 0.8rem 0.2rem 0;
  color: #9b7f8c;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.selector-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--panel);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 28%);
  backdrop-filter: blur(18px);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.cutting-options {
  display: grid;
  gap: 0.65rem;
}

.cutting-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 68px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 2.5%);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.cutting-card:hover,
.cutting-card.is-selected {
  border-color: rgb(255 86 165 / 58%);
  background: rgb(255 39 139 / 8%);
}

.cutting-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.cutting-letter {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 158 204 / 28%);
  border-radius: 50%;
  place-content: center;
  color: #ffe0ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.cutting-card.is-selected .cutting-letter {
  border-color: var(--rose-light);
  background: var(--rose);
  color: #19030d;
}

.cutting-detail {
  display: grid;
  gap: 0.25rem;
}

.cutting-detail strong {
  font-size: 0.86rem;
}

.cutting-detail small {
  color: #a98d9a;
  font-size: 0.68rem;
}

.cutting-price {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.selection-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.selection-summary div {
  display: grid;
  gap: 0.35rem;
}

.selection-summary span {
  color: #a98d9a;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selection-summary strong {
  font-size: 0.82rem;
}

#selection-price {
  color: var(--rose-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.checkout-button {
  width: 100%;
  margin-top: 1.2rem;
}

.checkout-button:disabled {
  border-color: rgb(255 255 255 / 10%);
  background: #38212d;
  box-shadow: none;
  color: #9f8792;
  cursor: not-allowed;
}

.checkout-note,
.fine-print {
  color: #987c89 !important;
  font-size: 0.7rem;
  line-height: 1.55 !important;
}

.availability-section {
  max-width: 980px;
}

.availability-panel {
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 85% 12%, rgb(255 42 139 / 10%), transparent 18rem),
    var(--panel);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 28%);
  backdrop-filter: blur(18px);
}

.availability-status {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.status-light {
  width: 0.8rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: #6c4054;
  box-shadow: 0 0 1rem rgb(255 72 157 / 18%);
}

.status-light--available {
  background: #75d89b;
  box-shadow: 0 0 1.2rem rgb(117 216 155 / 48%);
}

.availability-status div {
  display: grid;
  gap: 0.3rem;
}

.availability-status small {
  color: #a98d9a;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.availability-status strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.future-inventory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-block: 1.5rem;
}

.future-inventory > div {
  display: grid;
  gap: 0.45rem;
  min-height: 132px;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 2.5%);
}

.future-inventory span {
  color: var(--rose-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.future-inventory strong {
  font-size: 0.8rem;
  line-height: 1.35;
}

.future-inventory small {
  color: #9f8491;
  font-size: 0.68rem;
  line-height: 1.45;
}

.stock-photo .cuttings-crop {
  aspect-ratio: 1.28 / 1;
}

.stock-photo .cuttings-crop img {
  object-position: center;
}

.stock-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-block: 1.5rem;
}

.stock-facts > div {
  display: grid;
  gap: 0.4rem;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 2.5%);
}

.stock-facts span {
  color: var(--rose-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.stock-facts strong {
  font-size: 0.78rem;
  line-height: 1.35;
}

.stock-facts small {
  color: #9f8491;
  font-size: 0.68rem;
  line-height: 1.45;
}

.stock-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.stock-price span {
  color: #a98d9a;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stock-price strong {
  color: var(--rose-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.compliance-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
  padding: var(--section-transition) 0 clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.compliance-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #12070e;
}

.compliance-map img {
  width: 100%;
  height: auto;
}

.compliance-copy {
  max-width: 680px;
}

.compliance-copy h2 {
  max-width: 13ch;
}

.compliance-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.official-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-underline-offset: 0.3rem;
}

.provenance-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: var(--section-transition) 0 clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.label-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8rem 1.5rem 1.5rem;
}

.label-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label-image--landscape {
  aspect-ratio: 1.15 / 1;
}

.provenance-copy {
  max-width: 660px;
}

.provenance-copy h2 {
  max-width: 12ch;
}

footer {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--line);
  background: #020102;
  text-align: center;
}

footer img {
  width: 150px;
  height: 110px;
  object-fit: contain;
}

footer .midnight-kiss-logo--footer {
  width: 150px;
  height: 110px;
}

footer p {
  margin: 0;
  color: #b597a5;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

footer a {
  margin-top: 1.2rem;
  color: #f1ccdc;
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .site-header {
    min-height: 138px;
  }

  nav a:not(.home-link):not(:last-child) {
    display: none;
  }

  .product-hero,
  .cuttings-layout,
  .provenance-section,
  .compliance-section {
    grid-template-columns: 1fr;
  }

  .product-hero {
    min-height: auto;
  }

  .gallery {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .product-intro {
    max-width: 680px;
  }

  .provenance-section {
    grid-template-columns: minmax(230px, 0.55fr) 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .product-hero,
  .cuttings-section,
  .provenance-section {
    width: min(100% - 2rem, 1240px);
  }

  .brand img {
    width: 180px;
    height: 128px;
  }

  nav a {
    font-size: 0.65rem;
  }

  nav {
    gap: 0.9rem;
  }

  .home-link {
    gap: 0.4rem;
  }

  .heart-key {
    width: 1.35rem;
    transform: scale(0.92);
    transform-origin: right center;
  }

  .preview-banner {
    font-size: 0.58rem;
  }

  .product-hero {
    gap: 2.4rem;
    padding-top: 1.4rem;
  }

  .gallery-stage {
    border-radius: 1.2rem 1.2rem 4rem 1.2rem;
  }

  .gallery-thumbs--six {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-thumbs--five {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-thumbs--seven {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-thumbs--eight {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .price-line,
  .selection-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .cuttings-section {
    padding: var(--section-transition) 0;
  }

  .future-inventory {
    grid-template-columns: 1fr;
  }

  .stock-facts {
    grid-template-columns: 1fr;
  }

  .stock-facts > div {
    min-height: auto;
  }

  .stock-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .future-inventory > div {
    min-height: auto;
  }

  .cuttings-crop {
    aspect-ratio: 1.28 / 1;
  }

  .cuttings-crop img {
    width: 100%;
  }

  .provenance-section {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .compliance-section {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 1240px);
    padding-top: 2rem;
  }

  .label-image {
    max-height: 520px;
    border-radius: 5rem 1.2rem 1.2rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
