/* Laura Santiago 💛 public homepage, REVIEW PREVIEW 2026-11-27.
   Every rule is scoped under .laura-home and every class starts with lh-, so nothing here can
   reach the chat, sign-in or onboarding screens (they use their own stylesheets and classes).
   Opening inspired by contralabs.com: a bracketed window opens between the two halves of the
   wordmark, grows to full bleed, then a short headline and the offer appear. */

.laura-home {
  --lh-paper: #fbf7ef; --lh-paper-2: #f4ecdf; --lh-sun: #f6e3b8; --lh-line: #e7dccb;
  --lh-ink: #241d17; --lh-muted: #6b5f55; --lh-verde: #1f5d4c; --lh-verde-2: #174a3c;
  --lh-arequipe: #f3d9a4; --lh-arequipe-ink: #3d2a06;
  --lh-display: "Fraunces", Georgia, serif; --lh-body: "Inter", -apple-system, system-ui, sans-serif;
  background: var(--lh-paper); color: var(--lh-ink); font: 16px/1.5 var(--lh-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.laura-home *, .laura-home *::before, .laura-home *::after { box-sizing: border-box; }
.laura-home a { color: inherit; }
.laura-home img { max-width: 100%; display: block; }
.laura-home :focus-visible { outline: 3px solid #f0b94a; outline-offset: 2px; }

/* ---------- opening ---------- */
.lh-open { position: relative; height: calc(100svh + 26px); min-height: 586px; overflow: hidden; background: var(--lh-paper); }
.lh-stage { position: absolute; top: 0; left: 0; right: 0; bottom: 26px; }   /* the film area; the extra 26px sits under the content sheet */
.lh-film { position: absolute; inset: 0; will-change: clip-path, transform;
  clip-path: inset(var(--lh-clip-y, 0%) var(--lh-clip-x, 0%) round var(--lh-clip-r, 0px));
  transform: translateY(var(--lh-par, 0px)) scale(var(--lh-scroll-scale, 1)); transform-origin: 50% 30%; }
.lh-film img, .lh-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lh-film video { opacity: 0; transition: opacity .5s ease; }
.lh-film video.lh-on { opacity: 1; }
.lh-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--lh-shade, 1); transition: opacity .9s ease;
  background: linear-gradient(180deg, rgba(36,29,23,.32) 0%, rgba(36,29,23,0) 16%, rgba(36,29,23,0) 46%, rgba(36,29,23,.38) 70%, rgba(36,29,23,.72) 100%); }

/* wordmark + brackets (the intro); hidden once the window is open */
.lh-mark-intro { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2; }
.lh-word { position: absolute; top: 50%; font: 500 clamp(26px, 6vw, 44px)/1 var(--lh-display); letter-spacing: -.02em; color: var(--lh-ink); transform: translateY(-50%); transition: transform 1s cubic-bezier(.7,0,.2,1), opacity .6s ease; white-space: nowrap; }
.lh-word-l { right: calc(50% + var(--lh-gap, 8px)); }
.lh-word-r { left: calc(50% + var(--lh-gap, 8px)); }
.lh-brackets { position: absolute; z-index: 2; pointer-events: none; transition: inset 1s cubic-bezier(.7,0,.2,1), opacity .5s ease;
  inset: var(--lh-clip-y, 0%) var(--lh-clip-x, 0%); }
.lh-brackets i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--lh-ink); }
.lh-brackets i:nth-child(1) { left: -9px; top: -9px; border-width: 3px 0 0 3px; }
.lh-brackets i:nth-child(2) { right: -9px; top: -9px; border-width: 3px 3px 0 0; }
.lh-brackets i:nth-child(3) { left: -9px; bottom: -9px; border-width: 0 0 3px 3px; }
.lh-brackets i:nth-child(4) { right: -9px; bottom: -9px; border-width: 0 3px 3px 0; }

