:root {
  --bg: #f2eee4;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --yellow: #ffd60a;
  --yellow-deep: #ffc400;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --font-display: "Archivo Black", Impact, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", system-ui, sans-serif;
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  /* Apple liquid glass / extension material */
  --glass-bg: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.38) 42%,
    rgba(255, 255, 255, 0.22) 100%
  );
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-edge: rgba(0, 0, 0, 0.06);
  --glass-shadow:
    0 18px 40px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.04),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.04);
  --glass-blur: blur(40px) saturate(1.8);
  --glass-radius: 16px;
}

/* Sitewide Apple extension / liquid glass material */
.glass-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--glass-radius);
  border: 0.5px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--ink);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 38%,
    transparent 55%
  );
  opacity: 0.9;
  z-index: 0;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card--dark {
  --glass-bg: linear-gradient(
    165deg,
    rgba(48, 48, 52, 0.82) 0%,
    rgba(28, 28, 30, 0.78) 45%,
    rgba(20, 20, 22, 0.88) 100%
  );
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.16),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.35);
  color: #f5f5f7;
}

.glass-card--dark::before {
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 58%
  );
}

.glass-icon--dark {
  color: #f5f5f7;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(60% 45% at 78% 58%, rgba(255, 214, 10, 0.16), transparent 60%),
    radial-gradient(50% 40% at 18% 72%, rgba(255, 255, 255, 0.55), transparent 55%),
    var(--bg);
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Header: Safari / macOS toolbar feel */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: var(--header-h);
  padding: 0.55rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(242, 238, 228, 0.55);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-right: auto;
}

.logo-mark {
  width: 0.7rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--yellow);
}

.nav {
  display: none;
  gap: 1.35rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.nav-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 0.95rem;
  height: 1.5px;
  background: #fff;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0.75rem auto;
  z-index: 49;
  display: grid;
  gap: 0.25rem;
  padding: 0.55rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.mobile-nav a {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.mobile-nav[hidden] {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem 0.72rem 1.15rem;
  border: 0;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), background 0.2s ease, box-shadow 0.28s ease;
}

.site-header .header-cta {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

.site-header .header-cta .cta-full {
  display: none;
}

.site-header .header-cta .cta-short {
  display: inline;
}

@media (min-width: 900px) {
  .nav {
    display: inline-flex;
  }

  .site-header .header-cta {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }

  .site-header .header-cta .cta-full {
    display: inline;
  }

  .site-header .header-cta .cta-short {
    display: none;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ink {
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  padding: 0.55rem 1rem;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.18);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--yellow-deep);
}

.btn-arrow {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.12);
  font-size: 0.95rem;
}

/* ========== HERO (HOMELO) ========== */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  padding: 0.25rem clamp(1rem, 4vw, 2.75rem) 0.5rem;
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  margin: 0.4rem 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  position: relative;
  z-index: 4;
  animation: hero-in 0.55s var(--ease) both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-brand-in {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.hero-canvas {
  position: relative;
  flex: 1;
  width: min(1440px, 100%);
  margin: 0 auto;
  min-height: min(78dvh, 720px);
}

.hero-brand {
  position: absolute;
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.8rem, 14vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  pointer-events: none;
}

.hero-brand span {
  display: block;
  animation: hero-brand-in 0.75s var(--ease) both;
}

.hero-brand span:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-house {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(700px, 54vw);
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.18));
  pointer-events: none;
  user-select: none;
  animation: hero-rise 0.9s var(--ease) 0.12s both;
}

.hero-left {
  position: absolute;
  left: clamp(0.5rem, 3.5vw, 3rem);
  bottom: 10%;
  z-index: 3;
  width: min(15.5rem, 22vw);
  animation: hero-in 0.55s var(--ease) 0.35s both;
}

.hero-left p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-right {
  position: absolute;
  right: clamp(0.5rem, 3.5vw, 3rem);
  bottom: 12%;
  z-index: 3;
  animation: hero-in 0.55s var(--ease) 0.42s both;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.glass-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Extension-style square tiles */
.glass-tile {
  width: min(15rem, 100%);
  min-height: 4.5rem;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  border-radius: 18px;
}

.glass-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.35) 100%
  );
  border: 0.5px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.06),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

.glass-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.glass-copy strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.glass-copy span {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero-right {
    bottom: 14%;
    gap: 12px;
    width: min(16.5rem, 22vw);
  }

  .glass-stack {
    gap: 12px;
    width: 100%;
  }

  .glass-tile {
    width: 100%;
    min-height: 4.75rem;
    animation: float-card 6s ease-in-out infinite;
  }

  .glass-tile:nth-child(1) {
    --float-x: -6px;
    animation-delay: 0s;
  }

  .glass-tile:nth-child(2) {
    --float-x: 10px;
    animation-delay: 0.5s;
  }

  .glass-tile:nth-child(3) {
    --float-x: -2px;
    animation-delay: 1s;
  }

  @keyframes float-card {
    0%,
    100% {
      translate: var(--float-x, 0) 0;
    }
    50% {
      translate: var(--float-x, 0) -6px;
    }
  }
}

