:root {
    color-scheme: light;
    --bg: #f7f4ee;
    --panel: #fffdf8;
    --panel-2: #f3ede3;
    --line: #d9d1c4;
    --text: #173b63;
    --muted: #4d5f75;
    --accent: #7c5cff;
    --accent-2: #f4c542;
    --graphite: #1f2937;
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
    --shadow-strong: 0 24px 60px rgba(31, 41, 55, 0.18);
    --radius: 16px;
    --radius-sm: 12px;
    --max: 1540px;
    --tcg-card-ratio: 5 / 6;
}

/* WordPress and WooCommerce production integration. */
.site-main {
    min-width: 0;
}

.site-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 34px;
    margin: 0 2px 8px;
    padding: 0 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.site-breadcrumbs a {
    color: var(--text);
    text-decoration: none;
}

.site-breadcrumbs a:hover {
    color: var(--accent);
}

.site-breadcrumbs .breadcrumb_last {
    color: var(--muted);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.site-nav ul,
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav > ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.65);
}

.nav-toggle {
    display: none;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    font: inherit;
    font-weight: 800;
}

.catalog-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 10px;
    background: #fff;
}

.product-card.product {
    margin: 0;
    width: auto;
}

.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering {
    display: none;
}

.woocommerce-pagination ul.page-numbers,
.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
}

.woocommerce-pagination .page-numbers .current,
.nav-links .current {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.page-content,
.post-content {
    width: min(900px, 100%);
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.page-content img,
.post-content img {
    max-width: 100%;
    height: auto;
}

.inquiry-notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(112, 160, 110, 0.36);
    border-radius: 8px;
    background: rgba(112, 160, 110, 0.14);
    color: var(--graphite);
    font-weight: 800;
}

.inquiry-error {
    border-color: rgba(190, 54, 54, 0.3);
    background: rgba(190, 54, 54, 0.08);
}

.about-lead p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.post-detail-featured {
    overflow: hidden;
    width: min(1100px, 100%);
    margin: 0 auto 30px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
}

.post-detail-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-form .wpcf7-form-control-wrap {
    display: block;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.contact-form .wpcf7-form-control-wrap input,
.contact-form .wpcf7-form-control-wrap select,
.contact-form .wpcf7-form-control-wrap textarea {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.contact-form input[type="submit"].wpcf7-submit {
    width: auto;
    min-height: 42px;
    justify-self: start;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #9e89ff);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.contact-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.wpcf7 form .wpcf7-response-output {
    margin: 14px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--graphite);
}

.wpcf7-spinner {
    align-self: center;
}

.cardlyss-purchase-controls form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.cardlyss-purchase-controls .quantity input {
    width: 76px;
    min-height: 42px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
}

.cardlyss-purchase-controls .single_add_to_cart_button {
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #9e89ff);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.payment-integration-hook {
    display: none;
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav > ul {
        align-items: stretch;
        flex-direction: column;
    }

    .site-nav a {
        width: 100%;
    }
}

* { box-sizing: border-box; }

.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;
}

html, body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.08), transparent 28%),
        radial-gradient(circle at left top, rgba(244, 197, 66, 0.08), transparent 22%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    letter-spacing: 0;
}

h1,
h2,
h3,
.brand strong,
.footer-header h2,
.contact-panel h2,
.info-item h3 {
    font-family: "Fraunces", Georgia, serif;
    letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell {
    width: min(var(--max), calc(100% - 24px));
    margin: 0 auto;
    padding: 0 0 28px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.78);
    color: var(--muted);
    font-size: 13px;
    backdrop-filter: blur(6px);
}

.site-header {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 124px;
    padding: 22px 2px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 320px;
}

.brand strong,
.brand em {
    display: block;
    font-style: normal;
}

.brand strong {
    font-size: 18px;
    line-height: 1.1;
    color: var(--text);
}

.brand em {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.brand-logo {
    width: 260px;
    height: auto;
    max-height: 108px;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.site-nav a,
.filter-chip {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.filter-chip:hover,
.filter-chip.is-active {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.65);
}

.header-tools {
    position: relative;
    display: flex;
    gap: 10px;
}

.search-toggle {
    font: inherit;
    cursor: pointer;
}

.header-search-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 60;
    width: min(430px, calc(100vw - 28px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow-strong);
}

.header-search-popover[hidden] {
    display: none;
}

.header-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.header-search-form input,
.product-search-form input[type="search"] {
    min-width: 0;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    color: var(--text);
    font: inherit;
    outline: none;
}

.header-search-form input:focus,
.product-search-form input[type="search"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14);
}

.header-search-form button {
    min-height: 46px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.icon-button,
.button,
.set-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.9);
    color: var(--text);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.05);
    transition: 160ms ease;
}

.icon-button.accent,
.button.primary,
.set-row a {
    background: linear-gradient(135deg, var(--accent), #9e89ff);
    color: #fff;
    border-color: transparent;
    font-weight: 700;
}

.button.secondary {
    background: rgba(255, 253, 248, 0.9);
}

main {
    display: grid;
    gap: 18px;
    flex: 1;
}

.home-banner {
    position: relative;
    overflow: hidden;
    min-height: clamp(320px, 33vw, 520px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--graphite);
    box-shadow: var(--shadow-strong);
}

.home-banner-track {
    position: relative;
    min-height: clamp(320px, 33vw, 520px);
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: #fff;
    background-image: var(--banner-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
}

.home-banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(0,0,0,0.24), transparent 30%),
        linear-gradient(90deg, rgba(0,0,0,0.08), rgba(0,0,0,0.02) 48%, rgba(0,0,0,0.12));
    pointer-events: none;
}

