@import url('fonts/fonts.css');

:root {
  /* 1 unit = 1px in the 1024x576 reference canvas, scaling fluidly */
  --canvas-w: 1024px;
  --u: calc(100vw / 1024);
  --color-maroon: #5E0E17;
  --color-maroon-dark: #49040D;
  --color-maroon-hover: #72121D;
  --color-bg-cream: #FCF3EC;
  --color-gold: #BBA382;
  --color-text-dark: #1D1715;
  --color-text-subtle: #2D2520;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #FAF4EC;
  color: #1D1715;
  font-family: 'Lora', 'Cormorant Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom refined scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F3E9DF;
}
::-webkit-scrollbar-thumb {
  background: #C4AF9B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5E0E17;
}

.page-canvas {
  position: relative;
  width: calc(1024 * var(--u));
  height: calc(4295 * var(--u));
  margin: 0 auto;
  background-color: #FCF3EC;
  overflow: hidden;
}

/* ==========================================
   TOP NAVBAR (y = 0..45)
   ========================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(45 * var(--u));
  background-color: #FAF4EC;
  z-index: 25;
}

/* Nav Item Link */
.nav-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: calc(13.6 * var(--u));
  line-height: 1;
  color: #231815;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.22s ease, transform 0.22s ease;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nav-item:hover {
  color: #5E0E17;
  transform: translateY(calc(-50% - 1px));
}

.nav-item.active {
  color: #5E0E17;
  font-weight: 700;
}

/* Specific item horizontal positions */
#navLinkHome {
  left: calc(36 * var(--u));
}

#navLinkDoc {
  left: calc(144 * var(--u));
}

#navLinkProblem {
  left: calc(762 * var(--u));
}

#navLinkSolution {
  left: calc(886 * var(--u));
}

/* Maroon Active Underline Bar under Home */
.nav-active-bar {
  position: absolute;
  bottom: calc(-8 * var(--u));
  left: 0;
  width: 100%;
  height: calc(2 * var(--u));
  background-color: #5E0E17;
  border-radius: 1px;
}

/* Vertical Hairline Dividers */
.nav-divider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: calc(17 * var(--u));
  background-color: #DECFC0;
}

.nav-div-1 {
  left: calc(118 * var(--u));
}

.nav-div-2 {
  left: calc(734 * var(--u));
}

.nav-div-3 {
  left: calc(858 * var(--u));
}

/* Centered Brand Logo */
.brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.brand-logo:hover {
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(1.02);
}

.brand-emblem {
  width: calc(21 * var(--u));
  height: calc(21 * var(--u));
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: calc(24 * var(--u));
  line-height: 1;
  letter-spacing: calc(-0.4 * var(--u));
  color: #5E0E17;
}

/* ==========================================
   HERO SECTION (y = 45..473)
   ========================================== */
