:root {
  --ink: #172019;
  --forest: #253b2c;
  --moss: #6f7d4d;
  --signal: #e26448;
  --paper: #ece6d7;
  --sand: #d5c8aa;
  --page-bg: #101510;
  --page-text: #e8e3d7;
  --surface: #182019;
  --surface-raised: #202a21;
  --line: rgba(236, 230, 215, 0.18);
  --soft-fill: rgba(255, 255, 255, 0.06);
  --soft-fill-strong: rgba(255, 255, 255, 0.1);
  --field-bg: rgba(255, 255, 255, 0.08);
  --ghost: rgba(236, 230, 215, 0.04);
  --texture: rgba(236, 230, 215, 0.025);
  --glow: rgba(226, 100, 72, 0.13);
  --shadow: #29352b;
  --accent-strong: #9dad79;
  --danger: #ff8b73;
  --display: "Bookman Old Style", "URW Bookman", Georgia, serif;
  --utility: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}

html[data-theme="light"] {
  --signal: #d84a2f;
  --page-bg: #ece6d7;
  --page-text: #172019;
  --surface: #dad3c1;
  --surface-raised: #d8d0bd;
  --line: rgba(23, 32, 25, 0.2);
  --soft-fill: rgba(255, 255, 255, 0.28);
  --soft-fill-strong: rgba(236, 230, 215, 0.55);
  --field-bg: rgba(255, 255, 255, 0.45);
  --ghost: rgba(23, 32, 25, 0.045);
  --texture: rgba(37, 59, 44, 0.025);
  --glow: rgba(216, 74, 47, 0.12);
  --shadow: #d5c8aa;
  --accent-strong: #253b2c;
  --danger: #a92e1b;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--page-text);
  background:
    radial-gradient(circle at 82% 7%, var(--glow), transparent 26rem),
    repeating-linear-gradient(115deg, var(--texture) 0 1px, transparent 1px 9px),
    var(--page-bg);
  font-family: var(--utility);
  font-size: 17px;
  transition: color 180ms ease, background-color 180ms ease;
}
a { color: inherit; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px clamp(20px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 48px; aspect-ratio: 1;
  color: var(--paper); background: var(--ink); border-radius: 50%;
  font: 700 18px/1 var(--display); transform: rotate(-7deg);
}
.brand strong { display: block; font: 700 22px/1 var(--display); letter-spacing: 0.08em; }
.brand small { display: block; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.65; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 30px); min-width: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }
.site-nav a:hover { color: var(--signal); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-action, .header-account, .header-logout button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 14px; color: inherit; border: 1px solid var(--line);
  background: var(--soft-fill); text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.09em; font: 700 11px/1 var(--utility); white-space: nowrap;
}
.header-action:hover, .header-account:hover, .header-logout button:hover {
  color: var(--signal); border-color: currentColor;
}
.header-login { border-color: var(--signal); }
.header-register { color: var(--paper); border-color: var(--signal); background: var(--signal); }
.header-register:hover { color: var(--paper); background: color-mix(in srgb, var(--signal) 82%, black); }
.header-account { padding-left: 8px; text-transform: none; }
.header-account strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.header-account-icon {
  display: grid; place-items: center; width: 30px; height: 30px;
  color: var(--paper); border-radius: 50%; background: var(--signal);
}
.header-account-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.header-logout { margin: 0; }
.header-logout button { cursor: pointer; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 9px; min-height: 38px;
  padding: 0 12px; color: inherit; border: 1px solid var(--line);
  background: var(--soft-fill); font: 700 11px/1 var(--utility);
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
}
.theme-toggle:hover { color: var(--signal); border-color: currentColor; }
.theme-toggle-mark {
  width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transform: rotate(-25deg); transition: transform 180ms ease;
}
html[data-theme="light"] .theme-toggle-mark { transform: rotate(25deg); }

