/* ============================================
   R SECURE — Design System
   Dark premium. Warm gold on near-black.
   Playfair Display + Inter.
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #0a0a0a;
  --bg-surface: #111111;
  --bg-elevated: #1a1a1a;
  --bg-card: #141414;
  --fg: #f5f5f7;
  --fg-muted: rgba(245, 245, 247, 0.6);
  --fg-subtle: rgba(245, 245, 247, 0.35);
  --gold: #c8a45d;
  --gold-light: #d4b370;
  --gold-dark: #a8893f;
  --gold-surface: rgba(200, 164, 93, 0.08);
  --gold-border: rgba(200, 164, 93, 0.2);
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --success: #4ade80;
  --error: #f87171;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Inter', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(80px, 10vw, 140px);
  --content-w: 1280px;
  --narrow-w: 900px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--fg); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; color: var(--fg); }
h1 { font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.5vw, 52px); letter-spacing: -0.01em; }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: 20px; font-weight: 600; }
.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 20px auto 0;
}
/* When the parent is left-aligned, keep the section-sub left-anchored too */
.text-left > .section-sub,
[style*="text-align: left"] > .section-sub,
[style*="text-align:left"] > .section-sub {
  margin-left: 0;
  margin-right: 0;
}
.lead { font-size: 20px; line-height: 1.7; color: var(--fg-muted); }
.small { font-size: 14px; line-height: 1.5; color: var(--fg-subtle); }
.gold-line { width: 60px; height: 2px; background: var(--gold); margin: 24px 0; }

/* --- Layout --- */
.container { max-width: var(--content-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: var(--narrow-w); }
section { padding: var(--section-pad) 0; }
.section-header { margin-bottom: clamp(40px, 6vw, 72px); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .rv.v { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: 0.1s; }
  .rv-d2 { transition-delay: 0.2s; }
  .rv-d3 { transition-delay: 0.3s; }
  .rv-d4 { transition-delay: 0.4s; }
  .rv-d5 { transition-delay: 0.5s; }
  .rv-d6 { transition-delay: 0.6s; }
  .img-rv {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s var(--ease-smooth);
  }
  .img-rv.v { clip-path: inset(0 0% 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .img-rv { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* --- Buttons (premium hover) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 0;
  transition: all 0.3s var(--ease-expo);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); box-shadow: none; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 24px rgba(200, 164, 93, 0.3); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border-light); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 24px rgba(200, 164, 93, 0.15); }
.btn-sm { padding: 12px 24px; font-size: 11px; }

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  transition: border-color 0.3s;
}
.card:hover { border-color: var(--gold-border); }

/* ============================================
   TOP CONTACT BAR
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  transition: transform 0.3s var(--ease-out);
}
.top-bar.hidden { transform: translateY(-100%); }
.top-bar-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar-contact a {
  color: var(--fg-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-contact a:hover { color: var(--gold); }
.top-bar-cta .btn { padding: 8px 20px; font-size: 10px; }
@media (max-width: 767px) {
  .top-bar-contact span { display: none; }
  .top-bar-cta { display: none; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled .header-main { padding: 12px 0; }

/* Main row: logo | nav | CTA */
.header-main { padding: 16px 0; transition: padding 0.3s var(--ease-out); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; margin-right: 32px; }
.logo-img { height: 28px; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--fg); }
.header-right { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-shrink: 0; }
.header-phone {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  display: none;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.header-phone:hover { color: var(--gold); }
@media (min-width: 1024px) { .header-phone { display: flex; } }
.header-right .btn-gold { background: var(--gold); color: #0a0a0a; font-weight: 700; }
/* Mobile: hide the Get a Quote button in header; mobile menu + bottom bar cover CTAs */
@media (max-width: 767px) {
  .header-right { gap: 0; }
  .header-right .btn-gold { display: none; }
  .logo-link { margin-right: 0; }
}

/* Products Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: all 0.2s var(--ease-expo);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: rgba(26, 26, 26, 0.95);
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  transform: rotate(45deg);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: all 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--gold-surface); color: var(--gold); padding-left: 28px; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
/* When mobile nav is open, keep header transparent so only hamburger/X + logo are visible above overlay */
.nav-open .site-header {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.nav-open .site-header.scrolled { background: transparent !important; }

/* Mobile Nav Overlay — below header so hamburger stays clickable */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 80px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-expo);
}
.nav-open .nav-mobile { opacity: 1; visibility: visible; }
.nav-mobile a {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg-muted);
  transition: color 0.2s;
}
@media (max-height: 700px) {
  .nav-mobile { gap: 16px; }
  .nav-mobile a { font-size: 20px; }
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .btn { margin-top: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 0 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.15) 40%, rgba(10, 10, 10, 0.8) 100%),
    linear-gradient(to right, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.3) 40%, rgba(10, 10, 10, 0.5) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 24px; }
