:root {
    --page-bg: #e7ddcd;
    --surface: #f6f0e5;
    --surface-strong: #d9cebb;
    --ink: #241b16;
    --muted: #5f5447;
    --accent: #3e5a3d;
    --accent-strong: #2b3f2d;
    --accent-alt: #7f4c35;
    --hero-base: #17120f;
    --border: rgba(36, 27, 22, 0.16);
    --shadow: 0 20px 50px rgba(36, 27, 22, 0.14);
    --radius: 8px;
    --container: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #e9e0d0 0%, #e3d7c3 100%);
    color: var(--ink);
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
h1,
h2,
h3 {
    margin-top: 0;
}

h1,
h2,
h3,
.brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0;
}

.page-shell {
    min-height: 100vh;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(231, 221, 205, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(36, 27, 22, 0.12);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #6f8572 0%, #405942 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #f6f0e5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 700;
    overflow: hidden;
}

.brand-mark--image {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 10px;
}

.brand-mark--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.02);
    image-rendering: auto;
}

.brand-copy {
    display: grid;
    gap: 0.08rem;
}

.brand-copy strong {
    font-size: 1.08rem;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.9rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.nav-link {
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    color: var(--muted);
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(62, 90, 61, 0.12);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(62, 90, 61, 0.18);
    outline: none;
}

.nav-link.is-active {
    background: var(--ink);
    color: #f8f2e9;
}

.hero {
    position: relative;
    min-height: min(80vh, 780px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--hero-base);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(19, 14, 12, 0.86) 0%, rgba(19, 14, 12, 0.6) 38%, rgba(19, 14, 12, 0.2) 100%),
        linear-gradient(180deg, rgba(29, 23, 18, 0.1) 0%, rgba(29, 23, 18, 0.52) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 5.8rem 0;
    color: #f6f0e5;
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.eyebrow {
    color: rgba(246, 240, 229, 0.82);
}

.section-label {
    color: var(--accent);
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    line-height: 1.04;
    margin-bottom: 1rem;
    max-width: 12ch;
}

.hero-text,
.section-copy p,
.legal-card p,
.feature-card p,
.fact-card p,
.link-card p,
.contact-panel p {
    color: var(--muted);
}

.hero-text {
    color: rgba(246, 240, 229, 0.88);
    font-size: 1.08rem;
    max-width: 60ch;
    margin-bottom: 2rem;
}

.hero-actions,
.callout-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-primary {
    background: var(--accent);
    color: #f6f0e5;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-strong);
}

.button-secondary {
    background: rgba(246, 240, 229, 0.08);
    color: #f6f0e5;
    border: 1px solid rgba(246, 240, 229, 0.24);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(246, 240, 229, 0.14);
}

.section,
.page-hero {
    padding: 5rem 0;
}

.section-alt,
.page-hero-small {
    background: rgba(107, 90, 72, 0.09);
}

.section-copy {
    max-width: 62ch;
}

.section-copy h2,
.feature-card h3,
.legal-card h2,
.contact-panel h2,
.link-card h2,
.site-footer h2 {
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.section-copy h2 {
    font-size: clamp(1.95rem, 3vw, 3rem);
}

.section-copy.narrow {
    max-width: 48rem;
}

.intro-grid,
.media-layout,
.split-copy,
.footer-grid,
.linktree-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.fact-grid,
.card-grid,
.link-grid,
.legal-grid {
    display: grid;
    gap: 1rem;
}

.fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card-wide {
    grid-column: 1 / -1;
}

.fact-card,
.feature-card,
.legal-card,
.contact-panel,
.link-card {
    background: linear-gradient(180deg, rgba(246, 240, 229, 0.96) 0%, rgba(240, 231, 217, 0.96) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.fact-card,
.feature-card,
.legal-card,
.contact-panel {
    padding: 1.5rem;
}

.fact-card strong {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--ink);
    font-size: 1.1rem;
}

.media-frame {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: #c8bda9;
}

.media-frame img,
.linktree-avatar img {
    height: 100%;
    object-fit: cover;
}

.point-list,
.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.point-list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.point-list li {
    padding-left: 1.15rem;
    position: relative;
}

.point-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--accent-alt);
}

.text-link {
    color: var(--accent);
    font-weight: 700;
}

.callout-section {
    padding-top: 0;
}

.callout-band {
    justify-content: space-between;
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(62, 90, 61, 0.12), rgba(127, 76, 53, 0.12));
    border: 1px solid rgba(62, 90, 61, 0.18);
}

.page-hero {
    background: linear-gradient(180deg, rgba(62, 90, 61, 0.08) 0%, rgba(246, 240, 229, 0.36) 100%);
}

.page-hero-small {
    border-bottom: 1px solid var(--border);
}

.linktree-hero {
    grid-template-columns: 240px minmax(0, 1fr);
}

.linktree-avatar {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 10rem;
    padding: 1.5rem;
    transition: transform 160ms ease, border-color 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(62, 90, 61, 0.36);
    outline: none;
}

.link-card-copy {
    min-width: 0;
}

.link-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.link-card-header h2 {
    margin-bottom: 0;
}

.link-card-logo {
    display: inline-grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 2.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.link-card-logo img {
    width: 1.45rem;
    height: 1.45rem;
}

.link-card-logo--instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.link-card-logo--tiktok {
    background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
}

.link-card-logo--discord {
    background: linear-gradient(135deg, #6b7cff 0%, #5865f2 100%);
}

.link-card-logo--ottonien {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 999px;
}

.link-card-logo--ottonien img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
}

.link-card-action {
    flex: 0 0 auto;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(62, 90, 61, 0.12);
    color: var(--accent-strong);
    font-weight: 700;
}

.contact-panel {
    align-self: stretch;
}

.contact-panel a,
.site-footer a {
    color: var(--accent);
}

.legal-card h3 {
    margin-bottom: 0.55rem;
}

.site-footer {
    padding: 3.5rem 0 2rem;
    background: #1d1714;
    color: rgba(246, 240, 229, 0.9);
}

.site-footer h2 {
    font-size: 1.05rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(246, 240, 229, 0.72);
}

.footer-list {
    display: grid;
    gap: 0.55rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(246, 240, 229, 0.12);
}

@media (max-width: 960px) {
    .intro-grid,
    .media-layout,
    .split-copy,
    .footer-grid,
    .linktree-hero,
    .fact-grid,
    .card-grid,
    .legal-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }

    .callout-band,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        padding: 4.8rem 0;
    }
}

@media (max-width: 720px) {
    .header-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-link {
        padding-inline: 0.85rem;
    }

    .section,
    .page-hero {
        padding: 4rem 0;
    }

    .hero h1,
    .page-hero h1 {
        max-width: none;
    }

    .link-card {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
    }
}
