:root {
    --asc-black: #0B0B0B;
    --asc-charcoal: #141414;
    --asc-gold: #FFFFFF;
    --asc-sand: #E6E6E6;
    --asc-ivory: #FFFFFF;
    --asc-red: #B3261E;
    --asc-brick: #6F1010;
    --asc-muted-brown: #2A2A2A;
    --asc-ink: #080604;
    --asc-line: rgba(255, 255, 255, 0.28);
    --asc-panel: rgba(20, 20, 20, 0.92);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--asc-ivory);
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(179, 38, 30, 0.16), transparent 34rem),
        linear-gradient(135deg, rgba(179, 38, 30, 0.18), transparent 28rem),
        var(--asc-black);
    background-size: auto, auto, auto;
    background-position: center;
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: var(--site-bg-opacity, 0.45);
    background-image: var(--site-bg-image, none);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    mix-blend-mode: screen;
}

.site-header,
main,
.site-footer,
.admin-shell,
.login-card {
    position: relative;
    z-index: 2;
}

body.lightbox-active {
    overflow: hidden;
}

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

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

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.05;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(1.85rem, 4vw, 3.35rem);
}

h3 {
    font-size: 1.35rem;
}

input,
select,
textarea,
button {
    font: inherit;
}

label {
    display: grid;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.field-hint {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    padding: 0.85rem 0.95rem;
    color: var(--asc-ivory);
    background: rgba(11, 11, 11, 0.78);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--asc-gold);
    box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.28);
}

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

.narrow {
    width: min(880px, calc(100% - 2rem));
}

.section {
    padding: 5.5rem 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    color: var(--asc-gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 1.6rem;
    height: 1px;
    background: var(--asc-gold);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.row-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.8rem 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
    color: var(--asc-ivory);
    background: linear-gradient(180deg, #D9342C, var(--asc-red));
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.45);
}

.button-secondary,
.button-small {
    color: var(--asc-ivory);
    background: rgba(20, 20, 20, 0.8);
    border-color: var(--asc-gold);
}

.button-danger {
    border-color: rgba(179, 38, 30, 0.8);
    color: #fff;
    background: rgba(179, 38, 30, 0.22);
}

.button-small {
    min-height: 2.2rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
}

.text-link {
    color: var(--asc-gold);
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
}

.pinstripe {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--asc-gold), var(--asc-red), var(--asc-gold), transparent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 11, 11, 0.96);
    border-bottom: 2px solid var(--asc-gold);
    box-shadow: var(--shadow);
}

.header-topline {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 0.42rem 1rem;
    color: var(--asc-black);
    background: var(--asc-gold);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.85rem 0;
}

.brand-lockup,
.admin-brand,
.login-badge {
    display: inline-grid;
    gap: 0.15rem;
    justify-items: center;
    color: var(--asc-ivory);
}

.brand-logo-image {
    width: clamp(140px, 18vw, 240px);
    max-height: 76px;
    object-fit: contain;
}

.footer-logo-image {
    width: min(260px, 100%);
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 0.85rem;
}

.logo-preview-thumb {
    background: var(--asc-black);
    padding: 0.65rem;
    object-fit: contain;
}

.asc-logo-text {
    display: inline-block;
    color: var(--asc-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 0.9;
    text-shadow:
        2px 2px 0 var(--asc-ivory),
        -1px -1px 0 var(--asc-ivory),
        0 4px 0 rgba(0, 0, 0, 0.45);
}

.asc-logo-text.small {
    font-size: 2rem;
}

.brand-subtitle {
    color: var(--asc-ivory);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.primary-nav a {
    border-radius: 6px;
    padding: 0.72rem 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.admin-nav a:hover,
.admin-nav a.is-active {
    color: var(--asc-black);
    background: var(--asc-gold);
}

.header-cta {
    border: 1px solid var(--asc-gold);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--asc-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--asc-gold);
    border-radius: 6px;
    background: transparent;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0.25rem auto;
    background: var(--asc-gold);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(179, 38, 30, 0.28), transparent 18rem),
        linear-gradient(135deg, var(--asc-brick), var(--asc-black) 52%);
    background-size: auto, auto;
    background-position: center;
    border-bottom: 1px solid var(--asc-line);
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: var(--home-hero-bg-opacity, 0.45);
    background-image: var(--home-hero-bg-image, none);
    background-size: cover;
    background-position: center;
}

.hero-mural {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(rgba(11, 11, 11, 0.62), rgba(11, 11, 11, 0.9)),
        radial-gradient(circle at 78% 28%, rgba(179, 38, 30, 0.28), transparent 18rem),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 11px);
    background-size: auto, auto, 58px 100%, auto;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 2rem;
}