.explore {
  font-weight: 700;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.05rem;
}

.scroll-hint {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  margin: 0.15rem auto 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  z-index: 4;
}

.scroll-hint i {
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(to bottom, var(--ink), transparent);
  display: block;
  transform-origin: top center;
}

/* Mobile stack */
@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding-bottom: 0.75rem;
  }

  .hero-canvas {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.25rem;
  }

  .hero-brand {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    font-size: clamp(2.75rem, 15.5vw, 4.25rem);
    line-height: 0.86;
    margin: 0.15rem 0 0;
    z-index: 1;
  }

  .hero-brand span {
    animation: hero-in 0.55s var(--ease) both;
  }

  .hero-canvas > picture {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -0.35rem;
    z-index: 2;
  }

  .hero-house {
    position: relative;
    left: auto;
    top: auto;
    /* Kill desktop entrance transform that shifts the house left on mobile */
    transform: none !important;
    animation: hero-in 0.7s var(--ease) 0.1s both;
    width: min(88vw, 360px);
    margin: 0 auto;
  }

  .hero-left,
  .hero-right {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 22rem;
    text-align: center;
    align-items: center;
    margin-top: 1.15rem;
  }

  .hero-left {
    order: 3;
    margin-top: 0.85rem;
  }

  .hero-right {
    order: 4;
    margin-top: 1.35rem;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
    max-width: 18rem;
  }

  .hero-left .btn {
    justify-content: center;
  }

  .glass-stack {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .glass-tile {
    width: 100%;
    min-height: 0;
    animation: none;
  }

  .explore {
    margin-top: 0.35rem;
  }

  .scroll-hint {
    display: none;
  }
}

@media (min-width: 1100px) {
  .hero-brand {
    top: 0;
    font-size: clamp(7.5rem, 12.5vw, 11.5rem);
  }

  .hero-house {
    top: 46%;
    width: min(720px, 48vw);
  }
}

/* Promise + form */
.promise {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 3.5rem;
}

.promise-card {
  padding: 1.6rem 1.4rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  color: var(--muted);
  font-weight: 400;
  border-radius: 22px;
}

.promise-card p {
  margin: 0;
}

.promise strong {
  color: var(--ink);
}