.home-banner-copy {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(680px, 48vw);
    text-align: center;
    text-transform: uppercase;
}

.home-banner-slide:nth-child(2) .home-banner-copy {
    left: 30%;
}

.home-banner-slide:nth-child(3) .home-banner-copy {
    top: 36%;
}

.home-banner-slide.banner-surprised {
    background-position: center;
}

.home-banner-slide.banner-surprised::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.02) 36%, rgba(0,0,0,0.05)),
        radial-gradient(circle at 50% 18%, rgba(255,255,255,0.24), transparent 28%);
}

.home-banner-copy-surprised {
    top: 28%;
    width: min(760px, 54vw);
    gap: 8px;
}

.home-banner-copy span,
.home-banner-copy strong,
.home-banner-copy em {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-style: normal;
    line-height: 0.98;
    paint-order: stroke fill;
}

.home-banner-copy span {
    color: #ff6b2b;
    font-size: clamp(18px, 2.2vw, 34px);
    font-weight: 900;
    -webkit-text-stroke: 5px #fff;
    text-shadow: 0 5px 10px rgba(31,41,55,0.45);
}

.home-banner-copy strong {
    color: #fff;
    font-size: clamp(34px, 5vw, 78px);
    font-weight: 900;
    -webkit-text-stroke: 9px #1f2937;
    text-shadow: 0 8px 16px rgba(0,0,0,0.45);
}

.home-banner-copy em {
    min-width: 150px;
    margin-top: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #ff8233;
    color: #1f2937;
    font-size: clamp(15px, 1.45vw, 24px);
    font-weight: 1000;
    box-shadow: none;
    text-shadow: none;
}

.home-banner-copy-surprised .banner-burst {
    position: absolute;
    left: -74px;
    top: -18px;
    display: grid;
    place-items: center;
    width: clamp(108px, 8.2vw, 148px);
    aspect-ratio: 1;
    padding: 22px;
    clip-path: polygon(50% 0%, 61% 21%, 84% 9%, 80% 34%, 100% 50%, 80% 66%, 84% 91%, 61% 79%, 50% 100%, 39% 79%, 16% 91%, 20% 66%, 0% 50%, 20% 34%, 16% 9%, 39% 21%);
    background: #ff3b22;
    color: #fff;
    font-size: clamp(13px, 1.35vw, 21px);
    line-height: 0.92;
    text-align: center;
    -webkit-text-stroke: 0;
    text-shadow: 0 4px 0 rgba(31,41,55,0.26);
    transform: rotate(-12deg);
}

.home-banner-copy-surprised strong {
    display: grid;
    gap: 0;
    justify-items: center;
    color: #fff;
    -webkit-text-stroke: 0;
    text-shadow:
        0 4px 0 #1f2937,
        0 7px 14px rgba(0,0,0,0.5);
}

.home-banner-copy-surprised strong small,
.home-banner-copy-surprised strong b {
    display: block;
    font-style: normal;
    font-weight: 1000;
    line-height: 0.94;
}

.home-banner-copy-surprised strong small {
    color: #fff;
    font-size: clamp(28px, 3.6vw, 60px);
    -webkit-text-stroke: 7px #1f2937;
    paint-order: stroke fill;
}

.home-banner-copy-surprised strong b {
    color: #fff;
    font-size: clamp(44px, 5.4vw, 92px);
    -webkit-text-stroke: 10px #160b0c;
    paint-order: stroke fill;
}

.home-banner-copy-surprised strong small::first-letter,
.home-banner-copy-surprised strong b::first-letter {
    letter-spacing: 0;
}

.home-banner-copy-surprised em {
    min-width: 0;
    margin-top: 4px;
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--accent), #9e89ff);
    color: #fff;
    font-size: clamp(14px, 1.3vw, 22px);
    text-shadow: none;
    border: 1px solid rgba(255,255,255,0.42);
    box-shadow: 0 12px 26px rgba(31,41,55,0.24);
}

.home-banner-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,253,248,0.72);
    backdrop-filter: blur(8px);
}

.home-banner-dots button {
    width: 36px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(23,59,99,0.26);
    cursor: pointer;
}

.home-banner-dots button.is-active {
    background: var(--accent);
}

.hero,
.spotlight,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 18px;
    align-items: center;
    padding: 18px 0 8px;
}

.eyebrow,
.section-heading p,
.page-hero p.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.spotlight-copy h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--text);
}

.detail-copy h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(24px, 2.1vw, 34px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-wrap: balance;
    color: var(--text);
}

.page-hero.compact h1 {
    font-size: clamp(28px, 3.4vw, 42px);
}