.hero {
  position: absolute;
  top: calc(45 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(428 * var(--u));
  background-image: url('hero-bg-ultra-hd.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  z-index: 10;
}

/* Eyebrow */
.hero-eyebrow {
  position: absolute;
  top: calc(48 * var(--u));
  left: calc(24 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
}

.hero-eyebrow-line {
  width: calc(26 * var(--u));
  height: calc(1 * var(--u));
  background-color: #BBA382;
}

.hero-eyebrow-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: calc(6.35 * var(--u));
  line-height: 1;
  letter-spacing: calc(1.52 * var(--u));
  color: #887766;
  text-transform: uppercase;
}

/* Hero Main Heading */
.hero-title {
  position: absolute;
  top: calc(63 * var(--u));
  left: calc(24 * var(--u));
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: calc(47.2 * var(--u));
  line-height: calc(48.2 * var(--u));
  letter-spacing: calc(-0.55 * var(--u));
}

.hero-title-line1 {
  display: block;
  color: #1D1715;
}

.hero-title-line2 {
  display: block;
  color: #5E0E17;
  margin-top: calc(0.5 * var(--u));
}

/* Hero Subtitle Paragraph */
.hero-description {
  position: absolute;
  top: calc(173.5 * var(--u));
  left: calc(24 * var(--u));
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: calc(13.35 * var(--u));
  line-height: calc(18.6 * var(--u));
  letter-spacing: calc(-0.08 * var(--u));
  color: #2B241F;
  white-space: nowrap;
}

/* Hero CTA Buttons */
.hero-actions {
  position: absolute;
  top: calc(242 * var(--u));
  left: calc(24 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(15 * var(--u));
}

.btn-hero-primary {
  width: calc(148 * var(--u));
  height: calc(36 * var(--u));
  border-radius: calc(999 * var(--u));
  background: linear-gradient(180deg, #680A16 0%, #4B040D 100%);
  color: #FAF3EB;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: calc(10.8 * var(--u));
  letter-spacing: calc(0.05 * var(--u));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(9 * var(--u));
  box-shadow: 0 calc(3 * var(--u)) calc(8 * var(--u)) rgba(75, 4, 13, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(calc(-1.5 * var(--u)));
  box-shadow: 0 calc(5 * var(--u)) calc(12 * var(--u)) rgba(75, 4, 13, 0.3);
  filter: brightness(1.08);
}

.btn-hero-primary svg {
  width: calc(9.5 * var(--u));
  height: calc(9.5 * var(--u));
  margin-top: calc(1 * var(--u));
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover svg {
  transform: translateX(calc(2 * var(--u)));
}

.btn-hero-secondary {
  width: calc(150 * var(--u));
  height: calc(36 * var(--u));
  border-radius: calc(999 * var(--u));
  border: calc(1 * var(--u)) solid #4A2B28;
  background-color: rgba(251, 243, 233, 0.42);
  color: #271715;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: calc(10.8 * var(--u));
  letter-spacing: calc(0.05 * var(--u));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8.5 * var(--u));
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background-color: rgba(251, 243, 233, 0.75);
  border-color: #5E0E17;
  color: #5E0E17;
  transform: translateY(calc(-1.5 * var(--u)));
}

.btn-hero-secondary svg {
  width: calc(15.5 * var(--u));
  height: calc(14 * var(--u));
  color: #5C141C;
  flex-shrink: 0;
}

/* Hero Trust Badges Row (Hidden to match minimal reference layout) */
.hero-badges {
  display: none;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: calc(9.5 * var(--u));
  transition: transform 0.2s ease;
}

.badge-item:hover {
  transform: translateY(calc(-1 * var(--u)));
}

.badge-item-1 {
  width: calc(109 * var(--u));
}

.badge-item-2 {
  width: calc(128 * var(--u));
  padding-left: calc(22 * var(--u));
}

.badge-item-3 {
  padding-left: calc(22 * var(--u));
}

.badge-divider {
  width: calc(1 * var(--u));
  height: calc(23 * var(--u));
  background-color: #D7C9B9;
  flex-shrink: 0;
}

.badge-icon {
  color: #4D2F23;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-shield svg {
  width: calc(19 * var(--u));
  height: calc(21 * var(--u));
}

.badge-icon-users svg {
  width: calc(24 * var(--u));
  height: calc(20 * var(--u));
}

.badge-icon-book svg {
  width: calc(21 * var(--u));
  height: calc(19 * var(--u));
}

.badge-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: calc(10.5 * var(--u));
  line-height: calc(11.6 * var(--u));
  color: #342A24;
  white-space: nowrap;
}

/* ========================================================

   UNIFIED SECTION: THE PROBLEM (y = 438..971, height: 533)

   ======================================================== */

.problem-unified-section {

  position: absolute;

  top: calc(438 * var(--u));

  left: 0;

  width: calc(1024 * var(--u));

  height: calc(533 * var(--u));

  background-color: #FAF4EC;

  background-image: url('crafts/problem_unified_bg_hd.png');

  background-repeat: no-repeat;

  background-position: center top;

  background-size: cover;

  z-index: 15;

  box-sizing: border-box;

  overflow: hidden;

}



/* Eyebrow */
.problem-unified-eyebrow {
  position: absolute;
  top: calc(46 * var(--u));
  left: calc(24 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.problem-unified-eyebrow .problem-eyebrow-line {
  width: calc(24 * var(--u));
  height: calc(1.2 * var(--u));
  background-color: #B49E84;
}

.problem-unified-eyebrow .problem-eyebrow-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: calc(7.5 * var(--u));
  line-height: 1;
  letter-spacing: calc(1.6 * var(--u));
  color: #6B4949;
  text-transform: uppercase;
}

/* Header Row */
.problem-header-row {
  position: absolute;
  top: calc(74 * var(--u));
  left: calc(24 * var(--u));
  width: calc(976 * var(--u));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.problem-unified-heading {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: calc(28 * var(--u));
  line-height: calc(34 * var(--u));
  letter-spacing: calc(-0.4 * var(--u));
  color: #1D1815;
  flex-shrink: 0;
}

.problem-unified-heading .prob-line {
  display: block;
}

.problem-unified-heading .highlight-maroon {
  color: #5E1119;
}

.problem-header-divider {
  width: 1px;
  height: calc(72 * var(--u));
  background-color: #CBB7A4;
  margin: 0 calc(32 * var(--u)) 0 calc(36 * var(--u));
  flex-shrink: 0;
}

.problem-unified-summary {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: calc(14.8 * var(--u));
  line-height: calc(22 * var(--u));
  letter-spacing: calc(0.15 * var(--u));
  color: #2E2520;
  max-width: calc(380 * var(--u));
}

/* 3 Problem Cards Row */
.problem-cards-row {
  position: absolute;
  top: calc(236 * var(--u));
  left: calc(24 * var(--u));
  width: calc(976 * var(--u));
  display: flex;
  gap: calc(18 * var(--u));
  align-items: stretch;
}

.problem-card-item {
  position: relative;
  flex: 1;
  min-width: 0;
  height: calc(228 * var(--u));

  background-color: #FAF4EC;

  border: calc(1 * var(--u)) solid #E3D2C0;

  border-radius: calc(14 * var(--u));

  padding: calc(22 * var(--u)) calc(20 * var(--u));

  box-sizing: border-box;

  background-repeat: no-repeat;

  background-position: right bottom;

  background-size: cover;

  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(94, 17, 25, 0.04);

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;

  cursor: pointer;

  overflow: hidden;

}



.problem-card-item:hover {

  transform: translateY(calc(-6 * var(--u)));

  box-shadow: 0 calc(16 * var(--u)) calc(32 * var(--u)) rgba(94, 17, 25, 0.12), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(94, 17, 25, 0.06);

  border-color: rgba(94, 17, 25, 0.4);

}



.problem-card-item-1 {

  background-image: url('crafts/card1_hd.png');

}



.problem-card-item-2 {

  background-image: url('crafts/card2_hd.png');

}



.problem-card-item-3 {

  background-image: url('crafts/card3_hd.png');

}



.card-gap-badge {

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  font-weight: 700;

  font-size: calc(8.5 * var(--u));

  line-height: 1;

  letter-spacing: calc(0.5 * var(--u));

  color: #5E1119;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: calc(3 * var(--u)) calc(8 * var(--u));

  border: calc(1 * var(--u)) solid rgba(94, 17, 25, 0.45);

  border-radius: calc(999 * var(--u));

  background: rgba(94, 17, 25, 0.05);

}



.card-gap-title {

  margin-top: calc(12 * var(--u));

  font-family: 'Playfair Display', Georgia, serif;

  font-weight: 700;

  font-size: calc(17 * var(--u));

  line-height: calc(20 * var(--u));

  letter-spacing: calc(-0.25 * var(--u));

  color: #1D1815;

}



.card-gap-title-1line {

  margin-bottom: calc(20 * var(--u));

}



.card-gap-line {

  display: block;

  width: calc(28 * var(--u));

  height: calc(1.2 * var(--u));

  background-color: #B49E84;

  margin-top: calc(10 * var(--u));

  margin-bottom: calc(10 * var(--u));

}



.card-gap-desc {

  font-family: 'Cormorant Garamond', Georgia, serif;

  font-weight: 600;

  font-size: calc(12.6 * var(--u));

  line-height: calc(17 * var(--u));

  color: #4A3C33;

  max-width: calc(165 * var(--u));

}

/* ==========================================
   INTERACTIVE VERIFICATION & SEARCH MODALS
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 15, 12, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #FCF8F2;
  border: 1px solid #D6C2AB;
  border-radius: 18px;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(35, 10, 8, 0.3);
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #EFE3D5;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5E0E17;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.modal-close:hover {
  background: #5E0E17;
  color: #FFF;
  transform: scale(1.08);
}

.modal-header {
  border-bottom: 1px solid #E4D2C0;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.modal-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #5E0E17;
  text-transform: uppercase;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #1D1815;
  margin-top: 4px;
}

.cert-card {
  background: #FFF;
  border: 1px solid #E2D5C7;
  border-radius: 12px;
  padding: 20px;
  margin-top: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EBF7EC;
  color: #26682D;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(38, 104, 45, 0.2);
}

.cert-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #EDE1D2;
  font-size: 13px;
  gap: 16px;
}

.cert-row:last-child {
  border-bottom: none;
}

.cert-label {
  color: #7A695C;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  flex-shrink: 0;
}

.cert-value {
  color: #1D1815;
  font-weight: 600;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  text-align: right;
}

.cert-seal {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #EAD8C7;
  font-size: 11px;
  color: #8C7868;
}

/* Search input styling */
.search-modal-box {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #D6C2AB;
  background: #FFF;
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #1D1815;
  outline: none;
}

.search-input:focus {
  border-color: #5E0E17;
  box-shadow: 0 0 0 3px rgba(94, 14, 23, 0.12);
}

.search-submit-btn {
  padding: 12px 22px;
  background: #5E0E17;
  color: #FFF;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-submit-btn:hover {
  background: #73121D;
}

.popular-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  background: #EFE4D6;
  border-radius: 999px;
  font-size: 11.5px;
  font-family: 'Inter', sans-serif;
  color: #4A3A2F;
  text-decoration: none;
  transition: all 0.2s;
}

.chip:hover {
  background: #5E0E17;
  color: #FFF;
}

/* ==========================================

   SECTION 4: OUR SOLUTION (y = 971..1547, height: 576)

   ========================================== */

.solution-section {

  position: absolute;

  top: calc(971 * var(--u));

  left: 0;

  width: calc(1024 * var(--u));

  height: calc(576 * var(--u));

  background-image: url('crafts/solution_bg_hd.png');

  background-repeat: no-repeat;

  background-position: center top;

  background-size: 100% 100%;

  background-color: #FAF4EC;

  z-index: 10;

  box-sizing: border-box;

  overflow: hidden;

}



.solution-eyebrow {

  position: absolute;

  top: calc(64 * var(--u));
  left: calc(24 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
}

.solution-eyebrow-line {
  width: calc(26 * var(--u));
  height: calc(1 * var(--u));
  background-color: #BFA68A;
}

.solution-eyebrow-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: calc(7 * var(--u));
  line-height: 1;
  letter-spacing: calc(1.5 * var(--u));
  color: #8C6845;
  text-transform: uppercase;
}

.solution-heading {
  position: absolute;
  top: calc(88 * var(--u));
  left: calc(24 * var(--u));
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: calc(30 * var(--u));
  line-height: calc(34 * var(--u));
  letter-spacing: calc(-0.45 * var(--u));
}

.solution-heading-line1 {
  display: block;
  color: #1D1815;
}

.solution-heading-line2 {
  display: block;
  color: #5E0E17;
}

.solution-description {
  position: absolute;
  top: calc(165 * var(--u));
  left: calc(24 * var(--u));
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: calc(12.5 * var(--u));
  line-height: calc(17 * var(--u));
  letter-spacing: calc(-0.04 * var(--u));
  color: #4A3C33;

}



/* Quote box rendered directly into background */

.solution-quote {

  display: none;

}



/* 5 Process Step Badges (Floating round vector badges above cards) */

.step-badge {

  position: absolute;

  top: calc(237 * var(--u));

  width: calc(40 * var(--u));

  height: calc(40 * var(--u));

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 30;

  cursor: pointer;

  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.28s ease;

}



.step-badge:hover {

  transform: translateY(calc(-4 * var(--u))) scale(1.1);

}



.step-badge-1 {
  left: calc(95 * var(--u));
  background: radial-gradient(circle, #6B111B 0%, #4B060F 100%);
  border: calc(2.5 * var(--u)) solid #FAF4EC;
  box-shadow: 0 0 0 calc(3.5 * var(--u)) rgba(228, 206, 190, 0.65), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(94, 14, 23, 0.3);
}

.step-badge-1 svg {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

.step-badge-2 {
  left: calc(294 * var(--u));
  background: radial-gradient(circle, #FFFDFB 0%, #F5ECE0 100%);
  border: calc(2.5 * var(--u)) solid #FAF4EC;
  box-shadow: 0 0 0 calc(3.5 * var(--u)) rgba(235, 218, 204, 0.65), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(60, 40, 30, 0.1);
}

.step-badge-2 svg {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

.step-badge-3 {
  left: calc(493 * var(--u));
  background: radial-gradient(circle, #FFFDFB 0%, #F5ECE0 100%);
  border: calc(2.5 * var(--u)) solid #FAF4EC;
  box-shadow: 0 0 0 calc(3.5 * var(--u)) rgba(235, 218, 204, 0.65), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(60, 40, 30, 0.1);
}

.step-badge-3 svg {
  width: calc(19 * var(--u));
  height: calc(19 * var(--u));
}

.step-badge-4 {
  left: calc(692 * var(--u));
  background: radial-gradient(circle, #FFFDFB 0%, #F5ECE0 100%);
  border: calc(2.5 * var(--u)) solid #FAF4EC;
  box-shadow: 0 0 0 calc(3.5 * var(--u)) rgba(235, 218, 204, 0.65), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(60, 40, 30, 0.1);
}

.step-badge-4 svg {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

.step-badge-5 {
  left: calc(891 * var(--u));
  background: radial-gradient(circle, #FFFDFB 0%, #F5ECE0 100%);
  border: calc(2.5 * var(--u)) solid #FAF4EC;
  box-shadow: 0 0 0 calc(3.5 * var(--u)) rgba(235, 218, 204, 0.65), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(60, 40, 30, 0.1);
}

.step-badge-5 svg {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

/* 5 Process Step Cards */
.step-card {
  position: absolute;
  top: calc(257 * var(--u));
  width: calc(182 * var(--u));
  height: calc(236 * var(--u));
  background-color: #FAF4EC;
  border: calc(1 * var(--u)) solid #E8DDD2;
  border-radius: calc(14 * var(--u));
  padding: calc(20 * var(--u)) calc(12 * var(--u)) calc(10 * var(--u)) calc(12 * var(--u));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  cursor: pointer;
  z-index: 20;
}

.step-card:hover {
  transform: translateY(calc(-6 * var(--u)));
  box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) rgba(94, 17, 25, 0.12), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(94, 17, 25, 0.05);
  border-color: rgba(94, 17, 25, 0.35);
}

.step-card-1 { left: calc(24 * var(--u)); }
.step-card-2 { left: calc(223 * var(--u)); }
.step-card-3 { left: calc(422 * var(--u)); }
.step-card-4 { left: calc(621 * var(--u)); }
.step-card-5 { left: calc(820 * var(--u)); }



.step-card-content {

  display: flex;

  flex-direction: column;

}



.step-num {

  font-family: 'Playfair Display', Georgia, serif;

  font-weight: 700;

  font-size: calc(9 * var(--u));

  line-height: 1;

  color: #8C6845;

  margin-bottom: calc(2 * var(--u));

}



.step-title {

  font-family: 'Playfair Display', Georgia, serif;

  font-weight: 700;

  font-size: calc(17 * var(--u));

  line-height: calc(19 * var(--u));

  letter-spacing: calc(-0.3 * var(--u));

  color: #1D1815;

  margin-bottom: calc(4 * var(--u));

}



.step-line {

  display: block;

  width: calc(22 * var(--u));

  height: calc(1.2 * var(--u));

  background-color: #B49E84;

  margin-bottom: calc(7 * var(--u));

}



.step-desc {

  font-family: 'Cormorant Garamond', Georgia, serif;

  font-weight: 600;

  font-size: calc(9.8 * var(--u));

  line-height: calc(12.8 * var(--u));

  letter-spacing: calc(-0.02 * var(--u));

  color: #4A3C33;

}



.step-photo-wrap {

  position: relative;

  width: 100%;

  height: calc(78 * var(--u));

  border-radius: calc(10 * var(--u));

  overflow: hidden;

  margin-top: calc(8 * var(--u));

}



.step-photo {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

}



.step-arrow-btn {

  position: absolute;

  right: calc(6 * var(--u));

  bottom: calc(6 * var(--u));

  width: calc(22 * var(--u));

  height: calc(22 * var(--u));

  border-radius: 50%;

  background-color: #FFFFFF;

  border: none;

  box-shadow: 0 calc(2 * var(--u)) calc(5 * var(--u)) rgba(0, 0, 0, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #7B4E34;

  cursor: pointer;

  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;

}



.step-card:hover .step-arrow-btn {

  transform: scale(1.1);

  background-color: #5E0E17;

  color: #FFFFFF;

}



.step-arrow-btn svg {

  width: calc(10 * var(--u));

  height: calc(10 * var(--u));

}

/* ==========================================
   SECTION: THE CERTIFICATE (y = 1547..2123, height: 576)
   ========================================== */
.certificate-section {
  position: absolute;
  top: calc(1547 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(576 * var(--u));
  background-image: url('crafts/certificate_bg_hd_clean.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: visible;
  z-index: 10;
}

/* Section Header (Top Center) */
.cert-section-header {
  position: absolute;
  top: calc(32 * var(--u));
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 6;
  pointer-events: none;
}

.cert-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  margin-bottom: calc(6 * var(--u));
}

.cert-eyebrow-line {
  width: calc(30 * var(--u));
  height: 1px;
  background-color: #CBB7A4;
}

.cert-eyebrow-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(7 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1.8 * var(--u));
  color: #7D6B5E;
  text-transform: uppercase;
}

.cert-headline {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(27 * var(--u));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: calc(-0.3 * var(--u));
  color: #1D1815;
}

.cert-headline .cert-accent {
  color: #5E0E17;
}

.cert-subtitle {
  margin: calc(7 * var(--u)) 0 0 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(8.6 * var(--u));
  line-height: 1.5;
  color: #5A4A3E;
  max-width: calc(520 * var(--u));
}

/* SVG Connector Arrows Layer */
.cert-connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

.cert-arrow-path {
  stroke: #7A1822;
  stroke-width: 1.4px;
  stroke-dasharray: 4, 3;
  fill: none;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.cert-arrow-path.active-arrow {
  stroke: #5E0E17;
  stroke-width: 2.2px;
  filter: drop-shadow(0 0 3px rgba(94, 14, 23, 0.4));
}

/* Central Certificate Card Container */
.cert-card-container {
  position: absolute;
  top: calc(146 * var(--u));
  left: calc(286 * var(--u));
  width: calc(452 * var(--u));
  height: calc(304 * var(--u));
  background: transparent;
  border: none;
  box-shadow: 0 calc(12 * var(--u)) calc(36 * var(--u)) rgba(70, 45, 30, 0.15),
              0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(70, 45, 30, 0.08);
  border-radius: calc(4 * var(--u));
  box-sizing: border-box;
  z-index: 8;
  padding: 0;
  display: block;
}

.cert-card-exact-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  border-radius: calc(4 * var(--u));
  pointer-events: none;
}

/* Interactive Hotspot Targets over Certificate Fields */
.cert-hotspot {
  position: absolute;
  cursor: pointer;
  border-radius: calc(4 * var(--u));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9;
  box-sizing: border-box;
}

.cert-hotspot:hover,
.cert-hotspot.active-target,
.cert-hotspot.active-target-glow {
  background-color: rgba(94, 14, 23, 0.08);
  box-shadow: 0 0 calc(8 * var(--u)) rgba(94, 14, 23, 0.28);
  border: 1px solid rgba(94, 14, 23, 0.4);
}

.cert-field-illuminated {
  animation: fieldFlash 0.6s ease-out;
}

@keyframes fieldFlash {
  0% {
    background-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 calc(10 * var(--u)) rgba(212, 175, 55, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.8);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
    border: 1px solid transparent;
  }
}

/* ==========================================
   6 SURROUNDING DETAIL CALLOUT BOXES
   ========================================== */
.cert-callout-box {
  position: absolute;
  background: #FFFDF9;
  border: 1px solid rgba(220, 205, 190, 0.85);
  border-radius: calc(12 * var(--u));
  box-shadow: 0 calc(3 * var(--u)) calc(12 * var(--u)) rgba(90, 60, 40, 0.05);
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--u));
  z-index: 9;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-callout-box:hover,
.cert-callout-box.active-highlight {
  transform: translateY(calc(-3 * var(--u)));
  box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(94, 14, 23, 0.12), 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(94, 14, 23, 0.06);
  border-color: rgba(94, 14, 23, 0.45);
}

.callout-icon-badge {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  border-radius: 50%;
  background: #5E0E17;
  color: #FAF4ED;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.25s ease;
}

.cert-callout-box:hover .callout-icon-badge {
  transform: scale(1.1);
  background: #781520;
}

.callout-icon-badge svg {
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
}

.callout-content {
  flex: 1;
  min-width: 0;
}

.callout-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(12 * var(--u));
  font-weight: 700;
  color: #5E0E17;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.callout-desc {
  margin: calc(4 * var(--u)) 0 0 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(7.8 * var(--u));
  line-height: 1.45;
  color: #5A483E;
}

/* Exact Individual Positions matching reference and preventing edge clipping */
.callout-craft {
  top: calc(148 * var(--u));
  left: calc(32 * var(--u));
  width: calc(214 * var(--u));
}

.callout-artisan {
  top: calc(282 * var(--u));
  left: calc(32 * var(--u));
  width: calc(214 * var(--u));
}

.callout-origin {
  top: calc(148 * var(--u));
  right: calc(32 * var(--u));
  width: calc(214 * var(--u));
}

.callout-cert-id {
  top: calc(282 * var(--u));
  right: calc(32 * var(--u));
  width: calc(214 * var(--u));
}

.callout-status {
  top: calc(412 * var(--u));
  right: calc(32 * var(--u));
  width: calc(220 * var(--u));
}

.callout-qr {
  top: calc(468 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  width: calc(330 * var(--u));
}

.callout-qr:hover,
.callout-qr.active-highlight {
  transform: translate(-50%, calc(-3 * var(--u)));
}

/* ==========================================
   SECTION 5: CRAFTS & MATERIALS (y = 2123..2699, height: 576)
   ========================================== */
.crafts-section {
  position: absolute;
  top: calc(2123 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(576 * var(--u));
  background-image: url('crafts/crafts_bg_hd.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  z-index: 10;
}

/* Header */
.crafts-header {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(77 * var(--u));
  z-index: 5;
}

.crafts-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-bottom: calc(8 * var(--u));
}

.eyebrow-line {
  width: calc(18 * var(--u));
  height: 1px;
  background: #8C7E75;
}

.eyebrow-text {
  font-family: 'Cinzel', serif;
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8C7E75;
}

.crafts-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(32 * var(--u));
  font-weight: 700;
  line-height: 1.08;
  color: #1D1715;
  margin-bottom: calc(10 * var(--u));
}

.crafts-title-accent {
  color: #5E1119;
}

.crafts-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: calc(11 * var(--u));
  font-weight: 400;
  line-height: 1.5;
  color: #6E625A;
  max-width: calc(340 * var(--u));
}

/* 5 Category Filter Pills (Top-Right) */
.crafts-filter-chips {
  position: absolute;
  right: calc(24 * var(--u));
  top: calc(90 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  z-index: 5;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--u));
  padding: calc(5 * var(--u)) calc(12 * var(--u));
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #D6CBC1;
  color: #3C322C;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: calc(10.5 * var(--u));
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip .chip-icon svg {
  width: calc(12.5 * var(--u));
  height: calc(12.5 * var(--u));
  display: block;
}

.filter-chip.active {
  background: #5E1119;
  border-color: #5E1119;
  color: #FFFFFF;
}

.filter-chip:not(.active):hover {
  background: #FAF4EC;
  border-color: #5E1119;
  color: #5E1119;
}

/* Left Vertical Stepper */
.crafts-stepper {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(248 * var(--u));
  z-index: 5;
}

.stepper-line {
  position: absolute;
  left: calc(3.5 * var(--u));
  top: calc(8 * var(--u));
  bottom: calc(8 * var(--u));
  width: 1px;
  background: #DFD7CF;
}

.stepper-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
  position: relative;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.stepper-bullet {
  width: calc(8 * var(--u));
  height: calc(8 * var(--u));
  border-radius: 50%;
  border: 1.5px solid #8C7E75;
  background: #FAF4EC;
  transition: all 0.2s ease;
  z-index: 2;
}

.stepper-num {
  font-family: 'Cinzel', serif;
  font-size: calc(11 * var(--u));
  font-weight: 600;
  color: #8C7E75;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.stepper-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(12.5 * var(--u));
  font-weight: 500;
  color: #6E625A;
  transition: all 0.2s ease;
}

.stepper-item:hover .stepper-name {
  color: #5E1119;
}

.stepper-item.active .stepper-bullet {
  background: #5E1119;
  border-color: #5E1119;
  transform: scale(1.1);
}

.stepper-item.active .stepper-num {
  color: #5E1119;
  font-weight: 700;
}

.stepper-item.active .stepper-name {
  color: #5E1119;
  font-weight: 700;
}

/* Center Craft Showcase Container */
.craft-showcase-container {
  position: absolute;
  left: calc(160 * var(--u));
  top: calc(226 * var(--u));
  width: calc(416 * var(--u));
  height: calc(279 * var(--u));
  z-index: 5;
}

.craft-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: calc(12 * var(--u));
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(50, 30, 20, 0.12);
}

.craft-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Slider Nav Arrows (Inside Photo, Bottom-Left) - Removed as requested */
.craft-slider-nav {
  display: none !important;
  position: absolute;
  left: calc(14 * var(--u));
  bottom: calc(14 * var(--u));
  gap: calc(8 * var(--u));
  z-index: 6;
}

.slider-btn {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.slider-btn svg {
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
}

.slider-prev {
  background: rgba(255, 255, 255, 0.95);
  color: #3C322C;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.slider-prev:hover {
  background: #FFFFFF;
  transform: scale(1.05);
}

.slider-next {
  background: #5E1119;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(94, 17, 25, 0.35);
}

.slider-next:hover {
  background: #470D13;
  transform: scale(1.05);
}

/* Right Details Panel */
.craft-details-panel {
  position: absolute;
  left: calc(606 * var(--u));
  top: calc(248 * var(--u));
  width: calc(160 * var(--u));
  z-index: 7;
}

.craft-details-hairline-left {
  position: absolute;
  left: calc(-20 * var(--u));
  top: 0;
  bottom: calc(12 * var(--u));
  width: 1px;
  background: #E4DAD0;
}

.craft-title-block {
  margin-bottom: calc(4 * var(--u));
}

.craft-name-line1,
.craft-name-line2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(24 * var(--u));
  font-weight: 700;
  color: #1D1715;
  line-height: 1.08;
  margin: 0;
}

.craft-origin {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: calc(12.5 * var(--u));
  color: #7A222B;
  margin-top: calc(4 * var(--u));
  margin-bottom: calc(10 * var(--u));
}

.craft-divider {
  width: calc(24 * var(--u));
  height: 1px;
  background: #C8A882;
  margin-bottom: calc(12 * var(--u));
}

.craft-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: calc(11 * var(--u));
  line-height: 1.52;
  color: #5A4E46;
  max-width: calc(150 * var(--u));
  margin: 0 0 calc(18 * var(--u)) 0;
}

.craft-action-row {
  display: flex;
  align-items: center;
}

.craft-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(6 * var(--u)) calc(16 * var(--u));
  border-radius: 999px;
  border: 1px solid #5E1119;
  background: transparent;
  color: #5E1119;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: calc(11 * var(--u));
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.craft-explore-btn svg {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  transition: transform 0.2s ease;
}

.craft-explore-btn:hover {
  background: #5E1119;
  color: #FFFFFF;
}

.craft-explore-btn:hover svg {
  transform: translateX(calc(2 * var(--u)));
}


/* Map Container & Cameo */
.craft-map-container {
  position: absolute;
  left: calc(786 * var(--u));
  top: calc(180 * var(--u));
  width: calc(214 * var(--u));
  height: calc(212 * var(--u));
  height: calc(212 * var(--u));
  z-index: 6;
  pointer-events: auto;
}

.map-svg-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.india-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(45, 30, 20, 0.06));
}

.india-map-svg .map-state {
  fill: #EAE0D2;
  stroke: #FAF4EC;
  stroke-width: 0.8px;
  cursor: pointer;
  transition: fill 0.22s ease, stroke 0.22s ease;
}

.india-map-svg .map-state:hover {
  fill: #D4BEA8;
  stroke: #FAF4EC;
}

.india-map-svg .map-state.active {
  fill: #5E1119 !important;
  stroke: #5E1119 !important;
}

#mapCentroidDot {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
  transition: all 0.25s ease;
}

#mapLeaderLine {
  transition: all 0.25s ease;
}

#mapPinDot {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transition: all 0.25s ease;
}

#mapCalloutGroup text {
  letter-spacing: -0.01em;
  user-select: none;
  pointer-events: none;
}

/* High-Legibility Floating State Callout Badge (Large, Clear, Beautiful) */
.map-state-callout-badge {
  position: absolute;
  bottom: calc(-34 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(94, 17, 25, 0.22);
  border-radius: 999px;
  padding: calc(6 * var(--u)) calc(16 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  box-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(45, 20, 15, 0.12), 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-state-callout-badge .callout-indicator-dot {
  width: calc(7.5 * var(--u));
  height: calc(7.5 * var(--u));
  border-radius: 50%;
  background: #5E1119;
  box-shadow: 0 0 0 calc(2.5 * var(--u)) rgba(94, 17, 25, 0.18);
  flex-shrink: 0;
  animation: mapPulseDot 2s infinite ease-in-out;
}

@keyframes mapPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.map-state-callout-badge .callout-text-group {
  display: flex;
  align-items: baseline;
  gap: calc(5 * var(--u));
}

.map-state-callout-badge .callout-city-label {
  font-family: 'Cinzel', serif;
  font-size: calc(10.5 * var(--u));
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #7A3E2D;
}

.map-state-callout-badge .callout-state-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
  color: #5E1119;
  letter-spacing: -0.01em;
}

/* ==========================================
   SECTION 6: OUR ARCHIVE • PROTOTYPE (y = 1760..2204)
   ========================================== */
.investigate-section {
  position: absolute;
  top: calc(2699 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(444 * var(--u));
  background-image: url('section5-bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 10;
}

/* ==========================================
   SECTION 6 INNER LAYOUT
   ========================================== */
.investigate-inner {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

/* Left Column */
.investigate-left-col {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(26 * var(--u));
  width: calc(285 * var(--u));
  z-index: 5;
}

.investigate-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
  margin-bottom: calc(6 * var(--u));
}

.investigate-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(30 * var(--u));
  font-weight: 700;
  line-height: 1.08;
  color: #1D1715;
  margin-bottom: calc(8 * var(--u));
}

.investigate-title .title-accent {
  color: #5E0E17;
}

.investigate-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: calc(9.5 * var(--u));
  line-height: 1.45;
  color: #6B5B52;
  max-width: calc(230 * var(--u));
}

/* 3-Step Process List */
.proto-stepper {
  margin-top: calc(22 * var(--u));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}

.proto-stepper-line {
  position: absolute;
  left: calc(14 * var(--u));
  top: calc(14 * var(--u));
  bottom: calc(14 * var(--u));
  width: 1px;
  background: #D8C7B8;
}

.proto-step-item {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.proto-step-badge {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  border-radius: 50%;
  background: #FAF5EE;
  border: 1.5px solid #D8C7B8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.25s ease;
}

.step-circle-num {
  font-family: 'Inter', sans-serif;
  font-size: calc(10.5 * var(--u));
  font-weight: 600;
  color: #8C796B;
}

.proto-step-item.active .proto-step-badge {
  background: #5E0E17;
  border-color: #5E0E17;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(94, 14, 23, 0.35);
}

.proto-step-item.active .step-circle-num {
  color: #FFFFFF;
}

.proto-step-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  color: #1D1715;
  transition: color 0.2s ease;
}

.proto-step-item.active .proto-step-heading {
  color: #5E0E17;
  font-weight: 700;
}

.proto-step-desc {
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  color: #736357;
  line-height: 1.35;
}

/* Center Column */
.investigate-center-col {
  position: absolute;
  left: calc(334 * var(--u));
  top: calc(22 * var(--u));
  width: calc(324 * var(--u));
  z-index: 5;
}

.proto-arch-frame {
  position: relative;
  width: 100%;
  height: calc(288 * var(--u));
  overflow: hidden;
}

.proto-arch-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* High-DPI Glassmorphic Lens Upload Button (Centered with sub-pixel precision) */
.proto-upload-lens {
  position: absolute;
  left: calc(159 * var(--u));
  top: calc(156 * var(--u));
  transform: translate(-50%, -50%);
  width: calc(96 * var(--u));
  height: calc(96 * var(--u));
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(55, 18, 22, 0.82) 0%, rgba(24, 7, 10, 0.92) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(220, 185, 130, 0.55);
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.55);
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(6 * var(--u));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.proto-upload-lens:hover {
  border-color: #D4AF37;
  box-shadow: 0 0 calc(20 * var(--u)) rgba(212, 175, 55, 0.65), 0 calc(10 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.03);
}

.lens-glass-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.lens-icon-bubble {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  margin-bottom: calc(2 * var(--u));
}

.lens-photo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lens-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(11.5 * var(--u));
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.lens-sub {
  font-family: 'Inter', sans-serif;
  font-size: calc(7.5 * var(--u));
  color: #E2D3C4;
  letter-spacing: 0.04em;
  margin-top: calc(1 * var(--u));
  white-space: nowrap;
}

/* High-DPI Vector URL Capsule Bar */
.proto-url-capsule-bar {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(226 * var(--u));
  width: calc(277 * var(--u));
  height: calc(35 * var(--u));
  background: #FAF4ED;
  border: 1.2px solid #D8C3B0;
  border-radius: calc(17.5 * var(--u));
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  padding: 0 calc(4 * var(--u)) 0 calc(12 * var(--u));
  gap: calc(6 * var(--u));
  z-index: 12;
  box-sizing: border-box;
}

.url-link-svg {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  flex-shrink: 0;
}

.proto-url-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: calc(9 * var(--u));
  color: #4B3C33;
  outline: none;
  min-width: 0;
}

.proto-url-input-field::placeholder {
  color: #6D5B4F;
  opacity: 0.85;
}

.proto-url-submit-btn {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  border-radius: 50%;
  background: #5E0E17;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  flex-shrink: 0;
}

.proto-url-submit-btn:hover {
  background: #781520;
  transform: scale(1.06);
}

.proto-url-submit-btn svg {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
}

/* Examples Section */
.proto-examples-section {
  margin-top: calc(8 * var(--u));
}

.examples-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(6 * var(--u));
}

.examples-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(11 * var(--u));
  font-weight: 600;
  color: #1D1715;
}

.examples-view-all {
  font-family: 'Inter', sans-serif;
  font-size: calc(9.5 * var(--u));
  font-weight: 500;
  color: #5E0E17;
  text-decoration: none;
  transition: color 0.2s ease;
}

.examples-view-all:hover {
  color: #781520;
  text-decoration: underline;
}

.examples-grid {
  display: flex;
  gap: calc(7 * var(--u));
}

.example-card {
  width: calc(72 * var(--u));
  height: calc(64 * var(--u));
  border-radius: calc(8 * var(--u));
  overflow: hidden;
  position: relative;
  border: 1.5px solid #E4D5C7;
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
  background: transparent;
  outline: none;
  flex: none;
}

.example-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(6.5 * var(--u));
  transition: transform 0.25s ease;
}

.example-card:hover {
  transform: translateY(-2px);
  border-color: #5E0E17;
  box-shadow: 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(94, 14, 23, 0.2);
}

.example-card:hover .example-card-img {
  transform: scale(1.04);
}

.example-card.active {
  border-color: #5E0E17;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(94, 14, 23, 0.35);
  transform: translateY(-1px);
}

/* Right Column: Result Card */
.investigate-right-col {
  position: absolute;
  left: calc(680 * var(--u));
  top: calc(24 * var(--u));
  width: calc(320 * var(--u));
  z-index: 5;
}

.result-card {
  width: 100%;
  height: calc(392 * var(--u));
  background: #FCF9F4;
  border-radius: calc(16 * var(--u));
  border: 1px solid rgba(216, 199, 184, 0.7);
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(60, 30, 15, 0.12);
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
}

.result-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  height: calc(18 * var(--u));
}

.result-tag-label {
  font-family: 'Cinzel', serif;
  font-size: calc(9 * var(--u));
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #947864;
}

.result-header-actions {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
}

.proto-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border-radius: calc(10 * var(--u));
  background: #F4EAE0;
  border: 1px solid #D8C3B0;
  font-family: 'Inter', sans-serif;
  font-size: calc(8 * var(--u));
  font-weight: 600;
  color: #5E0E17;
  cursor: pointer;
  outline: none;
}

