@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Poppins:wght@100;200;300&display=swap");

:root {
    color-scheme: dark;
    --black: #050505;
    --ink: #101010;
    --panel: #151515;
    --line: #303030;
    --muted: #a9a9a9;
    --soft: #e8e8e8;
    --white: #ffffff;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    gap: 14px;
    padding: 18px 20px 16px;
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.home-mark {
    display: grid;
    width: 100px;
    height: 100px;
    place-items: center;
    background: #000;
    border: 0;
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
}

.home-mark img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.brand-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.brand-strip a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--white);
    border: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    overflow: hidden;
}

.brand-strip img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.intro {
    display: grid;
    min-height: 48vh;
    align-items: end;
    padding: 84px 20px 56px;
    border-bottom: 1px solid var(--line);
}

.intro > div,
.section-shell,
.site-footer {
    width: min(980px, 100%);
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 16px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(48px, 10vw, 112px);
    line-height: 0.9;
    letter-spacing: 0;
    font-weight: 500;
}

.intro p:last-child {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--soft);
    font-size: 18px;
}

.brand-section {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 38%),
        var(--black);
}

.section-shell {
    padding: 74px 20px;
}

.brand-kicker {
    width: max-content;
    margin-bottom: 14px;
    padding-bottom: 6px;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    font-size: 13px;
    font-weight: 800;
}

h2 {
    margin-bottom: 26px;
    color: var(--white);
    font-family: "Poppins", Inter, sans-serif;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 100;
    text-transform: lowercase;
}

.slider {
    position: relative;
    overflow: hidden;
    width: min(760px, 100%);
    margin-bottom: 26px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, #303030);
    background: #0d0d0d;
}

.slider.is-landscape {
    aspect-ratio: 3 / 2;
}

.slider.is-portrait {
    width: min(520px, 100%);
    aspect-ratio: 4 / 5;
}

.slides,
.slide {
    position: absolute;
    inset: 0;
}

.slide {
    margin: 0;
    opacity: 0;
    transition: opacity 420ms ease;
}

.slide.is-active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-slide {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 28px;
    color: var(--white);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
        #111;
}

.placeholder-slide span {
    font-size: clamp(24px, 6vw, 54px);
    font-weight: 800;
    line-height: 1;
}

.placeholder-slide small {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.slider-controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.slider-controls button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: var(--white);
    cursor: pointer;
    pointer-events: auto;
}

.dots {
    display: flex;
    gap: 7px;
}

.dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.dots span.is-active {
    background: var(--accent);
}

.summary {
    width: min(650px, 100%);
    margin-bottom: 22px;
    color: var(--soft);
    font-size: 17px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid color-mix(in srgb, var(--accent) 65%, #555);
    background: color-mix(in srgb, var(--accent) 12%, #111);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.cta:hover {
    background: var(--accent);
    color: #000;
}

.site-footer {
    padding: 32px 20px;
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}

.admin-body {
    background: #0a0a0a;
}

.admin-shell {
    width: min(1120px, 100%);
    margin-inline: auto;
    padding: 28px 18px 64px;
}

.login-panel,
.admin-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.login-panel {
    width: min(440px, 100%);
    margin: 10vh auto;
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-topbar h1,
.login-panel h1 {
    margin: 0;
    font-size: clamp(32px, 7vw, 62px);
}

.admin-actions,
.media-row,
.upload-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.admin-card {
    margin-bottom: 18px;
    padding: 22px;
}

.admin-card h2,
.brand-editor h3 {
    margin-bottom: 14px;
}

.brand-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.brand-panel-head h2 {
    margin-bottom: 8px;
}

.brand-badge {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
    gap: 18px;
}

.brand-panel-main,
.brand-panel-side {
    display: grid;
    gap: 16px;
}

.brand-panel-side {
    align-content: start;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form label,
.upload-form {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.upload-form input[type="file"] {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #3b3b3b;
    border-radius: 6px;
    background: #080808;
    color: var(--white);
    padding: 11px 12px;
}

.brand-editor {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.upload-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #111;
}

.admin-button,
.admin-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white);
    border-radius: 6px;
    background: var(--white);
    color: #000;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.admin-button.is-ghost,
.admin-link {
    background: transparent;
    color: var(--white);
}

.admin-button.is-danger {
    border-color: #b60505;
    background: #b60505;
    color: #fff;
}

.alert {
    border-radius: 6px;
    padding: 10px 12px;
    font-weight: 700;
}

.alert-success {
    border: 1px solid #7bc67b;
    background: rgba(123, 198, 123, 0.14);
}

.alert-error {
    border: 1px solid #d15a5a;
    background: rgba(209, 90, 90, 0.14);
}

.admin-note {
    color: var(--muted);
    font-size: 13px;
}

.media-preview {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #050505;
}

.media-preview.is-logo {
    width: 80px;
    height: 80px;
    font-weight: 900;
}

.brand-panel-side .media-preview.is-logo {
    width: 120px;
    height: 120px;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.gallery-admin article {
    display: grid;
    gap: 8px;
}

.gallery-admin img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #050505;
}

@media (max-width: 720px) {
    .site-header {
        position: static;
    }

    .intro {
        min-height: 38vh;
        padding-top: 48px;
    }

    .section-shell {
        padding-block: 54px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .brand-panel-head {
        flex-direction: column;
    }

    .brand-panel-grid {
        grid-template-columns: 1fr;
    }
}
