/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* COLORS: change all colors here */
:root {
  --bg: #fdfcfb;               /* soft cream background */
  --soft: #f5f3f0;             /* slightly darker section background */
  --text: #1a1a18;             /* deep charcoal, elegant for text */
  --muted: #7a746c;            /* muted taupe for secondary text */
  --green: #bfa76f;            /* warm, understated gold accent */
  --line: #ded8d1;             /* subtle border and divider */
  --highlight: #a69f96;        /* soft, sophisticated highlight */
  --panel-gradient-start: #f5f3f0; 
  --panel-gradient-end: #eae5df; 
  --node-bg: rgba(255,255,250,0.7); /* soft, translucent cream */
  --node-core-bg: rgba(255,250,240,0.7); /* warmer core nodes */
  --node-hover-bg: #ede6db;    /* hover state, warm beige */
  --btn-text: #1a1a18;         /* dark text for luxury buttons */
}

/* BASE */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1120px;
  margin: auto;
}

.center { text-align: center; }

/* HEADER */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(243,245,242,0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 120px;
  height: 28px;
  background: var(--green);
  color: var(--btn-text);
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 600;
}

/* NAV */
.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.2s;
}

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

/* ACTIVE SCROLLSPY STATE */
.nav a.active {
  background: var(--green);
  color: var(--btn-text) !important;
  padding: 6px 10px;
  border-radius: 8px;
}

/* TYPOGRAPHY */
h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 24px 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.body {
  color: var(--muted);
  max-width: 60ch;
  margin: auto;
}

/* EYEBROW */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--highlight);
}

/* SECTIONS */
.section {
  padding: 96px 0;
}

.soft {
  background: var(--soft);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* PANELS */
.panel {
  height: 660px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
  .panel {
    height: 750px; /* increase height */
  }
  .eyebrow {
    margin-top: 100px;
}
}

/* PANEL GRADIENT OPTION */
.panel-gradient {
  background: linear-gradient(135deg, var(--panel-gradient-start), var(--panel-gradient-end));
}

/* INNER GRID */
.panel-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CORE NODE */
.node.core {
  background: var(--node-core-bg);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* LAYERS */
.layer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* MODULE NODES */
.node {
  flex: 1;
  background: var(--node-bg);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text);
}

.node.small {
  font-size: 0.75rem;
  opacity: 0.9;
}

.node:hover {
  transform: translateY(-2px);
  transition: 0.2s ease;
  background: var(--node-hover-bg);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 48px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
}

#contact .contactcards {
  display: flex;
  justify-content: center; /* centers the cards */
  gap: 2rem;
  flex-wrap: wrap;
}


/* LINKS */
a {
  color: var(--green);
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--green);
  color: var(--btn-text);
  border-radius: 8px;
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.btn.small {
  margin-top: 0;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  margin-top: 48px;
}

.value {
  font-size: 2rem;
  color: var(--green);
}

.label {
  color: var(--muted);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

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

/* FOOTER */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--highlight);
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid,
  .cards,
  .stats {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }
}

html {
  scroll-behavior: auto; /* we replace with JS easing */
}

.hero {
  padding: 80px 0 80px; /* increased top + bottom spacing */
}

/* Ensure all content is visible without JS */
    .reveal,
    .section-track {
      opacity: 1 !important;
      transform: none !important;
      visibility: visible !important;
    }

    /* Keep navigation usable */
    html {
      scroll-behavior: auto;
    }

    /* Hide JS-only effects if needed */
    .js-only {
      display: none !important;
    }

    /* Optional styling for noscript notice */
    .noscript-banner {
      background: #111;
      color: #fff;
      padding: 14px 20px;
      text-align: center;
      font-size: 14px;
      line-height: 1.5;
    }

    .noscript-banner a {
      color: #fff;
      text-decoration: underline;
    }
    .module-card {
  margin-top: 20px;
}

/* LANGUAGE SWITCHER */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
}

.lang-btn {
  border: 1px solid var(--highlight);
  background: rgba(255,255,255,0.55);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.lang-btn:hover {
  background: var(--node-hover-bg);
  transform: translateY(-1px);
}

.lang-btn.active {
  background: var(--node-hover-bg);
  color: var(--highlight);
  border-color: var(--node-hover-bg);
}

/* MOBILE */

@media (max-width: 900px) {

  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav a {
    margin-left: 0;
  }

  .language-switcher {
    margin-left: 0;
  }

}
.contactcards p {
  white-space: nowrap;
}

