/* ============================================
   Aetheris Ventures — styles.css
   Warm minimal · Editorial · Swiss-clean
   ============================================ */

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

:root {
  --bg:       #f5f2ed;
  --bg-warm:  #eae5dd;
  --text:     #1a1a1a;
  --text-mid: #555550;
  --text-light: #999590;
  --accent:   #8b6914;
  --accent-light: #c49b2c;
  --border:   #d5d0c8;
  --white:    #ffffff;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(245, 242, 237, .9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity .2s;
}

.brand:hover { opacity: .6; }

.topbar-logo {
  height: 22px;
  width: auto;
  filter: sepia(1) saturate(2) hue-rotate(5deg) brightness(.6);
  opacity: .7;
}

.lab-badge {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 3px 8px;
  transition: background .2s, color .2s;
}

.lab-badge:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px 0;
}

.hero-inner {
  text-align: center;
  max-width: 700px;
}

.hero-logo {
  width: 120px;
  height: auto;
  border-radius: 12px;
  filter: sepia(1) saturate(2) hue-rotate(5deg) brightness(.6);
  opacity: .5;
  margin: 36px auto;
  display: block;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  letter-spacing: .3px;
}

/* ---------- Divider Line ---------- */
.divider-line {
  width: 0;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    #8b6914 20%,
    #c49b2c 50%,
    #8b6914 80%,
    transparent
  );
  opacity: .4;
}

/* ---------- Pillars ---------- */
.pillars {
  display: flex;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px;
}

.pillar {
  flex: 1;
  padding: 0 40px;
  text-align: center;
}

.pillar-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.pillar h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}

.pillar-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ---------- Portfolio ---------- */
.portfolio {
  background: var(--text);
  padding: 100px 40px;
}

.portfolio-label {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.portfolio-item {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid #333;
  transition: background .3s;
}

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

.portfolio-item:hover {
  background: rgba(255, 255, 255, .03);
}

.portfolio-item h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 10px;
}

.portfolio-item span {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ---------- Partners ---------- */
.partners {
  padding: 80px 40px;
  text-align: center;
}

.partners-label {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 600px;
  margin: 0 auto;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  height: auto;
  opacity: .35;
  transition: opacity .3s;
}

.partner-logo-machia {
  height: 96px;
  width: auto;
  filter: sepia(1) saturate(0.3) brightness(.4);
}

.partner-logo-ubs {
  height: 88px;
  width: auto;
}

.partner-item:hover .partner-logo {
  opacity: .6;
}

/* ---------- Contact ---------- */
.contact {
  padding: 120px 40px;
  text-align: center;
}

.contact-line {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.contact-sub {
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: .7rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* ---------- Fade-in animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .topbar { padding: 0 20px; }

  .hero { padding: 56px 24px 0; }

  .pillars {
    flex-direction: column;
    padding: 80px 24px;
    gap: 48px;
  }

  .pillar { padding: 0; }

  .pillar-divider {
    width: 60px;
    height: 1px;
    align-self: center;
  }

  .portfolio { padding: 80px 24px; }

  .portfolio-grid {
    flex-direction: column;
    gap: 0;
  }

  .portfolio-item {
    border-right: none;
    border-bottom: 1px solid #333;
    padding: 24px 0;
  }

  .portfolio-item:last-child { border-bottom: none; }

  .partners { padding: 60px 24px; }
  .partners-grid { gap: 48px; }

  .contact { padding: 80px 24px; }
}