.hero {
  position: relative; overflow: hidden; display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(36px, 8vw, 130px); min-height: 650px;
  padding: clamp(72px, 10vw, 150px) clamp(20px, 7vw, 110px) 100px;
}
.hero::after {
  content: "082"; position: absolute; right: -0.03em; bottom: -0.22em; z-index: -1;
  color: var(--ghost); font: 800 clamp(240px, 38vw, 620px)/0.8 var(--display);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 78px 78px; mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.eyebrow { margin: 0 0 18px; color: var(--signal); text-transform: uppercase; letter-spacing: 0.2em; font-size: 13px; font-weight: 700; }
.hero h1, .project-section h2, .news-section h2, .join-strip h2, .editorial-section h2, .image-text h2, .article-page h1, .form-intro h1 {
  margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.045em;
}
.hero h1 { max-width: 920px; font-size: clamp(54px, 7.6vw, 126px); line-height: 0.88; }
.hero-lead { max-width: 700px; margin: 32px 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.45; opacity: 0.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px;
  border: 1px solid currentColor; text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em;
  font: 700 13px/1 var(--utility); cursor: pointer; transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); border-color: var(--signal); background: var(--signal); }
.button-ghost { background: var(--soft-fill-strong); }
.button-light { color: var(--ink); border-color: var(--paper); background: var(--paper); }
.button-wide { width: 100%; }

.status-board { align-self: center; padding: 28px; color: var(--paper); background: var(--ink); box-shadow: 22px 22px 0 var(--shadow); }
.status-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.status-light { width: 10px; height: 10px; border-radius: 50%; background: #c9a44d; box-shadow: 0 0 16px #c9a44d; }
.status-board[data-state="online"] .status-light { background: #79b35a; box-shadow: 0 0 16px #79b35a; }
.status-board[data-state="offline"] .status-light { background: var(--signal); box-shadow: 0 0 16px var(--signal); }
.status-board dl { margin: 0; border-top: 1px solid rgba(236, 230, 215, 0.18); }
.status-board dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(236, 230, 215, 0.18); }
.status-board dt { opacity: 0.55; }
.status-board dd { margin: 0; font-weight: 700; }
.status-board p { margin: 20px 0 0; line-height: 1.5; opacity: 0.7; }

.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-block: 1px solid var(--line); }
.numbers article { min-height: 180px; padding: 36px clamp(20px, 4vw, 62px); border-right: 1px solid var(--line); }
.numbers article:last-child { border-right: 0; }
.numbers strong { display: block; font: 600 clamp(50px, 6vw, 92px)/0.9 var(--display); color: var(--accent-strong); }
.numbers span { display: block; max-width: 150px; margin-top: 16px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }

