:root {
  --ink: #050806;
  --ink-raised: #0b100d;
  --ink-soft: #111813;
  --line: rgba(192, 216, 197, 0.17);
  --line-strong: rgba(204, 223, 208, 0.3);
  --paper: #f2f3ed;
  --muted: #a9b3ab;
  --green: #27c468;
  --green-bright: #56e38e;
  --green-dark: #0a6a38;
  --bronze: #b77835;
  --bronze-bright: #dba15d;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: "Cinzel", Georgia, serif; }
h2 { font-size: 46px; margin-bottom: 24px; }
h3 { font-size: 23px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--green-bright);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(5, 8, 6, .94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.brand-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(183, 120, 53, .75);
  border-radius: 50%;
}
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-family: "Cinzel", serif; font-size: 18px; }
.brand small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.nexus-shortcut {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 18px;
  color: rgba(242, 243, 237, .82);
  border-left: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.nexus-label {
  display: grid;
  line-height: 1.15;
}
.nexus-label strong {
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: 15px;
}
.nexus-label small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}
.nexus-shortcut img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid rgba(180, 116, 207, .5);
  border-radius: 7px;
  transition: border-color .2s ease, transform .2s ease;
}
.nexus-shortcut:hover img,
.nexus-shortcut:focus-visible img {
  border-color: rgba(218, 148, 249, .9);
  transform: translateY(-1px);
}
.nexus-shortcut::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 18px;
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  color: var(--paper);
  background: #090b0a;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.nexus-shortcut:hover::after,
.nexus-shortcut:focus-visible::after { opacity: 1; transform: translateY(0); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav > a {
  color: rgba(242, 243, 237, .76);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav > a:hover { color: var(--paper); }
.site-nav .nav-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  padding: 10px 14px;
  border: 1px solid rgba(86, 227, 142, .55);
  background: rgba(12, 39, 23, .68);
}
.site-nav svg { width: 15px; height: 15px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 6, .8);
}

