/* =========================================================
   AURORA — Modern Lifestyle Magazine
   A bold, dark, high-contrast template.
   Distinct from the warm editorial "Lumière" theme.
   ========================================================= */

:root {
    --bg:        #0E0E10;   /* near-black base */
    --surface:   #17171B;   /* cards / panels */
    --surface-2: #1F1F25;   /* raised */
    --line:      #2C2C34;   /* borders */
    --text:      #F4F4F2;   /* primary text */
    --muted:     #9A9AA6;   /* secondary text */
    --dim:       #6C6C78;   /* tertiary */
    --accent:    #C6FF3D;   /* electric lime */
    --accent-2:  #7C5CFF;   /* violet secondary */
    --accent-ink:#0E0E10;   /* text on accent */
    --sans: 'Inter', system-ui, sans-serif;
    --display: 'Space Grotesk', 'Inter', sans-serif;
    --maxw: 1240px;
    --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------------- header ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14,14,16,.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 74px;
}
.brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -.5px;
    display: flex; align-items: center; gap: 10px;
}
.brand .dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}
.nav-links {
    display: flex; align-items: center; gap: 30px; list-style: none;
}
.nav-links a {
    font-size: .82rem; font-weight: 500; letter-spacing: .3px;
    color: var(--muted); text-transform: uppercase;
    position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 6px;
}
.menu-toggle span {
    width: 24px; height: 2px; background: var(--text); transition: .3s;
}

/* ---------------- buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--accent-ink);
    font-family: var(--display); font-weight: 600;
    font-size: .82rem; letter-spacing: .5px; text-transform: uppercase;
    padding: 15px 34px; border-radius: 100px;
    transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--accent); }
.btn.ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ---------------- hero ---------------- */
.hero {
    padding: 90px 0 70px;
    border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -40%; right: -10%;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,92,255,.22), transparent 65%);
    filter: blur(20px);
}
.hero .eyebrow {
    font-family: var(--display); color: var(--accent);
    font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px;
}
.hero .eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.hero h1 {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.02; letter-spacing: -2px; max-width: 15ch;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
    color: var(--muted); font-size: 1.12rem; max-width: 54ch;
    margin: 26px 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------- section head ---------------- */
.section { padding: 78px 0; }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 44px; gap: 20px; flex-wrap: wrap;
}
.section-head h2 {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    letter-spacing: -1px;
}
.section-head .label {
    font-family: var(--display); font-size: .76rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--dim);
    border: 1px solid var(--line); padding: 8px 16px; border-radius: 100px;
}

/* ---------------- category grid ---------------- */
.cat-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cat-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    cursor: pointer; aspect-ratio: 4/5; background: var(--surface);
    border: 1px solid var(--line);
}
.cat-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease, filter .4s;
    filter: grayscale(.15) brightness(.72);
}
.cat-card:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.8); }
.cat-card .cat-info {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px;
    background: linear-gradient(transparent, rgba(14,14,16,.92));
}
.cat-card .cat-info h3 {
    font-family: var(--display); font-weight: 600; font-size: 1.5rem;
    letter-spacing: -.5px;
}
.cat-card .cat-info p {
    color: var(--accent); font-size: .78rem; letter-spacing: 1.5px;
    text-transform: uppercase; margin-top: 6px; font-weight: 500;
}
.cat-card .arrow {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(-6px); transition: .3s;
}
.cat-card:hover .arrow { opacity: 1; transform: translateY(0); }

/* ---------------- featured ---------------- */
.featured {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 44px; background: var(--surface);
}
.featured .thumb { aspect-ratio: 16/11; overflow: hidden; cursor: pointer; }
.featured .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.featured .thumb:hover img { transform: scale(1.04); }
.featured .f-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured h2 {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1;
    letter-spacing: -1px; margin: 16px 0 14px; cursor: pointer;
    transition: color .2s;
}
.featured h2:hover { color: var(--accent); }
.featured p { color: var(--muted); }

/* ---------------- article grid ---------------- */
.article-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.article-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; cursor: pointer;
    display: flex; flex-direction: column;
    transition: transform .25s, border-color .25s;
}
.article-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.tag {
    align-self: flex-start;
    font-family: var(--display); font-size: .68rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent); border: 1px solid var(--line);
    padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.article-card h3 {
    font-family: var(--display); font-weight: 600; font-size: 1.22rem;
    line-height: 1.25; letter-spacing: -.4px;
}
.article-card .excerpt { color: var(--muted); font-size: .92rem; margin: 12px 0 18px; flex: 1; }
.article-card .meta { color: var(--dim); font-size: .76rem; letter-spacing: .5px; }