.hero-title-inline { white-space: nowrap; }
.hero-title-inline .sep { color: var(--gold); font-weight: 300; margin: 0 0.2em; opacity: 0.7; }
@media (max-width: 767px) {
  /* Allow hero title to wrap on mobile; drop inline separators to their own line */
  .hero-title-inline { white-space: normal; font-size: clamp(38px, 11vw, 56px); line-height: 1.05; }
  .hero-title-inline .sep { display: none; }
  .hero-title-inline em { display: inline-block; }
  .hero .lead { font-size: 15px; padding: 0 8px; }
  .hero { padding: 120px 0 80px; }
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero .lead { margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
@media (max-width: 767px) {
  .trust-bar-inner { flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-item img { height: 36px; width: auto; opacity: 0.8; }
.trust-item .trust-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}
.product-card-img {
  height: 220px;
  overflow: hidden;
}
@media (min-width: 768px) { .product-card-img { height: 260px; } }
@media (min-width: 1024px) { .product-card-img { height: 280px; } }
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 24px; }
.product-card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.product-card-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.product-card-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.product-card-link:hover { gap: 12px; }

/* ============================================
   WHY / DIFFERENTIATORS
   ============================================ */
.why-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.why-item:last-child { border-bottom: none; }
.why-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.why-item h3 { margin-bottom: 12px; }
.why-item p { color: var(--fg-muted); max-width: 500px; }

/* ============================================
   FEATURED PRODUCT
   ============================================ */
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .featured { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.featured-img { position: relative; }
.featured-img img { width: 100%; }
.featured-text .eyebrow { margin-bottom: 16px; }
.featured-text h2 { margin-bottom: 20px; }
.featured-text p { color: var(--fg-muted); margin-bottom: 32px; }
.featured-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.spec-item {
  padding: 16px;
  background: var(--gold-surface);
  border-left: 2px solid var(--gold);
}
.spec-item strong {
  display: block;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 4px;
}
.spec-item span {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ============================================
   PROCESS TIMELINE (premium scroll reveal)
   ============================================ */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
}
.process-timeline::before {
  content: none;
}
.process-timeline-line {
  position: absolute;
  left: 19px;
  top: 14px;
  width: 2px;
  height: 0;
  max-height: calc(100% - 28px);
  background: var(--gold);
  transition: height 0.1s linear;
  z-index: 1;
}
.process-step {
  position: relative;
  padding: 0 0 64px 32px;
  text-align: left;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  z-index: 2;
  transition: all 0.4s var(--ease-expo);
}
.process-step.v .process-step-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 16px rgba(200, 164, 93, 0.4);
}
.process-step-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.process-step h4 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 12px;
}
.process-step p {
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 500px;
}
@media (min-width: 768px) {
  .process-timeline { padding-left: 64px; }
  .process-step { padding-left: 48px; padding-bottom: 80px; }
  .process-step-dot { left: -52px; width: 24px; height: 24px; }
  .process-timeline-line { left: 23px; }
}

/* Video placeholder */
.video-section {
  position: relative;
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.video-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.video-section:hover img { transform: scale(1.03); }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(10, 10, 10, 0.4);
  transition: background 0.3s;
}
.video-section:hover .video-play { background: rgba(10, 10, 10, 0.2); }
.video-play-circle {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-expo);
}
.video-section:hover .video-play-circle {
  border-color: var(--gold);
  background: rgba(200, 164, 93, 0.2);
  transform: scale(1.08);
}
.video-play-circle svg { color: #fff; margin-left: 3px; }
.video-play-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
/* Native video embed */
.video-embed {
  max-width: 900px;
  margin: 0 auto;
}
.video-embed video {
  width: 100%;
  display: block;
  background: var(--bg-card);
}

/* Trade section immersive bg */
.trade-immersive {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.trade-immersive .trade-bg {
  position: absolute;
  inset: 0;
}
.trade-immersive .trade-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trade-immersive .trade-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.65) 50%, rgba(10,10,10,0.4) 100%);
}
@media (max-width: 767px) {
  .trade-immersive .trade-bg::after {
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
  }
}
.trade-immersive .container { position: relative; z-index: 1; }

/* Header contact info (desktop) */
.header-contact {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--fg-subtle);
}
.header-contact a { color: var(--fg-subtle); transition: color 0.2s; }
.header-contact a:hover { color: var(--gold); }
@media (min-width: 1024px) { .header-contact { display: flex; } }

