@charset "UTF-8";

:root {
  --fjord-deep: #0B1F2A;
  --fjord-mid: #12303F;
  --stone-frost: #E8EDF2;
  --stone-mid: #C5D0D9;
  --storm-grey: #5A6B78;
  --pine-green: #2E5E4E;
  --bronze-burnished: #B07D3A;
  --amber-lightning: #F2A93B;
  --ice-white: #FFFFFF;
  --ink-dark: #0B1F2A;

  --font-heading: "Cinzel", serif;
  --font-body: "Inter", sans-serif;

  --text-display: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);
  --text-h1: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem);
  --text-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  --text-h3: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  --text-h4: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  --text-body-large: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.75rem;

  --leading-display: 1.1;
  --leading-h1: 1.15;
  --leading-h2: 1.2;
  --leading-h3: 1.3;
  --leading-h4: 1.4;
  --leading-body-large: 1.7;
  --leading-body: 1.7;
  --leading-small: 1.6;
  --leading-eyebrow: 1.4;

  --tracking-display: 0.02em;
  --tracking-h1: 0.01em;
  --tracking-eyebrow: 0.12em;
  --tracking-nav: 0.08em;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --container-editorial: 1200px;
  --container-cinematic: 1440px;
  --gutter-mobile: 1.5rem;
  --gutter-tablet: 2rem;
  --gutter-desktop: 3rem;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  --border-dark: 1px solid rgba(90, 107, 120, 0.4);
  --border-light: 1px solid #C5D0D9;
  --border-bronze: 1px solid rgba(176, 125, 58, 0.3);

  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-modal: 0 4px 16px rgba(0, 0, 0, 0.35);

  --focus-ring: 0 0 0 2px var(--fjord-deep), 0 0 0 4px var(--amber-lightning);
  --focus-ring-offset: 2px;

  --transition-fast: 150ms ease-out;
  --transition-medium: 250ms ease-out;

  --gradient-hero: linear-gradient(180deg, var(--fjord-deep) 0%, var(--fjord-mid) 100%);
  --gradient-image-overlay: linear-gradient(180deg, transparent 0%, rgba(11, 31, 42, 0.6) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  color: var(--stone-frost);
  background-color: var(--fjord-deep);
  min-height: 100vh;
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--stone-frost);
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--bronze-burnished);
  text-decoration: underline;
  text-decoration-color: var(--bronze-burnished);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--amber-lightning);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--ice-white);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  letter-spacing: var(--tracking-h1);
  margin-block-end: var(--space-lg);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  font-weight: 600;
  margin-block-end: var(--space-md);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: 600;
  margin-block-end: var(--space-sm);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: 600;
  margin-block-end: var(--space-sm);
}

h5,
h6 {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 600;
  margin-block-end: var(--space-xs);
}

p {
  margin-block-end: var(--space-md);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

ul,
ol {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--stone-frost);
  border-inline-start: 3px solid var(--bronze-burnished);
  padding-inline-start: var(--space-lg);
  margin-block-end: var(--space-lg);
}

blockquote p {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-lg);
}

figcaption {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--stone-mid);
  margin-block-start: var(--space-xs);
}

hr {
  border: none;
  border-block-start: var(--border-bronze);
  margin-block: var(--space-2xl);
}

address {
  font-style: normal;
}

small {
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

mark {
  background-color: var(--amber-lightning);
  color: var(--ink-dark);
  padding: 0 var(--space-2xs);
  border-radius: var(--radius-sm);
}

code,
kbd,
samp,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

pre {
  background-color: var(--fjord-mid);
  color: var(--stone-frost);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  overflow-x: auto;
  margin-block-end: var(--space-lg);
  white-space: pre-wrap;
  word-wrap: break-word;
}

code {
  background-color: rgba(90, 107, 120, 0.2);
  padding: 0.1em 0.3em;
  border-radius: var(--radius-sm);
}

pre code {
  background: none;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-lg);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

caption {
  font-size: var(--text-small);
  color: var(--stone-mid);
  text-align: start;
  margin-block-end: var(--space-xs);
}

th,
td {
  padding: var(--space-sm) var(--space-md);
  text-align: start;
  border-block-end: var(--border-dark);
}

th {
  font-weight: 600;
  color: var(--ice-white);
  background-color: rgba(18, 48, 63, 0.6);
}

td {
  color: var(--stone-frost);
}

form {
  margin-block-end: var(--space-lg);
}

fieldset {
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-block-end: var(--space-lg);
}

legend {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--ice-white);
  padding-inline: var(--space-xs);
}

