/*
Theme Name: Pulse Luxe
Theme URI: https://github.com/Pulse-PEMF/Shop
Description: Astra child theme carrying the Pulse PEMF luxury design system — Cormorant Garamond / Jost, ink & gold.
Author: Pulse PEMF IT
Template: astra
Version: 0.5.12
*/

/* ============ Fonts (self-hosted, variable) ============ */
@font-face{
  font-family:'Cormorant Garamond';
  src:url('fonts/cormorant.woff2') format('woff2');
  font-weight:300 500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Cormorant Garamond';
  src:url('fonts/cormorant-italic.woff2') format('woff2');
  font-weight:400; font-style:italic; font-display:swap;
}
@font-face{
  font-family:'Jost';
  src:url('fonts/jost.woff2') format('woff2');
  font-weight:300 500; font-style:normal; font-display:swap;
}

/* ============ Tokens (canonical luxury system) ============ */
:root{
  --ink:#0f0f11;
  --ink-2:#151518;
  --ivory:#f1ece2;
  --ivory-60:rgba(241,236,226,.64);
  --ivory-40:rgba(241,236,226,.42);
  --gold:#c2a15e;
  --gold-soft:rgba(194,161,94,.55);
  --hairline:rgba(241,236,226,.16);
  --hairline-ink:rgba(15,15,17,.16);
  --serif:'Cormorant Garamond', 'Times New Roman', serif;
  --sans:'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --pad:clamp(1.4rem, 5vw, 5rem);
}

/* ============ Global typography (skeleton scope: fonts only, no color shift) ============ */
body, button, input, select, textarea{
  font-family:var(--sans);
}
body{
  font-weight:300;
  -webkit-font-smoothing:antialiased;
}
h1, h2, .entry-title{
  font-family:var(--serif);
  font-weight:300;
  line-height:1.08;
  letter-spacing:.005em;
}
em{font-style:italic;font-weight:400}
::selection{background:var(--gold);color:var(--ink)}

/* ============================================================
   Commerce dress — DARK. The store wears the same ink/gold/ivory
   system as the landing (Logan 2026-07-13: the light/tan variant
   was jarring). White survives only behind product photography.
   Cosmetic only: no layout/display changes to the builder flow.
   ============================================================ */
body:not(.luxe-landing){background:var(--ink);color:var(--ivory-60)}

/* Astra palette accent pair — Astra's raw palette is YELLOW (#fbd84b/#ffe682);
   many Astra rules + pulse-checkout-workflow inline styles reference these vars */
:root{
  --ast-global-color-0:#c2a15e;
  --ast-global-color-1:#c2a15e;
}

/* ---- buttons: canonical dark luxe hairline, gold fill on hover ---- */
.woocommerce a.button:not(.show-password-input),
.woocommerce button.button:not(.show-password-input),
.woocommerce input.button:not(.show-password-input),
.woocommerce #respond input#submit,
.woocommerce button#place_order,
.ast-button:not(.show-password-input),
.ast-custom-button,
.wp-block-button__link{
  font-family:var(--sans);
  font-weight:400;
  font-size:.8rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  background:transparent;
  color:var(--ivory);
  border:1px solid var(--gold-soft);
  border-radius:0;
  padding:.85rem 1.6rem;
  transition:background .45s ease, color .45s ease, border-color .45s ease;
}
.woocommerce a.button:not(.show-password-input):hover,
.woocommerce button.button:not(.show-password-input):hover,
.woocommerce input.button:not(.show-password-input):hover,
.woocommerce #respond input#submit:hover,
.woocommerce button#place_order:hover,
.ast-button:not(.show-password-input):hover,
.ast-custom-button:hover,
.wp-block-button__link:hover{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--ink);
}

/* ---- store notice ---- */
body p.woocommerce-store-notice, body p.demo_store{
  background-color:var(--ink-2);color:var(--ivory-60);border-bottom:1px solid var(--hairline);
}
body p.woocommerce-store-notice a, body p.demo_store a{color:var(--gold);background:transparent}

/* ---- Astra separate-container content boxes → let the ink through.
   NB: ast-separate-container sits ON body, not below it. ---- */
body.ast-separate-container:not(.luxe-landing) .ast-article-inner,
body.ast-separate-container:not(.luxe-landing) .ast-article-single:not(.ast-related-post),
body.ast-separate-container:not(.luxe-landing) .ast-article-post,
body.ast-separate-container:not(.luxe-landing) .ast-woocommerce-container{background-color:transparent;background-image:none}

/* ---- header: ink bar + luxe wordmark (the black IT-dept logo png is
   invisible on ink and off-brand — swap for the landing wordmark) ---- */
.site-header, .ast-header-sticked, .main-header-bar{background:var(--ink)}
body:not(.luxe-landing) .site-header{border-bottom:1px solid var(--hairline)}
body:not(.luxe-landing) .custom-logo-link img{display:none}
body:not(.luxe-landing) .custom-logo-link::before{
  content:"Pulse";
  font-family:var(--sans);font-weight:500;font-size:.95rem;
  letter-spacing:.58em;text-transform:uppercase;color:var(--ivory);
}
body:not(.luxe-landing) .custom-logo-link::after{content:".";color:var(--gold);font-size:.95rem;font-weight:500}
body:not(.luxe-landing) .site-header a,
body:not(.luxe-landing) .site-header .ast-header-account-wrap{color:var(--ivory)}
body:not(.luxe-landing) .site-header svg{fill:var(--ivory)}
/* Account icon — the blanket .site-header svg{fill} misses the logged-in
   account glyph (own color / stroke-based outline), so pin it on every paint
   property. fill==stroke==ivory means no outline artifact whichever it is. */