.proto-dot {
  width: calc(4 * var(--u));
  height: calc(4 * var(--u));
  border-radius: 50%;
  background: #5E0E17;
}

.result-close-btn {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  border-radius: 50%;
  border: 1px solid #D8C7B8;
  background: #FAF5EE;
  color: #7A695D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(12 * var(--u));
  cursor: pointer;
  outline: none;
}

.result-visual-match-row {
  display: flex;
  gap: calc(8 * var(--u));
  align-items: center;
  height: calc(95 * var(--u));
  width: 100%;
}

.result-thumb-wrapper {
  width: calc(140 * var(--u));
  height: calc(92 * var(--u));
  border-radius: calc(8 * var(--u));
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #E2D3C4;
}

.result-main-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-expand-icon {
  position: absolute;
  right: calc(4 * var(--u));
  bottom: calc(4 * var(--u));
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  border-radius: calc(4 * var(--u));
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.result-map-wrapper {
  width: calc(110 * var(--u));
  height: calc(92 * var(--u));
  position: relative;
  flex-shrink: 0;
}

.result-india-map {
  width: 100%;
  height: 100%;
  display: block;
}

.result-india-map path,
.result-india-map .map-state {
  fill: #EFE7DE !important;
  stroke: #D5C4B5 !important;
  stroke-width: 0.8 !important;
}

.result-india-map path.active,
.result-india-map .map-state.active {
  fill: #5E0E17 !important;
  stroke: #45060E !important;
  stroke-width: 1.4 !important;
  filter: drop-shadow(0 1px 4px rgba(94, 14, 23, 0.5));
}

.result-map-pointer {
  position: absolute;
  right: calc(2 * var(--u));
  top: 52%;
  display: flex;
  align-items: center;
  gap: calc(2 * var(--u));
  pointer-events: none;
}

.result-arrow-svg {
  width: calc(22 * var(--u));
  height: calc(8 * var(--u));
}

.result-state-name {
  font-family: 'Inter', sans-serif;
  font-size: calc(8 * var(--u));
  font-weight: 600;
  color: #5E0E17;
  white-space: nowrap;
}

.result-info-block {
  display: flex;
  flex-direction: column;
  gap: calc(3 * var(--u));
}

.result-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(17 * var(--u));
  font-weight: 700;
  color: #1D1715;
  margin: 0;
}

