/* ============================================
   THANI BIN AHMED AL ZEYOUDI - OFFICIAL WEBSITE
   Global Trade & Leadership Platform
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #8B6914;
  --navy: #0A1628;
  --navy-light: #142238;
  --navy-mid: #1A2D4A;
  --blue-accent: #1E5AA8;
  --teal: #0E7C7B;
  --white: #FFFFFF;
  --off-white: #F4F1EB;
  --gray-100: #E8E6E1;
  --gray-200: #C4C0B8;
  --gray-300: #9B9690;
  --gray-600: #4A4640;
  --gray-800: #2A2724;
  --text-primary: #1A1714;
  --text-secondary: #6B6560;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 72ch;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
}

/* --- Page Transition Overlay --- */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

.page-transition .loader-line {
  width: 120px;
  height: 2px;
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
}

.page-transition .loader-line::after {
  content: '';
  position: absolute;
  left: -50%;
  width: 50%;
  height: 100%;
  background: var(--gold);
  animation: loaderSlide 1s ease infinite;
}

@keyframes loaderSlide {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--transition-smooth);
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand .brand-icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-brand .brand-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.nav-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-brand .brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: right 0.5s var(--transition-smooth);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  opacity: 1;
  color: var(--gold);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 8rem 5% 4rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text .hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-text .hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--transition-smooth) 0.3s forwards;
}

.hero-text .hero-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition-smooth) 0.5s forwards;
}

.hero-image-wrap {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 1s var(--transition-smooth) 0.6s forwards;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.hero-image-frame {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  opacity: 0.4;
  z-index: 1;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.3);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Section Layouts --- */
.section {
  padding: 7rem 5%;
  position: relative;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.65);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header .label {
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: 1.1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Asymmetric Grid Layouts --- */
.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.grid-asymmetric.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s var(--transition-smooth);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}

.card-dark {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-dark:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card .card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.card .card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 1;
}

.card h4 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  position: relative;
}

.stat-item {
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s var(--transition-smooth);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.55rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
}

/* --- Image Containers (CRITICAL - NO FACE CROPPING) --- */
.img-contain {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.img-contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.img-cover-safe {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.img-cover-safe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* --- Quote Block --- */
.quote-block {
  position: relative;
  padding: 3rem 0 3rem 3rem;
  border-left: 3px solid var(--gold);
}

.quote-block::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -2rem;
  left: 1rem;
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.section-dark .quote-block blockquote {
  color: var(--white);
}

.section-dark .quote-attribution {
  color: var(--gold-light);
}

.quote-attribution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --- Animated Trade Route Background --- */
.trade-routes-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.15;
  pointer-events: none;
}

.trade-routes-bg svg {
  width: 100%;
  height: 100%;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--transition-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--transition-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--transition-smooth);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--transition-smooth);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* --- Infographic Elements --- */
.trade-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.map-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: mapPulse 2s ease-in-out infinite;
}

.map-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: mapRipple 2s ease-in-out infinite;
}

@keyframes mapPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes mapRipple {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  transform-origin: left center;
  animation: mapLineGlow 3s ease-in-out infinite;
}

@keyframes mapLineGlow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* --- Progress Bars --- */
.progress-item {
  margin-bottom: 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0;
  transition: width 1.5s var(--transition-smooth);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  padding: 4rem 5% 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand .brand-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  padding-left: 0;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 0.3s ease;
}

.footer-social a:hover svg {
  fill: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--gold);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit a {
  color: var(--gold);
}

/* --- Password Screen --- */
.password-screen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.password-screen canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.password-container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 480px;
}

.password-container .pw-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconRotate 20s linear infinite;
}

.password-container .pw-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes iconRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.password-container h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.password-container .pw-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 2.5rem;
}

.password-input-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.password-input-wrap input {
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
}

.password-input-wrap input:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.password-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3em;
}

.password-input-wrap.error input {
  border-color: #E74C3C;
  animation: shake 0.5s ease;
}

.password-input-wrap.error::after {
  content: 'Access Denied — Invalid Credentials';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #E74C3C;
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.pw-enter-btn {
  width: 100%;
  padding: 1.15rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pw-enter-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.pw-success-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.pw-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.pw-success-overlay .success-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.3s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image-wrap {
    display: flex;
    justify-content: center;
  }

  .hero-image-container {
    max-width: 400px;
    margin: 0 auto;
  }

  .grid-asymmetric,
  .grid-asymmetric.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .grid-three {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-four {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .section {
    padding: 4rem 5%;
  }

  .hero-content {
    padding: 7rem 5% 3rem;
  }

  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .quote-block {
    padding-left: 1.5rem;
  }

  .quote-block blockquote {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 1.5rem;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.8rem;
  }
}

/* --- Utility Classes --- */
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-large { gap: 4rem; }