/* states driven by JS: data-lh-phase = mark | window | open | ready */
.laura-home[data-lh-phase="mark"] .lh-film { --lh-clip-y: 50%; --lh-clip-x: 50%; }
.laura-home[data-lh-phase="mark"] .lh-brackets { opacity: 0; }
.laura-home[data-lh-phase="window"] .lh-film,
.laura-home[data-lh-phase="window"] .lh-brackets { --lh-clip-y: 39%; --lh-clip-x: 34%; --lh-clip-r: 2px; }
.laura-home[data-lh-phase="window"] { --lh-gap: 19vw; }
.laura-home[data-lh-phase="open"] .lh-film, .laura-home[data-lh-phase="ready"] .lh-film { --lh-clip-y: 0%; --lh-clip-x: 0%; }
.laura-home[data-lh-phase="open"] .lh-brackets, .laura-home[data-lh-phase="ready"] .lh-brackets { opacity: 0; }
.laura-home[data-lh-phase="open"] .lh-word, .laura-home[data-lh-phase="ready"] .lh-word { opacity: 0; }
.laura-home[data-lh-phase="open"] .lh-word-l, .laura-home[data-lh-phase="ready"] .lh-word-l { transform: translate(-30vw, -50%); }
.laura-home[data-lh-phase="open"] .lh-word-r, .laura-home[data-lh-phase="ready"] .lh-word-r { transform: translate(30vw, -50%); }
.lh-film { transition: clip-path 1s cubic-bezier(.7,0,.2,1); }
.laura-home[data-lh-phase="mark"] .lh-film::after, .laura-home[data-lh-phase="window"] .lh-film::after { --lh-shade: 0; }

