/* =========================================================
   TOUNY GLOBAL — BLOG / DIGITAL MAGAZINE
   Fichier : styless.css
   Identité : Editorial Luxury / Black / Ivory / Gold
   ========================================================= */

:root {
    --tg-black: #090909;
    --tg-black-soft: #111111;
    --tg-ink: #1c1c1c;
    --tg-ivory: #f8f6f0;
    --tg-paper: #fffdf8;
    --tg-white: #ffffff;
    --tg-gold: #c7a54a;
    --tg-gold-light: #e4cc83;
    --tg-muted: #73716b;
    --tg-line: #dedbd2;
    --tg-shadow: 0 20px 60px rgba(0, 0, 0, .08);
    --tg-radius: 2px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--tg-ivory);
    color: var(--tg-ink);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.tg-magazine {
    min-height: 100vh;
    overflow: hidden;
}

.tg-container {
    width: min(1180px, calc(100% - 42px));
    margin-inline: auto;
}

/* =========================================================
   PROGRESS
   ========================================================= */

.tg-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 3px;
    background: var(--tg-gold);
    z-index: 9999;
}

/* =========================================================
   HEADER
   ========================================================= */

.tg-header {
    background: var(--tg-black);
    color: var(--tg-white);
    position: relative;
    z-index: 100;
}

.tg-header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
}

.tg-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

.tg-brand-mark {
    width: 43px;
    height: 43px;
    border: 1px solid var(--tg-gold);
    display: grid;
    place-items: center;
    color: var(--tg-gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.tg-brand-copy {
    display: grid;
    gap: 1px;
}

.tg-brand-copy strong {
    font-size: 13px;
    letter-spacing: 2px;
}

.tg-brand-copy small {
    color: #979797;
    font-size: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tg-header-center {
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--tg-gold-light);
    text-align: center;
}

.tg-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
}

.tg-site-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d0d0d0;
    font-size: 12px;
    transition: color .25s ease;
}

.tg-site-link:hover {
    color: var(--tg-gold-light);
}

.tg-menu-btn {
    display: none;
    border: 1px solid #343434;
    background: transparent;
    color: white;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.tg-nav {
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.tg-nav-inner {
    display: flex;
    justify-content: center;
    gap: 0;
}

.tg-nav a {
    padding: 15px 19px;
    color: #bdbdbd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color .25s ease;
}

.tg-nav a::after {
    content: "";
    position: absolute;
    left: 19px;
    right: 19px;
    bottom: -1px;
    height: 2px;
    background: var(--tg-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.tg-nav a:hover {
    color: white;
}

.tg-nav a:hover::after {
    transform: scaleX(1);
}

/* =========================================================
   HERO
   ========================================================= */

.tg-hero {
    background:
        radial-gradient(circle at 85% 40%, rgba(199,165,74,.12), transparent 28%),
        linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    color: white;
    position: relative;
}

.tg-hero-grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
}

.tg-hero-copy {
    padding: 75px 0;
    max-width: 700px;
}

.tg-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tg-gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.tg-eyebrow span {
    width: 32px;
    height: 1px;
    background: var(--tg-gold);
}

.tg-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(50px, 7vw, 86px);
    line-height: .99;
    letter-spacing: -2.5px;
    font-weight: 600;
    margin: 0 0 28px;
    max-width: 750px;
}

.tg-hero h1 em {
    display: block;
    color: var(--tg-gold-light);
    font-style: italic;
    font-weight: 500;
}

.tg-hero-copy > p {
    max-width: 650px;
    color: #bdbdbd;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.tg-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.tg-btn:hover {
    transform: translateY(-2px);
}

.tg-btn-gold {
    background: var(--tg-gold);
    color: #080808;
}

.tg-btn-gold:hover {
    background: var(--tg-gold-light);
}

.tg-btn-outline {
    border: 1px solid rgba(255,255,255,.35);
    color: white;
    background: transparent;
}

.tg-btn-outline:hover {
    background: white;
    color: #080808;
}

.tg-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ddd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.tg-text-link:hover {
    color: var(--tg-gold-light);
}

.tg-hero-visual {
    min-height: 470px;
    position: relative;
    display: grid;
    place-items: center;
}

.tg-hero-card {
    width: min(330px, 75%);
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015));
    border: 1px solid rgba(228,204,131,.45);
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: rotate(4deg);
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    position: relative;
    z-index: 2;
}

.tg-card-kicker {
    position: absolute;
    top: 35px;
    left: 35px;
    color: var(--tg-gold-light);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tg-hero-card strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 55px;
    line-height: .9;
    font-weight: 500;
}

.tg-card-line {
    width: 55px;
    height: 2px;
    background: var(--tg-gold);
    margin: 25px 0 12px;
}

.tg-hero-card small {
    color: #9d9d9d;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.tg-orbit {
    position: absolute;
    border: 1px solid rgba(199,165,74,.25);
    border-radius: 50%;
}

