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

:root {
  --bg:      #0c2416;
  --bg2:     #112c1c;
  --bg3:     #0a1f12;
  --cream:   #ede7d9;
  --cream2:  #c8c1b3;
  --sage:    #7a9e82;
  --amber:   #9acaa5;
  --border:  rgba(122,158,130,0.18);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --display: 'Syne', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
main { display: block; min-height: 60vh; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(12,36,22,0.98) 0%, rgba(12,36,22,0) 100%);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,31,18,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: inline-flex; align-items: center;
  cursor: pointer; text-decoration: none; color: var(--cream);
}
.nav-logo-text {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  letter-spacing: 0.01em;
  color: var(--cream);
  line-height: 1;
}
.benzene-ring { display: block; }
.footer-wordmark {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  letter-spacing: 0.02em; color: var(--cream);
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream2); text-decoration: none;
  transition: color 0.2s; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }

.nav-cta {
  display: inline-block;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); background: var(--amber);
  border: none; padding: 12px 24px; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}
.nav-cta:hover { background: var(--cream); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-5px); }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg3); flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif); font-size: 32px; font-weight: 300;
  color: var(--cream); text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--sage); }
.mobile-menu .mobile-menu-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); background: var(--amber);
  padding: 14px 32px; margin-top: 8px;
}
.mobile-menu .mobile-menu-cta:hover { color: var(--bg); background: var(--cream); }

/* HOME */
.home { position: relative; display: flex; flex-direction: column; padding-top: 0; }
.hero {
  min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 0 40px; position: relative; overflow: hidden;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; max-width: 760px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(48px, 7vw, 96px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--cream); margin-bottom: 40px;
}
.hero h1 em, .page-hero h1 em { font-style: italic; }
.hero-mark {
  position: absolute; right: 6%; top: 50%;
  transform: translateY(-50%);
  opacity: 0.18; pointer-events: none;
}
.hero-mark svg { width: clamp(260px, 32vw, 520px); height: auto; }
.hero-divider {
  width: 100%; border: none; border-top: 1px solid var(--border);
  margin: 0 -40px; width: calc(100% + 80px);
}
.hero-sub {
  padding: 32px 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: end;
}
.hero-sub p {
  font-family: var(--sans); font-size: 17px; font-weight: 300;
  line-height: 1.65; color: var(--cream2); max-width: 400px;
}
.hero-sub-right { display: flex; justify-content: flex-end; align-items: flex-end; }
.scroll-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); cursor: pointer; text-decoration: none;
}
.scroll-hint svg { width: 14px; height: 14px; }

.home-stats {
  background: var(--border);
  padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { background: var(--bg2); padding: 56px 40px; }
.stat-num {
  font-family: var(--display); font-size: clamp(48px, 5vw, 80px);
  font-weight: 600; color: var(--cream); line-height: 1;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.stat-num .sup { font-size: 40%; vertical-align: super; }
.stat-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber);
}
.stat-desc {
  margin-top: 10px; font-size: 14px; font-weight: 300;
  color: var(--cream2); line-height: 1.55;
}

.home-intro {
  padding: 120px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.section-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 24px; display: inline-block;
}
.section-label-spaced { margin-bottom: 48px; }
.home-intro h2 {
  font-family: var(--serif); font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300; line-height: 1.15; color: var(--cream);
}
.home-intro-right p {
  font-size: 16px; font-weight: 300; line-height: 1.75;
  color: var(--cream2); margin-bottom: 24px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber); cursor: pointer; border: none; background: none;
  padding: 0; transition: gap 0.2s; text-decoration: none;
}
.link-arrow:hover { gap: 16px; }
.link-arrow svg { width: 16px; height: 16px; }

.cta-band {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 80px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.cta-heading {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 40px);
  font-weight: 300; color: var(--cream); line-height: 1.2; margin-bottom: 12px;
  max-width: 720px;
}
.cta-sub { font-size: 15px; font-weight: 300; color: var(--cream2); }
.cta-large { padding: 16px 36px; font-size: 13px; }

/* PAGE HERO */
.page-hero {
  min-height: 55vh; padding: 160px 40px 80px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero-short { min-height: 40vh; }
.page-hero-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 6vw, 88px);
  font-weight: 300; line-height: 1.05; color: var(--cream);
  max-width: 900px;
}
.page-hero-sub {
  margin-top: 32px; font-size: 17px; font-weight: 300;
  line-height: 1.65; color: var(--cream2); max-width: 620px;
}
.page-hero-mark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  opacity: 0.07; pointer-events: none;
}
.page-hero-mark svg { width: clamp(300px, 40vw, 600px); height: auto; }

/* COMPARE GRID */
.compare-section { padding: 100px 40px; }
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
}
.compare-head {
  padding: 28px 32px; border-bottom: 2px solid var(--border);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}
.compare-head-left { background: var(--bg2); color: var(--cream2); }
.compare-head-right { background: var(--bg); color: var(--sage); }
.compare-head-sage { color: var(--sage); }
.compare-head-cream { color: var(--cream2); }
.compare-cell {
  padding: 22px 32px; border-bottom: 1px solid var(--border);
  font-size: 14px; line-height: 1.55;
}
.compare-left { background: var(--bg2); font-weight: 300; color: var(--cream2); }
.compare-right { background: var(--bg); font-weight: 400; color: var(--cream); display: flex; gap: 12px; align-items: flex-start; }
.partnership-ours { background: var(--bg2); color: var(--cream); font-weight: 300; display: flex; gap: 12px; align-items: flex-start; }
.partnership-yours { background: var(--bg); color: var(--cream2); font-weight: 300; }