/* ---------------- page head ---------------- */
.page-head {
    padding: 80px 0 46px; border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.page-head::before {
    content: ''; position: absolute; top: -60%; left: 30%;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(198,255,61,.12), transparent 65%);
}
.page-head .eyebrow {
    font-family: var(--display); color: var(--accent);
    font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.page-head h1 {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -1.5px;
}
.page-head p { color: var(--muted); max-width: 60ch; margin-top: 18px; font-size: 1.05rem; }

/* ---------------- article detail ---------------- */
.article { max-width: 780px; margin: 0 auto; padding: 60px 0 30px; }
.crumbs {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--display); font-size: .76rem; letter-spacing: 1px;
    text-transform: uppercase; color: var(--dim); margin-bottom: 24px;
}
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--line); }
.article > .tag { margin-bottom: 18px; }
.article h1 {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08;
    letter-spacing: -1.5px; margin-bottom: 18px;
}
.byline {
    color: var(--dim); font-size: .84rem; letter-spacing: .5px;
    padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line);
}
.hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.hero-img img { width: 100%; }

.article-body { font-size: 1.1rem; line-height: 1.8; color: #DCDCDE; }
.article-body p { margin-bottom: 24px; }
.article-body h2 {
    font-family: var(--display); font-weight: 600; color: var(--text);
    font-size: 1.7rem; letter-spacing: -.5px; margin: 44px 0 18px;
}
.article-body img { border-radius: var(--radius); margin: 30px 0; width: 100%; }
.article-body ul { margin: 0 0 24px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; color: var(--muted); }
.article-body em { color: var(--accent); font-style: normal; }

/* inline product link (in-body) */
.product-link {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: var(--accent-ink);
    font-family: var(--display); font-weight: 600;
    font-size: .82rem; letter-spacing: .4px;
    padding: 12px 22px; border-radius: 100px;
    margin: 6px 0 26px; transition: transform .2s, box-shadow .2s;
}
.product-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--accent); }
.product-link svg { width: 16px; height: 16px; }

/* shop-this-story boxes */
.product-box {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius); padding: 22px 26px; margin-bottom: 16px;
}
.product-box .pb-info h4 { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.product-box .pb-info p { color: var(--dim); font-size: .82rem; margin-top: 2px; }

.article-foot { max-width: 780px; margin: 0 auto; padding: 20px 0 0; }
.back-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--display); font-size: .8rem; font-weight: 500;
    letter-spacing: .5px; text-transform: uppercase; color: var(--muted);
    transition: color .2s;
}
.back-link:hover { color: var(--accent); }

/* ---------------- pagination ---------------- */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 54px; }
.pagination button {
    min-width: 44px; height: 44px; padding: 0 14px;
    background: var(--surface); color: var(--text);
    border: 1px solid var(--line); border-radius: var(--radius);
    font-family: var(--display); font-weight: 500; cursor: pointer;
    transition: .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pagination button.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pagination button:disabled { opacity: .35; cursor: not-allowed; }

/* ---------------- about ---------------- */
.about { max-width: 760px; margin: 0 auto; padding: 60px 0; font-size: 1.1rem; line-height: 1.8; }
.about p { color: #DCDCDE; margin-bottom: 24px; }
.about h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 40px 0 16px; letter-spacing: -.5px; }
.disclaimer {
    background: var(--surface); border: 1px solid var(--line);
    border-left: 3px solid var(--accent-2);
    border-radius: var(--radius); padding: 22px 26px;
    font-size: .92rem; color: var(--muted); margin-top: 30px;
}
.disclaimer strong { color: var(--text); }

/* ---------------- footer ---------------- */
.site-footer {
    border-top: 1px solid var(--line); background: #0A0A0C;
    padding: 66px 0 34px; margin-top: 40px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
    padding-bottom: 44px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 42ch; font-size: .95rem; }
.footer-col h4 {
    font-family: var(--display); font-size: .78rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--dim); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 26px; color: var(--dim); font-size: .84rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------------- reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
    .wrap { padding: 0 22px; }
    .nav-links {
        position: fixed; inset: 74px 0 auto 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line);
        padding: 12px 22px 22px; transform: translateY(-120%);
        transition: transform .35s ease; height: auto;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .menu-toggle { display: flex; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .featured { grid-template-columns: 1fr; }
    .featured .f-body { padding: 30px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    .hero { padding: 60px 0 48px; }
    .cat-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section { padding: 56px 0; }
    .article { padding: 40px 0 20px; }
}
