/* ==========================================================================
   Vaylara Parfums — house layer
   Sits on top of the theme's base.css. Everything here is identity: the
   mouillette (blotter-strip) structures, the type scale, the perfumer's
   record treatments. Structural utilities (.page-width, .grid, .button,
   .media, .ratio, .field) come from the theme and are not redefined.
   ========================================================================== */

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4, h5,
.h0, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-heading-family);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.04;
  text-wrap: balance;
}

/* Bodoni's thin strokes only hold together large, so the display sizes are
   generous and the small sizes hand off to Jost instead. */
.v-display {
  font-family: var(--font-heading-family);
  font-size: clamp(4.4rem, 7.4vw, 11rem);
  line-height: 0.94;
  letter-spacing: -0.018em;
  margin: 0;
}

.v-display--xl {
  font-size: clamp(5.6rem, 11vw, 16rem);
}

.v-title {
  font-family: var(--font-heading-family);
  font-size: clamp(2.8rem, 3.6vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.014em;
  margin: 0;
}

.v-subtitle {
  font-family: var(--font-heading-family);
  font-size: clamp(2.1rem, 2.2vw, 2.9rem);
  line-height: 1.14;
  margin: 0;
}

/* Sentence case, not tracked-out caps: a perfumer's label is typed, not shouted. */
.v-meta {
  font-family: var(--font-body-family);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.5;
  color: rgba(var(--color-foreground), 0.62);
}

.v-meta--tight { letter-spacing: 0.04em; }

.v-lede {
  font-size: clamp(1.7rem, 1.5vw, 2rem);
  line-height: 1.62;
  max-width: 46ch;
  color: rgba(var(--color-foreground), 0.82);
}

.v-body {
  font-size: 1.6rem;
  line-height: 1.72;
  max-width: 62ch;
  color: rgba(var(--color-foreground), 0.74);
}

.v-body p + p { margin-top: 1.4em; }

.v-num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1;
}

/* ---------------------------------------------------------------- layout */

.v-section {
  padding-block: clamp(6.4rem, 9vw, 14rem);
}

.v-section--tight { padding-block: clamp(4rem, 5vw, 7.2rem); }
.v-section--flush { padding-block: 0; }

.v-rule {
  border: 0;
  border-top: 1px solid var(--v-rule);
  margin: 0;
}

.color-paper .v-rule,
.v-rule--paper { border-top-color: var(--v-rule-paper); }

.v-stack { display: grid; gap: 2.4rem; }
.v-stack--sm { gap: 1.2rem; }
.v-stack--lg { gap: 4rem; }

/* A two-column editorial split that keeps a real measure on the text side. */
.v-split {
  display: grid;
  gap: clamp(3.2rem, 5vw, 8rem);
  align-items: center;
}

@media screen and (min-width: 990px) {
  .v-split {
    grid-template-columns: 1.15fr 1fr;
  }
  .v-split--reverse > :first-child { order: 2; }
  .v-split--text-first { grid-template-columns: 1fr 1.15fr; }
}

/* --------------------------------------------------- hero / the mouillette

   A blotter strip is the narrow paper band a perfumer sprays to read a
   fragrance. The hero puts one flush against the left edge, full height, in
   paper stock — the photograph takes the remaining frame. Asymmetric on
   purpose: the name is not centred over the image.
   -------------------------------------------------------------------------- */

.v-hero {
  position: relative;
  display: grid;
  min-height: min(88vh, 84rem);
  background-color: var(--v-glass);
}

@media screen and (min-width: 750px) {
  .v-hero {
    grid-template-columns: var(--v-strip) 1fr;
  }
}

.v-hero__strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  padding: clamp(3.2rem, 3.4vw, 5.6rem) clamp(2.4rem, 2.6vw, 4rem);
  background-color: var(--v-paper);
  color: var(--v-glass);
}

.v-hero__strip .v-meta { color: rgba(26, 29, 35, 0.6); }