.check-icon {
  display: inline-block; width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'><path d='M2 7l4 4 6-7' stroke='%237a9e82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
}

/* ECONOMICS */
.economics {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 100px 40px;
}
.economics-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.big-heading {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 44px);
  font-weight: 300; line-height: 1.2; color: var(--cream); margin-top: 24px;
}
.lead {
  margin-top: 24px; font-size: 15px; font-weight: 300;
  line-height: 1.75; color: var(--cream2);
}
.econ-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px;
}
.econ-num {
  font-family: var(--display); font-size: clamp(32px, 3vw, 48px);
  font-weight: 600; color: var(--cream); line-height: 1; letter-spacing: -0.02em;
}
.econ-desc {
  font-size: 13px; font-weight: 300; color: var(--cream2);
  line-height: 1.6; margin-top: 10px;
}
.econ-tagline {
  grid-column: 1 / -1;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--amber);
  line-height: 1.25;
}

/* WHY NOW */
.why-now { padding: 100px 40px; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px 80px; margin-top: 40px;
}
.why-grid h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--cream); margin-bottom: 12px;
}
.why-grid p {
  font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--cream2);
}

/* PLATFORM PILLARS */
.pillars-section { padding: 100px 40px 0; }
.platform-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar { background: var(--bg); padding: 56px 40px; }
.pillar-icon { margin-bottom: 28px; }
.pillar-icon svg { width: 32px; height: 32px; }
.pillar h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: var(--cream); margin-bottom: 16px; line-height: 1.2;
  border-top: 2px solid var(--amber); padding-top: 20px;
}
.pillar p {
  font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--cream2);
}

/* PARTNERSHIP */
.partnership-section { padding: 100px 40px; }
.partnership-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-bottom: 56px;
}
.partnership-intro h2 { margin-top: 0; }
.partnership-intro p { margin-top: 0; }

/* TEAM */
.team-grid {
  padding: 80px 40px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border-bottom: 1px solid var(--border);
}
.team-member {
  background: var(--bg); padding: 48px 40px;
  display: grid; grid-template-columns: 112px 1fr; gap: 32px; align-items: start;
}
.team-avatar {
  width: 112px; height: 112px; border-radius: 50%;
  background: linear-gradient(135deg, #1c3f29 0%, #0c2416 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.team-avatar span {
  font-family: var(--serif); font-size: 34px; font-weight: 400;
  color: var(--sage); letter-spacing: 0.02em;
}
.team-avatar-photo { overflow: hidden; padding: 0; background: var(--bg); }
.team-avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  display: block;
}
.team-member h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: var(--cream); margin-bottom: 4px; line-height: 1.15;
}
.team-member .role {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.team-member p {
  font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--cream2);
}

/* CONTACT */
.contact-section {
  padding: 100px 40px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 36px; max-width: 720px;
}
.contact-section p {
  font-size: 18px; font-weight: 300; line-height: 1.75; color: var(--cream2);
}
.contact-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--amber); color: var(--bg);
  padding: 18px 40px; text-decoration: none;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s;
}
.contact-cta:hover { background: var(--cream); }
.contact-email a { color: var(--sage); text-decoration: none; font-size: 14px; }
.contact-email a:hover { color: var(--cream); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 12px; opacity: 0.7; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream2); text-decoration: none; transition: color 0.2s; cursor: pointer;
}
.footer-links a:hover { color: var(--sage); }
.footer-copy {
  font-size: 12px; color: rgba(200,193,179,0.4);
  width: 100%; padding-top: 8px;
}

/* PAGE TRANSITIONS */
.page-fade { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Ensure [hidden] always wins over section-level display rules (e.g. .home { display: flex }).
   Without this, clicking nav links updates the hash but leaves the user on the home section,
   because .home { display: flex } overrides the UA [hidden] { display: none } default. */
main > section[hidden] { display: none !important; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-logo-text { font-size: 44px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 0 24px; }
  .hero-mark { display: none; }
  .hero-sub { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 40px; }
  .hero-divider { margin: 0 -24px; width: calc(100% + 48px); }
  .hero-sub-right { justify-content: flex-start; }

  .home-stats { grid-template-columns: 1fr; }
  .home-intro, .economics-inner, .why-grid, .partnership-intro {
    grid-template-columns: 1fr; gap: 40px;
  }
  .home-intro, .economics, .why-now, .partnership-section, .compare-section,
  .pillars-section { padding: 64px 24px; }
  .pillars-section { padding: 64px 24px 0; }

  .platform-pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; padding: 40px 24px; }
  .team-member { grid-template-columns: 80px 1fr; gap: 20px; padding: 32px 24px; }
  .team-avatar { width: 80px; height: 80px; }
  .team-avatar span { font-size: 26px; }

  .page-hero { padding: 120px 24px 60px; }
  .cta-band { padding: 56px 24px; }
  .econ-stats { grid-template-columns: 1fr; gap: 32px; }

  footer { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .stat-item { padding: 40px 24px; }
  .contact-section { padding: 64px 24px; }

  .compare-grid { grid-template-columns: 1fr; }
  .compare-head { border-bottom: 1px solid var(--border); }
  .compare-cell { padding: 18px 20px; }
}
