/* =========================================================
   MINDTHINKMEDIA
   Premium Editorial Website
   Version 2.0
   ========================================================= */


/* =========================================================
   01. DESIGN SYSTEM
   ========================================================= */

:root {

    /* ---------- Brand ---------- */

    --brand: #8b6a2f;
    --brand-dark: #6d501f;
    --brand-light: #b99a5b;

    --ink: #171717;
    --ink-soft: #2c2c2c;

    /* ---------- Backgrounds ---------- */

    --paper: #faf9f6;
    --paper-soft: #f4f1eb;
    --paper-warm: #eee9df;

    --white: #ffffff;

    /* ---------- Text ---------- */

    --text: #191919;
    --text-secondary: #575757;
    --text-muted: #85817a;
    --text-light: #aaa59d;

    /* ---------- Borders ---------- */

    --border: #ded9cf;
    --border-light: #ebe7df;
    --border-dark: #c9c1b3;

    /* ---------- Special ---------- */

    --gold-gradient:
        linear-gradient(
            135deg,
            #6f5224 0%,
            #a98542 48%,
            #d0b16c 100%
        );

    --hero-gradient:
        linear-gradient(
            135deg,
            #f8f6f0 0%,
            #f1eee6 50%,
            #ebe5d8 100%
        );

    --soft-gradient:
        linear-gradient(
            135deg,
            #f7f5f0,
            #eeeae1
        );

    /* ---------- Shadows ---------- */

    --shadow-subtle:
        0 2px 10px rgba(35, 29, 20, 0.035);

    --shadow-card:
        0 12px 35px rgba(35, 29, 20, 0.065);

    --shadow-hover:
        0 22px 55px rgba(35, 29, 20, 0.11);

    --shadow-luxury:
        0 30px 80px rgba(35, 29, 20, 0.13);

    /* ---------- Radius ---------- */

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* ---------- Layout ---------- */

    --container: 1180px;

    /* ---------- Animation ---------- */

    --ease:
        cubic-bezier(0.22, 1, 0.36, 1);

    --transition:
        0.35s var(--ease);

    --transition-fast:
        0.22s var(--ease);
}


/* =========================================================
   02. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}





body {
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    background: var(--paper);
    color: var(--text);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

img {
    display: block;
    max-width: 100%;
}

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

ul,
ol {
    list-style: none;
}


/* =========================================================
   03. CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   04. SELECTION
   ========================================================= */

::selection {
    background: var(--brand);
    color: var(--white);
}


/* =========================================================
   05. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        rgba(250, 249, 246, 0.94);

    border-bottom:
        1px solid var(--border-light);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}

.navbar {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* =========================================================
   06. LOGO
   ========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;
    font-weight: 700;

    letter-spacing: -0.5px;

    white-space: nowrap;

    transition:
        opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.78;
}

.logo-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--gold-gradient);

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size: 17px;
    font-weight: 700;

    box-shadow:
        0 5px 18px rgba(139, 106, 47, 0.22);

    position: relative;
}

.logo-mark::after {
    content: "";

    position: absolute;

    inset: 4px;

    border:
        1px solid rgba(255,255,255,0.45);

    border-radius: 50%;
}

.logo-highlight {
    color: var(--brand);
}


/* =========================================================
   07. DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 4px;
}

.desktop-nav a {
    position: relative;

    padding:
        9px 14px;

    color: #68645e;

    font-size: 13px;
    font-weight: 650;

    letter-spacing: 0.15px;

    transition:
        color var(--transition-fast);
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 2px;

    height: 1px;

    background: var(--brand);

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform var(--transition-fast);
}

.desktop-nav a:hover {
    color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.desktop-nav a.active {
    color: var(--brand-dark);
}


/* =========================================================
   08. NAV ACTIONS
   ========================================================= */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.icon-button,
.menu-button {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background: transparent;

    color: var(--ink);

    cursor: pointer;

    font-size: 15px;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.icon-button:hover,
.menu-button:hover {
    background: var(--ink);

    border-color: var(--ink);

    color: var(--white);

    transform: translateY(-2px);
}



/* =========================================================
   09. MOBILE MENU
   ========================================================= */

.mobile-menu {
    display: none;

    padding:
        12px 24px 22px;

    background:
        rgba(250, 249, 246, 0.98);

    border-top:
        1px solid var(--border-light);
}

.mobile-menu a {
    display: block;

    padding: 13px 10px;

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 650;

    border-bottom:
        1px solid var(--border-light);
}

.mobile-menu a:hover {
    color: var(--brand-dark);
}

.menu-button {
    display: none;
}


/* =========================================================
   10. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    padding:
        100px 0 115px;

    overflow: hidden;

    background:
        var(--hero-gradient);
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: -260px;

    border-radius: 50%;

    border:
        1px solid rgba(139,106,47,0.10);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -220px;
    bottom: -250px;

    border-radius: 50%;

    border:
        1px solid rgba(139,106,47,0.08);

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(390px, 0.92fr);

    align-items: center;

    gap: 80px;
}


/* =========================================================
   11. HERO TEXT
   ========================================================= */

.hero-text {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 19px;

    color: var(--brand-dark);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--brand);
}

.hero h1 {
    max-width: 690px;

    margin-bottom: 27px;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 6.2vw, 78px);

    font-weight: 500;

    line-height: 0.99;

    letter-spacing: -4px;
}

.hero h1 span {
    display: block;

    margin-top: 7px;

    color: var(--brand-dark);
}

.hero-text > p {
    max-width: 580px;

    margin-bottom: 34px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   12. HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 27px;
}

.primary-button,
.secondary-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
        0 23px;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 750;

    letter-spacing: 0.3px;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.primary-button {
    background: var(--ink);

    color: var(--white);

    box-shadow:
        0 8px 22px rgba(20,20,20,0.12);
}

.primary-button:hover {
    background: var(--brand-dark);

    color: var(--white);

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 30px rgba(35,29,20,0.16);
}

.primary-button span {
    font-size: 16px;

    transition:
        transform var(--transition-fast);
}

.primary-button:hover span {
    transform:
        translateX(4px);
}

.secondary-button {
    background: transparent;

    color: var(--ink);

    border:
        1px solid var(--border-dark);
}

.secondary-button:hover {
    background: var(--white);

    border-color: var(--ink);

    transform:
        translateY(-3px);
}


/* =========================================================
   13. HERO NOTE
   ========================================================= */

.hero-note {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--text-muted);

    font-size: 12px;

    letter-spacing: 0.2px;
}

.hero-note span {
    color: var(--brand);

    font-size: 14px;
}


/* =========================================================
   14. HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 450px;

    display: grid;
    place-items: center;
}


/* =========================================================
   15. PREMIUM ORB
   ========================================================= */

.hero-orb {
    width: 285px;
    height: 285px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            #ffffff,
            transparent 20%
        ),
        linear-gradient(
            145deg,
            #6f5224,
            #9e7b3b 55%,
            #c6a45d
        );

    box-shadow:
        0 30px 70px rgba(82,61,28,0.20);

    position: relative;

    animation:
        premiumFloat 7s ease-in-out infinite;
}

.hero-orb::before {
    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid rgba(255,255,255,0.35);

    border-radius: 50%;
}

.hero-orb::after {
    content: "";

    position: absolute;

    inset: 28px;

    border:
        1px solid rgba(255,255,255,0.14);

    border-radius: 50%;
}

.orb-inner {
    width: 185px;
    height: 185px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.25);

    backdrop-filter:
        blur(10px);

    color: var(--white);

    font-size: 22px;

    position: relative;
    z-index: 2;
}

.orb-inner span:nth-child(2) {
    font-size: 52px;
}