body:not(.luxe-landing) .ast-header-account-wrap,
body:not(.luxe-landing) .ast-header-account-wrap a,
body:not(.luxe-landing) .ast-header-account-wrap svg,
body:not(.luxe-landing) .ast-header-account-wrap svg *{
  color:var(--ivory) !important;fill:var(--ivory) !important;stroke:var(--ivory) !important;
}

/* ---- footer ---- */
body:not(.luxe-landing) .site-footer,
body:not(.luxe-landing) .site-footer .ast-builder-grid-row{background:var(--ink)}
body:not(.luxe-landing) .site-footer{
  border-top:1px solid var(--hairline);
  font-size:.74rem;letter-spacing:.28em;text-transform:uppercase;color:var(--ivory-40);
}

/* ---- links & headings ---- */
body:not(.luxe-landing) a{color:var(--ivory)}
body:not(.luxe-landing) a:hover{color:var(--gold)}
body:not(.luxe-landing) h1, body:not(.luxe-landing) h2,
body:not(.luxe-landing) h3, body:not(.luxe-landing) h4,
body:not(.luxe-landing) h5, body:not(.luxe-landing) h6{color:var(--ivory)}

/* ---- Woo product loops (archive + pulse_shop embedded loops) ----
   photos keep white (product shots are white-background), framed by hairline */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--serif);font-weight:400;font-size:1.3rem;color:var(--ivory);line-height:1.2;
}
.woocommerce ul.products li.product .price{
  font-family:var(--serif);font-weight:400;color:var(--ivory-60);font-size:1.1rem;
}
/* Product imagery — white tile with a soft-gold accent frame, everywhere a
   product photo shows as a bordered tile (loop, single-product gallery, cart,
   checkout review). Cart thumbnails had no background, so transparent-PNG
   machine shots let the dark theme bleed through — the white tile fixes that
   and the gold hairline keeps the luxe theming. (2026-07-15) */
.woocommerce ul.products li.product img,
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce table.cart img,
.woocommerce table.cart td.product-thumbnail img,
.woocommerce-checkout-review-order td.product-thumbnail img{
  background:#fff;
  border:1px solid var(--gold-soft);
}
.woocommerce ul.products li.product:hover img{border-color:var(--gold)}

/* ---- pulse_shop builder chrome (body-prefixed: plugin sheet loads after this one) ---- */
body .pulse-hero-card{
  border:1px solid var(--hairline);border-radius:0;background:transparent;
  transition:border-color .45s ease, background .45s ease;
}
body .pulse-hero-card:hover{transform:none;box-shadow:none}
body .pulse-hero-build:hover, body .pulse-hero-build.active,
body .pulse-hero-packages:hover, body .pulse-hero-packages.active{
  background:rgba(194,161,94,.08);
  border-color:var(--gold-soft);
}
body .pulse-hero-card h2{font-family:var(--serif);font-weight:300;color:var(--ivory)}
body .pulse-hero-card p{color:var(--ivory-40)}
body .pulse-section-title, body .pulse-step-title{
  font-family:var(--serif);font-weight:300;color:var(--ivory);
  border-bottom:1px solid var(--hairline);
}
body .pulse-section-subtitle, body .pulse-step-subtitle{color:var(--ivory-40);font-size:.95rem}
body .pulse-step-number{
  background:transparent;border:1px solid var(--gold-soft);color:var(--gold);
}
body .pulse-sticky-header, body .pulse-sticky-footer{background:var(--ink);border-color:var(--hairline)}
body .pulse-tab{
  background:transparent;border:1px solid var(--hairline);color:var(--ivory-60);
  font-family:var(--sans);font-weight:400;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;
  transition:border-color .45s ease, color .45s ease;
}
body .pulse-tab:hover{border-color:var(--gold-soft);color:var(--ivory)}
body .pulse-tab.active{background:transparent;border-color:var(--gold);color:var(--gold)}
body .pulse-nav-btn.primary, body .pulse-nav-btn.checkout,
body .pulse-nav-btn.secondary{
  background:transparent;color:var(--ivory);border:1px solid var(--gold-soft);border-radius:0;
  font-family:var(--sans);font-weight:400;letter-spacing:.18em;text-transform:uppercase;
}
body .pulse-nav-btn.secondary{border-color:var(--hairline);color:var(--ivory-60)}
body .pulse-nav-btn:hover{opacity:1;background:var(--gold);border-color:var(--gold);color:var(--ink)}
body .pulse-products .products .product, body .pulse-products ul.products li.product{background:transparent;border:none}
body .pulse-products ul.products li.product a.button,
body .pulse-products ul.products li.product a.add_to_cart_button,
body .pulse-products ul.products li.product a.product_type_variable,
body .pulse-products ul.products li.product a.product_type_grouped{
  background:transparent !important;
  color:var(--ivory) !important;
  border:1px solid var(--gold-soft) !important;
}
body .pulse-products ul.products li.product a.button:hover,
body .pulse-products ul.products li.product a.add_to_cart_button:hover,
body .pulse-products ul.products li.product a.product_type_variable:hover,
body .pulse-products ul.products li.product a.product_type_grouped:hover{
  background:var(--gold) !important;
  color:var(--ink) !important;
  border-color:var(--gold) !important;
}