.tg-orbit-one {
    width: 470px;
    height: 470px;
}

.tg-orbit-two {
    width: 300px;
    height: 300px;
    transform: rotate(45deg);
}

/* =========================================================
   INTRO STRIP
   ========================================================= */

.tg-intro-strip {
    background: var(--tg-paper);
    border-bottom: 1px solid var(--tg-line);
}

.tg-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 42px 0;
}

.tg-mini-label {
    display: block;
    color: #9d7c2b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tg-intro h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.25;
    margin: 0;
}

.tg-intro h2 strong {
    font-weight: 600;
}

.tg-intro-grid > p {
    color: var(--tg-muted);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */

.tg-featured-section {
    padding: 85px 0 35px;
}

.tg-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 28px;
}

.tg-section-head h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 39px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0;
}

.tg-issue {
    color: #8b887f;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 5px;
}

/* =========================================================
   FEATURED
   ========================================================= */

.tg-featured {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background: var(--tg-paper);
    box-shadow: var(--tg-shadow);
    border: 1px solid var(--tg-line);
}

.tg-featured-image {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    display: block;
}

.tg-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.tg-featured:hover .tg-featured-image img {
    transform: scale(1.04);
}

.tg-image-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 8px 11px;
    background: rgba(9,9,9,.88);
    color: var(--tg-gold-light);
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.tg-featured-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tg-category {
    display: inline-block;
    color: #9d7c2b;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.tg-featured-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    margin: 0 0 20px;
}

.tg-featured-content h2 a:hover,
.tg-post-body h3 a:hover {
    color: #9d7c2b;
}

.tg-featured-lead {
    font-size: 17px !important;
    color: var(--tg-ink) !important;
    line-height: 1.7 !important;
}

.tg-featured-content > p:not(.tg-featured-lead) {
    color: var(--tg-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tg-featured-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--tg-line);
    margin-top: 25px;
    padding-top: 20px;
    color: #8a877f;
    font-size: 10px;
}

.tg-featured-bottom i {
    color: var(--tg-gold);
}

.tg-read,
.tg-post-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #171717;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.tg-read:hover,
.tg-post-link:hover {
    color: #9d7c2b;
}

/* =========================================================
   CONTENT SECTION
   ========================================================= */

.tg-content-section {
    padding: 55px 0 90px;
}

.tg-section-head-left {
    align-items: end;
}

.tg-section-head-left > p {
    color: var(--tg-muted);
    font-size: 12px;
    max-width: 290px;
    margin: 0 0 4px;
}

.tg-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 45px;
    align-items: start;
}

.tg-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tg-post-card {
    background: var(--tg-paper);
    border: 1px solid var(--tg-line);
    transition: transform .3s ease, box-shadow .3s ease;
}

.tg-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tg-shadow);
}

.tg-post-image {
    height: 245px;
    position: relative;
    overflow: hidden;
    display: block;
}

.tg-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.tg-post-card:hover .tg-post-image img {
    transform: scale(1.05);
}

.tg-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(9,9,9,.9);
    color: var(--tg-gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 14px;
}

.tg-post-body {
    padding: 27px;
}

.tg-post-body h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    line-height: 1.25;
    margin: 0 0 13px;
}

.tg-post-body p {
    color: var(--tg-muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 22px;
}

.tg-post-link {
    border-top: 1px solid var(--tg-line);
    padding-top: 17px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.tg-sidebar {
    display: grid;
    gap: 18px;
}

.tg-sidebar-card {
    background: var(--tg-paper);
    border: 1px solid var(--tg-line);
    padding: 28px;
}

.tg-sidebar-dark {
    background: var(--tg-black);
    color: white;
    border-color: var(--tg-black);
}

.tg-sidebar-dark .tg-mini-label {
    color: var(--tg-gold-light);
}

.tg-sidebar-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    line-height: 1.25;
    margin: 0 0 14px;
}

.tg-sidebar-card p {
    color: var(--tg-muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.tg-sidebar-dark p {
    color: #aaa;
}

.tg-topic-list {
    display: grid;
}

.tg-topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--tg-line);
    font-size: 11px;
    font-weight: 600;
    color: #444;
}

.tg-topic-list a:last-child {
    border-bottom: 0;
}

.tg-topic-list a i {
    color: var(--tg-gold);
    font-size: 9px;
    transition: transform .2s ease;
}

.tg-topic-list a:hover {
    color: #9d7c2b;
}

.tg-topic-list a:hover i {
    transform: translateX(4px);
}

.tg-social-buttons {
    display: grid;
    gap: 9px;
}

.tg-social-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid var(--tg-line);
    font-size: 11px;
    font-weight: 700;
    transition: background .25s ease, color .25s ease;
}

.tg-social-buttons a i {
    width: 18px;
}