.hero {
  position: relative;
  min-height: 680px;
  height: 88svh;
  max-height: 920px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media,
.final-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 6, 4, .93) 0%, rgba(3, 6, 4, .74) 35%, rgba(3, 6, 4, .2) 66%, rgba(3, 6, 4, .1) 100%),
    linear-gradient(0deg, rgba(3, 6, 4, .9) 0%, transparent 38%),
    url('/assets/brave-myrland-hero.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, .45);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 96px));
  margin-left: max(48px, calc((100% - 1320px) / 2));
  padding-top: var(--header-height);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow > span { width: 30px; height: 1px; background: currentColor; }
.hero h1 {
  margin: 0 0 4px;
  font-size: 100px;
  line-height: .95;
  text-shadow: 0 8px 36px rgba(0, 0, 0, .55);
}
.hero-line {
  margin-bottom: 22px;
  color: var(--bronze-bright);
  font-family: "Cinzel", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}
.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(242, 243, 237, .82);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button-primary { color: #021b0d; background: var(--green-bright); border-color: var(--green-bright); }
.button-primary:hover { background: #7aeda4; border-color: #7aeda4; }
.button-quiet { background: rgba(5, 8, 6, .48); border-color: var(--line-strong); }
.button-quiet:hover { background: rgba(17, 24, 19, .9); border-color: rgba(242, 243, 237, .5); }
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
  color: rgba(242, 243, 237, .64);
  font-size: 12px;
}
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes svg { width: 15px; height: 15px; color: var(--bronze-bright); }
.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  display: grid;
  justify-items: center;
  gap: 3px;
  color: rgba(242, 243, 237, .55);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero-scroll svg { width: 16px; }

.guild-pulse { border-bottom: 1px solid var(--line); background: #080d0a; }
.pulse-inner {
  width: min(1320px, calc(100% - 64px));
  min-height: 116px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pulse-inner > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 34px;
  border-left: 1px solid var(--line);
}
.pulse-inner > div:last-child { border-right: 1px solid var(--line); }
.pulse-inner strong { font-family: "Cinzel", serif; font-size: 27px; }
.pulse-inner span { color: var(--muted); font-size: 10px; text-transform: uppercase; }

.section { padding: 112px 0; }
.section-inner { width: min(1220px, calc(100% - 64px)); margin: 0 auto; }
.identity { background: var(--ink); }
.identity-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2 { max-width: 620px; }
.identity-copy { padding-top: 42px; }
.identity-copy p { color: var(--muted); }
.identity-copy .lead, .recruitment-copy .lead { color: var(--paper); font-size: 20px; }
.identity-copy .motto {
  margin: 34px 0 0;
  padding: 20px 0 20px 22px;
  color: var(--bronze-bright);
  border-left: 2px solid var(--bronze);
  font-family: "Cinzel", serif;
  font-size: 22px;
  font-weight: 700;
}

.realm-band {
  padding: 84px 0;
  background: #0b140e;
  border-block: 1px solid rgba(86, 227, 142, .22);
}
.realm-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.realm-title p:last-child { max-width: 650px; color: var(--muted); }
.realm-detail { border-left: 1px solid var(--line-strong); padding-left: 48px; }
.realm-primary, .realm-secondary { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.realm-primary svg, .realm-secondary svg { width: 30px; height: 30px; color: var(--green-bright); }
.realm-secondary svg { color: var(--bronze-bright); }
.realm-primary span, .realm-secondary span { display: grid; }
.realm-detail small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.realm-detail strong { font-family: "Cinzel", serif; font-size: 22px; }
.realm-detail > p { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.operations { background: #070a08; }
.section-heading.centered { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p:last-child { color: var(--muted); }
.operation-list { border-top: 1px solid var(--line-strong); }
.operation {
  display: grid;
  grid-template-columns: 72px 1fr 280px;
  gap: 34px;
  align-items: start;
  padding: 42px 18px;
  border-bottom: 1px solid var(--line-strong);
}
.operation-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--green-bright); border: 1px solid rgba(86, 227, 142, .35); }
.operation:nth-child(2) .operation-icon { color: var(--bronze-bright); border-color: rgba(219, 161, 93, .35); }
.operation svg { width: 25px; }
.operation-label { margin-bottom: 8px; color: var(--green-bright); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.operation h3 { margin-bottom: 12px; }
.operation p { color: var(--muted); margin-bottom: 0; }
.operation ul { list-style: none; margin: 4px 0 0; padding: 0; color: #c7cec8; font-size: 13px; }
.operation li { position: relative; padding: 7px 0 7px 18px; border-bottom: 1px solid var(--line); }
.operation li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; background: var(--bronze-bright); }

.values { background: var(--ink-soft); border-block: 1px solid var(--line); }
.values-intro { max-width: 750px; margin-bottom: 64px; }
.values-intro > p:last-child { color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.value { min-height: 270px; padding: 34px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.value svg { width: 24px; height: 24px; margin-bottom: 34px; color: var(--green-bright); }
.value:nth-child(even) svg { color: var(--bronze-bright); }
.value h3 { font-family: "Cinzel", serif; }
.value p { color: var(--muted); margin-bottom: 0; font-size: 14px; }

.nexus-perk { padding: 62px 0; background: #07150d; border-block: 1px solid rgba(86, 227, 142, .3); }
.perk-inner { display: grid; grid-template-columns: 72px 1fr auto; gap: 34px; align-items: center; }
.perk-mark { width: 64px; height: 64px; display: grid; place-items: center; color: var(--green-bright); border: 1px solid rgba(86, 227, 142, .4); }
.perk-mark svg { width: 28px; }
.perk-inner .eyebrow { margin-bottom: 10px; }
.perk-inner h2 { margin-bottom: 10px; font-size: 29px; }
.perk-inner p:last-child { margin-bottom: 0; color: var(--muted); }
.perk-inner > a { display: inline-flex; align-items: center; gap: 8px; color: var(--green-bright); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.perk-inner > a svg { width: 16px; }

.recruitment { background: #080b09; }
.recruitment-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 100px; }
.recruitment-copy > p { color: var(--muted); }
.recruitment-copy .lead { color: var(--paper); }
.recruitment-copy .button { margin-top: 22px; }
.requirements { padding: 34px 38px; background: #0e1510; border: 1px solid var(--line-strong); border-top: 2px solid var(--green); border-radius: 2px; }
.requirements h3 { font-family: "Cinzel", serif; }
.requirements ul { list-style: none; margin: 28px 0 0; padding: 0; }
.requirements li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); }
.requirements li svg { width: 18px; color: var(--green-bright); }
.requirements li span { display: grid; color: var(--muted); font-size: 13px; }
.requirements li strong { color: var(--paper); font-size: 14px; }

.final-call { position: relative; min-height: 630px; display: grid; place-items: center; overflow: hidden; border-top: 1px solid var(--line); }
.final-bg { opacity: .32; filter: saturate(.75); background-position: center 55%; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: rgba(2, 6, 3, .68); }
.final-inner { position: relative; z-index: 1; max-width: 760px; padding: 80px 0; display: grid; justify-items: center; text-align: center; }
.final-inner img { width: 180px; height: 180px; margin-bottom: 26px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .55)); }
.final-inner .eyebrow { justify-content: center; }
.final-inner h2 { margin-bottom: 16px; }
.final-inner > p:not(.eyebrow) { max-width: 620px; margin-bottom: 28px; color: var(--muted); }

.site-footer { padding: 30px 0; background: #030504; border-top: 1px solid var(--line); }
.footer-inner { width: min(1320px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; gap: 50px; align-items: center; }
.footer-inner .brand img { width: 42px; height: 42px; }
.footer-copy { display: grid; gap: 5px; }
.footer-inner p { margin: 0; color: #727d74; font-size: 11px; }
.footer-copy p:first-child { color: #b6c0b8; font-size: 12px; }
.footer-copy strong { color: var(--paper); }
.footer-copy a { color: var(--green-bright); text-underline-offset: 3px; }
.footer-discord { display: inline-flex; align-items: center; gap: 7px; color: var(--green-bright); font-size: 12px; font-weight: 700; text-decoration: none; }
.footer-discord svg { width: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  h2 { font-size: 38px; }
  .site-header { padding: 0 24px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(5, 8, 6, .98);
    border: 1px solid var(--line-strong);
  }
  .site-nav.open { display: grid; }
  .site-nav > a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .site-nav > a:last-child { margin-top: 6px; border-bottom: 0; }
  .hero-content { width: min(680px, calc(100% - 48px)); margin-left: 24px; }
  .pulse-inner { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .pulse-inner > div:nth-child(2) { border-right: 1px solid var(--line); }
  .pulse-inner > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .identity-grid, .realm-layout, .recruitment-grid { grid-template-columns: 1fr; gap: 48px; }
  .identity-copy { padding-top: 0; }
  .realm-detail { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .operation { grid-template-columns: 58px 1fr; }
  .operation ul { grid-column: 2; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-inner { grid-template-columns: 64px 1fr; }
  .perk-inner > a { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  h2 { font-size: 31px; }
  .site-header { padding: 0 16px; }
  .brand img { width: 42px; height: 42px; }
  .brand-cluster { gap: 11px; }
  .brand span { display: none; }
  .nexus-shortcut { padding-left: 11px; }
  .nexus-label { display: none; }
  .nexus-shortcut img { width: 38px; height: 38px; }
  .hero { height: 88svh; min-height: 650px; max-height: 790px; align-items: flex-end; }
  .hero-media {
    background-image:
      linear-gradient(0deg, rgba(3, 6, 4, .98) 0%, rgba(3, 6, 4, .68) 58%, rgba(3, 6, 4, .18) 100%),
      url('/assets/brave-myrland-hero.png');
    background-position: 65% center;
  }
  .hero-content { width: calc(100% - 32px); margin: 0 16px; padding: 0 0 68px; }
  .hero h1 { font-size: 64px; }
  .hero-line { font-size: 19px; }
  .hero-copy { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 9px 18px; margin-top: 22px; }
  .hero-scroll { display: none; }
  .pulse-inner { grid-template-columns: 1fr 1fr; }
  .pulse-inner > div { min-height: 96px; padding: 16px; }
  .pulse-inner strong { font-size: 20px; }
  .section { padding: 78px 0; }
  .section-inner { width: min(100% - 32px, 1220px); }
  .identity-grid, .realm-layout, .recruitment-grid { gap: 36px; }
  .identity-copy .lead, .recruitment-copy .lead { font-size: 17px; }
  .realm-band { padding: 66px 0; }
  .operation { grid-template-columns: 46px 1fr; gap: 16px; padding: 30px 0; }
  .operation-icon { width: 42px; height: 42px; }
  .operation-icon svg { width: 20px; }
  .operation ul { grid-column: 1 / -1; margin-left: 62px; }
  .values-intro { margin-bottom: 42px; }
  .values-grid { grid-template-columns: 1fr; }
  .value { min-height: auto; padding: 28px; }
  .value svg { margin-bottom: 22px; }
  .nexus-perk { padding: 54px 0; }
  .perk-inner { grid-template-columns: 1fr; gap: 20px; }
  .perk-inner > a { grid-column: 1; }
  .perk-inner h2 { font-size: 25px; }
  .requirements { padding: 28px 22px; }
  .final-call { min-height: 590px; }
  .final-inner { padding: 68px 0; }
  .final-inner img { width: 150px; height: 150px; }
  .footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 22px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
