@font-face {
  font-family: 'Montega';
  src: url('fonts/Montega.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #0B0C0E;
  --accent-gold: #d2b75e;
  --accent-gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-tertiary: #A0AEC0;
  

  --font-serif: 'Montega', serif;
  --font-sans: 'Montega', serif; 
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background-color: var(--bg-primary); color: var(--text-secondary); overflow-x: hidden; }


.preloader { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; background-color: var(--bg-primary); transition: opacity 0.6s var(--ease-out-expo); }
.preloader__emblem { width: 400px; height: auto; }
.preloader__text { margin-top: 1rem; font-size: 1.8rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent-gold); }


.header { position: fixed; top: 0; left: 0; right: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; height: 76px; background: transparent; transition: background-color 0.4s; }
.header.is-scrolled { background-color: rgba(11, 12, 14, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
.header__logo { opacity: 0; transition: opacity 0.8s var(--ease-out-expo); }
.header__logo.is-visible { opacity: 1; }


.fullscreen-video { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 1s var(--ease-out-expo); pointer-events: none; }
.fullscreen-video.is-loaded { opacity: 1; }
.fullscreen-video { background: #0b0c0e url('VIDEO/attalia_poster.jpg') center / cover no-repeat; }



.hero { position: relative; height: 100vh; width: 100%; z-index: 2; }
.hero__content { position: absolute; inset: 0; pointer-events: none; }
.hero-block { position: absolute; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1000px; text-align: center; padding: 0 1.5rem; }
.hero-block--sublabel { top: 65px; }
.hero-block--tagline { top: 125px; }
.hero-block--statement { top: 42%; transform: translate(-50%, -50%); }

.hero__sublabel { 
  font-family: var(--font-sans);
  font-size: 1rem; 
  font-weight: 600; 
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold); 
  opacity: 0; 
  transition: opacity 1s var(--ease-out-expo); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
}
.hero__sublabel::before, .hero__sublabel::after { content: ""; display: block; height: 1px; width: 60px; background: var(--accent-gold); opacity: 0.4; }

.hero__tagline { 
  font-family: var(--font-serif);
  font-size: 1rem; 
  font-weight: 400;
  letter-spacing: 0.5em; 
  text-transform: uppercase; 
  color: var(--text-tertiary); 
  opacity: 0; 
  transition: opacity 1s 0.2s var(--ease-out-expo); 
}

.hero__statement { 
  font-family: var(--font-serif);
  font-weight: 150;
  font-size: clamp(3.2rem, 5.5vw, 5rem); 
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #FFF; 
  opacity: 0; 
  transition: opacity 1s 0.4s var(--ease-out-expo); 
}

.hero__statement span { 
  font-weight: 150;
  font-style: italic;
  background: var(--accent-gold-gradient); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.hero.is-revealed .hero__sublabel, .hero.is-revealed .hero__tagline, .hero.is-revealed .hero__statement { opacity: 1; }

.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 3; pointer-events: none; }
.scroll-indicator__label { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-tertiary); }
.scroll-indicator__line { width: 1px; height: 45px; background: linear-gradient(to bottom, var(--accent-gold), transparent); }


.scroll-spacer { position: relative; height: 500vh; width: 100%; z-index: 2; }
.scroll-sticky-content { position: sticky; top: 0; left: 0; width: 100%; height: 100vh; overflow: hidden; pointer-events: none; display: flex; align-items: center; justify-content: center; }

#divisionOverlay, .scroll-spacer__overlay { position: relative; width: 100%; max-width: 1000px; padding: 0 1.5rem; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.dna-text-wrapper { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; justify-content: center; width: 100%; animation: overlayFadeIn 0.6s var(--ease-out-expo) forwards; }
.dna-line { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3.2rem); color: var(--text-primary); text-transform: uppercase; text-align: center; width: 100%; }
.dna-line.gold { color: var(--accent-gold); }


.steps-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  animation: overlayFadeIn 0.5s var(--ease-out-expo) forwards;
  background: rgba(20, 22, 28, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 1.5rem 3rem;
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.step-word { font-size: clamp(1.2rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: 0.15em; color: rgba(255,255,255,0.2); transition: color 0.4s; }
.step-word.is-active { color: var(--text-primary); }
.step-word.is-active:last-child { color: var(--accent-gold); }
.step-dot { color: rgba(212,175,55,0.2); font-size: 2rem; }
.step-dot.is-active { color: var(--accent-gold); }

@keyframes overlayFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


.division, .pillars { position: relative; min-height: 100vh; padding: 6rem 2rem; background: transparent; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.division__headline { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); color: #FFF; margin-bottom: 1.5rem; }
.division__divider { display: block; width: 60px; height: 2px; background: var(--accent-gold); margin: 0 auto 1.5rem auto; }
.division__caption { max-width: 700px; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; }

.pillars__header { text-align: center; }
.pillars__eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 0.5rem; }
.pillars__title { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.5rem); color: #FFF; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin-top: 3rem; width: 100%; }
.pillar-card { background: rgba(13,14,18,0.7); border: 1px solid rgba(212,175,55,0.2); padding: 2.5rem 2rem; border-radius: 8px; text-align: left; }
.pillar-card__index { color: var(--accent-gold); font-size: 0.8rem; letter-spacing: 0.2em; display: block; margin-bottom: 1rem; }
.pillar-card__title { font-family: var(--font-serif); font-size: 1.6rem; color: #FFF; margin-bottom: 0.5rem; }
.pillar-card__subtitle { font-size: 0.9rem; color: var(--text-tertiary); }

.footer { padding: 3rem; text-align: center; border-top: 1px solid rgba(212,175,55,0.15); background: var(--bg-primary); position: relative; z-index: 2; }
.footer__copyright { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-tertiary); }

@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .hero-block--sublabel { top: 84px; }
  .hero-block--tagline { top: 128px; }
  .hero__sublabel { font-size: 0.62rem; letter-spacing: 0.22em; gap: 10px; }
  .hero__sublabel::before, .hero__sublabel::after { width: 20px; }
  .hero__tagline { font-size: 0.8rem; letter-spacing: 0.3em; }
}

.screen-mask {
  position: fixed;
  inset: 0;

  background-color: rgba(11, 12, 14, 0.783);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

.screen-mask.is-active {
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .fullscreen-video { opacity: 1; }
}
