/* ==========================================================================
   IMPERVORA LUXURY LAYER (site-wide)
   Loads after impervora.css (the homepage design system). Carries the
   2026-07-22 elevation + refinement passes: sticky header, featured
   carousel, editorial sections, WooCommerce refinement, two-column
   newsletter, VIP club, footer polish, mobile pass.

   GOLD TOKENS: #C6A667 (champagne) is the systemic UI gold from impervora.css.
   #C8A35A is the owner's decorative-brand gold -- used ONLY for decorative
   IMPERVORA wordmark instances (header/footer brand headings). #B08F4E is the
   pressed/hover deep gold (owner directive: buttons darken on hover).

   Motion rules: transform / opacity / filter only. The global
   prefers-reduced-motion kill-switch in impervora.css covers this file;
   targeted guards for JS-injected elements sit at the end.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. STICKY HEADER -- surface-only transition on scroll; zero CLS.
   -------------------------------------------------------------------------- */
#masthead {
  position: sticky;
  top: 0;
  z-index: 998;
  background: #FFFFFF;
  transition:
    background-color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow       0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar #masthead { top: 46px; }
}

#masthead .site-primary-header-wrap {
  min-height: 64px;
}

html.imp-scrolled #masthead {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(198, 166, 103, 0.28),
    0 10px 30px rgba(14, 14, 14, 0.07);
}

:target { scroll-margin-top: 96px; }

/* --------------------------------------------------------------------------
   2. CTA SHEEN + DEEP-GOLD HOVER
   One light pass across a button face on hover; hero primary CTA breathes a
   slow pass every 7s. Gold surfaces DEEPEN on hover (owner directive).
   -------------------------------------------------------------------------- */
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.imp-card__btn,
.impervora-insider-form__submit-sheen-unused {
  position: relative;
  overflow: hidden;
}

.wp-block-button__link::after,
.woocommerce a.button::after,
.woocommerce button.button::after,
.imp-card__btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: translateX(-170%) skewX(-18deg);
  pointer-events: none;
}

@keyframes imp-sheen {
  from { transform: translateX(-170%) skewX(-18deg); }
  to   { transform: translateX(330%)  skewX(-18deg); }
}

@media (hover: hover) {
  .wp-block-button__link:hover::after,
  .woocommerce a.button:hover::after,
  .woocommerce button.button:hover::after,
  .imp-card__btn:hover::after {
    animation: imp-sheen 850ms cubic-bezier(0.22, 0.61, 0.36, 1) 1;
  }

  .woocommerce a.button:hover,
  .woocommerce button.button:hover {
    filter: brightness(0.93);
  }
}

@keyframes imp-sheen-idle {
  0%   { transform: translateX(-170%) skewX(-18deg); }
  17%  { transform: translateX(330%)  skewX(-18deg); }
  100% { transform: translateX(330%)  skewX(-18deg); }
}

.home .entry-content > .wp-block-cover:first-of-type .wp-block-button:first-child .wp-block-button__link::after {
  animation: imp-sheen-idle 7s cubic-bezier(0.22, 0.61, 0.36, 1) 3.2s infinite;
}

/* --------------------------------------------------------------------------
   3. SECTION REVEALS (inner pages) -- JS-applied hidden state only, 2s
   failsafe; the front page keeps its own motion module.
   -------------------------------------------------------------------------- */
.imp-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.imp-reveal-in {
  animation: imp-reveal 650ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes imp-reveal {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   4. HERO ATMOSPHERE (front page)
   -------------------------------------------------------------------------- */
.home .entry-content > .wp-block-cover:first-of-type {
  overflow: hidden;
}

.home .entry-content > .wp-block-cover:first-of-type::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 214, 0.09), transparent);
  transform: translateX(-160%) skewX(-14deg);
  animation: imp-hero-light 12s cubic-bezier(0.33, 0, 0.2, 1) 4s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes imp-hero-light {
  0%   { transform: translateX(-160%) skewX(-14deg); }
  24%  { transform: translateX(460%)  skewX(-14deg); }
  100% { transform: translateX(460%)  skewX(-14deg); }
}

