/* Creator Colosseum - Editorial Aesthetic & Choreographed Scroll System */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-sand: #edd7a6;
  --bg-sand-light: #f5e2b8;
  --bg-sand-muted: #e4cb96;
  --bg-sand-dark: #dac087;
  --navy: #0F2F52;
  --navy-dark: #081a2f;
  --navy-light: #184473;
  --navy-subtle: rgba(15, 47, 82, 0.08);
  --gold: #c89e37;
  --gold-glow: rgba(200, 158, 55, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-sand);
}

body {
  background-color: var(--bg-sand) !important;
  color: var(--navy);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale - Matteo Fabbiani Editorial Direction */
.font-display {
  font-family: 'Cinzel', serif;
  letter-spacing: -0.01em;
}

.font-serif-title {
  font-family: 'Cinzel', serif;
}

.font-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-mono-tag {
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.22em;
}

/* Uppercase Monospace Section Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--navy);
  opacity: 0.85;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 47, 82, 0.22);
  background: rgba(245, 226, 184, 0.65);
  backdrop-filter: blur(8px);
}

.section-tag-dark {
  border-color: rgba(237, 215, 166, 0.3);
  background: rgba(15, 47, 82, 0.5);
  color: #edd7a6;
}

/* Weight Badges for Rubric */
.weight-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(15, 47, 82, 0.1);
  color: var(--navy);
  border: 1px solid rgba(15, 47, 82, 0.25);
}

.weight-badge-featured {
  background: rgba(200, 158, 55, 0.2);
  color: #8c6a15;
  border-color: rgba(200, 158, 55, 0.5);
}

[data-rubric-switch].bg-\[\#0F2F52\] .weight-badge {
  background: rgba(237, 215, 166, 0.18);
  color: #edd7a6;
  border-color: rgba(237, 215, 166, 0.35);
}

[data-rubric-switch].bg-\[\#0F2F52\] .weight-badge-featured {
  background: #c89e37;
  color: #0F2F52;
  border-color: #c89e37;
}

/* Editorial Hairline Borders */
.border-editorial {
  border-color: rgba(15, 47, 82, 0.16);
}

.border-editorial-dark {
  border-color: rgba(237, 215, 166, 0.2);
}

/* Sleek Ultra-Thin Glass Navigation */
.glass-nav {
  background: rgba(237, 215, 166, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 47, 82, 0.14);
}

/* Warm Gold Logo Glow */
.logo-glow {
  box-shadow: 0 0 16px rgba(200, 158, 55, 0.45);
  border: 1.5px solid rgba(200, 158, 55, 0.85);
}

/* Pinned 3D Viewport Canvas */
#colosseum-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Scroll Section Layer */
.scroll-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: auto;
}

/* Kinetic Word Mask & Transitions */
.kinetic-mask {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}

.kinetic-word {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
}

.kinetic-word.revealed {
  transform: translateY(0%);
  opacity: 1;
}

/* Temple Portico Pillars (About Us) */
.portico-pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.portico-pillar-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 20px 36px rgba(15, 47, 82, 0.18));
}

.portico-frame-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

.portico-inner-content {
  position: absolute;
  top: 27%;
  bottom: 14%;
  left: 15%;
  right: 15%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.85rem;
  z-index: 2;
  pointer-events: auto;
}

.portico-inner-content-grand {
  top: 26%;
  bottom: 15%;
  left: 17%;
  right: 17%;
  padding: 1.25rem 0.85rem;
}

.portico-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  white-space: nowrap;
}

.portico-title-grand {
  font-size: clamp(0.85rem, 1.25vw, 1.25rem); /* Scaled slightly down so 16 letters fit on 1 line */
  white-space: nowrap;                         /* Guarantees 'ENTREPRENEURSHIP' never breaks onto a second line */
}

.portico-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  line-height: 1.55;
  margin: auto 0;
}

.portico-footer {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(0.58rem, 0.78vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-top: 0.5rem;
  width: 100%;
}

/* Editorial Footer Social Link */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(237, 215, 166, 0.28);
  color: #edd7a6;
  background: transparent;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background-color: #edd7a6;
  color: #0F2F52;
  border-color: #edd7a6;
  transform: translateY(-2px);
}

/* Hide Scrollbar for Horizontal Marquee */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Marquee Dragging Cursor */
.cursor-grab {
  cursor: grab;
}
.cursor-grab:active,
.active-drag {
  cursor: grabbing;
}

/* Minimalist Editorial FAQ Accordion */
.editorial-faq-item {
  border-bottom: 1px solid rgba(15, 47, 82, 0.18);
  transition: border-color 0.3s ease;
}

.editorial-faq-item.active {
  border-color: #0F2F52;
}

.editorial-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.editorial-faq-item.active .editorial-faq-content {
  opacity: 1;
}

.editorial-faq-icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-faq-item.active .editorial-faq-icon {
  transform: rotate(45deg);
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #edd7a6;
}
::-webkit-scrollbar-thumb {
  background: #0F2F52;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #081a2f;
}

/* Hide the 3D canvas container completely on mobile and tablets */
#colosseum-canvas-container {
  display: none !important;
}

/* Only reveal it on laptops and widescreen desktop monitors (1024px and up) */
@media (min-width: 1024px) {
  #colosseum-canvas-container {
    display: block !important;
  }
}