.hero-summary,
.spotlight-copy p,
.page-hero p,
.detail-copy > p,
.about-block p,
.journal-card p,
.journal-row p,
.set-row h3 {
    color: var(--muted);
    line-height: 1.6;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-display {
    position: relative;
    min-height: 470px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(244, 197, 66, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf8, #f1eadf);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.image-slot {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23,59,99,0.16);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.2), transparent 30%),
        linear-gradient(145deg, rgba(23,59,99,0.92), rgba(124,92,255,0.5));
    box-shadow: var(--shadow-strong);
    min-height: 220px;
}

.image-slot::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
}

.image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-slot.framed {
    min-height: 100%;
}

.image-slot.small {
    min-height: 180px;
    box-shadow: var(--shadow);
}

.image-slot.wide {
    width: min(280px, 100%);
    min-height: 120px;
    flex: 0 0 min(280px, 100%);
}

.image-fallback {
    position: absolute;
    inset: 16px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(255,255,255,0.42);
    border-radius: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    z-index: 1;
}

.hero-display::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23,59,99,0.06) 1px, transparent 1px),
        linear-gradient(rgba(23,59,99,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.45;
}

.stack {
    position: absolute;
    border-radius: 22px;
    border: 1px solid rgba(23, 59, 99, 0.14);
    box-shadow: var(--shadow-strong);
}

.stack-back.left {
    inset: 74px auto auto 36px;
    width: 216px;
    height: 330px;
    background: linear-gradient(145deg, rgba(244, 197, 66, 0.92), rgba(124, 92, 255, 0.85));
    transform: rotate(-11deg);
}

.stack-back.right {
    inset: 88px 28px auto auto;
    width: 186px;
    height: 300px;
    background: linear-gradient(145deg, rgba(23, 59, 99, 0.88), rgba(76, 95, 117, 0.86));
    transform: rotate(12deg);
}

.stack-front {
    inset: 48px 104px 38px 104px;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.18), transparent 38%),
        linear-gradient(145deg, #fffdf8, #f3ede3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.display-label,
.display-sub {
    color: var(--muted);
    font-size: 13px;
}

.stack-front strong {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1;
}

.display-chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.24);
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.display-chip:hover,
.display-chip:focus-visible {
    transform: translateY(-1px);
    background: rgba(124, 92, 255, 0.16);
    box-shadow: 0 10px 20px rgba(124, 92, 255, 0.15);
}

.home-b2b-panel {
    min-height: 470px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top right, rgba(124,92,255,0.14), transparent 32%),
        linear-gradient(145deg, rgba(255,253,248,0.96), rgba(243,237,227,0.94));
    box-shadow: var(--shadow-strong);
    display: grid;
    align-content: space-between;
    gap: 18px;
}

.b2b-panel-head {
    display: grid;
    gap: 8px;
}

.b2b-panel-head span,
.process-grid span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.b2b-panel-head strong {
    max-width: 420px;
    color: var(--text);
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
}

.b2b-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.b2b-panel-grid div {
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(23,59,99,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    display: grid;
    align-content: end;
    gap: 7px;
}

.b2b-panel-grid strong {
    color: var(--graphite);
    font-size: 19px;
    line-height: 1.1;
}

.b2b-panel-grid span {
    color: var(--muted);
    line-height: 1.45;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.stat-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: var(--shadow);
}

.stat-item strong {
    display: block;
    font-size: 28px;
    margin-bottom: 4px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-item span {
    color: var(--muted);
}

.band,
.feature-band,
.info-band,
.journal-teaser,
.set-list,
.journal-list,
.about-grid {
    padding: 2px 0 10px;
}

.section-heading {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.08;
    color: var(--text);
}

.home-process {
    padding: 4px 0 10px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.process-grid article {
    min-height: 230px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255,253,248,0.96), rgba(255,253,248,0.82));
    box-shadow: var(--shadow);
    display: grid;
    align-content: space-between;
    gap: 14px;
}

.process-grid h3 {
    margin: 0;
    color: var(--graphite);
    font-size: 24px;
    line-height: 1.05;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.home-section-action {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.collection-grid,
.product-grid,
.journal-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.collection-card,
.journal-card,
.about-block,
.note-card,
.journal-row,
.set-row,
.product-card,
.detail-visual,
.detail-copy,
.filter-row {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: var(--shadow);
}

.collection-card {
    padding: 18px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collection-card h3,
.journal-card h3,
.note-card h3,
.set-row h3,
.about-block h2 {
    margin: 0;
    line-height: 1.15;
    color: var(--graphite);
}

.collection-card p,
.journal-card span,
.journal-card p,
.about-block p,
.journal-row span,
.journal-row p,
.set-row p {
    margin: 0;
    color: var(--muted);
}

.collection-card a,
.card-foot span {
    color: var(--accent);
    font-weight: 700;
}

.collection-card.electric { background: linear-gradient(160deg, rgba(124, 92, 255, 0.12), rgba(255, 253, 248, 0.96)); }
.collection-card.fire { background: linear-gradient(160deg, rgba(244, 197, 66, 0.14), rgba(255, 253, 248, 0.96)); }
.collection-card.water { background: linear-gradient(160deg, rgba(23, 59, 99, 0.08), rgba(255, 253, 248, 0.96)); }
.collection-card.rare { background: linear-gradient(160deg, rgba(124, 92, 255, 0.14), rgba(255, 253, 248, 0.96)); }

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
    gap: clamp(26px, 3vw, 48px);
    align-items: center;
    padding: clamp(42px, 5vw, 68px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(120deg, rgba(255,253,248,0.98), rgba(247,244,238,0.82)),
        repeating-linear-gradient(90deg, rgba(23,59,99,0.045) 0 1px, transparent 1px 42px);
    box-shadow: var(--shadow);
}

.about-intro-band,
.about-sourcing-board,
.about-market-band {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: var(--shadow);
}

.about-hero-copy {
    display: grid;
    align-content: start;
    gap: 0;
}

.about-hero-copy h1 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(36px, 3.65vw, 54px);
    line-height: 0.98;
}

.about-hero-copy p:not(.eyebrow) {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.62;
}

.about-hero-visual {
    padding: 0;
    overflow: hidden;
}

.about-visual-panel {
    position: relative;
    min-height: 100%;
    border: 1px solid rgba(23,59,99,0.12);
    border-radius: 18px;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,253,248,0.92));
    color: var(--text);
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 14px;
    box-shadow: 0 20px 44px rgba(23,59,99,0.08);
}

.about-visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 6px solid var(--accent);
    pointer-events: none;
  }

