.ll-intro {
  --paper: #f3efe6;
  --paper-warm: #e8e0d2;
  --ink: #11110f;
  --muted: #605c55;
  --line: rgba(17, 17, 15, .22);
  --accent: #9c1e2e;
  --ease-out: cubic-bezier(.22,1,.36,1);
}

.ll-intro, .ll-intro *, .ll-intro *::before, .ll-intro *::after { box-sizing: border-box; }
body.intro-open { overflow: hidden; }

.ll-intro-skiplink {
  position: fixed; z-index: 10002; left: 1rem; top: 1rem;
  transform: translateY(-160%); padding: .7rem 1rem;
  background: #fff; color: #000; border: 2px solid #000; text-decoration: none;
}
.ll-intro-skiplink:focus { transform: none; }

.ll-intro {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  min-height: 100svh; background: var(--paper); color: var(--ink);
  isolation: isolate;
}
.ll-intro::before {
  content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(circle at 20% 14%, rgba(255,255,255,.9), transparent 34%),
    linear-gradient(110deg, transparent 0 51%, rgba(0,0,0,.035) 51.15% 51.35%, transparent 51.5%);
}
.ll-intro__paper {
  position: absolute; inset: -15%; z-index: -2; opacity: .21; pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,.11) 0 0.45px, transparent .7px 4px),
    repeating-linear-gradient(95deg, rgba(255,255,255,.12) 0 1px, transparent 1px 7px);
  transform: rotate(-2deg);
  mix-blend-mode: multiply;
}

.ll-intro__topbar {
  position: absolute; top: clamp(24px, 4vh, 58px); left: clamp(22px, 4.8vw, 82px); right: clamp(22px, 4.8vw, 82px);
  display: flex; align-items: center; gap: 18px; opacity: 0;
  animation: topbar-in .8s .15s var(--ease-out) forwards;
}
.ll-intro__brand { font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 1.8vw, 29px); letter-spacing: .16em; font-weight: 700; }
.ll-intro__brand span { font-weight: 400; }
.ll-intro__rule { flex: 1; height: 1px; background: var(--line); }
.ll-intro__place { font-size: 10px; letter-spacing: .2em; font-weight: 700; white-space: nowrap; }

.ll-intro__copy {
  position: absolute; z-index: 4; left: clamp(22px, 5.6vw, 96px); top: clamp(115px, 16vh, 185px);
  width: min(61vw, 910px); pointer-events: none;
}
.ll-intro__eyebrow {
  margin: 0 0 6px 10px; text-transform: uppercase; letter-spacing: .22em;
  font-size: clamp(9px, .9vw, 12px); font-weight: 800; opacity: 0;
  animation: fade-up .7s .45s var(--ease-out) forwards;
}
.ll-intro__script { display: block; width: 100%; height: auto; overflow: visible; }
.ll-intro__script text {
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-style: italic; font-weight: 700; letter-spacing: -0.04em;
}
.script-line-1 { font-size: 112px; }
.script-line-2 { font-size: 190px; }
.script-stroke {
  fill: transparent; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1680; stroke-dashoffset: 1680;
}
.script-fill { fill: var(--ink); opacity: 0; }
.script-stroke.script-line-1 { animation: ink-draw 1.25s .55s ease-in-out forwards; }
.script-fill.script-line-1 { animation: ink-fill .45s 1.52s ease-out forwards; }
.script-stroke.script-line-2 { animation: ink-draw 1.45s 1.12s ease-in-out forwards; }
.script-fill.script-line-2 { animation: ink-fill .5s 2.28s ease-out forwards; }
.script-swoop {
  fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: .92;
  animation: swoop 1s 2.25s var(--ease-out) forwards;
}
.ll-intro__sub {
  margin: -10px 0 0 12px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.35vw, 21px); letter-spacing: .03em; opacity: 0;
  animation: fade-up .8s 2.45s var(--ease-out) forwards;
}

.ll-intro__castle {
  position: absolute; z-index: 1; margin: 0;
  right: clamp(-165px, -8vw, -80px); bottom: clamp(-110px, -10vh, -58px);
  width: min(64vw, 1020px); height: min(72vh, 760px);
  opacity: 0; transform: translate3d(8%, 12%, 0) scale(1.06) rotate(.3deg);
  animation: castle-in 1.45s 1.0s var(--ease-out) forwards;
  filter: drop-shadow(0 28px 22px rgba(0,0,0,.11));
}
.ll-intro__castle-matte {
  width: 100%; height: 100%; overflow: hidden;
  clip-path: polygon(8% 13%, 78% 4%, 95% 18%, 100% 55%, 97% 89%, 76% 100%, 22% 98%, 0 76%, 1% 29%);
  -webkit-mask-image: radial-gradient(ellipse 76% 77% at 52% 54%, #000 0 66%, rgba(0,0,0,.92) 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 77% at 52% 54%, #000 0 66%, rgba(0,0,0,.92) 74%, transparent 100%);
}
.ll-intro__castle img {
  width: 100%; height: 100%; object-fit: contain; object-position: 50% 56%; display: block;
  filter: none;
  mix-blend-mode: multiply;
}
.ll-intro__castle::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(243,239,230,.10) 0%, transparent 20%, rgba(17,17,15,.04) 100%);
  mix-blend-mode: multiply;
}
.ll-intro__castle figcaption {
  position: absolute; z-index: 3; right: 16%; bottom: 17%;
  padding: 8px 12px 7px; background: rgba(243,239,230,.88); border: 1px solid rgba(17,17,15,.34);
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
}