/* =========================================================
   16. FLOATING CARDS
   ========================================================= */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 195px;

    padding:
        14px 16px;

    background:
        rgba(255,255,255,0.88);

    border:
        1px solid rgba(210,203,190,0.85);

    box-shadow:
        var(--shadow-card);

    backdrop-filter:
        blur(15px);

    color: var(--ink);

    z-index: 5;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.floating-card:hover {
    box-shadow:
        var(--shadow-hover);

    transform:
        translateY(-5px);
}

.floating-card > span {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--paper-warm);

    font-size: 19px;
}

.floating-card strong {
    display: block;

    color: var(--ink);

    font-family:
        Georgia,
        serif;

    font-size: 13px;

    font-weight: 700;
}

.floating-card small {
    display: block;

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 10px;
}

.card-one {
    top: 35px;
    left: -5px;

    animation:
        cardFloat 6s ease-in-out infinite;
}

.card-two {
    right: -5px;
    top: 45%;

    animation:
        cardFloat 6s 1.2s ease-in-out infinite;
}

.card-three {
    bottom: 20px;
    left: 9%;

    animation:
        cardFloat 6s 2.2s ease-in-out infinite;
}


/* =========================================================
   17. SEARCH
   ========================================================= */

.search-section {
    padding: 30px 0;

    background:
        var(--paper);

    border-bottom:
        1px solid var(--border-light);
}

.search-wrapper {
    position: relative;

    max-width: 680px;

    margin-inline: auto;
}

.search-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    transform:
        translateY(-50%);

    color: var(--text-muted);

    font-size: 16px;

    pointer-events: none;
}

.search-wrapper input {
    width: 100%;
    height: 52px;

    padding:
        0 48px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius: 4px;

    color: var(--ink);

    outline: none;

    box-shadow:
        var(--shadow-subtle);

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.search-wrapper input::placeholder {
    color: var(--text-light);
}

.search-wrapper input:focus {
    border-color:
        var(--brand);

    box-shadow:
        0 0 0 3px rgba(139,106,47,0.08);
}

.clear-search {
    position: absolute;

    right: 10px;
    top: 50%;

    transform:
        translateY(-50%);

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: transparent;

    color: var(--text-muted);

    cursor: pointer;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity var(--transition-fast),
        background var(--transition-fast);
}

.clear-search:hover {
    background: var(--paper-warm);

    color: var(--ink);
}

.search-wrapper.has-value .clear-search {
    opacity: 1;

    pointer-events: auto;
}

.search-message {
    max-width: 680px;

    margin:
        9px auto 0;

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   18. GENERAL SECTIONS
   ========================================================= */

.categories-section,
.featured-section,
.latest-section,
.idea-section {
    padding:
        100px 0;

    background:
        var(--paper);
}

.featured-section,
.idea-section {
    background:
        var(--paper-soft);
}


/* =========================================================
   19. SECTION HEADING
   ========================================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 38px;
}

.section-heading h2 {
    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(32px, 4vw, 46px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -1.8px;
}

.section-heading-row {
    align-items: center;
}

.view-all {
    color: var(--brand-dark);

    font-size: 12px;
    font-weight: 750;

    letter-spacing: 0.3px;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.view-all:hover {
    color: var(--ink);

    transform:
        translateX(4px);
}


/* =========================================================
   20. CATEGORY GRID
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.category-card {
    min-height: 205px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    padding: 25px;

    position: relative;

    overflow: hidden;

    text-align: left;

    background:
        var(--white);

    border:
        1px solid var(--border-light);

    color: var(--ink);

    cursor: pointer;

    box-shadow:
        var(--shadow-subtle);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.category-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        var(--gold-gradient);

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform var(--transition);
}

.category-card:hover {
    transform:
        translateY(-7px);

    border-color:
        var(--border-dark);

    box-shadow:
        var(--shadow-card);
}

.category-card:hover::before {
    transform:
        scaleX(1);
}

.category-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: auto;

    border-radius: 12px;

    background:
        var(--paper-soft);

    font-size: 23px;

    position: relative;
}

.category-card strong {
    margin-top: 28px;

    color: var(--ink);

    font-family:
        Georgia,
        serif;

    font-size: 17px;

    font-weight: 600;
}

.category-card small {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   21. FEATURED ARTICLE
   ========================================================= */

.featured-card {
    display: grid;

    grid-template-columns:
        minmax(320px, 0.9fr)
        minmax(0, 1.1fr);

    min-height: 470px;

    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid var(--border-light);

    box-shadow:
        var(--shadow-card);
}

.featured-image {
    min-height: 100%;

    display: grid;
    place-items: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #5c461f,
            #98783e 50%,
            #c1a064
        );
}

.featured-image::before {
    content: "";

    position: absolute;

    inset: 25px;

    border:
        1px solid rgba(255,255,255,0.2);
}

.featured-image::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.12);
}

.image-placeholder {
    width: 190px;
    height: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.25);

    backdrop-filter:
        blur(8px);

    color:
        var(--white);

    text-align: center;

    position: relative;
    z-index: 2;
}

.image-placeholder span {
    font-size: 58px;

    margin-bottom: 8px;
}

.image-placeholder p {
    font-family:
        Georgia,
        serif;

    font-size: 12px;

    letter-spacing: 0.7px;
}

.featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding:
        55px;
}

.post-category {
    display: inline-flex;

    padding:
        6px 10px;

    background:
        var(--paper-warm);

    color:
        var(--brand-dark);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.featured-content h3 {
    max-width: 620px;

    margin-top: 19px;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(30px, 4vw, 46px);

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -2px;
}

.featured-content > p {
    max-width: 620px;

    margin-top: 20px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.85;
}

.post-meta {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 20px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 0.3px;
}

.read-button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: auto;
    padding-top: 25px;

    color:
        var(--brand-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.4px;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.read-button:hover {
    color:
        var(--ink);

    transform:
        translateX(5px);
}


/* =========================================================
   22. ARTICLE GRID
   ========================================================= */

.articles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.article-card {
    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid var(--border-light);

    box-shadow:
        var(--shadow-subtle);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.article-card:hover {
    transform:
        translateY(-7px);

    border-color:
        var(--border-dark);

    box-shadow:
        var(--shadow-hover);
}


/* =========================================================
   23. ARTICLE IMAGE
   ========================================================= */

.article-image {
    height: 205px;

    display: grid;
    place-items: center;

    position: relative;

    overflow: hidden;
}

.article-image::before {
    content: "";

    position: absolute;

    inset: 14px;

    border:
        1px solid rgba(255,255,255,0.22);
}

.article-image::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.13);
}

.article-image span {
    position: relative;
    z-index: 2;

    font-size: 58px;

    transition:
        transform var(--transition);
}

.article-card:hover
.article-image span {
    transform:
        scale(1.1)
        translateY(-4px);
}

.ai-image {
    background:
        linear-gradient(
            135deg,
            #43386f,
            #7b6b9e
        );
}

.study-image {
    background:
        linear-gradient(
            135deg,
            #7e5d31,
            #c19355
        );
}

.story-image {
    background:
        linear-gradient(
            135deg,
            #302c3e,
            #695b75
        );
}


/* =========================================================
   24. ARTICLE CONTENT
   ========================================================= */

.article-card-content {
    padding:
        25px 25px 27px;
}

.article-card-content h3 {
    margin-top: 13px;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;

    font-weight: 600;

    line-height: 1.25;

    letter-spacing: -0.5px;
}

.article-card-content p {
    margin-top: 12px;

    color:
        var(--text-secondary);

    font-size: 13px;

    line-height: 1.75;
}

.article-card-content > a {
    display: inline-flex;

    margin-top: 20px;

    color:
        var(--brand-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.4px;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.article-card-content > a:hover {
    color:
        var(--ink);

    transform:
        translateX(4px);
}


/* =========================================================
   25. NO RESULTS
   ========================================================= */

.no-results {
    display: none;

    max-width: 500px;

    margin:
        40px auto 0;

    padding:
        45px 25px;

    text-align: center;

    background:
        var(--white);

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-subtle);
}

.no-results > span {
    display: block;

    margin-bottom: 12px;

    font-size: 35px;
}

.no-results h3 {
    color: var(--ink);

    font-family:
        Georgia,
        serif;

    font-size: 21px;

    font-weight: 600;
}

.no-results p {
    margin-top: 5px;

    color: var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   26. PREMIUM CTA
   ========================================================= */

.idea-section {
    position: relative;

    overflow: hidden;
}

.idea-card {
    position: relative;

    max-width: 900px;

    margin-inline: auto;

    padding:
        75px 40px;

    text-align: center;

    overflow: hidden;

    background:
        var(--soft-gradient);

    border:
        1px solid var(--border-light);
}

.idea-card::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -130px;
    right: -90px;

    border-radius: 50%;

    border:
        1px solid rgba(139,106,47,0.12);
}

.idea-card::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    bottom: -100px;
    left: -60px;

    border-radius: 50%;

    border:
        1px solid rgba(139,106,47,0.10);
}

.idea-icon {
    position: relative;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin:
        0 auto 22px;

    border-radius: 50%;

    background:
        var(--white);

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-subtle);

    font-size: 26px;
}

