/* Liberty Process — award-style cinematic page */

@font-face {
  font-family: "Bethany Elingston";
  src: url("/assets/fonts/Bethany%20Elingston.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #f2f7f4;
  --muted: rgba(242, 247, 244, 0.58);
  --accent: #7dffb3;
  --accent-2: #2ee6a0;
  --bg: #030705;
  --panel: #0a1611;
  --font-d: "Syne", system-ui, sans-serif;
  --font-b: "Newsreader", Georgia, serif;
  --font-u: "Supply Sans", "PP Supply Mono", system-ui, sans-serif;
  --font-cursive: "Bethany Elingston", "Great Vibes", cursive;
}

.lm-aww-cursive {
  font-family: var(--font-cursive) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

.lm-aww-hero-sub.lm-aww-cursive {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lm-aww-em.lm-aww-cursive {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
}

.lm-aww-journey-head h2.lm-aww-cursive {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--ink);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--bg); }

body.lm-process-page {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: none;
}

body.lm-process-page a,
body.lm-process-page button {
  cursor: none;
}

body.lm-process-page .lm-logo,
body.lm-process-page .lm-menu-btn {
  z-index: 12250;
}

@media (pointer: coarse) {
  body.lm-process-page,
  body.lm-process-page a,
  body.lm-process-page button { cursor: auto; }
  .lm-cursor { display: none !important; }
}

.lm-proc-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.lm-proc-vignette {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* Custom cursor */
.lm-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30000;
  pointer-events: none;
  mix-blend-mode: difference;
}
.lm-cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
}
.lm-cursor-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
body.is-cursor-hover .lm-cursor-ring {
  transform: scale(1.8);
  border-color: var(--accent);
}

/* Progress */
.lm-prog {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12000;
  width: 2px;
  height: min(220px, 32vh);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.lm-prog i {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.lm-prog-label {
  position: fixed;
  right: 14px;
  bottom: 20px;
  z-index: 12000;
  font-family: var(--font-u);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

.lm-aww { position: relative; z-index: 1; }

.lm-aww-eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-u);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.lm-aww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--accent-2), var(--accent));
  color: #052016;
  text-decoration: none;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lm-aww-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* —— HERO —— */
.lm-aww-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 6rem 24px 4rem;
  overflow: hidden;
}
.lm-aww-kicker {
  margin: 0 0 1.25rem;
  font-family: var(--font-u);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.lm-aww-mega {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(3.2rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform, opacity;
}
.lm-aww-hero-sub {
  margin: 1.75rem auto 0;
  max-width: 28ch;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--muted);
}
.lm-aww-scrollhint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-u);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.lm-aww-scrollhint span {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--accent), transparent);
  transform-origin: top;
}

/* —— WHO —— */
.lm-aww-who {
  min-height: 180vh;
  position: relative;
}
.lm-aww-who-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 8.5rem clamp(20px, 4vw, 48px) 4rem;
}
.lm-aww-display {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.lm-aww-display .ln {
  display: block;
  overflow: hidden;
}
.lm-aww-display .ln-i {
  display: block;
}
.lm-aww-who-right p {
  margin: 0 0 1.1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: rgba(242, 247, 244, 0.82);
  max-width: 36ch;
}
.lm-aww-em {
  color: var(--accent) !important;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important;
}
.lm-aww-meters {
  display: grid;
  gap: 14px;
  margin-top: 1.75rem;
}
.lm-aww-meter {
  position: relative;
  padding: 0.9rem 0 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.lm-aww-meter-val {
  display: block;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.lm-aww-meter-lab {
  font-family: var(--font-u);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lm-aww-meter i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
}

/* —— JOURNEY / HORIZONTAL —— */
.lm-aww-journey {
  position: relative;
}
.lm-aww-journey-pin {
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 0 2rem;
}
.lm-aww-journey-head {
  padding: 0 clamp(20px, 4vw, 48px) 1.5rem;
}
.lm-aww-journey-head h2 {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}
.lm-aww-track-wrap {
  overflow: hidden;
  width: 100%;
}
.lm-aww-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0.5rem clamp(20px, 4vw, 48px) 1rem;
  will-change: transform;
}
.lm-aww-card {
  position: relative;
  width: min(72vw, 520px);
  height: min(62vh, 560px);
  flex: 0 0 auto;
  border-radius: 28px;
  padding: 1.5rem 1.5rem 1.35rem;
  background:
    linear-gradient(160deg, rgba(16, 60, 44, 0.95), rgba(10, 28, 20, 0.98)),
    #0c241a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lm-aww-card-num {
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.lm-aww-card-step {
  margin: 0 0 0.4rem;
  font-family: var(--font-u);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lm-aww-card h3 {
  margin: 0 0 0.7rem;
  max-width: 12ch;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.lm-aww-card h3 em {
  font-style: normal;
  color: var(--accent);
}
.lm-aww-card > p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}
.lm-aww-card-media {
  margin-top: auto;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  z-index: 1;
}
.lm-aww-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
}
.lm-aww-card-cta {
  justify-content: center;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(46, 230, 160, 0.22), transparent 60%),
    linear-gradient(160deg, #123d2e, #07140f);
}
.lm-aww-card-cta .lm-aww-btn {
  margin-top: 1.4rem;
  align-self: flex-start;
}

/* —— STRIP —— */
.lm-aww-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  overflow: hidden;
}
.lm-aww-strip-track {
  display: flex;
  width: max-content;
  gap: 1.4rem;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  will-change: transform;
}
.lm-aww-strip-track span:nth-child(even) {
  color: rgba(125, 255, 179, 0.35);
}

/* —— FINALE —— */
.lm-aww-finale {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6rem 24px;
}
.lm-aww-finale-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lm-aww-finale-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) saturate(0.8);
  transform: scale(1.1);
}
.lm-aww-finale-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, transparent, rgba(3, 7, 5, 0.75)),
    linear-gradient(180deg, rgba(3, 7, 5, 0.55), rgba(3, 7, 5, 0.85));
}
.lm-aww-finale-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.lm-aww-finale-title {
  margin: 0 0 1.75rem;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.lm-aww-finale-title span {
  display: block;
  overflow: hidden;
}
.lm-aww-finale-title span i {
  display: inline-block;
  font-style: normal;
}
.lm-aww-finale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 900px) {
  .lm-aww-who-sticky {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .lm-aww-card {
    width: min(85vw, 420px);
    height: auto;
    min-height: 420px;
  }
  .lm-prog { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.lm-process-page { cursor: auto; }
  .lm-cursor { display: none !important; }
}