/* HERO DIAMOND FIELD -- built by impervora-lux.js section 3.

   Each particle is a span carrying the rise, wrapping an inline SVG gem that
   carries the sway. The gem is flat vector -- six facets, stroked facet lines,
   one specular sliver -- so there is no image request, no gradient to
   re-rasterise, and nothing per frame but a composited transform and opacity.

   No will-change anywhere: a running transform/opacity animation is promoted
   automatically, and forcing 20 permanent layers costs more than it saves.

   Golds are this layer's existing tokens -- #EAD9AE highlight over #C6A667
   champagne -- carried over from the previous particle gradient. */
.imp-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.imp-particles .imp-diamond {
  position: absolute;
  left: var(--l, 50%);
  bottom: calc(var(--s, 14px) * -1.6);
  width: var(--s, 14px);
  height: var(--s, 14px);
  opacity: 0;
  animation: imp-float var(--d, 16s) linear var(--dl, 0s) infinite;
}

.imp-particles .imp-diamond__gem {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(var(--r0, 0deg));
  animation: imp-gem-sway var(--sd, 7s) ease-in-out var(--dl, 0s) infinite;
}

/* Facets are flat fills at stepped alphas, not gradients: at 10-20px a
   gradient reads as mush, stepped alphas read as cut faces. Crown-right and
   pavilion-right take the gold tint so the warm reflection sits on one side
   of the stone rather than washing the whole gem. */
.imp-diamond__gem .imp-f--table   { fill: rgba(255, 255, 255, 0.85); }
.imp-diamond__gem .imp-f--crown-l { fill: rgba(255, 255, 255, 0.58); }
.imp-diamond__gem .imp-f--crown-r { fill: rgba(234, 217, 174, 0.78); }
.imp-diamond__gem .imp-f--pav-l   { fill: rgba(255, 255, 255, 0.66); }
.imp-diamond__gem .imp-f--pav-c   { fill: rgba(255, 255, 255, 0.36); }
.imp-diamond__gem .imp-f--pav-r   { fill: rgba(198, 166, 103, 0.62); }
.imp-diamond__gem .imp-f--glint   { fill: rgba(255, 255, 255, 0.95); }

.imp-diamond__gem .imp-f--lines {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 0.7;
  stroke-linecap: round;
}

.imp-diamond__gem .imp-f--edge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1;
  stroke-linejoin: round;
}

/* Rise + twinkle. The transform pair at 0%/100% is what the intermediate
   opacity-only stops interpolate through, so the drift stays perfectly linear
   while the stone flickers. */
@keyframes imp-float {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  8%   { opacity: var(--o, 0.4); }
  26%  { opacity: calc(var(--o, 0.4) * 0.5); }
  44%  { opacity: var(--o, 0.4); }
  62%  { opacity: calc(var(--o, 0.4) * 0.62); }
  80%  { opacity: var(--o, 0.4); }
  100% { transform: translate3d(var(--x, 20px), -88vh, 0); opacity: 0; }
}

/* Sway, not tumble: every stone stays within a few degrees of upright so it
   never stops reading as a diamond. */
@keyframes imp-gem-sway {
  0%,
  100% { transform: rotate(var(--r0, 0deg)); }
  50%  { transform: rotate(var(--r1, 12deg)); }
}

/* Hidden tab: stop the field outright rather than let 20 compositor
   animations tick behind a background tab. */
