@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&display=swap");

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
    --red: #c8102e;
    --red-dark: #9f0c24;
    --gold: #d6a400;
    --ink: #171717;
    --muted: #646464;
    --line: #e7e7e3;
    --paper: #ffffff;
    --soft: #f7f7f5;
    --dark: #161412;
    --space: clamp(4rem, 7vw, 7rem);
    --shell: 1360px;
    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --font-official: var(--font-body);
    --tracking-body: .01em;
    --line-body: 1.72;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-official); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: var(--line-body); letter-spacing: var(--tracking-body); font-synthesis: none; -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
a:hover { color: var(--red-dark); }
button { cursor: pointer; }
.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin: 0 0 1rem; color: var(--red); font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.section-title { margin: 0; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 4.4rem); font-weight: 600; letter-spacing: .015em; line-height: 1.08; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.text-link { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; padding: .9rem 1.4rem; border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-family: var(--font-body); font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { border-color: var(--red); background: var(--red); color: #fff; }
.btn-primary:hover { border-color: var(--red-dark); background: var(--red-dark); color: #fff; }
.btn-small { min-height: 38px; padding: .65rem 1rem; }
.tag { display: inline-flex; width: fit-content; padding: .42rem .62rem; border-radius: 3px; background: var(--gold); color: #fff; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.empty-state { padding: 4rem 2rem; border: 1px dashed #cfcfca; border-radius: 8px; text-align: center; color: var(--muted); background: var(--soft); }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 2rem; }
.brand { flex: 0 0 auto; }
.brand img { width: auto; height: 60px; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 1.5vw, 1.6rem); margin-left: auto; }
.primary-nav a, .header-admin { padding: .75rem 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.primary-nav a:hover { border-bottom-color: var(--red); color: var(--ink); }
.header-admin { padding: .7rem 1.1rem; border: 0; border-radius: 4px; background: var(--red); color: #fff; }
.header-admin:hover { background: var(--red-dark); color: #fff; }
.menu-toggle { display: none; margin-left: auto; padding: .5rem; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.landing-hero { overflow: hidden; }
.landing-grid { min-height: 620px; display: grid; grid-template-columns: minmax(400px, .9fr) minmax(460px, 1.1fr); align-items: stretch; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 5.5rem 2.5rem 6rem 0; }
.hero-kicker { margin: 0 0 1.75rem; color: var(--gold); font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hero-title { margin: 0; font-family: var(--font-display); font-size: clamp(4.5rem, 7.2vw, 6.8rem); font-weight: 700; letter-spacing: .005em; line-height: 1; text-transform: uppercase; }
.hero-title .accent { color: var(--red); }
.hero-rule { width: 56px; height: 3px; margin: 2.2rem 0 1.7rem; background: var(--gold); }
.hero-copy > p:not(.hero-kicker) { max-width: 510px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-image { position: relative; min-height: 620px; background: var(--soft) center 28% / cover no-repeat; }
.hero-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0, rgba(255,255,255,.15) 22%, transparent 45%); }
.hero-image::after { content: "CGA"; position: absolute; right: -1.5rem; bottom: -2rem; color: rgba(255,255,255,.2); font-family: var(--font-display); font-size: 10rem; font-weight: 700; letter-spacing: -.08em; }
.hero-caption { position: absolute; right: 1.5rem; bottom: 1.5rem; max-width: 220px; padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: rgba(20,18,16,.85); color: #fff; font-size: .7rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }

.metrics { border-block: 1px solid var(--line); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 3.25rem; }
.metric { display: flex; justify-content: center; gap: 1rem; padding: 0 1.5rem; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-number { margin: 0; font-family: var(--font-display); font-size: 3.3rem; font-weight: 600; line-height: 1; }
.metric-label { margin: .5rem 0 0; color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.metric-symbol { color: var(--gold); font-family: var(--font-display); font-size: 1.8rem; }

.section { padding-block: var(--space); }
.section-soft { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.feature-card { position: relative; min-height: 470px; overflow: hidden; border-radius: 8px; background: var(--dark) center / cover no-repeat; color: #fff; }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,12,10,.96), rgba(15,12,10,.05) 75%); }
.feature-content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 2rem; }
.feature-content h3 { max-width: 680px; margin: .9rem 0; font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 3.5rem); font-weight: 600; letter-spacing: 0; line-height: 1.15; }
.feature-content p { max-width: 660px; color: rgba(255,255,255,.72); line-height: 1.65; }
.feature-content a { color: #fff; }
.spotlight-stack { display: grid; gap: 1rem; }
.spotlight-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 225px; padding: 1.6rem; border-radius: 8px; background: var(--soft); }
.spotlight-card.gold { background: var(--gold); color: #fff; }
.spotlight-card.red { background: var(--red); color: #fff; }
.spotlight-card h3 { margin: 1.5rem 0 .6rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.spotlight-card p { margin: 0; line-height: 1.55; opacity: .78; }
.spotlight-card a { color: inherit; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.content-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.content-card-body { padding: 1.4rem; }
.content-card time, .meta { display: block; margin-bottom: .65rem; color: var(--red); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.content-card h2, .content-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.content-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.content-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.result-list { border-top: 1px solid var(--line); }
.result-row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 1.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.result-date { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; }
.result-row h3 { margin: 0 0 .35rem; font-size: 1rem; }
.result-row p { margin: 0; color: var(--muted); font-size: .78rem; }

.page-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-hero-inner { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.page-hero h1 { max-width: 900px; margin: 0; font-family: var(--font-display); font-size: clamp(2.8rem, 4.75vw, 5.5rem); font-weight: 700; letter-spacing: .005em; line-height: 1; text-transform: uppercase; }
.page-intro { max-width: 680px; margin: 1.5rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.page-hero-mark { color: var(--red); font-family: var(--font-display); font-size: clamp(6rem, 15vw, 13rem); font-weight: 700; letter-spacing: -.1em; opacity: .06; }
.listing-wrap { padding-block: var(--space); }
.detail-shell { width: min(880px, calc(100% - 48px)); margin-inline: auto; padding-block: var(--space); }
.detail-shell .lead { color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.detail-image { width: 100%; max-height: 520px; margin: 2rem 0; border-radius: 8px; object-fit: cover; }
.prose { color: #343434; font-size: 1rem; line-height: 1.8; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.contact-panel { padding: 2rem; border-radius: 8px; background: var(--dark); color: #fff; }
.contact-panel a { color: var(--gold); }

.site-footer { border-top: 1px solid var(--line); background: #fbfbfa; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 4rem; padding-block: 4rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.footer-logo { width: auto; height: 105px; }
.footer-grid p:not(.eyebrow) { max-width: 430px; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.footer-grid a { color: var(--muted); font-size: .78rem; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 1.4rem; border-top: 1px solid var(--line); color: #8b8b88; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.admin-body { min-height: 100vh; background: #f4f4f1; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: 260px; height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding: 1.5rem; overflow: hidden; background: var(--dark); color: #fff; }
.admin-brand { flex: 0 0 auto; display: flex; align-items: center; gap: .9rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.admin-brand img { width: 72px; padding: .3rem; border-radius: 4px; background: #fff; }
.admin-brand span { font-family: var(--font-body); font-size: .86rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.admin-nav { flex: 1 1 auto; min-height: 0; display: grid; gap: .35rem; margin: 1.5rem -.65rem 0 0; padding-right: .65rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgba(255,255,255,.28) transparent; scrollbar-width: thin; }
.admin-nav::-webkit-scrollbar { width: 6px; }
.admin-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.28); }
.admin-nav-heading { margin: .9rem 0 .1rem; padding: 0 1rem; color: rgba(255,255,255,.4); font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-nav a { padding: .78rem 1rem; border-radius: 4px; color: rgba(255,255,255,.7); font-family: var(--font-body); font-size: .9rem; font-weight: 600; letter-spacing: .05em; }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar-footer { flex: 0 0 auto; display: grid; gap: .7rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.admin-sidebar-footer a { color: rgba(255,255,255,.65); font-size: .72rem; }
.admin-sidebar-footer form, .admin-topbar-actions form { margin: 0; }
.admin-sidebar-signout { width: 100%; padding: .7rem .8rem; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: rgba(255,255,255,.06); color: #fff; text-align: left; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.admin-sidebar-signout:hover { background: rgba(255,255,255,.12); }
.admin-workspace { min-height: 100vh; margin-left: 260px; }
.admin-topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 2.5rem; border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.admin-topbar-actions { display: flex; align-items: center; gap: .75rem; }
.admin-signout { padding: .52rem .75rem; border: 1px solid #d7d7d2; border-radius: 4px; background: #fff; color: var(--red); font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.admin-signout:hover { border-color: var(--red); background: #fff5f6; }
.status-pill { padding: .4rem .65rem; border-radius: 999px; background: #ecf6ef; color: #28713d; font-family: var(--font-body); font-size: .7rem; font-weight: 700; }
.admin-menu-toggle, .admin-menu-close, .admin-menu-backdrop { display: none; }
.admin-content { width: min(1180px, calc(100% - 80px)); margin: 0 auto; padding-block: 3.5rem; }
.admin-page-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.admin-page-head h1 { margin: .3rem 0 0; font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 600; letter-spacing: .015em; line-height: 1.08; }
.admin-page-head p { margin: .6rem 0 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dashboard-card { padding: 1.5rem; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.dashboard-card strong { display: block; margin-bottom: .5rem; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.dashboard-card span { color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-panel { margin-top: 1.5rem; overflow: hidden; border-radius: 8px; background: #fff; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.admin-panel-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: .9rem 1.2rem; background: #fafaf8; color: var(--muted); text-align: left; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.admin-table td { padding: 1rem 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; }
.admin-table .title-cell { max-width: 450px; font-weight: 600; }
.row-actions { display: flex; justify-content: flex-end; gap: .5rem; }
.row-actions form { margin: 0; }
.action-link, .danger-link { padding: .4rem .55rem; border: 0; background: transparent; color: var(--red); font-family: var(--font-body); font-size: .78rem; font-weight: 700; }
.danger-link { color: #8b2020; }
.publish-state { display: inline-flex; padding: .35rem .55rem; border-radius: 999px; background: #f3e6e9; color: var(--red); font-family: var(--font-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.publish-state.live { background: #e9f6ed; color: #28713d; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.5rem; padding: 1.5rem; }
.admin-photo-card { padding: .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-photo-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.admin-photo-card p { margin: .5rem 0 .25rem; font-size: .68rem; word-break: break-word; }
.form-shell { max-width: 920px; }
.form-card { padding: 2rem; border-radius: 8px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.field input:not([type=checkbox]), .field textarea, .field select { width: 100%; min-height: 48px; padding: .8rem .9rem; border: 1px solid #d7d7d2; border-radius: 4px; background: #fff; color: var(--ink); }
.field textarea { min-height: 180px; resize: vertical; }
.field textarea.field__textarea--short { min-height: 120px; }
.field textarea.field__textarea--long { min-height: 420px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(200,16,46,.12); border-color: var(--red); }
.field-check { display: flex; align-items: center; gap: .65rem; padding-top: 1.5rem; }
.field-check input { width: 18px; height: 18px; accent-color: var(--red); }
.field-check-group { display: flex; flex-direction: column; gap: .5rem; }
.field-check-group .field-check { padding-top: 0; }
.field-check-group + span { font-size: .78rem; color: var(--muted); }
.validation-summary-errors, .field-validation-error { color: #9f0c24; font-size: .75rem; }
.form-actions { display: flex; align-items: center; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.field-help { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.shop-product-form { max-width: 980px; }
.shop-product-form .admin-page-head { margin-bottom: 1.5rem; }
.shop-product-form__section + .shop-product-form__section { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.shop-product-form__section-heading { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1.35rem; }
.shop-product-form__section-heading h2 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
.shop-product-form__section-heading p { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.shop-product-form__step, .shop-product-form__delivery-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; background: var(--red); font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; }
.shop-product-form__step { width: 30px; height: 30px; border-radius: 50%; font-size: 1rem; }
.shop-product-form__currency { display: flex; align-items: stretch; border: 1px solid #d7d7d2; border-radius: 4px; background: #fff; overflow: hidden; }
.shop-product-form__currency span { display: inline-flex; align-items: center; padding: 0 .9rem; color: var(--muted); background: #f4f4f1; border-right: 1px solid #d7d7d2; font-family: var(--font-body); font-weight: 700; }
.shop-product-form__currency input { min-width: 0; width: 100%; min-height: 48px; padding: .8rem .9rem; border: 0; color: var(--ink); background: transparent; }
.shop-product-form__currency:focus-within { outline: 3px solid rgba(200,16,46,.12); border-color: var(--red); }
.shop-product-form__currency input:focus { outline: 0; }
.shop-product-form__delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.shop-product-form__delivery-card { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .85rem; padding: 1rem; border: 1px solid #e3e3de; border-radius: 6px; background: #fbfbf9; }
.shop-product-form__delivery-icon { width: 36px; height: 36px; border-radius: 5px; font-size: .85rem; }
.shop-product-form__image-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.shop-product-form__image { position: relative; margin: 0; overflow: hidden; border: 1px solid #e3e3de; border-radius: 5px; background: #fbfbf9; }
.shop-product-form__image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.shop-product-form__image figcaption { padding: .45rem .55rem 0; color: var(--muted); font-size: .7rem; }
.shop-product-form__image form { padding: .1rem .55rem .45rem; }
.shop-product-form__image .danger-link { padding: 0; border: 0; background: transparent; font-size: .75rem; }
.alert { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: 5px; }
.alert.success { border: 1px solid #bce1c5; background: #eef8f1; color: #246337; }
.alert.error { border: 1px solid #efb7c0; background: #fff0f2; color: #8f1025; }
.poster-upload-form { border-bottom: 1px solid var(--line); border-radius: 0; }
.poster-upload-form small { color: var(--muted); }
.admin-poster-thumb { width: 58px; height: 76px; border-radius: 4px; object-fit: cover; }
.hero-slide-editor { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.05fr); gap: 2rem; align-items: start; }
.hero-slide-editor__preview { position: relative; aspect-ratio: 16 / 6; overflow: hidden; border-radius: 8px; background: repeating-linear-gradient(45deg, #ece9e4, #ece9e4 10px, #e2ded7 10px, #e2ded7 20px); }
.hero-slide-editor__preview::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,0,0,.52), transparent 62%); pointer-events: none; }
.hero-slide-editor__preview img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .15s ease, object-position .15s ease; }
.hero-slide-editor__preview:not(.has-image) img { display: none; }
.hero-slide-editor__preview-copy { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-slide-editor__controls { display: grid; gap: 1rem; margin-top: 1.25rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.hero-slide-editor__controls label { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-slide-editor__controls input { grid-column: 1 / -1; width: 100%; accent-color: var(--red); }
.hero-slide-editor__controls output { color: var(--red); }
.hero-gallery-picker { margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.hero-gallery-picker > div:first-child { display: grid; gap: .3rem; margin-bottom: 1rem; }
.hero-gallery-picker strong { color: var(--ink); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-gallery-picker > div:first-child span { color: var(--muted); font-size: .84rem; }
.hero-gallery-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .7rem; max-height: 340px; padding-right: .35rem; overflow: auto; }
.hero-gallery-picker__image { position: relative; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: var(--ink); cursor: pointer; }
.hero-gallery-picker__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.hero-gallery-picker__image span { position: absolute; right: 0; bottom: 0; left: 0; padding: .38rem .45rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.hero-gallery-picker__image:hover img, .hero-gallery-picker__image:focus-visible img { transform: scale(1.06); }
.hero-gallery-picker__image.is-selected { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.18); }
.hero-slide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; padding: 1.5rem; background: #fff; }
.hero-slide-list__item { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.hero-slide-list__item > img { display: block; width: 100%; height: 115px; object-fit: cover; transform-origin: center; }
.hero-slide-list__item > div { display: grid; gap: .35rem; padding: 1rem 1rem .75rem; }
.hero-slide-list__item strong { color: var(--red); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-slide-list__item span { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.hero-slide-list__item form { padding: 0 1rem 1rem; }
.hero-crop-editor { padding: 0 1rem 1rem; }
.hero-crop-editor summary { color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .05em; cursor: pointer; text-transform: uppercase; }
.hero-crop-editor[open] summary { margin-bottom: .85rem; }
.hero-crop-editor form { display: grid; gap: .7rem; padding: 0; }
.hero-crop-editor label { display: grid; grid-template-columns: 1fr auto; gap: .3rem .6rem; color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-crop-editor label input { grid-column: 1 / -1; width: 100%; accent-color: var(--red); }
.hero-crop-editor output { color: var(--red); }
.hero-crop-editor .btn { width: 100%; min-height: 38px; padding: .55rem .7rem; font-size: .68rem; }
.hero-crop-editor__preview { aspect-ratio: 16 / 6; overflow: hidden; border-radius: 4px; background: #181818; }
.hero-crop-editor__preview img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel-current { border-top: 1px solid var(--line); background: #fff; }
.hero-carousel-current__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.hero-carousel-current__head h3 { margin: .35rem 0; font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; }
.hero-carousel-current__head p { max-width: 44rem; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.hero-carousel-current__head > span { flex: 0 0 auto; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-slide-list__item--standard { opacity: .8; }
.hero-slide-list__item--standard::after { content: "Standard"; display: block; padding: 0 1rem 1rem; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-carousel-current__note { padding: 0 1.5rem 1.5rem; color: var(--muted); font-size: .82rem; background: #fff; }
.current-file { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.current-file img { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; }
.current-file span { font-size: .8rem; color: var(--muted); }
.current-file a { font-size: .8rem; }
.current-file--empty { border-style: dashed; justify-content: center; }
.current-file--empty span { color: var(--muted); }
.admin-empty-state { margin: 1.5rem; padding: 2rem; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); }
.login-visual { position: relative; background: var(--dark) center / cover no-repeat; }
.login-visual--track { background-image: url("../TRACK AND FIELD PHOTOS/DSC_0602.jpg"); }
.login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.05)); }
.login-quote { position: absolute; z-index: 1; right: 3rem; bottom: 3rem; left: 3rem; color: #fff; }
.login-quote h1 { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6rem); font-weight: 700; letter-spacing: .005em; line-height: 1; text-transform: uppercase; }
.login-panel { display: grid; place-items: center; padding: 3rem; }
.login-card { width: min(440px, 100%); }
.login-card > img { width: 160px; margin-bottom: 3rem; }
.login-card h2 { margin: 0; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.form-grid--spaced { margin-top: 2rem; }

@media (max-width: 1100px) {
    .shell { width: min(100% - 48px, var(--shell)); }
    .menu-toggle { display: block; }
    .primary-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 1.5rem 24px; border-bottom: 1px solid var(--line); background: #fff; flex-direction: column; align-items: stretch; }
    .primary-nav.is-open { display: flex; }
    .header-admin { margin-left: 0; }
    .landing-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: clamp(4rem, 8vw, 6rem); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 32px, var(--shell)); }
    .header-inner { min-height: 68px; }
    .brand img { height: 52px; }
    .header-admin { display: none; }
    .primary-nav { top: 68px; }
    .landing-grid { min-height: auto; grid-template-columns: 1fr; }
    .hero-copy { padding: 4rem 0 3rem; }
    .hero-title { font-size: clamp(3.7rem, 18vw, 5rem); }
    .hero-image { min-height: 440px; margin-inline: -16px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .metric { justify-content: flex-start; padding: 1.25rem; border-bottom: 1px solid var(--line); }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(n+3) { border-bottom: 0; }
    .metric-number { font-size: 2.6rem; }
    .feature-grid, .contact-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 420px; }
    .card-grid { grid-template-columns: 1fr; }
    .result-row { grid-template-columns: 72px 1fr; }
    .result-row .btn { grid-column: 1 / -1; }
    .page-hero-inner { min-height: 270px; }
    .page-hero-mark { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { gap: 1rem; flex-direction: column; }
    .admin-sidebar { width: min(86vw, 320px); padding: 1.25rem; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 18px 0 45px rgba(0,0,0,.28); }
    .admin-menu-open .admin-sidebar { transform: translateX(0); }
    .admin-menu-open { overflow: hidden; }
    .admin-menu-close { position: absolute; z-index: 2; top: .8rem; right: .8rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.7rem; line-height: 1; }
    .admin-menu-backdrop { position: fixed; z-index: 40; inset: 0; display: block; background: rgba(0,0,0,.48); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .admin-menu-open .admin-menu-backdrop { opacity: 1; pointer-events: auto; }
    .admin-brand { padding-right: 3rem; }
    .admin-workspace { margin-left: 0; }
    .admin-menu-toggle { min-width: 72px; min-height: 42px; display: block; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font-weight: 700; }
    .admin-topbar { position: sticky; z-index: 30; top: 0; height: 62px; padding: 0 1rem; }
    .admin-topbar-title, .status-pill { display: none; }
    .admin-content { width: calc(100% - 28px); padding-block: 1.5rem 2.5rem; }
    .admin-page-head { align-items: flex-start; flex-direction: column; }
    .admin-page-head h1 { font-size: 2.4rem; }
    .admin-page-head .btn { width: 100%; }
    .dashboard-grid, .form-grid, .shop-product-form__delivery-grid { grid-template-columns: 1fr; }
    .shop-product-form__image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-card { padding: 1.15rem; }
    .field.full { grid-column: auto; }
    .form-card { padding: 1.25rem; }
    .hero-slide-editor { grid-template-columns: 1fr; }
    .hero-carousel-current__head { align-items: flex-start; flex-direction: column; }
    .form-actions { align-items: stretch; flex-direction: column; }
    .form-actions .btn, .form-actions button { width: 100%; }
    .field input[type=file] { max-width: 100%; }
    .admin-panel-head { align-items: flex-start; flex-direction: column; gap: .75rem; padding: 1rem; }
    .admin-table { min-width: 680px; }
    .admin-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1rem; }
    .row-actions { justify-content: flex-start; }
    .login-page { grid-template-columns: 1fr; }
    .login-visual { display: none; }
    .login-panel { min-height: 100vh; min-height: 100dvh; align-content: center; padding: 1.5rem; }
    .login-card > img { width: 110px; margin-bottom: 1.5rem; }
    .login-card h2 { font-size: 2.25rem; }
    .login-card .page-intro { margin-top: .75rem; font-size: .9rem; }
    .login-card .form-grid--spaced { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
