/* Lemu Lab — Nana dark-indigo overrides */

/* ── Logo ── */
.lemu-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  color: #0d1035;
  background: #ffff82;
  border-radius: 999px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.lemu-skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

nav .brand-logo.lemu-brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 0;
}

nav .brand-logo.lemu-brand img {
  height: 42px;
  width: auto;
  display: block;
}

.blocks.lemu-blocks a.block {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ── Nav ── */
nav ul a.lemu-nav-join {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.85;
}

nav ul a.lemu-nav-join:hover {
  opacity: 1;
}

/* ── Hero ── */
.lemu-hero {
  text-align: center;
}

.lemu-hero .container {
  width: 100%;
}

.lemu-hero h1 {
  font-size: clamp(2.75rem, 10vw, 6.5rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 auto;
  max-width: 16ch;
}

.lemu-hero h1 em {
  font-style: normal;
  color: #8b9cff;
}

.lemu-hero-tag {
  margin: 2.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 32rem;
  opacity: 0.72;
  font-weight: 400;
  text-align: center;
}

/* ── Section rhythm ── */
.lemu-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.cases h2,
.expertise h2,
.team h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* ── Cases & evals blocks (Nana-native: image + title only) ── */
.blocks.lemu-blocks .block {
  border: none;
  background-color: #f7f7f8;
  background-size: cover;
  background-position: center;
}

.blocks.lemu-blocks .block .title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.blocks.lemu-case-blocks .block {
  color: #0d1035;
}

/* ── Portfolio cards — image-forward, text overlaid on image ── */
.lemu-case-grid {
  max-width: 900px;
  margin: 0 auto;
}

.lemu-eval-grid {
  max-width: 1025px;
  margin: 0 auto;
}

.lemu-case-grid .row,
.lemu-eval-grid .row {
  margin: 0;
}

.lemu-case-grid .col,
.lemu-eval-grid .col {
  padding: 0.4rem;
}

.lemu-case-card,
.lemu-eval-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  background: #0d1035;
}

/* Evals share the dark palette, so give the card a visible edge + lift
   to separate it from the near-identical page background. */
.lemu-eval-card {
  border: 1px solid rgba(139, 156, 255, 0.22);
  box-shadow: 0 6px 24px rgba(7, 8, 22, 0.45);
}

@media (min-width: 993px) {
  .lemu-eval-card:hover {
    border-color: rgba(139, 156, 255, 0.55);
  }
}

.lemu-case-img,
.lemu-eval-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.lemu-case-card--wide {
  aspect-ratio: 16 / 9;
}

.lemu-case-card--square {
  aspect-ratio: 1 / 1;
}

.lemu-eval-card {
  aspect-ratio: 4 / 3;
}

.lemu-case-card .lemu-case-img,
.lemu-eval-card .lemu-eval-img {
  position: absolute;
  inset: 0;
}

/* Gradient scrim so text stays legible on top of the image */
.lemu-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(7, 8, 22, 0.85) 0%, rgba(7, 8, 22, 0.35) 38%, rgba(7, 8, 22, 0) 70%);
  transition: background 0.4s ease;
}

.lemu-card-kicker {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.3rem;
}

.lemu-card-kicker--eval {
  font-family: "SFMono-Regular", ui-monospace, "Menlo", monospace;
  letter-spacing: 0.02em;
  color: #8b9cff;
}