/* top bar and offer panel arrive after the window opens */
.lh-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: calc(env(safe-area-inset-top) + 16px) 20px 0; color: #fff; opacity: 0; transform: translateY(-8px); transition: opacity .6s ease, transform .6s ease; }
.lh-brand { font: 500 20px/1 var(--lh-display); letter-spacing: -.01em; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.lh-signin-pill { font: 600 14px/1 var(--lh-body); text-decoration: none; padding: 11px 15px; border-radius: 99px; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lh-panel { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 38px);
  padding: 18px 18px 14px; border-radius: 22px; background: rgba(251,247,239,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.3); opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.laura-home[data-lh-phase="ready"] .lh-panel, .laura-home[data-lh-phase="ready"] .lh-top { opacity: 1; transform: none; }
.lh-h1 { font: 500 30px/1.04 var(--lh-display); letter-spacing: -.03em; margin: 0 0 12px; }
.lh-h1 em { font-style: italic; color: var(--lh-verde); }
.lh-offer { padding: 11px 13px; border-radius: 14px; background: var(--lh-arequipe); color: #5a3f0c; margin: 0 0 12px; }
.lh-offer-main { margin: 0 0 3px; font-weight: 600; font-size: 15px; line-height: 1.32; color: var(--lh-arequipe-ink); }
.lh-offer-sub { margin: 0; font-size: 13px; line-height: 1.38; }
.lh-btn { display: block; width: 100%; text-align: center; text-decoration: none; font: 600 17px/1 var(--lh-body); padding: 18px 16px; border-radius: 15px; background: var(--lh-verde); color: #fff !important; }
.lh-btn:hover { background: var(--lh-verde-2); }
.lh-member { margin: 11px 0 0; font-size: 14px; color: var(--lh-muted); text-align: center; }
.lh-link { color: var(--lh-verde) !important; font-weight: 600; text-decoration: none; }
.lh-link:hover { text-decoration: underline; }
.lh-disc { margin: 8px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--lh-muted); text-align: center; }
.lh-cue { display: none; }

/* ---------- content ---------- */
/* the content slides up over the film like a sheet (Contra moves from the film to a flat colour band) */
.lh-main { position: relative; z-index: 4; background: var(--lh-paper); margin-top: -26px; border-radius: 26px 26px 0 0; box-shadow: 0 -12px 30px rgba(36,29,23,.12); }
.lh-sec { padding: 64px 20px 12px; max-width: 1120px; margin: 0 auto; }
.lh-band { background: var(--lh-sun); }
.lh-band .lh-sec { padding-bottom: 56px; }
.lh-eyebrow { font: 600 12px/1 var(--lh-body); letter-spacing: .12em; text-transform: uppercase; color: var(--lh-verde); margin: 0 0 14px; }
.lh-h2 { font: 500 40px/1.02 var(--lh-display); letter-spacing: -.035em; margin: 0 0 16px; }
.lh-h2 em { font-style: italic; }
.lh-lead { font-size: 17px; line-height: 1.55; color: #3a322b; margin: 0 0 12px; max-width: 34em; }
.lh-meet-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: 22px; margin-bottom: 22px; }
.lh-sig { font: italic 500 22px/1 var(--lh-display); color: var(--lh-verde); margin: 8px 0 0; }
.lh-steps { list-style: none; padding: 0; margin: 0; counter-reset: lhs; }
.lh-steps li { counter-increment: lhs; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(61,42,6,.14); }
.lh-steps li:first-child { border-top: 0; }
.lh-steps li::before { content: counter(lhs); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 16px/1 var(--lh-display); background: var(--lh-paper); color: var(--lh-verde); }
.lh-steps b { display: block; font-size: 17px; margin-bottom: 2px; }
.lh-steps span { color: #5d4f40; font-size: 15px; }
.lh-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.lh-facts li { font-size: 13px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.6); color: #4a3d2c; }
.lh-socials { display: grid; gap: 10px; }
.lh-soc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; border-radius: 18px; background: #fff; border: 1px solid var(--lh-line); text-decoration: none; }
.lh-soc:hover { border-color: #cdbfa9; }
.lh-soc svg { width: 26px; height: 26px; flex: none; }
.lh-soc b { display: block; font-size: 15.5px; }
.lh-soc span { font-size: 13.5px; color: var(--lh-muted); }
.lh-soc .lh-go { margin-left: auto; font-size: 20px; color: var(--lh-muted); }
.lh-end { margin: 56px 20px 0; padding: 30px 20px 24px; border-radius: 26px; background: var(--lh-ink); color: #fff; text-align: center; }
.lh-end .lh-h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.lh-end .lh-offer { text-align: left; max-width: 460px; margin: 0 auto 14px; }
.lh-end .lh-btn { max-width: 460px; margin: 0 auto; }
.lh-end .lh-member { color: rgba(255,255,255,.72); }
.lh-end .lh-link { color: var(--lh-arequipe) !important; }
.lh-foot { padding: 30px 20px calc(env(safe-area-inset-bottom) + 34px); font-size: 12.5px; color: var(--lh-muted); text-align: center; line-height: 1.6; }
.lh-foot nav a { margin: 0 6px; }
.lh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.lh-reveal.lh-in { opacity: 1; transform: none; }

/* ---------- desktop ---------- */
@media (min-width: 800px) {
  .lh-film img, .lh-film video { object-position: 50% 50%; }
  .lh-film::after { background: linear-gradient(90deg, rgba(36,29,23,.55) 0%, rgba(36,29,23,.25) 36%, rgba(36,29,23,0) 56%),
                                linear-gradient(180deg, rgba(36,29,23,.32) 0%, rgba(36,29,23,0) 18%); }
  .laura-home[data-lh-phase="window"] .lh-film, .laura-home[data-lh-phase="window"] .lh-brackets { --lh-clip-y: 33%; --lh-clip-x: 40%; }
  .laura-home[data-lh-phase="window"] { --lh-gap: 11vw; }
  .lh-top { padding: 26px 44px 0; }
  .lh-brand { font-size: 22px; }
  .lh-panel { left: max(44px, calc((100vw - 1180px) / 2)); right: auto; top: 50%; bottom: auto; width: 430px; padding: 28px 28px 22px; transform: translateY(calc(-50% + 22px)); }
  .laura-home[data-lh-phase="ready"] .lh-panel { transform: translateY(-50%); }
  .lh-h1 { font-size: 46px; margin-bottom: 18px; }
  .lh-cue { display: block; position: absolute; z-index: 3; left: 50%; bottom: 46px; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,.8); text-decoration: none; opacity: 0; transition: opacity .6s ease .4s; }
  .laura-home[data-lh-phase="ready"] .lh-cue { opacity: 1; }
  .lh-sec { padding: 104px 44px 16px; }
  .lh-band .lh-sec { padding-bottom: 96px; }
  .lh-h2 { font-size: 64px; }
  .lh-meet { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .lh-meet-img { margin: 0; }
  .lh-how { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .lh-socials { grid-template-columns: repeat(3, 1fr); }
  .lh-end { max-width: 1032px; margin: 96px auto 0; padding: 56px 40px 40px; }
  .lh-end .lh-h2 { font-size: 48px; }
}

/* ---------- reduced motion: final state at once, poster only ---------- */
@media (prefers-reduced-motion: reduce) {
  .laura-home .lh-film, .laura-home .lh-word, .laura-home .lh-brackets, .laura-home .lh-panel, .laura-home .lh-top, .laura-home .lh-reveal { transition: none !important; }
  .laura-home .lh-film video { display: none; }
  .laura-home .lh-reveal { opacity: 1; transform: none; }
}

/* Opening soon (29 Nov 2026): the Join button is a non-clickable label until paid chat opens. */
.lh-soon { cursor: default; }
.lh-soon:hover { background: var(--lh-verde); }
.lh-soon-pill { cursor: default; }
.laura-home .lh-credit { font-size: 11px; opacity: .8; }