.result-location-row {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  margin: 0;
}

.location-pin-icon {
  width: calc(10 * var(--u));
  height: calc(10 * var(--u));
}

.result-location-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
  color: #634C3D;
}

.result-description {
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  color: #625349;
  line-height: 1.35;
  margin: calc(2 * var(--u)) 0;
}

.result-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u));
  margin: calc(2 * var(--u)) 0;
}

.result-chip {
  display: inline-flex;
  align-items: center;
  gap: calc(3 * var(--u));
  padding: calc(2.5 * var(--u)) calc(6 * var(--u));
  border-radius: calc(10 * var(--u));
  background: #F5EEE6;
  border: 1px solid #D8C7B8;
  font-family: 'Inter', sans-serif;
  font-size: calc(7.5 * var(--u));
  font-weight: 500;
  color: #4B3C33;
}

.result-chip svg {
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  color: #5E0E17;
}

.result-full-story-btn {
  width: 100%;
  height: calc(28 * var(--u));
  border-radius: calc(14 * var(--u));
  background: #5E0E17;
  color: #FFFFFF;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: calc(9.5 * var(--u));
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 * var(--u));
  cursor: pointer;
  transition: all 0.22s ease;
  margin: calc(4 * var(--u)) 0;
  outline: none;
}

.result-full-story-btn:hover {
  background: #781520;
  transform: translateY(-1px);
  box-shadow: 0 calc(3 * var(--u)) calc(8 * var(--u)) rgba(94, 14, 23, 0.35);
}