.idea-card h2 {
    position: relative;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 5vw, 52px);

    font-weight: 500;

    letter-spacing: -2px;
}

.idea-card p {
    position: relative;

    max-width: 570px;

    margin:
        15px auto 30px;

    color:
        var(--text-secondary);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   27. FOOTER
   ========================================================= */

.site-footer {
    padding-top: 70px;

    background:
        var(--ink);

    color:
        var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 65px;

    padding-bottom: 60px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 17px;

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size: 21px;

    font-weight: 600;
}

.footer-grid > div:first-child p {
    max-width: 340px;

    color:
        rgba(255,255,255,0.55);

    font-size: 13px;

    line-height: 1.8;
}

.footer-grid h4 {
    margin-bottom: 17px;

    color:
        var(--white);

    font-family:
        Georgia,
        serif;

    font-size: 15px;

    font-weight: 600;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-grid a:not(.footer-logo) {
    color:
        rgba(255,255,255,0.52);

    font-size: 12px;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}

.footer-grid a:not(.footer-logo):hover {
    color:
        var(--white);

    transform:
        translateX(4px);
}


/* =========================================================
   28. FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    min-height: 72px;

    display: flex;
    align-items: center;

    border-top:
        1px solid rgba(255,255,255,0.10);
}

.footer-bottom p {
    color:
        rgba(255,255,255,0.40);

    font-size: 10px;

    letter-spacing: 0.3px;
}


/* =========================================================
   29. REVEAL ANIMATION
   ========================================================= */

.reveal {
    animation:
        revealUp 0.9s var(--ease) both;
}

.hero-visual.reveal {
    animation-delay: 0.12s;
}

@keyframes revealUp {

    from {
        opacity: 0;

        transform:
            translateY(28px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes premiumFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-12px);
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-7px);
    }
}


/* =========================================================
   30. ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        2px solid var(--brand);

    outline-offset:
        4px;
}

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



/* =========================================================
   31. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .hero {
        padding:
            80px 0 90px;
    }

    .hero-grid {
        grid-template-columns:
            1fr;

        gap: 55px;
    }

    .hero-text {
        max-width: 760px;

        margin-inline: auto;

        text-align: center;
    }

    .hero-text .eyebrow {
        justify-content: center;
    }

    .hero-text > p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }

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

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

    .featured-card {
        grid-template-columns:
            1fr;
    }

    .featured-image {
        min-height: 330px;
    }
}


/* =========================================================
   MINDTHINKMEDIA — MOBILE NAVIGATION
   ========================================================= */

.menu-button {
    display: none;
}


/* Mobile menu base */

.mobile-menu {
    display: none;
}


/* Tablet + Mobile */

@media (max-width: 800px) {

    .desktop-nav {
        display: none !important;
    }

    .menu-button {
        display: grid !important;
        place-items: center;

        width: 40px;
        height: 40px;

        border: 1px solid var(--border);
        border-radius: 12px;

        background: var(--surface);
        color: var(--text);

        cursor: pointer;
        font-size: 18px;

        z-index: 1002;
    }


    .navbar {
        min-height: 68px;
    }


    /* CLOSED */

    .mobile-menu {
        display: none !important;

        width: 100%;

        padding: 12px 20px 20px;

        background: var(--header-bg);

        border-top: 1px solid var(--border);
    }


    /* OPEN */

    .mobile-menu.open {
        display: block !important;
    }


    .mobile-menu a {
        display: block;

        width: 100%;

        padding: 14px;

        margin-top: 4px;

        border-radius: 10px;

        color: var(--text-secondary);

        font-size: 15px;
        font-weight: 600;

        background: transparent;
    }


    .mobile-menu a:hover {
        background: var(--surface-hover);
        color: var(--primary);
    }

}


/* =========================================================
   MOBILE MENU — SMALL SCREEN
   ========================================================= */

@media (max-width: 650px) {

    .menu-button {
        width: 38px;
        height: 38px;
    }

    .mobile-menu {
        padding-left: 14px;
        padding-right: 14px;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 420px) {

    .menu-button {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

}

/* =========================================================
   MOBILE MENU ANIMATION
   ========================================================= */

@keyframes mobileMenuOpen {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   33. MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .navbar {
        gap: 10px;
    }

    .logo {
        font-size: 17px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;

        font-size: 15px;
    }

    .icon-button,
    .menu-button {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: auto;

        padding:
            65px 0 75px;
    }

    .hero h1 {
        font-size:
            clamp(40px, 12vw, 57px);

        letter-spacing:
            -2.5px;
    }

    .hero-text > p {
        font-size: 14px;

        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-orb {
        width: 205px;
        height: 205px;
    }

    .orb-inner {
        width: 140px;
        height: 140px;
    }

    .orb-inner span:nth-child(2) {
        font-size: 40px;
    }

    .floating-card {
        min-width: 145px;

        padding:
            10px 11px;

        gap: 8px;
    }

    .floating-card > span {
        width: 32px;
        height: 32px;

        font-size: 15px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .card-one {
        top: 5px;
        left: -4px;
    }

    .card-two {
        right: -4px;
        top: 43%;
    }

    .card-three {
        bottom: 0;
        left: 4%;
    }

    .categories-section,
    .featured-section,
    .latest-section,
    .idea-section {
        padding:
            70px 0;
    }

    .section-heading {
        align-items: flex-start;

        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .category-grid,
    .articles-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .category-card {
        min-height: 175px;
    }

    .featured-image {
        min-height: 260px;
    }

    .featured-content {
        padding:
            32px 23px;
    }

    .featured-content h3 {
        font-size: 30px;

        letter-spacing:
            -1px;
    }

    .article-image {
        height: 190px;
    }

    .article-card-content {
        padding:
            22px;
    }

    .idea-card {
        padding:
            60px 22px;
    }

    .idea-card h2 {
        font-size: 39px;
    }

    .idea-card p {
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap: 38px;

        padding-bottom:
            45px;
    }

    .footer-bottom {
        min-height: 62px;
    }
}


/* =========================================================
   34. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .container {
        width:
            calc(100% - 24px);
    }

    .nav-actions {
        gap: 4px;
    }

    .hero h1 {
        font-size: 39px;

        letter-spacing:
            -2px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-orb {
        width: 175px;
        height: 175px;
    }

    .orb-inner {
        width: 118px;
        height: 118px;

        gap: 9px;
    }

    .orb-inner span:nth-child(2) {
        font-size: 32px;
    }

    .floating-card {
        transform:
            scale(0.88);
    }

    .card-one {
        left: -14px;
    }

    .card-two {
        right: -14px;
    }

    .card-three {
        left: -10px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .featured-content h3 {
        font-size: 27px;
    }
}


/* =========================================================
   35. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}

/* =========================================================
   SEARCH STATE
========================================================= */

.clear-search.visible {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   ARTICLE VISIBILITY
========================================================= */

.article-card[hidden] {
    display: none !important;
}


/* =========================================================
   SEARCH EMPTY STATE
========================================================= */

.no-results[hidden] {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   FEATURED CAROUSEL
   ========================================================= */

.featured-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-xl);
}

.featured-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}


/* Each slide */

.featured-track .featured-card {
    flex: 0 0 100%;
    width: 100%;
}


/* Remove the old carousel card spacing */

.featured-track .featured-card {
    margin: 0;
}


/* =========================================================
   CAROUSEL CONTROLS
   ========================================================= */

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-button {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--surface);

    border: 1px solid var(--border);

    color: var(--text);

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.carousel-button:hover {
    transform: translateY(-2px);

    background: var(--primary);

    border-color: var(--primary);

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(99, 91, 255, 0.20);
}

.carousel-button:active {
    transform: scale(0.95);
}


/* =========================================================
   FEATURED VISUALS
   ========================================================= */

.featured-ai-image {
    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,0.32),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #5b55e8,
            #0ea5c9
        );
}

.featured-study-image {
    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,0.30),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #e89509,
            #e85d75
        );
}

.featured-story-image {
    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,0.20),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #292561,
            #7037b7
        );
}


