:root {
  --bg-deep: #0b0705;
  --panel-bg: rgba(20, 13, 9, 0.82);
  --panel-border: rgba(212, 162, 89, 0.34);
  --gold: #e4b56a;
  --gold-bright: #ffe2a3;
  --ink: #140c08;
  --text-main: #f4e6cf;
  --text-muted: #bba384;
  --cyan: #82d6ec;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  background: #12110d;
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================================================
   Ultra-Thin Transparent Sand Strip Menu & Language Switcher
   ========================================================= */
.sand-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 60;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 5, 0.22) 0%,
    rgba(16, 11, 7, 0.08) 72%,
    rgba(16, 11, 7, 0) 100%
  );
  border-bottom: none;
  box-shadow: none;
  user-select: none;
}

.sand-strip-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.sand-navbar-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sand-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.24em;
  color: rgba(255, 240, 206, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  transition: color 0.2s ease;
}

.sand-brand:hover {
  color: #ffe4a3;
}

.sand-brand-spark {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #ffe5a3;
  box-shadow: 0 0 6px #f0be68;
}

.sand-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.sand-nav-link {
  position: relative;
  text-decoration: none;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 224, 190, 0.86);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  padding: 2px 4px;
  transition: color 0.2s ease;
}

.sand-nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffe29e, transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sand-nav-link:hover {
  color: #fff6df;
}

.sand-nav-link:hover::after {
  opacity: 0.85;
}

.sand-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 4px;
  border-radius: 999px;
  background: rgba(12, 8, 5, 0.24);
  border: 1px solid rgba(238, 196, 118, 0.22);
}

.sand-lang-sep {
  color: rgba(228, 181, 106, 0.42);
  font-size: 9.5px;
  padding: 0 1px;
}

.sand-lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(218, 196, 158, 0.82);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  border-radius: 999px;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.sand-lang-btn:hover {
  color: #fff2d0;
}

.sand-lang-btn.active {
  color: #1a1007;
  text-shadow: none;
  background: linear-gradient(135deg, rgba(255, 229, 166, 0.9) 0%, rgba(214, 158, 74, 0.9) 100%);
  box-shadow: 0 1px 6px rgba(238, 190, 104, 0.32);
}

.app-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px 24px;
  background: radial-gradient(circle at 58% 36%, #18171c 0%, #121114 54%, #12110d 100%);
  user-select: none;
}

.stage-wrap {
  position: relative;
  width: min(calc(100vw - 32px), calc((100vh - 34px) * 1024 / 764));
  aspect-ratio: 1024 / 764;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(228, 181, 106, 0.32),
    inset 0 0 0 1px rgba(255, 230, 180, 0.08);
  background: #140d09;
}

#sceneCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
}

/* Top HUD Bar */
.hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 10;
}

.brand-badge {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 2.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.25); }
}

.brand-title {
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  font-weight: 600;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  border-left: 1px solid rgba(228, 181, 106, 0.25);
  padding-left: 9px;
}