/* ---- Woo notices ---- */
.woocommerce-message, .woocommerce-info, .woocommerce-error{
  background-color:var(--ink-2);
  border:1px solid var(--hairline);
  border-top:2px solid var(--gold);
  color:var(--ivory-60);
  outline:none;
}
.woocommerce-message::before, .woocommerce-info::before{color:var(--gold)}

/* ---- checkout-workflow inline-styled pills (no class; plugin prints style="")  ---- */
.woocommerce a[href*="resume=browse"]{
  background:transparent !important;
  color:var(--ivory) !important;
  border:1px solid var(--gold-soft) !important;
  border-radius:0 !important;
  padding:.85rem 1.6rem !important;
  font-size:.8rem !important;
  text-transform:uppercase !important;
  letter-spacing:.18em;
  font-family:var(--sans);
  transition:background .45s ease, color .45s ease;
}
.woocommerce a[href*="resume=browse"]:hover{
  background:var(--gold) !important;
  color:var(--ink) !important;
  border-color:var(--gold) !important;
}

/* ---- disabled buttons — visible but clearly inactive on ink ---- */
.woocommerce .woocommerce-cart-form button[name="update_cart"]:disabled,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled]{
  background:transparent;
  border:1px solid var(--hairline);
  color:var(--ivory-40);
}

/* ---- cart totals / cross-sells panel ---- */
.woocommerce-cart .cart-collaterals .cart_totals{
  background:var(--ink-2);
  border:1px solid var(--hairline);
}
.woocommerce-cart .cart-collaterals .cart_totals>h2,
.woocommerce-cart .cart-collaterals .cross-sells>h2{
  background-color:transparent;
  margin:0 0 20px;
  border-bottom:1px solid var(--hairline);
  font-family:var(--serif);
  font-weight:300;
  color:var(--ivory);
}

/* ---- forms & inputs — charcoal fields, ivory text ---- */
body:not(.luxe-landing) input[type="text"],
body:not(.luxe-landing) input[type="email"],
body:not(.luxe-landing) input[type="tel"],
body:not(.luxe-landing) input[type="password"],
body:not(.luxe-landing) input[type="number"],
body:not(.luxe-landing) input[type="search"],
body:not(.luxe-landing) textarea,
body:not(.luxe-landing) select{
  background:var(--ink-2);
  border:1px solid var(--hairline);
  border-radius:0;
  color:var(--ivory);
  font-family:var(--sans);
}
body:not(.luxe-landing) input::placeholder,
body:not(.luxe-landing) textarea::placeholder{color:var(--ivory-40)}
body:not(.luxe-landing) .woocommerce form .form-row label{color:var(--ivory-40)}
/* select2 (country/state dropdowns) */
body:not(.luxe-landing) .select2-container--default .select2-selection--single{
  background:var(--ink-2);border:1px solid var(--hairline);border-radius:0;
}
body:not(.luxe-landing) .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ivory)}
.select2-dropdown{background:var(--ink-2);border:1px solid var(--hairline);color:var(--ivory)}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--gold);color:var(--ink)}
.select2-container--default .select2-search--dropdown .select2-search__field{background:var(--ink);border:1px solid var(--hairline);color:var(--ivory)}

/* ---- tables (cart, order review) ---- */
.woocommerce table.shop_table{border:1px solid var(--hairline);border-radius:0;background:transparent}
.woocommerce table.shop_table th,
.woocommerce-js table.shop_table th,
.woocommerce-page table.shop_table th{
  font-weight:400;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ivory-40);
}
.woocommerce-js table.shop_table thead,
.woocommerce-page table.shop_table thead{background-color:transparent}
.woocommerce table.shop_table td, .woocommerce table.shop_table th{border-color:var(--hairline) !important}
.woocommerce table.shop_table td{color:var(--ivory-60);background:transparent}
.woocommerce table.shop_table .product-name a{font-family:var(--serif);font-size:1.05rem}
/* qty steppers */
body:not(.luxe-landing) .quantity .qty,
.woocommerce-js .quantity .qty,
.woocommerce table.shop_table .quantity .qty{background:var(--ink-2);border:1px solid var(--hairline);color:var(--ivory)}
body:not(.luxe-landing) .quantity .minus,
body:not(.luxe-landing) .quantity .plus,
.woocommerce-js .quantity .minus,
.woocommerce-js .quantity .plus{background:transparent;border:1px solid var(--hairline);color:var(--ivory-60)}

/* ---- checkout ---- */
.woocommerce-checkout h3,
.woocommerce-billing-fields>h3,
.woocommerce-additional-fields>h3,
#order_review_heading{font-family:var(--serif);font-weight:300;color:var(--ivory)}
body:not(.luxe-landing) .woocommerce-checkout #payment,
body:not(.luxe-landing) #order_review{background:var(--ink-2);border:1px solid var(--hairline)}
body:not(.luxe-landing) .woocommerce-checkout #payment .payment_box{background:transparent;color:var(--ivory-60)}
.woocommerce-privacy-policy-text, .woocommerce-privacy-policy-text p{color:var(--ivory-40)}

