/* ============================================
   ASCENDIA MEDIA GROUP — Global Styles
   Design: Editorial Luxury / Dark Conglomerate
   ============================================ */

:root {
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-hover: #161616;
  --text: #F5F5F0;
  --text-muted: #888880;
  --text-faint: #444440;
  --gold: #C9A96E;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --gold-border: rgba(201, 169, 110, 0.3);
  --white: #FAFAF8;
  --rule: rgba(255,255,255,0.08);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --unit: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET + BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: calc(var(--unit) * 2);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 calc(var(--unit) * 3);
}

.section {
  padding: calc(var(--unit) * 16) 0;
}

.section--light {
  background: #0F0F0F;
}

.section-header {
  margin-bottom: calc(var(--unit) * 8);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-top: calc(var(--unit));
}

.section-bridge {
  max-width: 760px;
  margin-top: calc(var(--unit) * 2);
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.45s; }
.delay-3 { animation-delay: 0.7s; }

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(var(--unit) * 2.5) calc(var(--unit) * 3);
  transition: background var(--transition), border-bottom var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
}

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

.nav-links {
  display: flex;
  gap: calc(var(--unit) * 4);
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: calc(var(--unit) * 2);
  padding: calc(var(--unit) * 2) 0 calc(var(--unit) * 3);
  border-top: 1px solid var(--rule);
  margin-top: calc(var(--unit) * 2);
}

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

.nav-mobile a {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--unit) * 12) calc(var(--unit) * 3);
  position: relative;
  background: radial-gradient(ellipse at 50% 60%, #0f0d0a 0%, #0A0A0A 70%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 800px 400px at 50% 80%, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--unit) * 3);
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.0;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: calc(var(--unit)) auto;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: calc(var(--unit) * 4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--unit));
  color: var(--text-faint);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-outline {
  display: inline-block;
  padding: calc(var(--unit) * 1.5) calc(var(--unit) * 4);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--transition);
  margin-top: calc(var(--unit));
}

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

.btn-gold {
  display: inline-block;
  padding: calc(var(--unit) * 1.5) calc(var(--unit) * 4);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-text {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

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

/* ============================================
   DIVISIONS GRID
   ============================================ */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.division-card {
  background: var(--bg);
  padding: calc(var(--unit) * 4) calc(var(--unit) * 3.5);
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit));
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.division-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.78));
  z-index: 0;
}

.division-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.division-card:hover { background: var(--bg-hover); }
.division-card:hover::after { transform: scaleX(1); }

.division-card--featured {
  background: #0D0B08;
}

.division-card > * {
  position: relative;
  z-index: 1;
}

.division-card:nth-child(1) { background-image: url('images/profiles/DSC03803.JPG'); }
.division-card:nth-child(2) { background-image: url('images/DESTRO/IMG_8375.jpeg'); }
.division-card:nth-child(3) { background-image: url('images/misc/IMG_8399.jpeg'); }
.division-card:nth-child(4) { background-image: url('images/profiles/DSC07652.JPG'); }
.division-card:nth-child(5) { background-image: url('images/travel/IMG_4222.jpeg'); }
.division-card:nth-child(6) { background-image: url('images/automotive/dji_fly_20240331_125416_0208_1711820511523_photo.JPG'); }
.division-card:nth-child(7) { background-image: url('images/zendegi/IMG_4695.jpeg'); }
.division-card:nth-child(8) { background-image: url('images/Arcade/IMG_1834.jpeg'); }
.division-card:nth-child(9) { background-image: url('images/food/IMG_7576.jpeg'); }
.division-card:nth-child(10) { background-image: url('images/DESTRO/IMG_9429.JPG'); }
.division-card:nth-child(11) { background-image: url('images/profiles/hf_20260208_162051_7aad0d0a-b21c-456c-86de-3d3e7d1e0186.jpeg'); }
.division-card:nth-child(12) { background-image: url('images/ART/IMG_9992.jpeg'); }
.division-card:nth-child(13) { background-image: url('images/miami/DSC09156.JPG'); }
.division-card:nth-child(14) { background-image: url('images/travel/IMG_9553.jpeg'); }
.division-card:nth-child(15) { background-image: url('images/misc/IMG_7212.jpeg'); }
.division-card:nth-child(16) { background-image: url('images/food/IMG_7234.jpeg'); }

.division-number {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.division-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold);
  margin-top: calc(var(--unit) * 0.5);
}

.division-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.division-arrow {
  font-size: 0.9rem;
  color: var(--text-faint);
  align-self: flex-end;
  transition: color var(--transition), transform var(--transition);
}

.division-card:hover .division-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ============================================
   AI QUOTE BREAK
   ============================================ */
.quote-break {
  padding: calc(var(--unit) * 10) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.quote-break--light {
  background: #0F0F0F;
}

.ai-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(245, 245, 240, 0.18);
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 800px;
  margin: 0 auto;
  transition: color 0.8s ease;
}

.ai-quote.visible { color: rgba(245, 245, 240, 0.22); }
.ai-quote--dark { color: rgba(10, 10, 10, 0.6); }
.ai-quote--dark.visible { color: rgba(201, 169, 110, 0.25); }

/* ============================================
   FEATURED
   ============================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--unit) * 3);
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.featured-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.featured-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #151515 0%, #1a1a16 100%);
  position: relative;
  overflow: hidden;
}

.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3));
}

.featured-body {
  padding: calc(var(--unit) * 3);
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit));
}

.featured-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.featured-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.featured-date {
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin-top: calc(var(--unit));
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  padding: calc(var(--unit) * 10) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--unit) * 2);
  text-align: center;
}

.stats-grid--story {
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--unit) * 4);
  text-align: left;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit));
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.stats-grid--story .stat-number {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: 0.12em;
}

.stats-grid--story .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
  line-height: 1.7;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================
   ABOUT
   ============================================ */
.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: calc(var(--unit) * 8);
  align-items: start;
}

.about-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin-top: calc(var(--unit) * 2);
}

.about-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: calc(var(--unit) * 3);
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: calc(var(--unit) * 2);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: calc(var(--unit) * 2);
}

.newsletter-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: calc(var(--unit) * 4);
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
}

.newsletter-input {
  flex: 1;
  padding: calc(var(--unit) * 1.75) calc(var(--unit) * 2.5);
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-input::placeholder { color: var(--text-faint); }

.newsletter-fine {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: calc(var(--unit) * 1.5);
  letter-spacing: 0.05em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--rule);
  padding: calc(var(--unit) * 10) 0 calc(var(--unit) * 5);
  background: #070707;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: calc(var(--unit) * 8);
  padding-bottom: calc(var(--unit) * 8);
  border-bottom: 1px solid var(--rule);
  margin-bottom: calc(var(--unit) * 5);
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: calc(var(--unit));
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.15em;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--unit) * 4);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit) * 1.25);
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: calc(var(--unit) * 0.5);
}

.footer-col a {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.footer-social {
  display: flex;
  gap: calc(var(--unit) * 3);
}

.footer-social a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  transition: color var(--transition);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: calc(var(--unit) * 3); }
  .about-label { display: flex; align-items: center; gap: calc(var(--unit) * 2); }
  .about-rule { margin: 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 4.5rem); }

  .divisions-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: calc(var(--unit) * 4); }
  .stats-grid--story { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: calc(var(--unit) * 2); text-align: center; }

  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 480px) {
  .container { padding: 0 calc(var(--unit) * 2); }
  .section { padding: calc(var(--unit) * 10) 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid--story { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