/* =========================================================
   CAROUSEL DOTS
   ========================================================= */

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 22px;
}

.carousel-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border-radius: 50%;

    background: var(--border);

    border: 0;

    cursor: pointer;

    transition:
        width var(--transition),
        background-color var(--transition),
        transform var(--transition-fast);
}

.carousel-dot:hover {
    transform: scale(1.2);
}

.carousel-dot.active {
    width: 25px;

    border-radius: var(--radius-full);

    background: var(--primary);
}


/* =========================================================
   TOUCH / DRAG
   ========================================================= */

.featured-carousel {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.featured-carousel.dragging {
    cursor: grabbing;
}

.featured-carousel:not(.dragging) {
    cursor: grab;
}


/* =========================================================
   MOBILE CAROUSEL
   ========================================================= */

@media (max-width: 650px) {

    .section-heading-row {
        align-items: center;
    }

    .carousel-controls {
        display: none;
    }

    .featured-carousel {
        overflow: visible;
    }

    .featured-track {
        gap: 12px;
    }

    .featured-track .featured-card {
        flex: 0 0 94%;
    }

    .featured-content {
        padding: 26px 22px 28px;
    }

    .featured-content h3 {
        font-size: 27px;
    }

    .featured-content > p {
        font-size: 14px;
    }

    .featured-image {
        min-height: 230px;
    }

    .carousel-dots {
        margin-top: 20px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .featured-track .featured-card {
        flex-basis: 92%;
    }

    .featured-content h3 {
        font-size: 25px;
    }

}

/* =========================================================
   ARTICLE PAGE
========================================================= */

.article-page {
    background: var(--bg);
}


/* =========================================================
   ARTICLE HEADER
========================================================= */

.article-header {
    padding: 95px 0 55px;
    background: var(--bg);
}

.article-header-inner {
    max-width: 900px;
    text-align: center;
}


.article-category {
    display: inline-flex;
    padding: 7px 12px;

    border-radius: 999px;

    background: var(--tag-bg);
    color: var(--tag-text);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .5px;
    text-transform: uppercase;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast);
}

.article-category:hover {
    transform: translateY(-2px);
}


.article-header h1 {
    margin-top: 22px;

    color: var(--text);

    font-size: clamp(42px, 6vw, 70px);

    line-height: 1.05;

    letter-spacing: -3px;

    font-weight: 850;
}


.article-excerpt {
    max-width: 720px;

    margin: 24px auto 0;

    color: var(--text-secondary);

    font-size: 18px;

    line-height: 1.8;
}


.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 25px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 600;
}

.meta-dot {
    color: var(--primary);
}


/* =========================================================
   ARTICLE HERO IMAGE
========================================================= */

.article-hero-image {

    position: relative;

    min-height: 500px;

    border-radius: var(--radius-xl);

    overflow: hidden;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,.35),
            transparent 20%
        ),
        linear-gradient(
            135deg,
            #635bff,
            #06b6d4
        );

    box-shadow: var(--shadow-lg);

    background-size: cover;
    background-position: center;
}


.article-hero-image.has-image
.article-hero-placeholder {

    background: rgba(255,255,255,.12);
}


.article-hero-placeholder {

    width: 190px;
    height: 190px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,.14);

    border:
        1px solid
        rgba(255,255,255,.25);

    backdrop-filter: blur(15px);

    color: white;

    font-size: 70px;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.article-layout {
    padding-top: 75px;
    padding-bottom: 80px;
}


.article-main {
    max-width: 820px;
    margin-inline: auto;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.article-toc {

    margin-bottom: 45px;

    padding: 22px 25px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    box-shadow: var(--shadow-sm);
}


.toc-label {

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 1px;
}


#tocLinks {

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


#tocLinks a {

    padding: 7px 11px;

    border-radius: 8px;

    background: var(--bg-soft);

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 650;

    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
}


#tocLinks a:hover {

    background: var(--primary-light);

    color: var(--primary);
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-content {

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.9;
}


.article-content p {
    margin-bottom: 25px;
}


.article-content h2 {

    margin-top: 55px;
    margin-bottom: 18px;

    color: var(--text);

    font-size: clamp(26px, 4vw, 34px);

    line-height: 1.2;

    letter-spacing: -1px;

    font-weight: 800;
}


.article-content h3 {

    margin-top: 40px;
    margin-bottom: 14px;

    color: var(--text);

    font-size: 23px;
}


.article-content strong {
    color: var(--text);
}


.article-content a {

    color: var(--primary);

    font-weight: 700;
}


.article-content blockquote {

    margin: 35px 0;

    padding: 25px 28px;

    border-left:
        4px solid
        var(--primary);

    border-radius: 0 var(--radius-md)
                    var(--radius-md) 0;

    background: var(--bg-soft);

    color: var(--text);

    font-size: 20px;

    font-weight: 700;
}


/* =========================================================
   ARTICLE END
========================================================= */

.article-end {

    margin-top: 70px;

    text-align: center;
}


.article-end-line {

    width: 70px;
    height: 2px;

    margin: 0 auto 25px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}


.article-end p {

    margin-bottom: 22px;

    color: var(--text-muted);

    font-size: 14px;
}


/* =========================================================
   RELATED ARTICLES
========================================================= */

.related-section {

    padding: 90px 0;

    background: var(--bg-soft);

    border-top:
        1px solid
        var(--border);
}


.related-empty {

    color: var(--text-muted);

    text-align: center;
}


/* =========================================================
   ERROR
========================================================= */

.article-error {

    padding: 70px 20px;

    text-align: center;
}


.article-error > span {

    display: block;

    margin-bottom: 15px;

    color: var(--primary);

    font-size: 45px;
}


.article-error h2 {

    color: var(--text);

    font-size: 30px;
}


.article-error p {

    margin: 10px 0 25px;

    color: var(--text-muted);
}


/* =========================================================
   ARTICLE MOBILE
========================================================= */

