/*
 * COMMAND 3100_062W1 — Owner Master Visual Layer
 * Industrial Luxury / Workshop Loft / Warm Dark Premium
 * Load AFTER theme-foundation.css. Rollback = remove this file + cw-im class.
 * Scope: body.cw-r2.cw-im header + hero only.
 */

body.cw-r2.cw-im {
  --im-black: #0B0A08;
  --im-charcoal: #1A1A18;
  --im-graphite: #2A2621;
  --im-wood: #3E2C1C;
  --im-copper: #B87333;
  --im-copper-hi: #D8A06A;
  --im-bronze: #8B5E34;
  --im-ivory: #F5F0E8;
  --im-font-display-th: 'Kanit', 'Prompt', sans-serif;
  --im-font-display-en: 'Cinzel', 'Playfair Display', Georgia, serif;
  --im-font-body: 'Prompt', sans-serif;
  --im-font-ui: 'Outfit', 'Prompt', sans-serif;
  --im-concrete:
    radial-gradient(ellipse at 20% 0%, rgba(184, 115, 51, 0.08), transparent 42%),
    radial-gradient(ellipse at 80% 100%, rgba(62, 44, 28, 0.35), transparent 50%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 4px);
  background: var(--im-black);
  color: var(--im-ivory);
}

/* ── Header ── */
body.cw-r2.cw-im .cw-im-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 10, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 115, 51, 0.38);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
body.cw-r2.cw-im .cw-im-header .header-row-utility {
  background: transparent;
}
body.cw-r2.cw-im .cw-im-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.25rem;
  min-height: 72px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
