:root {
  --color-cream: #FAF7F2;
  --color-cream-dark: #F0EBE3;
  --color-forest: #2D4A3E;
  --color-forest-light: #3D6354;
  --color-terracotta: #C4654A;
  --color-terracotta-light: #D4785C;
  --color-charcoal: #2C2C2C;
  --color-warm-gray: #6B6560;
  --color-light-gray: #A8A39D;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-forest);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  color: var(--color-warm-gray);
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-terracotta-light);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Header / Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-forest);
  letter-spacing: -0.01em;
}

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  margin-left: var(--space-lg);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--space-lg);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  border: 1px solid rgba(107, 101, 96, 0.35);
  border-radius: 20px;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.portal-btn:hover {
  color: var(--color-forest);
  border-color: var(--color-forest);
  background: rgba(45, 74, 62, 0.05);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--space-3xl) + 60px);
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
  background-color: var(--color-cream-dark);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(45, 74, 62, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
}

.hero-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease forwards;
  padding-bottom: var(--space-sm);
  border-bottom: 1.5px solid var(--color-forest);
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-terracotta);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
  color: var(--color-charcoal);
}

.hero-cta {
  display: inline-flex;
  gap: var(--space-sm);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn-primary:hover {
  background: var(--color-forest-light);
  color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 74, 62, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}

.btn-secondary:hover {
  background: var(--color-forest);
  color: var(--color-cream);
}

/* Mission Section */
.mission {
  background: var(--color-forest);
  position: relative;
}

.mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.mission .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.mission h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.mission p {
  color: rgba(250, 247, 242, 0.85);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(250, 247, 242, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(250, 247, 242, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-terracotta);
  border-radius: 50%;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-cream);
}

.stat h4 {
  color: var(--color-cream);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.stat p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.65);
  margin: 0;
}

/* Product Section */
.product {
  background: var(--color-cream-dark);
}

.product .container {
  text-align: center;
}

.product-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.product h2 {
  margin-bottom: var(--space-md);
}

.product > .container > p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.1rem;
}

.postcard-showcase {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  perspective: 1000px;
}

.postcard {
  background: white;
  border-radius: 8px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 20px 50px rgba(45, 74, 62, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: var(--space-xl);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.postcard:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.08),
    0 32px 64px rgba(45, 74, 62, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.03);
}

.postcard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-cream-dark);
}

.postcard-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-forest);
}

.postcard-title span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-terracotta);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

.postcard-badge {
  background: var(--color-forest);
  color: var(--color-cream);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.postcard-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: left;
}

.postcard-feature {
  padding: var(--space-md);
  background: var(--color-cream);
  border-radius: 6px;
}

.postcard-feature h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
  color: var(--color-forest);
}

.postcard-feature p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* Areas Section */
.areas {
  background: var(--color-cream);
}

.areas .container {
  text-align: center;
}

.areas-header {
  margin-bottom: var(--space-xl);
}

.areas-header h2 {
  margin-bottom: var(--space-sm);
}

.areas-header p {
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: left;
}

.area-card {
  background: white;
  border-radius: 8px;
  padding: var(--space-lg);
  border: 1px solid rgba(45, 74, 62, 0.1);
  box-shadow: 0 2px 16px rgba(45, 74, 62, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.area-card--future {
  border: 1.5px dashed rgba(45, 74, 62, 0.2);
  background: transparent;
  box-shadow: none;
}

.area-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.area-status--active {
  background: rgba(45, 74, 62, 0.1);
  color: var(--color-forest);
}

.area-status--soon {
  background: rgba(196, 101, 74, 0.1);
  color: var(--color-terracotta);
}

.area-status--future {
  background: rgba(168, 163, 157, 0.12);
  color: var(--color-light-gray);
}

.area-card h3 {
  font-size: 1.4rem;
  color: var(--color-forest);
  margin: 0;
}

.area-card--future h3 {
  color: var(--color-light-gray);
}

.area-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.area-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-terracotta);
  margin-top: var(--space-xs);
  display: inline-block;
}

.area-card-link:hover {
  color: var(--color-terracotta-light);
}

/* What's Included Section */
.whats-included {
  background: var(--color-cream);
}

.whats-included .container {
  max-width: 720px;
}

.whats-included-header {
  margin-bottom: var(--space-xl);
}

.whats-included-header h2 {
  margin-bottom: var(--space-sm);
}

.whats-included-header p {
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(45, 74, 62, 0.08);
}

.included-row:last-child {
  border-bottom: none;
}

.included-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream-dark);
  border-radius: 8px;
  color: var(--color-forest);
}

.included-icon svg {
  width: 18px;
  height: 18px;
}

.included-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.included-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-forest);
}

.included-text span {
  font-size: 0.95rem;
  color: var(--color-warm-gray);
  line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
  background: var(--color-cream-dark);
}

.how-it-works .container {
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: var(--space-xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-forest-light), var(--color-forest), var(--color-forest));
  opacity: 0.25;
}

.step {
  position: relative;
  padding: var(--space-md);
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream-dark);
  border: 3px solid var(--color-forest);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-forest);
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 101, 74, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.cta p {
  color: rgba(250, 247, 242, 0.85);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.cta-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form input[type="tel"],
.cta-form select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background: rgba(250, 247, 242, 0.95);
  color: var(--color-charcoal);
}

.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.cta-form input::placeholder,
.cta-form select.placeholder {
  color: var(--color-light-gray);
}

.cta-form select option[value=""] {
  color: var(--color-light-gray);
}

.cta-form input:focus,
.cta-form select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 101, 74, 0.4);
}

.cta-form .btn {
  width: 100%;
  background: var(--color-terracotta);
  color: var(--color-cream);
  margin-top: var(--space-xs);
}

.cta-form .btn:hover {
  background: var(--color-terracotta-light);
  color: var(--color-cream);
}

.cta-note {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.6);
}

/* Footer */
footer {
  background: var(--color-charcoal);
  padding: var(--space-lg) 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo {
  color: var(--color-cream);
}

footer p {
  color: rgba(250, 247, 242, 0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .mission .container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .postcard-content {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: var(--space-xl) 0;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--space-2xl) + 60px);
  }

  .hero-cta {
    flex-direction: column;
  }

  .mission-stats {
    grid-template-columns: 1fr;
  }

  .postcard {
    padding: var(--space-md);
    transform: none;
  }

  .postcard-header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cta-form {
    flex-direction: column;
  }

  footer .container {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}