@media (max-width: 650px) {

    .article-header {

        padding: 65px 0 40px;
    }


    .article-header h1 {

        font-size: 40px;

        letter-spacing: -2px;
    }


    .article-excerpt {

        font-size: 15px;

        line-height: 1.7;
    }


    .article-hero-image {

        min-height: 300px;

        border-radius: var(--radius-lg);
    }


    .article-hero-placeholder {

        width: 130px;
        height: 130px;

        font-size: 48px;
    }


    .article-layout {

        padding-top: 50px;
        padding-bottom: 60px;
    }


    .article-content {

        font-size: 16px;

        line-height: 1.8;
    }


    .article-content h2 {

        margin-top: 40px;
    }


    .article-content blockquote {

        font-size: 17px;

        padding: 20px;
    }


    #tocLinks {

        flex-direction: column;
    }


    #tocLinks a {

        display: block;
    }


    .related-section {

        padding: 65px 0;
    }

}

/* =====================================================
   ARTICLE READING PROGRESS
===================================================== */

#readingProgress {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    z-index: 9999;

    background: transparent;
}

#readingProgressBar {
    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    transition: width .08s linear;
}


/* =====================================================
   TABLE OF CONTENTS ACTIVE STATE
===================================================== */

#tocLinks a.active {
    background: var(--primary-light);
    color: var(--primary);
}


/* =====================================================
   ARTICLE SHARE
===================================================== */

.article-share {
    margin-top: 45px;
    padding-top: 30px;

    border-top:
        1px solid
        var(--border);

    text-align: center;
}

.share-label {
    display: block;

    margin-bottom: 15px;

    color: var(--text);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.share-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}