.result-full-story-btn svg {
  width: calc(12 * var(--u)) !important;
  height: calc(12 * var(--u)) !important;
  flex-shrink: 0;
}

.result-gallery-row {
  display: flex;
  gap: calc(5 * var(--u));
  align-items: center;
  position: relative;
  width: 100%;
  height: calc(46 * var(--u));
}

.gallery-thumb {
  flex: 1;
  height: 100%;
  border-radius: calc(6 * var(--u));
  object-fit: cover;
  border: 1px solid #D8C7B8;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

.gallery-nav-arrow {
  position: absolute;
  right: calc(4 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  border-radius: 50%;
  background: #1D1715;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  outline: none;
}

.gallery-nav-arrow:hover {
  background: #5E0E17;
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-arrow svg {
  width: calc(10 * var(--u)) !important;
  height: calc(10 * var(--u)) !important;
}


.seal-rosette {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-rosette svg,
.seal-emblem {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  display: block;
}


.scanner-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(18, 7, 9, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999 !important;
  display: none;
  align-items: center;
  justify-content: center;
}

.scanner-modal-overlay.active {
  display: flex !important;
}

.scanner-modal-container {
  background: linear-gradient(180deg, #1A0A0E 0%, #100507 100%) !important;
  border: 1.5px solid #8C6641 !important;
  border-radius: 16px !important;
  width: 90% !important;
  max-width: 740px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(140, 102, 65, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 20px 24px !important;
  color: #F8EDE3 !important;
  position: relative !important;
  z-index: 1000 !important;
  font-family: 'Inter', sans-serif !important;
}

.scanner-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(192, 154, 101, 0.22);
  padding-bottom: 12px;
}

.scanner-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scanner-brand-icon {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0;
}

.scanner-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #EBD6BD;
}

.scanner-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scanner-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 4px 10px;
  border-radius: 12px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
  animation: pulseGreen 1.6s infinite alternate;
}

@keyframes pulseGreen {
  from { opacity: 0.4; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.15); }
}

.scanner-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #DDD;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.scanner-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
  transform: rotate(90deg);
}

/* Viewfinder Zone */
.scanner-viewfinder-zone {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #080304;
  border: 1px solid rgba(192, 154, 101, 0.3);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.95);
}

.reticle-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 10;
  pointer-events: none;
}

.reticle-tl {
  top: 12px;
  left: 12px;
  border-top: 2.5px solid #C09A65;
  border-left: 2.5px solid #C09A65;
}

.reticle-tr {
  top: 12px;
  right: 12px;
  border-top: 2.5px solid #C09A65;
  border-right: 2.5px solid #C09A65;
}

.reticle-bl {
  bottom: 44px;
  left: 12px;
  border-bottom: 2.5px solid #C09A65;
  border-left: 2.5px solid #C09A65;
}

.reticle-br {
  bottom: 44px;
  right: 12px;
  border-bottom: 2.5px solid #C09A65;
  border-right: 2.5px solid #C09A65;
}

.scanner-laser-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 80, 80, 0.8) 15%, #FF3344 50%, rgba(255, 80, 80, 0.8) 85%, transparent 100%);
  box-shadow: 0 0 16px 3px rgba(255, 51, 68, 0.8);
  z-index: 8;
  pointer-events: none;
  animation: scanSweep 2.2s ease-in-out infinite;
}

@keyframes scanSweep {
  0% { top: 8%; opacity: 0.3; }
  50% { top: 78%; opacity: 1; }
  100% { top: 8%; opacity: 0.3; }
}

.scanner-feed {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #0B0406;
}

.scanner-feed-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.scanner-feed.scanning-active .scanner-feed-image {
  filter: contrast(1.15) brightness(1.1);
}

.ai-detection-tag {
  position: absolute;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(18, 7, 9, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(192, 154, 101, 0.6);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 500;
  color: #FAF1E8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.tag-pos-1 { top: 20px; left: 24px; }
.tag-pos-2 { top: 75px; right: 24px; }
.tag-pos-3 { bottom: 50px; left: 28px; }

.tag-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C09A65;
  box-shadow: 0 0 6px #C09A65;
  flex-shrink: 0;
}

.tag-label {
  white-space: nowrap;
}

.scanner-hud-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(10, 4, 6, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(192, 154, 101, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
  z-index: 11;
}

.hud-item {
  font-size: 10.5px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.hud-lbl {
  color: #9C897D;
  font-weight: 500;
}

.hud-val {
  color: #EBD6BD;
  font-weight: 600;
}

.hud-val.highlight {
  color: #4ADE80;
  font-weight: 700;
}

/* Controls Panel */
.scanner-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scanner-tabs {
  display: flex;
  gap: 8px;
  width: 100%;
}

.scanner-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #B3A194;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.scanner-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFF;
}

.scanner-tab.active {
  background: #5E0E17;
  border-color: #A8784C;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(94, 14, 23, 0.4);
}

.scanner-tab svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}

.scanner-sample-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sample-row-lbl {
  font-size: 10.5px;
  color: #9C897D;
  font-weight: 500;
}

.sample-pill {
  padding: 4px 11px;
  border-radius: 14px;
  background: rgba(40, 20, 24, 0.7);
  border: 1px solid rgba(192, 154, 101, 0.3);
  color: #D5C2B4;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.sample-pill:hover {
  border-color: #C09A65;
  color: #FFF;
}

.sample-pill.active {
  background: #A8784C;
  color: #120709;
  font-weight: 700;
  border-color: #C09A65;
  box-shadow: 0 0 10px rgba(168, 120, 76, 0.4);
}

.scanner-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.scanner-toggle-group {
  display: flex;
  gap: 8px;
}

.tool-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #C2B0A4;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.tool-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFF;
}

.tool-toggle-btn.active {
  background: rgba(192, 154, 101, 0.18);
  border-color: #C09A65;
  color: #F8EDE3;
}

.tool-toggle-btn svg {
  width: 13px !important;
  height: 13px !important;
  flex-shrink: 0;
}

.scanner-shutter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #7A121F 0%, #4D0911 100%);
  border: 1.5px solid #C09A65;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 12px rgba(122, 18, 31, 0.5);
  outline: none;
}

.scanner-shutter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(192, 154, 101, 0.35);
  background: linear-gradient(135deg, #911625 0%, #5E0C15 100%);
}

.shutter-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF3B4E;
  box-shadow: 0 0 6px #FF3B4E;
}

.scanner-import-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(192, 154, 101, 0.15);
  border: 1px solid #A8784C;
  color: #EAD7C5;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.scanner-import-btn:hover {
  background: #A8784C;
  color: #120709;
}

/* ==========================================
   SECTION 7: A FUTURE LAYER OF ZIWORA (y = 2204..2573)
   ========================================== */
