.lh-hero-backdrop { border-bottom: 1px solid var(--m-line); background: radial-gradient(ellipse at 74% 55%, #33302a 0%, transparent 66%); }
.lh-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: 'copy artwork' 'actions artwork';
  column-gap: clamp(26px, 5vw, 80px);
  row-gap: 24px;
  padding-block: clamp(38px, 5vw, 76px) clamp(42px, 7vw, 94px);
}
.lh-hero-copy { grid-area: copy; align-self: end; min-width: 0; }
.lh-kicker { text-transform: uppercase; }
.lh-hero h1 {
  font: 400 clamp(58px, 6.35vw, 104px)/.98 var(--m-serif);
  letter-spacing: -.05em;
  margin: 16px 0 24px;
}
.lh-hero h1 em { color: var(--m-accent); font-weight: 400; }
.lh-intro { font-size: clamp(14px, 1.6vw, 17px); line-height: 1.65; color: var(--m-muted); max-width: 34ch; }
.lh-actions { grid-area: actions; align-self: start; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.lh-actions .m-button { min-height: 52px; justify-content: center; }
.lh-actions .m-under-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }

.lh-reveal { grid-area: artwork; min-width: 0; margin: 0; border: 1px solid #514c41; border-radius: 14px; overflow: hidden; background: #22221e; }
.lh-reveal-stage {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  height: clamp(320px, 37vw, 500px);
  background: radial-gradient(ellipse at 50% 28%, #514a3c 0%, #34312a 46%, #24241f 82%);
}
.lh-reveal-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(76%, 420px);
  aspect-ratio: 1;
  border: 1px solid #eee0ba24;
  border-radius: 50%;
  box-shadow: 0 0 0 25px #eee0ba0c;
  pointer-events: none;
}
.lh-reveal-frame {
  grid-area: 1 / 1;
  display: block;
  width: min(91%, 475px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(12px 15px 15px #10100dc7);
}
.lh-reveal-sprite { background-repeat: no-repeat; background-size: 500% 500%; }
.lh-reveal [hidden] { display: none; }
.lh-reveal-caption { display: grid; gap: 11px; padding: 15px 18px 16px; border-top: 1px solid #514c41; }
.lh-reveal-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.lh-reveal-meta strong { font-weight: 550; font-size: 14px; }
.lh-reveal-meta output { color: var(--m-muted); font-size: 13px; }
.lh-reveal-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.lh-reveal-controls:has(input:not([hidden])) { grid-template-columns: auto minmax(40px, 1fr) auto; }
.lh-reveal-controls button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #777264;
  border-radius: 6px;
  background: transparent;
  color: var(--m-ink);
  font: 550 13px/1.3 var(--m-sans);
  cursor: pointer;
}
.lh-reveal-controls button:hover { border-color: var(--m-accent); }
.lh-reveal-controls button[aria-pressed='true'] { color: var(--lenti-gold-ink); background: var(--m-accent); border-color: var(--m-accent); }
.lh-reveal-controls input { width: 100%; min-height: 44px; margin: 0; accent-color: var(--m-accent); cursor: ew-resize; }

.lh-create { border-top: 1px solid var(--m-line); }
.lh-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lh-option {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--lenti-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: clamp(22px, 3vw, 36px);
}
.lh-option:hover { border-color: #8d7f63; background: #2a2822; }
.lh-option-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lh-option-top svg { width: 52px; height: 52px; color: var(--m-accent); }
.lh-option h3 { font: 400 clamp(30px, 4vw, 42px)/1.15 var(--m-serif); margin-bottom: 11px; }
.lh-option p { font-size: 14px; color: var(--m-muted); line-height: 1.7; max-width: 36ch; margin-bottom: 22px; }
.lh-option-link { margin-top: auto; font-size: 13px; font-weight: 550; color: var(--m-accent); }
[data-memly-page='home'] .m-process { background: #21211d; border-color: var(--m-line); }
[data-memly-page='home'] .m-steps-grid article > span { color: var(--m-accent); border-color: var(--m-line); }
[data-memly-page='home'] .m-steps-grid p { color: var(--m-muted); }
.lh-final { padding: clamp(42px, 6vw, 66px) 20px; text-align: center; background: #24231e; border-block: 1px solid var(--m-line); }
.lh-final h2 { font: 400 clamp(36px, 4vw, 54px)/1.12 var(--m-serif); margin: 0 0 20px; }

@media (max-width: 820px) {
  .lh-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy' 'artwork' 'actions';
    gap: 17px;
    padding-block: 26px 40px;
  }
  .lh-hero h1 { font-size: clamp(45px, 11vw, 80px); margin: 9px 0 13px; }
  .lh-hero-backdrop { background: radial-gradient(ellipse at 50% 55%, #33302a 0%, transparent 72%); }
  .lh-intro { max-width: 42ch; }
  .lh-reveal-stage { height: clamp(240px, 65vw, 420px); }
  .lh-reveal-frame { width: min(84%, 395px, 62vw); }
  .lh-reveal-caption { padding: 11px 12px 12px; gap: 7px; }
  .lh-actions { gap: 5px 18px; }
}
@media (max-width: 540px) {
  [data-memly-page='home'] .m-header-actions > .m-button-small { display: none; }
  .lh-options { grid-template-columns: 1fr; gap: 12px; }
  .lh-reveal-controls button { padding-inline: 7px; }
  .lh-reveal-controls:has(input:not([hidden])) { grid-template-columns: auto minmax(36px, 1fr) auto; }
}
