/* AuraCanvas shared styles: tokens, type, nav, announcement bar, glows, buttons, footer.
   Page-specific CSS stays inline in each page. Fonts are self-hosted (assets/fonts.css). */

:root {
    --bg: #0a0a0c;
    --surface: #121218;
    --surface-2: #17171f;
    --ink: #f6f3ef;
    --ink-soft: #d4d4d8;
    --muted: #9ca3af;
    --faint: #6b7280;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.16);
    --orange: #f97316;
    --pink: #ec4899;
    --violet: #a855f7;
    --grad: linear-gradient(100deg, #f97316 0%, #ec4899 50%, #a855f7 100%);
    --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 999px;
    --nav-h: 64px;
    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: rgba(236,72,153,0.3); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
    font-family: var(--sans);
    font-weight: 400;
    background: var(--bg);
    color: var(--ink-soft);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: #f472b6; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #f472b6; outline-offset: 3px; border-radius: 4px; }
strong { color: var(--ink); font-weight: 600; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 300;
    background: #fff; color: #000; padding: 8px 14px; border-radius: var(--r-sm);
    font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, .serif {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.08;
}
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding-right: 0.06em; /* keeps italic glyph edges inside the clip */
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans);
    font-size: 0.74rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: #f9a8d4;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: ''; width: 22px; height: 1px;
    background: var(--grad);
}
.eyebrow.center::after {
    content: ''; width: 22px; height: 1px;
    background: var(--grad);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; padding: 0 24px; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* Inner pages */
.page {
    position: relative; z-index: 1;
    max-width: 760px; margin: 0 auto;
    padding: 72px 24px 40px;
}
.page-head { margin-bottom: 40px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 1.05rem; }
.prose h2 { font-size: 1.75rem; font-weight: 600; margin: 40px 0 12px; }
.prose h3 { font-size: 1.45rem; font-weight: 600; margin: 0 0 8px; }
.prose p, .prose li { color: #b4b4bc; margin-bottom: 12px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li::marker { color: #f472b6; }
.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
}

/* ---------- Ambient glows ---------- */
.bg-glows {
    position: fixed; inset: 0;
    overflow: hidden; pointer-events: none; z-index: 0;
}
.glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.glow-1 { top: -20%; left: -10%; width: 60vw; height: 60vw; background: rgba(234,88,12,0.16); animation: glowA 9s ease-in-out infinite; }
.glow-2 { top: 25%; right: -20%; width: 55vw; height: 55vw; background: rgba(219,39,119,0.14); animation: glowB 11s ease-in-out 2s infinite; }
.glow-3 { bottom: -25%; left: 15%; width: 70vw; height: 70vw; background: rgba(147,51,234,0.16); animation: glowC 8s ease-in-out 4s infinite; }
.glows-soft .glow { opacity: 0.6; }
@keyframes glowA { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.18); opacity: 0.8; } }
@keyframes glowB { 0%,100% { transform: scale(1); opacity: 0.45; } 50% { transform: scale(1.25); opacity: 0.75; } }
@keyframes glowC { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.85; } }

/* ---------- Announcement bar ---------- */
.announce {
    position: relative; z-index: 101;
    display: flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 8px 52px;
    background: linear-gradient(90deg, rgba(249,115,22,0.18), rgba(236,72,153,0.22), rgba(168,85,247,0.18)), #0f0d12;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem; color: var(--ink);
    text-align: center; line-height: 1.4;
}
.announce a { color: var(--ink); }
.announce a:hover { text-decoration: none; }
.announce a:hover .announce-cta { text-decoration: underline; text-underline-offset: 3px; }
.announce-new {
    display: inline-block; margin-right: 6px;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: #fbcfe8;
}
.announce-cta { font-weight: 500; color: #fbcfe8; white-space: nowrap; }
.announce-close {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 0; color: var(--ink-soft); cursor: pointer;
}
.announce-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.announce-close svg { width: 16px; height: 16px; }
.bar-off .announce { display: none; }

/* ---------- Nav ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(10,10,12,0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
    max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 0;
    color: var(--ink); line-height: 1;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-brand span {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    color: #b4b4bc; font-size: 0.92rem; font-weight: 400; letter-spacing: 0.02em;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 #f472b6; }
.nav-shop {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: var(--r-pill);
    background: var(--grad);
    color: #fff !important; font-weight: 500 !important; font-size: 0.85rem !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 6px 20px -8px rgba(236,72,153,0.7);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-shop:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(236,72,153,0.85); }
.nav-shop svg { width: 14px; height: 14px; }
.nav-right { display: none; align-items: center; gap: 12px; }
.nav-shop-mobile { display: none; }
.nav-toggle {
    display: none;
    width: 42px; height: 42px; border-radius: 12px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 1px solid var(--line);
    color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 820px) {
    .nav-toggle { display: inline-flex; }
    .nav-right { display: flex; }
    .nav-shop-mobile { display: inline-flex; }
    .nav-links .nav-shop { display: none; }
    .nav-links {
        display: none;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(10,10,12,0.97);
        border-bottom: 1px solid var(--line);
        padding: 8px 24px 18px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 13px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links a[aria-current="page"] { box-shadow: none; color: #f9a8d4; }
}
@media (max-width: 380px) {
    .nav-brand { font-size: 1.4rem; }
    .nav-brand img { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 26px;
    border-radius: var(--r-pill);
    font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em;
    line-height: 1.15; text-decoration: none; cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-light { background: #fff; color: #0a0a0c; }
.btn-light:hover { background: #f3f4f6; box-shadow: 0 10px 30px -10px rgba(255,255,255,0.35); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(236,72,153,0.8); }
.btn-grad:hover { box-shadow: 0 14px 34px -10px rgba(236,72,153,0.9); }
/* App-store style two-line label */
.btn-store { padding: 10px 24px 10px 20px; text-align: left; }
.btn-store svg { width: 24px; height: 24px; }
.btn-store .btn-lines { display: flex; flex-direction: column; }
.btn-store small { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.04em; opacity: 0.75; }
.btn-store strong { font-size: 1.05rem; font-weight: 600; color: inherit; letter-spacing: 0.01em; }

/* ---------- Footer ---------- */
.site-footer {
    position: relative; z-index: 1;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.75) 40%);
    padding: 56px 24px 32px;
    font-size: 0.92rem;
}
.footer-grid {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer-brand .nav-brand { font-size: 1.7rem; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 300px; margin-bottom: 18px; }
.footer-col h3 {
    font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase; color: #f9a8d4;
    margin-bottom: 14px; line-height: 1.4;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b4b4bc; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-note { color: var(--faint); font-size: 0.82rem; margin-top: 14px; line-height: 1.5; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #9ca3af; border: 1px solid var(--line);
    transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: #ff3b3b; border-color: rgba(255,59,59,0.4); text-decoration: none; }
.footer-bottom {
    max-width: 1180px; margin: 40px auto 0; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    color: #5b5b66; font-size: 0.82rem;
}
.footer-bottom a { color: #7a7a86; }
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-originals { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; gap: 8px; }
    .eyebrow::before, .eyebrow.center::after { width: 14px; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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