.about-visual-panel::after {
    display: none;
}

.about-proof-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--graphite);
    background: var(--accent-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-visual-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.about-visual-heading {
    display: grid;
    gap: 6px;
    max-width: 390px;
}

.about-visual-heading p {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-visual-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(22px, 1.9vw, 30px);
    line-height: 1.08;
}

.about-visual-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
}

.about-visual-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: #173b63;
}

.about-visual-metrics div {
    min-height: 82px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(247,244,238,0.16);
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: grid;
    align-content: end;
    gap: 5px;
}

.about-visual-metrics div:first-child {
    background: rgba(124,92,255,0.34);
    color: #fff;
}

.about-visual-metrics strong {
    color: inherit;
    font-size: clamp(19px, 2.1vw, 28px);
    line-height: 1;
}

.about-visual-metrics span {
    color: rgba(247,244,238,0.82);
    font-size: 13px;
    font-weight: 800;
}

.about-visual-metrics div:first-child span {
    color: rgba(247,244,238,0.86);
}

.about-visual-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.about-visual-step {
    padding: 13px;
    border-radius: 14px;
    border: 1px solid rgba(23,59,99,0.12);
    background: rgba(255,255,255,0.74);
    display: grid;
    gap: 4px;
}

.about-visual-step span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.about-visual-step strong {
    color: var(--graphite);
    font-size: 16px;
    line-height: 1.1;
}

.about-visual-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.about-visual-markets {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    align-items: center;
    padding-top: 0;
}

.about-visual-markets > strong {
    color: var(--graphite);
    font-size: 13px;
    margin-right: 2px;
}

.about-visual-markets span {
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(23,59,99,0.12);
    background: rgba(255,255,255,0.85);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.about-visual-footer {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(247,244,238,0.2);
}

.about-visual-footer strong {
    font-size: 22px;
}

.about-visual-footer span {
    color: rgba(247,244,238,0.78);
    line-height: 1.5;
}

.about-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.about-stat-strip div {
    min-height: 104px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: var(--shadow);
}

.about-stat-strip strong {
    display: block;
    color: var(--text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

.about-stat-strip span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.about-intro-band {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: end;
    padding: 28px;
}

.about-intro-band h2,
.about-sourcing-board h2,
.about-market-band h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.02;
}

.about-intro-band p:not(.eyebrow),
.about-sourcing-board p,
.about-market-band p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-sourcing-board {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 18px;
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(23,59,99,0.07), rgba(255,253,248,0.96));
}

.about-board-copy {
    display: grid;
    gap: 12px;
    align-content: center;
}

.about-board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.about-board-grid article {
    min-height: 220px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255,253,248,0.88);
    display: grid;
    align-content: space-between;
}

.about-board-grid span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.about-board-grid h3 {
    margin: 0;
    color: var(--graphite);
    font-size: 22px;
    line-height: 1.05;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 14px;
    padding: 4px 0 12px;
}

.about-story,
.about-facts,
.about-mission {
    border-radius: var(--radius);
}

.about-story {
    padding: 24px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(124,92,255,0.08), transparent 32%),
        rgba(255,253,248,0.95);
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
    align-content: start;
}

.about-story h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.05;
    color: var(--text);
}

.about-story p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.about-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(124,92,255,0.1);
    border: 1px solid rgba(124,92,255,0.18);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.about-facts {
    display: grid;
    gap: 12px;
}

.about-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--muted);
    line-height: 1.55;
}

.about-list strong {
    color: var(--graphite);
}

.about-facts .about-block {
    min-height: 0;
}

.service-promise-card {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top right, rgba(124,92,255,0.12), transparent 32%),
        linear-gradient(145deg, rgba(255,253,248,0.98), rgba(244,197,66,0.08));
    box-shadow: var(--shadow);
    display: grid;
    align-content: start;
    gap: 16px;
}

.service-promise-card h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(24px, 2.7vw, 34px);
    line-height: 1.08;
}

.promise-list {
    display: grid;
    gap: 10px;
}

.promise-list div {
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(23,59,99,0.12);
    background: rgba(255,255,255,0.72);
}

.promise-list span {
    display: block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 7px;
}

.promise-list strong {
    display: block;
    color: var(--graphite);
    font-size: 18px;
    line-height: 1.15;
}

.promise-list p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.about-info-band .info-item h3 {
    font-size: 22px;
}

.about-services {
    padding: 6px 0 10px;
}

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

.about-mission {
    padding: 6px 0 10px;
}

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

.about-cta {
    margin-top: 6px;
}

.about-market-band {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: center;
    padding: 26px;
    background:
        linear-gradient(145deg, rgba(255,253,248,0.98), rgba(244,197,66,0.12));
}

