/* ============================================================
   SHAMBALLA JEWELS — Design System
   ============================================================ */

/* 1. FONTS
   ============================================================ */
@font-face {
  font-family: 'Trajan Pro';
  src: url('/assets/fonts/trajan-pro-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Trajan Pro';
  src: url('/assets/fonts/trajan-pro-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill New Antique';
  src: url('/assets/fonts/gill-new-antique.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 2. CUSTOM PROPERTIES
   ============================================================ */
:root {
  color-scheme: light dark;

  /* Brand palette */
  --color-gold:        #C0A765;
  --color-gold-hover:  #A8904F;
  --color-black:       #121212;
  --color-deep-black:  #1B1B1B;
  --color-off-white:   #FAFAFA;
  --color-white:       #FFFFFF;
  --color-mid-grey:    #929292;
  --color-light-grey:  #BABABA;

  /* Semantic tokens — always dark, texture-backed */
  --color-bg:          #0a0907;
  --color-text:        var(--color-off-white);
  --color-text-muted:  var(--color-light-grey);
  --color-border:      rgba(255, 255, 255, 0.12);
  --color-surface:     rgba(255, 255, 255, 0.04);
  --footer-overlay:    rgba(10, 9, 7, 0.72);

  /* Typography */
  --font-heading: 'Trajan Pro', 'Times New Roman', Georgia, serif;
  --font-body:    'Gill New Antique', Georgia, 'Times New Roman', serif;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-30: 120px;

  /* Layout */
  --max-width:        1400px;
  --nav-height:       108px;
  --nav-height-sm:    64px;
  --bar-height:       36px;
  --radius-pill:      40px;

  /* Letter-spacing */
  --ls-base:    0.06em;
  --ls-wide:    0.10em;
  --ls-wider:   0.15em;
  --ls-widest:  0.20em;
}


::selection {
  background-color: var(--color-gold);
  color: var(--color-black);
}


/* 3. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #0a0907;
  background-image: url('/brand_assets/background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: transparent;
  letter-spacing: var(--ls-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
}

ul, ol {
  list-style: none;
}

/* 4. SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -60px;
  left: var(--sp-4);
  background: var(--color-gold);
  color: var(--color-black);
  padding: var(--sp-2) var(--sp-4);
  z-index: 9999;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  font-weight: 400;
}

.skip-link:focus {
  top: var(--sp-4);
}

/* 5. ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  height: var(--bar-height);
  background: #0a0907;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.announcement-bar p {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-off-white);
  font-weight: 400;
}

/* 6. NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border: none;
  margin-bottom: -1px;
  background-image: url('/brand_assets/background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.site-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.72);
  z-index: 0;
  pointer-events: none;
}

.site-nav.scrolled {
  height: var(--nav-height-sm);
}

.nav-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Nav zones */
.nav-left {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-content: flex-start;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-content: flex-end;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-off-white);
}

.nav-logo__svg {
  height: 72px;
  width: auto;
  display: block;
  color: var(--color-off-white);
}

.nav-logo__star {
  height: 48px;
  width: 48px;
  display: none;
  color: var(--color-gold);
}

/* Scrolled state: swap full logo → star */
.site-nav.scrolled .nav-logo__svg {
  display: none;
}

.site-nav.scrolled .nav-logo__star {
  display: block;
}

/* Icon buttons */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-off-white);
  border-radius: 50%;
  position: relative;
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.97);
  z-index: 200;
  padding: var(--sp-20) var(--sp-8) var(--sp-8);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-off-white);
}

.mobile-nav__close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-off-white);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
  font-weight: 400;
}

/* 7a. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: sticky;
  top: var(--nav-height);
  z-index: 99;
  background: rgba(10, 9, 7, 0.95);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.search-overlay.is-open {
  max-height: 80px;
  opacity: 1;
}

.search-overlay__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.search-overlay__input {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  letter-spacing: var(--ls-base);
  padding: var(--sp-2) 0;
  outline: none;
}

.search-overlay__input::placeholder {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  letter-spacing: var(--ls-base);
}

.search-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-overlay__close svg {
  width: 18px;
  height: 18px;
}

/* 7b. CART DRAWER
   ============================================================ */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #131210;
  border-left: 1px solid var(--color-border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-text);
  font-weight: 400;
}

