:root {
  color-scheme: dark;
  --bg: #101514;
  --surface: #161d1b;
  --text: #f2ebdc;
  --muted: #b5bab0;
  --gold: #debc82;
  --line: #b89b6852;
  --width: 1240px;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid #efcc8a; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .wordmark { font-family: Georgia, serif; font-weight: 500; }
.wrap { width: min(var(--width), calc(100% - 100px)); margin-inline: auto; }
.site-header { position: relative; z-index: 2; min-height: 80px; padding: 12px max(28px, calc((100vw - var(--width)) / 2)); display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); background: #121715; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; line-height: 1.12; letter-spacing: .09em; flex: none; color: #f1d7a5; }
.wordmark strong { font-size: 17px; font-weight: 500; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.3vw, 34px); margin-inline: auto; }
.site-nav a, .site-footer nav a, .site-footer > a:last-child { color: var(--muted); font-size: .87rem; }
.site-nav a:hover, .site-footer a:hover { color: var(--gold); }
.site-header > .nerox-language-select { height: 36px; min-width: 94px; font-size: .8rem !important; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 47px; padding: 9px 20px; border: 1px solid #c0a16b; border-radius: 3px; font-weight: 650; font-size: .88rem; white-space: nowrap; transition: background .18s, filter .18s; }
.button-outlined { color: #ecd4a6; background: #131b19b8; }
.button-outlined:hover { background: #26302a; }
.button-gold { background: linear-gradient(145deg, #f2d39b, #c49c5c); color: #201910; }
.button-gold:hover { filter: brightness(1.12); }

.hero { position: relative; isolation: isolate; min-height: clamp(545px, 46vw, 730px); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-landscape { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 46%; z-index: -3; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before { background: linear-gradient(90deg,#101715 0%,#101715ed 19%,#131b1bad 42%,#0b161b10 77%), linear-gradient(0deg,#101514 0%,transparent 35%); z-index: -2; }
.hero::after { background: linear-gradient(0deg,#101514 0%,#1015149c 9%,transparent 29%); z-index: -1; }
.hero-knight { position: absolute; height: 92%; width: auto; max-width: none; bottom: -8%; right: max(-6%, calc((100vw - 1380px) / 2)); z-index: -2; filter: drop-shadow(0 0 16px #86aecc59) drop-shadow(0 18px 16px #000b); object-fit: contain; }
.hero-content { padding-block: 63px 97px; }
.eyebrow { color: var(--gold); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; margin-bottom: 18px; }
.hero h1 { font-size: clamp(3.2rem, 6.2vw, 6.25rem); line-height: .98; letter-spacing: -.053em; text-shadow: 0 3px 24px #061010a0; }
.hero h1 em { color: #eed09a; font-weight: inherit; }
.hero-description { max-width: 440px; color: #d4d7cd; margin-top: 23px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-scroll { position: absolute; bottom: 20px; left: max(50px, calc((100vw - var(--width)) / 2)); color: #dcc9a3; font-size: .82rem; }
.hero-scroll span { margin-left: .6em; }

.section { padding-block: 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.03em; line-height: 1; }
.text-link { color: var(--gold); font-size: .88rem; border-bottom: 1px solid #d9b67b70; padding-bottom: 3px; width: fit-content; }
.text-link:hover { color: #ffe9be; }
.classes, .gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.class-card { position: relative; min-height: 312px; isolation: isolate; overflow: hidden; display: grid; align-items: end; border: 1px solid var(--line); border-radius: 4px; background: radial-gradient(ellipse at 51% 40%, color-mix(in srgb,var(--tint) 66%,#161b1a), #161b1a 79%); }
.class-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center 0; z-index: -2; }
.class-card::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(0deg,#0f1413 7%,#101615e2 35%,transparent 79%); z-index: -1; pointer-events: none; }
.class-card > div { min-height: 111px; display: grid; align-content: end; gap: 4px; padding: 13px 15px 16px; }
.class-card h3 { font-size: 1.43rem; color: #f4dba9; line-height: 1.08; }
.class-card p { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.world-section { border-block: 1px solid var(--line); background: #141a18; }
.gallery-card { min-width: 0; aspect-ratio: 1.36; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; text-align: left; padding: 0; cursor: zoom-in; background: var(--surface); color: var(--text); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card span { position: absolute; inset: auto 0 0; padding: 31px 12px 11px; background: linear-gradient(0deg,#0c1212f5,transparent); font-family: Georgia,serif; font-size: 1.07rem; }
.skills { display: grid; grid-template-columns: 1fr 1.05fr; gap: 35px; align-items: start; }
.skills-copy { display: grid; gap: 16px; }
.skills-copy p { max-width: 440px; color: var(--muted); }
.skill-preview { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.skill-preview details { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.skill-preview summary { cursor: pointer; padding: 13px 7px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .80rem; color: #edd5aa; list-style: none; }
.skill-preview summary::-webkit-details-marker { display: none; }
.skill-preview img { width: 42px; height: 42px; border: 1px solid #c9ac7280; border-radius: 50%; object-fit: cover; }
.skill-preview details[open] { background: #1e2824; }
.skill-preview p { padding: 0 9px 11px; font-size: .76rem; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding-block: 21px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 15px; }
.art-dialog { width: min(940px, calc(100% - 24px)); max-height: 91vh; padding: 10px; background: #161c1b; border: 1px solid var(--line); color: var(--text); }
.art-dialog::backdrop { background: #080c0de0; }
.art-dialog button { float: right; min-height: 35px; padding: 3px 12px; cursor: pointer; margin-bottom: 8px; }
.art-dialog figure { clear: both; }
.art-dialog img { margin-inline: auto; width: 100%; max-height: 72vh; object-fit: contain; }
.art-dialog figcaption { text-align: center; padding-top: 10px; color: var(--gold); }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 46px); }
  .site-header { padding-inline: 23px; gap: 14px; }
  .hero-knight { right: -22%; }
  .hero-scroll { left: 23px; }
  .class-card { min-height: 260px; }
}
@media (max-width: 690px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; }
  .site-nav { order: 3; width: 100%; justify-content: center; padding-bottom: 4px; }
  .site-header .nerox-language-select { max-width: 90px !important; font-size: .8rem !important; }
  .site-header > .button { min-height: 40px; padding-inline: 10px; gap: 7px; }
  .hero { min-height: 565px; align-items: end; }
  .hero-content { padding-block: 70px 73px; }
  .hero h1 { font-size: clamp(2.7rem,10.4vw,4.7rem); }
  .hero-knight { height: 76%; opacity: .66; right: -33%; }
  .hero::before { background: linear-gradient(90deg,#101715b0,transparent 85%),linear-gradient(0deg,#101514 0%,#101514ad 43%,transparent 80%); }
  .hero-description { max-width: 34ch; font-size: .91rem; }
  .section { padding-block: 42px; }
  .classes, .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .skills { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 399px) {
  .wrap { width: calc(100% - 28px); }
  .site-header { padding-inline: 14px; }
  .wordmark img { width: 36px; height: 36px; }
  .wordmark strong { font-size: 13px; }
  .hero-actions .button { padding-inline: 11px; gap: 6px; font-size: .77rem; }
  .class-card { min-height: 228px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* The first ledge and the opening of the second scene overlap during the reveal. */
.parallax-realm {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(460px, 46vw, 700px);
  overflow: hidden;
  background: radial-gradient(ellipse at 57% 36%, #3c5659 0%, #172a2d 44%, #111919 76%);
}
.realm-layer {
  position: absolute;
  inset: -8%;
  pointer-events: none;
  z-index: -2;
}
.realm-layer img { width: 100%; height: 100%; object-fit: cover; }
.realm-panorama {
  inset: auto 0 -1px;
  /* Fill the full width while leaving headroom for the tallest tower. */
  height: min(calc(100% - clamp(18px, 4svh, 44px)), 56.28vw);
}
.realm-panorama img { object-fit: fill; }
.realm-ledge { z-index: -1; inset: auto -6% -14%; }
.realm-ledge img { height: auto; }
.hero-aura {
  position: absolute;
  width: min(58vw,780px);
  height: 76%;
  right: 1%;
  bottom: 3%;
  z-index: -2;
  background:
    radial-gradient(ellipse at 57% 41%, #d3e7fa49 0%, #6ca5cf3f 20%, transparent 62%),
    radial-gradient(ellipse at 57% 75%,#f09e4d39 0%,transparent 47%);
  filter: blur(20px);
  pointer-events: none;
}
.parallax-realm::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,#101717f5 0%,#0d1819a3 40%,transparent 73%),
    linear-gradient(0deg,#101514,transparent 26%);
  pointer-events: none;
}
.realm-copy { display: grid; justify-items: start; gap: 24px; padding-block: 100px; }
.realm-copy h2 { max-width: 12ch; color: #f2e7ce; font-size: clamp(3.25rem,7vw,7rem); line-height: .95; text-shadow: 0 4px 26px #0a1011; }
.hero-ridge { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .parallax-story[data-scroll-motion] { height: 252svh; }
  .parallax-story[data-scroll-motion] .parallax-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 580px;
    isolation: isolate;
    overflow: clip;
    background: linear-gradient(0deg, #101514 0%, #101514 16%, transparent 53%),
      radial-gradient(ellipse at 69% 32%, #324f59 0%, #1c3036 46%, #101818 79%);
  }
  .parallax-story[data-scroll-motion] :is(.hero, .parallax-realm) {
    position: absolute;
    inset: 0;
    min-height: 0;
  }
  .parallax-story[data-scroll-motion] .hero {
    border-bottom: 0;
    --hero-lift: calc(var(--exit, 0) * -1.18 * max(100svh, 580px));
  }
  .parallax-story[data-scroll-motion] .hero::before,
  .parallax-story[data-scroll-motion] .hero::after {
    opacity: calc(1 - var(--exit, 0));
  }
  .parallax-story[data-scroll-motion] .hero-landscape {
    inset: -11% 0 auto;
    height: 123%;
    opacity: calc(1 - var(--exit, 0));
    filter: blur(calc(var(--backdrop-depth, 0) * clamp(14px, 2.04vmax, 41px)));
    transform: translate3d(0, calc(var(--approach, 0) * 12%), 0)
      scale(calc(1 + var(--approach, 0) * .08));
  }
  .parallax-story[data-scroll-motion] .hero-knight {
    transform: translate3d(0, calc(var(--hero-lift) + 12% - var(--approach, 0) * 34%), 0) scale(calc(1 + var(--approach, 0) * .16));
    transform-origin: center bottom;
  }
  .parallax-story[data-scroll-motion] .hero-ridge {
    display: block;
    position: absolute;
    width: 112%;
    height: auto;
    inset: auto -6% -10%;
    max-width: none;
    z-index: -2;
    transform: translate3d(0, calc(var(--hero-lift) + 8% - var(--approach, 0) * 18%), 0);
  }
  .parallax-story[data-scroll-motion] .hero-content {
    transform: translate3d(0, calc(var(--hero-lift) - var(--approach, 0) * 21%), 0);
  }
  .parallax-story[data-scroll-motion] .hero-scroll {
    bottom: 88px;
    transform: translate3d(0, var(--hero-lift), 0);
  }
  .parallax-story[data-scroll-motion] .parallax-realm {
    background: transparent;
    transform: translate3d(0, calc((1 - var(--reveal, 0)) * 103%), 0);
  }
  .parallax-story[data-scroll-motion] .parallax-realm::before { display: none; }
  .parallax-story[data-scroll-motion] .hero-aura {
    transform: translate3d(0, calc(var(--hero-lift) - var(--approach, 0) * 15%), 0);
  }
  .parallax-story[data-scroll-motion] .realm-ledge { transform: translate3d(0, calc((1 - var(--settle, 0)) * 19%), 0); }
  .parallax-story[data-scroll-motion] .realm-copy { transform: translate3d(0, calc((1 - var(--settle, 0)) * 17%), 0); }
}
@media (max-width: 690px) {
  .realm-panorama {
    left: auto;
    width: max(100%, 730px);
    height: min(calc(100% - 24px), 411px);
  }
  .hero-aura { width: 90vw; right: -25%; }
  .realm-copy h2 { font-size: clamp(2.9rem,13vw,5.2rem); }
  .parallax-story[data-scroll-motion] .hero-scroll { bottom: 38px; }
  .parallax-story[data-scroll-motion] .hero-content { padding-bottom: 105px; }
}