.about-market-copy {
    display: grid;
    gap: 10px;
}

.about-market-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.about-market-list span {
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid rgba(23,59,99,0.14);
    border-radius: 999px;
    background: rgba(255,253,248,0.78);
    color: var(--text);
    font-weight: 800;
}

.spotlight {
    padding: 8px 0 4px;
}

.spotlight-copy {
    padding-right: 14px;
}

.spotlight-copy ul {
    margin: 18px 0 22px;
    padding-left: 18px;
    color: var(--muted);
}

.spotlight-panel {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 12px;
}

.spotlight-panel .product-card {
    height: 100%;
}

.spotlight-panel .card-art {
    min-height: 210px;
}

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

.product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-link {
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.card-main-link {
    flex: 1 1 auto;
}

.card-art {
    position: relative;
    aspect-ratio: var(--tcg-card-ratio);
    min-height: 200px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.34), transparent 30%),
        linear-gradient(145deg, rgba(23,59,99,0.94), rgba(76,95,117,0.86));
}

.card-rarity {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.18);
    border: 1px solid rgba(255, 253, 248, 0.18);
    font-size: 11px;
    z-index: 1;
    color: #fff;
}

.card-ring {
    position: absolute;
    inset: 52px 18px 88px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.26);
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 900;
    color: rgba(255,255,255,0.95);
}

.product-placeholder {
    grid-auto-flow: row;
    align-content: center;
    gap: 6px;
    text-align: center;
}

.product-placeholder em {
    display: block;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.type-electric .card-art { background: linear-gradient(145deg, rgba(124,92,255,0.95), rgba(164,147,255,0.82)); }
.type-fire .card-art { background: linear-gradient(145deg, rgba(244,197,66,0.95), rgba(255, 224, 132, 0.86)); }
.type-water .card-art { background: linear-gradient(145deg, rgba(23,59,99,0.92), rgba(78,102,132,0.86)); }
.type-psychic .card-art { background: linear-gradient(145deg, rgba(124,92,255,0.9), rgba(97,76,211,0.78)); }
.type-fighting .card-art { background: linear-gradient(145deg, rgba(31,41,55,0.92), rgba(72,83,97,0.86)); }
.type-grass .card-art { background: linear-gradient(145deg, rgba(112,160,110,0.95), rgba(177,207,154,0.9)); }
.type-dark .card-art { background: linear-gradient(145deg, rgba(31,41,55,0.95), rgba(92,104,122,0.84)); }
.type-normal .card-art { background: linear-gradient(145deg, rgba(235,229,220,0.98), rgba(255,253,248,0.96)); }

.type-normal .card-rarity,
.type-normal .card-ring {
    color: var(--text);
    border-color: rgba(23,59,99,0.14);
}

.product-card .card-rarity {
    background: rgba(23, 59, 99, 0.94);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.24);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.product-card .card-rarity.priority-red {
    background: #d94a45;
    border-color: rgba(255, 255, 255, 0.52);
    color: #fff;
}

.product-card .card-rarity.priority-yellow {
    background: #f4c542;
    border-color: rgba(23, 59, 99, 0.18);
    color: #173b63;
}

.card-meta {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 12px 13px 13px;
}

.card-meta h3 {
    margin: 4px 0 0;
    font-size: 16px;
    line-height: 1.1;
    overflow-wrap: anywhere;
    color: var(--graphite);
}

.series {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-note {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(244, 197, 66, 0.18);
    border: 1px solid rgba(244, 197, 66, 0.36);
    color: var(--graphite);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(23, 59, 99, 0.07);
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
}

.card-meta p,
.card-meta ul li {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.card-meta ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
}

.card-foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px 14px;
    gap: 12px;
}

.price-link,
.details-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--text);
}

.price-link {
    padding: 6px 10px;
    margin-left: -10px;
    border-radius: 999px;
}

.price-link:hover {
    background: rgba(124, 92, 255, 0.1);
}

.price-link strong {
    font-size: 16px;
    color: var(--text);
}

.details-link {
    color: var(--accent);
    font-weight: 700;
}

.filter-panel {
    display: grid;
    gap: 16px;
    padding: 6px 0 4px;
    scroll-margin-top: 110px;
}

.product-search-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 22px;
    margin: 8px 0 18px;
    padding: 18px 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 680px) auto auto;
    align-items: center;
    gap: 10px;
}

.product-search-form .button {
    border-radius: 8px;
    box-shadow: none;
    cursor: pointer;
}

.clear-search {
    padding: 8px 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.search-summary {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.filter-row-group {
    display: grid;
    gap: 8px;
}

.filter-group-label {
    padding-left: 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px;
    align-items: center;
}

.empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    border: 1px dashed rgba(23, 59, 99, 0.24);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.7);
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.page-shop .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
}

.page-home .collection-grid,
.page-sets .set-list,
.page-blog .journal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-filter {
    background: rgba(124, 92, 255, 0.09);
    color: var(--accent);
    border-color: rgba(124, 92, 255, 0.18);
    font-weight: 800;
}

.featured-filter:hover,
.featured-filter.is-active {
    background: linear-gradient(135deg, var(--accent), #9e89ff);
    color: #fff;
    border-color: transparent;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.pagination a {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.9);
    color: var(--text);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.05);
}