.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted);
}

.cart-drawer__close svg {
  width: 18px;
  height: 18px;
}

.cart-drawer__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10) var(--sp-8);
  gap: var(--sp-5);
  text-align: center;
}

.cart-drawer__empty-icon {
  width: 48px;
  height: 48px;
  color: var(--color-border);
}

.cart-drawer__empty-text {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-text-muted);
  font-weight: 400;
}

.cart-drawer__cta {
  margin-top: var(--sp-2);
}

/* 7. HERO
   ============================================================ */
.hero {
  position: relative;
  height: calc(100svh - var(--bar-height));
  min-height: 520px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(0, 0, 0, 0.18) 60%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

.hero__content {
  position: absolute;
  right: 6%;
  bottom: 9%;
  left: 50%;
  text-align: right;
}

.hero__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 48px);
  color: var(--color-white);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: right;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.80);
  margin-top: var(--sp-4);
  font-style: italic;
  letter-spacing: var(--ls-base);
  line-height: 1.6;
  text-align: right;
}

/* 8. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1;
}

.btn--hero {
  margin-top: var(--sp-6);
  padding: 13px 34px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--color-white);
  background: transparent;
  font-size: 10px;
}

.btn--shop {
  padding: 11px 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.80);
  background: transparent;
  font-size: 10px;
}

.btn--gold {
  padding: 13px 34px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  font-size: 10px;
}

/* 9. PRODUCT SECTIONS
   ============================================================ */
.products-section {
  background: rgba(10, 9, 7, 0.72);
  padding: var(--sp-20) var(--sp-6);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--sp-12);
  font-weight: 400;
}

.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--sp-4) auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  background: var(--color-surface);
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__img--primary {
  opacity: 1;
  z-index: 1;
}

.product-card__img--alt {
  opacity: 0;
  z-index: 2;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text);
  margin-top: var(--sp-4);
  line-height: 1.6;
  font-weight: 400;
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-gold);
  margin-top: var(--sp-1);
  letter-spacing: var(--ls-base);
}

.product-card .btn--shop {
  margin-top: var(--sp-3);
  align-self: flex-start;
}

/* 10. PHILOSOPHY — 4-CARD GRID
   ============================================================ */
.philosophy {
  background-image: url('/brand_assets/background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  padding: var(--sp-20) var(--sp-6);
}

.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.72);
  pointer-events: none;
}

.philosophy > * {
  position: relative;
  z-index: 1;
}

.philosophy__heading {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text);
  font-weight: 400;
  margin-bottom: var(--sp-12);
}

.philosophy__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--sp-3) auto 0;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  max-width: var(--max-width);
  margin: 0 auto;
}

.philosophy__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.philosophy__card-img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.philosophy__card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.philosophy__card:hover .philosophy__card-img-wrap img {
  transform: scale(1.03);
}

.philosophy__card-body {
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  text-align: center;
  flex: 1;
}

.philosophy__card-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.philosophy__card-text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-muted);
  letter-spacing: var(--ls-base);
}

.philosophy__cta {
  text-align: center;
  margin-top: var(--sp-10);
}

/* 11. FLAGSHIP STORE
   ============================================================ */
.flagship {
  padding: var(--sp-20) var(--sp-6);
  background-image: url('/brand_assets/background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.flagship::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.72);
  pointer-events: none;
}

.flagship__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
}

.flagship__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 580px;
}

.flagship__info {
  background: rgba(10, 9, 7, 0.90);
  border: 1px solid var(--color-border);
  padding: var(--sp-8) var(--sp-10);
  margin-left: -60px;
  position: relative;
  z-index: 2;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flagship__city {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--sp-6);
}

.flagship__hours-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  letter-spacing: var(--ls-base);
}

.flagship__hours {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-8);
}

.flagship__hours li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 2;
  letter-spacing: var(--ls-base);
}

.flagship__link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: var(--ls-base);
  align-self: flex-start;
}

.flagship__link:hover {
  color: var(--color-gold);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin-bottom: var(--sp-4);
  display: block;
}