.imp-particles--paused .imp-diamond,
.imp-particles--paused .imp-diamond__gem {
  animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   5. LUXURY PAGE TRANSITION
   -------------------------------------------------------------------------- */
html.imp-leaving body {
  opacity: 0;
  transition: opacity 140ms ease;
}

/* --------------------------------------------------------------------------
   6. FEATURED JEWELRY CAROUSEL (injected beneath the hero by
   impervora-lux-global.php; CSS scroll-snap, JS only for the arrows)
   -------------------------------------------------------------------------- */
.impervora-featured {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 0;
}

.impervora-featured__eyebrow {
  text-align: center;
  color: #C6A667;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.impervora-featured__heading {
  text-align: center;
  color: #0E0E0E;
  font-size: clamp(1.75rem, 4.2vw, 2.375rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0 0 40px;
}

.imp-carousel {
  position: relative;
}

.imp-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px 26px;
}

.imp-carousel__track::-webkit-scrollbar { display: none; }

.imp-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(14, 14, 14, 0.07);
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 18px;
  transition:
    transform  0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Gold border draws in as a ring so the card never changes geometry. */
.imp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(198, 166, 103, 0);
  transition: box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

@media (hover: hover) {
  .imp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(14, 14, 14, 0.14);
  }

  .imp-card:hover::after {
    box-shadow: inset 0 0 0 1px rgba(198, 166, 103, 0.85);
  }
}

.imp-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #F4F2EF;
}

.imp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  .imp-card:hover .imp-card__media img {
    transform: scale(1.06);
  }
}

/* Quick-view / wishlist -- placeholders wired for the future integrations. */
.imp-card__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.imp-card:hover .imp-card__actions,
.imp-card:focus-within .imp-card__actions {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .imp-card__actions { opacity: 1; transform: none; }
}

.imp-card__action {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 14, 14, 0.1);
  border-radius: 50%;
  color: #0E0E0E;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.imp-card__action:hover {
  border-color: #C6A667;
  color: #B08F4E;
  transform: translateY(-2px);
}

.imp-card__action svg {
  width: 16px;
  height: 16px;
  display: block;
}

.imp-card__wish[aria-pressed="true"] {
  color: #B08F4E;
  border-color: #C6A667;
}

.imp-card__wish[aria-pressed="true"] svg {
  fill: currentColor;
}

.imp-card__eyebrow {
  margin: 16px 16px 2px;
  color: #C6A667;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.imp-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 12px 16px 2px;
  line-height: 1.3;
}

.imp-card--ph .imp-card__title { margin-top: 4px; }

.imp-card__title a {
  color: #0E0E0E;
  text-decoration: none;
}

