@font-face {
    font-family: Dana;
    src: url("../fonts/dana/Dana-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Dana;
    src: url("../fonts/dana/Dana-Bold.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Dana;
    src: url("../fonts/dana/Dana-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.site {
    --red: #b42318;
    --red-soft: #f8e8e6;
    --ink: #1c1917;
    --muted: #6b6560;
    --line: #e7e2da;
    --bg: #f6f3ee;
    --paper: #ffffff;
    --navy: #1f1a4d;
    --gold: #9a7b3c;
    --max: 1160px;
    --header: 78px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 14px 40px rgba(28, 25, 23, .06);
    --shadow-lift: 0 20px 48px rgba(28, 25, 23, .1);
    --font: Dana, Tahoma, sans-serif;
    font-family: var(--font);
    background:
        radial-gradient(circle at 12% -8%, rgba(154, 123, 60, .08), transparent 42%),
        radial-gradient(circle at 88% 0%, rgba(31, 26, 77, .05), transparent 36%),
        var(--bg);
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.85;
    letter-spacing: -.01em;
    min-height: 100vh;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.site, .site * { box-sizing: border-box; }
.site h1, .site h2, .site h3, .site h4, .site p { margin: 0; }
.site img, .site video { max-width: 100%; display: block; }
.site a { color: inherit; text-decoration: none; }
.site button, .site input, .site select, .site textarea { font: inherit; color: inherit; }
.site button { background: none; border: 0; cursor: pointer; }
.site h1, .site h2, .site h3, .site h4 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.site .container {
    width: min(var(--max), calc(100% - 32px));
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.site .topbar { background: var(--navy); color: #f4efe6; font-size: 13px; }
.site .topbar .container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.site .header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
}
.site .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: inherit; }
.site .logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}
.site .logo strong, .site .logo small { display: block; }
.site .logo strong { font-size: 16px; font-weight: 700; }
.site .logo small { font-size: 12px; color: var(--muted); font-weight: 400; }

.site .nav-desktop { display: flex; align-items: center; gap: 0; }
.site .nav-desktop > a,
.site .nav-drop > button {
    padding: 8px 10px;
    font-size: 14px;
    background: none;
    border: 0;
    color: inherit;
    white-space: nowrap;
    border-radius: 999px;
    transition: color .3s var(--ease), background .3s var(--ease);
}
.site .nav-desktop > a:hover,
.site .nav-desktop > a.active,
.site .nav-drop.is-open > button,
.site .nav-drop > button:hover { color: var(--red); background: rgba(180, 35, 24, .06); }
.site .nav-drop { position: relative; }
.site .nav-drop > div {
    position: absolute;
    inset-inline-start: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lift);
    padding: 8px 0;
    display: none;
    z-index: 5;
    opacity: 0;
    transform: translateY(6px);
}
.site .nav-drop.is-open > div {
    display: block;
    animation: menuDrop .28s var(--ease) both;
}
@keyframes menuDrop {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.site .nav-drop a { display: block; padding: 8px 16px; font-size: 14px; transition: background .25s var(--ease), color .25s var(--ease); }
.site .nav-drop a:hover,
.site .nav-drop a.active { background: var(--red-soft); }

.site .header-actions { display: flex; align-items: center; gap: 8px; }
.site .icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site .icon-btn:hover {
    transform: translateY(-1px);
    border-color: #d8d0c4;
    box-shadow: var(--shadow);
}
.site .icon-btn .badge {
    position: absolute;
    top: 4px;
    inset-inline-end: 4px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: grid;
    place-items: center;
}
.site .icon-btn .badge.is-empty { display: none; }
.site .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.site .burger i { display: block; width: 18px; height: 2px; background: var(--ink); }

.site .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    box-shadow: none;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
    text-decoration: none;
}
.site .btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.site .btn-red:hover { background: #8f1a12; border-color: #8f1a12; color: #fff; box-shadow: 0 12px 28px rgba(180, 35, 24, .22); }
.site .btn-ghost { border: 1px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.site .btn-ghost:hover { background: #fff; color: var(--ink); }
.site .btn-line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.site .btn-line:hover { background: var(--ink); color: #fff; }
.site .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site .hero {
    position: relative;
    min-height: min(72vh, 640px);
    overflow: hidden;
    background: #111;
}
.site .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .85s var(--ease), visibility .85s;
}
.site .slide.is-on { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.site .slide img, .site .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transform: none;
}
.site .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 14, 12, .82) 8%, rgba(16, 14, 12, .22) 48%, rgba(16, 14, 12, .14));
    pointer-events: none;
}
.site .slide-cap { position: absolute; inset: auto 0 0; z-index: 2; padding: 0 0 72px; }
.site .slide-cap .container { color: #fff; }
.site .slide.is-on .slide-cap .container { animation: siteRise .9s var(--ease) both; }
.site .slide-cap h1 { font-size: clamp(32px, 5.2vw, 58px); max-width: 14ch; font-weight: 700; }
.site .slide-cap p { max-width: 40ch; margin: 14px 0 24px; color: #eee; font-size: 16px; line-height: 1.75; font-weight: 400; }
.site .kicker { color: var(--gold); font-size: 12px; letter-spacing: .12em; margin-bottom: 10px; font-weight: 700; }
.site .hero-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 26px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .28);
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.site .hero-nav.prev { inset-inline-start: 18px; }
.site .hero-nav.next { inset-inline-end: 18px; }
.site .hero-nav:hover {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}
.site .hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 22px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.site .hero-dots button {
    width: 42px;
    height: 4px;
    padding: 0;
    background: rgba(255, 255, 255, .28);
    overflow: hidden;
    position: relative;
    border-radius: 99px;
}
.site .hero-dots .dot-prog {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0;
    background: #fff;
    animation: siteSlideProg 7s linear forwards;
}
@keyframes siteSlideProg { to { width: 100%; } }

.site .alert-strip {
    background: var(--red-soft);
    border-block: 1px solid #ead0cc;
    padding: 12px 0;
    font-size: 14px;
}
.site .alert-strip .container { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.site .alert-strip b { color: var(--red); }
.site .alert-strip .link-more { white-space: nowrap; }

.site .section { padding: 72px 0; }
.site .section-tight { padding: 28px 0 0; }
.site .section-flush { padding-top: 0; }
.site .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}
.site .section-head h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; }
.site .section-head p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 8px; }
.site .link-more {
    color: var(--red);
    font-weight: 600;
    transition: color .25s var(--ease), transform .25s var(--ease);
    display: inline-flex;
    align-items: center;
}
.site .link-more:hover { transform: translateX(-3px); }

.site .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.site .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.site .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.site .page-shell {
    display: grid;
    gap: 22px;
    padding: 28px 0 80px;
}

.site .surface {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site .card {
    display: block;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: inherit;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site a.card:hover, .site .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: #ddd5c8;
    color: inherit;
}
.site .card-img {
    aspect-ratio: 16 / 11;
    background: #ddd center / cover no-repeat;
    transition: transform .7s var(--ease);
}
.site a.card:hover .card-img,
.site .card:hover .card-img { transform: scale(1.04); }
.site .card-body { padding: 16px 18px 20px; }
.site .tag {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--red-soft);
}
.site .card h3 { font-size: 17px; margin: 6px 0; font-weight: 700; }
.site .meta, .site time { font-size: 13px; color: var(--muted); line-height: 1.7; }

.site .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background:
        linear-gradient(145deg, rgba(18, 24, 42, .98), rgba(31, 26, 77, .92)),
        radial-gradient(circle at 20% 20%, rgba(196, 161, 90, .22), transparent 50%);
    color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 8px auto;
    width: min(var(--max), calc(100% - 32px));
    box-shadow: 0 18px 50px rgba(18, 24, 42, .18);
}
.site .stats div { padding: 32px 16px; text-align: center; border-inline-end: 1px solid rgba(255, 255, 255, .12); }
.site .stats strong { display: block; font-size: clamp(24px, 3vw, 34px); white-space: nowrap; }
.site .stats span { color: #f4efe6; }

.site .split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    width: min(var(--max), calc(100% - 32px));
    margin: 8px auto 28px;
}
.site .split-copy { padding: 56px 40px; display: grid; align-content: center; }
.site .split-media { min-height: 360px; position: relative; background: #111; }
.site .split-media video, .site .split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.site .product .card-img { aspect-ratio: 4 / 5; }
.site .price { color: var(--gold); font-weight: 800; font-size: 16px; }
.site .shop-hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.site .shop-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.site .shop-hero img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.site .shop-hero div { padding: 36px 32px; display: grid; align-content: center; gap: 6px; }
.site .media-frame {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    background: #111;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.site .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.site .chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    border-radius: 999px;
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.site .chip.is-on, .site .chip:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-1px);
}