.v-hero__strip h1,
.v-hero__strip h2,
.v-hero__strip p { color: var(--v-glass); }

.v-hero__name {
  font-family: var(--font-heading-family);
  font-size: clamp(4.2rem, 5.4vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
}

.v-hero__name span { display: block; }

.v-hero__figure {
  position: relative;
  overflow: hidden;
  min-height: 42rem;
}

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

/* Bottom left: the subject sits right of centre in the hero frame, so the
   caption goes to the dark side of the image rather than over the glass. */
.v-hero__caption {
  position: absolute;
  left: clamp(2rem, 3vw, 4.8rem);
  bottom: clamp(2rem, 3vw, 4rem);
  z-index: 2;
  max-width: 30ch;
  color: rgba(232, 228, 219, 0.82);
}

/* The one orchestrated moment on the page: strip and image arrive together
   on load. Nothing else animates unless a person acts. */
@media (prefers-reduced-motion: no-preference) {
  .v-hero__strip,
  .v-hero__figure img {
    animation: v-hero-in 1100ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .v-hero__strip { animation-name: v-strip-in; }
  .v-hero__figure img { animation-delay: 120ms; }
}

@keyframes v-strip-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes v-hero-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

/* ------------------------------------------------- hero slider (the library)

   Same mouillette frame as the homepage, but the photograph side is a slider:
   the strip holds the page's own copy while the frame beside it moves through
   the library. Controls sit over the image, bottom right.
   -------------------------------------------------------------------------- */

.v-hero--slider .v-hero__figure { display: grid; }

.v-hero__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.v-hero__viewport::-webkit-scrollbar { display: none; }

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

.v-hero__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  min-height: 42rem;
}

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

/* Each slide names what it shows and links to it, so the slider is a way
   into the library rather than decoration. */
.v-hero__slide figcaption {
  position: absolute;
  left: clamp(2rem, 2.6vw, 4rem);
  bottom: clamp(2rem, 2.6vw, 3.6rem);
  z-index: 2;
}

.v-hero__slide figcaption a {
  display: grid;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--v-paper);
}

.v-hero__slide figcaption strong {
  font-family: var(--font-heading-family);
  font-size: clamp(2.4rem, 2.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.v-hero__slide figcaption a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 1px;
}

.v-hero__slide figcaption span {
  font-size: 1.3rem;
  letter-spacing: 0.07em;
  color: rgba(232, 228, 219, 0.72);
}

.v-hero__controls {
  position: absolute;
  right: clamp(2rem, 2.6vw, 4rem);
  bottom: clamp(2rem, 2.6vw, 3.6rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.v-hero__count {
  margin: 0;
  font-family: var(--font-heading-family);
  font-size: 1.6rem;
  color: rgba(232, 228, 219, 0.6);
}

.v-hero__count strong { font-weight: 400; color: var(--v-paper); }

.v-hero__arrows { display: flex; gap: 1px; }

.v-hero__arrow {
  width: 4.4rem;
  height: 4.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 228, 219, 0.4);
  background-color: rgba(18, 21, 26, 0.45);
  color: var(--v-paper);
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.v-hero__arrow:hover:not([disabled]) {
  background-color: var(--v-paper);
  color: var(--v-glass);
  border-color: var(--v-paper);
}

.v-hero__arrow[disabled] { opacity: 0.35; cursor: default; }

.v-hero__arrow::before {
  content: '';
  width: 0.85rem;
  height: 0.85rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.v-hero__arrow--prev::before { transform: rotate(-135deg) translate(-10%, -10%); }
.v-hero__arrow--next::before { transform: rotate(45deg) translate(-10%, -10%); }

/* On a phone the strip stacks above the frame, so the controls move clear of
   the caption rather than sitting on top of it. */
@media screen and (max-width: 749px) {
  .v-hero__controls {
    bottom: auto;
    top: 1.6rem;
    right: 1.6rem;
  }
}

/* ---------------------------------------------------------------- header */

.v-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--v-glass);
  border-bottom: 1px solid var(--v-rule);
}

.v-header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 1.8rem;
}

@media screen and (min-width: 990px) {
  .v-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
}

.v-wordmark {
  font-family: var(--font-heading-family);
  font-size: clamp(2rem, 1.8vw, 2.6rem);
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  line-height: 1;
  text-decoration: none;
  color: rgb(var(--color-foreground));
  white-space: nowrap;
}

.v-nav {
  display: none;
  gap: clamp(1.8rem, 2vw, 3.2rem);
  align-items: center;
}

@media screen and (min-width: 990px) {
  .v-nav { display: flex; }
}

.v-nav a,
.v-header__actions button,
.v-header__actions a {
  font-family: var(--font-body-family);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: rgba(var(--color-foreground), 0.8);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
}

.v-nav a[aria-current='page'] { color: rgb(var(--color-foreground)); }

.v-nav a:hover,
.v-header__actions button:hover,
.v-header__actions a:hover {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 1px;
}

.v-header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(1.4rem, 1.6vw, 2.4rem);
}

