/* ============================================================
   Wag'n Tails — Mobile Opportunity Landing (job / earnings MOF)
   Enqueue only on mobile-opportunity-landing template / is_page.
   Scoped under body.wagn-mobile-opportunity-landing. Do NOT style
   bare form controls (chrome.css owns GF field backgrounds + submits).
   ============================================================ */

body.wagn-mobile-opportunity-landing *,
body.wagn-mobile-opportunity-landing *::before,
body.wagn-mobile-opportunity-landing *::after {
  box-sizing: border-box;
}

html:has(body.wagn-mobile-opportunity-landing) {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.wagn-mobile-opportunity-landing {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--wagn-atmosphere);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.wagn-mobile-opportunity-landing img,
body.wagn-mobile-opportunity-landing svg {
  display: block;
  max-width: 100%;
}

body.wagn-mobile-opportunity-landing a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

body.wagn-mobile-opportunity-landing h1,
body.wagn-mobile-opportunity-landing h2,
body.wagn-mobile-opportunity-landing h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--purple);
  margin: 0 0 0.75rem;
}

body.wagn-mobile-opportunity-landing p {
  margin: 0 0 1rem;
}

body.wagn-mobile-opportunity-landing p:last-child {
  margin-bottom: 0;
}

body.wagn-mobile-opportunity-landing ul,
body.wagn-mobile-opportunity-landing ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wagn-mobile-opportunity-landing :focus {
  outline: none;
}

body.wagn-mobile-opportunity-landing :focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

body.wagn-mobile-opportunity-landing .container {
  width: min(100% - (2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
}

body.wagn-mobile-opportunity-landing .container--narrow {
  width: min(100% - (2 * var(--page-gutter)), var(--container-narrow));
  margin-inline: auto;
}

body.wagn-mobile-opportunity-landing .section {
  padding-block: var(--section-y);
  position: relative;
}

body.wagn-mobile-opportunity-landing .section > .container,
body.wagn-mobile-opportunity-landing .section > .container--narrow {
  position: relative;
  z-index: 1;
}

body.wagn-mobile-opportunity-landing .text-gradient {
  background-image: var(--heading-gradient);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.mol-section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(1.35rem, 3vw, 1.85rem);
}

.mol-section-header h2 {
  font-family: var(--font-fun);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.mol-section-header p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin: 0;
}

.mol-section-header--left {
  text-align: left;
  margin-inline: 0;
  max-width: 36rem;
}

.mol-section-header a {
  color: var(--purple);
  font-weight: 600;
}

@media (max-width: 899px) {
  .mol-section-header--left {
    text-align: center;
    margin-inline: auto;
  }
}

/* Tile icons */
body.wagn-mobile-opportunity-landing .tile-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--aqua);
  -webkit-mask: var(--tile-icon) center / contain no-repeat;
  mask: var(--tile-icon) center / contain no-repeat;
}

body.wagn-mobile-opportunity-landing .tile-icon--vehicle {
  --tile-icon: url("images/icons/grooming-van-icon.png");
}

body.wagn-mobile-opportunity-landing .tile-icon--bolt {
  --tile-icon: url("images/icons/bolt.svg");
}

body.wagn-mobile-opportunity-landing .tile-icon--key {
  --tile-icon: url("images/icons/key.svg");
}

body.wagn-mobile-opportunity-landing .tile-icon--book {
  --tile-icon: url("images/icons/heart.svg");
}

body.wagn-mobile-opportunity-landing .tile-icon--calendar {
  --tile-icon: url("images/icons/calendar.svg");
}

/* Doodles */
body.wagn-mobile-opportunity-landing .doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.wagn-mobile-opportunity-landing .doodle {
  position: absolute;
  color: var(--purple);
  opacity: 0.14;
  line-height: 0;
}

body.wagn-mobile-opportunity-landing .doodle--icon {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--doodle-icon) center / contain no-repeat;
  mask: var(--doodle-icon) center / contain no-repeat;
  aspect-ratio: 1;
  height: auto;
}

body.wagn-mobile-opportunity-landing .doodle--icon-heart {
  --doodle-icon: url("images/icons/heart.svg");
}

body.wagn-mobile-opportunity-landing .doodle--icon-star {
  --doodle-icon: url("images/icons/star.svg");
}

body.wagn-mobile-opportunity-landing .doodle--icon-vehicle {
  --doodle-icon: url("images/icons/grooming-van-doodle.svg");
}

body.wagn-mobile-opportunity-landing .doodle--icon-paw {
  --doodle-icon: url("images/icons/paw.svg");
}

body.wagn-mobile-opportunity-landing .doodle--icon-bolt {
  --doodle-icon: url("images/icons/bolt.svg");
}