/* Factory immersive (full-width image hero style) */
.factory-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.factory-section .factory-bg {
  position: absolute;
  inset: 0;
}
.factory-section .factory-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.factory-section .factory-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 45%, rgba(10,10,10,0.3) 100%);
}
.factory-section .container { position: relative; z-index: 1; }
.factory-content { max-width: 550px; }
@media (max-width: 767px) {
  .factory-section { min-height: 400px; }
  .factory-section .factory-bg::after {
    background: linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 100%);
  }
  .factory-content { max-width: 100%; }
}
.process-step p { font-size: 14px; color: var(--fg-muted); }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.cert-item:hover { border-color: var(--gold-border); }
.cert-item img { height: 56px; margin: 0 auto 16px; }
.cert-item h4 { font-size: 16px; margin-bottom: 8px; }
.cert-item p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-preview-grid {
  columns: 2;
  column-gap: 16px;
}
@media (min-width: 768px) { .gallery-preview-grid { columns: 3; } }
.gallery-preview-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
}
.gallery-preview-item img {
  width: 100%;
  transition: transform 0.5s var(--ease-out);
}
.gallery-preview-item:hover img { transform: scale(1.04); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--display);
  font-size: 64px;
  color: var(--gold);
  position: absolute;
  top: 20px;
  left: 32px;
  line-height: 1;
  opacity: 0.4;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 13px; color: var(--fg-subtle); }

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 64px);
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--fg-muted); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Insurance callout */
.insurance-callout {
  background: var(--gold-surface);
  border-left: 3px solid var(--gold);
  padding: 40px;
}
.insurance-stat {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

/* Trade section */
.trade-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .trade-section { grid-template-columns: 2fr 1fr; } }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .contact-layout { grid-template-columns: 3fr 2fr; gap: 64px; } }

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--fg);
  font-size: 16px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group input[type="file"] {
  padding: 12px;
  font-size: 14px;
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 12px;
}
.form-help { font-size: 13px; color: var(--fg-subtle); margin-top: 6px; display: block; }
.form-success {
  text-align: center;
  padding: 48px;
  border: 1px solid var(--gold-border);
  background: var(--gold-surface);
}
.form-success h3 { color: var(--gold); margin-bottom: 12px; }

/* Contact sidebar */
.contact-sidebar-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-sidebar-item:last-child { border-bottom: none; }
.contact-sidebar-item .small { margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.contact-sidebar-item a { color: var(--fg); transition: color 0.2s; }
.contact-sidebar-item a:hover { color: var(--gold); }

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-surface);
}
/* Gallery: CSS columns masonry — preserves mixed aspect ratios (Ray feedback 2026-04-22) */
.gallery-grid {
  columns: 1;
  column-gap: 12px;
}
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
@media (min-width: 1280px) { .gallery-grid { columns: 4; } }
@media (min-width: 1600px) { .gallery-grid { columns: 5; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  margin-bottom: 12px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }
.ref-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .ref-overlay { opacity: 1; }
.ref-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.ref-category {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 1023px) {
  .ref-overlay { opacity: 1; }
}
.gallery-item[hidden] { display: none; }
.gallery-callout {
  text-align: center;
  padding: 24px;
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  margin-bottom: 40px;
  font-size: 15px;
  color: var(--fg-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--fg); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--fg-muted);
  padding: 16px;
  transition: color 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-ref {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ============================================
   PRODUCT PAGE HERO
   ============================================ */
.product-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 0 80px;
}
.product-hero .hero-bg::after {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.7) 60%,
    var(--bg) 100%
  );
}
.product-hero h1 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 16px; }
.product-hero .lead { max-width: 600px; }

/* Product specs grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .specs-grid { grid-template-columns: repeat(6, 1fr); } }
.spec-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.spec-card img { height: 48px; margin: 0 auto 12px; }
.spec-card h4 { font-size: 14px; font-weight: 600; }

/* Brochure CTA band */
.brochure-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 48px;
  text-align: center;
}
.brochure-cta h3 { color: var(--bg); margin-bottom: 12px; }
.brochure-cta p { color: rgba(10,10,10,0.8); margin-bottom: 24px; }
.brochure-cta .btn {
  background: var(--bg);
  color: var(--gold);
}
.brochure-cta .btn:hover {
  background: var(--bg-surface);
}

/* ============================================
   ABOUT PAGE — PROCESS ACCORDION
   ============================================ */
.process-phase { margin-bottom: 24px; }
.process-phase-header {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  transition: border-color 0.2s;
}
.process-phase-header:hover { border-color: var(--gold-border); }
.process-phase-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.process-phase.open .process-phase-content { max-height: 3200px; }
.process-phase-image {
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}
.process-phase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0, 1);
}
.process-phase.open .process-phase-image img { transform: scale(1.01); }
@media (max-width: 767px) {
  .process-phase-image { aspect-ratio: 4/3; }
}
.process-step-detail {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  color: var(--fg-muted);
  background: var(--bg-surface);
}
.process-step-detail .step-num {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--fg-muted); font-size: 14px; margin-top: 16px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-subtle);
}
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 164, 93, 0.08);
  border: 1px solid rgba(200, 164, 93, 0.25);
  color: var(--gold);
  transition: all 0.25s ease;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 164, 93, 0.3);
}
.footer-social-label {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 20px 0 12px;
  font-weight: 600;
}

