@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&family=EB+Garamond:wght@400;500;600&family=Forum&family=Literata:wght@400;500;600;700&family=Lora:wght@400;500;600;700&display=swap');

:root {
    --bg-main: #0a0808;
    --bg-deep: #070606;
    --bg-panel: #1a1412;
    --bg-panel-light: #211917;
    --accent-red: #721817;
    --accent-hover: #96201f;
    --gold-tan: #c2976b;
    --gold-light: #e0bd92;
    --text-main: #fdfdfd;
    --text-muted: #a39581;
    --border-color: #3b2a22;
    --panel-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    --font-body: 'Alegreya', serif;
    --font-display: 'Forum', serif;
}

html[lang='ru'] {
    --font-body: 'Literata', 'Alegreya', serif;
    --font-display: 'Cormorant Garamond', 'Forum', serif;
}

html[lang='sv'] {
    --font-body: 'Lora', 'Alegreya', serif;
    --font-display: 'EB Garamond', 'Forum', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main);
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        var(--bg-main);
    background-size: 48px 48px;
}

main {
    flex: 1;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    color: var(--gold-tan);
    letter-spacing: 0.035em;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 2rem;
    min-height: 82px;
    padding: 0.7rem clamp(1.5rem, 4vw, 4rem);
    border-bottom: 1px solid var(--accent-red);
    background: rgba(19, 14, 13, 0.94);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    text-decoration: none;
}

.site-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.logo a:hover .site-logo {
    transform: rotate(-2deg) scale(1.04);
    border-color: var(--accent-red);
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 0.08em;
}

.navbar nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.navbar nav a {
    position: relative;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.045em;
    text-decoration: none;
    transition: color 0.25s ease;
}

.navbar nav a::after {
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 0;
    height: 2px;
    content: '';
    background: var(--gold-tan);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--gold-light);
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.lang-switcher button {
    min-width: 42px;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-muted);
    background: transparent;
    font: 1rem 'Forum', serif;
    cursor: pointer;
    transition: 0.25s ease;
}

.lang-switcher button:hover {
    color: var(--gold-light);
    border-color: var(--gold-tan);
}

.lang-switcher button.active {
    color: var(--text-main);
    border-color: var(--accent-red);
    background: var(--accent-red);
}

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--gold-tan);
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    min-height: 610px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 7rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-home {
    background:
        radial-gradient(circle at 50% 44%, rgba(114, 24, 23, 0.22), transparent 35%),
        radial-gradient(circle at center, var(--bg-panel) 0%, var(--bg-main) 68%);
}

.hero-home::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: '';
    pointer-events: none;
    background: radial-gradient(
        ellipse at 50% 46%,
        rgba(10, 8, 8, 0.08) 0%,
        rgba(10, 8, 8, 0.28) 52%,
        rgba(10, 8, 8, 0.68) 100%
    );
}

.hero-background-logo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    /* Видимость фонового логотипа: 0 — скрыт, 1 — полностью видим */
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    object-fit: contain;
    object-position: center;
    filter: saturate(0.55) contrast(0.85) brightness(0.72);
    mix-blend-mode: soft-light;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.hero h1 {
    max-width: 760px;
    margin: 0 auto 1.25rem;
    color: var(--text-main);
    font-size: clamp(3.4rem, 7vw, 6.6rem);
}

.hero-content > p:not(.eyebrow) {
    max-width: 660px;
    margin: 0 auto 2.2rem;
    color: var(--text-muted);
    font-size: 1.3rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
}

.btn-primary,
.btn-secondary,
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-primary {
    padding: 0.7rem 1.4rem;
    border: 1px solid #3a0e0e;
    color: var(--text-main);
    background: var(--accent-red);
}

.btn-primary:hover {
    border-color: var(--gold-tan);
    background: var(--accent-hover);
    box-shadow: 0 0 22px rgba(114, 24, 23, 0.55);
}

.btn-secondary {
    width: 100%;
    padding: 0.55rem 1rem;
    border: 1px solid var(--gold-tan);
    color: var(--gold-light);
    background: transparent;
}

.btn-secondary:hover {
    color: var(--bg-main);
    background: var(--gold-tan);
}

.btn-text {
    min-height: auto;
    color: var(--gold-light);
    border-bottom: 1px solid rgba(194, 151, 107, 0.5);
    border-radius: 0;
}

.btn-text:hover {
    color: var(--text-main);
    border-color: var(--text-main);
}

.intro-strip {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.08rem;
}

.intro-strip::before,
.intro-strip::after {
    color: var(--accent-red);
    content: '◆';
    margin: 0 1rem;
    font-size: 0.65rem;
}