.site .page-hero {
    padding: 56px 0 40px;
    background:
        linear-gradient(180deg, rgba(236, 231, 222, .95), rgba(246, 243, 238, .4)),
        radial-gradient(circle at 88% 12%, rgba(31, 26, 77, .08), transparent 42%);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.site .page-hero::after {
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(154, 123, 60, .16), transparent 70%);
    pointer-events: none;
}
.site .page-hero .container { position: relative; z-index: 1; }
.site .page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.site .page-hero > .container > p,
.site .page-hero .lead {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 52ch;
    margin-top: 8px;
}
.site .crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.site .crumbs a { transition: color .25s var(--ease); }
.site .crumbs a:hover { color: var(--red); }

.site .prose { padding: 48px 0 88px; }
.site .prose-narrow { width: min(800px, calc(100% - 32px)); margin-inline: auto; }
.site .prose h2 { font-size: 26px; margin: 28px 0 10px; }
.site .prose img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.site .photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.site .photo-row img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-sm); }

.site .timeline { display: grid; gap: 16px; }
.site .timeline article {
    display: grid;
    grid-template-columns: 140px 1fr 220px;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.site .timeline article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.site .timeline img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.site .timeline b { color: var(--red); }

.site .form { display: grid; gap: 12px; }
.site .form input, .site .form textarea, .site .form select {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    box-shadow: none;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site .form input:focus, .site .form textarea:focus, .site .form select:focus {
    outline: none;
    border-color: rgba(180, 35, 24, .45);
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .1);
    background: #fff;
}
.site .auth-card {
    width: min(460px, calc(100% - 32px));
    margin: 28px auto 80px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.site .auth-card label {
    display: grid;
    gap: 6px;
    font-size: .9rem;
}

.site .auth-note {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eef6ff;
    color: var(--navy);
}

.site .auth-note.is-error {
    background: #fdecec;
    color: #9b1c1c;
}

.site .otp-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.site .otp-box {
    height: 48px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.site .otp-box:focus {
    outline: none;
    border-color: rgba(180, 35, 24, .45);
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .1);
    transform: translateY(-1px);
}

.site .btn-ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}
.site .auth-card .btn-ghost:hover {
    background: #faf8f4;
    color: var(--ink);
}

.site .comp-card .price {
    margin: 8px 0 12px;
    font-weight: 700;
    color: var(--navy);
}

.site a.profile-tab {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site .dash { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 36px 0 72px; }
.site .side-nav a,
.site .side-nav button {
    display: block;
    width: 100%;
    text-align: right;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
.site .side-nav a.active,
.site .side-nav a:hover,
.site .side-nav button.active,
.site .side-nav button:hover { background: var(--red-soft); }

.site .profile-shell {
    display: grid;
    gap: 22px;
    padding: 28px 0 80px;
}

.site .profile-loading {
    min-height: 180px;
    display: grid;
    place-items: center;
    gap: 12px;
    justify-items: center;
}

.site .profile-loading.is-inline {
    min-height: 120px;
    padding: 24px 0;
}

.site .profile-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(31, 26, 77, .15);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: profileSpin .7s linear infinite;
}

@keyframes profileSpin {
    to { transform: rotate(360deg); }
}

.site .profile-empty {
    width: min(520px, 100%);
    margin: 12px auto 40px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
    text-align: center;
    justify-items: center;
}

.site .profile-empty.is-soft {
    width: 100%;
    margin: 8px 0 0;
    box-shadow: none;
    background: #faf8f4;
}

.site .profile-empty-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: #f4efe6;
    font-size: 1.2rem;
}

.site .profile-banner {
    display: grid;
    grid-template-columns: auto 1fr minmax(180px, 240px);
    gap: 24px;
    align-items: center;
    background:
        linear-gradient(145deg, rgba(18, 24, 42, .96), rgba(31, 26, 77, .88)),
        radial-gradient(circle at 18% 18%, rgba(196, 161, 90, .28), transparent 48%);
    color: #f7f2ea;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 50px rgba(18, 24, 42, .18);
    overflow: hidden;
    position: relative;
}

.site .profile-banner::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 161, 90, .18), transparent 68%);
    pointer-events: none;
}