.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a.is-active {
    background: linear-gradient(135deg, var(--accent), #9e89ff);
    border-color: transparent;
    color: #fff;
    font-weight: 800;
}

.pagination a.is-disabled {
    opacity: 0.42;
    pointer-events: none;
}

.page-hero {
    padding: 12px 0 0;
}

.set-list {
    display: grid;
    gap: 12px;
}

.set-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
}

.journal-list {
    display: grid;
    gap: 12px;
}

.journal-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
}

.journal-card,
.about-block {
    padding: 18px;
    min-height: 150px;
}

.journal-card {
    padding: 0;
    overflow: hidden;
    display: grid;
    align-content: start;
}

.post-link {
    display: block;
    height: 100%;
    color: inherit;
}

.journal-body {
    padding: 14px 16px 16px;
    display: grid;
    gap: 7px;
}

.post-image {
    position: relative;
    min-height: 154px;
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.18), transparent 32%),
        linear-gradient(145deg, rgba(23,59,99,0.94), rgba(124,92,255,0.72));
}

.post-image::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255,255,255,0.42);
    border-radius: 12px;
}

.post-image span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-tone-1 .post-image { background: linear-gradient(145deg, rgba(124,92,255,0.92), rgba(244,197,66,0.7)); }
.post-tone-2 .post-image { background: linear-gradient(145deg, rgba(31,41,55,0.92), rgba(23,59,99,0.88)); }
.post-tone-3 .post-image { background: linear-gradient(145deg, rgba(244,197,66,0.95), rgba(255,253,248,0.78)); }
.post-tone-4 .post-image { background: linear-gradient(145deg, rgba(23,59,99,0.86), rgba(124,92,255,0.8)); }

.blog-grid .journal-card {
    min-height: 100%;
}

.post-detail {
    display: grid;
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.post-detail-header {
    display: grid;
    gap: 10px;
}

.post-detail-header h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.98;
}

.post-detail-image {
    min-height: 360px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.18), transparent 30%),
        linear-gradient(145deg, rgba(23,59,99,0.92), rgba(124,92,255,0.76));
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.post-detail-image::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(255,255,255,0.4);
    border-radius: 16px;
}

.post-detail-image span {
    position: absolute;
    left: 22px;
    bottom: 18px;
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-content {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.post-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.note-card {
    padding: 18px;
    min-height: 140px;
    background: linear-gradient(180deg, rgba(124,92,255,0.07), rgba(255,253,248,0.96));
}

.note-card h3 {
    margin: 0 0 8px;
    color: var(--graphite);
}

.note-card p {
    margin: 0;
    color: var(--muted);
}

.cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.16), transparent 30%),
        linear-gradient(145deg, rgba(23,59,99,0.08), rgba(255,253,248,0.98));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cta-band h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    color: var(--text);
}

.cta-copy {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
    line-height: 1.6;
}

.info-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.info-item {
    padding: 20px;
    min-height: 150px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.14), transparent 34%),
        rgba(255, 253, 248, 0.94);
    box-shadow: var(--shadow);
}

.info-item h3 {
    margin: 0;
    line-height: 1.2;
    color: var(--graphite);
}

.detail-layout {
    align-items: stretch;
    grid-template-columns: minmax(360px, 0.62fr) minmax(0, 1fr);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 14px;
    align-items: stretch;
}

.contact-panel,
.contact-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: var(--shadow);
}

.contact-panel {
    padding: 24px;
    display: grid;
    gap: 18px;
    align-content: start;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.12), transparent 34%),
        rgba(255, 253, 248, 0.94);
}

.contact-panel h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
    color: var(--text);
}

.contact-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list div {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
}

.contact-list span,
.contact-form span {
    display: block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list strong {
    display: block;
    margin-top: 5px;
    color: var(--graphite);
    line-height: 1.35;
}

.contact-b2b-note {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(124, 92, 255, 0.18);
    background:
        radial-gradient(circle at top right, rgba(244,197,66,0.14), transparent 36%),
        rgba(255, 255, 255, 0.64);
}

.contact-b2b-note span,
.payment-placeholder span {
    display: block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-b2b-note p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.contact-form {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form .full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffdf8;
    color: var(--text);
    font: inherit;
    padding: 13px 14px;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.13);
}

.contact-form button {
    justify-self: start;
    border: 0;
    cursor: pointer;
}

.payment-placeholder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(124, 92, 255, 0.38);
    background:
        radial-gradient(circle at top right, rgba(124,92,255,0.12), transparent 30%),
        linear-gradient(145deg, rgba(255,253,248,0.96), rgba(244,197,66,0.1));
}

.payment-placeholder strong {
    display: block;
    margin-top: 6px;
    color: var(--graphite);
    font-size: 18px;
    line-height: 1.2;
}

.payment-placeholder p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.payment-placeholder .button {
    flex: 0 0 auto;
    border: 1px solid var(--line);
}

.form-success {
    display: none;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(112, 160, 110, 0.36);
    background: rgba(112, 160, 110, 0.14);
    color: var(--graphite);
    font-weight: 800;
    line-height: 1.45;
}

.form-success.is-visible {
    display: block;
}

.detail-visual {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.1), transparent 34%),
        rgba(255, 253, 248, 0.94);
}

.product-gallery {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 16px;
}

.gallery-stage {
    min-height: 540px;
    display: grid;
    place-items: center;
}

.detail-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 14px;
    box-shadow: var(--shadow-strong);
    background: linear-gradient(145deg, rgba(23,59,99,0.96), rgba(76,95,117,0.88));
}