.future-layer-section {
  display: none !important;
  position: absolute;
  top: calc(2567 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(369 * var(--u));
  background-image: url('section6-bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 10;
}

/* Left Column */
.future-left-col {
  position: absolute;
  left: calc(92 * var(--u));
  top: calc(99 * var(--u));
  width: calc(410 * var(--u));
  z-index: 5;
}

.future-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-bottom: calc(12 * var(--u));
}

.future-eyebrow-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(6.5 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1.4 * var(--u));
  color: #6B4949;
  text-transform: uppercase;
  white-space: nowrap;
}

.future-eyebrow-line {
  width: calc(105 * var(--u));
  height: calc(1 * var(--u));
  background-color: #BBA382;
}

.future-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(25 * var(--u));
  font-weight: 700;
  line-height: calc(34 * var(--u));
  letter-spacing: calc(-0.4 * var(--u));
  color: #1D1815;
}

.future-title-line1 {
  display: block;
  white-space: nowrap;
}

.future-title-line2 {
  display: block;
  white-space: nowrap;
}

.future-title .highlight-maroon {
  color: #5E0E17;
}

.future-desc {
  margin-top: calc(12 * var(--u));
  font-family: 'Inter', sans-serif;
  font-size: calc(9.2 * var(--u));
  line-height: calc(13.5 * var(--u));
  letter-spacing: calc(-0.03 * var(--u));
  color: #4C3F37;
  max-width: calc(340 * var(--u));
}

.future-cta-link {
  margin-top: calc(16 * var(--u));
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--u));
  font-family: 'Inter', sans-serif;
  font-size: calc(9.2 * var(--u));
  font-weight: 700;
  color: #5E0E17;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.future-cta-link:hover {
  color: #7A1220;
  transform: translateX(calc(2 * var(--u)));
}

.future-cta-arrow {
  width: calc(11 * var(--u));
  height: calc(11 * var(--u));
  transition: transform 0.2s ease;
}

.future-cta-link:hover .future-cta-arrow {
  transform: translateX(calc(3 * var(--u)));
}

/* Center Stepper */
.future-stepper {
  position: absolute;
  left: calc(526 * var(--u));
  top: calc(58 * var(--u));
  height: calc(248 * var(--u));
  z-index: 5;
}

.future-stepper-stem {
  position: absolute;
  left: 0;
  top: 0;
  bottom: calc(16 * var(--u));
  width: 1px;
  background: #C4AF9B;
}

.future-step-node {
  position: absolute;
  left: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  gap: calc(7 * var(--u));
}

.future-step-node:nth-of-type(1) { top: calc(37.5 * var(--u)); }
.future-step-node:nth-of-type(2) { top: calc(123.5 * var(--u)); }
.future-step-node:nth-of-type(3) { top: calc(209.5 * var(--u)); }

.step-node-bullet {
  width: calc(6.5 * var(--u));
  height: calc(6.5 * var(--u));
  border-radius: 50%;
  background: #FAF3EA;
  border: calc(1.3 * var(--u)) solid #7A6658;
  box-sizing: border-box;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.future-step-node.active .step-node-bullet {
  background: #5E0E17;
  border-color: #5E0E17;
}

.step-node-num {
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
  color: #7A6658;
  transition: all 0.2s ease;
  user-select: none;
}

.future-step-node.active .step-node-num {
  color: #5E0E17;
  font-weight: 800;
}

.future-step-node:hover .step-node-bullet {
  border-color: #5E0E17;
}

.future-step-node:hover .step-node-num {
  color: #5E0E17;
}

.future-stepper-finial {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(18 * var(--u));
  height: calc(17 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.stepper-lotus-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
}

/* Right Column & Cards */
.future-cards-col {
  position: absolute;
  left: calc(570 * var(--u));
  top: calc(59 * var(--u));
  width: calc(388 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(13 * var(--u));
  z-index: 5;
}

.future-card {
  position: relative;
  height: calc(73 * var(--u));
  border-radius: calc(14 * var(--u));
  background: #FDF7F0;
  border: 1px solid rgba(220, 200, 180, 0.65);
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(90, 60, 40, 0.04);
  display: flex;
  align-items: center;
  padding: 0 calc(16 * var(--u));
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.future-card:hover {
  transform: translateY(calc(-2 * var(--u)));
  box-shadow: 0 calc(5 * var(--u)) calc(14 * var(--u)) rgba(94, 14, 23, 0.08);
  border-color: rgba(180, 140, 120, 0.7);
}

.future-card.active {
  background: #FDF5EB;
  border: 1.5px solid #5E0E17;
  box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(94, 14, 23, 0.12);
}

.future-corner-ornament {
  position: absolute;
  top: calc(2 * var(--u));
  left: calc(2 * var(--u));
  width: calc(24 * var(--u));
  height: calc(20 * var(--u));
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.future-card.active .future-corner-ornament {
  opacity: 1;
}

.future-card-icon-wrap {
  width: calc(46 * var(--u));
  height: calc(46 * var(--u));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.future-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.future-card-text {
  margin-left: calc(16 * var(--u));
  flex: 1;
  min-width: 0;
}

.future-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(14.5 * var(--u));
  font-weight: 700;
  color: #2D231E;
  line-height: 1.2;
  letter-spacing: calc(-0.15 * var(--u));
  transition: color 0.2s ease;
}

.future-card.active .future-card-title {
  color: #5E0E17;
}

.future-card-sub {
  margin-top: calc(3 * var(--u));
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  color: #6A594E;
  line-height: 1.35;
  letter-spacing: calc(-0.02 * var(--u));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.future-card-arrow-btn {
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  border-radius: 50%;
  background: rgba(246, 237, 226, 0.95);
  border: 1px solid rgba(210, 190, 170, 0.6);
  color: #6E5343;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: calc(10 * var(--u));
}

.future-card-arrow-btn svg {
  width: calc(10 * var(--u));
  height: calc(10 * var(--u));
  transition: transform 0.2s ease;
}

.future-card:hover .future-card-arrow-btn svg {
  transform: translateX(calc(1.5 * var(--u)));
}

.future-card.active .future-card-arrow-btn {
  background: #5E0E17;
  border-color: #5E0E17;
  color: #FAF4ED;
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(94, 14, 23, 0.35);
}

.future-scope-note {
  position: absolute;
  left: calc(570 * var(--u));
  top: calc(324 * var(--u));
  width: calc(388 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  z-index: 5;
}

.scope-note-line {
  flex: 1;
  height: 1px;
  background: #D2C0AF;
  opacity: 0.85;
}

.scope-note-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(7.4 * var(--u));
  color: #7B685B;
  white-space: nowrap;
  user-select: none;
}

.scope-note-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(7.4 * var(--u));
  color: #7B685B;
  white-space: nowrap;
  user-select: none;
}

.scope-note-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(7.6 * var(--u));
  color: #7B685B;
  white-space: nowrap;
  user-select: none;
}

/* Future Scope Detail Modal */
.future-detail-modal-content {
  max-width: 680px;
  width: 90%;
  padding: 30px 34px;
  max-height: 90vh;
  overflow-y: auto;
}

.future-detail-header {
  margin-bottom: 20px;
}

.future-modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #F8F0E5;
  border: 1px solid #D8C3AE;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #5E0E17;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.future-detail-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.future-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.future-pillar-card {
  padding: 16px;
  background: #FAF5EE;
  border: 1px solid #E4D5C5;
  border-radius: 8px;
}

.pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #5E0E17;
  margin-bottom: 6px;
}

.pillar-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #4A3E36;
  line-height: 1.5;
}

.future-status-banner {
  padding: 14px 18px;
  background: #F7EFE4;
  border-left: 3px solid #5E0E17;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5A483E;
  line-height: 1.5;
}

/* ==========================================
   SECTION 8: CASES WE INVESTIGATED (y = 2699..3143)
   ========================================== */
.cases-investigated-section {
  position: absolute;
  top: calc(2699 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(444 * var(--u));
  background-image: url('section7-bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 10;
}

/* Header Left */
.cases-header-left {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(56 * var(--u));
  z-index: 5;
}

.cases-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-bottom: calc(6 * var(--u));
}

.cases-eyebrow-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(6.8 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1.5 * var(--u));
  color: #6E5343;
  text-transform: uppercase;
  white-space: nowrap;
}

.cases-eyebrow-line {
  display: flex;
  align-items: center;
}

.eyebrow-line-stem {
  width: calc(88 * var(--u));
  height: calc(1 * var(--u));
  background-color: #CBB7A4;
}

.eyebrow-line-dot {
  width: calc(3 * var(--u));
  height: calc(3 * var(--u));
  border-radius: 50%;
  background-color: #CBB7A4;
  margin-left: calc(2 * var(--u));
}

.cases-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(25 * var(--u));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: calc(-0.2 * var(--u));
  color: #5E0E17;
  margin: 0;
}

/* Header Right */
.cases-header-right {
  position: absolute;
  right: calc(24 * var(--u));
  top: calc(82 * var(--u));
  width: calc(280 * var(--u));
  z-index: 5;
}

.cases-header-desc {
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  line-height: 1.45;
  color: #5A4A3E;
  margin: 0;
}

/* Stepper */
.cases-stepper {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(144 * var(--u));
  width: calc(24 * var(--u));
  height: calc(200 * var(--u));
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 6;
}

.cases-stepper-stem {
  position: absolute;
  top: calc(10 * var(--u));
  bottom: calc(10 * var(--u));
  width: 1px;
  background: #CBB7A4;
  left: 50%;
  transform: translateX(-50%);
}

.cases-stepper-finial-top {
  font-size: calc(9 * var(--u));
  color: #8C7565;
  line-height: 1;
  z-index: 2;
}

.cases-stepper-finial-bottom {
  position: absolute;
  bottom: 0;
  font-size: calc(9 * var(--u));
  color: #8C7565;
  line-height: 1;
  z-index: 2;
}

.case-step-btn {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  border-radius: 50%;
  background: #FAF3EA;
  border: 1px solid #7D6B5E;
  color: #7D6B5E;
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  outline: none;
  z-index: 3;
  padding: 0;
}

.case-step-btn:nth-of-type(1) { top: calc(28 * var(--u)); }
.case-step-btn:nth-of-type(2) { top: calc(90 * var(--u)); }
.case-step-btn:nth-of-type(3) { top: calc(152 * var(--u)); }

.case-step-btn.active {
  background: #5E0E17;
  border-color: #5E0E17;
  color: #FAF4ED;
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(94, 14, 23, 0.35);
}

.case-step-btn:hover:not(.active) {
  border-color: #5E0E17;
  color: #5E0E17;
}

/* Showcase Container */
.cases-showcase-container {
  position: absolute;
  left: calc(58 * var(--u));
  top: calc(135 * var(--u));
  width: calc(942 * var(--u));
  height: calc(231 * var(--u));
  display: flex;
  gap: calc(18 * var(--u));
  z-index: 5;
}

