/* Custom Nation Brand Kit, 7 October 2026. Source artwork is preserved in /images/brand. */
@font-face { font-family:"CN Display"; src:url('/fonts/league-spartan.ttf') format('truetype'); font-style:normal; font-weight:100 900; font-display:swap; }
@font-face { font-family:"CN Sans"; src:url('/fonts/dm-sans-400.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:"CN Sans"; src:url('/fonts/dm-sans-700.ttf') format('truetype'); font-style:normal; font-weight:600 900; font-display:swap; }
@font-face { font-family:"CN Mono"; src:url('/fonts/anonymous-pro-400.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:"CN Mono"; src:url('/fonts/anonymous-pro-700.ttf') format('truetype'); font-style:normal; font-weight:700; font-display:swap; }
/* Patrick Hand is the openly licensed substitute pending licensed FF Providence webfonts. */
@font-face { font-family:"CN Hand"; src:url('/fonts/patrick-hand.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }

:root {
    --brand-blue:#1b28db;
    --brand-yellow:#fffe77;
    --brand-orange:#ff751f;
    --brand-black:#000000;
    --brand-cream:#f8f2d5;
    --brand-sky:#92d8ff;
    --brand-grey:#d9d9d9;
    --brand-blue-soft:#eef0ff;
    --brand-blue-dark:#141da5;
    --brand-muted:#535461;
    --brand-line:#d9d9e3;
    --brand-display:"CN Display",Arial,sans-serif;
    --brand-body:"CN Sans",Arial,sans-serif;
    --brand-mono:"CN Mono","Courier New",monospace;
    --brand-hand:"CN Hand",cursive;
    --blue:var(--brand-blue);
    --ink:var(--brand-black);
    --muted:var(--brand-muted);
    --bs-primary:var(--brand-blue);
    --bs-primary-rgb:27,40,219;
    --bs-link-color:var(--brand-blue);
    --bs-link-hover-color:var(--brand-blue-dark);
    --bs-body-font-family:var(--brand-body);
}
body { font-family:var(--brand-body); letter-spacing:0; }
body :is(button,input,select,textarea) { font-family:inherit; letter-spacing:0; }
:is(.app-shell,.pg-shell,.pg-dialog,.driver-app) :is(h1,h2,h3,h4) { font-family:var(--brand-display); font-weight:700; letter-spacing:0; }
:is(.app-shell,.pg-shell,.pg-dialog,.driver-app) :focus-visible { outline:3px solid var(--brand-blue); outline-offset:3px; }
::selection { background:var(--brand-yellow); color:var(--brand-black); }

/* The storefront keeps its desktop/paint interaction language, using the kit's palette. */
.cn-site { --cn-blue:var(--brand-blue); --cn-lime:var(--brand-yellow); --cn-yellow:var(--brand-yellow); --cn-ink:var(--brand-black); --cn-line:var(--brand-black); --cn-paper:var(--brand-sky); --cn-mint:var(--brand-sky); --cn-lavender:var(--brand-grey); --cn-pink:var(--brand-orange); --cn-coral:var(--brand-orange); }
.cn-site .cn-header { background:var(--brand-yellow); }
.cn-site .cn-header::after { background:var(--brand-blue); height:3px; }
.cn-site .cn-logo { width:126px; flex-shrink:0; }
.cn-site .cn-logo img { display:block; width:100%; height:auto; aspect-ratio:586 / 280; object-fit:contain; }
.cn-site .cn-desktop-bar { background:var(--brand-blue); color:var(--brand-yellow); }
.cn-site .cn-desktop-bar :is(a,b) { color:var(--brand-yellow); }
.cn-site .cn-desktop-bar a:hover { color:white; }
.cn-site .cn-header-create { background:var(--brand-blue); color:var(--brand-yellow); }
.cn-site .cn-cart-link { background:var(--brand-sky); }
.cn-site .cn-editorial { background:var(--brand-orange); }
.cn-site .cn-footer { background:var(--brand-blue); color:white; }
.cn-site .cn-footer-brand { display:block; width:234px; max-width:100%; text-shadow:none; }
.cn-site .cn-footer-brand img { display:block; width:100%; height:auto; }
.cn-site .cn-footer .cn-eyebrow { background:var(--brand-yellow); }
.cn-site .cn-footer-bottom { border-color:var(--brand-yellow); }
.cn-site .cn-footer a:hover { color:var(--brand-yellow); }
.cn-site :is(.cn-story-copy > p,.cn-section-heading > p,.cn-qatar-copy > p,.cn-enquiry-art p,.cn-basket-empty > p) { font-family:var(--brand-hand); font-size:23px; line-height:1.4; }
.cn-site :is(.cn-shop-heading > p,.cn-detail-description,.cn-editorial-bottom > p,.cn-enquiry-form > p) { font-family:var(--brand-hand); font-size:22px; line-height:1.4; }
.cn-site :is(.cn-work,.cn-related) .cn-section-heading h2 { font-size:64px; line-height:1.03; }
.cn-site .cn-story-copy h2 { font-size:64px; line-height:1.03; }
.cn-site .cn-qatar h2 { font-size:66px; line-height:1.03; }
.cn-site .cn-create-band h2 { font-size:82px; line-height:1.03; }
.cn-site .cn-home .cn-hero h1 { font-size:100px; line-height:1; }
.cn-site .cn-home .cn-hero-bottom p { font-size:42px; line-height:1.05; }
.cn-site .cn-shop-heading h1 { font-size:84px; line-height:1.02; }
.cn-site .cn-detail-copy h1 { font-size:60px; line-height:1.04; overflow-wrap:anywhere; }
.cn-site .cn-commerce-heading h1 { font-size:66px; line-height:1.03; }
.cn-site .cn-enquiry-art h1 { font-size:72px; line-height:1.03; }
.cn-site .cn-enquiry-form h2 { font-size:48px; line-height:1.05; }
.cn-site .cn-basket-empty h2 { font-size:36px; line-height:1.1; }
.cn-basket-mascot { display:block; width:150px; height:150px; object-fit:contain; margin:0 0 22px; }
.cn-site .cn-cart-error,.cn-designer .cn-designer-ai-error { background:#fff1ef; color:#a51d16; border-color:#b8231d; }

.cn-designer,.cn-designer-3d { --studio-ink:var(--brand-black); --studio-blue:var(--brand-blue); --studio-lime:var(--brand-yellow); --studio-mint:var(--brand-sky); --studio-coral:var(--brand-orange); --studio-pink:var(--brand-orange); --studio-lavender:var(--brand-grey); }
.cn-site .cn-designer-titlebar { background:var(--brand-blue); color:var(--brand-yellow); }
.cn-site .cn-designer :is(.cn-designer-tools,.cn-designer-inspector,.cn-designer-palette) { background:var(--brand-grey); }
.cn-site .cn-designer .cn-designer-projectbar { background:var(--brand-yellow); }
.cn-site .cn-designer .cn-designer-quickbar { background:var(--brand-cream); }
.cn-site .cn-designer .cn-designer-stage-inner { background-image:conic-gradient(var(--brand-sky) 25%,#c8eaff 0 50%,var(--brand-sky) 0 75%,#c8eaff 0); }
.cn-site .cn-showroom { --sr-ink:var(--brand-black); --sr-blue:var(--brand-blue); --sr-mint:var(--brand-sky); --sr-lime:var(--brand-yellow); --sr-pink:var(--brand-orange); background:var(--brand-yellow); }
.cn-site .cn-showroom-intro h1 { font-size:60px; line-height:1.04; }
.cn-site .cn-showroom-rail { background:var(--brand-sky); }

/* Operational pages retain restrained surfaces and semantic status colors. */
.app-shell .top-nav { border-bottom:3px solid var(--brand-blue); }
.app-shell .brand-zone { background:var(--brand-yellow); border-right:1px solid var(--brand-grey); justify-content:center; }
.app-shell .app-brand { justify-content:center; }
.app-brand-logo { display:block; width:110px; height:53px; object-fit:contain; }
.app-shell .nav-entry.active { color:var(--brand-blue); border-color:var(--brand-blue); }
.app-shell .nav-entry:hover { color:var(--brand-blue); }
.app-shell .user-avatar { background:var(--brand-yellow); color:var(--brand-blue); }
.app-shell .primary-button { background:var(--brand-blue); color:white; }
.app-shell .primary-button:hover { background:var(--brand-blue-dark); }
.app-shell .dashboard-v3 { --dc-ink:var(--brand-black); --dc-muted:var(--brand-muted); --dc-line:var(--brand-line); --dc-blue:var(--brand-blue); --dc-orange:var(--brand-orange); --dc-purple:#6369b1; background:#f8f9ff; }
.dashboard-v3 .dc-eyebrow,.dashboard-v3 .dc-section-head>a { color:var(--brand-blue); }
.dashboard-v3 .dashboard-range { background:var(--brand-blue-soft); }
.dashboard-v3 .dashboard-range button.active { background:var(--brand-blue); color:white; }
.dashboard-v3 .dc-kpis a:hover { background:var(--brand-blue-soft); }
.dashboard-v3 .dc-kpis small { color:var(--brand-muted); }
.dashboard-v3 .dc-column-head { border-bottom:3px solid var(--brand-yellow); padding-bottom:12px; }
.dashboard-v3 .dc-trend-empty { background:var(--brand-blue-soft); }
.dashboard-v3 .dc-trend-chart { border-color:var(--brand-line); background:repeating-linear-gradient(to top,transparent 0,transparent 43px,var(--brand-line) 44px); }
.dashboard-v3 .dc-action-first { background:var(--brand-blue); color:white; }
.dashboard-v3 .dc-action:hover { background:var(--brand-blue-soft); }
.dashboard-v3 .dc-action-first:hover { background:var(--brand-blue-dark); }
.dashboard-v3 .dc-action-first :is(.dc-action-count,.dc-action-rank,.app-icon) { color:var(--brand-yellow); }
.dashboard-v3 .dc-action-first .dc-action-copy small { color:white; }
.dashboard-v3 .dc-priority-copy button { color:var(--brand-blue); }
.dashboard-v3 .dc-progress-button { background:var(--brand-blue-soft); color:var(--brand-blue); border-color:var(--brand-line); }
body .pg-shell,body .pg-dialog { font-family:var(--brand-body); }
body :is(.pg-shell,.pg-dialog) :is(h1,h2,h3,h4) { font-family:var(--brand-display); font-weight:700; }
body .pg-header { border-bottom:3px solid var(--brand-blue); background:var(--brand-yellow); }
body .pg-logo { border-right:0; }
body .pg-logo img { width:100%; height:auto; object-fit:contain; }
body .pg-policy { background:var(--brand-blue-soft); }
body .pg-welcome-mark { background:var(--brand-yellow); color:var(--brand-blue); }
body .pg-primary { background:var(--brand-blue); color:white; }
body .pg-primary:hover { background:var(--brand-blue-dark); }

.driver-app { background:#f8f9ff; color:var(--brand-black); }
.driver-app .site-header { background:var(--brand-yellow); border-bottom:3px solid var(--brand-blue); }
.driver-app .site-header img { width:103px; height:49px; object-fit:contain; }
.driver-app .next-panel { background:var(--brand-blue); border-left-color:var(--brand-yellow); }
.driver-app .next-panel .eyebrow { color:var(--brand-yellow); }
.driver-app .next-panel .primary { background:var(--brand-yellow); color:var(--brand-black); }
.driver-app .primary { background:var(--brand-blue); }
.driver-app .eyebrow,.driver-app .next-step span { letter-spacing:0; }
.driver-app .next-step { border-left-color:var(--brand-blue); background:var(--brand-blue-soft); }
.driver-app .payment-card { background:var(--brand-blue-soft); }
.driver-app .payment-card strong { font-family:var(--brand-display); }

@media (max-width:1100px) {
    .cn-site .cn-home .cn-hero h1 { font-size:76px; }
    .cn-site .cn-shop-heading h1 { font-size:66px; }
    .cn-site :is(.cn-story-copy,.cn-work .cn-section-heading,.cn-qatar) h2 { font-size:48px; }
    .cn-site .cn-create-band h2 { font-size:66px; }
}
@media (max-width:700px) {
    .cn-site .cn-logo { width:112px; }
    .cn-site .cn-header-create { padding-inline:8px !important; }
    .cn-site .cn-home .cn-hero h1 { font-size:54px; line-height:1.02; }
    .cn-site .cn-home .cn-hero-bottom p { font-size:28px; }
    .cn-site .cn-shop-heading h1 { font-size:46px; }
    .cn-site :is(.cn-story-copy,.cn-work .cn-section-heading,.cn-qatar) h2 { font-size:40px; }
    .cn-site .cn-create-band h2 { font-size:44px; }
    .cn-site .cn-commerce-heading h1 { font-size:40px; }
    .cn-site .cn-detail-copy h1 { font-size:42px; }
    .cn-site .cn-enquiry-art h1 { font-size:48px; }
    .cn-site .cn-enquiry-form h2 { font-size:36px; }
    .cn-site .cn-showroom-intro h1 { font-size:36px; }
    .cn-site .cn-basket-empty h2 { font-size:28px; }
    .cn-site .cn-footer-brand { width:220px; }
    .cn-site .cn-designer-projectbar h1 { font-size:24px; }
}
@media (max-width:360px) {
    .cn-site .cn-home .cn-hero h1 { font-size:45px; }
    .cn-site .cn-header-create { font-size:10px !important; }
    .cn-site .cn-shop-heading h1 { font-size:40px; }
    .cn-site :is(.cn-story-copy,.cn-work .cn-section-heading,.cn-qatar) h2 { font-size:34px; }
    .cn-site .cn-create-band h2 { font-size:36px; }
}
@media print {
    .document-sheet,.order-label { background:white; color:black; }
}
