:root {
  --sage-100: #cdd9c4;
  --sage-200: #b6c5ad;
  --sage-300: #9fb596;
  --charcoal: #2b2d31;
  --charcoal-soft: #40444b;
  --paper: #f6f7f3;
  --line: rgba(43, 45, 49, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(205, 217, 196, 0.45), transparent 35%),
    radial-gradient(circle at 80% 5%, rgba(182, 197, 173, 0.4), transparent 30%),
    linear-gradient(150deg, #f2f5ee 0%, #e7ede1 100%);
  color: var(--charcoal);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  inset: -30vh -20vw auto;
  height: 55vh;
  background: radial-gradient(circle, rgba(159, 181, 150, 0.3) 0%, rgba(159, 181, 150, 0) 70%);
  pointer-events: none;
  z-index: -1;
  animation: floatGlow 8s ease-in-out infinite;
}

.site-header {
  max-width: 1180px;
  margin: 1.2rem auto 0;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(246, 247, 243, 0.85);
  position: sticky;
  top: 0.8rem;
  z-index: 20;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a.btn {
  color: var(--white);
}

.site-nav a.btn:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 78vh;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal-soft);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.04;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  max-width: 16ch;
}

.lead {
  max-width: 50ch;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1.2rem 0 0;
}

.mission {
  max-width: 58ch;
  margin: 0.8rem 0 0;
  color: var(--charcoal-soft);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-row {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--charcoal);
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
}

.btn-small {
  padding: 0.58rem 1rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(205, 217, 196, 0.5));
  border-radius: 1.4rem;
  overflow: hidden;
  padding: 1.5rem;
}

.orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(16px);
}

.orb-a {
  background: rgba(159, 181, 150, 0.45);
  top: -60px;
  left: -50px;
  animation: drift 8s ease-in-out infinite;
}

.orb-b {
  background: rgba(43, 45, 49, 0.19);
  right: -45px;
  bottom: -80px;
  animation: drift 9s ease-in-out infinite reverse;
}

.stat-card {
  position: relative;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  margin-top: 1.2rem;
  animation: cardRise 650ms ease both;
}

.card-delay {
  margin-left: auto;
  animation-delay: 220ms;
}

.services,
.visual-story,
.pricing,
.quote,
.coming-soon {
  margin-top: 5rem;
}

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

.section-intro {
  max-width: 55ch;
  line-height: 1.6;
}

.service-grid,
.story-grid,
.coming-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.coming-grid article,
.pricing,
.quote {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
}

.technical-seo-detail {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 1rem;
  padding: 1.2rem;
}

.technical-seo-detail p {
  margin: 0.6rem 0 0;
}

.technical-seo-detail .btn {
  margin-top: 0.9rem;
}

.story-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.95rem;
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px rgba(43, 45, 49, 0.08);
}

.story-media {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.story-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-card h3 {
  margin-top: 0.75rem;
}

.story-card p {
  margin-top: 0.5rem;
  line-height: 1.6;
}

.service-card,
.coming-grid article {
  padding: 1.2rem;
}

.pricing,
.quote {
  padding: 1.5rem;
}

.pricing-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 1rem;
  padding: 1.2rem;
}

.pricing-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 700;
}

.pricing-note {
  margin: 0.65rem 0 0;
  color: var(--charcoal-soft);
  line-height: 1.6;
}

.pricing-card h4 {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.pricing-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.assessment-form,
.quote-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.assessment-form label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.8rem;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
}

select {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.8rem;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
}

.form-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  font-weight: 500;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.call-fields {
  display: grid;
  gap: 0.8rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.3rem;
  margin: 0.1rem 0 0;
  font-weight: 600;
  color: var(--charcoal-soft);
}

.form-status.is-success {
  color: #1d6f42;
}

.form-status.is-error {
  color: #8b1f27;
}

.quote-form button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.assessment-result {
  margin-top: 1rem;
  border-left: 4px solid var(--charcoal);
  background: rgba(205, 217, 196, 0.5);
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  min-height: 3.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.2rem 2.8rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -14px, 0);
  }
}

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

@media (max-width: 960px) {
  .site-header {
    position: static;
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .brand {
    width: 52px;
    height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.65rem;
    column-gap: 0.85rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .btn-small {
    padding: 0.46rem 0.82rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 1rem;
  }

  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-grid,
  .story-grid,
  .pricing-grid,
  .coming-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    transform: none !important;
  }
}