/* Featured Card */
.case-featured-card {
  position: relative;
  width: calc(582 * var(--u));
  height: calc(231 * var(--u));
  background: #FFFDF9;
  border-radius: calc(14 * var(--u));
  border: 1px solid #DFD0C1;
  box-shadow: 0 calc(3 * var(--u)) calc(12 * var(--u)) rgba(90, 60, 40, 0.05);
  display: flex;
  overflow: hidden;
}

.case-featured-info {
  width: calc(304 * var(--u));
  flex-shrink: 0;
  box-sizing: border-box;
  padding: calc(18 * var(--u)) calc(14 * var(--u)) calc(18 * var(--u)) calc(22 * var(--u));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.case-featured-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-tag-num, .case-tag-badge {
  font-family: 'Inter', sans-serif;
  font-size: calc(6.8 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1 * var(--u));
  color: #7B685B;
  text-transform: uppercase;
}

.case-featured-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(20.5 * var(--u));
  font-weight: 700;
  color: #1D1815;
  letter-spacing: calc(-0.25 * var(--u));
  margin: calc(4 * var(--u)) 0 calc(8 * var(--u)) 0;
  white-space: nowrap;
}

.case-compare-row {
  display: flex;
  align-items: center;
  border-top: 1px solid #EEDFCE;
  border-bottom: 1px solid #EEDFCE;
  padding: calc(6 * var(--u)) 0;
  margin-bottom: calc(8 * var(--u));
}

.compare-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
}

.compare-label {
  font-family: 'Inter', sans-serif;
  font-size: calc(6 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.8 * var(--u));
  color: #7B685B;
  text-transform: uppercase;
}

.compare-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  line-height: 1.2;
  color: #1D1815 !important;
  white-space: nowrap;
}

.compare-divider {
  width: 1px;
  height: calc(22 * var(--u));
  background: #EEDFCE;
  margin: 0 calc(12 * var(--u));
}

.case-featured-desc {
  font-family: 'Inter', sans-serif;
  font-size: calc(8.5 * var(--u));
  line-height: calc(13 * var(--u));
  color: #52433A;
  margin: 0 0 calc(10 * var(--u)) 0;
  max-width: calc(280 * var(--u));
}

.case-action-row {
  display: flex;
  align-items: center;
}

.case-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: calc(28 * var(--u));
  padding: 0 calc(6 * var(--u)) 0 calc(16 * var(--u));
  border-radius: calc(14 * var(--u));
  background: linear-gradient(135deg, #5E151E 0%, #3B080E 100%);
  color: #FAF4ED;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: calc(8.8 * var(--u));
  font-weight: 600;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(94, 14, 23, 0.35);
  transition: all 0.25s ease;
  outline: none;
}

.case-explore-btn:hover {
  transform: translateY(calc(-1.5 * var(--u)));
  box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(94, 14, 23, 0.45);
  filter: brightness(1.08);
}

.btn-arrow-circle {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  border-radius: 50%;
  background: #FAF3EA;
  color: #5E0E17;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.case-explore-btn:hover .btn-arrow-circle {
  transform: translateX(calc(2 * var(--u)));
}

/* Media Right of Featured Card */
.case-featured-media {
  flex: 1;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.case-featured-plate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 calc(14 * var(--u)) calc(14 * var(--u)) 0;
  transition: transform 0.5s ease;
}

.case-featured-card:hover .case-featured-plate-img {
  transform: scale(1.03);
}

/* Right Side: 2 Small Cards */
.cases-side-col {
  flex: 1;
  min-width: 0;
  height: calc(231 * var(--u));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-side-card {
  width: 100%;
  height: calc(108 * var(--u));
  box-sizing: border-box;
  background: #FFFDF9;
  border-radius: calc(12 * var(--u));
  border: 1px solid #DFD0C1;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(90, 60, 40, 0.04);
  display: flex;
  align-items: center;
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  gap: calc(12 * var(--u));
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  position: relative;
}

.case-side-card:hover {
  transform: translateY(calc(-2 * var(--u)));
  box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(94, 14, 23, 0.1);
  border-color: rgba(94, 14, 23, 0.4);
}

.side-card-media {
  width: calc(85 * var(--u));
  height: calc(86 * var(--u));
  border-radius: calc(6 * var(--u));
  overflow: hidden;
  flex-shrink: 0;
}

.side-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.case-side-card:hover .side-card-img {
  transform: scale(1.06);
}

.side-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-card-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(2 * var(--u));
}

.side-num {
  font-family: 'Inter', sans-serif;
  font-size: calc(6.5 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.8 * var(--u));
  color: #7B685B;
  text-transform: uppercase;
}

.side-badge {
  font-family: 'Inter', sans-serif;
  font-size: calc(6.5 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.8 * var(--u));
  color: #5E0E17;
  text-transform: uppercase;
}

.side-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(12.5 * var(--u));
  font-weight: 700;
  color: #1D1815;
  letter-spacing: calc(-0.15 * var(--u));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: calc(2 * var(--u)) 0 calc(5 * var(--u)) 0;
}

.side-compare-row {
  display: flex;
  align-items: center;
  border-top: 1px solid #EFE4D6;
  padding-top: calc(4 * var(--u));
}

.side-compare-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.side-label {
  font-family: 'Inter', sans-serif;
  font-size: calc(5.5 * var(--u));
  font-weight: 600;
  letter-spacing: calc(0.6 * var(--u));
  color: #7B685B;
  text-transform: uppercase;
}

.side-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(10 * var(--u));
  font-weight: 600;
  color: #1D1815;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-divider {
  width: 1px;
  height: calc(16 * var(--u));
  background: #EFE4D6;
  margin: 0 calc(8 * var(--u));
}

.side-card-arrow {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  border-radius: 50%;
  background: transparent;
  border: 1px solid #D8C3AE;
  color: #6E5343;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.side-card-arrow svg {
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  transition: transform 0.2s ease;
}

.case-side-card:hover .side-card-arrow {
  background: #5E0E17;
  border-color: #5E0E17;
  color: #FAF4ED;
}

.case-side-card:hover .side-card-arrow svg {
  transform: translateX(calc(1.5 * var(--u)));
}

/* Bottom Disclaimer */
.cases-disclaimer-note {
  position: absolute;
  left: calc(260 * var(--u));
  right: calc(260 * var(--u));
  bottom: calc(22 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  z-index: 5;
}

.disclaimer-line {
  flex: 1;
  height: 1px;
  background: #D2C0AF;
  opacity: 0.85;
}

.disclaimer-text {
  font-family: 'Inter', sans-serif;
  font-size: calc(7.4 * var(--u));
  color: #7B685B;
  white-space: nowrap;
  user-select: none;
}

/* Deep Dive Case Modal */
.case-modal-content {
  max-width: 720px;
  width: 90%;
  padding: 30px 34px;
  max-height: 90vh;
  overflow-y: auto;
}

.case-modal-header {
  margin-bottom: 20px;
}

.case-modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #F8F0E5;
  border: 1px solid #D8C3AE;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #5E0E17;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.case-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #1D1715;
  margin-bottom: 6px;
}

.case-modal-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6B5B52;
  line-height: 1.5;
}

.case-modal-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.case-modal-visuals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-modal-photo-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E2D3C4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.case-modal-main-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.case-modal-photo-caption {
  padding: 8px 10px;
  background: #FAF5EE;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #7B685B;
  text-align: center;
  border-top: 1px solid #EEDFCE;
}

.case-meta-box {
  padding: 12px 14px;
  background: #FAF5EE;
  border-radius: 8px;
  border: 1px solid #E6D8C8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #8C7869;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-val {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #2D231E;
}

.case-modal-analysis {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.analysis-section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #5E0E17;
  margin-bottom: 2px;
}

.analysis-section-p {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4A3E36;
}

.case-modal-cta-row {
  margin-top: 10px;
}

/* ==========================================
   SECTION 9: OUR FUTURE SCOPE (y = 3143..3719)
   ========================================== */
.future-scope-section {
  position: absolute;
  top: calc(3143 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(576 * var(--u));
  background-image: url('crafts/future_scope_bg_hd.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 10;
}

/* Header Left: Eyebrow + Main Title */
.scope-header-left {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(38 * var(--u));
  z-index: 5;
}

.scope-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-bottom: calc(6 * var(--u));
}

.scope-eyebrow-line {
  width: calc(32 * var(--u));
  height: 1px;
  background: #C4AF9B;
}

.scope-eyebrow-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(6.8 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1.5 * var(--u));
  text-transform: uppercase;
  color: #7D6B5E;
}

.scope-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(23 * var(--u));
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: calc(-0.25 * var(--u));
  color: #26211E;
  margin: 0;
}

.scope-title-accent {
  color: #5E0E17;
}

/* Header Right: Description with Vertical Accent Line */
.scope-header-right {
  position: absolute;
  right: calc(24 * var(--u));
  left: auto;
  top: calc(76 * var(--u));
  width: calc(340 * var(--u));
  display: flex;
  align-items: flex-start;
  gap: calc(14 * var(--u));
  z-index: 5;
}

.scope-desc-line {
  width: 1px;
  height: calc(52 * var(--u));
  background: #CBB7A4;
  flex-shrink: 0;
  margin-top: calc(2 * var(--u));
}

.scope-desc-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(8.6 * var(--u));
  line-height: 1.55;
  color: #5A4A3E;
  margin: 0;
  font-weight: 400;
}

/* 3 Archway Showcase Cards Row */
.scope-cards-row {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(163 * var(--u));
  width: calc(976 * var(--u));
  display: flex;
  gap: calc(18 * var(--u));
  z-index: 6;
}

.scope-card {
  flex: 1;
  min-width: 0;
  width: auto;
  height: calc(382 * var(--u));
  position: relative;
  border-radius: calc(14 * var(--u));
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s ease;
  outline: none;
  background: #FAF4EC;
  box-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(90, 60, 40, 0.08), 0 calc(1 * var(--u)) calc(4 * var(--u)) rgba(90, 60, 40, 0.04);
}

.scope-card-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(14 * var(--u));
  object-fit: cover;
  pointer-events: none;
}

.scope-card:hover,
.scope-card:focus-visible {
  transform: translateY(calc(-6 * var(--u)));
  box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) rgba(94, 14, 23, 0.16), 0 calc(4 * var(--u)) calc(10 * var(--u)) rgba(90, 60, 40, 0.08);
}