label {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--stone-frost);
  margin-block-end: var(--space-xs);
  cursor: pointer;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  background-color: var(--fjord-mid);
  color: var(--stone-frost);
  border: var(--border-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

input::placeholder,
textarea::placeholder {
  color: var(--stone-mid);
  opacity: 1;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--stone-mid);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--amber-lightning);
  box-shadow: 0 0 0 2px rgba(242, 169, 59, 0.3);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C5D0D9' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-inline-end: var(--space-2xl);
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  width: auto;
  min-height: auto;
  margin-inline-end: var(--space-xs);
  vertical-align: middle;
  cursor: pointer;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  display: inline;
  margin-block-end: 0;
  vertical-align: middle;
}

input[type="file"] {
  padding: var(--space-xs);
  background: none;
  border: none;
  min-height: auto;
}

input[type="range"] {
  padding: 0;
  min-height: auto;
  background: none;
  border: none;
}

input[type="color"] {
  padding: var(--space-2xs);
  min-height: 44px;
  cursor: pointer;
}

input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.container {
  width: 100%;
  max-width: var(--container-editorial);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

.container--wide {
  max-width: var(--container-cinematic);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  background-color: var(--amber-lightning);
  color: var(--ink-dark);
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  transition: top var(--transition-medium);
}

.skip-link:focus {
  top: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-lg);
  min-height: 44px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid var(--amber-lightning);
  outline-offset: var(--focus-ring-offset);
}

.btn--primary {
  background-color: var(--amber-lightning);
  color: var(--ink-dark);
  border: 1px solid var(--bronze-burnished);
  border-radius: var(--radius-full);
  padding: var(--space-md) var(--space-xl);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: var(--text-small);
  min-height: 48px;
}

.btn--primary:hover {
  background-color: #d99a35;
  color: var(--ink-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--secondary {
  background-color: transparent;
  color: var(--stone-frost);
  border: 1px solid var(--storm-grey);
}

.btn--secondary:hover {
  background-color: rgba(90, 107, 120, 0.15);
  color: var(--ice-white);
  border-color: var(--stone-mid);
  transform: translateY(-1px);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--ghost {
  background-color: transparent;
  color: var(--stone-frost);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  background-color: rgba(90, 107, 120, 0.1);
  color: var(--ice-white);
}

.btn--small {
  font-size: var(--text-small);
  padding: var(--space-xs) var(--space-md);
  min-height: 36px;
}

.btn--large {
  font-size: var(--text-body-large);
  padding: var(--space-md) var(--space-2xl);
  min-height: 56px;
}

.btn--full {
  width: 100%;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.btn--icon.btn--small {
  width: 36px;
  height: 36px;
}

.btn--icon.btn--large {
  width: 56px;
  height: 56px;
}

.card {
  background-color: var(--stone-frost);
  color: var(--ink-dark);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.card > :last-child {
  margin-block-end: 0;
}

.card--dark {
  background-color: var(--fjord-mid);
  color: var(--stone-frost);
  border: var(--border-dark);
}

.card--dark h1,
.card--dark h2,
.card--dark h3,
.card--dark h4,
.card--dark h5,
.card--dark h6 {
  color: var(--ice-white);
}

.card--dark p,
.card--dark li,
.card--dark td,
.card--dark label {
  color: var(--stone-frost);
}

.card--dark a {
  color: var(--stone-frost);
}

.card--dark a:hover {
  color: var(--bronze-burnished);
}

.panel {
  background-color: var(--fjord-mid);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.panel > :last-child {
  margin-block-end: 0;
}

.panel--frost {
  background-color: var(--stone-frost);
  color: var(--ink-dark);
  border: var(--border-light);
}

.panel--frost h1,
.panel--frost h2,
.panel--frost h3,
.panel--frost h4,
.panel--frost h5,
.panel--frost h6 {
  color: var(--ink-dark);
}

.panel--frost p,
.panel--frost li,
.panel--frost td,
.panel--frost label {
  color: var(--ink-dark);
}

.panel--frost a {
  color: var(--ink-dark);
}

.panel--frost a:hover {
  color: var(--bronze-burnished);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  line-height: var(--leading-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--amber-lightning);
  margin-block-end: var(--space-sm);
}

.eyebrow--bronze {
  color: var(--bronze-burnished);
}

.eyebrow--stone {
  color: var(--stone-mid);
}

.eyebrow--ice {
  color: var(--ice-white);
}

.disclaimer {
  font-size: var(--text-eyebrow);
  line-height: var(--leading-eyebrow);
  font-weight: 400;
  color: var(--stone-mid);
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}

.rune-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-block: var(--space-2xl);
  color: var(--bronze-burnished);
  opacity: 0.4;
}

.rune-divider::before,
.rune-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--bronze-burnished);
}

.rune-divider__symbol {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.surface-gradient {
  background: var(--gradient-hero);
}

.image-overlay {
  position: relative;
}

.image-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-image-overlay);
  pointer-events: none;
  border-radius: inherit;
}

.image-overlay img {
  filter: saturate(0.85) contrast(1.05);
}

.content-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-md);
}