/* ============================================
   MOBILE STICKY BAR
   ============================================ */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  height: 56px;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.mobile-bar a:first-child { border-right: 1px solid var(--border); }
.mobile-bar a:hover { background: var(--gold-surface); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ============================================
   STORYTELLING SECTIONS (v2)
   ============================================ */

/* Warm background (cream/warm off-white chapter breaks) */
.bg-warm { background: #faf8f4; color: #1a1a1a; }
.bg-warm .eyebrow { color: var(--gold-dark); }
.bg-warm h2, .bg-warm h3, .bg-warm h4 { color: #1a1a1a; }
.bg-warm p { color: #4a4a4a; }
.bg-warm .section-sub { color: #5a5a5a; }
.bg-warm .cert-item { background: #fff; border-color: #e8e4de; }
.bg-warm .cert-item h4 { color: #1a1a1a; }
.bg-warm .cert-item p { color: #5a5a5a; }

/* Emotional italic text inline */
.em-italic { font-family: var(--display); font-style: italic; font-weight: 400; }
.em-gold { color: var(--gold); }
.em-highlight {
  background: linear-gradient(to top, rgba(200, 164, 93, 0.25) 30%, transparent 30%);
  padding: 0 4px;
}

/* Big narrative stat */
.narrative-stat {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.narrative-stat-label {
  font-size: 18px;
  color: var(--fg-muted);
  margin-top: 12px;
  max-width: 300px;
}

/* Imagine triptych */
.imagine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .imagine-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.imagine-card { text-align: center; }
.imagine-card .imagine-prefix {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.imagine-card h3 { font-size: 22px; margin-bottom: 12px; }
.imagine-card p { font-size: 15px; line-height: 1.6; }
.imagine-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 24px;
  filter: brightness(0.9);
}

/* Photo strip (horizontal scrolling on mobile) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 767px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}
.photo-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Craftsmanship / dark cinematic section */
.cinematic {
  position: relative;
  background: #050505;
  overflow: hidden;
}
.cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200, 164, 93, 0.06), transparent 70%);
  pointer-events: none;
}
.cinematic .container { position: relative; z-index: 1; }

/* Stats row (multiple counters side by side) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(3, 1fr); } }
.stat-block .stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-block .stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Video embed placeholder */
.video-placeholder {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.video-play-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.6);
  transition: all 0.3s;
}
.video-placeholder:hover .video-play-btn { background: var(--gold); }
.video-play-btn svg { color: var(--gold); transition: color 0.3s; }
.video-placeholder:hover .video-play-btn svg { color: var(--bg); }

/* Reframe section ("This isn't about...") */
.reframe-text {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
}
.reframe-text .em-italic {
  font-size: inherit;
}

/* Sticky CTA bar (replaces top bar on scroll) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--gold);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }
@media (min-width: 768px) {
  .sticky-cta { display: block; }
  .mobile-bar { display: none; }
}
@media (max-width: 767px) {
  .sticky-cta { display: none; }
}
.sticky-cta-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-cta-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
}
.sticky-cta .btn {
  background: var(--bg);
  color: var(--gold);
  padding: 10px 28px;
}
.sticky-cta .btn:hover { background: var(--bg-surface); }

/* Two-col split layout (text + image, used in warm sections) */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* Testimonial v2 (warmer, with face placeholder) */
.testimonial-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .testimonial-v2 { grid-template-columns: repeat(3, 1fr); } }
.testimonial-v2-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}
.testimonial-v2-card .stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-v2-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-v2-card .author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-v2-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-v2-card .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-v2-card .author-name { font-weight: 600; font-size: 14px; }
.testimonial-v2-card .author-location { font-size: 13px; color: var(--fg-subtle); }

.confidence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .confidence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.confidence-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}
.confidence-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: var(--gold-surface);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.confidence-card h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}
.confidence-card p:not(.eyebrow) {
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.confidence-card a {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================
   APPLICATIONS — editorial typography grid
   (bulletproof page)
   ============================================ */
.applications-section {
  padding: var(--section-pad) 0;
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(200, 164, 93, 0.04) 0%, transparent 50%),
    var(--bg);
}
.applications-header {
  max-width: 780px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  text-align: center;
}
.applications-header .eyebrow {
  margin-bottom: 18px;
}
.applications-header h2 {
  margin: 0 0 22px;
}
.applications-header-lead {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.applications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .applications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1200px) {
  .applications-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}

.application-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  padding: 40px 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.application-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 60%, transparent 100%);
  opacity: 0.55;
  transition: opacity .35s ease, left .35s ease, right .35s ease;
}
.application-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.application-card:hover::before {
  opacity: 1;
  left: 0;
  right: 0;
}