/* checkout-workflow Save Quote / Submit (plugin prints #id rules inline in body;
   button#id out-specifies without !important). Submit = the money button, gold. */
button#pulse-submit-purchase{
  background:var(--gold);color:var(--ink);border:1px solid var(--gold);border-radius:0;
  font-family:var(--sans);font-weight:400;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;
  transition:background .45s ease, color .45s ease;
}
button#pulse-submit-purchase:hover{background:transparent;color:var(--gold)}
button#pulse-save-quote{
  background:transparent;color:var(--ivory);border:1px solid var(--hairline);border-radius:0;
  font-family:var(--sans);font-weight:400;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;
  transition:background .45s ease, color .45s ease;
}
button#pulse-save-quote:hover{border-color:var(--gold);color:var(--gold)}

/* Astra form-row specificity beats element selectors for some fields */
.woocommerce form .form-row textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
body:not(.luxe-landing) #order_comments{
  background:var(--ink-2);border:1px solid var(--hairline);border-radius:0;color:var(--ivory);
}
/* plugin back-link is navy — unreadable on ink */
body .pulse-back-link{color:var(--ivory-60)}
body .pulse-back-link:hover{color:var(--gold)}
/* checkout-workflow prints inline navy links (style="color:#16435F") — catch them all */
body:not(.luxe-landing) a[style*="#16435F"]{color:var(--ivory-60) !important}
body:not(.luxe-landing) a[style*="#16435F"]:hover{color:var(--gold) !important}
/* Woo blockUI paints a WHITE overlay (inline style) during AJAX updates — ink it */
.blockUI.blockOverlay{background:var(--ink) !important}

/* ---- single product ---- */
.woocommerce div.product .product_title{color:var(--ivory)}
.woocommerce div.product p.price{font-family:var(--serif);font-size:1.7rem;color:var(--ivory)}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  font-family:var(--sans);font-weight:400;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ivory-60);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--gold)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{border-bottom-color:var(--gold)}
.woocommerce div.product .woocommerce-tabs ul.tabs{border-bottom:1px solid var(--hairline)}
/* Astra draws the active-tab strip with ::before (navy) */
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before{background:var(--gold) !important;border-color:var(--gold) !important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border-color:var(--hairline)}
/* tab panels — Astra pins dark text */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li,
.woocommerce div.product .woocommerce-tabs .panel td{color:var(--ivory-60)}
.woocommerce div.product .woocommerce-tabs .panel h2{color:var(--ivory)}
/* attributes table (Weight/Dimensions) — not a shop_table */
.woocommerce table.woocommerce-product-attributes,
.woocommerce table.shop_attributes{border:1px solid var(--hairline)}
.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.shop_attributes th{
  background:transparent;
  font-weight:400;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;
}
/* Labels forced to ivory with !important + descendant catch — same old-site
   inline #16435F blue was sitting on the th (or a child), which the plain
   th color rule couldn't override. (2026-07-15) */
.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.woocommerce-product-attributes th *,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes th *{color:var(--ivory) !important}
/* Values forced to theme ivory with !important — the Additional Information
   rows carried dark old-site inline colors (#16435F blue / #000) sitting on
   the td or a non-span element, which the div.product span[style] neutralizer
   below doesn't reach. This catches them regardless of element. (2026-07-15) */
.woocommerce table.woocommerce-product-attributes td,
.woocommerce table.woocommerce-product-attributes td *,
.woocommerce table.shop_attributes td,
.woocommerce table.shop_attributes td *{background:transparent;color:var(--ivory) !important}
.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.woocommerce-product-attributes td,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td{border-color:var(--hairline) !important}
/* Catalog content carries Google-Docs paste artifacts (inline color:#000000,
   Poppins, 10pt spans) — normalize every pasted span to the theme. Data cleanup
   is a separate post-launch item; this keeps catalog data untouched. */
.woocommerce div.product span[style],
.woocommerce div.product li[dir] span{
  color:inherit !important;
  font-family:inherit !important;
  font-size:inherit !important;
  background-color:transparent !important;
}

