@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050705; 
  --green: #22c55e;
  --green-light: #4ade80;
  --green-dark: #15803d;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background-color: var(--bg);
  background-image: url('bg.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5,7,5,0.7) 0%, rgba(5,7,5,0.92) 40%, rgba(5,7,5,1) 100%);
  pointer-events: none;
}

body > * { position: relative; z-index: 1; }

/* === PAGE TRANSITION === */
body { opacity: 0; animation: fadeIn 1s ease-out forwards; }
body.fade-out { animation: fadeOut 0.6s ease-in forwards; }
@keyframes fadeIn {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes fadeOut {
  from { opacity: 1; filter: blur(0); }
  to { opacity: 0; filter: blur(10px); }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--green-dark); }

/* === NAVIGATION === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 30px 40px;
  transition: all 0.4s ease;
  background: transparent;
}
nav.scrolled {
  padding: 15px 40px;
  background: rgba(5,7,5,0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav .nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 600; color: var(--white);
  letter-spacing: 1px;
}
nav .logo span {
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  color: var(--green-light); letter-spacing: 2px; text-transform: uppercase;
  margin-left: 10px; font-weight: 500;
}
nav ul { list-style: none; display: flex; gap: 30px; }
nav ul li a {
  color: var(--text-muted); text-decoration: none; font-size: 0.8rem;
  letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
  position: relative;
}
nav ul li a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--green-light); transition: var(--transition);
}
nav ul li a:hover { color: var(--white); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
nav ul li a.active { color: var(--white); }
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* === HERO SECTION === */
.hero {
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 40px 0;
  max-width: 1400px; margin: 0 auto;
}
.hero-subtitle {
  color: var(--green-light); font-size: 0.75rem; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 15px;
}
.hero-subtitle::before {
  content: ''; width: 40px; height: 1px; background: var(--green-light);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.05; color: var(--white); font-weight: 400;
  margin-bottom: 30px; max-width: 1000px;
}
.hero h1 i { font-style: italic; color: var(--green-light); }
.hero p {
  font-size: 1.1rem; color: var(--text-muted); max-width: 500px;
  font-weight: 300; line-height: 1.9;
}

/* === MAIN CONTENT (EDITORIAL STYLE) === */
main { max-width: 1400px; margin: 0 auto; padding: 100px 40px; }

.editorial-block {
  display: flex; flex-direction: column; gap: 40px; margin-bottom: 150px;
  opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s ease;
}
.editorial-block.visible { opacity: 1; transform: translateY(0); }

@media(min-width: 900px) {
  .editorial-block { flex-direction: row; gap: 100px; }
  .block-heading { flex: 0 0 350px; position: sticky; top: 120px; align-self: flex-start; }
  .block-content { flex: 1; padding-top: 10px; }
}

.block-heading h2 {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem); color: var(--white);
  line-height: 1.1; margin-bottom: 15px;
}
.block-heading p {
  color: var(--green-light); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}

/* === CONTENT TYPOGRAPHY === */
.content-section { margin-bottom: 80px; }
.content-section:last-child { margin-bottom: 0; }
.content-section h3 {
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px; display: flex; align-items: center; gap: 15px;
}
.content-section h3::before {
  content: ''; width: 20px; height: 1px; background: var(--green);
}
.content-section p {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 25px; font-weight: 300;
}
.content-section p:last-child { margin-bottom: 0; }

/* === INFO GRID (For IC/OOC Data) === */
.data-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px;
}
.data-item .label {
  font-size: 0.7rem; color: var(--green-light); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px;
}
.data-item .value {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--white);
}

/* === LISTS === */
.editorial-list { list-style: none; }
.editorial-list li {
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.05rem; color: var(--text-muted); font-weight: 300;
  display: flex; gap: 20px; transition: var(--transition);
}
.editorial-list li::before {
  content: '0' counter(list-counter); counter-increment: list-counter;
  font-family: 'Playfair Display', serif; color: var(--green); font-size: 0.9rem;
}
.editorial-list { counter-reset: list-counter; }
.editorial-list li:hover { color: var(--white); padding-left: 10px; border-color: rgba(34,197,94,0.3); }

/* === CLOSING === */
.closing-statement {
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4; color: var(--white); text-align: center;
  max-width: 900px; margin: 100px auto; font-style: italic;
}
.signature {
  text-align: center; margin-top: 60px;
}
.signature .name {
  font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--green-light);
}

/* === FOOTER === */
footer {
  text-align: center; padding: 40px; border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted); font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
}

/* === MOBILE === */
@media(max-width: 768px) {
  nav { padding: 20px; }
  nav.scrolled { padding: 15px 20px; }
  nav ul {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; align-items: center; justify-content: center;
    gap: 40px; transform: translateY(-100%); transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  }
  nav ul.open { transform: translateY(0); }
  nav ul li a { font-size: 1.5rem; font-family: 'Playfair Display', serif; }
  .menu-toggle { display: block; z-index: 101; position: relative; }
  
  .hero { padding: 120px 20px 50px; min-height: 60vh; }
  main { padding: 50px 20px; }
  .editorial-block { gap: 30px; margin-bottom: 80px; }
}