.application-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.application-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  flex: 1;
  min-width: 0;
}
.application-rating {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.application-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  color: var(--fg);
}
.application-title .em-italic {
  font-style: italic;
  display: inline;
}

.application-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin: 0 0 28px;
  flex: 1;
}

.application-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-style: italic;
  color: var(--fg-subtle);
  letter-spacing: 0.01em;
}
.application-card-foot span {
  position: relative;
}
.application-card-foot span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -12px;
  top: 0;
  color: var(--gold);
  opacity: 0.5;
  font-style: normal;
}

/* ============================================
   CLIENT REVIEWS (Google-review-style)
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.review-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.review-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.review-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.2;
}
.review-date {
  font-size: 12px;
  color: var(--fg-subtle);
  margin-top: 3px;
}
.review-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}
.review-stars .star-dim { color: rgba(200, 164, 93, 0.22); }
.review-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 18px;
  flex: 1;
}
.review-project {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.review-project::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================
   PRIVACY POLICY / TEXT PAGE
   ============================================ */
.text-page { max-width: var(--narrow-w); margin: 0 auto; }
.text-page h2 { font-size: 28px; margin: 48px 0 16px; }
.text-page h3 { font-size: 22px; margin: 32px 0 12px; }
.text-page p { color: var(--fg-muted); margin-bottom: 16px; line-height: 1.7; }
.text-page ul { padding-left: 20px; margin-bottom: 16px; }
.text-page li { color: var(--fg-muted); margin-bottom: 8px; line-height: 1.6; list-style: disc; }

/* ============================================
   BROCHURE SIDE TAB
   ============================================ */
.brochure-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.brochure-tab a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-expo);
  box-shadow: -2px 0 12px rgba(0,0,0,0.3);
}
.brochure-tab a:hover {
  padding-right: 16px;
  box-shadow: -4px 0 20px rgba(200, 164, 93, 0.4);
}
.brochure-tab svg { transform: rotate(90deg); }
@media (max-width: 767px) { .brochure-tab { display: none; } }

/* ============================================
   CONFIGURATIONS (slim-line-steel.html — cream bg variant)
   ============================================ */
.config-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.config-card {
  background: #ffffff;
  border: 1px solid #e8e4de;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.config-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}
.config-image {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1ede7;
}
.config-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.config-card:hover .config-image img { transform: scale(1.05); }
.config-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.config-index {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  margin-bottom: 14px;
  display: inline-block;
}
.config-title {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.config-copy {
  font-size: 14px;
  line-height: 1.7;
  color: #5a5a5a;
  margin: 0;
}
@media (max-width: 1023px) {
  .config-grid,
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .config-grid .config-card:last-child { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .config-grid,
  .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .config-grid .config-card:last-child { max-width: none; }
  .config-body { padding: 24px 22px 26px; }
}

/* ============================================
   APPLICATION GRID (collapsible-grilles.html)
   ============================================ */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: clamp(56px, 6vw, 80px);
}
.use-case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.use-case-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.use-case-image {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
}
.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.use-case-card:hover .use-case-image img { transform: scale(1.05); }
.use-case-body {
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.use-case-index {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}
.use-case-title {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--fg);
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.use-case-copy {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin: 0;
}
@media (max-width: 1023px) {
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .use-cases-grid { grid-template-columns: 1fr; gap: 20px; }
  .use-case-body { padding: 24px 22px 26px; }
}

/* ============================================
   EDITORIAL USE-CASES (bulletproof-doors.html)
   ============================================ */
.use-cases-editorial {
  padding: clamp(100px, 12vw, 180px) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.use-cases-editorial::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold-border));
  pointer-events: none;
}
.editorial-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(72px, 10vw, 140px);
  padding: 0 16px;
}
.editorial-intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-muted);
}
.editorial-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-bottom: clamp(96px, 12vw, 160px);
  position: relative;
}
.editorial-row:last-child { margin-bottom: 0; }
.editorial-row.reverse { grid-template-columns: 1fr 1.15fr; }
.editorial-row.reverse .editorial-image { order: 2; }
.editorial-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-surface);
}
.editorial-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5/4;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0, 1);
}
.editorial-row:hover .editorial-image img { transform: scale(1.02); }
.editorial-image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(200, 164, 93, 0.15);
  pointer-events: none;
  transition: inset 0.5s var(--ease-out);
}
.editorial-row:hover .editorial-image::after { inset: 8px; border-color: rgba(200, 164, 93, 0.35); }
/* Subtle vertical stagger for visual rhythm */
.editorial-row:nth-of-type(2n) .editorial-image { margin-top: 24px; }
.editorial-row:nth-of-type(2n+1) .editorial-image { margin-bottom: 24px; }
.editorial-content {
  padding: 0;
  position: relative;
  max-width: 540px;
}
.editorial-row.reverse .editorial-content { margin-left: auto; }
.editorial-index {
  display: block;
  font-family: var(--display);
  font-size: clamp(84px, 11vw, 144px);
  font-weight: 300;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  opacity: 0.85;
}
.editorial-kicker {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.editorial-title {
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--fg);
  margin: 0 0 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.editorial-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin: 0 0 36px;
}
.editorial-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.editorial-specs li {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  padding: 4px 20px 4px 0;
  position: relative;
}
.editorial-specs li:first-child { color: var(--gold); }
.editorial-specs li + li { padding-left: 20px; }
.editorial-specs li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .editorial-row,
  .editorial-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }
  .editorial-row.reverse .editorial-image { order: 0; }
  .editorial-row:nth-of-type(n) .editorial-image { margin-top: 0; margin-bottom: 0; }
  .editorial-content { max-width: 100%; margin-left: 0 !important; padding: 0 4px; }
  .editorial-image img { aspect-ratio: 4/3; }
  .editorial-index { margin-bottom: 16px; }
  .editorial-title { margin-bottom: 20px; }
  .editorial-body { margin-bottom: 28px; font-size: 15px; }
  .editorial-specs { gap: 8px; }
  .editorial-specs li { padding: 4px 14px 4px 0; font-size: 10px; }
  .editorial-specs li + li { padding-left: 14px; }
}