/* 11. EDITORIAL / ON-WRIST SECTION
   ============================================================ */
.editorial-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 280px;
  background: rgba(10, 9, 7, 0.72);
}

.editorial-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
  max-height: 360px;
}

.editorial-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-10) var(--sp-12);
}

.editorial-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 26px);
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  max-width: 300px;
  font-weight: 400;
}

.editorial-section__body {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 360px;
  margin-top: var(--sp-4);
  letter-spacing: var(--ls-base);
}

.editorial-section .btn--shop {
  margin-top: var(--sp-6);
}

/* 12. FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: #0a0907;
  background-image: url('/brand_assets/background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.footer__bg {
  display: none;
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background: var(--footer-overlay);
  z-index: 1;
}

.footer__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-8) 0;
}

/* Footer logo */
.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}

.footer__logo-svg {
  height: 44px;
  width: 44px;
  display: block;
  color: var(--color-gold);
}

/* Trust badges */
.footer__trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 var(--sp-6);
  margin-bottom: var(--sp-8);
}

.footer__trust-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}

.footer__trust-sep {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
}

/* Footer columns */
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-10);
  padding: var(--sp-8) 0 var(--sp-14);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Socials column */
.footer__socials {
  display: flex;
  flex-direction: row;
  gap: var(--sp-4);
  line-height: 1;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.50);
}

.footer__social-icon {
  width: 20px;
  height: 20px;
}

.footer__col-heading {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-off-white);
  margin-bottom: var(--sp-4);
  font-weight: 400;
}

.footer__col-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.9;
  letter-spacing: var(--ls-base);
}

.footer__col-body a {
  display: block;
  color: rgba(255, 255, 255, 0.50);
}

.footer__col-body p + p {
  margin-top: var(--sp-4);
}

/* Footer bottom bar */
.footer__bottom {
  position: relative;
  z-index: 3;
  background: var(--color-gold);
  padding: var(--sp-4) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  border-top: none;
}

.footer__bottom-copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: var(--ls-base);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.footer__bottom-links a {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: var(--ls-base);
}

.footer__payment-icons {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  flex-wrap: wrap;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.payment-divider {
  color: #555555;
  font-size: 18px;
  line-height: 24px;
  align-self: center;
  margin: 0 2px;
  user-select: none;
}

.payment-icon svg {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(42%) sepia(18%) saturate(800%) hue-rotate(5deg) brightness(85%) contrast(90%);
}

/* 13. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
  }

  .philosophy__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Nav: hide search + account */
  .nav-search,
  .nav-account {
    display: none;
  }

  /* Constrain logo wordmark so it doesn't overflow on mobile */
  .nav-logo__svg {
    height: 48px;
    max-width: 50vw;
  }

  /* Hero content: centered */
  .hero__content {
    right: var(--sp-6);
    left: var(--sp-6);
    max-width: none;
    text-align: center;
    top: 55%;
  }

  .hero__heading {
    text-align: center;
    font-size: clamp(22px, 6vw, 36px);
  }

  .hero__subtitle {
    text-align: center;
  }

  /* Sections padding */
  .products-section {
    padding: var(--sp-16) var(--sp-4);
  }

  /* Philosophy 4-card: 1 column on mobile */
  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .philosophy__card {
    flex-direction: row;
    align-items: stretch;
  }

  .philosophy__card-img-wrap {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: unset;
  }

  .philosophy__card-body {
    text-align: left;
    padding: var(--sp-5) var(--sp-5);
  }

  /* Flagship: stack on tablet */
  .flagship__inner {
    grid-template-columns: 1fr;
  }

  .flagship__image {
    max-height: 360px;
  }

  .flagship__info {
    margin-left: 0;
    min-height: auto;
  }

  /* Editorial stacks */
  .editorial-section {
    grid-template-columns: 1fr;
  }

  .editorial-section__content {
    padding: var(--sp-12) var(--sp-6);
  }

  /* Footer columns */
  .footer__columns {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__trust-badges {
    flex-direction: column;
    gap: var(--sp-2);
    align-items: center;
  }

  .footer__trust-sep {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-4);
  }

  .footer__bottom-links {
    justify-content: center;
  }

  .footer__payment-icons {
    justify-content: center;
  }

  .footer__inner {
    padding: var(--sp-12) var(--sp-5) 0;
  }
}