.programs,
.content-section {
    width: min(1200px, calc(100% - 4rem));
    margin: 0 auto;
    padding: 4.5rem 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading.align-left {
    max-width: 760px;
    margin-left: 0;
    text-align: left;
}

.section-heading > p:not(.eyebrow) {
    color: var(--text-muted);
}

.section-title {
    margin-bottom: 0.8rem;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 2rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 470px;
    padding: 2.2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
    background: linear-gradient(150deg, var(--bg-panel-light), var(--bg-panel));
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 56%;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--gold-tan), transparent);
    transform: translateX(-50%);
    opacity: 0.45;
}

.card:hover {
    border-color: var(--gold-tan);
    transform: translateY(-6px);
    box-shadow: var(--panel-shadow), inset 0 0 15px rgba(194, 151, 107, 0.08);
}

.card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 94px;
    width: 94px;
    height: 94px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--gold-tan);
    background: rgba(7, 6, 6, 0.54);
    font-size: 2.7rem;
    overflow: hidden;
    padding: 7px;
}

.card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card h3 {
    display: grid;
    place-items: center;
    min-height: 3.3rem;
    margin-bottom: 1.1rem;
    color: var(--text-main);
    font-size: 1.75rem;
}

.card p {
    flex: 1;
    margin-bottom: 1.8rem;
    color: var(--text-muted);
}

.highlight-card {
    border-color: var(--accent-red);
    background: linear-gradient(150deg, #261614, var(--bg-panel));
}

.highlight-card h3 {
    color: var(--gold-light);
}

.guild-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 1.5rem;
    width: min(1200px, calc(100% - 4rem));
    margin: 2rem auto 6rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-red);
    text-align: center;
    background: rgba(26, 20, 18, 0.72);
}

.guild-callout h2 {
    max-width: 980px;
    margin-inline: auto;
    color: var(--text-main);
    font-size: 2.3rem;
    text-wrap: balance;
}

.callout-action > p {
    max-width: 720px;
    text-align: center;
    color: var(--text-muted);
}

.callout-action {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.callout-button {
    width: fit-content;
    margin-top: 1.4rem;
}

.page-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 430px;
    padding: 5rem max(2rem, calc((100% - 1200px) / 2));
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.products-hero {
    background:
        linear-gradient(90deg, rgba(114, 24, 23, 0.18), transparent 45%),
        radial-gradient(circle at 80% 50%, rgba(114, 24, 23, 0.28), transparent 24%),
        var(--bg-panel);
}

.tools-hero {
    background:
        linear-gradient(90deg, rgba(194, 151, 107, 0.08), transparent 46%),
        radial-gradient(circle at 80% 50%, rgba(194, 151, 107, 0.2), transparent 25%),
        var(--bg-panel);
}

.tutorials-hero {
    background:
        linear-gradient(90deg, rgba(114, 24, 23, 0.2), transparent 48%),
        radial-gradient(circle at 80% 50%, rgba(194, 151, 107, 0.16), transparent 26%),
        var(--bg-panel);
}

.tutorials-section {
    width: min(1280px, calc(100% - 4rem));
    margin: 0 auto;
    padding: 4.5rem 0 6rem;
}

.tutorials-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.55fr);
    align-items: start;
    gap: 2rem;
}

.video-shell,
.lesson-panel {
    border: 1px solid var(--border-color);
    background: linear-gradient(150deg, var(--bg-panel-light), var(--bg-panel));
    box-shadow: var(--panel-shadow);
}

.video-shell {
    position: relative;
    overflow: hidden;
}

.video-shell::before {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 50%;
    width: 52%;
    height: 1px;
    content: '';
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--gold-tan), transparent);
    transform: translateX(-50%);
}

.video-stage {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(114, 24, 23, 0.18), transparent 38%),
        var(--bg-deep);
}

.video-stage video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #050404;
}

.video-shell:fullscreen {
    display: grid;
    width: 100vw;
    height: 100vh;
    place-items: center;
    overflow: hidden;
    border: 0;
    background: #050404;
}

.video-shell:fullscreen .video-stage {
    width: min(100vw, 177.777778vh);
    height: min(100vh, 56.25vw);
    aspect-ratio: 16 / 9;
}

