:root {
  color-scheme: dark;
  --home-ink: #f4f1ea;
  --home-muted: rgba(244, 241, 234, 0.66);
  --home-line: rgba(244, 241, 234, 0.18);
  --home-dark: #0d100e;
  --home-green: #14251e;
  --home-gold: #c6a66c;
  --home-display: "Cormorant Garamond", Georgia, serif;
  --home-chapter: "IM Fell English", Georgia, serif;
  --home-body: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--home-dark); color: var(--home-ink); font-family: var(--home-body); }
img { display: block; width: 100%; }
a { color: inherit; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--home-gold); outline-offset: 4px; }

.home-skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: 0.75rem 1rem; background: #fff; color: #111; }
.home-skip-link:focus { top: 1rem; }

.home-header {
  position: absolute; z-index: 20; top: 0; left: 50%; width: min(1500px, calc(100% - 5rem)); height: 96px;
  display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); border-bottom: 1px solid var(--home-line);
}
.home-brand { display: inline-flex; align-items: center; gap: 0.8rem; color: #fff; font: 600 1.35rem/1 var(--home-display); letter-spacing: .015em; text-decoration: none; }
.home-brand__mark {
  width: 43px; height: 43px; flex: 0 0 auto; color: var(--home-gold); background: currentColor;
  -webkit-mask: url("/assets/images/logo-lb-rune-master-v2.svg") center / contain no-repeat;
  mask: url("/assets/images/logo-lb-rune-master-v2.svg") center / contain no-repeat;
}
.home-nav { display: flex; gap: 2rem; align-items: center; }
.home-nav a { color: rgba(255,255,255,.78); font-family: var(--home-body); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.home-nav a:hover { color: #fff; }

.home-hero { position: relative; min-height: min(940px, 100svh); overflow: hidden; display: flex; align-items: flex-start; isolation: isolate; }
.home-hero__slides, .home-hero__shade { position: absolute; inset: 0; height: 100%; }
.home-hero__slides { z-index: -2; overflow: hidden; background: #101713; }
.home-hero__image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 53% 50%; opacity: 0; transform: scale(1.025); transition: opacity 1.1s ease, transform 8s ease; }
.home-hero__image.is-active { opacity: 1; transform: scale(1); }
.home-hero__image--atmoran { object-position: 50% 48%; }
.home-hero__image--seeker { object-position: 44% 50%; transform: scaleX(-1) scale(1.025); filter: brightness(1.08) saturate(.94); }
.home-hero__image--seeker.is-active { transform: scaleX(-1) scale(1); }
.home-hero__shade { z-index: -1; background: linear-gradient(90deg, rgba(5,9,7,.9) 0%, rgba(5,9,7,.56) 38%, rgba(5,9,7,.04) 73%), linear-gradient(0deg, rgba(5,8,7,.72), transparent 42%), linear-gradient(180deg, rgba(4,7,5,.42), transparent 28%); }
.home-hero__content { width: min(1500px, calc(100% - 5rem)); margin: 0 auto; padding: clamp(5rem, 10vh, 7rem) 0 8rem; }
.home-section-label { margin: 0; color: var(--home-gold); font-family: var(--home-chapter); font-size: .7rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.home-hero h1 { max-width: 960px; margin: 0 0 1.35rem; font: 600 clamp(4rem, 7.2vw, 7.6rem)/.86 var(--home-display); letter-spacing: -.045em; }
.home-hero h1 em, .home-manifesto h2 em { color: var(--home-gold); font-style: normal; }
.home-hero__lede { max-width: min(415px, 82vw); margin: 0 0 2rem; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.65; }
.home-entry-link { position: relative; width: fit-content; display: inline-flex; align-items: center; padding: .15rem 0 .7rem; color: #fff; text-decoration: none; }
.home-entry-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--home-gold), rgba(198,166,108,.18)); transform-origin: left; transition: transform .25s ease; }
.home-entry-link__copy { display: grid; gap: .12rem; text-align: left; }
.home-entry-link__copy strong { font: 600 1.55rem/1 var(--home-display); letter-spacing: .01em; }
.home-entry-link__copy small { color: rgba(255,255,255,.5); font-family: var(--home-chapter); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }
.home-entry-link:hover::after { transform: scaleX(.62); }
.home-hero__meta { position: absolute; left: max(2.5rem, calc((100vw - 1500px)/2)); bottom: 1.5rem; display: grid; justify-items: start; gap: .3rem; }
.home-hero__caption { margin: 0; color: rgba(255,255,255,.52); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.home-hero__caption [data-hero-title] { color: rgba(255,255,255,.76); }
.home-hero__caption i { padding: 0 .4rem; color: var(--home-gold); font-style: normal; }
.home-hero__controls { display: flex; gap: 1.15rem; }
.home-hero__controls button { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: .42rem; min-width: 0; padding: .2rem 0; border: 0; background: transparent; color: rgba(255,255,255,.42); font-family: var(--home-body); cursor: pointer; }
.home-hero__control-number { font-size: .58rem; letter-spacing: .08em; }
.home-hero__control-line { width: 18px; height: 1px; background: currentColor; transition: width .2s ease, background .2s ease; }
.home-hero__control-name { font-family: var(--home-chapter); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.home-hero__controls button:hover { color: rgba(255,255,255,.8); }
.home-hero__controls button.is-active { color: var(--home-gold); }
.home-hero__controls button.is-active .home-hero__control-line { width: 32px; }

.home-world, .home-tools, .home-principles, .home-footer { width: min(1400px, calc(100% - 5rem)); margin-inline: auto; }
.home-world h2, .home-principles h2, .home-closing h2 { margin: 0; font: 600 clamp(3rem, 5.3vw, 6rem)/.9 var(--home-display); letter-spacing: -.04em; }

.home-world { padding: 8rem 0 2.5rem; }
.home-world__heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.home-world__heading h2 { margin-top: .5rem; }
.home-world__heading > p { max-width: 400px; margin: 0 0 .7rem; color: var(--home-muted); line-height: 1.7; }
.world-gateway { min-height: 720px; display: grid; grid-template-columns: 1.45fr .85fr; grid-template-rows: 1fr 1fr auto; gap: 1rem; color: #fff; text-decoration: none; }
.world-gateway__panel { position: relative; min-height: 0; margin: 0; overflow: hidden; background: #1b211e; }
.world-gateway__panel--hero { grid-row: 1 / 4; }
.world-gateway__panel img { height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.3,1), filter .4s ease; }
.world-gateway__panel--hero img { object-position: 61% center; }
.world-gateway__panel--top img { object-position: 36% center; }
.world-gateway__panel figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 4.5rem 1.4rem 1.25rem; background: linear-gradient(transparent, rgba(5,7,6,.8)); }
.world-gateway__panel figcaption span { font: 600 1.35rem/1.1 var(--home-display); letter-spacing: -.01em; }
.world-gateway__panel figcaption small { color: rgba(255,255,255,.65); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.world-gateway:hover img { transform: scale(1.025); filter: saturate(1.08); }
.world-gateway__action { min-height: 108px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 1.25rem 1.5rem; background: #d5bf91; color: #141713; }
.world-gateway__action span { grid-column: 1; font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
.world-gateway__action strong { grid-column: 1; font: 600 1.45rem/1.2 var(--home-display); }
.world-gateway__action i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 1.5rem; transition: transform .2s ease; }
.world-gateway:hover .world-gateway__action i { transform: translateX(.35rem); }

.home-tools { display: grid; grid-template-columns: .7fr 1.3fr; align-items: end; gap: 4rem; padding: 1.5rem 0 7rem; }
.home-tools__intro h2 { margin: .65rem 0 .8rem; font: 600 clamp(2.2rem, 3.5vw, 3.5rem)/.95 var(--home-display); letter-spacing: -.035em; }
.home-tools__intro > p:last-child { max-width: 360px; margin: 0; color: var(--home-muted); font-size: .9rem; line-height: 1.6; }
.home-tools__links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.home-tool-link { min-height: 128px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 1.5rem; border: 1px solid var(--home-line); background: rgba(255,255,255,.018); color: #fff; text-decoration: none; transition: border-color .25s ease, background .25s ease; }
.home-tool-link span { display: grid; gap: .45rem; }
.home-tool-link small { color: var(--home-gold); font-family: var(--home-chapter); font-size: .58rem; letter-spacing: .13em; text-transform: uppercase; }
.home-tool-link strong { font: 600 clamp(1.3rem, 2vw, 1.75rem)/1.05 var(--home-display); }
.home-tool-link i { flex: 0 0 auto; color: var(--home-gold); font-style: normal; font-size: 1.25rem; transition: transform .25s ease; }
.home-tool-link:hover { border-color: rgba(198,166,108,.55); background: rgba(198,166,108,.055); }
.home-tool-link:hover i { transform: translateX(.35rem); }

.home-principles { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; padding: 3rem 0; }
.home-principles h2 { margin-top: 1rem; font-size: clamp(2.9rem,4.5vw,5rem); }
.home-principles__image { position: relative; height: 250px; margin: 3rem 0 0; overflow: hidden; }
.home-principles__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,8,7,.8)); }
.home-principles__image img { height: 100%; object-fit: cover; object-position: center 52%; filter: saturate(.9) contrast(1.03); }
.home-principles__image figcaption { position: absolute; z-index: 1; left: 1rem; bottom: .85rem; color: rgba(255,255,255,.7); font-family: var(--home-chapter); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.home-principles ol { margin: 0; padding: 0; list-style: none; }
.home-principles li { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--home-line); }
.home-principles li > span { color: var(--home-gold); font-size: .64rem; letter-spacing: .12em; }
.home-principles h3 { margin: 0 0 .35rem; font: 600 1.7rem/1.2 var(--home-display); letter-spacing: -.02em; }
.home-principles li p { margin: 0; color: var(--home-muted); font-size: .9rem; }

.home-closing { position: relative; min-height: 660px; display: grid; place-items: center; overflow: hidden; text-align: center; isolation: isolate; }
.home-closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4,6,5,.5); }
.home-closing img { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; object-position: center 48%; }
.home-closing > div { display: grid; justify-items: center; gap: 1.5rem; padding: 3rem 1.5rem; }
.home-closing h2 { font-size: clamp(3.2rem,7vw,7.2rem); }
.home-entry-link--closing { padding-top: .4rem; text-shadow: 0 2px 18px rgba(0,0,0,.7); }

.home-footer { min-height: 170px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.home-footer p { color: var(--home-muted); font-size: .72rem; }
.home-footer > a:last-child { justify-self: end; color: var(--home-muted); font-size: .67rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .home-hero__image, .world-gateway__panel img { transition: none; } }

@media (max-width: 900px) {
  .home-header, .home-hero__content, .home-world, .home-tools, .home-principles, .home-footer { width: calc(100% - 2.5rem); }
  .home-header { height: 78px; }
  .home-nav { gap: 1.1rem; }
  .home-nav a:last-child { display: none; }
  .home-hero { min-height: 780px; }
  .home-hero__image { object-position: 59% center; }
  .home-hero__image--atmoran { object-position: 57% center; }
  .home-hero__image--seeker { object-position: 46% center; }
  .home-hero__shade { background: linear-gradient(0deg, rgba(5,9,7,.9) 0%, rgba(5,9,7,.42) 63%, rgba(5,9,7,.32)); }
  .home-hero__content { padding-bottom: 6.5rem; }
  .home-hero__caption { display: none; }
  .home-hero__meta { left: 1.25rem; bottom: 1.1rem; }
  .home-world { padding: 6rem 0 2rem; }
  .home-world__heading { display: grid; }
  .world-gateway { min-height: 780px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .8fr auto; }
  .world-gateway__panel--hero { grid-column: 1 / 3; grid-row: 1; }
  .world-gateway__panel--top, .world-gateway__panel--bottom { grid-row: 2; }
  .world-gateway__action { grid-column: 1 / 3; }
  .home-principles { grid-template-columns: 1fr; gap: 3rem; }
  .home-tools { grid-template-columns: 1fr; gap: 2rem; }
  .home-footer { grid-template-columns: 1fr auto; }
  .home-footer p { display: none; }
}

@media (max-width: 560px) {
  .home-header, .home-hero__content, .home-world, .home-tools, .home-principles, .home-footer { width: calc(100% - 2rem); }
  .home-brand__mark { width: 37px; height: 37px; }
  .home-nav a { font-size: .61rem; }
  .home-hero { min-height: 720px; }
  .home-hero__image { object-position: 65% center; }
  .home-hero__image--atmoran { object-position: 60% center; }
  .home-hero__image--seeker { object-position: 48% center; }
  .home-hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .home-hero__lede { font-size: .9rem; }
  .home-world h2, .home-principles h2 { font-size: 3.2rem; }
  .home-world__heading > p { font-size: .9rem; }
  .world-gateway { display: grid; min-height: auto; grid-template-columns: 1fr; grid-template-rows: 440px 230px auto; gap: .65rem; }
  .world-gateway__panel--hero { grid-column: 1; grid-row: 1; }
  .world-gateway__panel--top { grid-row: 2; }
  .world-gateway__panel--bottom { display: none; }
  .world-gateway__action { grid-column: 1; grid-row: 3; }
  .world-gateway__panel figcaption { display: grid; }
  .home-principles { padding: 3rem 0 2.5rem; }
  .home-tools { padding: 1.5rem 0 5.5rem; }
  .home-tools__links { grid-template-columns: 1fr; }
  .home-tool-link { min-height: 108px; }
  .home-principles__image { height: 210px; margin-top: 2rem; }
  .home-principles li { grid-template-columns: 42px 1fr; gap: .8rem; }
  .home-closing { min-height: 560px; }
  .home-footer { min-height: 140px; }
  .home-footer > a:last-child { font-size: .58rem; }
  .home-hero__control-name { display: none; }
  .home-hero__controls { gap: .8rem; }
  .home-hero__meta { left: 1rem; }
}
