/* Fall digital-presence campaign — cozy autumn night */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Outfit:wght@400;500;600;700&display=swap');

.lp-page--fall {
  --lp-font: 'Outfit', system-ui, sans-serif;
  --lp-display: 'Fraunces', Georgia, serif;
  --lp-navy: #140f0c;
  --lp-navy-soft: #241c16;
  --lp-accent: #e0542c;
  --lp-accent-hover: #c94420;
  --lp-bg: #1a1410;
  --lp-surface: #221a14;
  --lp-text: #ebe2d6;
  --lp-text-muted: #b7a897;
  --lp-border: rgba(255, 214, 170, 0.14);
  --lp-success: #7cb88a;
  --fall-ember: #f0a45a;
  --fall-maple: #e0542c;
  --fall-mist: #f6efe5;
  color: var(--lp-text);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(224, 84, 44, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 20%, rgba(240, 164, 90, 0.12), transparent 50%),
    linear-gradient(180deg, #120e0b 0%, #1a1410 40%, #120e0b 100%);
}

.lp-page--fall .lp-section h2 {
  color: var(--fall-mist);
}

.lp-page--fall .lp-section__label {
  color: var(--fall-ember);
}

.lp-page--fall .lp-section__lead {
  color: var(--lp-text-muted);
}

.lp-page--fall .lp-section--alt {
  background: rgba(255, 236, 210, 0.03);
  border-block: 1px solid var(--lp-border);
}

.lp-page--fall .lp-btn--primary {
  background: linear-gradient(135deg, #e0542c 0%, #c73d1f 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(224, 84, 44, 0.28);
}

.lp-page--fall .lp-btn--primary:hover {
  background: linear-gradient(135deg, #ef6438 0%, #e0542c 100%);
  color: #fff;
}

.lp-page--fall .lp-btn--ghost {
  background: transparent;
  border: 1px solid rgba(246, 239, 229, 0.35);
  color: var(--fall-mist);
}

.lp-page--fall .lp-btn--ghost:hover {
  border-color: var(--fall-ember);
  color: #fff;
  background: rgba(240, 164, 90, 0.08);
}

/* ——— Hero: one composition, full-bleed leaves ——— */
.lp-page--fall .lp-hero {
  min-height: min(100vh, 920px);
  display: grid;
  align-items: end;
  padding: 0;
  background: #0a0807;
  overflow: hidden;
}

.lp-page--fall .lp-hero::before {
  display: none;
}

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

.lp-fall-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.06);
  animation: fall-hero-drift 28s ease-in-out infinite alternate;
}

.lp-fall-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.35) 0%, rgba(10, 8, 7, 0.55) 42%, rgba(10, 8, 7, 0.92) 100%),
    radial-gradient(ellipse 55% 45% at 70% 20%, rgba(224, 84, 44, 0.22), transparent 60%);
  z-index: 1;
}

.lp-page--fall .lp-hero .lp-container {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 44rem;
  margin: 0 auto 0 0;
  padding: 2.75rem 0 4.5rem;
  width: var(--lp-container);
  margin-inline: auto;
}

.lp-fall-brand {
  margin: 0 0 1.35rem;
}

