.site-shell {
  background: #241a2c url('./impasto-prune.webp') center top / max(100vw, 1100px) auto repeat-y;
}
@media (max-width: 700px) {
  .hero {
    padding: 10px 10px 12px;
    background: transparent;
  }
  .mobile-hero {
    overflow: hidden;
    padding-top: 6px;
    background: #0b1d2d;
    border: 1px solid #bd8752;
    border-radius: 16px;
  }
  .mobile-brand .lm-logo-badge {
    width: 44px;
    font-size: 19px;
  }
  .mobile-postcard {
    position: relative;
    container-type: inline-size;
  }
  .mobile-postcard-copy {
    position: absolute;
    z-index: 1;
    top: 12.5%;
    left: 16%;
    right: 6%;
    text-align: center;
    text-shadow: 0 2px 5px #000;
  }
  .mobile-postcard-copy .eyebrow {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .mobile-hero .mobile-postcard-copy h1 {
    margin: 0;
    font-size: clamp(1.125rem, 6.6cqw, 2.9rem);
    line-height: 1.08;
    text-wrap: balance;
  }
  .mobile-hero .mobile-postcard-copy .mobile-tagline {
    margin: 2cqw 0 0;
    font-size: clamp(.75rem, 3.7cqw, 1.5rem);
    line-height: 1.2;
  }
  .mobile-hero .mobile-actions {
    margin: 8px 0 12px;
    padding-inline: 12px;
  }
  .mobile-hero .mobile-actions .btn {
    min-height: 44px;
    padding-block: 7px;
  }
  .mobile-hero .mobile-visual {
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 1448 / 1086;
    background: url('./hero-approved-clean.webp') center / contain no-repeat;
    border: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .mobile-hero .mobile-visual::before { content: none; }
  .mobile-hero .mobile-visual .mobile-steam { display: none; }
}

/* Approved artwork with live, bilingual controls. */
@media (min-width: 701px) {
  body { background: #07090c; }
  .site-shell { background: #07090c; }
  .hero {
    width: 100%;
    max-width: 1100px;
    min-height: 0;
    max-height: none;
    height: auto;
    aspect-ratio: 1448 / 1086;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #071b2c;
    overflow: hidden;
  }
  .hero .hero-art {
    background-image: url('./hero-approved-clean.webp');
    background-size: 100% 100%;
    background-position: center;
  }
  .hero .hero-copy {
    left: 16%;
    right: 6%;
    top: 12%;
    height: 15%;
    clip-path: none;
  }
  .hero .hero-copy h1 { font-size: 7.1cqw; }
  .hero.is-english .hero-copy h1 { font-size: 6.6cqw; }
  .hero .hero-copy p { position: static; margin: .6cqw 0 0; font-size: 2cqw; }
  .hero .projection-grain { display: none; }
  .hero .hero-hotspots .hot-logo {
    left: 4.2%;
    top: 1.75%;
    width: 6.65%;
    height: auto;
    aspect-ratio: 1;
  }
  .hero .hero-hotspots .hero-nav-links {
    left: 32%;
    right: 19%;
    top: 4%;
    height: 6.5%;
  }
  .hero .hero-nav-links > a { font-size: max(1rem, 1.53cqw); }
  .hero .hero-hotspots .lm-language-toggle { right: 4%; top: 4%; }
  .hero .hero-hotspots :is(.hot-discover,.hot-request) {
    top: 33%;
    bottom: auto;
    right: auto;
    width: 24%;
    height: 7.8%;
    min-height: 3.5rem;
    border-radius: .45cqw;
    font-size: clamp(1rem, 1.4cqw, 2.25rem);
    transform-origin: center;
  }
  .hero .hero-hotspots .hot-discover { left: 32%; }
  .hero .hero-hotspots .hot-request { left: 58%; }
}


/* Match JF's orange/dark pill reference; preserve label contrast in all states. */
@media (min-width:701px) {
  .hero .hero-hotspots :is(.hot-discover,.hot-request) {
    top:30%;
    width:22%;
    height:8.2%;
    min-height:3.5rem;
    font-size:max(1rem, 1.75cqw);
    line-height:1.05;
    padding:.3cqw 1.1cqw;
    gap:.9cqw;
    border:2px solid #db9e42;
    border-radius:999px;
    box-shadow:0 5px 9px #0009;
  }
  .hero .hero-hotspots .hot-discover { left:32%; }
  .hero .hero-hotspots .hot-request { left:56%; }
  .hero .hero-hotspots :is(.hot-discover,.hot-request) span {
    max-width:13cqw;white-space:normal;text-wrap:balance;
  }
  .hero .hero-hotspots :is(.hot-discover,.hot-request) svg {
    width:2cqw;height:2cqw;min-width:1.2rem;flex:0 0 2cqw;
    box-sizing:content-box;padding-right:.9cqw;border-right:1px solid currentColor;
  }
  .hero .hero-hotspots .hot-discover,
  .hero .hero-hotspots .hot-discover:is(:hover,:focus-visible) {
    color:#24140b;
    background:radial-gradient(ellipse at 45% 40%,#ffc779,#ec943d 74%,#d3772a);
    text-shadow:none;
  }
  .hero .hero-hotspots .hot-discover svg { fill:currentColor;stroke:currentColor; }
  .hero .hero-hotspots .hot-request,
  .hero .hero-hotspots .hot-request:is(:hover,:focus-visible) {
    color:#fff0d6;background:#071b2ce8;text-shadow:0 1px 2px #0008;
  }
  .hero .hero-hotspots .hot-request svg { fill:none;stroke:currentColor; }
  .hero .hero-hotspots :is(.hot-discover,.hot-request):hover { filter:brightness(1.08); }
  .hero .hero-hotspots :is(.hot-discover,.hot-request):focus-visible {
    outline:3px solid #fff0b1;outline-offset:3px;
  }
}

/* One menu-book frame, two independently accessible actions. */
@media (min-width:701px) {
  .hero .hero-hotspots .hero-actions,
  .hero .hero-hotspots .hero-actions:hover {
    position:absolute;display:flex;left:32%;top:30%;width:44%;height:8.2%;
    min-height:3.5rem;padding:0;gap:0;overflow:hidden;
    border:2px solid #db9e42;border-radius:2cqw;
    background:#071b2ce8;box-shadow:0 5px 9px #0009;
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request) {
    position:relative;inset:auto;flex:1 1 50%;width:50%;height:100%;
    min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;
    padding:.3cqw .8cqw;transform:none;
    transition:filter .18s ease,box-shadow .18s ease;
  }
  .hero .hero-hotspots .hero-actions .hot-request {
    border-left:1px solid #db9e42;
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request):is(:hover,:focus-visible) {
    filter:brightness(1.12);box-shadow:inset 0 0 0 2px #ffe3a866;
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request):focus-visible {
    outline:3px solid #fff0b1;outline-offset:-4px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request) {transition:none;}
}

/* Issue #38: real bilingual controls over the existing artwork. */
@media (min-width:701px) {
  .hero .hero-hotspots .hero-nav-links {
    left:auto;
    right:calc(4% + clamp(114px, 9.4vw, 146px) + clamp(12px, 2.6cqw, 30px));
    height:clamp(43px, 3.6vw, 54px);
  }
  .hero .hero-hotspots .hero-nav-links > .hot-about {
    padding-inline:.45em;
    font-weight:400;
    white-space:nowrap;
  }
  .hero .hero-hotspots .hero-actions,
  .hero .hero-hotspots .hero-actions:hover {
    right:4.2%;bottom:13.25%;left:auto;top:auto;width:max-content;height:7.5%;
    min-height:44px;border:1.5px solid #e1c58a;border-radius:clamp(10px,1.4cqw,16px);
    background:#082832;box-shadow:0 7px 22px #0006;
    isolation:isolate;overflow:hidden;
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request),
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request):is(:hover,:focus-visible) {
    flex:0 0 auto;width:auto;height:100%;min-height:0;position:relative;inset:auto;
    border:0;border-radius:0;box-shadow:none;filter:none;
    padding-inline:clamp(16px, 2.3cqw, 26px);gap:0;white-space:nowrap;
    font:400 clamp(15px,1.75cqw,20px)/1.2 Georgia,serif;
    text-shadow:none;text-align:center;text-decoration:none;
    transition:background .3s,box-shadow .3s;
  }
  .hero .hero-hotspots .hero-actions .hot-discover,
  .hero .hero-hotspots .hero-actions .hot-discover:is(:hover,:focus-visible) {
    flex:1 1 auto;background:#082832;color:#f5e5c8;
  }
  .hero .hero-hotspots .hero-actions .hot-request,
  .hero .hero-hotspots .hero-actions .hot-request:is(:hover,:focus-visible) {
    flex:0 0 auto;background:linear-gradient(115deg,#edcf91,#d9a858);
    color:#14242b;border-left:1px solid #c4a571;
  }
  .hero .hero-hotspots .hero-actions .hot-discover:is(:hover,:focus-visible) {
    background:#234451;box-shadow:inset 0 0 18px #e5b25a36;
  }
  .hero .hero-hotspots .hero-actions .hot-request:is(:hover,:focus-visible) {
    background:#ebcc92;
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request)>span {
    max-width:none;white-space:nowrap;
  }
  .hero .hero-hotspots .hero-actions .cta-arrow {
    display:inline-block;margin-left:.45em;transition:transform .3s;
  }
  .hero .hero-hotspots .hero-actions .hot-request:is(:hover,:focus-visible) .cta-arrow {
    transform:translateX(4px);
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request)::after {
    content:none;animation:none;
  }
  .hero .hero-hotspots .hero-actions :is(.hot-discover,.hot-request):focus-visible {
    outline:2px solid white;outline-offset:-4px;
  }
}
@keyframes lm-cta-sweep {
  0% {left:-40%;opacity:0;}
  12%, 88% {opacity:1;}
  100% {left:125%;opacity:0;}
}
@media (prefers-reduced-motion:no-preference) {
  /* Separate the entrance from interaction so reentering can restart the sweep. */
  .hero-actions::before,
  .hero-actions::after {
    content:"";
    position:absolute;
    inset:-80% auto -80% -40%;
    width:24%;
    z-index:3;
    opacity:0;
    pointer-events:none;
    transform:skewX(-25deg);
    background:linear-gradient(90deg,transparent,#fff5d53b,#fff4d5a6,#fff5d53b,transparent);
  }
  .hero-actions::before {animation:lm-cta-sweep 1.15s ease-in-out .35s;}
  .hero-actions:has(a:focus-visible)::after {animation:lm-cta-sweep 1.15s ease-in-out;}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .hero-actions:hover::after {animation:lm-cta-sweep 1.15s ease-in-out;}
}
@media (max-width:700px) {
  .mobile-top {gap:8px;}
  .mobile-about-link {font:600 clamp(11px,3vw,14px)/1.15 Georgia,serif;color:#f5e5c8;text-align:center;text-decoration:none;}
  .mobile-brand span:last-child {display:none;}
  .mobile-split-cta {
    position:absolute;z-index:2;right:4.2%;bottom:13.25%;
    display:flex;align-items:stretch;min-height:44px;
    border:1.5px solid #e1c58a;border-radius:11px;overflow:hidden;
    box-shadow:0 7px 22px #0005;isolation:isolate;
  }
  .mobile-split-cta a {
    display:flex;justify-content:center;align-items:center;min-height:44px;
    padding:7px clamp(10px, 3.6vw, 22px);font:400 clamp(14px, 3.3vw, 17px)/1.1 Georgia,serif;
    text-decoration:none;text-align:center;white-space:nowrap;
    transition:background .3s;
  }
  .mobile-split-cta .hot-discover {background:#082832;color:#f5e5c8;}
  .mobile-split-cta .hot-request {background:linear-gradient(115deg,#edcf91,#d9a858);color:#14242b;border-left:1px solid #c4a571;}
  .mobile-split-cta .hot-discover:is(:hover,:focus-visible){background:#234451;}
  .mobile-split-cta .hot-request:is(:hover,:focus-visible){background:#ebcc92;}
  .mobile-split-cta .cta-arrow {margin-left:4px;transition:transform .3s;}
  .mobile-split-cta .hot-request:is(:hover,:focus-visible) .cta-arrow {transform:translateX(4px);}
  .mobile-split-cta a:focus-visible {outline:2px solid white;outline-offset:-4px;}
}
@media (prefers-reduced-motion:reduce) {
  .hero .hero-hotspots .hero-actions a,.mobile-split-cta a,
  .hero .hero-hotspots .hero-actions .cta-arrow,.mobile-split-cta .cta-arrow {transition:none;transform:none!important;}
}

/* Mobile-only: one painted rim, balanced gutters, and two full-width actions. */
@media (max-width:700px) {
  .site-shell > .hero {
    --lm-home-gutter: clamp(12px, 3.6vw, 18px);
    padding: var(--lm-home-gutter);
  }
  .hero .mobile-hero { border: 0; }
  .hero .mobile-postcard { margin: 0 6px 6px; }

  .hero .mobile-postcard > .mobile-split-cta.hero-actions {
    position: absolute; inset: auto 12px 11% auto;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0; align-items: stretch;
    width: clamp(176px, 55%, 230px); max-width: calc(100% - 24px);
    min-width: 0; height: auto; margin: 0; padding: 0;
    background: #082832;
  }
  .hero .mobile-split-cta.hero-actions > :is(.hot-discover,.hot-request) {
    position: static; inset: auto;
    display: flex; justify-content: center; align-items: center;
    width: 100%; min-width: 0; height: auto; min-height: 44px;
    margin: 0; padding: 6px clamp(4px, 2vw, 10px);
    gap: .25em; border-radius: 0; transform: none;
    white-space: normal;
  }
  .hero .mobile-split-cta > a > span[data-i18n] {
    min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere;
  }
  .hero .mobile-split-cta .cta-arrow { margin-left: 0; flex: 0 0 auto; }
}

/* Stop the hero backdrop at its painted card edge. */
@media(min-width:701px) {
  .site-shell { background:#07090c; }
  .site-shell > .hero { margin-bottom:0; aspect-ratio:1448 / 1008; }
  .hero .hero-art { inset:0; background-size:100% auto; background-position:center top; }
}

/* Raised enamel and warm brass faces for the two arrival actions. */
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions {
  box-shadow:0 3px 0 #65452c,0 8px 17px #0007;
}
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions :is(.hot-discover,.hot-request) {
  position:relative;
}
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions .hot-discover,
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions .hot-discover:is(:hover,:focus-visible) {
  background:linear-gradient(165deg,#31525b,#102f39 58%,#08232c);
  box-shadow:inset 0 1px 1px #e9f3e840,inset 0 -2px 3px #0005;
  color:#fff0d6;
}
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions .hot-request,
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions .hot-request:is(:hover,:focus-visible) {
  background:linear-gradient(165deg,#f4e0b4,#dfbc79 50%,#c69a58);
  box-shadow:inset 0 1px 1px #fff9,inset 0 -2px 3px #80512e55;
  color:#252019;
}
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions :is(.hot-discover,.hot-request):hover { filter:brightness(1.07); }
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions :is(.hot-discover,.hot-request):active { box-shadow:inset 0 2px 5px #0005; }
.hero :is(.hero-hotspots,.mobile-hero) .hero-actions :is(.hot-discover,.hot-request):focus-visible {
  outline:2px solid #fff8e8;outline-offset:-4px;
}

/* Approved hero card: even breathing room and quiet purple impasto surround. */
@media (min-width:701px) {
  .site-shell {
    display:flow-root;
    background:linear-gradient(90deg,#0b1015d6 0%,#0b1015b8 56%,#0b10158c 100%),url('./impasto-prune.webp') center top / max(100vw,1100px) auto;
  }
  .site-shell > .hero {
    width:calc(100% - 2 * clamp(14px,2vw,28px));
    max-width:1100px;
    margin:clamp(14px,2vw,28px) auto;
    border-radius:clamp(18px,2.2vw,30px);
    background:transparent;
    box-shadow:0 17px 30px #0009;
  }
  .hero .hero-art { border-radius:inherit; }
}
@media (max-width:700px) {
  .site-shell > .hero {
    --lm-home-gutter:clamp(16px,4.2vw,22px);
    background:linear-gradient(90deg,#0b1015cf,#0b101591),url('./impasto-prune.webp') center top / cover;
  }
}
