:root {
    --rose: #e3a89a;
    --rose-deep: #d48b7c;
    --blush: #f3c7b8;
    --olive: #8fa06c;
    --olive-soft: #a7b584;
    --bg: #0c0b0a;
    --bg-soft: #141210;
    --paper: #1c1916;
    --paper-2: #24201c;
    --ink: #f6efe7;
    --muted: #c4b8ad;
    --line: rgba(243, 199, 184, 0.16);
    --glow-rose: rgba(227, 168, 154, 0.22);
    --glow-olive: rgba(143, 160, 108, 0.16);
    --font: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
    --display: "Quicksand", "Nunito", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(circle at 12% -10%, var(--glow-rose), transparent 38%),
        radial-gradient(circle at 88% 8%, var(--glow-olive), transparent 32%),
        radial-gradient(circle at 50% 120%, rgba(196, 91, 122, 0.12), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(255, 196, 90, 0.08), transparent 28%),
        var(--bg);
    line-height: 1.7;
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--olive-soft); text-decoration: none; }
h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 0.55em;
    color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
p { margin: 0 0 1em; color: var(--muted); }

.page { max-width: 1140px; margin: 0 auto; padding: 22px 20px 70px; }
.top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 10px 14px 10px 8px;
    margin-bottom: 28px;
    background: rgba(20, 18, 16, 0.72);
    border: 1px solid var(--line);
    border-radius: 28px;
    backdrop-filter: blur(16px);
}
.brand {
    background: #000;
    border-radius: 20px;
    padding: 8px 12px;
}
.brand img { height: 62px; width: auto; max-width: min(52vw, 340px); object-fit: contain; }
.nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nav a {
    color: #d8cfc6;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.nav a.is-on { color: #1a120f; background: var(--rose); }
.nav-toggle { display: none; color: var(--ink); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font: 800 0.95rem var(--display);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-rose { background: linear-gradient(180deg, #ebb0a3, var(--rose-deep)); color: #1b100e; }
.btn-olive { background: linear-gradient(180deg, #a4b57a, #6f814e); color: #10140b; }
.btn-line { background: transparent; color: var(--blush); border: 1px solid rgba(243, 199, 184, 0.35); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.text-link { font-weight: 800; color: var(--rose); font-family: var(--display); }
.eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--olive-soft);
    font-weight: 800;
    font-family: var(--display);
    margin-bottom: 12px;
}
.lead { font-size: 1.16rem; max-width: 38rem; color: #d9cfc6; }

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 12px 0 46px;
}
.hero-mark {
    background: linear-gradient(180deg, #161311, #050504);
    border-radius: 36px;
    padding: 28px;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-mark img { width: 100%; height: auto; border-radius: 24px; object-fit: cover; max-height: 420px; }

.photos {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin: 0 0 42px;
}
.photos.tight { margin-bottom: 28px; }
.photos figure {
    margin: 0;
    background: #080706;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid rgba(243, 199, 184, 0.22);
    box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.photos img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.photos-wide { grid-column: 1 / -1; }
.photos-wide img { height: 280px; }
.photos figcaption {
    padding: 10px 16px 14px;
    font-family: var(--display);
    font-weight: 700;
    color: var(--blush);
    font-size: 0.95rem;
}

.band, .page-head, .preview, .article { padding: 10px 0 36px; }
.band {
    background: linear-gradient(180deg, var(--paper), #171411);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 36px;
    margin-bottom: 36px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}
.band.center { text-align: center; }
.band.center .lead, .band.center p { margin-left: auto; margin-right: auto; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 48px;
}
.cards article {
    background: var(--paper);
    border-radius: 28px;
    padding: 26px;
    border: 1px solid var(--line);
    min-height: 100%;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.cards article:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 168, 154, 0.35);
}
.cards span {
    display: block;
    color: var(--rose);
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.cards.tall article { min-height: 220px; }

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
}
.split-photo {
    background: #050505;
    border-radius: 32px;
    padding: 20px;
    border: 1px solid var(--line);
}
.prose p { font-size: 1.06rem; }

.preview-head, .toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 20px;
}
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post-grid.wide { grid-template-columns: repeat(2, 1fr); }
.post-card {
    display: block;
    background: var(--paper);
    border-radius: 28px;
    padding: 26px;
    border: 1px solid var(--line);
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 160, 108, 0.4);
}
.post-card time { color: var(--olive-soft); font-size: 0.85rem; font-weight: 700; }
.post-card h3 { margin-top: 8px; }

.article time { color: var(--olive-soft); }
.contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}
.form, .login-box, aside {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
}
label { display: block; margin-bottom: 14px; font-weight: 700; color: #efe6dc; }
input, textarea, select {
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 14px;
    font: 500 1rem var(--font);
    background: #12100e;
    color: var(--ink);
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid rgba(227, 168, 154, 0.4);
    border-color: transparent;
}
.notice {
    background: rgba(143, 160, 108, 0.16);
    color: var(--olive-soft);
    padding: 12px 14px;
    border-radius: 16px;
}
.notice.error { background: rgba(196, 91, 122, 0.16); color: #f0b4c0; }
.tiny { font-size: 0.85rem; color: #9d9388; }
.foot {
    margin-top: 50px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--bg-soft);
    display: grid;
    gap: 16px;
}
.foot img { height: 46px; background: #000; border-radius: 14px; padding: 6px; }
.foot div:nth-child(2) { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: #d8cfc6; font-weight: 700; }

.admin {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 100vh;
    background: var(--bg);
}
.side {
    background: #0a0908;
    color: #fff;
    padding: 24px 18px;
    border-right: 1px solid var(--line);
}
.side img { margin-bottom: 24px; border-radius: 16px; }
.side a { display: block; color: var(--blush); padding: 10px 8px; border-radius: 12px; font-weight: 700; }
.side a:hover { background: rgba(255,255,255,0.04); }
.admin-main { padding: 36px; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 18px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.inline { display: inline; }
.linkish { background: none; border: 0; color: var(--rose); cursor: pointer; font: inherit; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 10%, var(--glow-rose), transparent 30%),
        #0a0908;
}
.login-box { width: min(420px, 92vw); }
.login-box img { margin-bottom: 16px; border-radius: 16px; }

@media (max-width: 860px) {
    .top { grid-template-columns: 1fr auto; }
    .nav { display: none; grid-column: 1 / -1; flex-direction: column; }
    .nav.open { display: flex; }
    .nav-toggle { display: inline-block; background: none; border: 0; font-size: 1.4rem; }
    .hero, .cards, .split, .post-grid, .contact, .admin, .photos {
        grid-template-columns: 1fr;
    }
    .photos img, .photos-wide img { height: 210px; }
    .top .btn { display: none; }
}