/* Back-to-Builder banner — classless inline-styled div from the plugin */
div[style*="position:fixed"][style*="background:#fff"]{
  background:var(--ink) !important;
  border-top:1px solid var(--hairline) !important;
}
div[style*="position:fixed"][style*="background:#fff"] span{color:var(--ivory-40) !important}
.pulse-product-cart-summary, .pulse-product-cart-summary *{color:var(--ivory-60) !important}
body:not(.luxe-landing) a[style*="background:#16435F"]{
  background:transparent !important;
  border:1px solid var(--gold-soft) !important;
  color:var(--ivory) !important;
  border-radius:0 !important;
  padding:.85rem 1.6rem !important;
  font-size:.8rem !important;
  font-weight:400 !important;
  letter-spacing:.18em;
  text-transform:uppercase;
}
body:not(.luxe-landing) a[style*="background:#16435F"]:hover{
  background:var(--gold) !important;
  border-color:var(--gold) !important;
  color:var(--ink) !important;
}
.woocommerce div.product .woocommerce-product-gallery img{border:1px solid var(--hairline);background:#fff}

/* ============================================================
   Luxe landing (template-luxe-landing.php) — scoped via CSS
   nesting under body.luxe-landing; source: luxury-landing/luxury
   ============================================================ */
@keyframes luxeHeroIn{to{transform:scale(1)}}
@keyframes luxeRise{to{opacity:1;transform:none}}
html:has(body.luxe-landing){scroll-behavior:smooth}

body.luxe-landing{
  & *{margin:0;padding:0;box-sizing:border-box}
  background:var(--ink);
  color:var(--ivory);
  font-family:var(--sans);
  font-weight:300;
  font-size:clamp(1.0625rem, 1rem + .25vw, 1.15rem);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;

  & img{display:block;max-width:100%}
  & a{color:inherit;text-decoration:none}

  /* ---- shared type ---- */
  & .eyebrow{
    font-family:var(--sans);font-weight:400;font-size:.78rem;
    letter-spacing:.42em;text-transform:uppercase;color:var(--gold);
  }
  & h1,& h2,& .display{
    font-family:var(--serif);font-weight:300;line-height:1.08;letter-spacing:.005em;
  }
  /* Astra dynamic CSS pins heading colors to its palette — landing headings must follow their section (dark/ivory) */
  & h1,& h2,& h3,& .display{color:inherit}
  & h1{font-size:clamp(2.9rem, 8.5vw, 6.4rem)}
  & h2{font-size:clamp(2.1rem, 4.6vw, 3.9rem)}
  & em{font-style:italic;font-weight:400}
  & .lede{color:var(--ivory-60);max-width:34em}

  & .section{padding:clamp(5.5rem, 12vh, 10rem) var(--pad)}
  & .container{max-width:1220px;margin:0 auto}
  & .section-head{display:flex;align-items:center;gap:1.6rem;margin-bottom:clamp(2.8rem, 6vh, 4.6rem)}
  & .section-head::after{content:'';flex:1;height:1px;background:var(--hairline)}
  & .light .section-head::after{background:var(--hairline-ink)}

  /* ---- buttons (dark-context luxe) ---- */
  & .btn{
    display:inline-block;font-family:var(--sans);font-weight:400;
    font-size:.8rem;letter-spacing:.32em;text-transform:uppercase;
    padding:1.05rem 2.6rem;border:1px solid var(--gold-soft);color:var(--ivory);
    transition:background .45s ease, color .45s ease, border-color .45s ease;
  }
  & .btn:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
  & .btn-ink{color:var(--ink);border-color:rgba(15,15,17,.4)}
  & .btn-ink:hover{background:var(--ink);border-color:var(--ink);color:var(--ivory)}
  & .text-link{
    font-size:.8rem;letter-spacing:.3em;text-transform:uppercase;font-weight:400;
    color:var(--ivory-60);border-bottom:1px solid var(--hairline);padding-bottom:.35rem;
    transition:color .4s ease, border-color .4s ease;
  }
  & .text-link:hover{color:var(--gold);border-color:var(--gold-soft)}

  /* ---- header ---- */
  & .luxe-header{
    position:fixed;inset:0 0 auto 0;z-index:50;
    display:flex;justify-content:space-between;align-items:center;
    padding:1.5rem var(--pad);
    transition:background .5s ease, padding .5s ease;
  }
  & .luxe-header.scrolled{
    background:linear-gradient(rgba(15,15,17,.92), rgba(15,15,17,.78));
    backdrop-filter:blur(10px);
    padding:1rem var(--pad);
    border-bottom:1px solid rgba(241,236,226,.07);
  }
  & .luxe-nav{display:flex;align-items:center;gap:2.2rem}
  & .wordmark{
    font-family:var(--sans);font-weight:500;font-size:.95rem;
    letter-spacing:.58em;text-transform:uppercase;color:var(--ivory);
  }
  & .wordmark span{color:var(--gold)}
  & .luxe-header .text-link{border-bottom-color:transparent}

  /* ---- hero ---- */
  & .hero{position:relative;height:100svh;min-height:640px;display:flex;align-items:flex-end;overflow:hidden}
  & .hero > img{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;
    transform:scale(1.07);animation:luxeHeroIn 3.2s cubic-bezier(.19,.65,.25,1) forwards;
  }
  & .hero::before{
    content:'';position:absolute;inset:0;z-index:1;
    background:
      linear-gradient(180deg, rgba(15,15,17,.55) 0%, rgba(15,15,17,0) 30%),
      linear-gradient(90deg, rgba(15,15,17,.6) 0%, rgba(15,15,17,.3) 38%, rgba(15,15,17,0) 62%),
      linear-gradient(0deg, rgba(15,15,17,.94) 0%, rgba(15,15,17,.25) 46%, rgba(15,15,17,0) 70%);
  }
  & .hero-content{position:relative;z-index:2;padding:0 var(--pad) clamp(4rem, 10vh, 7.5rem);max-width:1220px;margin:0 auto;width:100%}
  & .hero .eyebrow{display:block;margin-bottom:1.6rem;text-shadow:0 1px 18px rgba(15,15,17,.95),0 0 6px rgba(15,15,17,.8)}
  & .hero p.lede{margin:1.8rem 0 2.6rem}
  & .hero-actions{display:flex;align-items:center;gap:2.4rem;flex-wrap:wrap}
  & .hero-rule{
    position:absolute;right:var(--pad);bottom:clamp(4rem,10vh,7.5rem);z-index:2;
    font-size:.68rem;letter-spacing:.4em;text-transform:uppercase;color:var(--ivory-40);
    writing-mode:vertical-rl;
  }
  @media (max-width:900px){& .hero-rule{display:none}}
  @media (max-width:700px){
    & .luxe-header{padding:1rem 1.4rem}
    & .luxe-header.scrolled{padding:.85rem 1.4rem}
    & .wordmark{font-size:.85rem;letter-spacing:.42em}
    & .luxe-nav{gap:1.2rem}
    & .luxe-header .text-link{font-size:.66rem;letter-spacing:.18em;white-space:nowrap}
    & .hero{height:auto;min-height:100svh;padding-top:6.5rem}
    & h1{font-size:clamp(2.4rem, 10.5vw, 3.2rem)}
    & .eyebrow{letter-spacing:.2em}
    & .hero .eyebrow{margin-bottom:1.1rem}
    & .hero p.lede{margin:1.3rem 0 1.9rem}
    & .hero-actions{gap:1.1rem 1.6rem}
    & .hero-content{padding-bottom:3rem}
  }

  /* ---- manifesto ---- */
  & .manifesto{text-align:center}
  & .manifesto .display{font-size:clamp(1.9rem, 4.2vw, 3.4rem);max-width:22em;margin:0 auto}
  & .manifesto p{margin:2.4rem auto 0;max-width:38em;color:var(--ivory-60)}
  & .manifesto .gold-dot{color:var(--gold)}

  /* ---- craftsmanship ---- */
  & .craft{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,6rem);align-items:start}
  & .craft-copy h2{margin-bottom:1.6rem}
  & .craft-copy .lede{margin-bottom:3rem}
  & .materials{list-style:none}
  & .materials li{display:grid;grid-template-columns:3.4rem 1fr;gap:1rem;padding:1.7rem 0;border-top:1px solid var(--hairline)}
  & .materials li:last-child{border-bottom:1px solid var(--hairline)}
  & .materials .num{font-family:var(--serif);font-style:italic;font-size:1.15rem;color:var(--gold)}
  & .materials h3{font-family:var(--sans);font-weight:400;font-size:1.02rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.45rem}
  & .materials p{font-size:1rem;color:var(--ivory-60)}
  & .craft-visual{position:relative;margin-top:1.5rem}
  & .material-crop{position:relative;overflow:hidden;aspect-ratio:4/5}
  & .material-crop img{width:100%;height:100%;object-fit:cover;transform:scale(2.6);transform-origin:64% 44%}
  & .craft-visual::after{content:'';position:absolute;inset:1.4rem -1.4rem -1.4rem 1.4rem;border:1px solid var(--gold-soft);z-index:-1}
  & .craft-caption{margin-top:2.6rem;font-size:.74rem;letter-spacing:.3em;text-transform:uppercase;color:var(--ivory-40)}
  @media (max-width:900px){
    & .craft{grid-template-columns:1fr}
    & .craft-visual{margin:0 1.4rem 1.4rem 0}
  }

  /* ---- flagship (ivory break) ---- */
  & .light{background:var(--ivory);color:var(--ink)}
  & .light .lede{color:rgba(15,15,17,.62)}
  & .flagship-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2.5rem,6vw,5.5rem);align-items:center}
  & .flagship-grid img{width:100%;border:1px solid var(--hairline-ink)}
  & .flagship-copy h2{margin-bottom:1.5rem}
  & .spec{list-style:none;margin:2.8rem 0}
  & .spec li{display:flex;justify-content:space-between;gap:2rem;padding:1.15rem 0;border-top:1px solid var(--hairline-ink);font-size:1.02rem}
  & .spec li:last-child{border-bottom:1px solid var(--hairline-ink)}
  & .spec .k{letter-spacing:.16em;text-transform:uppercase;font-size:.8rem;font-weight:400;color:rgba(15,15,17,.55);padding-top:.15rem}
  & .spec .v{text-align:right;font-weight:400}
  & .price-line{display:flex;align-items:baseline;gap:1.4rem;flex-wrap:wrap;margin-bottom:2.2rem}
  & .price-line .price{font-family:var(--serif);font-weight:400;font-size:2rem}
  & .price-line .from{font-size:.76rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(15,15,17,.5)}

  /* elite card */
  & .elite{margin-top:clamp(4rem, 9vh, 7rem);display:grid;grid-template-columns:.95fr 1.05fr;background:var(--ink);color:var(--ivory)}
  & .elite-img{position:relative;min-height:320px}
  & .elite-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  & .elite-copy{padding:clamp(2.4rem,5vw,4.5rem)}
  & .elite-copy .eyebrow{display:block;margin-bottom:1.4rem}
  & .elite-copy h3{font-family:var(--serif);font-weight:300;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.15;margin-bottom:1.3rem}
  & .elite-copy p{color:var(--ivory-60);font-size:1.05rem;margin-bottom:1.1rem}
  & .elite-price{font-family:var(--serif);font-size:1.55rem;font-weight:400;margin:1.6rem 0 2rem}
  & .elite-price small{font-family:var(--sans);letter-spacing:.3em;text-transform:uppercase;color:var(--ivory-40);margin-left:1rem;font-size:.72rem}
  @media (max-width:900px){
    & .flagship-grid{grid-template-columns:1fr}
    & .elite{grid-template-columns:1fr}
  }
  /* Phones: stack the spec rows (label over value, left-aligned) — the
     right-aligned value was wrapping ragged against the edge. (2026-07-15) */
  @media (max-width:540px){
    & .spec li{flex-direction:column;gap:.3rem}
    & .spec .v{text-align:left}
  }

  /* ---- stack ---- */
  & .stack-head{max-width:44em}
  & .stack-head h2{margin-bottom:1.6rem}
  & .stack-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2.2rem;margin-top:clamp(3rem,7vh,5rem)}
  & .stack-grid article{border-top:1px solid var(--hairline);padding-top:1.6rem}
  & .stack-grid .num{font-family:var(--serif);font-style:italic;color:var(--gold);font-size:1.1rem;display:block;margin-bottom:1.1rem}
  & .stack-grid h3{font-family:var(--sans);font-weight:400;font-size:1rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:.6rem}
  & .stack-grid p{font-size:1rem;color:var(--ivory-60)}
  @media (max-width:900px){& .stack-grid{grid-template-columns:1fr 1fr}}
  @media (max-width:540px){& .stack-grid{grid-template-columns:1fr}}

  /* ---- quote ---- */
  & .quote{background:var(--ink-2);text-align:center;position:relative}
  & .quote .mark{font-family:var(--serif);font-size:5.5rem;line-height:0;color:var(--gold);display:block;margin-bottom:2.2rem}
  & .quote blockquote{font-family:var(--serif);font-style:italic;font-weight:400;font-size:clamp(2.4rem, 6vw, 4.6rem);line-height:1.15;max-width:16em;margin:0 auto;border:none;padding:0;background:none;color:var(--ivory)}
  & .quote figcaption{margin-top:3rem;font-size:.78rem;letter-spacing:.34em;text-transform:uppercase;color:var(--ivory-40)}
  & .quote figcaption strong{color:var(--ivory);font-weight:400}
  & .quote .cite-note{margin-top:1.4rem;font-size:1.02rem;letter-spacing:0;text-transform:none;color:var(--ivory-60);max-width:38em;margin-left:auto;margin-right:auto}

  /* ---- white-glove ---- */
  & .glove{position:relative;overflow:hidden;padding:0}
  & .glove img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% center}
  & .glove::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg, rgba(15,15,17,.98) 0%, rgba(15,15,17,.94) 48%, rgba(15,15,17,.3) 78%, rgba(15,15,17,.05) 100%)}
  & .glove-inner{position:relative;z-index:2;max-width:1220px;margin:0 auto;padding:clamp(6rem,14vh,11rem) var(--pad)}
  & .glove-inner .eyebrow{display:block;margin-bottom:1.6rem}
  & .glove-inner h2{max-width:12em;margin-bottom:1.4rem}
  & .glove-inner .lede{margin-bottom:3.4rem;max-width:26em}
  & .glove-list{
    list-style:none;max-width:600px;background:rgba(15,15,17,.5);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    padding:.4rem 1.8rem;border:1px solid rgba(241,236,226,.08);
  }
  & .glove-list li{border-top:1px solid var(--hairline);padding:1.4rem 0;display:grid;grid-template-columns:3.4rem 1fr;gap:1rem}
  & .glove-list li:last-child{border-bottom:1px solid var(--hairline)}
  & .glove-list .num{font-family:var(--serif);font-style:italic;color:var(--gold);font-size:1.1rem}
  & .glove-list h3{font-weight:400;font-size:1.02rem;letter-spacing:.15em;text-transform:uppercase;margin-bottom:.35rem}
  & .glove-list p{font-size:1rem;color:rgba(241,236,226,.8)}
  @media (max-width:900px){
    & .glove img.bg{opacity:.35}
    & .glove::before{background:rgba(15,15,17,.6)}
  }

  /* ---- practices ---- */
  & .practices{border-top:1px solid var(--hairline)}
  & .practices-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,6rem);align-items:start}
  & .practices h2{margin-bottom:1.6rem}
  & .practices .lede{margin-bottom:2.6rem}
  @media (max-width:900px){& .practices-grid{grid-template-columns:1fr}}

  /* ---- finale ---- */
  & .finale{
    text-align:center;
    background:radial-gradient(90rem 40rem at 50% 120%, rgba(194,161,94,.13), transparent 60%), var(--ink);
    border-top:1px solid var(--hairline);
  }
  & .finale h2{font-size:clamp(2.6rem, 6vw, 4.8rem);margin-bottom:1.6rem}
  & .finale .lede{margin:0 auto 3rem}
  & .finale .micro{margin-top:2.6rem;font-size:.74rem;letter-spacing:.3em;text-transform:uppercase;color:var(--ivory-40)}

  /* ---- footer ---- */
  & .luxe-footer{
    border-top:1px solid var(--hairline);padding:2.6rem var(--pad);
    display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;
    font-size:.74rem;letter-spacing:.28em;text-transform:uppercase;color:var(--ivory-40);
  }
  & .luxe-footer nav{display:flex;gap:1.8rem;flex-wrap:wrap}

  /* ---- equine page (template-luxe-equine.php) ---- */
  & .hero.equine > img{object-position:38% center}
  @media (max-width:700px){
    & .hero.equine > img{object-position:66% center}
    /* Drop the desktop line-break so the headline wraps naturally instead of
       orphaning "can't" on its own line. (2026-07-15) */
    & .hero.equine h1 br{display:none}
  }
  & .split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,6rem);align-items:center}
  & .split.rev > .visual{order:2}
  & .split h2{margin-bottom:1.6rem}
  & .split .lede{margin-bottom:2.6rem}
  & .visual{position:relative}
  & .visual img{width:100%}
  & .visual::after{content:'';position:absolute;inset:1.4rem -1.4rem -1.4rem 1.4rem;border:1px solid var(--gold-soft);z-index:-1}
  @media (max-width:900px){
    & .split{grid-template-columns:1fr}
    & .split.rev > .visual{order:0}
    & .visual{margin:0 1.4rem 1.4rem 0}
  }
  & .benefits{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(1.5rem,3vw,3rem)}
  & .benefits li{border-top:1px solid var(--hairline);padding:.9rem 0;font-size:.86rem;letter-spacing:.16em;
    text-transform:uppercase;font-weight:400;color:var(--ivory-60)}
  & .benefits li::before{content:'';display:inline-block;width:1.3rem;height:1px;background:var(--gold-soft);
    margin-right:1rem;vertical-align:middle}
  @media (max-width:540px){& .benefits{grid-template-columns:1fr}}
  & .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-top:clamp(3.5rem,8vh,5.5rem);
    border-top:1px solid var(--hairline);padding-top:3rem}
  & .stats .n{font-family:var(--serif);font-weight:300;font-size:clamp(2.6rem,4.5vw,4.2rem);color:var(--gold);line-height:1}
  & .stats .l{margin-top:.9rem;font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;color:var(--ivory-40)}
  @media (max-width:900px){& .stats{grid-template-columns:1fr 1fr;gap:2.8rem 2rem}}
  & .glove-row{display:grid;grid-template-columns:repeat(3,1fr);gap:2.2rem;margin-top:clamp(3rem,7vh,5rem)}
  & .glove-row article{border-top:1px solid var(--hairline);padding-top:1.6rem}
  & .glove-row .num{font-family:var(--serif);font-style:italic;color:var(--gold);font-size:1.1rem;display:block;margin-bottom:1.1rem}
  & .glove-row h3{font-weight:400;font-size:1rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:.6rem}
  & .glove-row p{font-size:1rem;color:var(--ivory-60)}
  @media (max-width:900px){& .glove-row{grid-template-columns:1fr}}
  & .personas{margin-top:clamp(3rem,7vh,4.5rem);display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem 0;
    border-top:1px solid var(--hairline);padding-top:2.4rem}
  & .personas span{font-size:.82rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ivory-60);
    padding:.2rem 1rem;border-left:1px solid var(--hairline)}
  & .personas span:first-child{border-left:0;padding-left:0}
  /* Phones: keep the vertical grey bars, one item per line (full-width column)
     so nothing pairs up or overflows — and give the first item its bar too. (2026-07-15) */
  @media (max-width:540px){
    & .personas{flex-direction:column;gap:1rem}
    & .personas span,
    & .personas span:first-child{border-left:1px solid var(--hairline);padding:.15rem 0 .15rem 1.1rem}
  }

  /* ---- reveals ---- */
  & .reveal{opacity:0;transform:translateY(28px);transition:opacity 1s ease, transform 1.1s cubic-bezier(.19,.65,.25,1)}
  & .reveal.in{opacity:1;transform:none}
  & .stagger > *{opacity:0;transform:translateY(24px);transition:opacity .9s ease, transform 1s cubic-bezier(.19,.65,.25,1)}
  & .stagger.in > *{opacity:1;transform:none}
  & .stagger.in > *:nth-child(2){transition-delay:.12s}
  & .stagger.in > *:nth-child(3){transition-delay:.24s}
  & .stagger.in > *:nth-child(4){transition-delay:.36s}
  & .stagger.in > *:nth-child(5){transition-delay:.48s}
  & .hero-content > *{opacity:0;transform:translateY(26px);animation:luxeRise 1.2s cubic-bezier(.19,.65,.25,1) forwards}
  & .hero-content > *:nth-child(2){animation-delay:.18s}
  & .hero-content > *:nth-child(3){animation-delay:.36s}
  & .hero-content > *:nth-child(4){animation-delay:.54s}

  @media (prefers-reduced-motion: reduce){
    & .hero > img{animation:none;transform:none}
    & .hero-content > *{animation:none;opacity:1;transform:none}
    & .reveal,& .stagger > *{opacity:1;transform:none;transition:none}
  }

  /* ---- grain ---- */
  & .grain{
    position:fixed;inset:0;z-index:90;pointer-events:none;opacity:.05;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  }
}