/* ============================================
   BROCHURE MODAL
   ============================================ */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.brochure-modal.open {
  display: flex;
  opacity: 1;
}
.brochure-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  max-height: 92vh;
  background: #1a1a1a;
  border: 1px solid rgba(200, 164, 93, 0.3);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.brochure-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(200, 164, 93, 0.2);
  flex-shrink: 0;
}
.brochure-modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--fg);
  margin: 0;
  letter-spacing: 0.01em;
}
.brochure-modal-title span {
  color: var(--gold);
  font-style: italic;
}
.brochure-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brochure-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(200, 164, 93, 0.35);
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.brochure-modal-btn:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}
.brochure-modal-btn svg { width: 14px; height: 14px; }
.brochure-modal-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.brochure-modal-close:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  transform: rotate(90deg);
}
.brochure-modal-iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #222;
}
.brochure-modal-loader {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #1a1a1a;
  color: var(--fg-muted);
  font-size: 13px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.brochure-modal-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.brochure-modal-loader p { margin: 0; letter-spacing: 0.05em; }
.brochure-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(200, 164, 93, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: brochure-spin 0.8s linear infinite;
}
@keyframes brochure-spin {
  to { transform: rotate(360deg); }
}
.brochure-modal-fallback {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--fg-muted);
  gap: 20px;
}
.brochure-modal-fallback.visible { display: flex; }
.brochure-modal-fallback p { margin: 0; max-width: 420px; }
body.brochure-open { overflow: hidden; }
@media (max-width: 767px) {
  .brochure-modal { padding: 0; }
  .brochure-modal-content { max-height: 100vh; height: 100vh; border-radius: 0; border: 0; }
  .brochure-modal-title { font-size: 15px; }
  .brochure-modal-btn { padding: 7px 10px; font-size: 12px; }
  .brochure-modal-btn .brochure-modal-btn-text { display: none; }
}

/* ============================================
   DOOR ANATOMY — interactive hotspots
   ============================================ */
.door-anatomy__stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 32px auto 0;
  /* Whole section fits a single viewport on desktop */
  height: min(72vh, 760px);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