body.wagn-mobile-opportunity-landing .doodle--teal {
  color: var(--aqua);
  opacity: 0.22;
}

body.wagn-mobile-opportunity-landing .doodle--soft {
  opacity: 0.12;
}

body.wagn-mobile-opportunity-landing .doodle--mol-1 { width: 2.1rem; top: 14%; left: 4%; transform: rotate(-16deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-2 { width: 1.5rem; top: 18%; right: 6%; transform: rotate(14deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-3 { width: 1.7rem; bottom: 28%; left: 5%; transform: rotate(18deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-4 { width: 1.4rem; bottom: 18%; right: 7%; transform: rotate(-12deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-5 { width: 1.8rem; top: 12%; left: 6%; transform: rotate(10deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-6 { width: 1.45rem; bottom: 14%; right: 8%; transform: rotate(-14deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-7 { width: 1.55rem; top: 10%; right: 7%; transform: rotate(12deg); }
body.wagn-mobile-opportunity-landing .doodle--mol-8 { width: 1.9rem; bottom: 12%; left: 5%; transform: rotate(-10deg); }

/* ---------- Hero (full-bleed photo plane) ---------- */
.mol-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.25rem, 6vw, 4rem) clamp(2.75rem, 7vw, 4.5rem);
  min-height: min(88vh, 46rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mol-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mol-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

@media (max-width: 899px), (pointer: coarse) {
  .mol-hero__media img {
    transform: none !important;
    will-change: auto;
    filter: none;
  }
}

.mol-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--wagn-photo-scrim);
}

.mol-hero .doodles {
  z-index: 2;
}

.mol-hero .doodle--teal {
  color: #8ad6cc;
  opacity: 0.35;
}

.mol-hero .doodle--soft {
  color: #fff;
  opacity: 0.22;
}

.mol-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 40rem;
}

.mol-brand {
  font-family: var(--font-fun);
  font-size: clamp(1.95rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.55rem;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(20, 10, 35, 0.35);
}

.mol-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8ede6;
  opacity: 0.95;
}

.mol-hero__title {
  font-family: var(--font-fun);
  font-size: clamp(1.9rem, 4.2vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  max-width: 18ch;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  text-shadow: 0 2px 20px rgba(20, 10, 35, 0.3);
}

.mol-hero__lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  max-width: 38ch;
  margin-bottom: 1.25rem;
}

.mol-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.mol-hero__actions .btn {
  text-decoration: none;
}

body.wagn-mobile-opportunity-landing .mol-hero__actions .btn--outline,
body.wagn-mobile-opportunity-landing .mol-hero__actions .btn--outline:link,
body.wagn-mobile-opportunity-landing .mol-hero__actions .btn--outline:visited {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

body.wagn-mobile-opportunity-landing .mol-hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.mol-hero__trust {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  max-width: 42ch;
}

@media (max-width: 899px) {
  .mol-hero {
    min-height: 0;
    align-items: stretch;
  }

  .mol-hero__media img {
    object-position: 70% center;
  }

  .mol-hero__veil {
    background: var(--wagn-photo-scrim-mobile);
  }

  .mol-hero__copy {
    text-align: center;
    max-width: none;
  }

  .mol-hero__title {
    max-width: none;
    margin-inline: auto;
  }

  .mol-hero__lede,
  .mol-hero__trust {
    margin-inline: auto;
  }

  .mol-hero__actions {
    justify-content: center;
  }
}

/* Wave */
.mol-wave {
  line-height: 0;
  margin-top: -1px;
  background: transparent;
}

.mol-wave svg {
  width: 100%;
  height: clamp(2.5rem, 6vw, 4.5rem);
}

.mol-wave__fill {
  fill: var(--mint);
}

/* Capture (form-forward) */
.mol-capture {
  background: var(--mint);
}

.mol-capture__grid {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

@media (min-width: 960px) {
  .mol-capture__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 24rem);
    gap: clamp(1.75rem, 3vw, 3rem);
  }
}

.mol-checklist {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  text-align: left;
}

.mol-checklist li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.mol-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 0 3px rgba(138, 214, 204, 0.28);
}

.mol-checklist--muted li {
  color: var(--ink-muted);
}

.mol-checklist--muted li::before {
  background: rgba(96, 51, 135, 0.35);
  box-shadow: 0 0 0 3px rgba(96, 51, 135, 0.12);
}

.mol-capture__form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 18px 40px rgba(96, 51, 135, 0.12);
  text-align: left;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.mol-capture__form-title {
  font-family: var(--font-fun);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--purple);
  -webkit-text-fill-color: unset;
  background: none;
}

.mol-capture__form-lede {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.mol-form-shell {
  text-align: left;
}

.mol-form-shell .gform_wrapper,
.mol-form-shell form {
  max-width: 100%;
}

.mol-download {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.mol-download[hidden] {
  display: none !important;
}

.mol-download__title {
  font-family: var(--font-fun);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--purple);
  -webkit-text-fill-color: unset;
  background: none;
}

.mol-download__lede {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.mol-download__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mol-download__actions .btn {
  text-align: center;
  text-decoration: none;
}

@media (max-width: 899px) {
  .mol-capture__copy {
    text-align: center;
  }

  .mol-capture__copy .mol-checklist {
    text-align: left;
    max-width: 28rem;
    margin-inline: auto;
  }
}

/* Contrast */
.mol-contrast {
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(243, 236, 251, 0.85), transparent 55%),
    var(--white);
}

.mol-contrast__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 800px) {
  .mol-contrast__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.mol-contrast__col {
  text-align: left;
  padding-block: 0.25rem;
}

.mol-contrast__col h3 {
  font-family: var(--font-fun);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  -webkit-text-fill-color: unset;
  background: none;
  color: var(--ink-muted);
}

.mol-contrast__col--accent h3 {
  color: var(--purple);
}

.mol-contrast__col .mol-checklist {
  margin-top: 0;
}

/* Math */
.mol-math {
  background: var(--lavender);
}

.mol-math__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .mol-math__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.mol-math__facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 1rem;
  text-align: left;
}

.mol-math__facts li {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.98rem;
}

.mol-math__facts strong {
  color: var(--purple);
  font-weight: 700;
}

.mol-math__note {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.15rem !important;
  text-align: left;
  max-width: 40rem;
}

.mol-math__cta .btn {
  text-decoration: none;
}

.mol-math__photo {
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 28rem;
  margin-inline: auto;
}

.mol-math__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 899px) {
  .mol-math__copy {
    text-align: center;
  }

  .mol-math__facts,
  .mol-math__note {
    text-align: left;
    margin-inline: auto;
  }

  .mol-math__cta {
    text-align: center;
  }
}

/* Support */
.mol-support {
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(226, 243, 241, 0.7), transparent 55%),
    var(--white);
}

.mol-points {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 1.75rem;
}

.mol-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  text-align: left;
}

.mol-points h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.mol-points p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.98rem;
}

.mol-support__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.mol-support__cta .btn {
  text-decoration: none;
}

/* Stories */
.mol-stories {
  background: var(--mint);
}

.mol-stories__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .mol-stories__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.mol-stories__photo {
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 36rem;
}

.mol-stories__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mol-stories__copy .btn {
  text-decoration: none;
}

@media (max-width: 899px) {
  .mol-stories__copy {
    text-align: center;
  }

  .mol-stories__photo {
    margin-inline: auto;
  }
}

/* Soft paths */
.mol-paths {
  background: var(--white);
  text-align: center;
}

.mol-paths__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.mol-paths__actions .btn {
  text-decoration: none;
}

/* Final CTA */
.mol-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(226, 243, 241, 0.7), transparent 60%),
    var(--lavender);
}

.mol-cta__title {
  font-family: var(--font-fun);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.mol-cta__lede {
  color: var(--ink-muted);
  margin: 0 auto 1.25rem;
  max-width: 32rem;
}

.mol-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.mol-cta__actions .btn {
  text-decoration: none;
}

/* Reveals */
.js body.wagn-mobile-opportunity-landing .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance, 0.85rem));
  transition:
    opacity var(--reveal-duration) var(--ease-editorial),
    transform var(--reveal-duration) var(--ease-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}

.js body.wagn-mobile-opportunity-landing .reveal--title {
  transform: translateY(calc(var(--reveal-distance, 0.85rem) + 0.25rem));
}

.js body.wagn-mobile-opportunity-landing .reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js body.wagn-mobile-opportunity-landing .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Title centering reinforce */
body.wagn-mobile-opportunity-landing .mol-hero__title,
body.wagn-mobile-opportunity-landing .mol-section-header h2,
body.wagn-mobile-opportunity-landing .mol-cta__title {
  text-align: center;
}

@media (min-width: 900px) {
  body.wagn-mobile-opportunity-landing .mol-hero__copy .mol-brand,
  body.wagn-mobile-opportunity-landing .mol-hero__copy .mol-hero__eyebrow,
  body.wagn-mobile-opportunity-landing .mol-hero__copy .mol-hero__title,
  body.wagn-mobile-opportunity-landing .mol-hero__copy .mol-hero__lede,
  body.wagn-mobile-opportunity-landing .mol-hero__copy .mol-hero__trust {
    text-align: left;
  }

  body.wagn-mobile-opportunity-landing .mol-section-header--left h2 {
    text-align: left;
  }
}