body.cw-r2.cw-im .cw-im-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
body.cw-r2.cw-im .cw-im-header .logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(184, 115, 51, 0.28));
}
body.cw-r2.cw-im .cw-im-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}
body.cw-r2.cw-im .cw-im-master {
  font-family: var(--im-font-display-en);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--im-ivory);
  line-height: 1.15;
}
body.cw-r2.cw-im .cw-im-legal {
  font-family: var(--im-font-body);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.cw-r2.cw-im .cw-im-store {
  font-family: var(--im-font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--im-copper);
}
body.cw-r2.cw-im .cw-im-header .header-row-nav {
  display: flex;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}
body.cw-r2.cw-im .cw-im-header .primary-nav.desktop-nav {
  gap: 0.15rem 1.15rem;
  flex-wrap: nowrap;
}
body.cw-r2.cw-im .cw-im-header .primary-nav.desktop-nav a {
  color: var(--im-ivory);
  font-family: var(--im-font-body);
  font-size: 0.82rem;
  min-height: 44px;
  padding: 0 0.15rem;
  border-bottom: 1px solid transparent;
}
body.cw-r2.cw-im .cw-im-header .primary-nav.desktop-nav a:hover,
body.cw-r2.cw-im .cw-im-header .primary-nav.desktop-nav a.active,
body.cw-r2.cw-im .cw-im-header .primary-nav.desktop-nav a[aria-current="page"] {
  color: var(--im-copper-hi);
  border-bottom-color: var(--im-copper);
}
body.cw-r2.cw-im .cw-im-header .cw-header-cta {
  min-height: 44px;
  background: transparent;
  color: var(--im-ivory);
  border: 1px solid var(--im-copper);
  box-shadow: none;
  font-family: var(--im-font-body);
}
body.cw-r2.cw-im .cw-im-header .cw-header-cta:hover {
  background: rgba(184, 115, 51, 0.16);
  color: var(--im-ivory);
}
body.cw-r2.cw-im .cw-im-header .mobile-nav-toggle {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid rgba(184, 115, 51, 0.45);
}
body.cw-r2.cw-im .cw-im-header .mobile-nav-toggle span {
  background: var(--im-ivory);
}
body.cw-r2.cw-im .mobile-nav-menu {
  background: var(--im-charcoal);
  border-left: 1px solid rgba(184, 115, 51, 0.35);
}
body.cw-r2.cw-im .mobile-nav-menu a {
  color: var(--im-ivory);
  min-height: 44px;
}

/* ── Hero ── */
body.cw-r2.cw-im .cw-im-hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: stretch;
  background: var(--im-black);
  overflow: hidden;
}
body.cw-r2.cw-im .cw-im-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
body.cw-r2.cw-im .cw-im-hero-photo,
body.cw-r2.cw-im .cw-im-hero .cw-hero-priority-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  display: block;
}
body.cw-r2.cw-im .cw-im-hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 10, 8, 0.94) 0%, rgba(11, 10, 8, 0.78) 36%, rgba(11, 10, 8, 0.28) 62%, rgba(11, 10, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, 0.28) 0%, transparent 22%, rgba(11, 10, 8, 0.55) 100%),
    radial-gradient(ellipse at 78% 18%, rgba(216, 160, 106, 0.16), transparent 36%);
}
body.cw-r2.cw-im .cw-im-hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background: var(--im-concrete);
  mix-blend-mode: overlay;
}
body.cw-r2.cw-im .cw-im-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(220px, 0.42fr);
  gap: 2rem;
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5.5rem 0 4.5rem;
}
body.cw-r2.cw-im .cw-im-hero-copy {
  position: relative;
  max-width: 38rem;
  padding: 0;
  background: transparent;
}
body.cw-r2.cw-im .cw-im-hero .cw-hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--im-copper);
  font-family: var(--im-font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
body.cw-r2.cw-im .cw-im-hero h1 {
  font-family: var(--im-font-display-th);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  line-height: 1.22;
  color: var(--im-ivory);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  margin: 0 0 0.65rem;
}
body.cw-r2.cw-im .cw-im-hero-serif {
  font-family: var(--im-font-display-en);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: var(--im-copper);
  margin: 0 0 1rem;
}
body.cw-r2.cw-im .cw-im-rule {
  width: 4.5rem;
  height: 1px;
  border: 0;
  margin: 0 0 1.1rem;
  background: linear-gradient(90deg, var(--im-copper), transparent);
}
body.cw-r2.cw-im .cw-im-hero .cw-hero-subtitle {
  font-family: var(--im-font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.86);
  max-width: 36rem;
  margin: 0 0 1.6rem;
}
body.cw-r2.cw-im .cw-im-hero .cw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
body.cw-r2.cw-im .cw-im-hero .cw-hero-actions .btn {
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--im-font-body);
  font-weight: 600;
}
body.cw-r2.cw-im .cw-im-hero .btn-primary {
  background: linear-gradient(180deg, #3E2C1C, #1A1A18);
  color: var(--im-ivory);
  border: 1px solid var(--im-copper);
}
body.cw-r2.cw-im .cw-im-hero .btn-secondary {
  background: transparent;
  color: var(--im-ivory);
  border: 1px solid rgba(216, 160, 106, 0.55);
}

/* Wall-sign / metal plaque motif */
body.cw-r2.cw-im .cw-im-plaque {
  justify-self: end;
  align-self: center;
  width: min(100%, 280px);
}
body.cw-r2.cw-im .cw-im-plaque-plate {
  position: relative;
  padding: 1.35rem 1.2rem 1.15rem;
  background:
    linear-gradient(160deg, rgba(184, 115, 51, 0.22), rgba(26, 26, 24, 0.92) 42%, rgba(11, 10, 8, 0.96));
  border: 1px solid rgba(216, 160, 106, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(216, 160, 106, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.55);
  color: var(--im-ivory);
  text-align: center;
}
body.cw-r2.cw-im .cw-im-plaque-plate::before,
body.cw-r2.cw-im .cw-im-plaque-plate::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #D8A06A, #8B5E34 55%, #3E2C1C);
  box-shadow: 0 0 0 1px rgba(11, 10, 8, 0.6);
}
body.cw-r2.cw-im .cw-im-plaque-plate::before { top: 10px; left: 10px; }
body.cw-r2.cw-im .cw-im-plaque-plate::after { top: 10px; right: 10px; }
body.cw-r2.cw-im .cw-im-plaque-en {
  font-family: var(--im-font-display-en);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin: 0.35rem 0 0.2rem;
}
body.cw-r2.cw-im .cw-im-plaque-legal {
  font-family: var(--im-font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--im-copper-hi);
  margin: 0 0 0.45rem;
}
body.cw-r2.cw-im .cw-im-plaque-th {
  font-family: var(--im-font-body);
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.88);
  margin: 0 0 0.7rem;
}
body.cw-r2.cw-im .cw-im-plaque-store {
  font-family: var(--im-font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--im-ivory);
  border-top: 1px solid rgba(184, 115, 51, 0.4);
  padding-top: 0.65rem;
  margin: 0;
}

@media (max-width: 1023px) {
  body.cw-r2.cw-im .cw-im-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body.cw-r2.cw-im .cw-im-header .header-row-nav {
    display: none;
  }
  body.cw-r2.cw-im .cw-im-hero-grid {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 720px);
    padding: 4.5rem 0 3rem;
  }
  body.cw-r2.cw-im .cw-im-plaque {
    justify-self: start;
    width: min(100%, 320px);
  }
  body.cw-r2.cw-im .cw-im-hero {
    min-height: 0;
  }
  body.cw-r2.cw-im .cw-im-hero-stage {
    position: relative;
    height: min(46vh, 420px);
  }
  body.cw-r2.cw-im .cw-im-hero-grid {
    padding-top: 1.75rem;
  }
}