.hero-subheadline,
.page-hero p,
.section-heading p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.hero-actions,
.stacked-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.6rem 0;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.service-badges.centered {
    justify-content: center;
}

.service-badges span,
.featured-ribbon {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    border: 1px solid var(--asc-gold);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: var(--asc-ivory);
    background: rgba(11, 11, 11, 0.58);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.poster-panel,
.signboard {
    border: 2px solid var(--asc-gold);
    border-radius: 8px;
    padding: 0.7rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
        rgba(11, 11, 11, 0.76);
    box-shadow: var(--shadow);
}

.poster-sign,
.signboard {
    min-height: 420px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(179, 38, 30, 0.2), transparent 15rem),
        linear-gradient(180deg, rgba(20, 20, 20, 0.85), rgba(11, 11, 11, 0.94));
}

.poster-sign.has-featured-image {
    align-content: stretch;
    padding: 0.85rem;
}

.hero-featured-frame {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--asc-gold);
    border-radius: 6px;
    background: var(--asc-black);
}

.hero-featured-frame img {
    width: 100%;
    min-height: 300px;
    max-height: 460px;
    opacity: var(--page-featured-image-opacity, 1);
    object-fit: cover;
}

.poster-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.8rem 0 0.2rem;
    color: var(--asc-gold);
    text-transform: uppercase;
}

.poster-caption strong {
    font-size: 1rem;
}

.poster-city {
    color: var(--asc-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
}

.poster-asc {
    font-size: 6.5rem;
}

.poster-sign strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.poster-car {
    position: relative;
    width: min(360px, 100%);
    height: 82px;
    margin: 0.5rem 0;
}

.poster-car::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 28%;
    height: 42%;
    border: 3px solid var(--asc-gold);
    border-bottom-width: 6px;
    border-radius: 100% 100% 24px 24px;
}

.poster-car::after {
    content: "";
    position: absolute;
    inset: auto 6% 10% 6%;
    height: 8px;
    border-radius: 999px;
    background: var(--asc-red);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(179, 38, 30, 0.22), transparent 24rem),
        var(--asc-brick);
    background-size: auto, auto;
    background-position: center;
    border-bottom: 1px solid var(--asc-line);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: var(--page-hero-bg-opacity, 0.45);
    background-image: var(--page-hero-image, var(--default-page-hero-image, none));
    background-size: cover;
    background-position: center;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.72), rgba(11, 11, 11, 0.94)),
        radial-gradient(circle at center, rgba(179, 38, 30, 0.22), transparent 24rem);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.gallery-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.88), rgba(11, 11, 11, 0.96));
}

.gallery-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: var(--gallery-section-bg-opacity, 0.45);
    background-image: var(--gallery-section-bg-image, none);
    background-size: cover;
    background-position: center;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
}

.card-grid,
.gallery-grid,
.gallery-album-grid,
.bullet-grid,
.quick-link-grid,
.stats-grid {
    display: grid;
    gap: 1rem;
}

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

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vintage-card,
.service-card,
.gallery-card,
.contact-panel,
.booking-form,
.admin-panel,
.stat-card,
.login-card {
    position: relative;
    border: 1px solid var(--asc-line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
        var(--asc-panel);
    box-shadow: var(--shadow);
}

.vintage-card,
.service-card,
.contact-panel,
.booking-form,
.admin-panel,
.stat-card,
.login-card {
    padding: 1.35rem;
}

.vintage-card::before,
.service-card::before,
.gallery-card::before,
.admin-panel::before {
    content: "";
    position: absolute;
    inset: 7px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
}

.card-number,
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    color: var(--asc-black);
    background: var(--asc-gold);
    font-weight: 900;
}

.service-icon {
    min-width: auto;
    padding: 0 0.75rem;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.service-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--asc-line);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
}

.rich-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.07rem;
}

.signboard {
    min-height: 320px;
}

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

.bullet-card {
    border: 1px solid var(--asc-line);
    border-radius: 8px;
    padding: 1rem;
    color: var(--asc-ivory);
    background: rgba(11, 11, 11, 0.65);
    font-weight: 900;
}

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

.gallery-album-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 470px), 1fr));
    align-items: start;
    gap: 1.25rem;
}

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

.gallery-card {
    overflow: hidden;
}