/* ==========================================
   SECTION 10: FINAL CLOSING SECTION (y = 3719..4295)
   ========================================== */
.final-section {
  position: absolute;
  top: calc(3719 * var(--u));
  left: 0;
  width: calc(1024 * var(--u));
  height: calc(576 * var(--u));
  background-image: url('crafts/final_section_bg_hd.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 10;
}

/* CTA Container */
.final-cta-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(92 * var(--u));
  text-align: center;
  z-index: 5;
}

/* Top Decorative Mandala */
.cta-mandala-top {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  margin-bottom: calc(5 * var(--u));
}

/* Top Eyebrow Tag: ZIWORA · OUR PROJECT */
.cta-top-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  margin-bottom: calc(12 * var(--u));
}

.cta-tag-line {
  width: calc(34 * var(--u));
  height: 1px;
  background: #C4AF9B;
}

.cta-tag-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(7.6 * var(--u));
  font-weight: 600;
  letter-spacing: calc(1.8 * var(--u));
  text-transform: uppercase;
  color: #7D6353;
}

/* Main Headline */
.cta-headline {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: calc(32.5 * var(--u));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: calc(-0.35 * var(--u));
  color: #231815;
}

.cta-headline .cta-accent {
  color: #5E0E17;
  font-style: normal;
}

/* Subtext Description */
.cta-description {
  margin: calc(14 * var(--u)) 0 calc(20 * var(--u)) 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(8.8 * var(--u));
  font-weight: 400;
  line-height: 1.55;
  color: #5A483E;
  max-width: calc(440 * var(--u));
  text-align: center;
}

/* CTA Buttons Group */
.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
}

.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  height: calc(38 * var(--u));
  padding: 0 calc(20 * var(--u));
  background: #5E121B;
  color: #FAF4EC;
  border: none;
  border-radius: calc(19 * var(--u));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(9.2 * var(--u));
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(94, 18, 27, 0.32);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.cta-primary-btn:hover {
  background: #73141F;
  transform: translateY(calc(-2 * var(--u)));
  box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(94, 18, 27, 0.42);
}

.cta-arrow-svg {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  transition: transform 0.25s ease;
}

.cta-primary-btn:hover .cta-arrow-svg {
  transform: translateX(calc(3 * var(--u)));
}

.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  height: calc(38 * var(--u));
  padding: 0 calc(20 * var(--u));
  background: transparent;
  color: #5E121B;
  border: 1.2px solid #5E121B;
  border-radius: calc(19 * var(--u));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: calc(9.2 * var(--u));
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cta-secondary-btn:hover {
  background: #5E121B;
  color: #FAF4EC;
  transform: translateY(calc(-2 * var(--u)));
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(94, 18, 27, 0.25);
}

.cta-secondary-btn:hover .cta-arrow-svg {
  transform: translateX(calc(3 * var(--u)));
}

/* ==========================================
   SUPPRESS NETLIFY WATERMARKS & DRAWER WIDGETS
   ========================================== */
#netlify-drawer,
[data-netlify-drawer],
.netlify-badge,
.netlify-drawer,
iframe[src*="netlify"],
div[id*="netlify"],
div[class*="netlify-drawer"],
a[href*="netlify.com"] img,
a[href*="netlify"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
}





/* ===================================================
   AUTHENTIC CRAFT DOCUMENTATION DIRECTORY (FULL-PAGE)
   =================================================== */
.doc-fullscreen-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background-color: #FAF4EC;
  color: #1D1715;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-overflow-scrolling: touch;
}

.doc-fullscreen-page.active-doc {
  display: block;
  opacity: 1;
}

/* Fixed Header */
.doc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 244, 236, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 198, 182, 0.8);
  box-shadow: 0 4px 18px rgba(70, 45, 25, 0.05);
}

.doc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
}

.doc-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.doc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.2px solid #D2BFAC;
  background: #FFFDF9;
  color: #5E0E17;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}

.doc-back-btn:hover {
  background: #5E0E17;
  color: #FFFFFF;
  border-color: #5E0E17;
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(94, 14, 23, 0.25);
}

.doc-brand-divider {
  width: 1px;
  height: 24px;
  background: #D8C7B6;
}

.doc-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-logo-mark {
  color: #C09A65;
  font-size: 16px;
}

.doc-brand-text {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1D1815;
}

.doc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #EFE4D6;
  color: #6E533F;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #DCCBBB;
}

/* Search Bar */
.doc-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.doc-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8C7B6D;
  pointer-events: none;
}

.doc-search-input {
  width: 100%;
  padding: 9px 36px 9px 38px;
  border-radius: 20px;
  border: 1.5px solid #D5C5B5;
  background: #FFFFFF;
  font-size: 13.5px;
  font-family: inherit;
  color: #1D1815;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.doc-search-input:focus {
  border-color: #5E0E17;
  box-shadow: 0 0 0 3px rgba(94, 14, 23, 0.12);
}

.doc-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9C8C7E;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: none;
}

.doc-search-clear.visible {
  display: block;
}

/* Header Actions */
.doc-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  background: #5E0E17;
  color: #FFF;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.doc-verify-btn:hover {
  background: #781520;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(94, 14, 23, 0.28);
}

.doc-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #D5C5B5;
  background: #FFFDF9;
  color: #5E0E17;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.doc-close-btn:hover {
  background: #5E0E17;
  color: #FFF;
  border-color: #5E0E17;
}

/* Filter Bar */
.doc-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px 12px 28px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 14px;
  border-top: 1px solid rgba(225, 210, 195, 0.5);
  flex-wrap: wrap;
}

.doc-filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.doc-chip {
  padding: 5px 13px;
  border-radius: 14px;
  border: 1px solid #D8C7B6;
  background: #FFFDF9;
  color: #5F4F42;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.doc-chip:hover {
  border-color: #5E0E17;
  color: #5E0E17;
}

.doc-chip.active {
  background: #5E0E17;
  color: #FAF4ED;
  border-color: #5E0E17;
  font-weight: 600;
}

.doc-state-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.doc-state-select {
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid #D8C7B6;
  background: #FFFDF9;
  color: #5F4F42;
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.doc-state-select:focus {
  border-color: #5E0E17;
}

/* Page Container */
.doc-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 28px 80px 28px;
}

/* Hero Intro Banner */
.doc-hero-banner {
  background: linear-gradient(135deg, #FFFDF9 0%, #F5ECE0 100%);
  border: 1px solid #E6D8CA;
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 4px 20px rgba(80, 50, 30, 0.04);
}

.doc-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8C6F58;
  text-transform: uppercase;
}

.doc-eyebrow-line {
  width: 24px;
  height: 1px;
  background: #C4AE99;
}

.doc-hero-headline {
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #1D1815;
  line-height: 1.2;
}

.doc-hero-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5A4A3E;
  max-width: 720px;
}

.doc-stats-pills {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.doc-stat-card {
  background: #FFFFFF;
  border: 1px solid #E5D7CA;
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 3px 10px rgba(90, 60, 40, 0.04);
}

.doc-stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #5E0E17;
  line-height: 1.1;
}

.doc-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #7D6B5E;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* 2-Column Responsive Cards Grid matching directcreate.com/craft */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 960px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
  .doc-hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Individual Craft Article Card */
.doc-card {
  background: #FFFFFF;
  border: 1px solid #E5DCD2;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(80, 50, 30, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(94, 14, 23, 0.12);
  border-color: rgba(94, 14, 23, 0.35);
}

.doc-card.hidden {
  display: none !important;
}

.doc-card-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #171412;
}

.doc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-card:hover .doc-card-img {
  transform: scale(1.05);
}

.doc-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(28, 22, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FAF4ED;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doc-card-gi {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(94, 14, 23, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.doc-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-card-region-tag {
  font-size: 11px;
  font-weight: 700;
  color: #8A6E59;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.doc-card-title {
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #1D1815;
  line-height: 1.25;
}

.doc-card-desc {
  margin: 0 0 14px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #55453A;
  flex: 1;
}

.doc-card-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.doc-meta-chip {
  font-size: 11.5px;
  color: #4A3E36;
  background: #F8F3EC;
  border: 1px solid #E6DCD1;
  border-radius: 6px;
  padding: 4px 9px;
}

.doc-meta-chip .chip-label {
  font-weight: 600;
  color: #7D6B5E;
}

.doc-card-footer {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #F0E8DE;
}

.doc-btn-details,
.doc-btn-collab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.doc-btn-details {
  background: #4A4A4A;
  color: #FFFFFF;
}

.doc-btn-details:hover {
  background: #5E0E17;
  transform: translateY(-1px);
}

.doc-btn-collab {
  background: #333333;
  color: #FFFFFF;
}

.doc-btn-collab:hover {
  background: #1A1A1A;
  transform: translateY(-1px);
}

/* Empty State */
.doc-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #FFFDF9;
  border: 1px dashed #D5C2B0;
  border-radius: 12px;
  margin-top: 20px;
}

.doc-empty-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #5E0E17;
  margin-bottom: 8px;
}

.doc-empty-sub {
  font-size: 14px;
  color: #6B5B4E;
  margin-bottom: 18px;
}

.doc-reset-search-btn {
  padding: 8px 20px;
  background: #5E0E17;
  color: #FFF;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ===================================================
   CRAFT SPEC DETAIL MODAL
   =================================================== */
.craft-detail-modal-content {
  max-width: 820px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 0 !important;
  border-radius: 14px !important;
  background: #FFFDF9 !important;
}

.craft-detail-hero-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  background: #111;
}

.craft-detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-detail-body {
  padding: 28px 36px 36px 36px;
}

.craft-detail-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5E0E17;
  background: rgba(94, 14, 23, 0.08);
  border: 1px solid rgba(94, 14, 23, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.craft-detail-title {
  margin: 0 0 6px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #1D1815;
}

.craft-detail-region {
  font-size: 13px;
  font-weight: 600;
  color: #8C6F58;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.craft-detail-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4E3E34;
  margin-bottom: 24px;
}

.craft-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: #F8F3EC;
  border: 1px solid #E6DCD1;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.craft-detail-item-label {
  font-size: 11px;
  font-weight: 700;
  color: #7D6B5E;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.craft-detail-item-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #1D1815;
}

.craft-detail-actions {
  display: flex;
  gap: 14px;
  border-top: 1px solid #EDE3D6;
  padding-top: 20px;
}

.craft-modal-verify-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #5E0E17;
  color: #FAF4ED;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.craft-modal-verify-btn:hover {
  background: #781520;
}


#craftDetailModal {
  z-index: 200000 !important;
}