.imp-card__title a:hover { color: #B08F4E; }

.imp-card__price {
  display: block;
  margin: 0 16px;
  color: #C6A667;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.imp-card__btn {
  display: inline-block;
  margin: 14px 16px 0;
  background: #C6A667;
  color: #0E0E0E;
  border: 1px solid #C6A667;
  border-radius: 0;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 26px;
  transition:
    background-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color     0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    color            0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform        0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.imp-card__btn:hover {
  background: #B08F4E;
  border-color: #B08F4E;
  color: #0E0E0E;
  transform: translateY(-2px);
}

.imp-card__btn--ghost {
  background: transparent;
  color: #0E0E0E;
  border-color: rgba(198, 166, 103, 0.7);
}

.imp-card__btn--ghost:hover {
  background: rgba(198, 166, 103, 0.1);
  color: #0E0E0E;
}

/* Placeholder cards read as an editorial preview, not a broken shop. */
.imp-card--ph .imp-card__media img {
  filter: saturate(0.85) brightness(0.94);
}

.imp-carousel__nav {
  position: absolute;
  top: 130px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(14, 14, 14, 0.12);
  border-radius: 50%;
  color: #0E0E0E;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 14, 14, 0.1);
  transition: border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.imp-carousel__nav:hover {
  border-color: #C6A667;
  color: #B08F4E;
}

.imp-carousel__nav svg { width: 18px; height: 18px; display: block; }

.imp-carousel__nav--prev { left: -10px; }
.imp-carousel__nav--next { right: -10px; }

.imp-carousel__nav[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

.imp-carousel--static .imp-carousel__nav { display: none; }

@media (max-width: 781px) {
  .impervora-featured { padding-top: 48px; }
  .imp-card { flex-basis: 74vw; }
  .imp-carousel__nav { display: none; } /* touch swipes the track */
}

/* --------------------------------------------------------------------------
   7. EDITORIAL SECTIONS
   -------------------------------------------------------------------------- */
.impervora-experience h3 {
  position: relative;
  padding-bottom: 16px;
}

.impervora-experience h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: var(--imp-gold, #C6A667);
  transform: translateX(-50%);
}

.impervora-experience p {
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

/* Why IMPERVORA -- unified with the Experience section's editorial voice:
   serif ink headings over a short gold rule (overrides the inline gold
   sans-style set in the block markup). */
.impervora-why .wp-block-column {
  padding: 0 12px;
}

.impervora-why h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  color: #0E0E0E !important;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.impervora-why h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: var(--imp-gold, #C6A667);
  transform: translateX(-50%);
}

.impervora-why p {
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

ul.impervora-assurance {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  max-width: 1080px;
}

ul.impervora-assurance li {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--imp-charcoal, #3A3A3A);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

ul.impervora-assurance li::before {
  content: "\2713";
  color: var(--imp-gold, #C6A667);
  font-size: 14px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   8. NEWSLETTER -- editorial two-column band (Tiffany-style): imagery left,
   vertically-centred content right. Markup from impervora-lux-global.php;
   the image is swappable via the impervora_insider_image_id option/filter.
   -------------------------------------------------------------------------- */
.impervora-newsletter {
  background-color: #0E0E0E;
  background-image: radial-gradient(900px 340px at 72% -80px, rgba(198, 166, 103, 0.15), transparent 65%);
  padding: 64px 24px;
}

.impervora-newsletter__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.impervora-newsletter__media {
  margin: 0;
  border-radius: var(--imp-radius, 6px); /* image card -- rounding allowed */
  overflow: hidden;
  transform: translateZ(0);
}

.impervora-newsletter__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  .impervora-newsletter__media:hover img {
    transform: scale(1.04);
  }
}

.impervora-newsletter__content {
  text-align: left;
}

.impervora-newsletter__eyebrow {
  /* Brand-name text — carries the brand gold, not the systemic champagne. */
  color: #C8A35A;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.impervora-newsletter__title {
  color: #FFFFFF;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.impervora-newsletter__sub {
  color: var(--imp-warm-grey, #D8D5D0);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 46ch;
}

.impervora-newsletter__privacy {
  color: rgba(216, 213, 208, 0.65);
  font-size: 13px;
  margin: 18px 0 0;
}

.impervora-newsletter__privacy a {
  color: var(--imp-gold, #C6A667);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Insider form (Klaviyo edition): stacked fields with identical widths and
   spacing; same visual language the Reach form carried. */
.impervora-insider-form {
  max-width: 440px;
  margin: 0;
}

.impervora-insider-form__field {
  width: 100%;
  margin: 0 0 16px;
  text-align: left;
}

.impervora-insider-form__field label {
  display: block;
  color: var(--imp-warm-grey, #D8D5D0);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.impervora-insider-form__field label .required {
  color: var(--imp-gold, #C6A667);
}

.impervora-insider-form__field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 166, 103, 0.45);
  border-radius: 0;
  color: #FFFFFF;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.impervora-insider-form__field input:focus {
  border-color: var(--imp-gold, #C6A667);
  box-shadow: 0 0 0 1px var(--imp-gold, #C6A667);
  outline: none;
}

/* Honeypot: removed from sight, pointer and tab order; bots still see it. */
.imp-hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.impervora-insider-form__submit {
  width: 100%;
  background: var(--imp-gold, #C6A667);
  color: var(--imp-ink, #0E0E0E);
  border: 1px solid var(--imp-gold, #C6A667);
  border-radius: 0;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 34px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
}

.impervora-insider-form__submit:hover:not([disabled]) {
  background: #B08F4E;
  border-color: #B08F4E;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(198, 166, 103, 0.28);
}

.impervora-insider-form__submit[disabled] {
  opacity: 0.65;
  cursor: default;
}

/* Async result message. Success copy carries \n breaks: pre-line renders
   them, ::first-line turns "WELCOME TO THE INNER CIRCLE" into the gold
   headline. */
.imp-nl-message {
  margin-top: 18px;
  color: var(--imp-warm-grey, #D8D5D0);
  white-space: pre-line;
  line-height: 1.7;
  text-align: left;
}

.imp-nl-message.is-success::first-line {
  color: #C8A35A;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.imp-nl-message.is-error {
  color: #DEB8AC;
}
@media (max-width: 920px) {
  .impervora-newsletter { padding: 56px 20px; }

  .impervora-newsletter__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .impervora-newsletter__media img {
    aspect-ratio: 4 / 3;
  }

  .impervora-insider-form {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   9. PRODUCT CARDS (shop / archive loops)
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product {
  background: #FFFFFF;
  border: 1px solid rgba(14, 14, 14, 0.07);
  border-radius: var(--imp-radius, 6px);
  overflow: hidden;
  padding-bottom: 22px;
  transition:
    transform    0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow   0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  .woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(14, 14, 14, 0.14);
    border-color: rgba(198, 166, 103, 0.65);
  }
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
  overflow: hidden;
}

.woocommerce ul.products li.product img {
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  .woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
  }
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--imp-ink, #0E0E0E);
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
  padding: 14px 18px 0;
}

.woocommerce ul.products li.product .price {
  color: var(--imp-gold, #C6A667);
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.06em;
}

.woocommerce .star-rating,
.woocommerce p.stars a {
  color: var(--imp-gold, #C6A667);
}

/* --------------------------------------------------------------------------
   10. SINGLE PRODUCT
   -------------------------------------------------------------------------- */
.single-product .product_title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  letter-spacing: 0.01em;
}

.single-product .summary .price {
  color: var(--imp-gold, #C6A667);
  font-family: 'Jost', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
  border: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  opacity: 0.75;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  border-color: var(--imp-gold, #C6A667);
  opacity: 1;
}

.impervora-pdp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(198, 166, 103, 0.35);
}

.impervora-pdp-trust span {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--imp-charcoal, #3A3A3A);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.impervora-pdp-trust span::before {
  content: "\2713";
  color: var(--imp-gold, #C6A667);
}

.imp-accordion ul.tabs { display: none !important; }

.imp-accordion .woocommerce-Tabs-panel {
  display: block !important;
  animation: imp-reveal 400ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.imp-accordion .woocommerce-Tabs-panel[hidden] { display: none !important; }

.imp-acc-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid rgba(14, 14, 14, 0.12);
  border-radius: 0;
  padding: 18px 4px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--imp-ink, #0E0E0E);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.imp-acc-toggle::after {
  content: "+";
  color: var(--imp-gold, #C6A667);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.imp-acc-toggle[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.impervora-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 997;
  background: rgba(14, 14, 14, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(198, 166, 103, 0.4);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
}

.impervora-sticky-atc.is-visible { transform: translateY(0); }

.impervora-sticky-atc__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.impervora-sticky-atc__inner img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
}

.impervora-sticky-atc__title {
  color: #FFFFFF;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.impervora-sticky-atc__price {
  color: var(--imp-gold, #C6A667);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.imp-satc-btn {
  background: var(--imp-gold, #C6A667);
  color: var(--imp-ink, #0E0E0E);
  border: 0;
  border-radius: 0;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 26px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.imp-satc-btn:hover { background: #B08F4E; }

@media (max-width: 600px) {
  .impervora-sticky-atc__price { display: none; }
}

.impervora-recently-viewed {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.impervora-rv-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.impervora-rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.impervora-rv-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(14, 14, 14, 0.07);
  border-radius: var(--imp-radius, 6px);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.impervora-rv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(14, 14, 14, 0.12);
  border-color: rgba(198, 166, 103, 0.6);
}

.impervora-rv-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.impervora-rv-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--imp-ink, #0E0E0E);
  padding: 12px 14px 2px;
}

.impervora-rv-price {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--imp-gold, #C6A667);
  padding: 0 14px 14px;
}

/* --------------------------------------------------------------------------
   11. VIP CLUB -- refined pass: stronger hierarchy, luxury iconography.
   Square frame on purpose: rounding is for image cards only.
   -------------------------------------------------------------------------- */
.impervora-vip {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: 1px solid rgba(198, 166, 103, 0.55);
  transition: box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.impervora-vip:hover {
  box-shadow: 0 22px 54px rgba(198, 166, 103, 0.16);
}

.impervora-vip::before {
  content: "\2666";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  padding: 0 16px;
  color: var(--imp-gold, #C6A667);
  font-size: 15px;
  line-height: 1.4;
}

/* Hierarchy: the membership headline outranks section headings slightly. */
.impervora-vip h2 {
  font-size: clamp(2rem, 3.6vw, 2.625rem) !important;
  letter-spacing: 0.12em !important;
}

ul.impervora-vip-benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

ul.impervora-vip-benefits li {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--imp-charcoal, #3A3A3A);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

ul.impervora-vip-benefits li::before {
  content: "\2666";
  color: var(--imp-gold, #C6A667);
  font-size: 9px;
}

/* Subtle luxury iconography: one gold line-icon per privilege, painted with
   CSS masks so no icon font or image requests are added. Browsers without
   mask support keep the gold diamond bullets above. */
@supports (mask-repeat: no-repeat) or (-webkit-mask-repeat: no-repeat) {
  ul.impervora-vip-benefits li::before {
    content: "";
    width: 19px;
    height: 19px;
    flex: none;
    background: var(--imp-gold, #C6A667);
    -webkit-mask: var(--imp-icon) center / contain no-repeat;
    mask: var(--imp-icon) center / contain no-repeat;
  }

  /* Early access -- clock */
  ul.impervora-vip-benefits li:nth-child(1) {
    --imp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
  }

  /* Private invitations to limited releases -- lock */
  ul.impervora-vip-benefits li:nth-child(2) {
    --imp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='6' y='11' width='12' height='9'/%3E%3Cpath d='M9 11V8a3 3 0 016 0v3'/%3E%3C/svg%3E");
  }

  /* Insider-only offers -- tag */
  ul.impervora-vip-benefits li:nth-child(3) {
    --imp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 12l9-9h9v9l-9 9z'/%3E%3Ccircle cx='16.5' cy='7.5' r='1.6'/%3E%3C/svg%3E");
  }

  /* Birthday rewards -- gift */
  ul.impervora-vip-benefits li:nth-child(4) {
    --imp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='4' y='11' width='16' height='9'/%3E%3Cpath d='M4 11h16M12 8v12M12 8c-3 1-6-1-5-3s4-1 5 3zm0 0c3 1 6-1 5-3s-4-1-5 3z'/%3E%3C/svg%3E");
  }

  /* Gift guides -- sparkle */
  ul.impervora-vip-benefits li:nth-child(5) {
    --imp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 3l2.2 6.8L21 12l-6.8 2.2L12 21l-2.2-6.8L3 12l6.8-2.2z'/%3E%3C/svg%3E");
  }
}

@media (max-width: 600px) {
  .impervora-vip {
    margin-left: 16px;
    margin-right: 16px;
  }

  ul.impervora-vip-benefits {
    align-items: flex-start;
    max-width: 300px;
  }

  ul.impervora-vip-benefits li {
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   12. CATEGORY TILE LEGIBILITY -- soft shadow behind the labels so white
   serif type holds against bright image areas. Hover motion stays solely in
   impervora.css (single source of truth).
   -------------------------------------------------------------------------- */
.impervora-cat-tile h3,
.impervora-cat-tile h4 {
  text-shadow: 0 1px 18px rgba(14, 14, 14, 0.55);
}

/* --------------------------------------------------------------------------
   13. FOOTER -- widget structure untouched; spacing, balance and gold
   hover transitions only. Decorative IMPERVORA instances use the brand
   gold #C8A35A.
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(198, 166, 103, 0.4);
}

.site-footer .site-primary-footer-wrap {
  padding-top: 56px;
  padding-bottom: 36px;
}

.site-footer .footer-widget-area h3 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.site-footer .footer-widget-area h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--imp-gold, #C6A667);
}

/* The brand wordmark heading in the first widget column. */
.site-footer #block-100 h3 {
  color: #C8A35A;
}

.site-footer .footer-widget-area p {
  line-height: 1.7;
  margin-bottom: 14px;
}

.site-footer .footer-widget-area ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-widget-area ul li {
  margin-bottom: 9px;
}

.site-footer .footer-widget-area a,
.impervora-footer-nav a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.3s ease;
}

.site-footer .footer-widget-area a:hover,
.impervora-footer-nav a:hover {
  color: var(--imp-gold, #C6A667);
  background-size: 100% 1px;
}

/* Copyright: brand link carries the decorative gold. */
.site-footer .ast-footer-copyright a[href*="impervora.com"] {
  color: #C8A35A;
}

@media (max-width: 921px) {
  .site-footer .site-primary-footer-wrap {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  .site-footer .site-footer-section {
    padding-bottom: 22px;
  }
}

.impervora-trust {
  text-align: center;
  padding: 34px 20px 6px;
}

.impervora-trust__signals {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
}

.impervora-trust__signals li {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--imp-charcoal, #3A3A3A);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.impervora-trust__signals li::before {
  content: "\2713";
  color: var(--imp-gold, #C6A667);
}

.impervora-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}

.impervora-footer-menu li { margin: 0; }

.impervora-footer-menu a {
  font-size: 13px;
  color: var(--imp-charcoal-2, #4A4A4A);
}

.impervora-trust__note {
  color: #7a7772;
  font-size: 12.5px;
  max-width: 62ch;
  margin: 10px auto 0;
}

/* --------------------------------------------------------------------------
   14. MOBILE PASS -- intentional mobile design, not just stacking.
   The editorial splits carry authored min-height:620px inline; stacked on a
   phone that is two full screens of panel, so text panels collapse to their
   content and image panels hold a 340px editorial crop. (:has() is the
   detector; browsers without it keep the desktop heights -- acceptable.)
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
  .home .entry-content > .wp-block-columns.alignfull > .wp-block-column > .wp-block-cover:not(:has(.wp-block-cover__image-background)) {
    min-height: 0 !important;
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .home .entry-content > .wp-block-columns.alignfull > .wp-block-column > .wp-block-cover:has(.wp-block-cover__image-background) {
    min-height: 340px !important;
  }

  /* Full-width bands (Watches): trim the authored 90px padding. */
  .home .entry-content > .wp-block-cover.alignfull:not(:first-of-type) {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .impervora-experience,
  .home .entry-content > .wp-block-group.alignfull {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .impervora-vip {
    padding: 44px 22px !important;
    margin-bottom: 56px !important;
  }
}

/* --------------------------------------------------------------------------
   14b. LAUNCH POLISH -- confirmed issues from the 2026-07-22 creative audit.
   -------------------------------------------------------------------------- */

/* Brand-gold system (owner directive 2026-07-22, consistency pass): every
   IMPERVORA instance carries the ONE brand gold #C8A35A. Display instances
   get a metallic gradient finish (solid #C8A35A fallback below and for
   non-supporting browsers); prose instances (.imp-brand-word, applied by the
   sandbox module's the_content filter on editorial pages) stay solid +
   600 weight for small-size readability. #C8A35A on ink/black clears
   contrast (~8.2:1); on white it is a deliberate owner-directed logotype
   treatment (WCAG SC 1.4.3 brand-name exemption). Content-embedded
   instances use Gutenberg's has-inline-color mark format so they survive
   editor round-trips — the attribute selectors lift those (and the
   inline-colored hero h1 / eyebrow labels) into the same metallic finish. */
.imp-brand-gold,
.imp-brand-word {
  color: #C8A35A;
}

.imp-brand-word {
  /* Tracking inherits from context — a fixed value would clash inside
     letter-spaced labels. */
  font-weight: 600;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .imp-brand-gold,
  .site-title a,
  .site-footer #block-100 h3,
  .ast-footer-copyright a[href*="impervora.com"],
  .impervora-newsletter__eyebrow,
  mark.has-inline-color[style*="c8a35a" i],
  h1[style*="c8a35a" i],
  p[style*="c8a35a" i] {
    background-image: linear-gradient(168deg, #E6CD8C 6%, #C8A35A 38%, #A8823D 64%, #D6B76F 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #C8A35A; /* painted wherever clip is unsupported */
  }

  /* Keep the darken-on-hover directive visible through clipped text — a
     color change cannot show while -webkit-text-fill-color is transparent. */
  .site-title a:hover,
  .site-title a:focus,
  .site-footer .ast-footer-copyright a[href*="impervora.com"]:hover {
    filter: brightness(0.85);
  }
}

/* Category grid rhythm. The Customizer's section-padding rule
   (.entry-content > .wp-block-columns { padding: 90px 0 }) is right for true
   sections but also hit the three tile rows (~200px voids between rows), the
   Sale banner (90px of dead air inside a 200px banner) and the Why columns
   (122px heading-to-content gap). These higher-specificity resets restore
   jewel-case tightness; the 20px spacers between rows carry the rhythm.
   Customizer CSS prints later but loses on specificity: (0,3,0) > (0,2,0). */
.entry-content > .wp-block-columns:has(.impervora-cat-tile),
.entry-content > .wp-block-columns.impervora-why {
  padding-top: 0;
  padding-bottom: 0;
}

.entry-content > .wp-block-cover.impervora-cat-tile {
  padding-top: 0;
  padding-bottom: 0;
}

/* Breadcrumbs -- were rendering as an unstyled paragraph on every inner
   page: the most visibly generic element on the site. Quiet Jost small-caps
   with gold separators. */
.impervora-breadcrumbs {
  margin: 10px 0 26px;
}

.impervora-breadcrumbs p {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A7772;
  max-width: none;
}

.impervora-breadcrumbs a {
  color: var(--imp-charcoal-2, #4A4A4A);
  text-decoration: none;
  transition: color 0.3s ease;
}

.impervora-breadcrumbs a:hover {
  color: var(--imp-gold, #C6A667);
}

.impervora-breadcrumbs .separator {
  color: var(--imp-gold, #C6A667);
  padding: 0 4px;
}

.impervora-breadcrumbs .last {
  color: #7A7772;
}

/* Inner page titles: editorial weight and a short gold rule, so policy and
   service pages carry the same voice as the homepage sections. */
body.page:not(.home) .entry-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

body.page:not(.home) .entry-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1px;
  background: var(--imp-gold, #C6A667);
}

/* Card shadow consistency: every card type lifts with the same shadow token
   the category tiles already use. */
@media (hover: hover) {
  .imp-card:hover,
  .impervora-rv-card:hover,
  .woocommerce ul.products li.product:hover {
    box-shadow: var(--imp-shadow-lift, 0 18px 44px rgba(14, 14, 14, 0.2));
  }
}

/* --------------------------------------------------------------------------
   15. REDUCED MOTION -- targeted guards for JS-injected elements.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .imp-particles { display: none; }
  .imp-reveal-pending { opacity: 1; transform: none; }
  .home .entry-content > .wp-block-cover:first-of-type::after { animation: none; }
  html.imp-leaving body { opacity: 1; }
  .impervora-sticky-atc { transition: none; }
  .imp-carousel__track { scroll-behavior: auto; }
}