.gallery-card.full {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: stretch;
}

.gallery-album-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.before-after-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.7rem;
}

.gallery-photo-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.8rem;
}

.before-after-pair figure,
.gallery-photo-strip figure {
    position: relative;
    min-width: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    overflow: hidden;
    background: var(--asc-black);
}

.lightbox-link {
    display: block;
    cursor: zoom-in;
}

.lightbox-link::after {
    content: attr(data-lightbox-label);
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
    color: var(--asc-ivory);
    background: rgba(11, 11, 11, 0.68);
    font-size: 0.68rem;
    font-weight: 900;
    opacity: 0.92;
    transform: translateY(0);
    transition: opacity 160ms ease, transform 160ms ease;
}

.lightbox-link:hover::after,
.lightbox-link:focus::after {
    opacity: 1;
    transform: translateY(0);
}

.before-after-pair img,
.gallery-photo-strip img,
.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-photo-strip img,
.gallery-photo-strip .image-placeholder {
    aspect-ratio: 1 / 1;
}

.image-placeholder {
    display: grid;
    place-items: center;
    color: var(--asc-gold);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 50%),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 6px, transparent 6px, transparent 12px),
        var(--asc-charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 900;
}

figcaption {
    position: absolute;
    left: 0.55rem;
    bottom: 0.55rem;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    color: var(--asc-black);
    background: var(--asc-gold);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-caption {
    padding: 1.2rem;
}

.gallery-album-card .gallery-caption {
    padding-top: 0.7rem;
}

.gallery-caption span,
.vehicle-info {
    color: var(--asc-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-caption h2,
.gallery-caption h3 {
    margin: 0.25rem 0 0.75rem;
}

.featured-ribbon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    color: var(--asc-black);
    background: var(--asc-gold);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.86);
}

.lightbox-modal.is-open {
    display: grid;
}

.lightbox-dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: 92vh;
    display: grid;
    gap: 0.8rem;
    border: 2px solid var(--asc-gold);
    border-radius: 8px;
    padding: 0.8rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent),
        var(--asc-black);
    box-shadow: var(--shadow);
}

.lightbox-modal img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 6px;
    background: var(--asc-charcoal);
}

.lightbox-caption {
    margin: 0;
    color: var(--asc-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 900;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -0.85rem;
    right: -0.85rem;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--asc-gold);
    border-radius: 999px;
    color: var(--asc-black);
    background: var(--asc-gold);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    background:
        linear-gradient(90deg, rgba(179, 38, 30, 0.46), rgba(255, 255, 255, 0.1)),
        var(--asc-charcoal);
    background-size: auto, auto;
    background-position: center;
    border-top: 1px solid var(--asc-line);
    border-bottom: 1px solid var(--asc-line);
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: var(--cta-bg-opacity, 0.45);
    background-image: var(--cta-bg-image, none);
    background-size: cover;
    background-position: center;
}

.cta-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(20, 20, 20, 0.82);
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 1.25rem;
    align-items: start;
}

.contact-line {
    border-top: 1px solid var(--asc-line);
    padding: 1rem 0;
}