/* Ambient gold glow behind the door */
.door-anatomy__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 38% 55% at 50% 50%, rgba(200, 164, 93, 0.22) 0%, rgba(200, 164, 93, 0.08) 35%, rgba(200, 164, 93, 0) 72%),
    radial-gradient(ellipse 70% 90% at 50% 55%, rgba(200, 164, 93, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.door-anatomy__doorwrap {
  position: relative;
  height: 100%;
  aspect-ratio: 673 / 1018;
  max-width: 100%;
  flex: 0 0 auto;
  z-index: 1;
}
.door-anatomy__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}
/* Connecting line — dot to card */
.door-anatomy__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}
.door-anatomy__line line {
  stroke: var(--gold, #c8a45d);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.18s ease;
  filter: drop-shadow(0 0 4px rgba(200, 164, 93, 0.55));
  /* stroke-dasharray + stroke-dashoffset set inline by JS so we can
     control transition timing without CSS/JS fighting for specificity */
}
.door-anatomy__line.visible line {
  opacity: 1;
}
.door-anatomy__dot {
  position: absolute;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  border: 2px solid var(--fg, #f5f5f7);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  z-index: 3;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.door-anatomy__dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  background: var(--fg, #f5f5f7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.door-anatomy__dot::after {
  /* pulse ring */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--gold, #c8a45d);
  opacity: 0;
  animation: anatomy-pulse 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
@keyframes anatomy-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.9); }
  100% { opacity: 0;   transform: scale(1.9); }
}
.door-anatomy__dot:hover,
.door-anatomy__dot.active {
  background: var(--gold, #c8a45d);
  border-color: var(--gold, #c8a45d);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(200, 164, 93, 0.18), 0 0 22px rgba(200, 164, 93, 0.45);
}
.door-anatomy__dot:hover::before,
.door-anatomy__dot.active::before {
  background: #0a0a0a;
}
.door-anatomy__dot:focus-visible {
  outline: 2px solid var(--gold, #c8a45d);
  outline-offset: 4px;
}

/* Popup card — always in layout, visibility flipped via .open.
   Visibility transition is delayed to match opacity fade-out so the card
   stays measurable via getBoundingClientRect at all times. */
.door-anatomy__card {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(260px, 28vw, 380px);
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid rgba(200, 164, 93, 0.25);
  border-radius: 10px;
  padding: 22px 24px 24px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.22s var(--ease-expo), transform 0.22s var(--ease-expo), visibility 0s linear 0.22s;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  will-change: opacity, transform;
}
.door-anatomy__card.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.22s var(--ease-expo), transform 0.22s var(--ease-expo), visibility 0s linear 0s;
}
.door-anatomy__card-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--fg, #f5f5f7);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.door-anatomy__card-close:hover {
  background: var(--gold, #c8a45d);
  color: #0a0a0a;
  border-color: var(--gold, #c8a45d);
}
.door-anatomy__card-img {
  width: 170px;
  height: 170px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--gold, #c8a45d);
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.6), 0 0 30px rgba(200, 164, 93, 0.15);
}
.door-anatomy__card-title {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--fg, #f5f5f7);
  letter-spacing: 0.01em;
}
.door-anatomy__card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted, rgba(245,245,247,0.72));
  margin: 0;
}

/* Mobile — card becomes a fixed bottom sheet */
@media (max-width: 767px) {
  .door-anatomy__stage {
    height: auto;
    min-height: 0;
    max-width: 100%;
    margin-top: 24px;
  }
  .door-anatomy__doorwrap {
    height: auto;
    max-height: 62vh;
    width: auto;
    max-width: 360px;
  }
  .door-anatomy__doorwrap .door-anatomy__img {
    position: static;
    width: 100%;
    height: auto;
  }
  .door-anatomy__line { display: none; }
  .door-anatomy__dot { width: 22px; height: 22px; }
  .door-anatomy__dot::before { width: 6px; height: 6px; }
  .door-anatomy__card {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    top: auto;
    width: auto;
    max-width: none;
    transform: translateY(100%);
    border-radius: 14px;
    z-index: 10000;
  }
  .door-anatomy__card.open { transform: none; }
  .door-anatomy__card-img { width: 120px; height: 120px; margin-bottom: 12px; }
}

/* Reduced motion — kill the pulse */
@media (prefers-reduced-motion: reduce) {
  .door-anatomy__dot::after { animation: none; opacity: 0; }
}

/* ============================================
   MANUFACTURING VIDEO
   ============================================ */
.mfg-video__embed {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 6px 16px rgba(0, 0, 0, 0.35);
}
.mfg-video__embed video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 767px) {
  .mfg-video__embed { border-radius: 8px; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   OUR PROCESS v2 — Editorial timeline: alternating rows,
   big numerals, landscape images, progressive scroll-reveal.
   Added 2026-04-24 (round 3 redesign after audit).
   ============================================================ */
.rs-process-v2__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.rs-process-v2__intro .eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.rs-process-v2__intro h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.rs-process-v2__lede {
  color: var(--fg-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

.rs-process-v2__phases {
  margin-top: clamp(80px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 140px);
}

/* ===== PHASE HERO ===== */
.rs-phase-v2 {
  position: relative;
}
.rs-phase-v2__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-top: 1px solid rgba(200, 164, 93, 0.22);
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 768px) {
  .rs-phase-v2__hero {
    grid-template-columns: auto 1fr;
    gap: clamp(32px, 5vw, 72px);
  }
}
.rs-phase-v2__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(96px, 14vw, 180px);
  font-weight: 200;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.04em;
  opacity: 0.92;
  user-select: none;
}
.rs-phase-v2__label {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 600;
}
.rs-phase-v2__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.rs-phase-v2__lede {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
}

/* ===== STEP LIST ===== */
.rs-phase-v2__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
}

/* ===== INDIVIDUAL STEP ===== */
.rs-tstep {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .rs-tstep {
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 88px);
  }
  .rs-tstep--flip .rs-tstep__media {
    order: 2;
  }
}