.v-header__nav-toggle { display: inline-flex; }

@media screen and (min-width: 990px) {
  .v-header__nav-toggle { display: none; }
}

.v-cart-count {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

/* Announcement strip: real house facts, not a discount shout. */
.v-announce {
  background-color: var(--v-ink);
  border-bottom: 1px solid var(--v-rule);
  text-align: center;
  padding-block: 0.9rem;
}

.v-announce p {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(var(--color-foreground), 0.66);
}

/* Mobile nav panel */
.v-mobile-nav {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 0 2.4rem;
  border-top: 1px solid var(--v-rule);
}

.v-mobile-nav[hidden] { display: none; }

.v-mobile-nav a {
  font-family: var(--font-heading-family);
  font-size: 2.4rem;
  color: rgb(var(--color-foreground));
  text-decoration: none;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--v-rule);
}

@media screen and (min-width: 990px) {
  .v-mobile-nav { display: none !important; }
}

/* --------------------------------------------------- the perfumer's record

   Product entries are set the way a house lists its own library: name, then
   concentration and volume as data. The structural device carries information
   rather than decorating the card.
   -------------------------------------------------------------------------- */

.v-card {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
}

.v-card__figure {
  position: relative;
  overflow: hidden;
  background-color: var(--v-ink);
  aspect-ratio: 4 / 5;
}

.v-card__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 600ms ease;
}

.v-card__figure img + img { opacity: 0; }

@media (hover: hover) {
  .v-card:hover .v-card__figure img + img { opacity: 1; }
}

.v-card__body {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.6rem 0;
}

.v-card__name {
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0;
}

.v-card:hover .v-card__name {
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  text-decoration-thickness: 1px;
}

.v-card__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.58);
}

.v-price {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: rgb(var(--color-foreground));
}