/* 14. REDUCED MOTION — transitions only apply when user allows them
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .product-card__img {
    transition: opacity 0.45s ease;
  }

  .btn--hero,
  .btn--shop,
  .btn--gold {
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  }

  .site-nav {
    transition: height 0.35s ease;
  }

  .footer__social-link {
    transition: color 0.2s ease;
  }

  .footer__col-body a {
    transition: color 0.2s ease;
  }

  .footer__bottom-links a {
    transition: color 0.2s ease;
  }

  .nav-icon-btn {
    transition: background 0.2s ease;
  }
}

/* Hover states (always apply — only transitions are gated) */
.product-card:hover .product-card__img--primary {
  opacity: 0;
}

.product-card:hover .product-card__img--alt {
  opacity: 1;
}

.btn--hero:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn--shop:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.80);
}

.btn--gold:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.footer__social-link:hover {
  color: var(--color-off-white);
}

.footer__col-body a:hover {
  color: var(--color-off-white);
  text-decoration: underline;
}

.footer__bottom-links a:hover {
  color: rgba(0, 0, 0, 0.85);
}

.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* 15. DEV FAB — draggable floating action button
   ============================================================ */
.dev-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  user-select: none;
}

/* Trigger — the draggable handle */
.dev-fab__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(12, 11, 9, 0.92);
  border: 1px solid rgba(192, 167, 101, 0.5);
  color: #C0A765;
  border-radius: 40px;
  cursor: grab;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: ui-monospace, 'Courier New', monospace;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  touch-action: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dev-fab__trigger:hover,
.dev-fab__trigger.is-open {
  border-color: #C0A765;
  background: rgba(192, 167, 101, 0.12);
}

.dev-fab__icon {
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease;
}

.dev-fab__trigger.is-open .dev-fab__icon {
  transform: rotate(45deg);
}

/* Menu panel — slides up above trigger */
.dev-fab__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.dev-fab__menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Control buttons inside the menu */
.dev-fab__btn {
  padding: 7px 13px;
  background: rgba(12, 11, 9, 0.94);
  border: 1px solid rgba(192, 167, 101, 0.4);
  color: #C0A765;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: ui-monospace, 'Courier New', monospace;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dev-fab__btn:hover {
  border-color: #C0A765;
  background: rgba(192, 167, 101, 0.10);
}

.dev-fab__btn.is-active {
  background: rgba(192, 167, 101, 0.16);
  border-color: #C0A765;
}

/* HF group: the H/F toggle button + its sub-items */
.dev-fab__hf-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* Sub-buttons that expand from the H/F toggle */
.dev-fab__sub {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.22s ease, opacity 0.18s ease;
}

.dev-fab__sub.is-open {
  max-height: 120px;
  opacity: 1;
}

/* Dev toggle states */
html.no-main-bg {
  background-image: none;
  background-color: #14120f;
}

html.no-main-bg .products-section {
  background: #0f0d0b; /* slightly lighter — visible block rhythm against the darker sections */
}

html.no-main-bg .editorial-section {
  background: #0a0907;
}

html.no-main-bg .philosophy {
  background-image: none;
  background-color: #0a0907;
}

html.no-main-bg .flagship {
  background-image: none;
  background-color: #0a0907;
}

html.no-nav-bg .site-nav {
  background-image: none;
}

html.no-nav-bg .site-nav::before {
  background: #0a0907;
}

html.no-footer-bg .site-footer {
  background-image: none;
}

html.no-footer-bg .footer__overlay {
  background: #0a0907;
}

/* 16. PRINT
   ============================================================ */
@media print {
  .announcement-bar,
  .site-nav,
  .mobile-nav,
  .hero__overlay,
  .hero__content,
  .btn--hero,
  .btn--shop,
  .btn--gold,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    height: auto;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }

  .editorial-section {
    display: block;
  }

  .philosophy__grid {
    grid-template-columns: 1fr 1fr;
  }

  * {
    break-inside: avoid;
  }
}