/* Pourquoi passer par nous: continuous fade that overlaps the section above */
.why {
  width: 100%;
  max-width: none;
  margin: clamp(-7rem, -12vw, -5rem) 0 0;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.why-shell {
  width: 100%;
  max-width: none;
  border-radius: 0;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
  isolation: auto;
  /* Top padding = overlap zone + room before copy sits on dark */
  padding:
    clamp(9rem, 18vw, 13rem)
    clamp(1.25rem, 5vw, 4rem)
    clamp(5.5rem, 12vw, 8.5rem);
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  justify-items: stretch;
  color: #f5f5f7;
  /* Same continuous blend as before, but dark starts higher for text */
  background: linear-gradient(
    to bottom,
    rgba(242, 238, 228, 0) 0%,
    rgba(242, 238, 228, 0.08) 3%,
    rgba(220, 212, 196, 0.22) 7%,
    rgba(170, 160, 145, 0.38) 11%,
    rgba(110, 104, 96, 0.58) 15%,
    rgba(60, 58, 55, 0.78) 19%,
    rgba(32, 31, 30, 0.92) 23%,
    rgba(20, 20, 22, 0.98) 27%,
    rgba(18, 18, 20, 1) 32%,
    rgba(18, 18, 20, 1) 68%,
    rgba(20, 20, 22, 0.98) 73%,
    rgba(32, 31, 30, 0.92) 78%,
    rgba(60, 58, 55, 0.78) 83%,
    rgba(110, 104, 96, 0.58) 87%,
    rgba(170, 160, 145, 0.38) 91%,
    rgba(220, 212, 196, 0.22) 95%,
    rgba(242, 238, 228, 0.08) 98%,
    rgba(242, 238, 228, 0) 100%
  ) !important;
}

.why-shell::before,
.why-shell::after {
  content: none !important;
  display: none !important;
}

/* Mobile: soft cream→dark only in the top overlap; copy stays on solid dark */
@media (max-width: 899px) {
  .process {
    margin-bottom: 0;
    padding-bottom: 0.75rem;
  }

  .why {
    margin-top: clamp(-7.5rem, -18vw, -5.5rem);
  }

  .why-shell {
    padding-top: clamp(8rem, 22vw, 10.5rem);
    padding-bottom: clamp(6.5rem, 18vw, 9rem);
    /* Stops are % of full section height — dark must arrive before intro text */
    background: linear-gradient(
      to bottom,
      rgba(242, 238, 228, 0) 0%,
      rgba(230, 224, 210, 0.4) 2%,
      rgba(170, 160, 145, 0.45) 4%,
      rgba(90, 86, 80, 0.7) 6.5%,
      rgba(36, 34, 32, 0.94) 9%,
      rgba(18, 18, 20, 1) 11.5%,
      rgba(18, 18, 20, 1) 86%,
      rgba(32, 31, 30, 0.96) 89%,
      rgba(60, 58, 55, 0.86) 91.5%,
      rgba(110, 104, 96, 0.68) 93.5%,
      rgba(170, 160, 145, 0.48) 95.5%,
      rgba(220, 212, 196, 0.28) 97.5%,
      rgba(242, 238, 228, 0.1) 99%,
      rgba(242, 238, 228, 0) 100%
    ) !important;
  }
}

.why-shell > .why-grid,
.why-shell > .why-intro,
.why-shell > .why-note {
  width: min(1180px, 100%);
  justify-self: center;
}

.why-intro {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.why-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  letter-spacing: -0.03em;
  color: #f5f5f7;
}

.why-intro p {
  margin: 0;
  color: rgba(245, 245, 247, 0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 820px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.why-tile {
  margin: 0;
  min-height: 0;
  padding: 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 20px;
  animation: none;
}

.why-tile .glass-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--yellow);
  border: 1px solid rgba(255, 214, 10, 0.55);
  background: linear-gradient(
    180deg,
    rgba(255, 214, 10, 0.16) 0%,
    rgba(255, 214, 10, 0.05) 100%
  );
  box-shadow:
    0 4px 14px rgba(255, 214, 10, 0.12),
    inset 0 0.5px 0 rgba(255, 214, 10, 0.35);
}

.why-tile .glass-icon.glass-icon--dark {
  color: var(--yellow);
  border-color: rgba(255, 214, 10, 0.55);
  background: linear-gradient(
    180deg,
    rgba(255, 214, 10, 0.16) 0%,
    rgba(255, 214, 10, 0.05) 100%
  );
  box-shadow:
    0 4px 14px rgba(255, 214, 10, 0.12),
    inset 0 0.5px 0 rgba(255, 214, 10, 0.35);
}

.why-tile .glass-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
}

.why-tile .glass-copy strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  margin-bottom: 0.4rem;
}

.why-tile .glass-copy span {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(245, 245, 247, 0.68);
}

.why-note {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.why-note p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.74);
}

.why-cta {
  justify-self: center;
  margin-top: 0.25rem;
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
}

/* Vertical process timeline */
.process {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 0;
}

.process-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.process-intro h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
}

.process-intro p {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.18) 40%,
    rgba(0, 0, 0, 0.08)
  );
}

@media (min-width: 700px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 3rem;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.timeline-item.is-in {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 7px;
  top: 1.35rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--yellow);
  border: 3px solid var(--bg);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 6px 16px rgba(255, 214, 10, 0.35);
  transform: scale(0.4);
  opacity: 0;
  transition:
    transform 0.45s var(--ease) 0.08s,
    opacity 0.45s var(--ease) 0.08s;
  z-index: 2;
}

.timeline-item.is-in .timeline-dot {
  transform: scale(1);
  opacity: 1;
}

.timeline-card {
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
}

.timeline-step {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 700px) {
  .timeline-item {
    width: 50%;
    padding: 0 2.25rem 2.5rem;
  }

  .timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-left: 0;
    padding-right: 2.5rem;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    text-align: left;
    padding-right: 0;
    padding-left: 2.5rem;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    left: auto;
    right: -9px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
  }

  .timeline-item:nth-child(odd) .timeline-card {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item,
  .timeline-dot,
  .hero-eyebrow,
  .hero-brand span,
  .hero-house,
  .hero-left,
  .hero-right,
  .scroll-hint,
  .glass-tile,
  .testimonial-slide {
    transition: none;
    animation: none !important;
    opacity: 1;
  }

  .hero-eyebrow,
  .hero-brand span,
  .hero-left,
  .hero-right,
  .scroll-hint,
  .glass-tile,
  .testimonial-slide {
    transform: none;
  }

  .hero-house {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 899px) {
  .hero-house {
    transform: none !important;
  }
}

.testimonials {
  max-width: 720px;
  margin: 0 auto 3.75rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonials-intro h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.testimonials-intro p {
  margin: 0;
  color: var(--muted);
}

.testimonials-carousel {
  padding: 0;
}

.testimonials-viewport {
  overflow: hidden;
  position: relative;
  min-height: 16.5rem;
}

.testimonials-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.review-card {
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 20px;
  text-align: left;
}

.review-head {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem 0.9rem;
  align-items: start;
  margin-bottom: 0.95rem;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(0, 0, 0, 0.12);
  background: #ddd;
}

.review-meta {
  min-width: 0;
}

.review-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.review-name-row cite {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a5c2e;
  background: rgba(46, 160, 80, 0.14);
  border: 1px solid rgba(46, 160, 80, 0.28);
}

.review-verified::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2ea050;
  box-shadow: 0 0 0 2px rgba(46, 160, 80, 0.2);
}

.review-place {
  margin: 0.2rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
}

.review-stars {
  color: #e6a700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.review-date {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  padding-top: 0.15rem;
}

.review-card blockquote {
  margin: 0;
}

.review-card blockquote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 450;
}