.v-card__figure figcaption {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 0.7rem 1.2rem;
  background-color: var(--v-oxblood);
  color: var(--v-paper);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

/* Product library grid */
.v-library {
  display: grid;
  gap: clamp(2.4rem, 3vw, 4.8rem) clamp(1.6rem, 2vw, 3.2rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media screen and (min-width: 750px) {
  .v-library { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.v-library--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media screen and (min-width: 750px) {
  .v-library--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------- collection tiles */

.v-tiles {
  display: grid;
  gap: 1px;
  background-color: var(--v-rule);
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
}

.v-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 42vw, 56rem);
  padding: clamp(2.4rem, 2.6vw, 4rem);
  overflow: hidden;
  text-decoration: none;
  color: var(--v-paper);
  background-color: var(--v-ink);
}

.v-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  .v-tile:hover img { transform: scale(1.04); }
}

.v-tile::after {
  content: '';
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(to bottom, rgba(18, 21, 26, 0) 0%,
              rgba(18, 21, 26, 0.55) 62%, rgba(18, 21, 26, 0.88) 100%);
  pointer-events: none;
}

.v-tile__label {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
}

.v-tile__label h3 {
  font-family: var(--font-heading-family);
  font-size: clamp(2.6rem, 2.8vw, 3.6rem);
  margin: 0;
}

.v-tile__label p {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: rgba(232, 228, 219, 0.72);
}

/* ------------------------------------------------- the olfactory pyramid

   Top, heart and base notes genuinely are a sequence — a fragrance opens,
   settles, then dries down — so this is the one place the page tiers and
   numbers its content.
   ------------------------------------------------------------------------ */

.v-pyramid {
  display: grid;
  gap: 0;
  counter-reset: v-tier;
  border-top: 1px solid var(--v-rule);
}

.color-paper .v-pyramid { border-top-color: var(--v-rule-paper); }

.v-tier {
  counter-increment: v-tier;
  display: grid;
  gap: 0.8rem 3.2rem;
  padding-block: clamp(2.4rem, 2.6vw, 3.6rem);
  border-bottom: 1px solid var(--v-rule);
  align-items: baseline;
}

.color-paper .v-tier { border-bottom-color: var(--v-rule-paper); }

@media screen and (min-width: 750px) {
  .v-tier {
    grid-template-columns: 6rem 18rem 1fr;
  }
}

.v-tier__index {
  font-family: var(--font-heading-family);
  font-size: 2.4rem;
  color: rgba(var(--color-foreground), 0.4);
}

.v-tier__index::before { content: counter(v-tier, decimal-leading-zero); }

.v-tier__stage {
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  margin: 0;
}

.v-tier__notes {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgba(var(--color-foreground), 0.74);
}

/* Timing readout that sits under the pyramid */
.v-tier__timing {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.5);
}

/* ---------------------------------------------------------- product page */

.v-product {
  display: grid;
  gap: clamp(3.2rem, 4vw, 6.4rem);
  align-items: start;
}

@media screen and (min-width: 990px) {
  .v-product { grid-template-columns: 1.25fr 1fr; }
  .v-product__info { position: sticky; top: 12rem; }
}

/* ------------------------------------------------------------ image slider

   Scroll-snap does the work, so a swipe on a phone and the arrows on a
   desktop drive the same mechanism and there is no library to load. The
   counter and the thumb strip both report position.
   -------------------------------------------------------------------------- */

.v-slider { display: grid; gap: 1px; background-color: var(--v-rule); }

.v-slider__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: var(--v-ink);
}

.v-slider__viewport::-webkit-scrollbar { display: none; }

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

.v-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  overflow: hidden;
}

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

.v-slider__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0 0;
  background-color: rgb(var(--color-background));
}

.v-slider__count {
  margin: 0;
  font-family: var(--font-heading-family);
  font-size: 1.7rem;
  color: rgba(var(--color-foreground), 0.55);
}

.v-slider__count strong {
  font-weight: 400;
  color: rgb(var(--color-foreground));
}

.v-slider__arrows { display: flex; gap: 1px; background-color: var(--v-rule); }

.v-slider__arrow {
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--v-rule);
  background-color: transparent;
  color: rgb(var(--color-foreground));
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.v-slider__arrow:hover:not([disabled]) {
  background-color: var(--v-paper);
  color: var(--v-glass);
  border-color: var(--v-paper);
}

.v-slider__arrow[disabled] { opacity: 0.3; cursor: default; }

/* Chevrons drawn from borders — same device as the accordion marker. */
.v-slider__arrow::before {
  content: '';
  width: 0.9rem;
  height: 0.9rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.v-slider__arrow--prev::before { transform: rotate(-135deg) translate(-10%, -10%); }
.v-slider__arrow--next::before { transform: rotate(45deg) translate(-10%, -10%); }

.v-slider__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1px;
  background-color: var(--v-rule);
}