@media (max-width: 767px) {
  body.cw-r2.cw-im .cw-im-legal {
    display: none;
  }
  body.cw-r2.cw-im .cw-header-cta {
    display: none;
  }
  body.cw-r2.cw-im .cw-im-hero-stage {
    height: 38vh;
    min-height: 220px;
  }
  body.cw-r2.cw-im .cw-im-hero .cw-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.cw-r2.cw-im .cw-im-hero .cw-hero-actions .btn {
    width: 100%;
  }
  body.cw-r2.cw-im .cw-im-hero h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  body.cw-r2.cw-im .cw-im-master {
    font-size: 0.92rem;
  }
  body.cw-r2.cw-im {
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cw-r2.cw-im .cw-im-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ═══ COMMAND 3100_062E — Loft theme rework (homepage visual) ═══ */
body.cw-r2.cw-im .cw-im-hero.cw-hero-062c::before,
body.cw-r2.cw-im .cw-im-hero.cw-image-overlay::after {
  content: none !important;
  background: none !important;
}

body.cw-r2.cw-im .cw-im-header {
  background:
    linear-gradient(180deg, rgba(42, 38, 33, 0.92) 0%, rgba(11, 10, 8, 0.88) 100%);
  border-top: 1px solid rgba(216, 160, 106, 0.28);
  border-bottom: 1px solid rgba(184, 115, 51, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(216, 160, 106, 0.18),
    0 16px 36px rgba(0, 0, 0, 0.5);
}
body.cw-r2.cw-im .cw-im-mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2A2621, #0B0A08 62%);
  border: 1px solid rgba(216, 160, 106, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(216, 160, 106, 0.35),
    0 0 18px rgba(184, 115, 51, 0.22);
}
body.cw-r2.cw-im .cw-im-mark::before,
body.cw-r2.cw-im .cw-im-mark::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #D8A06A, #8B5E34 70%);
}
body.cw-r2.cw-im .cw-im-mark::before { top: 3px; left: 3px; }
body.cw-r2.cw-im .cw-im-mark::after { top: 3px; right: 3px; }
body.cw-r2.cw-im .cw-im-mark-img {
  width: 34px;
  height: 34px;
  display: block;
}
body.cw-r2.cw-im .cw-im-master {
  font-family: 'Cinzel', 'Playfair Display', serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(216, 160, 106, 0.28), 0 6px 16px rgba(0, 0, 0, 0.55);
}
body.cw-r2.cw-im .cw-im-header .primary-nav.desktop-nav a {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
body.cw-r2.cw-im .cw-im-header .cw-header-cta {
  background: linear-gradient(180deg, #3E2C1C, #1A1A18);
  box-shadow: inset 0 1px 0 rgba(216, 160, 106, 0.35), 0 8px 18px rgba(0, 0, 0, 0.35);
}

body.cw-r2.cw-im .cw-im-hero-photo {
  object-position: 58% 42%;
  filter: saturate(1.08) contrast(1.04);
}
body.cw-r2.cw-im .cw-im-hero-vignette {
  background:
    linear-gradient(90deg, rgba(11, 10, 8, 0.72) 0%, rgba(11, 10, 8, 0.42) 34%, rgba(11, 10, 8, 0.12) 62%, rgba(11, 10, 8, 0.22) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, 0.18) 0%, transparent 28%, rgba(14, 12, 10, 0.38) 100%),
    radial-gradient(ellipse at 70% 18%, rgba(216, 160, 106, 0.22), transparent 40%);
}
body.cw-r2.cw-im .cw-im-hero h1 {
  text-shadow:
    0 1px 0 rgba(216, 160, 106, 0.32),
    0 2px 0 rgba(11, 10, 8, 0.85),
    0 14px 32px rgba(0, 0, 0, 0.55);
}
body.cw-r2.cw-im .cw-im-hero-serif {
  font-family: 'Playfair Display', Georgia, serif;
  text-shadow: 0 0 18px rgba(184, 115, 51, 0.35);
}
body.cw-r2.cw-im .cw-im-plaque-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.35rem;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
body.cw-r2.cw-im .cw-im-plaque-en {
  font-family: 'Cinzel', 'Playfair Display', serif;
  letter-spacing: 0.1em;
}

body.cw-r2.cw-im .cw-shop-categories {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 115, 51, 0.08), transparent 48%),
    linear-gradient(180deg, #141210, #0B0A08);
}
body.cw-r2.cw-im .cw-shop-categories .cw-r2-section-head h2 {
  font-family: 'Kanit', 'Prompt', sans-serif;
  text-shadow: 0 1px 0 rgba(216, 160, 106, 0.25), 0 8px 20px rgba(0, 0, 0, 0.45);
}
body.cw-r2.cw-im .cw-im-plate {
  position: relative;
  background:
    linear-gradient(180deg, rgba(42, 38, 33, 0.95), rgba(11, 10, 8, 0.96));
  border: 1px solid rgba(184, 115, 51, 0.42);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(216, 160, 106, 0.22),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35),
    0 18px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
body.cw-r2.cw-im .cw-im-plate::before,
body.cw-r2.cw-im .cw-im-plate::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #D8A06A, #8B5E34 62%, #3E2C1C);
  box-shadow: 0 0 0 1px rgba(11, 10, 8, 0.55);
}
body.cw-r2.cw-im .cw-im-plate::before { top: 8px; left: 8px; }
body.cw-r2.cw-im .cw-im-plate::after { top: 8px; right: 8px; }
body.cw-r2.cw-im .cw-im-plate .cw-shop-cat-visual {
  position: relative;
  filter: saturate(0.92) contrast(1.06);
}
body.cw-r2.cw-im .cw-im-plate .cw-shop-cat-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 10, 8, 0.55) 100%);
}
body.cw-r2.cw-im .cw-im-plate .cw-shop-cat-copy {
  border-top: 1px solid rgba(184, 115, 51, 0.28);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #1A1A18, #0B0A08);
}
body.cw-r2.cw-im .cw-im-plate .cw-shop-cat-copy h3 {
  font-family: 'Kanit', 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: #F5F0E8;
  text-shadow: 0 1px 0 rgba(184, 115, 51, 0.3);
}
body.cw-r2.cw-im .cw-im-plate .cw-shop-cat-copy p {
  color: rgba(245, 240, 232, 0.72);
}
body.cw-r2.cw-im .cw-im-plate:hover {
  border-color: var(--im-copper-hi);
  box-shadow:
    inset 0 1px 0 rgba(216, 160, 106, 0.4),
    0 0 0 1px rgba(184, 115, 51, 0.25),
    0 20px 36px rgba(0, 0, 0, 0.5);
}

