/* ===== PAGE 1 — SEE ===== */

body {
  background: var(--deep-ocean);
  color: var(--text-primary);
}

/* ── HERO ── */
.see-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.see-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.see-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin: 0 0 1.2rem;
  line-height: 1.1;
}

.see-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ── MODEL VIEWER WRAPPER — FIX 1: visible gold border ── */
.model-wrapper {
  width: 100%;
  max-width: 1000px;
  height: 520px;
  margin: 0 auto 3rem;
  position: relative;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(4, 21, 37, 0.6);
}

model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  background: transparent;
}

/* ── FIX 2: Zoom / pinch gesture hint ── */
.gesture-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 11, 24, 0.72);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  padding: 0.45rem 1.2rem;
  pointer-events: none;
  animation: hintFadeOut 0.6s ease 4s forwards;
  z-index: 10;
}

.gesture-hint svg {
  width: 22px;
  height: 22px;
  opacity: 0.85;
  animation: pinchPulse 1.4s ease-in-out infinite;
}

.gesture-hint span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes pinchPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(0.82); }
}

@keyframes hintFadeOut {
  to { opacity: 0; pointer-events: none; }
}

/* ── PILL BUTTON ── */
.pill-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  background: transparent;
  border-radius: 50px;
  padding: 0.9rem 3rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.pill-btn:hover {
  background: var(--gold);
  color: var(--deep-ocean);
}

/* ── SPECIMEN SECTION — FIX 3: center-aligned intro ── */
.specimen-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.specimen-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;          /* FIX 3 */
  margin-bottom: 1rem;
}

.specimen-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-align: center;          /* FIX 3 */
  margin: 0 0 2rem;
}

.specimen-intro-wrap {
  width: 100%;
  margin: 0 0 4rem;
}

.specimen-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 2rem;
  hyphens: auto;
}

.specimen-intro.align-left  { text-align: left; }
.specimen-intro.align-right { text-align: right; }

/* ── CONTENT ROWS ── */
.specimen-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;           /* FIX 4: let row height follow content */
  margin-bottom: 5rem;
}

/* FIX 4: image fills content height without cropping */
.specimen-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.specimen-image {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.specimen-text h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0 0 1.2rem;
}

.specimen-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Heading above the row grid */
.specimen-row-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0 0 1.2rem;
}

/* Row 2 header mirrors the grid so heading sits above the right column */
.specimen-row-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 1.2rem;
}

/* Row 1 infographic — no cropping */
.img-contain {
  object-fit: contain !important;
  object-position: center;
}

/* Remove h3 from inside specimen-text since headings are now above */
.specimen-text h3 { display: none; } 

/* ── ANATOMY SECTION ── */
.anatomy-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  text-align: center;
}

.anatomy-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.anatomy-model-wrapper {
  width: 100%;
  max-width: 1000px;
  height: 520px;
  margin: 0 auto 2rem;
  position: relative;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(4, 21, 37, 0.6);
}


/* ── HOTSPOT PINS ── */
.hotspot-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(2, 11, 24, 0.78);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
}

/* Pulse ring */
.hotspot-pin::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  animation: hsPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.hotspot-pin.active,
.hotspot-pin:hover {
  background: var(--gold);
  transform: scale(1.18);
}

.hotspot-pin.active::before,
.hotspot-pin:hover::before {
  animation: none;
  border-color: transparent;
}

.hotspot-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.hotspot-pin.active .hotspot-num,
.hotspot-pin:hover .hotspot-num {
  color: var(--deep-ocean);
}

@keyframes hsPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* ── HOTSPOT INFO CARDS ── */
.hotspot-card {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 272px;
  background: rgba(4, 21, 37, 0.94);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  padding: 1.3rem 1.3rem 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hotspot-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hotspot-card-close {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.hotspot-card-close:hover { color: var(--gold); }

.hotspot-card-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.hotspot-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--text-primary);
  margin: 0 0 0.65rem;
}

.hotspot-card-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.73rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* ── HOTSPOT NAV BAR ── */
.hotspot-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.1rem;
  background: rgba(2, 11, 24, 0.88);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.hotspot-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.hotspot-nav-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.hotspot-nav-btn {
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background 0.2s;
}
.hotspot-nav-btn:hover { background: rgba(201, 168, 76, 0.14); }


/* ── NEXT SECTION ── */
.next-section {
  background: var(--ocean-mid);
  padding: 6rem 2rem;
  text-align: center;
}

.next-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.next-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.next-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .model-wrapper,
  .anatomy-model-wrapper {
    height: 320px;
  }

  .specimen-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .specimen-intro {
    text-align: left;
  }
}

/* ── MODEL LOADING POSTER ── */
.model-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(2, 11, 24, 0.9);
  gap: 1rem;
}

.model-loading-ring {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(201, 168, 76, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.model-loading-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.model-hint-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin: 0;
}