.v-slider__thumb {
  position: relative;
  /* a filmstrip, not three more product shots — fixed height keeps the
     slider's own frame dominant */
  height: clamp(7rem, 9vw, 11rem);
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--v-ink);
}

.v-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 300ms ease;
}

.v-slider__thumb[aria-current='true'] img,
.v-slider__thumb:hover img { opacity: 1; }

.v-slider__thumb[aria-current='true']::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background-color: var(--v-paper);
}

/* Volume selector — the theme's variant pills, restated at house scale */
.v-volumes {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background-color: var(--v-rule);
  border: 1px solid var(--v-rule);
}

.v-volume {
  flex: 1 1 12rem;
  display: grid;
  gap: 0.3rem;
  padding: 1.4rem 1.6rem;
  /* opaque, so the 1px rule grid behind shows only in the gaps */
  background-color: rgb(var(--color-background));
  border: 0;
  color: rgba(var(--color-foreground), 0.7);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body-family);
  transition: background-color 220ms ease, color 220ms ease;
}

.v-volume strong {
  font-family: var(--font-heading-family);
  font-size: 2rem;
  font-weight: 400;
}

.v-volume span { font-size: 1.3rem; letter-spacing: 0.05em; }

.v-volume:hover { background-color: rgba(var(--color-foreground), 0.06); }

.v-volume[aria-checked='true'] {
  background-color: var(--v-paper);
  color: var(--v-glass);
}

.v-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--v-rule);
}

.v-qty button {
  width: 4.4rem;
  background: none;
  border: 0;
  color: rgb(var(--color-foreground));
  font-size: 1.8rem;
  cursor: pointer;
}

.v-qty button:hover { background-color: rgba(var(--color-foreground), 0.08); }

.v-qty input {
  width: 5.4rem;
  background: none;
  border: 0;
  border-inline: 1px solid var(--v-rule);
  color: rgb(var(--color-foreground));
  text-align: center;
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  -moz-appearance: textfield;
}

.v-qty input::-webkit-outer-spin-button,
.v-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.v-add {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Buttons: the theme owns radius and border tokens; this sets the house
   proportions and the oxblood fill. */
.v-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.4rem;
  padding: 0 clamp(2.4rem, 2.6vw, 3.6rem);
  border: 1px solid transparent;
  border-radius: var(--buttons-radius);
  background-color: var(--v-oxblood);
  color: var(--v-paper);
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}

.v-button:hover { background-color: #842C41; }

.v-button--ghost {
  background-color: transparent;
  border-color: rgba(var(--color-foreground), 0.4);
  color: rgb(var(--color-foreground));
}

.v-button--ghost:hover {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-foreground));
}

.v-button--paper {
  background-color: var(--v-paper);
  color: var(--v-glass);
}

.v-button--paper:hover { background-color: #FFFFFF; }

.v-button--full { width: 100%; }

.v-button[disabled] { opacity: 0.45; cursor: not-allowed; }

/* Accordion — details/summary, no library needed */
.v-accordion { border-top: 1px solid var(--v-rule); }

.v-accordion details { border-bottom: 1px solid var(--v-rule); }

.v-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 1.8rem;
  cursor: pointer;
  font-family: var(--font-heading-family);
  font-size: 1.9rem;
  list-style: none;
}

.v-accordion summary::-webkit-details-marker { display: none; }

.v-accordion summary::after {
  content: '';
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-25%);
  transition: transform 260ms ease;
}

.v-accordion details[open] summary::after {
  transform: rotate(225deg) translateY(-25%);
}

.v-accordion .v-accordion__body {
  padding-block: 0 2.4rem;
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(var(--color-foreground), 0.72);
  max-width: 60ch;
}

/* Specification table — the house's own data, set as a record */
.v-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.45rem;
}

.v-specs th,
.v-specs td {
  text-align: left;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--v-rule);
  vertical-align: top;
}

.color-paper .v-specs th,
.color-paper .v-specs td { border-bottom-color: var(--v-rule-paper); }