.gallery-slide {
    display: none;
}

.gallery-slide.is-active {
    display: grid;
}

.gallery-main-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    padding: 3px 2px 6px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gallery-thumbnail {
    flex: 0 0 74px;
    width: 74px;
    aspect-ratio: var(--tcg-card-ratio);
    min-width: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(23,59,99,0.9), rgba(124,92,255,0.72));
    color: #fff;
    cursor: pointer;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.14);
}

.gallery-thumbnail span {
    font-size: 20px;
    font-weight: 900;
}

.gallery-thumbnail em {
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.detail-visual.water .detail-card { background: linear-gradient(145deg, rgba(23,59,99,0.96), rgba(78,102,132,0.86)); }
.detail-visual.fire .detail-card { background: linear-gradient(145deg, rgba(244,197,66,0.96), rgba(255,225,140,0.86)); }
.detail-visual.electric .detail-card { background: linear-gradient(145deg, rgba(124,92,255,0.96), rgba(163,146,255,0.82)); }
.detail-visual.dark .detail-card { background: linear-gradient(145deg, rgba(31,41,55,0.96), rgba(92,104,122,0.84)); }
.detail-visual.psychic .detail-card { background: linear-gradient(145deg, rgba(124,92,255,0.94), rgba(97,76,211,0.8)); }
.detail-visual.fighting .detail-card { background: linear-gradient(145deg, rgba(31,41,55,0.92), rgba(72,83,97,0.86)); }
.detail-visual.grass .detail-card { background: linear-gradient(145deg, rgba(112,160,110,0.96), rgba(177,207,154,0.88)); }
.detail-visual.normal .detail-card { background: linear-gradient(145deg, rgba(235,229,220,0.98), rgba(255,253,248,0.96)); }

.detail-visual.normal .detail-card .card-rarity,
.detail-visual.normal .detail-card .detail-ring {
    color: var(--text);
    border-color: rgba(23,59,99,0.14);
}

.detail-ring {
    width: min(78%, 220px);
    aspect-ratio: 1.14 / 1;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    display: grid;
    place-items: center;
    font-size: 56px;
    font-weight: 900;
    color: rgba(255,255,255,0.96);
    background: rgba(255,255,255,0.06);
}

.detail-image-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.24);
    color: rgba(255,255,255,0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-copy {
    padding: 20px;
}

.detail-stats {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.detail-stats li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
}

.detail-stats strong {
    color: var(--muted);
    font-weight: 700;
}

.detail-specs {
    display: grid;
    gap: 22px;
    padding: 6px 0 12px;
}

.spec-section {
    display: grid;
    gap: 12px;
}

.spec-section h2 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    color: var(--graphite);
}

.spec-table {
    display: grid;
    grid-template-columns: 0.82fr 1.22fr 0.82fr 1.22fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
}

.spec-cell {
    min-height: 52px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--graphite);
    line-height: 1.35;
}

.spec-cell:nth-child(4n) {
    border-right: 0;
}

.spec-cell:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.spec-label {
    background: rgba(23, 59, 99, 0.045);
    color: var(--muted);
}

.spec-value {
    font-weight: 800;
}

.site-footer {
    margin-top: 30px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    color: #f7f4ee;
    background:
        radial-gradient(circle at top right, rgba(124,92,255,0.18), transparent 32%),
        linear-gradient(145deg, #173b63, #1f2937);
    box-shadow: 0 -18px 45px rgba(31, 41, 55, 0.14);
}

.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 42px;
    display: grid;
    gap: 44px;
    color: #f7f4ee;
}

.footer-header {
    display: grid;
    gap: 14px;
    max-width: 820px;
    align-items: start;
    padding-top: 42px;
}

.footer-header h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.96;
}

.footer-header p {
    margin: 0;
    color: rgba(247,244,238,0.84);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, minmax(150px, 1fr));
    gap: clamp(34px, 6vw, 88px);
    padding-top: 12px;
}

