:root {
  --cream: #ece7db;
  --cream-alt: #e3dcca;
  --navy: #0c333d;
  --navy-soft: #164752;
  --teal: #1e7378;
  --teal-light: #3fb6ae;
  --teal-pale: #7fd6cf;
  --green: #159c82;
  --blue: #3f8fc4;
  --ring-blue: #4aa8c9;
  --brand-gradient: linear-gradient(100deg, var(--green), var(--teal) 50%, var(--blue) 100%);
  --text-muted: #4f5f61;
  --max-width: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 231, 219, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(12, 51, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.logo-laurita { color: var(--navy); }
.logo-digital { color: var(--teal); font-weight: 700; }

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--teal);
}

/* Hero */
.hero {
  padding: 100px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-mark {
  margin: 0 auto 12px;
  width: 180px;
}

.node-dot {
  transform-origin: center;
  animation: pulse 3.2s ease-in-out infinite;
}
.dot-2 { animation-delay: 0.3s; }
.dot-3 { animation-delay: 0.6s; }

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

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  max-width: 780px;
  margin: 0 auto 20px;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-muted);
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 115, 120, 0.3);
}

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

.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--cream-alt);
}

.section h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 16px;
  text-align: center;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand-gradient);
  margin: 14px auto 0;
}

.section-lead {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 17px;
}

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

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

/* Feature cards */
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 4px 20px rgba(12, 51, 61, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(12, 51, 61, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-alt);
  border-radius: 12px;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Project cards */
.project-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px 30px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(12, 51, 61, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
}

a.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(30, 115, 120, 0.18);
  border-color: var(--teal-light);
}

.project-card-soon {
  opacity: 0.85;
}

.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.status-live {
  background: rgba(30, 115, 120, 0.12);
  color: var(--teal);
}

.status-soon {
  background: rgba(12, 51, 61, 0.08);
  color: var(--navy-soft);
}

.project-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.project-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.link-text {
  color: var(--teal);
  font-weight: 600;
}

.card-arrow {
  position: absolute;
  top: 30px;
  right: 26px;
  font-size: 18px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

a.project-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Contact */
.contact-section {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
}

.contact-section h2,
.contact-section .section-lead {
  color: var(--cream);
}

.contact-section .section-lead {
  opacity: 0.85;
}

.contact-section .btn-primary {
  background: var(--teal);
  color: #fff;
}

.contact-section .btn-primary:hover {
  background: var(--teal-light);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-contact {
  color: var(--teal-pale);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact:hover {
  text-decoration: underline;
}

.footer-copy {
  opacity: 0.65;
  font-size: 13px;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.cards-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .node-dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