.v-specs th {
  width: 38%;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.55);
}

/* ------------------------------------------------------------ cart drawer */

.v-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto;
  pointer-events: none;
  visibility: hidden;
}

.v-drawer[data-open='true'] { pointer-events: auto; visibility: visible; }

.v-drawer__scrim {
  background-color: rgba(10, 12, 15, 0.62);
  opacity: 0;
  transition: opacity 360ms ease;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.v-drawer[data-open='true'] .v-drawer__scrim { opacity: 1; }

.v-drawer__panel {
  width: min(46rem, 100vw);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background-color: var(--v-ink);
  border-left: 1px solid var(--v-rule);
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.v-drawer[data-open='true'] .v-drawer__panel { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .v-drawer__panel,
  .v-drawer__scrim { transition: none; }
}

.v-drawer__head,
.v-drawer__foot {
  padding: 2.4rem clamp(2rem, 2.4vw, 3.2rem);
}

.v-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--v-rule);
}

.v-drawer__foot { border-top: 1px solid var(--v-rule); display: grid; gap: 1.6rem; }

.v-drawer__body {
  overflow-y: auto;
  padding: 0 clamp(2rem, 2.4vw, 3.2rem);
}

.v-drawer__close {
  background: none;
  border: 0;
  color: rgb(var(--color-foreground));
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem;
}

.v-line {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.6rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--v-rule);
  align-items: start;
}

.v-line img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.v-line__name {
  font-family: var(--font-heading-family);
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
}

.v-line__remove {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 0.8rem;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.55);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

.v-line__remove:hover { color: rgb(var(--color-foreground)); }

.v-drawer__totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.5rem;
}

.v-drawer__totals strong {
  font-family: var(--font-heading-family);
  font-size: 2.4rem;
  font-weight: 400;
}

.v-empty {
  padding-block: 6rem;
  text-align: left;
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

/* ---------------------------------------------------------------- facets */

.v-collection {
  display: grid;
  gap: clamp(3.2rem, 4vw, 6rem);
}

@media screen and (min-width: 990px) {
  .v-collection { grid-template-columns: 24rem 1fr; }
}

.v-facets { display: grid; gap: 3.2rem; align-content: start; }

@media screen and (min-width: 990px) {
  .v-facets { position: sticky; top: 12rem; }
}

.v-facet__title {
  font-family: var(--font-heading-family);
  font-size: 1.9rem;
  margin: 0 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--v-rule);
}

.v-facet__list { display: grid; gap: 0.9rem; }

.v-facet__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.45rem;
  color: rgba(var(--color-foreground), 0.74);
  cursor: pointer;
}

.v-facet__option input {
  appearance: none;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--color-foreground), 0.4);
  background-color: transparent;
  cursor: pointer;
}

.v-facet__option input:checked {
  background-color: var(--v-paper);
  border-color: var(--v-paper);
}

.v-facet__option:hover { color: rgb(var(--color-foreground)); }

.v-facet__count { color: rgba(var(--color-foreground), 0.42); }

.v-collection__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--v-rule);
  margin-bottom: clamp(2.4rem, 3vw, 4rem);
}

.v-select {
  background-color: transparent;
  border: 1px solid var(--v-rule);
  color: rgb(var(--color-foreground));
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  padding: 1rem 1.4rem;
  border-radius: 0;
}

/* ------------------------------------------------------- quote / banners */

.v-banner {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(40rem, 52vw, 68rem);
  overflow: hidden;
}

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

.v-banner__inner {
  position: relative;
  z-index: 2;
  padding: clamp(3.2rem, 4vw, 7.2rem) 0;
}

