/* ---------------------------------------------------
   Andrea Remotely — Landing Page
   Palette: maroon / navy / cream / sky
--------------------------------------------------- */

:root {
  --maroon: #700909;
  --maroon-dark: #4e0606;
  --navy: #263343;
  --navy-dark: #1a232f;
  --cream: #f3e7d7;
  --cream-soft: #faf3ea;
  --sky: #b7d8fe;
  --ink: #211a1c;
  --ink-soft: rgba(33, 26, 28, 0.68);

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --sky-deep: #8fb8e8;

  --blob-1: #eaf2ff;
  --blob-2: #b7d8fe;
  --blob-3: #5f93d6;
  --blob-4: #2f5f9e;
  --blob-bg:
    radial-gradient(at 25% 20%, var(--blob-1) 0px, transparent 62%),
    radial-gradient(at 78% 18%, var(--blob-3) 0px, transparent 58%),
    radial-gradient(at 80% 78%, rgba(28, 58, 102, 0.78) 0px, transparent 62%),
    radial-gradient(at 20% 78%, var(--blob-2) 0px, transparent 58%),
    linear-gradient(160deg, var(--blob-2) 0%, var(--blob-4) 100%);

  --max: 1180px;
  --radius: 4px;
  --radius-btn: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-soft);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img, svg { display: block; max-width: 100%; }

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 0 0 14px;
}

.eyebrow-light { color: rgba(243, 231, 215, 0.72); }
.eyebrow-accent { color: var(--sky); }

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* -------------------- grain / texture -------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------- header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(78, 6, 6, 0.92);
  border-bottom: 1px solid rgba(243, 231, 215, 0.14);
  isolation: isolate;
}

/* blur lives on a pseudo element, not on .site-header itself, so the
   header never becomes a containing block for its fixed-position
   descendant (.main-nav on mobile) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(10px);
}

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

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(243, 231, 215, 0.88);
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--sky); }

.nav-cta {
  background: var(--maroon);
  color: var(--cream-soft) !important;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
}

.nav-cta:hover { background: var(--cream); color: var(--maroon-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-2px); }

.btn-lg { padding: 18px 38px; font-size: 1rem; }

/* -------------------- decorative shapes -------------------- */
.deco { position: absolute; fill: var(--maroon); }
.deco-ring, .deco-check { fill: none; stroke: currentColor; }

