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

:root {
  --midnight: #0a1628;
  --midnight-light: #132240;
  --midnight-mid: #1a2d4a;
  --mint: #a8e6cf;
  --mint-light: #d4f5e6;
  --mint-pale: #eaf8f0;
  --mint-dark: #6bc9a8;
  --cream: #faf9f7;
  --warm-white: #fefdfb;
  --sand: #f0ebe3;
  --sand-light: #f7f4ef;
  --text-dark: #0a1628;
  --text-mid: #2c3e5a;
  --text-light: #5a6d82;
  --text-muted: #8a9ab0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--warm-white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--midnight);
  color: var(--mint-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 14px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 253, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--midnight);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--midnight);
  color: var(--mint);
  border-radius: var(--radius-sm);
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-style: italic;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav a:hover {
  color: var(--midnight);
  background: var(--sand-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 20px;
  height: 2px;
  background: var(--midnight);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--midnight);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  overflow: hidden;
  padding: 120px 24px 80px;
}

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

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

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 230, 207, 0.4), transparent 70%);
  top: -15%;
  right: -5%;
  animation: float 20s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 230, 207, 0.25), transparent 70%);
  bottom: -10%;
  left: 5%;
  animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(107, 201, 168, 0.3), transparent 70%);
  top: 40%;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--warm-white);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-title em {
  color: var(--mint);
  font-style: italic;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250, 249, 247, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250, 249, 247, 0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(168, 230, 207, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--mint);
  color: var(--midnight);
}

.btn-primary:hover {
  background: var(--mint-dark);
  color: var(--midnight);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 230, 207, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border: 1.5px solid rgba(250, 249, 247, 0.3);
}

.btn-outline:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

/* ── FEATURES ── */
.features {
  padding: 120px 0;
  background: var(--warm-white);
}

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

.feature-card {
  background: var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  border-radius: var(--radius-md);
  color: var(--mint);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--midnight);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-bottom: 16px;
}

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

/* ── OFFERINGS ── */
.offerings {
  padding: 120px 0;
  background: var(--sand-light);
}

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

.offering-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.offering-img {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.offering-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.offering-card:hover .offering-img img {
  transform: scale(1.05);
}

.offering-body {
  padding: 28px 28px 32px;
}

.offering-body h3 {
  font-size: 1.4rem;
  color: var(--midnight);
  margin-bottom: 10px;
}

.offering-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── NEIGHBORHOOD ── */
.neighborhood {
  padding: 120px 0;
  background: var(--warm-white);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 7/9;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content .section-eyebrow {
  text-align: left;
  margin-bottom: 16px;
}

.split-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.split-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.neighborhood-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--sand);
}

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

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--midnight);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── CTA ── */
.cta {
  padding: 120px 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 230, 207, 0.12), transparent 70%);
  top: -20%;
  right: -10%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-text .section-eyebrow {
  color: var(--mint);
  margin-bottom: 16px;
}

.cta-text .section-title {
  color: var(--warm-white);
  margin-bottom: 20px;
  text-align: left;
}

.cta-text p {
  font-size: 1.05rem;
  color: rgba(250, 249, 247, 0.65);
  line-height: 1.8;
}

.cta-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight-light);
  border-radius: var(--radius-sm);
  color: var(--mint);
}

.detail-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.detail-item p {
  font-size: 0.95rem;
  color: rgba(250, 249, 247, 0.6);
  line-height: 1.6;
}

.detail-item a {
  color: var(--mint);
  transition: color var(--transition);
}

.detail-item a:hover {
  color: var(--mint-light);
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 80px 0;
  background: var(--mint-pale);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-text h3 {
  font-size: 1.6rem;
  color: var(--midnight);
  margin-bottom: 8px;
}

.newsletter-text p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--text-dark);
  width: 240px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.3);
}

.form-success {
  position: absolute;
  font-size: 14px;
  color: var(--mint-dark);
  font-weight: 500;
  margin-top: 8px;
}

.newsletter-form {
  position: relative;
}

/* ── FOOTER ── */
.footer {
  padding: 64px 0 0;
  background: var(--midnight);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-mark {
  background: var(--mint);
  color: var(--midnight);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(250, 249, 247, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(250, 249, 247, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(250, 249, 247, 0.5);
}

.footer-contact a {
  color: var(--mint);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--mint-light);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 249, 247, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(250, 249, 247, 0.3);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid,
  .offerings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout {
    gap: 40px;
  }

  .cta-inner {
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 251, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .features-grid,
  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-image {
    aspect-ratio: 4/3;
  }

  .split-content .section-eyebrow,
  .split-content .section-title {
    text-align: center;
  }

  .split-content p {
    text-align: center;
  }

  .neighborhood-stats {
    justify-content: center;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-text .section-title {
    text-align: center;
  }

  .cta-text p {
    text-align: center;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .features,
  .offerings,
  .neighborhood,
  .cta {
    padding: 80px 0;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .neighborhood-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title,
  .hero-description,
  .hero-actions {
    opacity: 1;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  .hero-description { animation-delay: 0.15s; }
  .hero-actions { animation-delay: 0.3s; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