body.cw-r2.cw-im .cw-im-contact .contact-main-toggle,
body.cw-r2.cw-im .cw-im-contact .contact-call-btn {
  background: linear-gradient(160deg, #3E2C1C, #0B0A08 58%);
  color: var(--im-ivory);
  border: 1px solid rgba(216, 160, 106, 0.7);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(216, 160, 106, 0.35),
    0 0 0 3px rgba(11, 10, 8, 0.55),
    0 0 18px rgba(184, 115, 51, 0.35);
}
body.cw-r2.cw-im .cw-im-contact .contact-main-toggle:hover,
body.cw-r2.cw-im .cw-im-contact .contact-call-btn:hover {
  background: linear-gradient(160deg, #B87333, #3E2C1C);
  box-shadow: 0 0 22px rgba(184, 115, 51, 0.5);
}
body.cw-r2.cw-im .cw-im-contact .contact-widget-card {
  background: linear-gradient(180deg, #1A1A18, #0B0A08);
  border: 1px solid rgba(184, 115, 51, 0.45);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}
body.cw-r2.cw-im .cw-im-sticky {
  background: linear-gradient(180deg, rgba(26, 26, 24, 0.96), rgba(11, 10, 8, 0.98));
  border-top: 1px solid rgba(184, 115, 51, 0.45);
}
body.cw-r2.cw-im .cw-im-sticky .sticky-primary {
  background: linear-gradient(180deg, #3E2C1C, #1A1A18);
  color: var(--im-ivory);
  border: 1px solid var(--im-copper);
}
body.cw-r2.cw-im .cw-im-sticky .sticky-line {
  background: #1A1A18;
  color: var(--im-ivory);
  border: 1px solid rgba(184, 115, 51, 0.55);
}
body.cw-r2.cw-im .cw-im-sticky .sticky-call {
  background: #0B0A08;
  color: var(--im-ivory);
  border: 1px solid rgba(216, 160, 106, 0.45);
}

@media (max-width: 767px) {
  body.cw-r2.cw-im .cw-im-hero-vignette {
    background:
      linear-gradient(180deg, rgba(11, 10, 8, 0.15) 0%, rgba(11, 10, 8, 0.55) 100%),
      radial-gradient(ellipse at 50% 20%, rgba(216, 160, 106, 0.16), transparent 45%);
  }
}