.lp-fall-brand img {
  width: min(300px, 78vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.lp-page--fall .lp-hero h1 {
  font-family: var(--lp-display);
  font-size: clamp(2.15rem, 5.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fall-mist);
  margin: 0 0 1rem;
  text-wrap: balance;
  max-width: 16ch;
}

.lp-page--fall .lp-hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(246, 239, 229, 0.82);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.lp-fall-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.lp-fall-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lp-fall-split-cta {
  display: inline-flex;
  width: auto;
  min-height: 3rem;
  border: 1px solid rgba(246, 239, 229, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.lp-fall-split-cta__part {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  color: var(--fall-mist);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.lp-fall-split-cta__part + .lp-fall-split-cta__part {
  border-left: 1px solid rgba(246, 239, 229, 0.28);
}

.lp-fall-split-cta__part:hover,
.lp-fall-split-cta__part:focus-visible {
  background: rgba(240, 164, 90, 0.14);
  color: #fff;
  outline: none;
}

.lp-fall-phone-btn__icon {
  flex-shrink: 0;
  transform-origin: 50% 50%;
  animation: fall-phone-ring 1.8s ease-in-out infinite;
}

.lp-fall-phone-btn__icon--text {
  animation: fall-text-pulse 2.4s ease-in-out infinite;
}

@keyframes fall-phone-ring {
  0%, 100% { transform: rotate(0deg); }
  8% { transform: rotate(14deg); }
  16% { transform: rotate(-12deg); }
  24% { transform: rotate(10deg); }
  32% { transform: rotate(-8deg); }
  40% { transform: rotate(4deg); }
  48%, 100% { transform: rotate(0deg); }
}

@keyframes fall-text-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 900px) {
  .lp-page--fall .lp-fall-cta-row .lp-fall-cta--desktop {
    display: none !important;
  }

  .lp-page--fall .lp-hero .lp-fall-cta-row {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .lp-page--fall .lp-hero .lp-fall-split-cta {
    display: flex;
    width: 100% !important;
    max-width: 100%;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-fall-phone-btn__icon {
    animation: none;
  }
}

.lp-fall-leaf-float {
  position: absolute;
  right: max(-2rem, 4vw);
  bottom: 12%;
  width: min(280px, 34vw);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: fall-leaf-sway 7s ease-in-out infinite;
  transform-origin: 55% 40%;
}

@media (max-width: 820px) {
  .lp-fall-leaf-float {
    width: min(160px, 42vw);
    right: -1rem;
    bottom: 18%;
    opacity: 0.85;
  }
}

@media (max-width: 560px) {
  .lp-fall-leaf-float {
    display: none;
  }
}

@keyframes fall-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1.5%, 0); }
}

@keyframes fall-leaf-sway {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(10px); }
}

/* Falling confetti leaves */
.lp-fall-confetti {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.lp-fall-confetti span {
  position: absolute;
  top: -12%;
  width: clamp(18px, 3vw, 34px);
  height: auto;
  opacity: 0.75;
  animation: fall-drop linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.lp-fall-confetti span:nth-child(1) { left: 8%; animation-duration: 14s; animation-delay: -2s; }
.lp-fall-confetti span:nth-child(2) { left: 22%; width: 22px; animation-duration: 18s; animation-delay: -7s; }
.lp-fall-confetti span:nth-child(3) { left: 48%; width: 28px; animation-duration: 16s; animation-delay: -4s; }
.lp-fall-confetti span:nth-child(4) { left: 68%; width: 20px; animation-duration: 20s; animation-delay: -11s; }
.lp-fall-confetti span:nth-child(5) { left: 86%; width: 26px; animation-duration: 15s; animation-delay: -1s; }

@keyframes fall-drop {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.8; }
  100% { transform: translate3d(40px, 110vh, 0) rotate(320deg); opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-fall-hero__media img,
  .lp-fall-leaf-float,
  .lp-fall-confetti span {
    animation: none !important;
  }
}

/* ——— Work shelf (device mockups) ——— */
.lp-fall-work {
  position: relative;
  padding: 4.5rem 0 0;
  overflow: hidden;
}

.lp-fall-work .lp-container {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.lp-fall-work h2 {
  font-family: var(--lp-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--fall-mist);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.lp-fall-work__foot {
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
  text-align: center;
  max-width: none !important;
}

.lp-fall-work__shelf {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

.lp-fall-work__viewport {
  overflow: hidden;
  padding: 0.75rem 0 0.25rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 3.5rem,
    #000 calc(100% - 3.5rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 3.5rem,
    #000 calc(100% - 3.5rem),
    transparent 100%
  );
}

.lp-fall-work__track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  min-height: clamp(200px, 28vw, 260px);
  animation: fall-work-scroll 90s linear infinite;
}

.lp-fall-work__item {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(200px, 28vw, 260px);
  background: transparent;
}

.lp-fall-work__item--screen {
  width: min(420px, 78vw);
}

.lp-fall-work__item--shot {
  width: auto;
  max-width: min(340px, 70vw);
}

.lp-fall-work__item img {
  display: block;
  background: transparent;
  border-radius: 0;
}

.lp-fall-work__item--screen img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  /* Knock out the black plate baked into the mockups */
  mix-blend-mode: screen;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.lp-fall-work__item--shot img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 10px;
  mix-blend-mode: normal;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.lp-fall-work__fade {
  display: none;
}

.lp-fall-work__fade--left,
.lp-fall-work__fade--right {
  display: none;
}

@keyframes fall-work-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-fall-work__track {
    animation: none;
    flex-wrap: wrap;
    width: min(1120px, 100% - 2rem);
    margin-inline: auto;
    justify-content: center;
    gap: 1.25rem;
  }

  .lp-fall-work__item {
    width: min(320px, 100%);
  }

  .lp-fall-work__item[aria-hidden="true"] {
    display: none;
  }

  .lp-fall-work__item:nth-child(odd),
  .lp-fall-work__item:nth-child(even) {
    transform: none;
  }

  .lp-fall-work__fade {
    display: none;
  }
}

/* ——— Paths (interactive, not marketing cards) ——— */
.lp-fall-paths {
  padding: 4.5rem 0 5rem;
}

.lp-fall-path-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 820px) {
  .lp-fall-path-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.lp-fall-path {
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: rgba(255, 236, 210, 0.04);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.4rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.lp-fall-path:hover,
.lp-fall-path:focus-visible {
  border-color: rgba(240, 164, 90, 0.55);
  background: rgba(240, 164, 90, 0.08);
  outline: none;
}

.lp-fall-path.is-selected {
  border-color: var(--fall-maple);
  background: rgba(224, 84, 44, 0.12);
  box-shadow: inset 0 0 0 1px rgba(224, 84, 44, 0.35);
}

.lp-fall-path__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fall-ember);
  margin-bottom: 0.45rem;
}

.lp-fall-path__title {
  font-family: var(--lp-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--fall-mist);
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.lp-fall-path__copy {
  margin: 0;
  color: var(--lp-text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.lp-fall-path__cta {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fall-mist);
}

.lp-fall-path__cta::after {
  content: ' →';
}

/* ——— Cozy human section ——— */
.lp-fall-cozy {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
}

.lp-fall-cozy .lp-container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .lp-fall-cozy .lp-container {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
  }
}

.lp-fall-ghost {
  justify-self: center;
  width: min(280px, 70vw);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
  animation: fall-ghost-bob 5.5s ease-in-out infinite;
}

@keyframes fall-ghost-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-fall-ghost { animation: none; }
}

.lp-fall-cozy h2 {
  max-width: 16ch;
}

.lp-fall-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding-bottom: 0.25rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fall-mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 164, 90, 0.45);
  line-height: 1.25;
}

.lp-fall-phone__wish {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--lp-text-muted);
}