.site .profile-banner .tag {
    background: rgba(255, 255, 255, .12);
    color: #f4efe6;
    padding: 4px 12px;
}

.site .profile-banner .meta,
.site .profile-banner-meta {
    color: rgba(247, 242, 234, .78);
}

.site .profile-banner-media {
    flex-shrink: 0;
}

.site .profile-avatar {
    width: 132px;
    height: 165px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.site .profile-banner:hover .profile-avatar {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.site .profile-avatar img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center 18%;
}

.site .profile-avatar.is-empty {
    display: grid;
    place-items: center;
    color: rgba(247, 242, 234, .7);
    font-size: .85rem;
}

.site .profile-avatar.is-light {
    background: #eef2f7;
    border-color: var(--line);
    box-shadow: none;
}

.site .profile-banner-copy {
    display: grid;
    gap: 8px;
    align-content: start;
}

.site .profile-banner-copy h2 {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: #fff;
}

.site .profile-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: .92rem;
}

.site .profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.site .profile-tab {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
    color: #f7f2ea;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.site .profile-tab:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

.site .profile-tab.is-on {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

.site .profile-tab.is-soft {
    opacity: .88;
}

.site .profile-belt-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 18px;
    display: grid;
    gap: 8px;
    align-content: start;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.site .profile-belt-card strong {
    font-size: 1.15rem;
    color: #fff;
}

.site .profile-stage {
    animation: profileStage .45s var(--ease) both;
}

@keyframes profileStage {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.site .profile-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px 24px 28px;
    box-shadow: 0 14px 40px rgba(28, 25, 23, .06);
}

.site .profile-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.site .profile-panel-head h3 {
    font-size: 1.2rem;
}

.site .profile-note {
    margin: 0;
}

.site .profile-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.site .profile-stat {
    background: linear-gradient(180deg, #faf8f4, #fff);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 14px 12px;
    display: grid;
    gap: 6px;
}

.site .profile-stat span {
    font-size: .78rem;
    color: var(--muted);
}

.site .profile-stat strong {
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.45;
}

.site .profile-photo {
    width: 112px;
    height: 140px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center 18%;
    background: #eef2f7;
    display: block;
    max-width: none;
}

.site .profile-photo.is-lg {
    width: 132px;
    height: 165px;
}

.site .profile-photo.is-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: .85rem;
}

.site .profile-photo-field {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.site .profile-photo-field .profile-photo {
    border: 1px solid var(--line);
}

.site .profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin: 0;
}

.site .profile-grid .full { grid-column: 1 / -1; }
.site .profile-grid > div {
    background: #faf8f4;
    border: 1px solid rgba(231, 226, 218, .8);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site .profile-grid > div:hover {
    background: #fff;
    border-color: #d8d0c4;
}
.site .profile-grid dt { font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.site .profile-grid dd { margin: 0; font-weight: 600; }

.site .profile-edit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.site .profile-edit .full { grid-column: 1 / -1; }
.site .profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site .profile-payment-list {
    display: grid;
    gap: 10px;
}

.site .profile-payment-card {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    text-align: right;
    padding: 16px 18px;
    border: 1px solid #e4e0d7;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site .profile-payment-card:hover {
    border-color: #c9b79a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(28, 25, 23, .08);
}

.site .profile-payment-card strong {
    display: block;
    margin-bottom: 4px;
}

.site .profile-payment-card-side {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.site .profile-pay-status {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: #f3f5f8;
    color: #5d6b82;
}

.site .profile-pay-status.is-paid { background: #e7f6ec; color: #178a45; }
.site .profile-pay-status.is-pending { background: #fff4e5; color: #b56a00; }
.site .profile-pay-status.is-failed { background: #fde8eb; color: #c8102e; }
.site .profile-pay-status.is-refunded { background: #eef1f6; color: #4a5870; }

.site .profile-payment-detail {
    display: grid;
    gap: 16px;
}

.site .profile-payment-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.site .profile-subhead {
    margin: 8px 0 10px;
    font-size: 1rem;
}

.site .profile-belt-path {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site .profile-belt-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #faf8f4;
}

.site .profile-belt-step strong { display: block; }
.site .profile-belt-step.is-current {
    background: #fff;
    border-color: #c9b79a;
    box-shadow: 0 10px 24px rgba(28, 25, 23, .06);
}
.site .profile-belt-step.is-upcoming { opacity: .48; }

.site .profile-belt-swatch {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: #cfc8bc;
    border: 1px solid transparent;
}
.site .profile-belt-swatch.is-white { background: #f7f4ee; border-color: #d8d0c4; }
.site .profile-belt-swatch.is-orange { background: #e8892d; }
.site .profile-belt-swatch.is-blue { background: #2f6fbf; }
.site .profile-belt-swatch.is-yellow { background: #e2c44a; }
.site .profile-belt-swatch.is-green { background: #3f8f4a; }
.site .profile-belt-swatch.is-brown { background: #7a4a28; }
.site .profile-belt-swatch.is-black { background: #1c1917; }
.site .profile-belt-swatch.is-plain { background: #cfc8bc; }

.site .profile-record-list { display: grid; gap: 10px; }
.site .profile-record-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    border: 1px solid #e4e0d7;
    border-radius: 16px;
    background: #fff;
}
.site .profile-record-card.is-current { border-color: #c9b79a; }
.site .profile-record-card .tag { margin-bottom: 6px; }
.site .profile-record-card strong { display: block; margin-bottom: 4px; }

.site .profile-honor-list { display: grid; gap: 10px; }
.site .profile-honor-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #e4e0d7;
    border-radius: 16px;
    background: #fff;
}
.site .profile-honor-card.is-gold { border-color: #e0c47a; background: linear-gradient(180deg, #fffdf6, #fff); }
.site .profile-honor-card.is-silver { border-color: #c9c6c0; background: linear-gradient(180deg, #f8f8f7, #fff); }
.site .profile-honor-card.is-bronze { border-color: #d7b08a; background: linear-gradient(180deg, #fbf6f0, #fff); }
.site .profile-honor-card strong { display: block; margin-bottom: 4px; }
.site .profile-honor-medal {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .92rem;
}
.site .profile-honor-medal.is-gold { background: #f3e2a8; color: #8a6408; }
.site .profile-honor-medal.is-silver { background: #e6e4df; color: #5c5852; }
.site .profile-honor-medal.is-bronze { background: #edd3b4; color: #8a5a2b; }

.site .ticket-head-actions,
.site .ticket-card-side { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.site .ticket-list { display: grid; gap: 10px; }
.site .ticket-card {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    text-align: right;
    padding: 16px 18px;
    border: 1px solid #e4e0d7;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #faf8f4);
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site .ticket-card:hover {
    border-color: #c9b79a;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(28, 25, 23, .07);
}
.site .ticket-card strong { display: block; margin-bottom: 4px; }
.site .ticket-thread { display: flex; flex-direction: column; gap: 12px; }
.site .ticket-bubble {
    max-width: min(78%, 520px);
    padding: 14px 16px;
    border-radius: 18px;
    display: grid;
    gap: 8px;
}
.site .ticket-bubble header { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; }
.site .ticket-bubble p { margin: 0; white-space: pre-wrap; line-height: 1.7; }
.site .ticket-bubble.is-mine {
    align-self: flex-start;
    background: linear-gradient(160deg, #1d3557, #10233f);
    color: #f7f2ea;
    border-bottom-right-radius: 6px;
}
.site .ticket-bubble.is-mine time { color: rgba(247, 242, 234, .72); }
.site .ticket-bubble.is-staff {
    align-self: flex-end;
    background: #fff;
    border: 1px solid #e7e1d6;
    border-bottom-left-radius: 6px;
}
.site .ticket-files { display: flex; flex-wrap: wrap; gap: 8px; }
.site .ticket-files a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.site .ticket-files img {
    width: 148px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .25);
}
.site .ticket-bubble.is-staff .ticket-files img { border-color: var(--line); }
.site .ticket-files span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: .85rem;
}
.site .ticket-bubble.is-staff .ticket-files span { background: #f6f1e8; }
.site .ticket-composer {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #faf8f4;
    border: 1px dashed #e0d6c6;
}
.site .ticket-composer label { display: grid; gap: 6px; font-size: .92rem; }
.site .ticket-composer input,
.site .ticket-composer textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}
.site .ticket-pending { display: flex; flex-wrap: wrap; gap: 8px; }
.site .ticket-pending span {
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: .82rem;
}
.site .ticket-closed-note {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f4f1ea;
    color: var(--muted);
}

.site .site-datepicker {
    position: relative;
    width: 100%;
}

.site .site-datepicker.is-disabled { opacity: .65; }

.site .site-datepicker-field {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
}

.site .site-datepicker-input {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 0;
    border-radius: 0;
    padding: 12px 14px;
    box-shadow: none;
}

.site .site-datepicker-input:focus {
    outline: 2px solid rgba(180, 35, 24, .18);
    border-color: var(--red);
    z-index: 1;
}

.site .site-datepicker-toggle {
    width: 48px;
    border: 1px solid var(--line);
    background: #faf8f5;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.site .site-datepicker-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site .site-datepicker-toggle:hover:not(:disabled) {
    background: var(--red-soft);
    color: var(--red);
}

.site .site-datepicker-toggle:disabled { cursor: default; }

.site .site-datepicker-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    width: min(320px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.site .site-datepicker-nav {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
    align-items: center;
}

.site .site-datepicker-nav > button {
    height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
}

.site .site-datepicker-title {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6px;
}

.site .site-datepicker-title select {
    height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 8px;
}

.site .site-datepicker-week,
.site .site-datepicker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.site .site-datepicker-week {
    color: var(--muted);
    font-size: .78rem;
}

.site .site-datepicker-grid button,
.site .site-datepicker-grid .is-empty {
    height: 36px;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
}

.site .site-datepicker-grid button {
    cursor: pointer;
    color: var(--ink);
}

.site .site-datepicker-grid button:hover { background: var(--red-soft); }

.site .site-datepicker-grid button.is-today {
    box-shadow: inset 0 0 0 1px var(--line);
}

.site .site-datepicker-grid button.is-selected {
    background: var(--red);
    color: #fff;
    font-weight: 700;
}

.site .site-datepicker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.site .site-datepicker-actions .btn {
    padding: 6px 10px;
    font-size: .85rem;
}
.site .belt { height: 12px; background: rgba(255, 255, 255, .18); margin: 6px 0 8px; }
.site .belt > i { display: block; height: 100%; width: 72%; background: var(--gold); }
.site .profile-panel .belt { background: #ece7de; }
.site .profile-panel .belt > i { background: #3d5a80; }

.site .masonry { columns: 3; gap: 12px; }
.site .masonry .reveal { display: block; width: 100%; break-inside: avoid; }
.site .masonry a {
    display: block;
    margin-bottom: 12px;
    break-inside: avoid;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.site .masonry a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}
.site .masonry img { width: 100%; transition: transform .7s var(--ease); }
.site .masonry a:hover img { transform: scale(1.04); }

.site .site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 20px; }
.site .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.site .site-footer h4 { margin-bottom: 10px; color: var(--navy); font-size: 16px; }
.site .site-footer a {
    display: block;
    color: var(--muted);
    padding: 3px 0;
    transition: color .25s var(--ease), transform .25s var(--ease);
}
.site .site-footer .logo { color: var(--ink); }
.site .site-footer a:hover { color: var(--red); transform: translateX(-2px); }
.site .copy {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

.site .mobile-menu {
    display: none;
    position: fixed;
    inset: calc(var(--header)) 0 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    z-index: 40;
    padding: 16px 20px;
    overflow: auto;
}
.site .mobile-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    transition: color .25s var(--ease), padding .25s var(--ease);
}
.site .mobile-menu a:hover { color: var(--red); padding-inline-start: 6px; }
.site.nav-open .mobile-menu {
    display: block;
    animation: pageEnter .35s var(--ease) both;
}
.site .toast {
    position: fixed;
    bottom: 18px;
    inset-inline-end: 18px;
    z-index: 70;
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-lift);
    display: none;
}
.site .toast.is-on {
    display: block;
    animation: pageEnter .35s var(--ease) both;
}

.site .featured-dojo {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.site .featured-dojo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.site .featured-dojo img, .site .featured-dojo video { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.site .featured-dojo > div { padding: 28px; }

.site .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.site .level-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    background: #faf8f4;
    margin-inline-start: 6px;
    vertical-align: middle;
}

.site .nearest-event {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: inherit;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site .nearest-event:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: #ddd5c8;
}
.site .nearest-event h3 { font-size: 20px; margin: 4px 0; }
.site .nearest-event .btn { margin-inline-end: 18px; }
.site .nearest-event > div:nth-child(2) { padding-block: 12px; }

.site .event-date {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 16px 10px;
    min-height: 100%;
    display: grid;
    align-content: center;
}
.site .event-date b { display: block; font-size: 26px; line-height: 1.1; font-family: var(--font); }
.site .event-date span { font-size: 12px; opacity: .85; color: #fff; }

.site .event-cal { display: grid; gap: 12px; }
.site .event-cal-row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site .event-cal-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: #ddd5c8;
    color: inherit;
}
.site .event-cal-body { padding: 14px 16px; }
.site .event-cal-body h3 { font-size: 18px; margin: 4px 0; }
.site .event-cal-go {
    display: grid;
    place-items: center;
    padding: 0 18px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
}

.site .event-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.site .event-hero img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.site .event-hero-copy { padding: 28px 32px; display: grid; align-content: center; gap: 6px; }
.site .event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 18px; }
.site .event-facts article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.site .event-facts article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.site .event-facts h3 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }

.site .data-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.site .data-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.site .data-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; }
.site .data-table th, .site .data-table td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.site .data-table tbody tr { transition: background .25s var(--ease); }
.site .data-table tbody tr:hover { background: var(--red-soft); }
.site .data-table .gold { color: var(--gold); font-weight: 800; }
.site .data-table .silver { color: #6b6560; font-weight: 700; }
.site .data-table .bronze { color: #8a5a2b; font-weight: 700; }
.site .stack { display: grid; gap: 28px; }
.site .stack-sm { display: grid; gap: 14px; }
.site .cover { width: 100%; object-fit: cover; }
.site .cover-lg { height: 380px; margin-bottom: 20px; }
.site .cover-md { height: 320px; }
.site .gap-top { margin-top: 18px; }
.site .fit { width: fit-content; }

html { scroll-behavior: smooth; }

.site main.page-enter {
    animation: pageEnter .55s var(--ease) both;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(12px); filter: blur(2px); }
    to { opacity: 1; transform: none; filter: none; }
}

.site .btn:hover {
    transform: translateY(-2px);
}

.site .site-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(31, 26, 77, .15);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: profileSpin .7s linear infinite;
}

.site .page-loading {
    min-height: 160px;
    display: grid;
    place-items: center;
    gap: 12px;
    justify-items: center;
    padding: 28px 0;
}

.site .reveal {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(2px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
    will-change: opacity, transform, filter;
}
.site .reveal.is-in { opacity: 1; transform: none; filter: none; }
.site .rise { animation: siteRise .7s var(--ease) both; }
@keyframes siteRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site main.page-enter,
    .site .profile-stage,
    .site .profile-spinner,
    .site .site-spinner,
    .site .reveal,
    .site .rise,
    .site .toast.is-on,
    .site.nav-open .mobile-menu,
    .site .nav-drop.is-open > div,
    .site .slide.is-on .slide-cap .container {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }
    .site .btn:hover,
    .site .card:hover,
    .site a.card:hover,
    .site .nearest-event:hover,
    .site .event-cal-row:hover,
    .site .featured-dojo:hover,
    .site .shop-hero:hover,
    .site .masonry a:hover,
    .site .timeline article:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
}

.site .product .card-body h3 a,
.site .shop-hero h2 a {
    color: inherit;
    text-decoration: none;
}
.site .product .card-body h3 a:hover,
.site .shop-hero h2 a:hover { color: var(--red); }

.site .shop-detail {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: start;
}
.site .shop-gallery { display: grid; gap: 12px; }
.site .shop-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
    border: 1px solid var(--line);
    cursor: zoom-in;
}
.site .shop-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s var(--ease);
}
.site .shop-gallery-main.is-zoom { cursor: zoom-out; }
.site .shop-gallery-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: #bbb;
}
.site .shop-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.site .shop-gallery-nav.prev { inset-inline-start: 12px; }
.site .shop-gallery-nav.next { inset-inline-end: 12px; }
.site .shop-gallery-hint {
    position: absolute;
    inset-inline-start: 12px;
    inset-block-end: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
}
.site .shop-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}
.site .shop-gallery-thumbs button {
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    aspect-ratio: 1;
    cursor: pointer;
}
.site .shop-gallery-thumbs button.is-on { border-color: var(--red); }
.site .shop-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site .shop-detail-copy { display: grid; gap: 10px; align-content: start; }
.site .shop-detail-copy h2 { margin: 0; font-size: 28px; }
.site .shop-stock.ok { color: #178a45; font-weight: 700; }
.site .shop-stock.out { color: var(--red); font-weight: 700; }
.site .shop-body { white-space: pre-wrap; line-height: 1.9; color: #444; }
.site .shop-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.site .shop-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8, 10, 14, .88);
    display: grid;
    place-items: center;
    padding: 24px;
    cursor: zoom-out;
}
.site .shop-zoom-overlay img {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    object-fit: contain;
    border-radius: 12px;
}

.site .cart-shell,
.site .order-shell,
.site .invoice-shell {
    max-width: 980px;
    width: min(980px, calc(100% - 32px));
    margin-inline: auto;
}
.site .cart-empty {
    padding: 48px 28px;
    text-align: center;
    display: grid;
    gap: 12px;
    justify-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.site .cart-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.site .cart-layout {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: 18px;
    align-items: start;
}
.site .cart-panel,
.site .cart-summary,
.site .order-detail,
.site .invoice-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.site .cart-panel-head,
.site .order-detail-head,
.site .invoice-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.site .cart-panel-head h2,
.site .cart-summary h2,
.site .order-detail-head h2,
.site .invoice-head h2 { margin: 0; }
.site .cart-line {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.site .cart-line-media {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #f3f1ec center/cover no-repeat;
    border: 1px solid var(--line);
}
.site .cart-line-body a { color: inherit; text-decoration: none; }
.site .cart-line-body a:hover { color: var(--red); }
.site .cart-line-side { display: grid; gap: 8px; justify-items: end; }
.site .cart-remove { padding: 6px 10px; font-size: 13px; }
.site .cart-summary { padding: 20px; display: grid; gap: 10px; position: sticky; top: 88px; }
.site .cart-sum-row,
.site .order-totals > div,
.site .invoice-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.site .cart-sum-row.total,
.site .order-totals .total,
.site .invoice-totals .total {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
}
.site .cart-checkout { display: grid; gap: 10px; margin-top: 8px; }
.site .cart-checkout label { display: grid; gap: 6px; font-size: .92rem; }
.site .cart-checkout input,
.site .cart-checkout textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    background: #fbfaf7;
}
.site .order-list { display: grid; gap: 12px; }
.site .order-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.site .order-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.site .order-card-side { display: grid; gap: 6px; justify-items: end; }
.site .order-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f4efe6;
    color: #7a5a2a;
    font-size: 12px;
    font-weight: 700;
}
.site .order-detail { padding-bottom: 20px; }
.site .order-reserve { color: var(--red); font-weight: 700; }
.site .order-lines { padding: 8px 20px; }
.site .order-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.site .order-totals { display: grid; gap: 8px; padding: 16px 20px; }
.site .order-actions,
.site .invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 4px;
}
.site .invoice-sheet { padding-bottom: 20px; }
.site .invoice-buyer { text-align: start; color: #555; display: grid; gap: 4px; }
.site .invoice-lines { padding: 8px 20px 0; }
.site .invoice-line {
    display: grid;
    grid-template-columns: 1.6fr .4fr .7fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.site .invoice-line.head {
    font-size: .85rem;
    color: #6b7280;
    font-weight: 700;
}
.site .invoice-totals { display: grid; gap: 8px; padding: 16px 20px; }

@media print {
    .site .page-hero, .site .site-header, .site .site-footer, .site .invoice-actions { display: none !important; }
    .site .invoice-sheet { box-shadow: none; border: 0; }
}

@media (max-width: 980px) {
    .site .topbar { display: none; }
    .site .nav-desktop { display: none; }
    .site .burger { display: flex; }
    .site .grid-3,
    .site .grid-4,
    .site .grid-2,
    .site .stats,
    .site .split,
    .site .dash,
    .site .profile-banner,
    .site .profile-stat-row,
    .site .profile-grid,
    .site .profile-edit,
    .site .footer-grid,
    .site .photo-row,
    .site .timeline article,
    .site .featured-dojo,
    .site .shop-hero,
    .site .shop-detail,
    .site .cart-layout,
    .site .event-hero,
    .site .event-facts { grid-template-columns: 1fr; }
    .site .nearest-event,
    .site .event-cal-row { grid-template-columns: 88px 1fr; }
    .site .nearest-event .btn,
    .site .event-cal-go {
        grid-column: 1 / -1;
        margin: 0 16px 16px;
        justify-self: start;
    }
    .site .event-hero-copy { padding: 22px 20px; }
    .site .profile-avatar {
        width: 104px;
        height: 130px;
    }
    .site .profile-panel-head { flex-direction: column; }
    .site .masonry { columns: 2; }
    .site .stats div { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .site .hero { min-height: 64vh; }
    .site .slide img, .site .slide video { object-position: center 22%; }
    .site .slide-cap { padding-bottom: 72px; }
}

@media (max-width: 640px) {
    .site .masonry { columns: 1; }
    .site .section { padding: 48px 0; }
    .site .hero { min-height: 56vh; }
    .site .slide img, .site .slide video { object-position: center 18%; }
    .site .hero-nav { width: 38px; height: 38px; font-size: 20px; }
    .site .hero-nav.prev { inset-inline-start: 8px; }
    .site .hero-nav.next { inset-inline-end: 8px; }
    .site .slide-cap h1 { font-size: 32px; }
}