.review-outcome {
  margin: 0.95rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 214, 10, 0.28);
  border: 1px solid rgba(255, 196, 0, 0.45);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}

.review-outcome::before {
  content: "✓";
  font-weight: 700;
  color: #1a5c2e;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.carousel-btn:hover {
  transform: scale(1.04);
  background: #000;
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--yellow-deep);
  outline-offset: 3px;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 14rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s var(--ease),
    width 0.2s var(--ease);
}

.carousel-dot.is-active {
  width: 1.35rem;
  background: var(--yellow-deep);
  transform: none;
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .review-head {
    grid-template-columns: 52px 1fr;
  }

  .review-date {
    grid-column: 2;
    padding-top: 0;
  }

  .testimonials-viewport {
    min-height: 18.5rem;
  }
}

.faq {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.faq-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-intro h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.faq-intro p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  margin: 0;
  padding: 0;
  border-radius: 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-section {
  max-width: 820px;
  margin: 0 auto 4rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.form-intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-eyebrow.why-eyebrow,
.why-intro .why-eyebrow {
  color: var(--yellow) !important;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  letter-spacing: 0.14em;
  margin-bottom: 0.15rem;
}

.form-intro h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
}

.seller-form {
  padding: 1.35rem;
  border-radius: 22px;
}

.form-progress {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.form-progress li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  color: var(--muted);
  opacity: 0.55;
}

.form-progress li.is-active,
.form-progress li.is-done {
  opacity: 1;
  color: var(--ink);
}

.form-progress-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.06);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.form-progress li.is-active .form-progress-num {
  background: var(--yellow);
  border-color: transparent;
  color: #1d1d1f;
}

.form-progress li.is-done .form-progress-num {
  background: rgba(29, 29, 31, 0.9);
  color: #fff;
  border-color: transparent;
}

.form-progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-progress-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.form-progress-bar i {
  display: block;
  height: 100%;
  width: var(--progress, 33%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), #ffc400);
  transition: width 0.35s var(--ease);
}

.form-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form-step[hidden] {
  display: none !important;
}

.form-step legend {
  padding: 0;
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-step-hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.form-nav .form-next {
  margin-left: auto;
}

/* .btn { display: inline-flex } would otherwise override the hidden attribute */
.form-nav .btn[hidden],
.form-back[hidden],
.form-next[hidden] {
  display: none !important;
}

.form-step .btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

.seller-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.seller-form label span {
  color: var(--muted);
}

.seller-form input,
.seller-form select,
.seller-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.8);
}

.seller-form input:focus,
.seller-form select:focus,
.seller-form textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow:
    0 0 0 3px rgba(255, 214, 10, 0.28),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.8);
}

.form-legal {
  margin: 1rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.btn-submit {
  width: 100%;
  justify-content: center;
}

.seller-form.is-loading .btn-submit {
  opacity: 0.7;
  pointer-events: none;
}

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-status.is-ok {
  background: #e8f6ea;
  color: #165c28;
}

.form-status.is-err {
  background: #fdecea;
  color: #8a1f1a;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 2.75rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  margin-top: 0.55rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.footer-links a,
.form-legal a,
.legal-card a,
.cookie-banner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-legal a {
  font-weight: 600;
}

/* Legal page */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 5rem;
}

.legal-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 24px;
}

.legal-card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.legal-updated {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-card h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft, var(--muted));
  line-height: 1.6;
}

.legal-card ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.legal-card .btn {
  margin-top: 1.5rem;
}

/* Cookie consent bar */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 80;
  width: min(920px, calc(100% - 1.5rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.cookie-banner-copy p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

.cookie-banner-actions .btn {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}