.video-shell:fullscreen .video-controls {
    position: absolute;
    z-index: 10;
    right: 50%;
    bottom: clamp(0.75rem, 2vh, 1.5rem);
    width: min(calc(100vw - 2rem), calc(177.777778vh - 2rem));
    border: 1px solid var(--border-color);
    visibility: hidden;
    opacity: 0;
    background: linear-gradient(135deg, rgba(31, 20, 18, 0.96), rgba(10, 8, 8, 0.94));
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48), 0 0 36px rgba(114, 24, 23, 0.12);
    pointer-events: none;
    transform: translate(50%, calc(100% + 2rem));
    backdrop-filter: blur(10px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.video-shell:fullscreen.fullscreen-controls-visible .video-controls {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(50%, 0);
}

.video-shell:fullscreen .now-playing {
    display: none;
}

.fullscreen-playlist {
    display: none;
}

.video-shell:fullscreen .fullscreen-playlist {
    position: absolute;
    z-index: 11;
    top: 50%;
    right: clamp(0.75rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    width: min(370px, calc(100vw - 2rem));
    max-height: min(72vh, 680px);
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-color: rgba(203, 160, 116, 0.36);
    background:
        linear-gradient(145deg, rgba(45, 25, 22, 0.97), rgba(13, 9, 9, 0.96)),
        var(--bg-panel);
    box-shadow: -22px 24px 70px rgba(0, 0, 0, 0.55), 0 0 42px rgba(114, 24, 23, 0.14);
    transform: translate(3rem, -50%) scale(0.97);
    backdrop-filter: blur(14px);
    transition: opacity 0.38s ease, visibility 0.38s ease, transform 0.38s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.video-shell:fullscreen.fullscreen-playlist-visible .fullscreen-playlist {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%) scale(1);
}

.video-shell:fullscreen .fullscreen-playlist .lesson-list {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.video-shell:fullscreen .fullscreen-playlist .lesson-panel-header {
    background: linear-gradient(90deg, rgba(114, 24, 23, 0.16), transparent);
}

.video-shell:fullscreen .fullscreen-playlist::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, var(--gold-tan), transparent);
}

.video-shell:fullscreen.fullscreen-ui-idle,
.video-shell:fullscreen.fullscreen-ui-idle * {
    cursor: none !important;
}

.video-shell:fullscreen .video-overlay {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-shell:fullscreen.fullscreen-ui-idle .video-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.video-empty,
.video-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.video-empty {
    z-index: 2;
    padding: 2rem;
    text-align: center;
    background:
        linear-gradient(rgba(7, 6, 6, 0.82), rgba(7, 6, 6, 0.92)),
        url('/icons/Elipse/Main_Logo.svg') center / min(58%, 390px) no-repeat;
}

.video-empty[hidden],
.video-overlay[hidden] {
    display: none;
}

.video-empty-mark {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 1.25rem;
    border: 1px solid var(--gold-tan);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(114, 24, 23, 0.28);
    font-size: 2rem;
}

.video-empty h2 {
    margin-bottom: 0.55rem;
    color: var(--text-main);
    font-size: 2rem;
}

.video-empty p {
    max-width: 500px;
    color: var(--text-muted);
}

.video-overlay {
    z-index: 3;
    border: 0;
    color: var(--text-main);
    background: rgba(7, 6, 6, 0.26);
    cursor: pointer;
}

.video-overlay-play {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    padding-left: 5px;
    border: 1px solid var(--gold-tan);
    border-radius: 50%;
    background: rgba(114, 24, 23, 0.9);
    box-shadow: 0 0 0 10px rgba(114, 24, 23, 0.15), 0 12px 34px rgba(0, 0, 0, 0.48);
    font-size: 1.8rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-overlay:hover .video-overlay-play {
    transform: scale(1.06);
    background: var(--accent-hover);
}

.video-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 8, 8, 0.94);
}

.player-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--gold-light);
    background: var(--bg-panel);
    cursor: pointer;
    transition: 0.2s ease;
}

.player-button:hover:not(:disabled) {
    border-color: var(--gold-tan);
    color: var(--text-main);
}

.player-button:disabled,
.player-range:disabled {
    cursor: not-allowed;
    opacity: 0.36;
}

.player-range {
    width: 100%;
    accent-color: var(--accent-hover);
    cursor: pointer;
}