.footer-brand {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-logo {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.footer-brand p,
.footer-header p,
.site-footer p {
    margin: 0;
    color: rgba(247,244,238,0.84);
    max-width: 560px;
}

.footer-column h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 21px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.footer-column a {
    color: rgba(247,244,238,0.84);
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 26px;
    border-top: 1px solid rgba(247,244,238,0.16);
    color: rgba(247,244,238,0.78);
}

@media (max-width: 1080px) {
    .site-header,
    .hero,
    .spotlight,
    .detail-layout,
    .contact-layout,
    .about-hero,
    .about-intro-band,
    .about-sourcing-board,
    .about-market-band,
    .about-layout,
    .spotlight-panel,
    .collection-grid,
    .product-grid,
    .journal-grid,
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-hero,
    .about-intro-band,
    .about-sourcing-board,
    .about-market-band {
        grid-template-columns: 1fr;
    }

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

    .about-services-grid,
    .about-mission .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-board-grid,
    .about-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .about-market-list {
        justify-content: flex-start;
    }

    .site-header {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .header-search-popover {
        right: auto;
        left: 0;
    }

    .product-search-band {
        grid-template-columns: 1fr;
    }

    .search-summary {
        text-align: left;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: min(260px, 72vw);
    }

    .site-nav {
        justify-content: flex-start;
    }

.hero-display {
        min-height: 440px;
    }

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

    .card-art {
        min-height: 210px;
    }

    .home-banner,
    .home-banner-track {
        min-height: 380px;
    }

    .home-banner-copy {
        width: min(560px, 54vw);
    }

    .home-banner-copy-surprised {
        width: min(600px, 62vw);
    }

    .home-banner-copy-surprised .banner-burst {
        left: -44px;
        top: -16px;
    }

    .home-banner-slide:nth-child(2) .home-banner-copy {
        left: 26%;
    }

    .spec-table {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .spec-cell:nth-child(4n) {
        border-right: 1px solid var(--line);
    }

    .spec-cell:nth-child(2n) {
        border-right: 0;
    }

    .spec-cell:nth-last-child(-n + 4) {
        border-bottom: 1px solid var(--line);
    }

    .spec-cell:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 14px, var(--max));
        padding-top: 8px;
    }

    .topbar,
    .site-footer,
    .journal-row,
    .set-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .spotlight,
    .detail-layout,
    .contact-layout,
    .about-hero,
    .about-intro-band,
    .about-sourcing-board,
    .about-market-band,
    .about-layout,
    .spotlight-panel,
    .cta-band,
    .info-band,
    .collection-grid,
    .product-grid,
    .journal-grid,
    .about-grid,
    .note-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-services-grid,
    .about-mission .about-grid {
        grid-template-columns: 1fr;
    }

    .header-tools {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-tools > .icon-button {
        flex: 1 1 auto;
    }

    .header-search-popover {
        top: calc(100% + 8px);
        width: 100%;
    }

    .header-search-form,
    .product-search-form {
        grid-template-columns: 1fr;
    }

    .product-search-band {
        padding: 16px 4px;
    }

    .clear-search {
        width: fit-content;
    }

    .page-shop .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .about-hero-copy,
    .about-hero-visual,
    .about-intro-band,
    .about-sourcing-board,
    .about-market-band {
        padding: 18px;
    }

    .about-hero-visual {
        min-height: 0;
    }

    .about-visual-panel {
        padding: 18px;
    }

    .about-visual-main {
        grid-template-columns: 1fr;
    }

    .about-visual-metrics {
        grid-template-columns: 1fr;
    }

    .about-visual-steps {
        grid-template-columns: 1fr;
    }

    .about-visual-markets span {
        min-height: 38px;
        padding: 9px 12px;
    }

    .about-board-grid,
    .about-stat-strip {
        grid-template-columns: 1fr;
    }

    .b2b-panel-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .home-b2b-panel {
        min-height: 0;
        padding: 18px;
    }

    .about-board-grid article {
        min-height: 160px;
    }

    .footer-inner {
        width: min(100% - 18px, var(--max));
        gap: 28px;
        padding: 44px 0 32px;
    }

    .footer-grid {
        gap: 22px;
    }

    .image-slot.wide {
        width: 100%;
        flex-basis: auto;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .payment-placeholder {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .spotlight {
        gap: 16px;
    }

    .hero h1 {
        font-size: clamp(32px, 12vw, 46px);
    }

    .detail-copy h1 {
        max-width: none;
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.1;
    }

    .hero-display,
    .detail-visual {
        min-height: 360px;
    }

    .detail-visual {
        padding: 18px 12px;
    }

    .gallery-stage {
        min-height: 360px;
    }

    .detail-card {
        width: min(100%, 440px);
    }

    .gallery-thumbnails {
        justify-content: flex-start;
    }

    .card-art {
        min-height: 200px;
    }

    .home-banner,
    .home-banner-track {
        min-height: 290px;
    }

    .home-banner-slide {
        background-position: center;
    }

    .home-banner-copy,
    .home-banner-slide:nth-child(2) .home-banner-copy {
        left: 50%;
        width: min(86vw, 420px);
    }

    .home-banner-copy {
        gap: 9px;
    }

    .home-banner-slide:nth-child(3) .home-banner-copy {
        top: 38%;
    }

    .home-banner-copy-surprised {
        top: 38%;
        width: min(82vw, 390px);
    }

    .home-banner-copy-surprised .banner-burst {
        left: 0;
        top: 0;
        width: 78px;
        padding: 13px;
        font-size: 11px;
        transform: translate(-18%, -22%) rotate(-12deg);
    }

    .home-banner-copy-surprised em {
        padding: 8px 16px;
    }

    .home-banner-copy em {
        min-width: 118px;
        padding: 10px 16px;
    }

    .spec-table {
        grid-template-columns: 1fr;
    }

    .spec-cell,
    .spec-cell:nth-child(2n),
    .spec-cell:nth-child(4n),
    .spec-cell:nth-last-child(-n + 2),
    .spec-cell:nth-last-child(-n + 4) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .spec-cell:last-child {
        border-bottom: 0;
    }

    .spec-label {
        min-height: 38px;
        padding-bottom: 8px;
    }

    .spec-value {
        min-height: 44px;
        padding-top: 8px;
    }

    .stack-front {
        inset: 44px 20px 28px 20px;
    }

    .stack-back.left {
        inset: 58px auto auto 16px;
        width: 150px;
        height: 230px;
    }

    .stack-back.right {
        inset: 72px 14px auto auto;
        width: 140px;
        height: 220px;
    }

    .detail-ring {
        width: 64%;
        font-size: 58px;
    }
}

/* Keep these WordPress navigation overrides last in the cascade. */
@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav > ul {
        align-items: stretch;
        flex-direction: column;
    }
}
