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

/* ── TOKENS ── */
:root {
  --cream:        #f4efe6;
  --cream-dark:   #ede5d8;
  --parchment:    #f9f5ee;
  --ink:          #1e1a14;
  --ink-soft:     #3a3428;
  --forest:       #3b4a2e;
  --forest-mid:   #4e6340;
  --forest-light: #6b8455;
  --warm-brown:   #5a4535;
  --muted:        #7a7060;
  --border:       rgba(30,26,20,0.12);
  --border-soft:  rgba(30,26,20,0.07);
  --nav-h:        66px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--parchment);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,245,238,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-h);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-logo span { color: var(--forest); }

/* Desktop links */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--forest);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--forest); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  padding: 9px 20px !important;
  border-radius: 40px;
  letter-spacing: 0.14em !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--forest-mid) !important; color: var(--cream) !important; }

/* Burger button — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 101;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay — full screen below nav, hidden by default */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--parchment);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  width: 100%;
}

.mobile-menu ul li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu ul li:first-child {
  border-top: 1px solid var(--border);
}

.mobile-menu ul li a {
  display: block;
  padding: 20px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.mobile-menu ul li a:active,
.mobile-menu ul li a.active {
  color: var(--forest);
  background: var(--cream);
}

.mobile-menu ul li.mobile-cta a {
  background: var(--forest);
  color: var(--cream);
  margin: 24px 32px;
  border-radius: 40px;
  border: none;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
}

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 72px 0; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-header { margin-bottom: 52px; }
.section-header .eyebrow { margin-bottom: 12px; }
.section-header h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
}
.section-header p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--forest-light);
  margin: 24px 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  padding: 13px 30px;
  border-radius: 40px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover { background: var(--forest-mid); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-ghost:hover { color: var(--forest); }
.btn-ghost::after { content: '→'; font-size: 13px; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,26,20,0.58) 0%, rgba(30,26,20,0.08) 60%);
}

.page-hero-content {
  position: relative;
  padding: 44px 32px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.page-hero-content .eyebrow {
  color: rgba(244,239,230,0.65);
  margin-bottom: 10px;
}

.page-hero-content h1 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  max-width: 680px;
}

/* ── DARK BAND ── */
.dark-band {
  background: var(--forest);
  padding: 60px 0;
  text-align: center;
}

.dark-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 12px;
  line-height: 1.3;
}

.dark-band p {
  font-size: 13px;
  color: rgba(244,239,230,0.6);
  margin-bottom: 28px;
  padding: 0 20px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(244,239,230,0.5);
  color: var(--cream);
  padding: 11px 28px;
  border-radius: 40px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-outline:hover { background: rgba(244,239,230,0.1); border-color: var(--cream); }

/* ── ECOSYSTEM BAND ── */
.ecosystem-band {
  background: var(--warm-brown);
  padding: 56px 0;
}

.ecosystem-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}

.ecosystem-label .eyebrow { color: rgba(244,239,230,0.4); margin-bottom: 8px; }

.ecosystem-label h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  white-space: nowrap;
}

.ecosystem-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ecosystem-link {
  background: rgba(244,239,230,0.07);
  padding: 22px 24px;
  text-decoration: none;
  border: 1px solid rgba(244,239,230,0.08);
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.ecosystem-link:hover { background: rgba(244,239,230,0.13); }

.eco-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.38);
  margin-bottom: 5px;
}
.eco-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 4px;
}
.eco-desc { font-size: 12px; color: rgba(244,239,230,0.48); line-height: 1.5; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244,239,230,0.07);
  margin-bottom: 24px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
}
.footer-logo span { color: #d4b060; }

.footer-tagline {
  font-size: 12px;
  color: rgba(244,239,230,0.32);
  margin-top: 8px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }

.footer-col h4 {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.3);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  font-size: 13px;
  color: rgba(244,239,230,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 11px; color: rgba(244,239,230,0.22); }
.footer-bottom a {
  font-size: 11px;
  color: rgba(244,239,230,0.22);
  text-decoration: none;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

/* ── PRICING SHARED ── */
.pricing-rates {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.rate-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.rate-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}

.rate-unit { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── SPEC GRID ── */
.spec-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.spec-cell {
  background: var(--cream);
  padding: 16px 18px;
}

.spec-cell .s-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.spec-cell .s-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ── FADE UP ── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE SHARED ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 52px 0; }
  .page-hero-content { padding: 36px 20px; }
  .ecosystem-inner { grid-template-columns: 1fr; gap: 24px; }
  .ecosystem-links { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 20px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-links { gap: 28px; }
}