.controls-bar {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.ctrl-group {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.ctrl-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ctrl-btn:hover {
  color: var(--gold-bright);
  background: rgba(228, 181, 106, 0.12);
}

.ctrl-btn:active {
  transform: scale(0.96);
}

.ctrl-btn.active {
  color: #170e08;
  background: linear-gradient(135deg, #f3cf87 0%, #d49844 100%);
  border-color: rgba(255, 240, 200, 0.45);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(228, 181, 106, 0.35);
}

/* Bottom Toast Container */
.hud-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  pointer-events: none;
  z-index: 10;
}

.hints-pill {
  pointer-events: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 11px;
  padding: 6px 13px;
  border-radius: 12px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--text-muted);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.hint-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hint-key {
  color: var(--gold-bright);
  font-weight: 600;
}

.status-toast {
  pointer-events: none;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(16, 11, 8, 0.88);
  border: 1px solid rgba(130, 214, 236, 0.42);
  color: #daf5fc;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.status-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Book Dossier Card */
.dossier-card {
  position: absolute;
  left: 14px;
  bottom: 18px;
  width: min(300px, calc(100% - 28px));
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(30, 19, 13, 0.94) 0%, rgba(16, 10, 7, 0.94) 100%);
  border: 1px solid rgba(228, 181, 106, 0.45);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 226, 163, 0.14);
  z-index: 12;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.dossier-card.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dossier-card.desk-mode {
  top: 16px;
  left: 14px;
  bottom: auto;
  width: min(352px, calc(100% - 28px));
  padding: 11px 14px;
}

.dossier-card.desk-mode .dossier-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

.dossier-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dossier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.dossier-cat {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(228, 181, 106, 0.16);
  color: var(--gold-bright);
  border: 1px solid rgba(228, 181, 106, 0.3);
  margin-bottom: 5px;
}

.dossier-title {
  margin: 0;
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 16px;
  line-height: 1.25;
  color: var(--gold-bright);
}

.dossier-author {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.dossier-close {
  appearance: none;
  border: 1px solid rgba(228, 181, 106, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}

.dossier-close:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(228, 181, 106, 0.15);
}

.dossier-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: #ead8bc;
}

.dossier-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(228, 181, 106, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dossier-effect {
  font-size: 11px;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dossier-push-btn {
  appearance: none;
  border: 1px solid rgba(228, 181, 106, 0.38);
  background: rgba(228, 181, 106, 0.14);
  color: var(--gold-bright);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.dossier-push-btn:hover {
  background: rgba(228, 181, 106, 0.26);
}

.dossier-flip-btn {
  border-color: rgba(130, 214, 236, 0.36);
  background: rgba(130, 214, 236, 0.12);
  color: #daf5fc;
}

.dossier-flip-btn:hover {
  background: rgba(130, 214, 236, 0.24);
}

/* Cursor Hover Tooltip */
.scene-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 15;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(15, 10, 7, 0.92);
  border: 1px solid rgba(228, 181, 106, 0.42);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  color: var(--text-main);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -115%);
  transition: opacity 0.15s ease;
}

.scene-tooltip.visible {
  opacity: 1;
}

.scene-tooltip .tt-title {
  color: var(--gold-bright);
  font-weight: 600;
}

.scene-tooltip .tt-sub {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 1px;
}

@media (max-width: 820px) {
  .brand-sub {
    display: none;
  }
  .hints-pill {
    font-size: 11px;
    gap: 8px;
    padding: 6px 10px;
  }
  .ctrl-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* =========================================================
   Scroll Cue under Interactive Study Hero
   ========================================================= */
.scroll-cue {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #b89a64;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-cue:hover {
  opacity: 1;
  transform: translateY(2px);
}

.scroll-cue-line {
  width: 28px;
  height: 1px;
  background: rgba(198, 164, 104, 0.65);
}

/* =========================================================
   DR. GII Landing Page Sections (Recreated from sitepic)
   ========================================================= */
.drgii-landing {
  position: relative;
  width: 100%;
  background-color: #12110d;
  color: #efe9dc;
  font-family: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.dg-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dg-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 44px;
}

/* Eyebrow Header */
.dg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.dg-eyebrow--center {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.dg-eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background-color: rgba(198, 164, 104, 0.62);
}

.dg-eyebrow-text {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.29em;
  color: #b89a64;
  text-transform: uppercase;
}

/* Display Headings */
.dg-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.01;
}

.dg-heading--center {
  align-items: center;
  text-align: center;
}

.dg-heading-sans {
  display: block;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 6.2vw, 82px);
  letter-spacing: -0.038em;
  color: #efe9dc;
  line-height: 1.03;
}

.dg-heading-serif {
  display: block;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(60px, 6.8vw, 90px);
  letter-spacing: -0.012em;
  color: #cbb07a;
  line-height: 0.98;
  margin: 2px 0 4px;
}

/* Quote Cards */
.dg-quote-card {
  margin: 0;
  background-color: #191612;
  border: 1px solid rgba(235, 220, 190, 0.085);
  position: relative;
}

.dg-quote-card--compact {
  margin-top: 48px;
  max-width: 462px;
  padding: 26px 34px 30px;
}

.dg-quote-card--wide {
  max-width: 816px;
  padding: 34px 44px 42px;
}

.dg-quote-mark {
  display: block;
  font-family: "Plus Jakarta Sans", Georgia, serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 0.85;
  color: #efe9dc;
  margin-bottom: 12px;
  user-select: none;
}

.dg-quote-body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.46;
  color: #eae2d3;
  letter-spacing: 0.004em;
}

.dg-quote-body--ru {
  font-size: clamp(23px, 2.35vw, 30px);
  line-height: 1.48;
  color: #ece4d5;
}

.dg-quote-author {
  margin-top: 28px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #7c7467;
  text-transform: uppercase;
}

/* Section 1: THE CRAFT */
.dg-craft {
  padding: 84px 0 96px;
  border-top: 1px solid rgba(235, 220, 190, 0.06);
}

.dg-craft-grid {
  display: grid;
  grid-template-columns: minmax(340px, 462px) minmax(400px, 640px);
  justify-content: space-between;
  align-items: start;
  gap: 64px;
}

.dg-craft-right {
  padding-top: 76px;
}

.dg-bio p {
  margin: 0 0 26px;
  font-size: 16.5px;
  line-height: 1.78;
  color: #8d8578;
  font-weight: 400;
}

.dg-bio p:last-child {
  margin-bottom: 0;
}

.dg-bio strong {
  color: #efe9dc;
  font-weight: 600;
}

.dg-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(235, 220, 190, 0.08);
  margin: 44px 0 34px;
}

