/* ============================================
   RampCrew — Lowcountry Local Service Theme
   ============================================ */

:root {
  --forest: #162D22;
  --forest-mid: #1E3D2D;
  --cream: #F7F2EA;
  --cream-dark: #EDE5D8;
  --rust: #B5541F;
  --sand: #E8D5B7;
  --charcoal: #1A1A1A;
  --muted: #6B6559;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181,84,31,0.18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,61,45,0.8) 0%, transparent 70%);
  bottom: -150px;
  left: 10%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 88vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(181,84,31,0.15);
  border: 1px solid rgba(181,84,31,0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sand);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--rust);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(247,242,234,0.75);
  max-width: 440px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(247,242,234,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(247,242,234,0.15);
}

/* Hero Right — Pricing Card */
.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(247,242,234,0.06);
  border: 1px solid rgba(247,242,234,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 380px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(247,242,234,0.5);
  margin-bottom: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-icon {
  color: var(--rust);
}

.card-service {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.card-detail {
  font-size: 0.875rem;
  color: rgba(247,242,234,0.55);
  margin-bottom: 1.5rem;
}

.card-pricing {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(247,242,234,0.1);
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
}

.price-sub {
  font-size: 0.875rem;
  color: rgba(247,242,234,0.55);
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.card-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(247,242,234,0.75);
}

.check {
  color: var(--rust);
  font-weight: 600;
  font-size: 0.875rem;
}

.card-cta {
  font-size: 0.75rem;
  color: rgba(247,242,234,0.4);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================
   CREW SECTION
   ============================================ */
.crew {
  background: var(--cream);
  padding: 100px 0;
}

.crew-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.crew-header {
  max-width: 620px;
  margin-bottom: 4rem;
}

.crew-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
  margin-bottom: 1rem;
}

.crew-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.crew-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  border: 1px solid rgba(22,45,34,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crew-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(22,45,34,0.08);
}

.crew-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.crew-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.crew-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.crew-card-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   PROCESS / MATH SECTION
   ============================================ */
.process {
  background: var(--forest);
  padding: 100px 0;
}

.process-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 64px;
  text-align: center;
}

.process-header {
  margin-bottom: 3rem;
}

.process-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--cream);
}

.process-calc {
  background: rgba(247,242,234,0.05);
  border: 1px solid rgba(247,242,234,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.calc-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.calc-label {
  font-size: 0.7rem;
  color: rgba(247,242,234,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
}

.calc-op {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: rgba(247,242,234,0.3);
}

.calc-divider {
  width: 100%;
  height: 1px;
  background: rgba(247,242,234,0.1);
  margin: 0.5rem 0;
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.result-label {
  font-size: 0.75rem;
  color: rgba(247,242,234,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-value {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}

.process-nudge {
  margin-bottom: 2rem;
}

.process-nudge p {
  font-size: 1rem;
  color: rgba(247,242,234,0.65);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.process-nudge strong {
  color: var(--cream);
}

.process-notes {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(247,242,234,0.45);
}

.note-icon {
  color: var(--rust);
  opacity: 0.7;
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
  background: var(--cream-dark);
  padding: 100px 0;
}

.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-quote {
  padding-left: 40px;
  border-left: 3px solid var(--rust);
}

.vision-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--forest);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.vision-quote cite {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

.vision-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.vision-body {
  margin-bottom: 2.5rem;
}

.vision-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.vision-services {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vs-dot {
  width: 10px;
  height: 10px;
  background: var(--forest);
  border-radius: 50%;
  flex-shrink: 0;
}

.vs-dot--dim {
  background: var(--sand);
}

.vs-sep {
  width: 24px;
  height: 1px;
  background: var(--sand);
}

.vision-services span {
  font-size: 0.8rem;
  color: var(--forest);
  font-weight: 500;
}

/* ============================================
   ZONES SECTION
   ============================================ */
.zones {
  background: var(--cream);
  padding: 100px 0;
}

.zones-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.zones-header {
  margin-bottom: 4rem;
}

.zones-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(22,45,34,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.zone {
  background: var(--white);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}

.zone:hover { background: var(--cream); }

.zone--expanding {
  background: rgba(22,45,34,0.03);
}

.zone--expanding .zone-name { color: var(--muted); }

.zone-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 6px;
}

.zone-sub {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.zones-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(22,45,34,0.04);
  border-left: 3px solid var(--forest);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--forest);
  padding: 60px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.brand-mark {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.brand-tagline {
  font-size: 0.8rem;
  color: rgba(247,242,234,0.4);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-line {
  font-size: 0.8rem;
  color: rgba(247,242,234,0.5);
}

.footer-note {
  font-size: 0.7rem;
  color: rgba(247,242,234,0.25);
  text-align: right;
  max-width: 200px;
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 40px; gap: 3rem; }
  .hero-right { justify-content: flex-start; }
  .crew-grid { grid-template-columns: 1fr; }
  .vision-inner { grid-template-columns: 1fr; gap: 40px; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-note { text-align: left; max-width: none; }
  .process-calc { flex-direction: column; gap: 1.5rem; }
  .calc-op { display: none; }
}

@media (max-width: 640px) {
  .hero-inner { padding: 48px 24px; min-height: auto; }
  .crew-inner { padding: 0 24px; }
  .process-inner { padding: 0 24px; }
  .vision-inner { padding: 0 24px; }
  .zones-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .zones-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .process-notes { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