.video-time {
    min-width: 94px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.volume-popover {
    display: flex;
    align-items: center;
    width: 82px;
}

.volume-range {
    width: 100%;
}

.volume-value {
    display: none;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}

.now-playing {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    align-items: center;
    min-height: 96px;
    padding: 1.3rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.now-playing-index {
    color: var(--accent-hover);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.now-playing .eyebrow {
    margin-bottom: 0.25rem;
}

.now-playing h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.45rem;
}

.now-playing-description {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.lesson-panel {
    position: sticky;
    top: 104px;
    overflow: hidden;
}

.lesson-panel-header {
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-color);
}

.lesson-panel-header h2 {
    margin-bottom: 0.45rem;
    color: var(--text-main);
    font-size: 2rem;
}

.lesson-panel-header p {
    color: var(--text-muted);
}

.lesson-list {
    display: grid;
    max-height: 610px;
    overflow-y: auto;
}

.lesson-empty {
    padding: 2rem 1.8rem;
    color: var(--text-muted);
}

.lesson-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    width: 100%;
    padding: 1.15rem 1.4rem;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lesson-item:hover,
.lesson-item.active {
    background: rgba(114, 24, 23, 0.2);
}

.lesson-item.active {
    box-shadow: inset 3px 0 var(--accent-hover);
}

.lesson-number {
    color: var(--gold-tan);
    font-family: var(--font-display);
}

.lesson-title {
    font-size: 1.05rem;
}

.lesson-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.page-hero h1 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: clamp(3.2rem, 7vw, 5.8rem);
}

.page-hero-content > p:not(.eyebrow) {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1.3rem;
}

.hero-mark {
    display: grid;
    place-items: center;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(194, 151, 107, 0.22);
    border-radius: 50%;
    color: rgba(194, 151, 107, 0.28);
    font: 9rem var(--font-display);
    box-shadow: 0 0 0 32px rgba(194, 151, 107, 0.025), 0 0 0 64px rgba(194, 151, 107, 0.018);
    overflow: hidden;
}

.hero-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tool-mark {
    color: rgba(194, 151, 107, 0.38);
}

.feature-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
    align-items: center;
    gap: 4rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid var(--border-color);
    background:
        radial-gradient(circle at 82% 50%, rgba(114, 24, 23, 0.25), transparent 28%),
        linear-gradient(145deg, var(--bg-panel-light), var(--bg-panel));
    box-shadow: var(--panel-shadow);
}

.status-badge {
    display: inline-flex;
    margin-bottom: 1.1rem;
    padding: 0.25rem 0.65rem;
    border: 1px solid var(--accent-red);
    border-radius: 3px;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 0.86rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.feature-copy h2 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.feature-copy > p {
    max-width: 690px;
    margin-bottom: 1.4rem;
    color: var(--text-muted);
}

.feature-list {
    display: grid;
    gap: 0.65rem;
    margin: 0 0 2rem 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    position: absolute;
    left: 0;
    color: var(--accent-hover);
    content: '◆';
    font-size: 0.62rem;
}

.feature-emblem {
    display: block;
    width: min(100%, 300px);
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: rgba(7, 6, 6, 0.38);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-emblem:hover {
    transform: scale(1.025);
    border-color: var(--gold-tan);
}

.feature-emblem img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.principles-section {
    padding-top: 2rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mini-card {
    min-height: 230px;
    padding: 2rem;
    border-top: 1px solid var(--gold-tan);
    background: rgba(26, 20, 18, 0.78);
}

.mini-card > span {
    display: block;
    margin-bottom: 1.7rem;
    color: var(--accent-hover);
    font-family: var(--font-display);
}

.mini-card h3 {
    margin-bottom: 0.6rem;
    color: var(--text-main);
    font-size: 1.65rem;
}

.mini-card p {
    color: var(--text-muted);
}

.tool-catalog {
    padding-bottom: 2rem;
}

.tool-list {
    border-top: 1px solid var(--border-color);
}

.tool-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 200px;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.tool-row:hover {
    padding-left: 2.5rem;
    background: rgba(26, 20, 18, 0.65);
}

.tool-symbol {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--gold-tan);
    font: 2rem var(--font-display);
    background: var(--bg-panel);
}

.tool-meta {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.tool-meta span {
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tool-meta span + span::before {
    margin-right: 0.7rem;
    color: var(--accent-red);
    content: '◆';
    font-size: 0.5rem;
}

.tool-row h3 {
    margin-bottom: 0.45rem;
    color: var(--text-main);
    font-size: 1.8rem;
}

.tool-row p {
    max-width: 760px;
    color: var(--text-muted);
}

.tool-note {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
    width: min(1200px, calc(100% - 4rem));
    margin: 1rem auto 6rem;
    padding: 2rem;
    border: 1px dashed var(--border-color);
    background: rgba(26, 20, 18, 0.55);
}

.tool-note-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--gold-tan);
    border-radius: 50%;
    color: var(--gold-light);
    font: 1.5rem var(--font-display);
}

.tool-note h2 {
    margin-bottom: 0.3rem;
    color: var(--text-main);
    font-size: 1.6rem;
}

.tool-note p {
    color: var(--text-muted);
}

.guild-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    background: var(--bg-panel);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.035em;
    text-align: center;
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