.contact-line span {
    display: block;
    color: var(--asc-gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hours-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

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

.booking-form,
.admin-form {
    display: grid;
    gap: 1rem;
}

.alert {
    border-radius: 8px;
    padding: 1rem;
    font-weight: 800;
}

.alert-success {
    color: var(--asc-black);
    background: #F2F2F2;
}

.alert-error {
    color: #fff;
    background: rgba(179, 38, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer {
    background: #070707;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1.5rem;
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0;
}

.footer-list {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.78);
}

.footer-list a:hover {
    color: var(--asc-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 1.4rem;
    color: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-body {
    background: var(--asc-ivory);
    color: var(--asc-black);
}

.admin-body::before,
.admin-login-body::before,
.admin-body::after,
.admin-login-body::after {
    display: none;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    color: var(--asc-ivory);
    background: var(--asc-black);
    border-right: 3px solid var(--asc-gold);
}

.admin-brand {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--asc-line);
}

.admin-nav {
    display: grid;
    gap: 0.35rem;
}

.admin-nav a {
    border-radius: 6px;
    padding: 0.8rem 0.9rem;
    color: var(--asc-ivory);
    font-weight: 900;
}

.admin-main {
    padding: 1.5rem;
    color: var(--asc-black);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-topbar .eyebrow {
    color: var(--asc-red);
}

.admin-topbar .eyebrow::before,
.admin-topbar .eyebrow::after {
    background: var(--asc-red);
}

.admin-panel,
.stat-card,
.login-card {
    color: var(--asc-ivory);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        var(--asc-charcoal);
    margin-bottom: 1rem;
}

.admin-grid {
    margin-bottom: 1rem;
}

.stat-card span {
    display: block;
    color: var(--asc-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    margin-top: 0.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
}

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

.quick-link-grid a {
    border: 1px solid var(--asc-line);
    border-radius: 8px;
    padding: 1rem;
    color: var(--asc-ivory);
    background: rgba(11, 11, 11, 0.48);
    font-weight: 900;
}

.quick-link-grid a:hover {
    border-color: var(--asc-gold);
    color: var(--asc-gold);
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.panel-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.panel-note {
    color: rgba(255, 255, 255, 0.72);
}

.image-setting-field {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    border: 1px solid var(--asc-line);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(11, 11, 11, 0.35);
}

.admin-subsections {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-subsections h3 {
    font-size: 1.4rem;
}

.admin-fieldset {
    border: 1px solid var(--asc-line);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(11, 11, 11, 0.28);
}

.admin-fieldset legend {
    padding: 0 0.5rem;
    color: var(--asc-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--asc-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-table p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.table-actions form {
    margin: 0;
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    color: var(--asc-black);
    background: var(--asc-sand);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-pill.active,
.status-pill.published,
.status-pill.completed {
    background: #FFFFFF;
}

.status-pill.inactive,
.status-pill.draft,
.status-pill.archived {
    background: #bbb;
}

.status-pill.new {
    background: var(--asc-gold);
}

.status-pill.contacted,
.status-pill.scheduled {
    background: #E6E6E6;
}

.admin-thumb,
.booking-photo {
    width: min(320px, 100%);
    border: 1px solid var(--asc-gold);
    border-radius: 8px;
    margin-top: 1rem;
}

.admin-mini-thumb {
    width: 70px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--asc-line);
}

.thumb-pair,
.admin-image-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
}

.checkbox-label input {
    width: auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.detail-grid div,
.detail-copy {
    border: 1px solid var(--asc-line);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(11, 11, 11, 0.45);
}

.detail-grid span {
    display: block;
    color: var(--asc-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.detail-copy {
    margin-top: 1rem;
}

.filter-form {
    min-width: 180px;
}

.sticky-save {
    position: sticky;
    bottom: 1rem;
    z-index: 3;
    width: fit-content;
}

.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        radial-gradient(circle at top, rgba(179, 38, 30, 0.28), transparent 24rem),
        var(--asc-black);
}

.login-card {
    width: min(460px, 100%);
}

.login-badge {
    margin-bottom: 1rem;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .primary-nav,
    .header-cta {
        display: none;
    }

    .primary-nav.is-open {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        border-top: 1px solid var(--asc-line);
        padding-top: 0.75rem;
    }

    .header-cta.is-open {
        display: inline-flex;
        grid-column: 1 / -1;
        justify-content: center;
    }

    .hero-grid,
    .split-layout,
    .contact-grid,
    .footer-inner,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

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

    .card-grid.four,
    .preview-grid,
    .card-grid.three,
    .bullet-grid,
    .stats-grid,
    .quick-link-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    h1 {
        font-size: 2.55rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .header-topline {
        gap: 0.55rem;
    }

    .brand-lockup {
        justify-items: start;
    }

    .brand-logo-image {
        width: min(190px, 58vw);
        max-height: 64px;
    }

    .asc-logo-text {
        font-size: 2.55rem;
    }

    .poster-asc {
        font-size: 4.5rem;
    }

    .poster-sign {
        min-height: 330px;
        padding: 1.25rem;
    }

    .hero-actions,
    .cta-inner,
    .row-heading,
    .panel-heading,
    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .button,
    .header-cta {
        width: 100%;
    }

    .form-grid,
    .gallery-grid,
    .card-grid.four,
    .preview-grid,
    .card-grid.three,
    .bullet-grid,
    .stats-grid,
    .quick-link-grid,
    .detail-grid,
    .admin-nav {
        grid-template-columns: 1fr;
    }

    .before-after-pair,
    .gallery-photo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lightbox-modal {
        padding: 0.75rem;
    }

    .lightbox-close {
        top: 0.2rem;
        right: 0.2rem;
    }

    .admin-main {
        padding: 1rem;
    }

    .footer-bottom {
        display: grid;
    }
}