.share-buttons button {
    padding: 9px 15px;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    background: var(--surface);

    color: var(--text-secondary);

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.share-buttons button:hover {
    transform: translateY(-2px);

    background: var(--primary);

    color: white;

    border-color: var(--primary);
}


/* =====================================================
   PREVIOUS / NEXT ARTICLE
===================================================== */

.article-navigation {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 50px;

    padding-top: 35px;

    border-top:
        1px solid
        var(--border);
}

.article-nav-item {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 22px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background: var(--surface);

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.article-nav-item:hover {
    transform: translateY(-3px);

    border-color:
        var(--primary);

    box-shadow:
        var(--shadow-sm);
}

.article-nav-item span {
    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .6px;
}

.article-nav-item strong {
    color: var(--text);

    font-size: 15px;

    line-height: 1.45;
}

.article-nav-item.next {
    text-align: right;
}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: var(--surface);

    color: var(--text);

    font-size: 20px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    box-shadow:
        var(--shadow-md);

    z-index: 1000;

    transition:
        opacity var(--transition-fast),
        visibility var(--transition-fast),
        transform var(--transition-fast),
        background-color var(--transition-fast);
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.back-to-top:hover {
    background: var(--primary);

    color: white;

    border-color:
        var(--primary);
}


/* =====================================================
   ARTICLE IMAGE FALLBACK
===================================================== */

.article-image {
    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}

.article-image > span {
    position: relative;

    z-index: 1;
}


/* =====================================================
   ARTICLE MOBILE
===================================================== */

@media (max-width: 650px) {

    .article-navigation {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .article-nav-item.next {
        text-align: left;
    }


    .share-buttons {
        gap: 8px;
    }


    .share-buttons button {
        flex: 1;

        min-width: 90px;
    }


    .back-to-top {
        right: 16px;
        bottom: 16px;

        width: 40px;
        height: 40px;
    }

}

/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
    padding: 100px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: center;
}

.about-content h2 {
    margin-top: 15px;
    color: var(--text);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    max-width: 700px;
    margin-top: 22px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.about-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.about-card-icon {
    display: grid;
    place-items: center;

    width: 55px;
    height: 55px;

    margin-bottom: 22px;

    border-radius: 16px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 25px;
}

.about-card h3 {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 25px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-points {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.about-points span {
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
}


/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
    padding: 20px 0 100px;
    background: var(--bg);
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 55px;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            135deg,
            var(--surface),
            var(--bg-soft)
        );

    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.contact-content h2 {
    margin-top: 15px;
    color: var(--text);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.contact-content h2 span {
    color: var(--primary);
}

.contact-content p {
    max-width: 600px;
    margin: 20px 0 28px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-icon {
    flex-shrink: 0;

    width: 130px;
    height: 130px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 55px;
}


/* =====================================================
   ABOUT + CONTACT MOBILE
===================================================== */

@media (max-width: 750px) {

    .about-section {
        padding: 75px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card {
        padding: 30px;
    }

    .contact-section {
        padding-bottom: 75px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px;
    }

    .contact-icon {
        width: 90px;
        height: 90px;
        font-size: 38px;
    }

}

/* =====================================================
   CONTACT SECTION — FINAL PROFESSIONAL LAYOUT
===================================================== */

.contact-section {
    padding: 90px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT SIDE */

.contact-info {
    max-width: 520px;
}

.contact-info .eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
}

.contact-info h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

.contact-info p {
    max-width: 480px;
    margin-top: 22px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
}


/* RIGHT SIDE CARD */

.contact-card {
    width: 100%;
    max-width: none;
    padding: 38px;
    box-sizing: border-box;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-md);
}


/* IMPORTANT:
   Make the actual form use the entire card width.
*/

.contact-card form {
    width: 100%;
    max-width: none;
    margin: 0;
}


/* FORM GROUP */

.form-group {
    width: 100%;
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;

    color: var(--text);
    font-size: 13px;
    font-weight: 750;
}


/* INPUTS */

.contact-card .form-group input,
.contact-card .form-group textarea {
    display: block;

    width: 100%;
    max-width: none;

    box-sizing: border-box;

    padding: 15px 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg);
    color: var(--text);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}


/* TEXTAREA */

.contact-card .form-group textarea {
    min-height: 160px;
    resize: vertical;
}


/* FOCUS */

.contact-card .form-group input:focus,
.contact-card .form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px var(--primary-light);
}


/* BUTTON */

.contact-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 4px;

    padding: 15px 25px;

    border: none;
    border-radius: var(--radius-md);

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
    font-weight: 750;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.contact-card button:hover {
    transform: translateY(-2px);
}


/* STATUS MESSAGE */

.contact-status {
    min-height: 24px;
    margin-top: 14px;

    font-size: 14px;
    font-weight: 600;
}

.contact-status.success {
    color: #16a34a;
}

.contact-status.error {
    color: #dc2626;
}


/* =====================================================
   CONTACT RESPONSIVE
===================================================== */

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-info {
        max-width: 650px;
    }

    .contact-card {
        width: 100%;
    }
}


@media (max-width: 600px) {

    .contact-section {
        padding: 65px 0;
    }

    .contact-info h2 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    .contact-info p {
        font-size: 15px;
    }

    .contact-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }

    .form-group input,
    .form-group textarea {
        font-size: 15px;
    }

}

/* =====================================================
   MOBILE BOTTOM NAVIGATION
===================================================== */

.mobile-bottom-nav {
    display: none;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 750px) {

    /* ---------------------------------------------
       HIDE OLD MOBILE MENU
    --------------------------------------------- */

    .mobile-menu {
        display: none !important;
    }


    /* ---------------------------------------------
       HIDE HAMBURGER
    --------------------------------------------- */

    .menu-button {
        display: none !important;
    }


    /* ---------------------------------------------
       BOTTOM NAVIGATION
    --------------------------------------------- */

    .mobile-bottom-nav {

        position: fixed;

        left: 14px;
        right: 14px;
        bottom: 14px;

        z-index: 9999;

        display: grid;
        grid-template-columns:
            repeat(5, 1fr);

        align-items: center;

        padding: 8px;

        background:
            rgba(255, 255, 255, 0.94);

        border:
            1px solid
            var(--border);

        border-radius: 24px;

        box-shadow:
            0 12px 35px
            rgba(0, 0, 0, 0.12);

        backdrop-filter:
            blur(18px);

        -webkit-backdrop-filter:
            blur(18px);
    }


    /* ---------------------------------------------
       NAV ITEM
    --------------------------------------------- */

    .mobile-nav-item {

        position: relative;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 4px;

        min-height: 58px;

        padding: 6px 3px;

        border-radius: 18px;

        color: var(--text-muted);

        text-decoration: none;

        font-size: 10px;

        font-weight: 700;

        transition:
            color var(--transition-fast),
            background-color var(--transition-fast),
            transform var(--transition-fast);
    }


    /* ---------------------------------------------
       ICON
    --------------------------------------------- */

    .mobile-nav-icon {

        display: flex;

        align-items: center;
        justify-content: center;

        width: 27px;
        height: 27px;

        font-size: 20px;

        line-height: 1;

        transition:
            transform var(--transition-fast);
    }


    /* ---------------------------------------------
       ACTIVE ITEM
    --------------------------------------------- */

    .mobile-nav-item.active {

        color: var(--primary);

        background:
            var(--primary-light);
    }


    .mobile-nav-item.active
    .mobile-nav-icon {

        transform: translateY(-1px);

    }


    /* ---------------------------------------------
       HOVER / TAP
    --------------------------------------------- */

    .mobile-nav-item:active {

        transform: scale(0.95);

    }


    /* ---------------------------------------------
       EXTRA PAGE SPACE
       Prevent bottom nav from covering content.
    --------------------------------------------- */

    body {

        padding-bottom: 95px;

    }


    /* ---------------------------------------------
       SAFE AREA
       For iPhones and modern mobile devices.
    --------------------------------------------- */

    .mobile-bottom-nav {

        bottom:
            calc(
                12px +
                env(safe-area-inset-bottom)
            );

    }


    body {

        padding-bottom:
            calc(
                95px +
                env(safe-area-inset-bottom)
            );

    }

}


/* =====================================================
   DARK MODE
===================================================== */

body.dark .mobile-bottom-nav {

    background:
        rgba(25, 25, 25, 0.94);

    border-color:
        var(--border);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.35);

}


body.dark .mobile-nav-item {

    color:
        var(--text-muted);

}


body.dark .mobile-nav-item.active {

    color:
        var(--primary);

    background:
        var(--primary-light);

}

/* =========================================================
   MINDTHINKMEDIA — LUXURY EDITORIAL HOME OVERRIDES
   Pinterest editorial × premium journal × quiet luxury
   Safe visual layer: preserves all existing IDs and JS hooks.
========================================================= */

:root {
    --luxury-ink: #171511;
    --luxury-ink-soft: #3e3932;
    --luxury-paper: #f7f3eb;
    --luxury-paper-deep: #eee6d8;
    --luxury-cream: #fffdf8;
    --luxury-gold: #9b7740;
    --luxury-gold-dark: #765526;
    --luxury-line: rgba(71, 57, 39, 0.16);
    --luxury-shadow: 0 28px 80px rgba(43, 34, 23, 0.11);
    --luxury-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    background: var(--luxury-paper);
}

body {
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
    background:
        radial-gradient(circle at 12% 7%, rgba(173, 135, 72, .08), transparent 28rem),
        radial-gradient(circle at 88% 18%, rgba(105, 82, 48, .055), transparent 30rem),
        var(--luxury-paper);
    color: var(--luxury-ink);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: .18;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.site-header {
    background: rgba(247, 243, 235, .82);
    border-bottom: 1px solid rgba(86, 67, 41, .12);
    box-shadow: 0 8px 30px rgba(42, 33, 22, .025);
}

.navbar {
    min-height: 88px;
}

.logo,
.footer-logo,
.hero h1,
.section-heading h2,
.featured-content h3,
.article-card h3,
.about-content h2,
.about-card h3,
.contact-info h2,
.idea-card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
}

.logo {
    font-size: 25px;
    letter-spacing: -.55px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, #5b4123 0%, #97713b 48%, #c29d60 100%);
    box-shadow: 0 10px 25px rgba(89, 63, 28, .2);
}

.desktop-nav a {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.icon-button,
.menu-button {
    background: rgba(255,255,255,.46);
    border-color: rgba(87, 68, 42, .18);
}

.editorial-home {
    isolation: isolate;
}

.hero {
    min-height: 720px;
    padding: 118px 0 130px;
    background:
        linear-gradient(115deg, rgba(255,255,255,.45), transparent 45%),
        radial-gradient(circle at 78% 42%, rgba(161, 119, 57, .14), transparent 19rem),
        linear-gradient(135deg, #fbf8f1 0%, #f3ede2 53%, #e9deca 100%);
}

.hero::before {
    width: 720px;
    height: 720px;
    right: -315px;
    top: -330px;
    border-color: rgba(115, 85, 43, .12);
    box-shadow: inset 0 0 0 45px rgba(255,255,255,.08);
}

.hero::after {
    width: 520px;
    height: 520px;
    left: -280px;
    bottom: -330px;
    border-color: rgba(115, 85, 43, .10);
}

.hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
    gap: 92px;
}

.eyebrow {
    color: var(--luxury-gold-dark);
    font-size: 9px;
    letter-spacing: .23em;
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 30px;
    font-size: clamp(62px, 7.8vw, 102px);
    font-weight: 600;
    line-height: .88;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.hero h1 span {
    margin-top: 8px;
    color: var(--luxury-gold-dark);
    font-style: italic;
    font-weight: 500;
}

.hero-text > p {
    max-width: 610px;
    color: #5d574f;
    font-size: 16px;
    line-height: 1.9;
}

.primary-button,
.secondary-button,
.read-button,
.view-all {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.primary-button {
    min-height: 54px;
    padding-inline: 27px;
    border-radius: 999px;
    background: var(--luxury-ink);
    box-shadow: 0 13px 28px rgba(25, 22, 17, .13);
}

.primary-button::before,
.read-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.16) 48%, transparent 76%);
    transform: translateX(-120%);
    transition: transform .75s var(--luxury-ease);
}

.primary-button:hover::before,
.read-button:hover::before {
    transform: translateX(120%);
}

.secondary-button {
    min-height: 54px;
    padding-inline: 25px;
    border-radius: 999px;
    background: rgba(255,255,255,.36);
    backdrop-filter: blur(10px);
}

.hero-note {
    font-size: 11px;
    letter-spacing: .06em;
}

.hero-visual {
    min-height: 500px;
}

.hero-orb {
    width: 318px;
    height: 318px;
    background:
        radial-gradient(circle at 30% 24%, rgba(255,255,255,.9), transparent 10%),
        radial-gradient(circle at 70% 72%, rgba(255,232,188,.28), transparent 34%),
        linear-gradient(145deg, #4c351d 0%, #896435 50%, #c19a5a 100%);
    box-shadow: 0 38px 95px rgba(66, 47, 22, .25);
}

.hero-orb::before {
    inset: 14px;
}

.hero-orb::after {
    inset: 36px;
}

.floating-card {
    border-radius: 20px;
    background: rgba(255, 253, 248, .76);
    border-color: rgba(113, 87, 51, .16);
    box-shadow: 0 20px 55px rgba(58, 45, 28, .10);
}

.floating-card:hover {
    transform: translateY(-7px) rotate(-.5deg);
}

.editorial-strip {
    position: relative;
    z-index: 3;
    background: #1b1814;
    color: #e9dfce;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.editorial-strip-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.editorial-strip i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a98752;
}

.search-section {
    padding: 52px 0 26px;
    background: transparent;
    border-bottom: 0;
}

.search-wrapper {
    max-width: 760px;
}

.search-wrapper input {
    height: 62px;
    padding-inline: 56px;
    border-radius: 999px;
    background: rgba(255, 253, 248, .83);
    border: 1px solid rgba(88, 68, 43, .15);
    box-shadow: 0 18px 50px rgba(48, 37, 23, .055);
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.search-wrapper input:focus {
    border-color: rgba(130, 94, 45, .46);
    box-shadow: 0 24px 60px rgba(48, 37, 23, .09);
    transform: translateY(-2px);
}

.categories-section,
.featured-section,
.latest-section,
.about-section,
.contact-section,
.idea-section {
    background: transparent;
}

.categories-section,
.featured-section,
.latest-section {
    padding-top: 92px;
    padding-bottom: 92px;
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.035em;
}

.category-grid {
    gap: 14px;
}

.category-card {
    min-height: 164px;
    padding: 24px;
    text-align: left;
    border-radius: 24px;
    background: rgba(255, 253, 248, .68);
    border: 1px solid rgba(86, 65, 38, .13);
    box-shadow: 0 14px 42px rgba(43, 33, 22, .045);
    backdrop-filter: blur(12px);
    transition: transform .45s var(--luxury-ease), box-shadow .45s var(--luxury-ease), border-color .45s var(--luxury-ease), background .45s var(--luxury-ease);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(143, 104, 49, .34);
    background: rgba(255, 254, 251, .95);
    box-shadow: 0 30px 70px rgba(43, 33, 22, .10);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #eee4d3;
}

.category-card strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    font-weight: 700;
}

.featured-card {
    min-height: 520px;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    border-radius: 34px;
    overflow: hidden;
    background: #1b1814;
    border: 1px solid rgba(80, 62, 39, .14);
    box-shadow: var(--luxury-shadow);
    transform: translateZ(0);
}

.featured-image {
    aspect-ratio: 16 / 9;
    min-height: 520px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 46%;

    background: #08111c;
    display: block;

    transition:
        transform 1.2s var(--luxury-ease),
        filter .7s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.01);

    filter:
        saturate(.98)
        contrast(1.015);
}

.featured-content {
    position: relative;
    padding: clamp(38px, 5vw, 72px);
    color: #f7f0e6;
    background:
        radial-gradient(circle at 90% 10%, rgba(180, 137, 72, .18), transparent 18rem),
        #1b1814;
}

.featured-content .post-category {
    color: #cfb487;
    background: rgba(205, 174, 124, .08);
    border: 1px solid rgba(210, 177, 124, .18);
}

.featured-content h3 {
    margin: 18px 0 18px;
    color: #fffaf2;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.035em;
}

.featured-content > p {
    color: #ddd1bf;
    font-size: 14px;
    line-height: 1.9;
}

.featured-content .post-meta {
    color: #afa393;
}

.featured-content .read-button {
    color: #f8efe0;
    border-color: rgba(225, 199, 156, .28);
    background: rgba(255,255,255,.035);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.article-card {
    grid-column: span 6;

    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    height: 100%;

    border-radius: 26px;

    background:
        rgba(255, 253, 248, .78);

    border:
        1px solid rgba(86, 65, 38, .12);

    box-shadow:
        0 16px 45px rgba(43, 33, 22, .055);

    transition:
        transform .5s var(--luxury-ease),
        box-shadow .5s var(--luxury-ease),
        border-color .5s var(--luxury-ease);
}

.article-card:nth-child(5n + 1),
.article-card:nth-child(5n + 2),
.article-card:nth-child(5n + 3),
.article-card:nth-child(5n + 4),
.article-card:nth-child(5n + 5) {
    grid-column: span 6;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: rgba(143, 104, 49, .3);
    box-shadow: 0 34px 85px rgba(43, 33, 22, .12);
}

.article-image {
    overflow: hidden;
    background: #e9e0d2;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transition: transform .9s var(--luxury-ease), filter .55s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.045);
    filter: saturate(.94) contrast(1.015);
}

.article-card-content {
    padding: 27px 28px 30px;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-content .post-meta {
    margin-bottom: 22px;
}

.article-card-content .read-button {
    margin-top: auto;
}

.article-card h3 {
    font-size: clamp(27px, 2.8vw, 39px);
    line-height: 1.02;
    letter-spacing: -.028em;
}

.article-card p {
    color: #676057;
    line-height: 1.78;
}

.post-category {
    align-self: flex-start;
    width: fit-content;

    border-radius: 999px;
    padding: 7px 11px;
    letter-spacing: .11em;
}

.read-button {
    align-self: flex-start;
    width: fit-content;

    min-height: 43px;
    padding: 0 20px;

    border-radius: 999px;

    border:
        1px solid rgba(83, 63, 37, .16);

    background:
        rgba(244, 237, 225, .52);

    transition:
        transform .35s var(--luxury-ease),
        background .35s ease,
        color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.read-button:hover {
    transform: translateY(-2px);

    background:
        rgba(139, 106, 47, .10);

    border-color:
        rgba(139, 106, 47, .38);

    color:
        #684b20;

    box-shadow:
        0 10px 24px rgba(71, 51, 26, .08);
}

.featured-content .read-button:hover {
    background:
        rgba(225, 199, 156, .10);

    border-color:
        rgba(225, 199, 156, .45);

    color:
        #fff8ec;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .16);
}

.about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(231, 220, 201, .42), transparent);
}

.about-grid {
    gap: 82px;
}

.about-content h2,
.contact-info h2,
.idea-card h2 {
    font-size: clamp(46px, 5.4vw, 72px);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.035em;
}

.about-card,
.contact-card,
.idea-card {
    border-radius: 30px;
    background: rgba(255, 253, 248, .75);
    border: 1px solid rgba(88, 68, 43, .14);
    box-shadow: 0 28px 80px rgba(43, 33, 22, .075);
    backdrop-filter: blur(18px);
}

.contact-section {
    padding: 120px 0;
}

.form-group input,
.form-group textarea {
    border-radius: 18px;
    background: rgba(255,255,255,.64);
    border-color: rgba(90, 70, 43, .15);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(142, 105, 50, .46);
    box-shadow: 0 0 0 4px rgba(151, 112, 54, .07);
}

.idea-section {
    padding: 30px 0 120px;
}

.idea-card {
    position: relative;
    overflow: hidden;
    color: #f4eadb;
    background:
        radial-gradient(circle at 80% 20%, rgba(189, 145, 78, .2), transparent 23rem),
        #1b1814;
    border-color: rgba(255,255,255,.06);
}

.idea-card h2 {
    color: #fff8ec;
}


.idea-card p {
    color: #c9bfb0;
}

.site-footer {
    background: #15120f;
    color: #e8dece;
    border-top: 1px solid rgba(255,255,255,.06);
}

.site-footer p,
.site-footer a {
    color: #958a7c;
}

.site-footer a:hover {
    color: #e3c99d;
}

.footer-logo {
    color: #fff7eb !important;
    font-size: 31px;
}

/* Page transition */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    background: #171411;
    transition: opacity .36s var(--luxury-ease);
}

.page-transition-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff7e9;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    border: 1px solid rgba(224, 190, 134, .38);
    opacity: 0;
    transform: scale(.88);
    transition: opacity .25s ease, transform .42s var(--luxury-ease);
}