.project-section, .news-section { position: relative; padding: 120px clamp(20px, 7vw, 110px); }
.project-section { display: grid; grid-template-columns: 80px minmax(260px, 0.65fr) minmax(0, 1.35fr); gap: 36px; background: var(--surface); }
.section-number { font: 700 14px/1 var(--utility); color: var(--signal); }
.project-section h2, .news-section h2 { font-size: clamp(44px, 5vw, 78px); line-height: 0.98; }
.editable-title { white-space: pre-line; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-grid article { padding: 30px 24px 20px 0; border-right: 1px solid var(--line); }
.feature-grid article + article { padding-left: 24px; }
.feature-grid article:last-child { border-right: 0; }
.feature-grid span { color: var(--signal); text-transform: uppercase; letter-spacing: 0.13em; font-size: 12px; }
.feature-grid h3 { min-height: 62px; font: 600 25px/1.1 var(--display); }
.feature-grid p { line-height: 1.55; opacity: 0.72; }

.news-section { display: grid; grid-template-columns: 80px 1fr; gap: 36px; }
.news-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.news-heading > a { color: var(--signal); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.news-grid { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { min-height: 300px; padding: 30px; border: 1px solid var(--line); text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.news-card:hover { transform: translateY(-6px); background: var(--soft-fill); }
.news-card time { color: var(--signal); letter-spacing: 0.12em; font-size: 12px; }
.news-card h3 { margin: 48px 0 15px; font: 600 30px/1.05 var(--display); }
.news-card p { line-height: 1.5; opacity: 0.7; }
.news-card span { display: block; margin-top: 28px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.news-empty { grid-column: span 2; }

.editorial-section {
  display: grid; grid-template-columns: 80px minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px; padding: 120px clamp(20px, 7vw, 110px);
}
.editorial-forest { color: var(--paper); background: var(--forest); }
.editorial-forest .section-number, .editorial-forest .eyebrow { color: #e1745f; }
.editorial-section h2, .image-text h2 { font-size: clamp(40px, 5vw, 76px); line-height: 0.98; }
.editorial-body, .rich-copy { font-family: Georgia, serif; font-size: 19px; line-height: 1.75; }
.editorial-body > :first-child, .rich-copy > :first-child { margin-top: 0; }
.editorial-body a, .rich-copy a { color: var(--signal); }

.image-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); min-height: 620px; background: var(--surface); }
.image-text.image-right .image-text-visual { order: 2; }
.image-text-visual { min-height: 460px; overflow: hidden; }
.image-text-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-text-copy { align-self: center; padding: 80px clamp(28px, 7vw, 110px); }
.image-text-copy .rich-copy { margin-top: 30px; }

.join-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 70px clamp(20px, 7vw, 110px); color: var(--paper); background: var(--signal); }
.join-strip .eyebrow { color: var(--paper); opacity: 0.7; }
.join-strip h2 { font-size: clamp(35px, 4vw, 62px); }
.site-footer {
  display: grid; grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  align-items: start; gap: 28px 56px; padding: 32px clamp(20px, 5vw, 80px);
  color: var(--paper); background: var(--ink); font-size: 11px;
}
.footer-brand { text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.55; }
.footer-legal {
  justify-self: end; max-width: 1100px; margin: 0; opacity: 0.72;
  letter-spacing: 0.035em; line-height: 1.55;
}

.form-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: calc(100vh - 88px); }
.form-intro { padding: 80px clamp(28px, 7vw, 110px); color: var(--paper); background: var(--forest); }
.form-intro h1 { margin-top: 55px; font-size: clamp(48px, 6vw, 88px); line-height: 0.95; }
.form-intro > p:not(.eyebrow) { max-width: 580px; margin-top: 28px; line-height: 1.6; opacity: 0.75; }
.back-link { display: inline-block; margin-bottom: 42px; color: var(--signal); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.form-note { display: grid; gap: 6px; margin-top: 50px; padding: 20px; border-left: 3px solid var(--signal); background: rgba(0, 0, 0, 0.12); }
.form-note span { opacity: 0.65; }
.registration-card { padding: 80px clamp(28px, 9vw, 160px); align-self: center; }
.registration-card h2 { font: 600 38px/1 var(--display); }
.field { margin: 20px 0; }
.field label { display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 700; }
.field input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 0; color: var(--page-text); background: var(--field-bg); font: inherit; }
.field input:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.field small, .field-error { display: block; margin-top: 6px; font-size: 12px; opacity: 0.65; }
.field-error, .form-error { color: var(--danger); }
.form-error { padding: 14px; border: 1px solid currentColor; }
.success-panel { text-align: center; }
.success-mark { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 25px; border-radius: 50%; color: var(--paper); background: var(--forest); font-size: 36px; }
.success-panel p { margin-bottom: 30px; line-height: 1.5; }
.captcha-field { min-height: 100px; margin: 24px 0; }
.smart-captcha { min-height: 100px; }

.download-access {
    align-items: center;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    display: grid;
    gap: .35rem 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto 1.5rem;
    max-width: 1120px;
    padding: 1rem 1.2rem;
}

.download-access strong,
.download-access span { display: block; }

.download-access span {
    opacity: .72;
    font-size: .92rem;
}

.download-access .button { grid-column: 2; grid-row: 1 / span 2; }

.download-access-messages {
    margin: 0 auto 1rem;
    max-width: 1120px;
}

@media (max-width: 720px) {
    .download-access { grid-template-columns: 1fr; }
    .download-access .button { grid-column: 1; grid-row: auto; }
}

.clan-hero { display: grid; grid-template-columns: 1fr; min-height: 560px; border-bottom: 1px solid var(--line); }
.clan-hero-copy { position: relative; overflow: hidden; padding: 80px clamp(28px, 7vw, 110px); background: linear-gradient(125deg, var(--surface), var(--page-bg)); }
.clan-hero-copy::after { content: "[ ]"; position: absolute; right: -0.08em; bottom: -0.2em; color: var(--ghost); font: 700 clamp(190px, 30vw, 470px)/1 var(--display); }
.clan-hero h1, .clan-catalog h2, .clan-create h2, .my-clan h2 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.045em; }
.clan-hero h1 { position: relative; z-index: 1; max-width: 760px; font-size: clamp(58px, 7vw, 112px); line-height: 0.9; }
.clan-hero-copy > p:last-child { position: relative; z-index: 1; max-width: 680px; margin-top: 30px; font-size: 22px; line-height: 1.55; opacity: 0.75; }
.clan-command { align-self: stretch; padding: 60px clamp(28px, 5vw, 72px); color: var(--paper); background: var(--ink); }
.clan-command h2 { font: 600 34px/1.05 var(--display); }
.clan-command > p { line-height: 1.5; opacity: 0.65; }
.clan-command .field input { color: var(--paper); border-color: rgba(236, 230, 215, 0.28); background: rgba(255, 255, 255, 0.07); }
.command-label { display: block; margin-bottom: 28px; color: #e1745f; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; }
.clan-command > strong { display: block; font: 600 42px/1 var(--display); }
.clan-command > small { display: block; margin-top: 10px; opacity: 0.6; }
.text-button { margin-top: 42px; padding: 0 0 5px; color: #e1745f; border: 0; border-bottom: 1px solid currentColor; background: none; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; }
.clan-messages { padding: 22px clamp(20px, 7vw, 110px) 0; }
.clan-message { padding: 16px 20px; border: 1px solid var(--line); background: var(--soft-fill); }
.clan-message-success { border-color: var(--moss); }
.clan-message-error { color: var(--danger); border-color: currentColor; }
.my-clan, .clan-create { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr); gap: clamp(35px, 8vw, 120px); padding: 90px clamp(20px, 7vw, 110px); color: var(--paper); background: var(--forest); }
.my-clan { grid-template-columns: 1.4fr 0.6fr auto; align-items: center; }
.my-clan h2, .clan-create h2 { font-size: clamp(42px, 5vw, 76px); line-height: 1; }
.my-clan h2 span { color: #e1745f; }
.my-clan p, .clan-create > div > p:last-child { max-width: 650px; line-height: 1.6; opacity: 0.7; }
.my-clan-meta { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px 14px; }
.my-clan-meta strong { color: #e1745f; font: 600 28px/1 var(--display); }
.my-clan-meta span { text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.clan-members-panel { padding: 70px clamp(20px, 7vw, 110px) 90px; color: var(--paper); background: #1d3125; border-top: 1px solid rgba(236, 230, 215, 0.15); }
.clan-members-panel > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.clan-members-panel h2 { margin: 0; font: 600 clamp(34px, 4vw, 58px)/1 var(--display); }
.clan-members-panel > header > span { color: #e1745f; font: 600 52px/1 var(--display); }
.clan-member-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(236, 230, 215, 0.18); }
.clan-member-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 13px 18px; border-bottom: 1px solid rgba(236, 230, 215, 0.18); }
.clan-member-row:nth-child(odd) { border-right: 1px solid rgba(236, 230, 215, 0.18); }
.clan-member-row strong, .clan-member-row small { display: block; }
.clan-member-row small { margin-top: 6px; color: rgba(236, 230, 215, 0.58); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.member-kick { padding: 8px 0 5px; color: #e1745f; border: 0; border-bottom: 1px solid currentColor; background: none; text-transform: uppercase; letter-spacing: 0.1em; font: 700 10px/1 var(--utility); cursor: pointer; }
.clan-create form { display: grid; grid-template-columns: 1fr 0.55fr; gap: 0 18px; }
.clan-create form .field:nth-of-type(3) { grid-column: 1 / -1; }
.clan-create textarea { width: 100%; padding: 14px; resize: vertical; color: var(--paper); border: 1px solid rgba(236, 230, 215, 0.28); background: rgba(255, 255, 255, 0.07); font: inherit; }
.clan-create .button { justify-self: start; }
.clan-catalog { padding: 110px clamp(20px, 7vw, 110px) 140px; }
.clan-catalog > header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.clan-catalog h2 { font-size: clamp(44px, 5vw, 76px); }
.clan-catalog > header > span { padding-bottom: 8px; color: var(--signal); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.clan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.clan-card { position: relative; display: flex; flex-direction: column; min-height: 410px; padding: 30px; border: 1px solid var(--line); background: var(--soft-fill); }
.clan-tag { color: var(--signal); font: 700 18px/1 var(--utility); letter-spacing: 0.12em; }
.clan-card h3 { margin: 18px 0 12px; font: 600 31px/1.05 var(--display); }
.clan-card > p { min-height: 52px; line-height: 1.45; opacity: 0.7; }
.clan-card dl { margin: 10px 0; border-top: 1px solid var(--line); }
.clan-card dl div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.clan-card dt { opacity: 0.55; }
.clan-card dd { margin: 0; font-weight: 700; }
.clan-roster { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.clan-roster span { padding: 5px 8px; background: var(--soft-fill-strong); font-size: 12px; }
.clan-roster .clan-leader { color: var(--paper); background: var(--forest); }
.clan-card form { margin-top: auto; }
.clan-empty { grid-column: 1 / -1; padding: 70px 30px; border: 1px dashed var(--line); text-align: center; }
.clan-empty strong { font: 600 34px/1 var(--display); }

.article-page { max-width: 980px; min-height: 70vh; margin: 0 auto; padding: 90px 25px 130px; }
.article-page header { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.article-page h1 { font-size: clamp(50px, 7vw, 100px); line-height: 0.95; }
.article-page header > p:last-child { max-width: 760px; font-size: 23px; line-height: 1.5; }
.article-body { max-width: 760px; margin: 55px auto 0; font-family: Georgia, serif; font-size: 19px; line-height: 1.75; }
.article-body h2, .article-body h3 { font-family: var(--display); }

.account-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr); min-height: 590px; border-bottom: 1px solid var(--line); }
.account-hero-copy { position: relative; overflow: hidden; padding: 85px clamp(28px, 7vw, 110px); background: radial-gradient(circle at 80% 25%, rgba(201, 164, 77, 0.2), transparent 30%), linear-gradient(125deg, var(--surface), var(--page-bg)); }
.account-hero-copy::after { content: "1000"; position: absolute; right: -0.03em; bottom: -0.22em; color: var(--ghost); font: 700 clamp(160px, 25vw, 390px)/1 var(--display); }
.account-hero h1 { position: relative; z-index: 1; margin: 24px 0 0; font: 600 clamp(62px, 8vw, 124px)/0.84 var(--display); letter-spacing: -0.055em; }
.account-hero-copy > .account-summary { position: relative; z-index: 1; max-width: 670px; margin-top: 34px; font-size: 21px; line-height: 1.55; opacity: 0.72; }
.account-command { padding: 62px clamp(28px, 5vw, 72px); color: var(--paper); background: var(--ink); }
.account-command h2 { font: 600 36px/1 var(--display); }
.account-command > strong { display: block; font: 600 45px/1 var(--display); }
.account-command > small { display: block; margin-top: 10px; opacity: 0.62; }
.account-command .field input { color: var(--paper); border-color: rgba(236, 230, 215, 0.28); background: rgba(255, 255, 255, 0.07); }
.economy-overview { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.economy-overview article { min-height: 230px; padding: 48px clamp(28px, 7vw, 110px); }
.economy-overview article + article { border-left: 1px solid var(--line); }
.economy-overview span, .economy-overview small { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.economy-overview strong { display: inline-block; margin: 22px 15px 0 0; color: var(--accent-strong); font: 600 clamp(58px, 7vw, 102px)/0.8 var(--display); }
.economy-overview small { display: inline-block; color: var(--signal); }
.economy-actions { display: grid; grid-template-columns: 1fr 1fr; }
.economy-card { min-height: 540px; padding: 70px clamp(28px, 7vw, 110px); }
.economy-card-gold { background: var(--surface-raised); }
.economy-card-premium { color: var(--paper); background: var(--forest); }
.economy-index { color: var(--signal); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; }
.economy-card h2 { max-width: 620px; margin: 48px 0 20px; font: 600 clamp(43px, 5vw, 73px)/0.95 var(--display); letter-spacing: -0.04em; }
.economy-card > p { max-width: 590px; min-height: 72px; line-height: 1.55; opacity: 0.7; }
.economy-card form { margin-top: 42px; }
.economy-card button:disabled { cursor: not-allowed; opacity: 0.38; transform: none; }
.economy-price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.economy-price strong { color: #e1745f; font: 600 58px/0.9 var(--display); }
.economy-price span { text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.economy-timer { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.economy-timer span { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; opacity: 0.6; }
.economy-timer strong { display: block; margin-top: 12px; color: var(--signal); font: 600 clamp(48px, 5vw, 72px)/1 var(--display); font-variant-numeric: tabular-nums; }
.account-login-note { display: grid; grid-template-columns: 80px minmax(0, 700px); gap: 36px; min-height: 360px; padding: 90px clamp(28px, 7vw, 110px); }
.account-login-note > span { color: var(--signal); font: 700 14px/1 var(--utility); }
.account-login-note h2 { margin: 0; font: 600 clamp(43px, 5vw, 72px)/0.95 var(--display); }
.account-login-note p { max-width: 620px; margin-top: 25px; line-height: 1.6; opacity: 0.7; }

.editorial-page { min-height: 70vh; }
.editorial-header { padding: 90px clamp(20px, 7vw, 110px) 70px; border-bottom: 1px solid var(--line); }
.editorial-header h1, .form-success h1 { max-width: 1050px; margin: 0; font: 600 clamp(52px, 7vw, 104px)/0.92 var(--display); letter-spacing: -0.05em; }
.editorial-intro { max-width: 820px; margin: 28px 0 0; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; opacity: 0.74; }
.editorial-hero { display: block; width: 100%; max-height: 560px; margin-top: 48px; object-fit: cover; box-shadow: 22px 22px 0 var(--sand); }
.empty-content, .content-section { padding: 80px clamp(20px, 7vw, 110px); }
.content-section > h2 { margin: 0 0 38px; font: 600 clamp(38px, 5vw, 68px)/1 var(--display); letter-spacing: -0.04em; }

.quote-section { color: var(--paper); background: var(--forest); }
.quote-section blockquote { max-width: 980px; margin: 0 auto; }
.quote-section blockquote p { margin: 0; font: 500 clamp(34px, 4.5vw, 66px)/1.16 var(--display); }
.quote-section blockquote footer { margin-top: 28px; color: #e1745f; text-transform: uppercase; letter-spacing: 0.13em; font-size: 12px; }

.gallery-section { background: var(--surface); }
.editorial-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.editorial-gallery figure { min-height: 300px; margin: 0; overflow: hidden; background: var(--ink); }
.editorial-gallery figure:nth-child(3n) { grid-column: 1 / -1; }
.editorial-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.editorial-gallery figure:hover img { transform: scale(1.025); }

.faq-list { max-width: 980px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 48px 24px 0; cursor: pointer; font: 600 24px/1.25 var(--display); }
.faq-list details .rich-copy { padding: 0 0 28px; }

.downloads-section { color: var(--paper); background: var(--ink); }
.download-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(236, 230, 215, 0.2); }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 118px; padding: 24px; border-bottom: 1px solid rgba(236, 230, 215, 0.2); text-decoration: none; }
.download-card:nth-child(odd) { border-right: 1px solid rgba(236, 230, 215, 0.2); }
.download-card strong, .download-card small { display: block; }
.download-card strong { font: 600 24px/1.15 var(--display); }
.download-card small { margin-top: 9px; opacity: 0.58; }
.download-card > span:last-child { color: #e1745f; font-size: 32px; }
.download-card:hover { background: rgba(236, 230, 215, 0.06); }

.download-options { padding: 30px clamp(20px, 7vw, 110px) 120px; }
.download-option {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center; gap: clamp(24px, 5vw, 72px); min-height: 250px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.download-option-number { align-self: start; color: var(--signal); text-transform: uppercase; letter-spacing: 0.13em; font-size: 11px; }
.download-option-copy h2 { margin: 0; font: 600 clamp(36px, 4.5vw, 66px)/1 var(--display); letter-spacing: -0.04em; }
.download-option-copy .rich-copy { max-width: 760px; margin-top: 20px; opacity: 0.72; }
.button-disabled { cursor: not-allowed; opacity: 0.38; }
.button-disabled:hover { transform: none; }

.cms-form-shell { padding-bottom: 110px; }
.portal-form { max-width: 820px; margin: 60px clamp(20px, 7vw, 110px) 0; padding: 42px; border: 1px solid var(--line); background: var(--soft-fill); }
.form-field { margin-bottom: 25px; }
.form-field label { display: block; margin-bottom: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 0; color: var(--page-text); background: var(--field-bg); font: inherit; }
.form-field input { min-height: 52px; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.form-field small { display: block; margin-top: 7px; opacity: 0.62; }
.form-success { max-width: 960px; padding: 110px clamp(20px, 7vw, 110px); }
.form-success .rich-copy { margin: 35px 0; }

.js .reveal { opacity: 0; transform: translateY(18px); animation: reveal 650ms cubic-bezier(.2,.75,.2,1) forwards; }
.js .reveal:nth-child(2) { animation-delay: 100ms; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .status-board { max-width: 520px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .project-section { grid-template-columns: 50px 1fr; }
  .feature-grid { grid-column: 2; grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .news-section { grid-template-columns: 50px 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-empty { grid-column: auto; }
  .editorial-section { grid-template-columns: 50px 1fr; }
  .editorial-body { grid-column: 2; }
  .image-text { grid-template-columns: 1fr; }
  .image-text.image-right .image-text-visual { order: initial; }
  .form-shell { grid-template-columns: 1fr; }
  .clan-hero { grid-template-columns: 1fr; }
	.account-hero, .economy-actions { grid-template-columns: 1fr; }
  .clan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-clan, .clan-create { grid-template-columns: 1fr; }
  .clan-member-list { grid-template-columns: 1fr; }
  .clan-member-row:nth-child(odd) { border-right: 0; }
  .form-intro, .registration-card { padding-block: 60px; }
  .editorial-gallery, .download-list { grid-template-columns: 1fr; }
  .download-option { grid-template-columns: 80px minmax(0, 1fr); }
  .download-option .button { grid-column: 2; justify-self: start; }
  .editorial-gallery figure:nth-child(3n) { grid-column: auto; }
  .download-card:nth-child(odd) { border-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { min-height: 72px; padding-inline: 14px; }
  .brand > span:last-child { display: none; }
  .header-right { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-register { display: none; }
  .header-account, .header-action { padding-inline: 8px; }
  .header-account strong { max-width: 92px; }
  .header-logout button { min-height: 38px; padding-inline: 8px; }
  .theme-toggle { width: 38px; padding: 0; justify-content: center; }
  .theme-toggle [data-theme-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero { padding-top: 65px; }
  .hero h1 { font-size: 52px; }
  .numbers article { min-height: 145px; }
  .project-section, .news-section, .editorial-section { display: block; padding-block: 80px; }
  .section-number { margin-bottom: 22px; }
  .feature-grid, .news-grid { margin-top: 40px; }
  .editorial-body { margin-top: 36px; }
  .image-text { min-height: 0; }
  .image-text-visual { min-height: 300px; }
  .news-heading, .join-strip { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-legal { justify-self: start; }
  .clan-grid { grid-template-columns: 1fr; }
  .clan-catalog > header { align-items: flex-start; flex-direction: column; }
  .clan-create form { display: block; }
	.economy-overview { grid-template-columns: 1fr; }
	.economy-overview article + article { border-left: 0; border-top: 1px solid var(--line); }
  .news-heading > a { margin-top: 20px; }
  .editorial-header { padding-block: 65px 50px; }
  .editorial-hero { margin-top: 34px; box-shadow: 12px 12px 0 var(--sand); }
  .portal-form { margin-top: 35px; padding: 24px; }
  .download-option { display: block; padding: 38px 0; }
  .download-option-copy { margin: 22px 0 28px; }
}

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