.content-list > li {
  padding-block-end: var(--space-sm);
  margin-block-end: var(--space-sm);
  border-block-end: var(--border-dark);
}

.content-list > li:last-child {
  padding-block-end: 0;
  margin-block-end: 0;
  border-block-end: none;
}

.content-list--frost {
  border-color: var(--border-light);
}

.content-list--frost > li {
  border-block-end: var(--border-light);
}

.content-list--frost > li:last-child {
  border-block-end: none;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  min-width: 0;
}

.flex > * {
  min-width: 0;
  flex-shrink: 0;
}

.flex--nowrap {
  flex-wrap: nowrap;
}

.flex--column {
  flex-direction: column;
}

.flex--align-start {
  align-items: flex-start;
}

.flex--align-center {
  align-items: center;
}

.flex--align-end {
  align-items: flex-end;
}

.flex--align-stretch {
  align-items: stretch;
}

.flex--justify-start {
  justify-content: flex-start;
}

.flex--justify-center {
  justify-content: center;
}

.flex--justify-end {
  justify-content: flex-end;
}

.flex--justify-between {
  justify-content: space-between;
}

.flex--justify-around {
  justify-content: space-around;
}

.flex--justify-evenly {
  justify-content: space-evenly;
}

.flex--gap-xs {
  gap: var(--space-xs);
}

.flex--gap-sm {
  gap: var(--space-sm);
}

.flex--gap-md {
  gap: var(--space-md);
}

.flex--gap-lg {
  gap: var(--space-lg);
}

.flex--gap-xl {
  gap: var(--space-xl);
}

.flex--gap-2xl {
  gap: var(--space-2xl);
}

.flex--grow {
  flex: 1 1 auto;
  min-width: 0;
}

.flex--no-shrink {
  flex-shrink: 0;
}

.flex--shrink {
  flex-shrink: 1;
}

.flex--wrap {
  flex-wrap: wrap;
}

.flex--no-wrap {
  flex-wrap: nowrap;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
  min-width: 0;
}

.grid-auto > * {
  min-width: 0;
}

.grid-auto--sm {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-md);
}

.grid-auto--lg {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--space-xl);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.stack > * {
  min-width: 0;
}

.stack--xs {
  gap: var(--space-xs);
}

.stack--sm {
  gap: var(--space-sm);
}

.stack--md {
  gap: var(--space-md);
}

.stack--lg {
  gap: var(--space-lg);
}

.stack--xl {
  gap: var(--space-xl);
}

.stack--2xl {
  gap: var(--space-2xl);
}

.stack--3xl {
  gap: var(--space-3xl);
}

.stack > :last-child {
  margin-block-end: 0;
}

.flow > * + * {
  margin-block-start: var(--space-md);
}

.flow--sm > * + * {
  margin-block-start: var(--space-sm);
}

.flow--lg > * + * {
  margin-block-start: var(--space-lg);
}

.flow--xl > * + * {
  margin-block-start: var(--space-xl);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--gutter-tablet);
  }
}

@media (min-width: 1200px) {
  .container {
    padding-inline: var(--gutter-desktop);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}