/* Stats Row */
.dg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.dg-stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  color: #efe9dc;
  margin-bottom: 10px;
}

.dg-stat-num--inf {
  font-style: normal;
  font-weight: 400;
}

.dg-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #6e675b;
  text-transform: uppercase;
}

/* Pillars Row */
.dg-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.dg-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.dg-pillar-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(198, 164, 104, 0.18);
  background-color: rgba(25, 22, 18, 0.55);
  color: #c5a66d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dg-pillar-title {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #efe9dc;
  text-transform: uppercase;
  white-space: nowrap;
}

.dg-pillar-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.56;
  color: #7c7568;
}

/* Section 2: WISDOM & SAND QUOTE */
.dg-wisdom {
  padding: 56px 0 88px;
}

.dg-wisdom-inner {
  position: relative;
  max-width: 960px;
}

/* =========================================================
   Section 2.5: INTERACTIVE ARCHIVAL ILLUSTRATIONS GALLERY
   ========================================================= */
.dg-gallery {
  padding: 88px 0 104px;
  border-top: 1px solid rgba(235, 220, 190, 0.06);
  background:
    radial-gradient(circle at 22% 18%, rgba(198, 160, 96, 0.07) 0%, rgba(18, 17, 13, 0) 50%),
    #12110d;
}

.dg-gallery-header {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(360px, 620px);
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 56px;
}

.dg-gallery-sub {
  margin: 0 0 26px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #8d8578;
}

.dg-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dg-filter-btn {
  appearance: none;
  border: 1px solid rgba(235, 220, 190, 0.12);
  background: #171511;
  color: #9e9484;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dg-filter-btn:hover {
  color: #efe9dc;
  border-color: rgba(203, 176, 122, 0.38);
}

.dg-filter-btn.active {
  color: #16110a;
  background: linear-gradient(135deg, #ebd29d 0%, #c7a263 100%);
  border-color: rgba(255, 238, 198, 0.55);
}

.dg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dg-plate-card {
  background: #171511;
  border: 1px solid rgba(235, 220, 190, 0.09);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  outline: none;
}

.dg-plate-card.hidden {
  display: none;
}

.dg-plate-card:hover,
.dg-plate-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(203, 176, 122, 0.44);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(203, 176, 122, 0.16);
}

.dg-plate-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 440;
  background: #120f0b;
  overflow: hidden;
  border-bottom: 1px solid rgba(235, 220, 190, 0.08);
}

.dg-plate-canvas {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.dg-plate-card:hover .dg-plate-canvas {
  transform: scale(1.035);
}

.dg-plate-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  background: rgba(16, 13, 9, 0.84);
  border: 1px solid rgba(203, 176, 122, 0.34);
  color: #cbb07a;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.dg-plate-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  background: rgba(16, 13, 9, 0.88);
  border: 1px solid rgba(203, 176, 122, 0.42);
  color: #efe9dc;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.dg-plate-card:hover .dg-plate-zoom-hint,
.dg-plate-card:focus-visible .dg-plate-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.dg-plate-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dg-plate-cat {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #b89a64;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dg-plate-title {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  color: #efe9dc;
}

.dg-plate-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #847c6f;
}