.lp-fall-phone__row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lp-fall-phone__cake {
  font-size: 1.75rem;
  line-height: 1;
  transform-origin: 50% 80%;
  animation: fall-cake-wobble 2.4s ease-in-out infinite;
}

.lp-fall-phone-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fall-mist);
  letter-spacing: 0.02em;
}

.lp-fall-phone:hover {
  color: #fff;
  border-bottom-color: var(--fall-ember);
}

.lp-fall-phone:hover .lp-fall-phone__wish,
.lp-fall-phone:hover .lp-fall-phone-number {
  color: #fff;
}

@keyframes fall-cake-wobble {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  20% { transform: rotate(-8deg) translateY(-2px); }
  40% { transform: rotate(7deg) translateY(0); }
  60% { transform: rotate(-5deg) translateY(-1px); }
  80% { transform: rotate(4deg) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-fall-phone__cake {
    animation: none;
  }
}

/* ——— Simple process ——— */
.lp-fall-process {
  padding: 4.5rem 0 5rem;
}

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

@media (min-width: 800px) {
  .lp-fall-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.lp-fall-steps li {
  position: relative;
  padding-top: 0.25rem;
  counter-increment: fall-step;
}

.lp-fall-steps li::before {
  content: counter(fall-step, decimal-leading-zero);
  display: block;
  font-family: var(--lp-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fall-ember);
  margin-bottom: 0.65rem;
}

.lp-fall-steps h3 {
  font-family: var(--lp-display);
  font-size: 1.35rem;
  color: var(--fall-mist);
  margin: 0 0 0.5rem;
}

.lp-fall-steps p {
  margin: 0;
  color: var(--lp-text-muted);
}

/* ——— Quote / form ——— */
.lp-page--fall .lp-quote-section {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.lp-fall-quote-pile {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8%;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top right;
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: screen;
}

.lp-page--fall .lp-quote-section .lp-container {
  position: relative;
  z-index: 1;
}

.lp-page--fall .lp-form-card {
  background: rgba(20, 15, 12, 0.88);
  border: 1px solid var(--lp-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 36rem;
  margin-inline: auto;
}

.lp-page--fall .lp-form-card__title {
  color: var(--fall-mist);
  font-family: var(--lp-display);
}

.lp-page--fall .lp-form-card__sub {
  color: var(--lp-text-muted);
}

.lp-page--fall .lp-form label,
.lp-page--fall .lp-form legend {
  color: rgba(246, 239, 229, 0.78);
}

.lp-page--fall .lp-form input:not([type="radio"]):not([type="checkbox"]),
.lp-page--fall .lp-form textarea,
.lp-page--fall .lp-form select {
  width: 100%;
  max-width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  font-family: var(--lp-font);
  font-size: 1rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.96);
  color: #1c1410;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
}

.lp-page--fall .lp-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231c1410' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  min-height: 3rem;
  cursor: pointer;
}

.lp-page--fall .lp-form input:focus,
.lp-page--fall .lp-form textarea:focus,
.lp-page--fall .lp-form select:focus {
  outline: none;
  border-color: var(--fall-maple);
  box-shadow: 0 0 0 3px rgba(224, 84, 44, 0.25);
}

.lp-page--fall .lp-scope-select,
.lp-page--fall .lp-service-checks {
  border: 0;
  margin: 1rem 0 0;
  padding: 0;
}

.lp-page--fall .lp-scope-select label,
.lp-page--fall .lp-service-checks label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.45rem 0;
  color: var(--lp-text);
  font-weight: 500;
}

.lp-page--fall .lp-optional {
  color: var(--lp-text-muted);
  font-weight: 400;
}

.lp-page--fall .lp-form__status--success {
  color: var(--lp-success);
}

/* Footer + sticky */
.lp-page--fall .lp-footer {
  background: #0a0807;
  color: var(--lp-text-muted);
  border-top: 1px solid var(--lp-border);
}

.lp-page--fall .lp-footer a {
  color: var(--fall-mist);
}

.lp-page--fall .lp-sticky-cta {
  background: rgba(12, 9, 7, 0.92);
  border-top: 1px solid var(--lp-border);
  backdrop-filter: blur(12px);
}

.lp-fall-reveal {
  opacity: 1;
  transform: none;
}

.js-fall-motion .lp-fall-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fall-motion .lp-fall-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-fall-motion .lp-fall-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lp-page--fall #fall-quote-form { scroll-margin-top: 1.5rem; }