body.page-leaving .page-transition {
    opacity: 1;
}

body.page-leaving .page-transition-mark {
    opacity: 1;
    transform: scale(1);
}

/* More elegant reveal motion */
.reveal {
    transition:
        opacity .8s var(--luxury-ease),
        transform .85s var(--luxury-ease),
        filter .8s var(--luxury-ease);
}

.reveal:not(.visible) {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(2px);
}

.reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.article-card.reveal {
    transition-delay: calc(var(--card-index, 0) * 55ms);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 420px;
    }

    .article-card,
    .article-card:nth-child(5n + 1),
    .article-card:nth-child(5n + 2),
    .article-card:nth-child(5n + 3),
    .article-card:nth-child(5n + 4),
    .article-card:nth-child(5n + 5) {
        grid-column: span 6;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .navbar {
        min-height: 72px;
    }

    .logo {
        font-size: 21px;
    }

    .logo-mark {
        width: 37px;
        height: 37px;
    }

    .hero {
        min-height: auto;
        padding: 78px 0 76px;
    }

    .hero h1 {
        font-size: clamp(54px, 17vw, 76px);
        letter-spacing: -.06em;
    }

    .hero-text > p {
        font-size: 14px;
    }

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

    .hero-orb {
        width: 240px;
        height: 240px;
    }

    .floating-card {
        min-width: 155px;
        padding: 10px 12px;
    }

    .editorial-strip-inner {
        min-height: 54px;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .editorial-strip-inner::-webkit-scrollbar {
        display: none;
    }

    .categories-section,
    .featured-section,
    .latest-section {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .section-heading h2 {
        font-size: 45px;
    }

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

    .category-card {
        min-height: 150px;
        padding: 18px;
    }

    .featured-card {
        border-radius: 24px;
    }

    .featured-image {
        min-height: 285px;
    }

    .featured-content {
        padding: 32px 25px 36px;
    }

    .featured-content h3 {
        font-size: 44px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card,
    .article-card:nth-child(5n + 1),
    .article-card:nth-child(5n + 2),
    .article-card:nth-child(5n + 3),
    .article-card:nth-child(5n + 4),
    .article-card:nth-child(5n + 5) {
        grid-column: auto;
    }

    .article-card {
        border-radius: 23px;
    }

    .article-card h3 {
        font-size: 32px;
    }

    .about-section,
    .contact-section {
        padding: 85px 0;
    }

    .about-content h2,
    .contact-info h2,
    .idea-card h2 {
        font-size: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .floating-card {
        animation: none !important;
    }

    .page-transition,
    .page-transition-mark,
    .reveal,
    body.page-ready main,
    body.page-ready .site-header,
    body.page-ready .site-footer {
        transition: none !important;
    }
}

/* =========================================================
   LEGAL / POLICY PAGES
   ========================================================= */

.legal-page {
    padding: 90px 0 110px;
    background: var(--paper);
}

.legal-hero {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.legal-hero .eyebrow {
    justify-content: center;
}

.legal-hero h1 {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.legal-hero p {
    max-width: 680px;
    margin: 22px auto 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 60px;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-card);
}

.legal-card h2 {
    margin-top: 42px;
    margin-bottom: 14px;

    color: var(--ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 600;

    line-height: 1.25;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    margin-top: 28px;
    margin-bottom: 10px;

    color: var(--ink);

    font-size: 16px;
    font-weight: 700;
}

.legal-card p {
    margin-bottom: 17px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.9;
}

.legal-card ul {
    margin: 8px 0 22px 20px;
    list-style: disc;
}

.legal-card li {
    margin-bottom: 10px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.8;
}

.legal-card a {
    color: var(--brand-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-card a:hover {
    color: var(--ink);
}

.legal-updated {
    display: inline-block;

    margin-top: 16px;
    padding: 7px 12px;

    background: var(--paper-warm);

    color: var(--brand-dark);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.4px;
}

.legal-note {
    margin: 28px 0;
    padding: 20px 22px;

    background: var(--paper-soft);

    border-left: 3px solid var(--brand);
}

.legal-note p {
    margin: 0;
}

@media (max-width: 768px) {

    .legal-page {
        padding: 65px 0 90px;
    }

    .legal-card {
        padding: 35px 25px;
        border-radius: var(--radius-md);
    }

    .legal-hero {
        margin-bottom: 38px;
    }

    .legal-hero h1 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .legal-card h2 {
        font-size: 24px;
    }
}

/* ========================================
   ACTIVE LEGAL PAGE
======================================== */

.site-footer .footer-grid a.active {
    color: #d0b16c !important;
    font-weight: 700;
}

/* ========================================
   GLOBAL HEADER NAV CONSISTENCY
======================================== */

.site-header .desktop-nav a {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", sans-serif;

    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    padding: 9px 14px;
}

/* ========================================
   CONTACT TOAST NOTIFICATION
======================================== */

.contact-status.toast {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 9999;

    max-width: 360px;

    padding: 15px 18px;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 650;

    box-shadow:
        0 15px 40px rgba(30, 25, 18, 0.18);

    opacity: 0;

    transform:
        translateY(18px);

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.contact-status.toast.show {
    opacity: 1;

    transform:
        translateY(0);
}


.contact-status.toast.success {
    background: #f1f7f1;
    color: #2f6a3f;

    border:
        1px solid #cfe3d2;
}


.contact-status.toast.error {
    background: #fbf1f1;
    color: #9b3636;

    border:
        1px solid #e7caca;
}


@media (max-width: 650px) {

    .contact-status.toast {
        left: 14px;
        right: 14px;
        bottom: 18px;

        max-width: none;
    }

}

/* ========================================
   UNIVERSAL FEATURED ARTICLE LAYOUT
   Works with short + long CMS titles
======================================== */

.featured-card {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    min-height: 560px;

    align-items: stretch;
}


/* Image always fills the complete left side */

.featured-card .featured-image {
    width: 100%;
    height: auto;
    min-height: 0;

    aspect-ratio: auto;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2eee6;
}


.featured-card .featured-image img {
    display: block;

    width: 100%;
    height: auto;
    max-width: 100%;

    object-fit: contain;
    object-position: center;

    background: #f2eee6;
}


/* Right side */

.featured-card .featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;

    padding:
        clamp(38px, 4.5vw, 64px);
}


/* Prevent long CMS titles from destroying the card */

.featured-card .featured-content h3 {
    width: 100%;
    max-width: 620px;

    margin:
        20px 0 18px;

    font-size:
        clamp(36px, 3.8vw, 54px);

    line-height: 1.02;

    letter-spacing: -0.035em;

    text-wrap: balance;
}


/* Excerpt */

.featured-card .featured-content > p {
    max-width: 590px;

    margin-top: 0;

    font-size: 14px;
    line-height: 1.8;
}


/* Meta stays above button */

.featured-card .post-meta {
    margin-top: 22px;
}


/* Button stays neatly at the bottom */

.featured-card .read-button {
    flex-shrink: 0;
}

@media (max-width: 1050px) {

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card .featured-image {
    height: auto;
    min-height: 0;
}

.featured-card .featured-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

    .featured-card .featured-content h3 {
        font-size:
            clamp(36px, 6vw, 48px);
    }
}


@media (max-width: 700px) {

    .featured-card .featured-image {
        height: 285px;
        min-height: 285px;
    }

    .featured-card .featured-content {
        padding:
            32px 25px 36px;
    }

    .featured-card .featured-content h3 {
        font-size: 36px;
        line-height: 1.05;
    }

    .featured-card .read-button {
        margin-top: 26px;
        padding-top: 0;
    }
}


@media (max-width: 420px) {

    .featured-card .featured-content h3 {
        font-size: 31px;
    }

}

/* ========================================
   FEATURED READ BUTTON REFINEMENT
======================================== */

.featured-card .read-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 180px;
    min-height: 52px;

    margin-top: 30px;
    padding: 0 22px;

    border: 1px solid rgba(225, 199, 156, 0.32);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.045);

    color: #fff8ec;

    font-size: 12px;
    font-weight: 750;

    letter-spacing: 0.25px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.featured-card .read-button:hover {
    transform: translateY(-2px);

    background: rgba(225, 199, 156, 0.11);

    border-color: rgba(225, 199, 156, 0.52);
}