.ll-intro__stamp {
  position: absolute; z-index: 5; right: clamp(26px, 5vw, 86px); top: 18%;
  width: clamp(82px, 8vw, 122px); aspect-ratio: 1; border: 2px solid rgba(17,17,15,.72); border-radius: 50%;
  display: grid; place-content: center; text-align: center; transform: rotate(8deg) scale(.7); opacity: 0;
  animation: stamp-in .5s 2.8s cubic-bezier(.16,1.55,.47,1) forwards;
  background: rgba(243,239,230,.38); backdrop-filter: blur(2px);
}
.ll-intro__stamp::before, .ll-intro__stamp::after { content: ""; display: block; height: 1px; background: rgba(17,17,15,.62); margin: 5px 11px; }
.ll-intro__stamp span { font-size: 8px; letter-spacing: .2em; font-weight: 800; }
.ll-intro__stamp b { font-family: Georgia, "Times New Roman", serif; font-size: 19px; letter-spacing: .08em; }

.ll-intro__enter {
  position: absolute; z-index: 6; left: clamp(24px, 5.8vw, 100px); bottom: clamp(28px, 6vh, 68px);
  min-width: 190px; display: inline-flex; justify-content: space-between; align-items: center; gap: 26px;
  border: 0; border-bottom: 2px solid var(--ink); padding: 11px 4px 10px; background: transparent; color: var(--ink);
  text-transform: uppercase; letter-spacing: .13em; font: 800 11px/1.2 inherit; cursor: pointer;
  opacity: 0; transform: translateY(10px); animation: fade-up .65s 2.85s var(--ease-out) forwards;
}
.ll-intro__enter span:last-child { font-size: 20px; transition: transform .2s ease; }
.ll-intro__enter:hover span:last-child, .ll-intro__enter:focus-visible span:last-child { transform: translateX(6px); }
.ll-intro__enter:focus-visible, .ll-intro__skip:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.ll-intro__skip {
  position: absolute; z-index: 6; right: clamp(22px, 4.8vw, 82px); bottom: clamp(24px, 4vh, 52px);
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 700 10px/1 inherit;
  text-transform: uppercase; letter-spacing: .15em; opacity: 0; animation: fade-in .5s 3s ease forwards;
}

.ll-intro.is-leaving { animation: intro-out .9s var(--ease-out) forwards; pointer-events: none; }
.ll-intro.is-hidden { display: none; }

@keyframes ink-draw { to { stroke-dashoffset: 0; } }
@keyframes ink-fill { to { opacity: 1; } }
@keyframes swoop { to { stroke-dashoffset: 0; } }
@keyframes topbar-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes castle-in { 0% { opacity: 0; transform: translate3d(8%,12%,0) scale(1.06) rotate(.3deg); } 100% { opacity: .98; transform: translate3d(0,0,0) scale(1) rotate(.3deg); } }
@keyframes stamp-in { 0% { opacity: 0; transform: rotate(8deg) scale(.7); } 100% { opacity: .68; transform: rotate(8deg) scale(1); } }
@keyframes intro-out { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.018); visibility: hidden; } }

@media (max-width: 780px) {
  .ll-intro__topbar { top: 22px; }
  .ll-intro__place { display: none; }
  .ll-intro__copy { top: 105px; width: calc(100vw - 36px); left: 18px; }
  .script-line-1 { font-size: 102px; }
  .script-line-2 { font-size: 178px; }
  .ll-intro__castle { width: 112vw; height: 54vh; right: -28vw; bottom: 5vh; }
  .ll-intro__castle img { object-position: 50% 58%; }
  .ll-intro__stamp { top: auto; right: 22px; bottom: 29%; width: 78px; }
  .ll-intro__enter { bottom: 24px; left: 20px; min-width: 166px; }
  .ll-intro__skip { bottom: 31px; right: 20px; }
  .ll-intro__castle figcaption { display: none; }
}

@media (max-width: 460px) {
  .ll-intro__eyebrow { margin-left: 4px; }
  .ll-intro__sub { margin-top: 0; margin-left: 4px; }
  .ll-intro__castle { width: 132vw; right: -42vw; bottom: 7vh; height: 49vh; }
  .ll-intro__stamp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ll-intro, .ll-intro *, .ll-intro *::before, .ll-intro *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
  .script-stroke { stroke-dashoffset: 0; }
  .script-fill, .ll-intro__castle, .ll-intro__topbar, .ll-intro__eyebrow, .ll-intro__sub, .ll-intro__enter, .ll-intro__skip { opacity: 1; transform: none; }
}

/* Production integration */
.ll-intro[hidden] { display: none !important; }
body:not(.intro-open) .ll-intro.is-hidden { display: none; }
.ll-intro__castle-matte { background: var(--paper); }
@supports not ((-webkit-mask-image: radial-gradient(#000, transparent)) or (mask-image: radial-gradient(#000, transparent))) {
  .ll-intro__castle-matte { clip-path: polygon(5% 8%, 95% 4%, 100% 92%, 7% 100%); }
}
