/* Solar Pearl — Endpoint Gridhub */
:root {
  --ivory: #f7f1e8;
  --ivory-deep: #efe6d8;
  --champagne: #d4b896;
  --gold: #c9a86c;
  --coral: #e8a090;
  --coral-deep: #d48472;
  --pale-blue: #b8d4e0;
  --sea: #8eb8c9;
  --sun: #ffe8b0;
  --ink: #2a3338;
  --ink-soft: #5a646a;
  --nacre: linear-gradient(145deg, #fff9f1 0%, #f0e2d0 42%, #d9ecf2 100%);
  --pearl-glow: radial-gradient(circle at 30% 28%, #fff8ef 0%, #e8c9a0 42%, #9ec4d4 100%);
  --shadow: 0 18px 40px rgba(74, 90, 98, 0.12);
  --radius: 1.25rem;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 232, 176, 0.45), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 212, 224, 0.5), transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, #f3ebe2 48%, #eef4f6 100%);
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

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

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

ul.check {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

ul.check li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pearl-glow);
  box-shadow: 0 0 0 2px rgba(255, 248, 239, 0.7);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.js-error {
  background: #f8d7d0;
  color: #6b2e24;
  padding: 0.75rem 1rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 232, 0.82);
  border-bottom: 1px solid rgba(212, 184, 150, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--pearl-glow);
  box-shadow: 0 0 0 3px rgba(255, 248, 239, 0.8), 0 8px 18px rgba(158, 196, 212, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.45rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  color: #2a2f33;
  background: linear-gradient(135deg, #fff6ea 0%, var(--champagne) 45%, var(--pale-blue) 100%);
  box-shadow: 0 10px 28px rgba(201, 168, 108, 0.28);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(212, 184, 150, 0.55);
}

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

.btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(184, 212, 224, 0.35) 45%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.btn.is-rippling::after {
  animation: pearl-ripple 0.7s ease-out;
}

@keyframes pearl-ripple {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(28); }
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--champagne);
}

.text-link:hover {
  border-color: var(--coral);
}

/* Hero — full-bleed, brand-first, asymmetric rise */
.hero {
  position: relative;
  min-height: min(92vh, 840px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(42, 51, 56, 0.72) 0%, rgba(42, 51, 56, 0.4) 48%, rgba(42, 51, 56, 0.2) 100%),
    radial-gradient(700px 380px at 15% 90%, rgba(232, 160, 144, 0.3), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.25rem;
  max-width: 38rem;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  margin-right: auto;
  animation: rise 0.95s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0 0 1.1rem;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.28);
}

.hero__rule {
  width: 4.5rem;
  height: 3px;
  border: 0;
  margin: 0 0 1.1rem;
  background: linear-gradient(90deg, var(--sun), var(--coral), var(--pale-blue));
  border-radius: 2px;
  animation: widen 1.2s ease 0.2s both;
}

@keyframes widen {
  from { width: 0; opacity: 0; }
  to { width: 4.5rem; opacity: 1; }
}

.hero__title {
  color: #fff8f0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  max-width: 26ch;
  margin-bottom: 0.85rem;
}

.hero__lead {
  color: rgba(255, 248, 240, 0.9);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: 1.6rem;
}

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

.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(184, 212, 224, 0.18));
}

.section-intro,
.lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.round-media {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

.offer-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.offer-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--nacre);
  border-radius: calc(var(--radius) - 0.25rem);
  border: 1px solid rgba(212, 184, 150, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-list a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.offer-list__title {
  font-family: var(--font-display);
  font-weight: 600;
  grid-column: 1;
}

.offer-list__meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  grid-column: 2;
  grid-row: 1;
}

.offer-list__sum {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.voice-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.voice-list li {
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.voice-list blockquote {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.voice-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-band {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--nacre);
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid rgba(212, 184, 150, 0.45);
  box-shadow: var(--shadow);
  animation: soft-glow 4.5s ease-in-out infinite alternate;
}

.cta-band--inline {
  margin-top: 3rem;
}

@keyframes soft-glow {
  from { box-shadow: 0 18px 40px rgba(74, 90, 98, 0.1); }
  to { box-shadow: 0 22px 48px rgba(201, 168, 108, 0.22); }
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero--image {
  position: relative;
  padding: 0;
  min-height: 340px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.85);
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.page-hero__copy h1,
.page-hero__copy p {
  color: #fff8f0;
  max-width: 36rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-tag {
  display: inline-block;
  margin: 0.35rem 0 1rem;
  color: var(--ink-soft);
  font-weight: 550;
}

.service-grid {
  display: grid;
  gap: 2rem;
}

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 184, 150, 0.35);
}

.service-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 260px;
  width: 100%;
  object-fit: cover;
}

.service-block h2 a {
  text-decoration: none;
  color: inherit;
}

.study-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

.study-item {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.study-item img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--sea);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.study-outcome {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(184, 212, 224, 0.28);
  border-radius: 0.75rem;
}

.blog-list {
  display: grid;
  gap: 1.75rem;
}

.blog-teaser a {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.35rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.blog-teaser img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 220px;
  width: 100%;
  object-fit: cover;
}

.article-shell {
  display: grid;
  gap: 1.75rem;
  max-width: 48rem;
}

.prose {
  max-width: 42rem;
}

.prose.legal {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(212, 184, 150, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(142, 184, 201, 0.55);
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(201, 168, 108, 0.55);
  outline-offset: 1px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c56b5c;
}

.field-error {
  color: #9a3b2f;
  font-size: 0.88rem;
  margin: 0;
}

.form-status {
  margin: 0.25rem 0 0;
  font-weight: 550;
}

.form-status.is-success { color: #2f6b4f; }
.form-status.is-error { color: #9a3b2f; }

.contact-aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(184, 212, 224, 0.22));
  border-top: 1px solid rgba(212, 184, 150, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.8fr 0.8fr;
  gap: 1.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.35rem;
}

.footer-tag,
.footer-grid p {
  color: var(--ink-soft);
  margin: 0 0 0.45rem;
}

.footer-label {
  font-weight: 650;
  margin-bottom: 0.55rem !important;
  color: var(--ink) !important;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 184, 150, 0.3);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--nacre);
  border: 1px solid rgba(212, 184, 150, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  max-width: 720px;
  margin-inline: auto;
}

.cookie-inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink) !important;
  margin-bottom: 0.25rem !important;
}

.cookie-copy {
  flex: 1 1 240px;
}

.cookie-text {
  margin: 0;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-error {
  flex-basis: 100%;
  margin: 0;
  color: #9a3b2f;
  font-size: 0.9rem;
}

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  padding: 1.15rem 1.25rem 1.15rem 3.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 184, 150, 0.35);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 650;
  background: var(--pearl-glow);
  color: var(--ink);
}

@media (max-width: 900px) {
  .split,
  .service-block,
  .study-item,
  .blog-teaser a,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 241, 232, 0.97);
    border-bottom: 1px solid rgba(212, 184, 150, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open { max-height: 280px; }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }

  .hero__content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    max-width: none;
  }

  .offer-list a {
    grid-template-columns: 1fr;
  }

  .offer-list__meta {
    grid-column: 1;
    grid-row: auto;
  }
}