.hero-spark { width: 30px; top: 4%; right: 8%; color: var(--maroon); animation: float 7s ease-in-out infinite; }
.hero-cross { width: 18px; bottom: 10%; left: 2%; color: var(--maroon-dark); fill: var(--maroon-dark); opacity: 0.5; }
.hero-ring { width: 90px; top: 8%; left: 4%; color: rgba(107, 33, 56, 0.2); stroke-width: 1.4; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes blobDrift {
  0%, 100% { border-radius: 62% 38% 55% 45% / 55% 45% 62% 38%; transform: rotate(0deg); }
  50% { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spark { animation: none; }
  .blob { animation: none !important; }
}

/* -------------------- hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
}

.hero-inner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  color: var(--maroon-dark);
  margin-bottom: 0;
}

.hero-body { margin-top: 22px; }

.hero .lede { max-width: 46ch; margin: 0; }

.lg-only { display: none; }

@media (min-width: 761px) {
  .lg-only { display: inline; }
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* -------------------- hero visual: background blob -------------------- */
.hero-visual {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 76%;
  max-width: 680px;
  aspect-ratio: 1 / 1;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.blob {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--blob-bg);
  border-radius: 62% 38% 55% 45% / 55% 45% 62% 38%;
  filter: blur(42px);
  animation: blobDrift 10s ease-in-out infinite;
}

/* -------------------- corner blob accents -------------------- */
/* small, low opacity echoes of the hero blob, tying sections together */
.corner-blob {
  position: absolute;
  background: var(--blob-bg);
  border-radius: 62% 38% 55% 45% / 55% 45% 62% 38%;
  filter: blur(26px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.corner-blob-who { width: 260px; height: 260px; top: -60px; right: -60px; }
.corner-blob-pain { width: 220px; height: 220px; bottom: -50px; left: -50px; opacity: 0.4; }
.corner-blob-change { width: 200px; height: 200px; bottom: -40px; right: 8%; }
.corner-blob-values { width: 240px; height: 240px; top: -50px; left: -60px; }
.corner-blob-footer { width: 220px; height: 220px; bottom: -60px; right: -40px; opacity: 0.4; }

@media (max-width: 760px) {
  .corner-blob { transform: scale(0.75); }
}

/* -------------------- generic section -------------------- */
.section { padding: 96px 0; }

.section-head { max-width: 640px; margin-bottom: 52px; }

/* -------------------- who i serve -------------------- */
.who { position: relative; overflow: hidden; isolation: isolate; }

.trait-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(33, 26, 28, 0.1);
  border: 1px solid rgba(33, 26, 28, 0.1);
}

.trait-grid li {
  background: var(--cream-soft);
  padding: 34px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.trait-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--maroon);
  flex-shrink: 0;
}

@supports (-webkit-text-stroke: 1px black) {
  .trait-num {
    color: transparent;
    -webkit-text-stroke: 1px var(--maroon);
  }
}

.trait-grid p {
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* -------------------- pain -------------------- */
.pain {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-dark);
  color: var(--cream);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.pain-say blockquote {
  margin: 0 0 22px;
  padding-left: 20px;
  border-left: 2px solid var(--sky);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(243, 231, 215, 0.92);
}

.pain-really ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pain-really li {
  padding-left: 22px;
  position: relative;
  font-size: 1.02rem;
  color: rgba(243, 231, 215, 0.85);
}

.pain-really li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--maroon);
  transform: rotate(45deg);
}

/* -------------------- what changes -------------------- */
.change { position: relative; overflow: hidden; isolation: isolate; }

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

.change-card {
  background: var(--cream-soft);
  border: 1px solid rgba(33, 26, 28, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.change-card:hover {
  background: rgba(183, 216, 254, 0.3);
  border-color: var(--sky-deep);
  transform: translateY(-3px);
}

.deco-check {
  width: 24px;
  color: var(--maroon);
  margin-bottom: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.change-card p {
  font-size: 1.02rem;
  font-weight: 500;
}

/* -------------------- offer: horizontal scroll carousel -------------------- */
.offer-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  max-width: 480px;
  margin: 0 auto;
}

.offer-grid::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .offer-grid { scroll-behavior: auto; }
}

.offer-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.offer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(33, 26, 28, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.offer-dot:hover { background: var(--sky-deep); }

.offer-dot.is-active {
  background: var(--maroon);
  transform: scale(1.2);
}

.offer-card {
  background: var(--cream-soft);
  border: 1px solid rgba(33, 26, 28, 0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(100%, 480px);
  scroll-snap-align: center;
}

.offer-card-mid {
  background: var(--maroon);
  color: var(--cream-soft);
  border-color: var(--maroon);
}

.offer-card-mid h3,
.offer-card-mid .offer-num { color: var(--cream-soft); }

.offer-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--sky);
  margin-bottom: 10px;
}

.offer-card h3 { margin-bottom: 14px; }

.offer-card p { color: var(--ink-soft); font-size: 0.98rem; }

.offer-card-mid p { color: rgba(250, 243, 234, 0.86); }

.offer-optional {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--maroon) !important;
  margin-bottom: 10px !important;
}

/* -------------------- values -------------------- */
.values { position: relative; overflow: hidden; isolation: isolate; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.value-card {
  border-top: 2px solid var(--maroon);
  padding-top: 20px;
}

.value-card h3 { margin-bottom: 10px; }

.value-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* -------------------- cta -------------------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--sky);
}

.cta h2 { color: var(--maroon-dark); }

.cta .lede {
  color: rgba(38, 51, 67, 0.75);
  margin: 20px auto 34px;
}

.cta-email {
  margin-top: 20px;
  font-size: 0.95rem;
  color: rgba(38, 51, 67, 0.7);
}

.cta-email a {
  color: var(--maroon-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------- footer -------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-dark);
  color: rgba(243, 231, 215, 0.7);
  padding: 48px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo-footer {
  color: var(--cream-soft);
  margin-bottom: 4px;
}

.footer-copy {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(243, 231, 215, 0.45);
}

/* -------------------- responsive -------------------- */
@media (max-width: 900px) {
  .pain-grid,
  .change-grid,
  .values-grid { grid-template-columns: 1fr; }

  .trait-grid { grid-template-columns: 1fr; }

  .hero-visual {
    right: -12%;
    width: 78%;
    max-width: 400px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--maroon-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(243, 231, 215, 0.14);
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 18px;
    text-align: center;
    width: 100%;
  }

  .nav-toggle { display: flex; }

  .hero { padding: 88px 0 72px; }
  .section { padding: 72px 0; }
  .hero-ring, .hero-cross { display: none; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; }

  .hero-visual {
    top: 42%;
    right: -20%;
    width: 92%;
  }
}