.rs-tstep__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-surface);
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 164, 93, 0.15);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}
.rs-tstep:hover .rs-tstep__media {
  transform: translateY(-4px);
  box-shadow: 0 38px 90px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200, 164, 93, 0.35);
}
.rs-tstep__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rs-tstep:hover .rs-tstep__media img {
  transform: scale(1.04);
}

.rs-tstep__body {
  position: relative;
  padding: 4px 0;
}
.rs-tstep__num {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 200;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  opacity: 0.85;
  user-select: none;
}
.rs-tstep__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.rs-tstep__copy {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

/* Vertical connector line + dot between consecutive steps */
.rs-tstep {
  position: relative;
}
.rs-tstep:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1 * clamp(56px, 7vw, 96px) / 2 - 8px);
  width: 1px;
  height: calc(clamp(56px, 7vw, 96px) / 2 + 8px);
  background: linear-gradient(to bottom, rgba(200, 164, 93, 0.4), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}
.rs-tstep:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1 * clamp(56px, 7vw, 96px) / 2 - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ===== OUTRO ===== */
.rs-process-v2__outro {
  text-align: center;
  margin-top: clamp(80px, 10vw, 120px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(200, 164, 93, 0.22);
}

/* ===== SCROLL REVEAL ===== */
/* Default: visible. JS adds .sr-pending to hide, then IntersectionObserver removes it.
   This way, if JS fails or fires late, content is always visible (progressive enhancement). */
.sr-step {
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.sr-step.sr-pending {
  opacity: 0;
  transform: translateY(28px);
}
.sr-step.sr-pending .rs-tstep__media {
  transform: scale(0.97);
}
@media (prefers-reduced-motion: reduce) {
  .sr-step, .sr-step.sr-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sr-step.sr-pending .rs-tstep__media { transform: none; }
}

/* =============================================================
   About Us — Our Process accordion (Ray Round 2 R4 / 2026-05-22)
   3 collapsed bars, click-to-expand. Replaces the 16-step layout.
   ============================================================= */
.process-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.process-accordion__item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.process-accordion__item[open] {
  background: #0a0a0a;
  border-color: var(--gold-border, var(--gold));
}
.process-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.process-accordion__summary::-webkit-details-marker { display: none; }
.process-accordion__summary::marker { display: none; }
.process-accordion__item[open] .process-accordion__summary {
  color: var(--gold);
}
.process-accordion__title {
  flex: 1;
  min-width: 0;
}
.process-accordion__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.process-accordion__icon::before,
.process-accordion__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform 0.3s ease;
}
.process-accordion__icon::before {
  width: 16px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.process-accordion__icon::after {
  width: 1.5px;
  height: 16px;
  transform: translate(-50%, -50%);
}
.process-accordion__item[open] .process-accordion__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.process-accordion__body {
  padding: 0 28px 28px;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 720px;
}
.process-accordion__item[open] .process-accordion__body p {
  color: var(--fg-muted);
}

/* =============================================================
   Security Doors — 4-step Planning Process (Ray Round 2 R11 / 2026-05-22)
   Restored from rsecure.co.uk WP layout. Photo boxes + connector arrows.
   ============================================================= */
.planning-process__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.planning-process__step {
  flex: 1 1 180px;
  max-width: 220px;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.planning-process__img-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.planning-process__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.planning-process__step figcaption {
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.planning-process__arrow {
  flex: 0 0 32px;
  color: var(--gold);
  opacity: 0.65;
  display: flex;
  align-items: center;
  justify-content: center;
}
.planning-process__arrow svg {
  width: 32px;
  height: 16px;
}
@media (max-width: 760px) {
  .planning-process__row { flex-direction: column; gap: 16px; }
  .planning-process__step { max-width: 320px; width: 100%; }
  .planning-process__arrow { transform: rotate(90deg); flex: 0 0 24px; }
}

/* =============================================================
   Shutters — Wide RAL Colour Range animated fan (Ray Round 2 R16 / 2026-05-22)
   Two stacked images: closed pamphlet morphs to open fan on scroll-in / hover.
   ============================================================= */
.ral-fan {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  isolation: isolate;
}
.ral-fan__img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  border-radius: 8px;
  display: block;
}
.ral-fan__img--closed {
  opacity: 1;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ral-fan__img--open {
  opacity: 0;
  transform: scale(0.92) rotate(-4deg);
  transform-origin: center bottom;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ral-fan.is-open .ral-fan__img--closed { opacity: 0; }
.ral-fan.is-open .ral-fan__img--open   { opacity: 1; transform: scale(1) rotate(0); }
.ral-fan:hover .ral-fan__img--closed   { opacity: 0; }
.ral-fan:hover .ral-fan__img--open     { opacity: 1; transform: scale(1) rotate(0); }
@media (prefers-reduced-motion: reduce) {
  .ral-fan__img--closed, .ral-fan__img--open { transition: none; }
}