.tg-social-buttons a:hover {
    background: var(--tg-black);
    color: white;
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */

.tg-philosophy {
    background: #eae7df;
    border-top: 1px solid var(--tg-line);
    border-bottom: 1px solid var(--tg-line);
}

.tg-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    padding: 90px 0;
}

.tg-philosophy h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    margin: 0;
    font-weight: 500;
}

.tg-philosophy h2 em {
    display: block;
    color: #9d7c2b;
    font-style: italic;
}

.tg-philosophy-copy {
    max-width: 520px;
    align-self: center;
}

.tg-philosophy-copy p {
    color: #5f5c55;
    font-size: 14px;
    line-height: 1.95;
    margin: 0 0 18px;
}

.tg-text-link-dark {
    color: #222;
    margin-top: 10px;
}

/* =========================================================
   CTA
   ========================================================= */

.tg-cta-section {
    background: var(--tg-black);
    color: white;
}

.tg-cta-box {
    min-height: 330px;
    padding: 70px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tg-cta-box h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 720px;
}

.tg-cta-box h2 em {
    color: var(--tg-gold-light);
    font-weight: 500;
}

.tg-cta-box p {
    color: #aaa;
    max-width: 620px;
    font-size: 14px;
    margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.tg-footer {
    background: #050505;
    color: #aaa;
}

.tg-footer-top {
    display: grid;
    grid-template-columns: 1.7fr .7fr .7fr;
    gap: 70px;
    padding: 65px 0;
}

.tg-footer-brand p {
    max-width: 410px;
    color: #777;
    font-size: 12px;
    line-height: 1.9;
    margin: 20px 0 0;
}

.tg-footer-links {
    display: grid;
    align-content: start;
    gap: 9px;
}

.tg-footer-links > span {
    color: var(--tg-gold-light);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tg-footer-links a {
    color: #777;
    font-size: 11px;
    transition: color .2s ease;
}

.tg-footer-links a:hover {
    color: white;
}

.tg-footer-bottom {
    border-top: 1px solid #1d1d1d;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #5d5d5d;
    font-size: 9px;
    letter-spacing: .6px;
}

/* =========================================================
   TOP BUTTON
   ========================================================= */

.tg-top-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 45px;
    height: 45px;
    border: 0;
    background: var(--tg-black);
    color: var(--tg-gold-light);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 999;
}

.tg-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tg-top-btn:hover {
    background: var(--tg-gold);
    color: var(--tg-black);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--tg-gold);
    outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 980px) {

    .tg-header-inner {
        grid-template-columns: 1fr auto;
    }

    .tg-header-center {
        display: none;
    }

    .tg-main-grid {
        grid-template-columns: 1fr;
    }

    .tg-sidebar {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-featured {
        grid-template-columns: 1fr;
    }

    .tg-featured-image {
        min-height: 430px;
    }

    .tg-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .tg-philosophy-grid {
        gap: 45px;
    }

    .tg-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .tg-container {
        width: min(100% - 28px, 1180px);
    }

    .tg-header-inner {
        min-height: 72px;
    }

    .tg-site-link {
        display: none;
    }

    .tg-menu-btn {
        display: block;
    }

    .tg-nav {
        display: none;
    }

    .tg-nav.is-open {
        display: block;
    }

    .tg-nav-inner {
        display: grid;
        padding: 8px 0;
    }

    .tg-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #222;
    }

    .tg-nav a::after {
        display: none;
    }

    .tg-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .tg-hero-copy {
        padding: 60px 0 30px;
    }

    .tg-hero h1 {
        font-size: 50px;
        letter-spacing: -1.5px;
    }

    .tg-hero-copy > p {
        font-size: 14px;
    }

    .tg-hero-visual {
        min-height: 300px;
        margin-bottom: 45px;
    }

    .tg-hero-card {
        width: 210px;
        padding: 30px;
    }

    .tg-hero-card strong {
        font-size: 40px;
    }

    .tg-orbit-one {
        width: 310px;
        height: 310px;
    }

    .tg-orbit-two {
        width: 210px;
        height: 210px;
    }

    .tg-intro-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 32px 0;
    }

    .tg-intro h2 {
        font-size: 25px;
    }

    .tg-featured-section {
        padding-top: 55px;
    }

    .tg-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .tg-section-head h2 {
        font-size: 32px;
    }

    .tg-featured-image {
        min-height: 300px;
    }

    .tg-featured-content {
        padding: 32px 25px;
    }

    .tg-featured-content h2 {
        font-size: 31px;
    }

    .tg-featured-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .tg-content-section {
        padding-top: 35px;
        padding-bottom: 60px;
    }

    .tg-posts {
        grid-template-columns: 1fr;
    }

    .tg-post-image {
        height: 250px;
    }

    .tg-sidebar {
        grid-template-columns: 1fr;
    }

    .tg-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 0;
    }

    .tg-philosophy h2 {
        font-size: 42px;
    }

    .tg-cta-box {
        padding: 55px 0;
        gap: 30px;
    }

    .tg-footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 0;
    }

    .tg-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}