.v-quote {
  font-family: var(--font-heading-family);
  font-style: normal;
  font-size: clamp(2.6rem, 3.4vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  max-width: 34ch;
  margin: 0;
  color: var(--v-paper);
  text-wrap: balance;
}

.v-quote cite {
  display: block;
  margin-top: 2.4rem;
  font-family: var(--font-body-family);
  font-size: 1.35rem;
  font-style: normal;
  letter-spacing: 0.08em;
  color: rgba(232, 228, 219, 0.68);
}

/* --------------------------------------------------------------- journal */

.v-journal {
  display: grid;
  gap: 1px;
  background-color: var(--v-rule);
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
}

.v-journal article {
  padding: clamp(2.4rem, 2.6vw, 4rem);
  background-color: var(--v-glass);
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.v-journal h3 {
  font-family: var(--font-heading-family);
  font-size: clamp(2.2rem, 2.2vw, 2.8rem);
  margin: 0;
}

.v-journal a {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  text-decoration-thickness: 1px;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  justify-self: start;
}

/* ------------------------------------------------------------ newsletter */

.v-signup {
  display: grid;
  gap: 1px;
  background-color: var(--v-rule-paper);
  max-width: 52rem;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--v-rule-paper);
}

.v-signup input {
  background-color: transparent;
  border: 0;
  padding: 1.7rem 1.8rem;
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  color: inherit;
  min-width: 0;
}

.v-signup input::placeholder { color: rgba(26, 29, 35, 0.45); }

.v-signup button {
  border: 0;
  background-color: var(--v-glass);
  color: var(--v-paper);
  font-family: var(--font-body-family);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  padding: 0 2.8rem;
  cursor: pointer;
}

.v-signup button:hover { background-color: var(--v-oxblood); }

/* ------------------------------------------------------------------ forms */

.v-field { display: grid; gap: 0.8rem; }

.v-field label {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: rgba(var(--color-foreground), 0.62);
}

.v-field input,
.v-field textarea,
.v-field select {
  background-color: transparent;
  border: 1px solid var(--v-rule);
  border-radius: var(--inputs-radius);
  padding: 1.4rem 1.6rem;
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  color: rgb(var(--color-foreground));
}

.v-field textarea { min-height: 14rem; resize: vertical; }

.v-field input:focus-visible,
.v-field textarea:focus-visible,
.v-field select:focus-visible {
  outline: 2px solid rgba(var(--color-foreground), 0.6);
  outline-offset: 2px;
}

/* ----------------------------------------------------------------- footer */

.v-footer {
  background-color: var(--v-ink);
  border-top: 1px solid var(--v-rule);
  padding-block: clamp(4.8rem, 6vw, 8rem) 3.2rem;
}

.v-footer__grid {
  display: grid;
  gap: clamp(3.2rem, 4vw, 6.4rem);
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}

.v-footer h4 {
  font-family: var(--font-body-family);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(var(--color-foreground), 0.5);
  margin: 0 0 1.6rem;
}

.v-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }

.v-footer a {
  color: rgba(var(--color-foreground), 0.78);
  text-decoration: none;
  font-size: 1.45rem;
}

.v-footer a:hover {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

.v-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
  justify-content: space-between;
  margin-top: clamp(4rem, 5vw, 6.4rem);
  padding-top: 2.4rem;
  border-top: 1px solid var(--v-rule);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.5);
}

/* -------------------------------------------------------------- utilities */

.v-toast {
  position: fixed;
  left: 50%;
  bottom: 3.2rem;
  transform: translate(-50%, 200%);
  z-index: 80;
  background-color: var(--v-paper);
  color: var(--v-glass);
  padding: 1.4rem 2.4rem;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  max-width: calc(100vw - 3.2rem);
}

.v-toast[data-show='true'] { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .v-toast { transition: none; }
  .v-hero__strip,
  .v-hero__figure img,
  .v-tile img { animation: none !important; transition: none !important; }
}

.v-demo-note {
  background-color: var(--v-oxblood);
  color: var(--v-paper);
  text-align: center;
  padding: 1rem 1.6rem;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.v-demo-note a { color: inherit; text-underline-offset: 0.3rem; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid rgba(var(--color-foreground), 0.7);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.v-no-scroll { overflow: hidden; }