.lemu-card-title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.lemu-card-title::after {
  content: ' →';
  display: inline-block;
  margin-left: 0.15rem;
  transform: translateX(-0.35rem);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media (min-width: 993px) {
  .lemu-case-card:hover .lemu-case-img,
  .lemu-eval-card:hover .lemu-eval-img {
    transform: scale(1.05);
  }

  .lemu-case-card:hover .lemu-card-overlay,
  .lemu-eval-card:hover .lemu-card-overlay {
    background: linear-gradient(to top, rgba(7, 8, 22, 0.9) 0%, rgba(7, 8, 22, 0.45) 45%, rgba(7, 8, 22, 0.1) 80%);
  }

  .lemu-case-card:hover .lemu-card-title::after,
  .lemu-eval-card:hover .lemu-card-title::after {
    transform: translateX(0);
    opacity: 1;
  }
}

.lemu-eval-intro {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.65;
}

/* ── Expertise (text sell — no icons) ── */
.lemu-expertise-grid {
  text-align: left;
  margin-top: 2.5rem;
}

.lemu-expertise-item {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lemu-expertise-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.lemu-expertise-item p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.68;
  margin: 0;
  max-width: 28rem;
}

@media (min-width: 993px) {
  .lemu-expertise-item {
    padding: 2.5rem 1.5rem;
  }
}

/* ── About ── */
.lemu-manifesto-lead {
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
}

.lemu-manifesto-body {
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.7;
  margin: 1.5rem auto 0;
  max-width: 38rem;
}

/* ── White sheet pages (Nana modal → static) ── */
html.lemu-sheet-html,
body.lemu-sheet-body {
  background-color: #ffffff !important;
  color: #0d1035 !important;
  margin: 0;
  min-height: 100%;
}

body.lemu-sheet-body,
body.lemu-sheet-body p,
body.lemu-sheet-body h3,
body.lemu-sheet-body .flow-text {
  color: #0d1035 !important;
}

body.lemu-sheet-body a.modal-close,
body.lemu-sheet-body a.modal-nav,
body.lemu-sheet-body .modal-nav-container a {
  color: #0d1035 !important;
}

body.lemu-sheet-body .meta strong a {
  color: #0d1035 !important;
  border-bottom-color: rgba(13, 16, 53, 0.25);
}

body.lemu-sheet-body .lemu-sheet-page.modal.bottom-sheet {
  display: block !important;
  position: relative;
  z-index: 1;
  height: auto;
  min-height: 100vh;
  max-height: none;
  top: auto;
  transform: none !important;
  opacity: 1 !important;
  background-color: #ffffff !important;
  color: #0d1035 !important;
  box-shadow: none !important;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content {
  position: relative;
  background-color: #ffffff !important;
  color: #0d1035 !important;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke-color: #0d1035;
  -webkit-text-stroke-width: 3px;
  color: #0d1035;
  line-height: 1.05;
}

@media only screen and (max-width: 992px) {
  body.lemu-sheet-body .lemu-sheet-page .modal-content h1 {
    font-size: 4rem;
    -webkit-text-stroke-width: 2.5px;
  }
}

@media only screen and (max-width: 600px) {
  body.lemu-sheet-body .lemu-sheet-page .modal-content h1 {
    font-size: 2.5rem;
    letter-spacing: 0.2rem;
    -webkit-text-stroke-width: 2px;
  }
}

body.lemu-sheet-body .lemu-sheet-page .modal-content h3 {
  color: #0d1035 !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content h2 {
  color: #0d1035 !important;
  -webkit-text-fill-color: #0d1035 !important;
  -webkit-text-stroke-color: transparent !important;
  -webkit-text-stroke-width: 0 !important;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 2.5rem 0 1rem;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content a {
  color: #1a237e !important;
  border-bottom: 1px solid rgba(26, 35, 126, 0.35);
  text-decoration: none;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content a:hover {
  border-bottom-color: #0d1035;
}

body.lemu-sheet-body a.modal-close,
body.lemu-sheet-body a.modal-nav,
body.lemu-sheet-body .modal-nav-container a {
  color: #0d1035 !important;
  border-bottom: none;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content a.lemu-case-cta,
body.lemu-sheet-body .lemu-case-cta {
  display: inline-block;
  margin: 2rem 0 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  background: #0d1035 !important;
  color: #ffffff !important;
  border-bottom: none !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
}

body.lemu-sheet-body .lemu-sheet-page .modal-content a.lemu-case-cta:hover,
body.lemu-sheet-body .lemu-case-cta:hover {
  opacity: 0.88;
  color: #ffffff !important;
  border-bottom: none !important;
}

body.lemu-sheet-body .lemu-case-list {
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}

body.lemu-sheet-body .lemu-case-list li {
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

body.lemu-sheet-body .lemu-case-faq dt {
  font-weight: 700;
  margin-top: 1.25rem;
}

body.lemu-sheet-body .lemu-case-faq dd {
  margin: 0.35rem 0 0;
  line-height: 1.65;
}

body.lemu-sheet-body .lemu-case-related {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 16, 53, 0.12);
}

body.lemu-sheet-body .lemu-sheet-page .meta span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.25rem;
  color: #0d1035 !important;
}

body.lemu-sheet-body .lemu-sheet-page .meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0d1035 !important;
  margin-bottom: 0;
}

body.lemu-sheet-body .lemu-sheet-page .modal-close.absolute {
  position: fixed;
  color: #0d1035 !important;
  text-decoration: none;
}

body.lemu-sheet-body .lemu-sheet-page .modal-close.absolute:hover {
  opacity: 0.5;
}

body.lemu-sheet-body .lemu-sheet-page .modal-nav-container .single-page-title strong {
  color: #0d1035 !important;
}

body.lemu-sheet-body .lemu-legal-updated {
  color: #0d1035 !important;
  font-size: 0.9rem;
  opacity: 0.55;
  margin-top: 0;
}

body.lemu-sheet-body .lemu-legal-list {
  padding-left: 1.35rem;
}

body.lemu-sheet-body .lemu-legal-list li {
  margin-bottom: 0.6rem;
}

/* ── Join ── */
.lemu-join {
  text-align: center;
  padding: 6rem 0 4rem;
}

.lemu-join h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lemu-join p {
  max-width: 26rem;
  margin: 1.25rem auto 2rem;
  opacity: 0.7;
  line-height: 1.65;
}

/* ── Footer ── */
footer.lemu-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

footer.lemu-footer .lemu-footer-join {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

footer.lemu-footer .lemu-footer-links {
  margin-top: 1rem;
}

.lemu-footer-separator {
  margin: 0 0.5rem;
  opacity: 0.35;
}

.lemu-footer-copy {
  margin-top: 2rem;
  opacity: 0.4;
  font-size: 0.8rem;
}

.lemu-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lemu-linkedin svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

@media (max-width: 992px) {
  .blocks .block {
    margin: 0.35rem !important;
  }
}

@media (max-width: 600px) {
  nav .brand-logo.lemu-brand img {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