/* Archival Lightbox Modal */
.dg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.dg-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.dg-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 5, 0.88);
  backdrop-filter: blur(10px);
}

.dg-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100vw - 36px));
  background: #171511;
  border: 1px solid rgba(203, 176, 122, 0.36);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.dg-lightbox-top {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(235, 220, 190, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dg-lightbox-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dg-lightbox-roman {
  padding: 3px 9px;
  background: rgba(203, 176, 122, 0.14);
  border: 1px solid rgba(203, 176, 122, 0.35);
  color: #ffe2a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.dg-lightbox-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #b89a64;
  text-transform: uppercase;
}

.dg-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dg-lb-btn {
  appearance: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(235, 220, 190, 0.16);
  background: #1e1b16;
  color: #efe9dc;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.dg-lb-btn:hover {
  border-color: #cbb07a;
  color: #ffe2a3;
  background: #27221b;
}

.dg-lightbox-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 440;
  max-height: 62vh;
  background: #100d09;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#lightboxCanvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dg-lightbox-footer {
  padding: 18px 24px 20px;
  border-top: 1px solid rgba(235, 220, 190, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.dg-lightbox-title {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  color: #efe9dc;
}

.dg-lightbox-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #968d7f;
  max-width: 640px;
}

.dg-lightbox-code {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #6e675b;
  white-space: nowrap;
}

/* Section 3: INQUIRIES & CONVERSATION */
.dg-inquiries {
  padding: 84px 0 110px;
  border-top: 1px solid rgba(235, 220, 190, 0.06);
  background:
    radial-gradient(circle at 76% 6%, rgba(198, 160, 96, 0.11) 0%, rgba(18, 17, 13, 0) 48%),
    #12110d;
}

.dg-inquiries-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dg-inquiries-sub {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #8d8578;
  max-width: 520px;
}

.dg-cta-wrap {
  margin-top: 44px;
}

.dg-telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 364px;
  max-width: calc(100vw - 48px);
  height: 62px;
  background-color: #171511;
  border: 1px solid rgba(235, 220, 190, 0.13);
  color: #efe9dc;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
}

.dg-telegram-btn:hover {
  border-color: rgba(203, 176, 122, 0.45);
  background-color: #1e1b15;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

.dg-tg-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #efe9dc;
  color: #171511;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dg-footer-rule {
  width: 100%;
  max-width: 1030px;
  height: 1px;
  background-color: rgba(235, 220, 190, 0.08);
  margin: 98px auto 66px;
}

.dg-closing {
  position: relative;
  z-index: 2;
}

.dg-closing-quote {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: #8d8578;
}

.dg-closing-author {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #7c7467;
  text-transform: uppercase;
}

/* Fixed Bottom-Right Animated Signature Overlay across Entire Landing */
.dg-fixed-sig {
  position: fixed;
  right: clamp(0px, 1vw, 14px);
  bottom: clamp(-14px, -1vw, -4px);
  width: clamp(230px, 29vw, 420px);
  aspect-ratio: 16 / 9;
  z-index: 40;
  pointer-events: none;
  user-select: none;
}

.dg-fixed-sig-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

@media (max-width: 980px) {
  .dg-craft-grid,
  .dg-gallery-header {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .dg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dg-craft-right {
    padding-top: 0;
  }
  .dg-quote-card--compact {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .sand-navbar-inner {
    padding: 0 14px;
    gap: 8px;
  }
  .sand-brand {
    font-size: 14px;
    letter-spacing: 0.14em;
  }
  .sand-nav-links {
    padding: 3px 6px;
    gap: 2px;
  }
  .sand-nav-link {
    font-size: 9.5px;
    letter-spacing: 0.1em;
    padding: 4px 7px;
  }
}

@media (max-width: 640px) {
  .dg-container {
    padding: 0 22px;
  }
  .dg-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dg-pillars,
  .dg-gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .dg-lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .dg-quote-card--wide,
  .dg-quote-card--compact {
    padding: 24px 24px 28px;
  }
  .dg-fixed-sig {
    width: clamp(170px, 44vw, 240px);
    right: -4px;
    bottom: -10px;
  }
}
