/* ============================================
   MANU TENTIWAL – OFFICIAL WEBSITE
   Design: Financial Intelligence Interface
   ============================================ */

/* --- CSS Variables --- */
:root {
  --black: #0a0a0a;
  --charcoal: #141418;
  --dark-blue: #0d1b2a;
  --navy: #1b2a4a;
  --steel: #6b7b8d;
  --steel-light: #8a9bb0;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --electric-blue: #2d7dd2;
  --white: #f0f0f0;
  --white-dim: #c0c0c0;
  --border-subtle: rgba(201, 168, 76, 0.15);
  --border-steel: rgba(107, 123, 141, 0.2);
  --glass: rgba(13, 27, 42, 0.85);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--white-dim);
  max-width: 70ch;
}

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

.label-steel {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
}

/* --- Password Gate Page --- */
.gate-wrapper {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.gate-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 4s ease-in-out infinite;
}

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

.gate-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: scanMove 3s linear infinite;
  opacity: 0.4;
}

@keyframes scanMove {
  0% { top: 0; }
  100% { top: 100%; }
}

.gate-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
}

.gate-emblem {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gate-emblem::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.gate-emblem::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  animation: emblemPulse 2s ease-in-out infinite;
}

@keyframes emblemPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

.gate-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.gate-subtitle {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.gate-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.gate-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-align: center;
  outline: none;
  transition: var(--transition);
}

.gate-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.gate-input::placeholder {
  color: var(--steel);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.gate-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.gate-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.gate-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
}

.gate-btn:active::before {
  width: 300px;
  height: 300px;
}

.gate-error {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.gate-error.visible {
  opacity: 1;
}

.gate-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--steel);
  margin-top: 2rem;
  letter-spacing: 0.1em;
}

.gate-status .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 6px;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Gate unlock animation */
.gate-unlocking .gate-container {
  animation: unlockFade 0.8s ease forwards;
}

.gate-unlocking .gate-bg-grid {
  animation: gridExpand 0.8s ease forwards;
}

@keyframes unlockFade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); filter: blur(10px); }
}

@keyframes gridExpand {
  0% { opacity: 1; }
  100% { opacity: 0; background-size: 120px 120px; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav.scrolled {
  height: 60px;
  background: rgba(10, 10, 10, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo-mark::before {
  content: 'MT';
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

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

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--steel);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

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

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-light);
  position: relative;
  padding: 4px 0;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

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

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-light);
  transition: var(--transition);
}

.nav-mobile a:hover {
  color: var(--gold);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 5% 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(13, 27, 42, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(27, 42, 74, 0.3) 0%, transparent 50%);
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  padding-right: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  padding: 6px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
}

.hero-tag .indicator {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}

.hero-tag span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--steel-light);
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-style: italic;
}

.hero-desc {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-highlights {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-highlights .chip {
  padding: 8px 18px;
  border: 1px solid var(--border-steel);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-light);
  transition: var(--transition);
}

.hero-highlights .chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.hero-cta .arrow {
  transition: var(--transition);
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%) contrast(1.05);
  border: 1px solid var(--border-subtle);
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: -1;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--black), transparent);
  pointer-events: none;
}

.hero-image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.hero-image-label span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10, 10, 10, 0.8);
  padding: 4px 10px;
}

/* --- Section Common --- */
.section {
  padding: 100px 5%;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

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

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

.section-header p {
  max-width: 60ch;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1rem 0;
}

.section-alt {
  background: var(--charcoal);
}

.section-dark {
  background: var(--dark-blue);
}

/* --- Stat Cards --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: var(--transition-slow);
}

.stat-card:hover::before {
  height: 100%;
}

.stat-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.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;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  background: var(--black);
  border-radius: 50%;
}

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

.timeline-item h4 {
  margin-bottom: 0.5rem;
  color: var(--white);
}

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

/* --- Content Grid --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.content-card {
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition);
}

.content-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.content-card h4 {
  margin-bottom: 1rem;
  color: var(--white);
}

.content-card .icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.2rem;
}

/* --- Feature List --- */
.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-steel);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.03);
}

.feature-item .marker {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 6px;
}

.feature-item h4 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item .overlay span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Media Cards --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.media-card {
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
}

.media-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
}

.media-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-image .placeholder-icon {
  font-size: 2rem;
  color: var(--steel);
}

.media-card-body {
  padding: 1.5rem;
}

.media-card-body .date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.media-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.media-card-body p {
  font-size: 0.9rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-steel);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

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

.form-submit {
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
}

.form-submit:hover {
  background: var(--gold);
  color: var(--black);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  padding: 3rem 5%;
  border-top: 1px solid var(--border-subtle);
  background: var(--black);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-credit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--steel);
  letter-spacing: 0.1em;
}

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

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-contact {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--steel);
  letter-spacing: 0.05em;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Page Header Banner --- */
.page-banner {
  padding: 160px 5% 80px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(27, 42, 74, 0.4) 0%, transparent 60%);
}

.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-banner .label {
  margin-bottom: 1rem;
  display: block;
}

.page-banner h1 {
  margin-bottom: 1rem;
}

.page-banner p {
  max-width: 60ch;
}

/* --- Milestones / Key Updates --- */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.update-card {
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition);
}

.update-card:hover {
  background: rgba(201, 168, 76, 0.03);
}

.update-card .tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.update-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* --- Scroll Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-highlights {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image-frame {
    max-width: 320px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 5%;
  }

  .hero {
    padding: 100px 5% 60px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-highlights {
    flex-direction: column;
    align-items: center;
  }

  .gate-container {
    padding: 1rem;
  }
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-mono);
}

/* --- Quote Block --- */
.quote-block {
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.03);
  margin: 2rem 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
}

/* --- Breadcrumb-like Code Label --- */
.code-path {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--steel);
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px solid var(--border-steel);
  display: inline-block;
  margin-bottom: 2rem;
}

/* --- Schema Markup (hidden) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
