/*
Theme Name: Ali Mammadli
Theme URI: https://alimammadli.com
Author: Ali Mammadli
Description: Personal travel, video and memories archive.
Version: 1.1
*/

:root {
    --bg: #0b0d10;
    --surface: #11151a;
    --surface-light: #171c22;
    --text: #f4f5f6;
    --muted: #9299a3;
    --border: rgba(255,255,255,.09);
    --accent: #d7ff3f;
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

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

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

.ali-home {
    overflow: hidden;
}

/* =========================
   GENERAL
========================= */

.section-heading {
    max-width: var(--max-width);
    margin: 0 auto 48px;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-heading p {
    max-width: 350px;
    color: var(--muted);
    margin: 0;
}

.section-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #0b0d10;
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--surface-light);
}

/* =========================
   HERO
========================= */

.hero-section {
    min-height: 760px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 28px 100px;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 80px;
}

.hero-eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(76px, 12vw, 170px);
    line-height: .82;
    letter-spacing: -8px;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--muted);
}

.hero-description {
    max-width: 560px;
    color: var(--muted);
    font-size: 18px;
    margin: 42px 0 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-side {
    border-left: 1px solid var(--border);
    padding-left: 35px;
}

.hero-stat {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.hero-stat:first-child {
    padding-top: 0;
}

.hero-stat strong {
    display: block;
    font-size: 32px;
    letter-spacing: -1px;
}

.hero-stat span {
    color: var(--muted);
    font-size: 13px;
}

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

.featured-section,
.archive-section,
.shorts-section,
.categories-section,
.about-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 110px 0;
}

.featured-video {
    margin: 0 28px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    background: var(--surface);
    border: 1px solid var(--border);
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-category,
.video-card-content > span,
.short-card span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.featured-info h3 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 18px 0;
}

.featured-info p {
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 700;
}

/* =========================
   VIDEO GRID
========================= */

.video-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.video-card {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: .25s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215,255,63,.35);
}

.video-thumbnail {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.04);
}

.video-card-content {
    padding: 24px;
}

.video-card-content h3 {
    font-size: 22px;
    line-height: 1.15;
    margin: 12px 0;
}

.video-card-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.video-card-content a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

/* =========================
   SHORTS
========================= */

.shorts-section {
    max-width: none;
    background: var(--surface);
}

.shorts-section .section-heading {
    max-width: var(--max-width);
}

.shorts-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.short-card {
    min-height: 220px;
    position: relative;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

.short-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65;
    transition: .4s ease;
}

.short-card:hover img {
    transform: scale(1.05);
    opacity: .45;
}

.short-card div {
    position: relative;
    z-index: 2;
    min-height: 220px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        transparent 25%,
        rgba(0,0,0,.9) 100%
    );
}

.short-card h3 {
    margin: 8px 0 2px;
    font-size: 25px;
}

.short-card p {
    margin: 0;
    color: #c5c9ce;
    font-size: 13px;
}

/* =========================
   CATEGORIES
========================= */

.category-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-card {
    min-height: 220px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .25s ease;
}

.category-card:hover {
    background: var(--surface-light);
    transform: translateY(-4px);
}

.category-card > span {
    color: var(--accent);
    font-size: 12px;
}

.category-card h3 {
    font-size: 26px;
    margin: auto 0 8px;
}

.category-card p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

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

.about-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
    padding-left: 28px;
    padding-right: 28px;
}

.about-content h2 {
    max-width: 850px;
    margin: 20px 0;
    font-size: clamp(38px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -3px;
}

.about-content p {
    max-width: 700px;
    color: var(--muted);
    font-size: 17px;
}

.about-social {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-social a {
    font-size: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.about-social a:hover {
    color: var(--accent);
}

/* =========================
   CTA
========================= */

.cta-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 28px 160px;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(65px, 11vw, 150px);
    line-height: .85;
    letter-spacing: -7px;
    margin: 20px 0 35px;
}

.cta-section p {
    max-width: 550px;
    margin: 0 auto 30px;
    color: var(--muted);
}

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

@media (max-width: 900px) {

    .hero-section {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 90px;
    }

    .hero-side {
        border-left: 0;
        border-top: 1px solid var(--border);
        padding: 10px 0 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .hero-stat {
        border-bottom: 0;
    }

    .hero-stat strong {
        font-size: 24px;
    }

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

    .video-grid,
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 600px) {

    .section-heading {
        display: block;
        margin-bottom: 32px;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .hero-section {
        padding: 70px 20px;
    }

    .hero-content h1 {
        font-size: 72px;
        letter-spacing: -5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-side {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-section,
    .archive-section,
    .shorts-section,
    .categories-section {
        padding: 75px 0;
    }

    .featured-video,
    .video-grid,
    .shorts-grid,
    .category-grid {
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .video-grid,
    .shorts-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .featured-info {
        padding: 30px;
    }

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

    .cta-section {
        padding: 80px 20px 110px;
    }

    .cta-section h2 {
        font-size: 72px;
        letter-spacing: -5px;
    }
}
/* =========================================
   ABOUT PAGE
   ========================================= */

.about-page {
    background: var(--bg);
    color: var(--text);
}

.about-hero {
    padding: 150px 0 90px;
    border-bottom: 1px solid var(--border);
}

.about-hero h1 {
    margin: 16px 0 0;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.about-intro {
    max-width: 650px;
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
}

.about-page .about-content {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    gap: 80px;
    align-items: start;
}

.about-main h2 {
    margin: 18px 0 35px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.about-main p {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
}

.section-label,
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.about-sidebar {
    display: grid;
    gap: 14px;
}

.about-card {
    padding: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.card-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.about-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
}

.about-interests {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 45px;
    background: var(--border);
}

.interest-item {
    min-height: 220px;
    padding: 30px;
    background: var(--bg);
}

.interest-item > span {
    display: block;
    margin-bottom: 45px;
    font-size: 12px;
    color: var(--accent);
}

.interest-item h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.interest-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.about-youtube {
    padding: 100px 0;
}

.youtube-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 55px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.youtube-box h2 {
    margin: 15px 0;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.youtube-box p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-socials {
    padding: 0 0 110px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: 0.2s ease;
}

.social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* =========================================
   ABOUT PAGE — MOBILE
   ========================================= */

@media (max-width: 900px) {

    .about-hero {
        padding: 110px 0 70px;
    }

    .about-page .about-content,
    .about-interests,
    .about-youtube {
        padding: 70px 0;
    }

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

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

    .youtube-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
    }
}

@media (max-width: 600px) {

    .about-hero {
        padding: 90px 0 55px;
    }

    .about-hero h1 {
        font-size: 52px;
    }

    .about-intro {
        font-size: 17px;
    }

    .about-main h2 {
        font-size: 34px;
    }

    .about-main p {
        font-size: 16px;
        line-height: 1.7;
    }

    .interest-grid {
        grid-template-columns: 1fr;
    }

    .interest-item {
        min-height: auto;
    }

    .youtube-box {
        padding: 30px;
    }

    .youtube-box h2 {
        font-size: 38px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-links a {
        width: 100%;
    }
}


/* =========================================
   DEFAULT PAGE (legal / text pages)
   ========================================= */

.page-body {
    max-width: 760px;
}

.page-body h2 {
    margin: 56px 0 18px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-body h2:first-child {
    margin-top: 0;
}

.page-body p,
.page-body li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
}

.page-body p {
    margin: 0 0 18px;
}

.page-body ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.page-body li {
    margin-bottom: 8px;
}

.page-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-body strong {
    color: var(--text);
}

@media (max-width: 600px) {
    .page-body p,
    .page-body li {
        font-size: 16px;
        line-height: 1.7;
    }
}


/* =========================================
   MODERN LAYER (v1.2)
   Header, footer, container + visual refresh.
   Overrides earlier rules; remove this block to revert.
   ========================================= */

:root {
    --radius: 20px;
    --radius-sm: 14px;
    --accent-soft: rgba(215, 255, 63, .12);
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent);
    color: #0b0d10;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 13, 16, .72);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.logo::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(215, 255, 63, .7);
}

.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}

.nav a:hover {
    color: var(--text);
    background: var(--surface-light);
}

.nav a.is-active {
    color: var(--text);
    background: var(--surface-light);
    box-shadow: inset 0 0 0 1px var(--border);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--text);
}

/* ---------- Hero ---------- */

.ali-home {
    position: relative;
}

.ali-home::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(closest-side, rgba(215, 255, 63, .09), transparent 70%);
    pointer-events: none;
}

.hero-section {
    position: relative;
    min-height: min(calc(100vh - 72px), 860px);
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .02);
    letter-spacing: 2.5px;
}

.hero-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-content h1 {
    letter-spacing: -.055em;
}

.hero-content h1 span {
    color: transparent;
    background: linear-gradient(180deg, #9aa1ab 0%, #4a5058 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-side {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(17, 21, 26, .6);
    padding: 12px 28px;
}

.hero-stat:first-child {
    padding-top: 22px;
}

.hero-stat:last-child {
    border-bottom: 0;
}

.hero-stat strong {
    font-size: 34px;
    letter-spacing: -.03em;
}

.btn-primary {
    box-shadow: 0 10px 30px rgba(215, 255, 63, .18);
}

/* ---------- Cards: rounded, soft ---------- */

.featured-video,
.video-card,
.short-card,
.category-card {
    border-radius: var(--radius);
    overflow: hidden;
}

.featured-video {
    box-shadow: var(--shadow);
}

.video-card {
    display: flex;
    flex-direction: column;
}

.video-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-card-content a {
    margin-top: auto;
}

/* play button on thumbnails */
.video-thumbnail,
.short-card {
    position: relative;
}

.video-thumbnail::after,
.short-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%) scale(.9);
    border-radius: 50%;
    background: rgba(11, 13, 16, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d7ff3f' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 22px no-repeat;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .15);
    opacity: 0;
    transition: .25s ease;
    z-index: 3;
    pointer-events: none;
}

.video-card:hover .video-thumbnail::after,
.short-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ---------- Shorts: vertical cards ---------- */

.shorts-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.shorts-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.short-card {
    min-height: 0;
    aspect-ratio: 9 / 16;
    display: block;
}

.short-card img {
    opacity: .9;
    object-position: center;
}

.short-card:hover img {
    opacity: .7;
}

.short-card div {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 18px;
    background: linear-gradient(transparent 45%, rgba(0, 0, 0, .92) 100%);
}

.short-card span {
    font-size: 10px;
    letter-spacing: 1.2px;
}

.short-card h3 {
    font-size: 17px;
    line-height: 1.2;
}

.short-card::after {
    top: 42%;
}

/* ---------- Categories ---------- */

.category-card {
    position: relative;
    background: linear-gradient(160deg, var(--surface-light) 0%, var(--surface) 60%);
}

.category-card:hover {
    border-color: rgba(215, 255, 63, .35);
    background: linear-gradient(160deg, #1c222a 0%, var(--surface) 60%);
}

.category-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-soft);
    font-weight: 700;
}

/* ---------- Home about + CTA ---------- */

.about-section {
    align-items: start;
}

.about-social {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.about-social a {
    display: flex;
    justify-content: space-between;
}

.about-social a::after {
    content: "↗";
    color: var(--muted);
}

.about-social a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cta-section {
    position: relative;
    margin-bottom: 80px;
    padding: 110px 28px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(215, 255, 63, .10), transparent 70%),
        var(--surface);
    max-width: calc(var(--max-width) - 56px);
}

/* ---------- About page / text pages ---------- */

.about-card,
.youtube-box {
    border-radius: var(--radius-sm);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .shorts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-section,
    .featured-video,
    .about-section,
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-section {
        min-height: 0;
    }

    .hero-side {
        padding: 8px 20px;
    }

    .hero-stat,
    .hero-stat:first-child {
        padding: 16px 0;
    }

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

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

    .cta-section {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 14px 16px;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: clamp(54px, 17vw, 72px);
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 1.8px;
    }

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

    .shorts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .short-card div {
        padding: 14px;
    }

    .short-card h3 {
        font-size: 15px;
    }

    .cta-section {
        padding: 70px 22px;
        border-radius: 22px;
    }

    .cta-section h2 {
        font-size: clamp(48px, 15vw, 72px);
        letter-spacing: -.05em;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================
   PHOTOS, MILESTONE, CONTACT (v1.3)
   ========================================= */

.about-photo,
.home-about-photo,
.milestone-photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.about-photo img,
.home-about-photo img,
.milestone-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo {
    aspect-ratio: 4 / 5;
}

.about-photo img {
    object-position: center 30%;
}

.about-side {
    display: grid;
    gap: 16px;
    align-content: start;
}

.home-about-photo {
    aspect-ratio: 4 / 3;
}

.home-about-photo img {
    object-position: center 35%;
}

/* milestone on About page */
.about-milestone {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.milestone-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.milestone-photo {
    aspect-ratio: 4 / 5;
    max-width: 460px;
    box-shadow: var(--shadow);
}

.milestone-text h2 {
    margin: 18px 0 24px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.milestone-text p {
    max-width: 560px;
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
}

/* contact page */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
}

.contact-email {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    min-height: 0;
    padding: 36px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        radial-gradient(500px 260px at 0% 0%, rgba(215, 255, 63, .10), transparent 70%),
        var(--surface);
    transition: .25s ease;
}

.contact-email:hover {
    border-color: rgba(215, 255, 63, .35);
    transform: translateY(-3px);
}

.contact-email strong {
    font-size: clamp(24px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.03em;
    word-break: break-word;
}

.contact-email-cta {
    color: var(--accent);
    font-weight: 700;
}

.contact-topics,
.contact-socials {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.contact-topics ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.contact-topics li {
    padding: 10px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.contact-topics li:last-child {
    border-bottom: 0;
}

.contact-socials {
    display: flex;
    flex-direction: column;
}

.contact-socials .section-label {
    margin-bottom: 8px;
}

.contact-socials a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.contact-socials a:last-child {
    border-bottom: 0;
}

.contact-socials a::after {
    content: "↗";
    color: var(--muted);
}

.contact-socials a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .milestone-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .contact-grid {
        gap: 16px;
    }

    .contact-email {
        grid-row: auto;
        min-height: 0;
        padding: 30px;
    }

    .about-milestone {
        padding: 70px 0;
    }

    .about-photo {
        max-width: 420px;
    }
}

.contact-grid > .contact-email:not(.contact-phone) { grid-column: 1; grid-row: 1; }
.contact-grid > .contact-phone { grid-column: 1; grid-row: 2; }
.contact-grid > .contact-topics { grid-column: 2; grid-row: 1; }
.contact-grid > .contact-socials { grid-column: 2; grid-row: 2; }

@media (max-width: 900px) {
    .contact-grid > * { grid-column: auto !important; grid-row: auto !important; }
}


/* =========================================
   SOCIAL ICONS (v1.4)
   ========================================= */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* icon chip inside list-style social links */
.about-social a,
.contact-socials a,
.social-links a {
    align-items: center;
    gap: 14px;
    justify-content: flex-start;
}

.about-social a .icon,
.contact-socials a .icon,
.social-links a .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    transition: .2s ease;
}

.about-social a::after,
.contact-socials a::after {
    margin-left: auto;
}

.about-social a:hover .icon,
.contact-socials a:hover .icon,
.social-links a:hover .icon {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .2);
}

/* About page: pill buttons with icons */
.social-links a {
    padding: 0 20px 0 6px;
    min-height: 54px;
    border-radius: 999px;
    background: var(--surface);
}

.social-links a .icon {
    border-radius: 50%;
}

/* contact card labels */
.contact-email .card-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-email .card-label .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
}

.contact-email .card-label .icon svg {
    width: 18px;
    height: 18px;
}

/* footer icon row */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: .2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .2);
}

.footer-social .icon svg {
    width: 18px;
    height: 18px;
}


/* =========================================
   WHATSAPP + PHOTO CAPTIONS (v1.5)
   ========================================= */

.about-photo,
.home-about-photo {
    position: relative;
}

.photo-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 9px;
    border-radius: 999px;
    background: rgba(11, 13, 16, .7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.photo-caption .icon svg {
    width: 14px;
    height: 14px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-whatsapp {
    gap: 8px;
    border: 1px solid rgba(37, 211, 102, .45);
    color: var(--text);
    background: rgba(37, 211, 102, .08);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, .16);
    transform: translateY(-2px);
}

.btn-whatsapp .icon svg {
    width: 18px;
    height: 18px;
}

.contact-phone:hover {
    transform: none;
}


/* =========================================
   ABOUT PAGE — REDESIGN (v1.6)
   ========================================= */

.ab {
    position: relative;
    overflow: hidden;
}

.ab::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -200px;
    width: 900px;
    height: 900px;
    background: radial-gradient(closest-side, rgba(215, 255, 63, .08), transparent 70%);
    pointer-events: none;
}

/* hero */
.ab-hero {
    position: relative;
    padding: 90px 0 70px;
}

.ab-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 70px;
    align-items: center;
}

.ab-hero h1 {
    margin: 22px 0 0;
    font-size: clamp(64px, 9vw, 132px);
    line-height: .86;
    letter-spacing: -.055em;
    font-weight: 800;
}

.ab-hero h1 span {
    color: transparent;
    background: linear-gradient(180deg, #9aa1ab 0%, #4a5058 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.ab-intro {
    max-width: 520px;
    margin: 34px 0 10px;
    font-size: 21px;
    line-height: 1.5;
    color: var(--text);
}

.ab-role {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 15px;
}

.ab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ab-portrait {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    max-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    justify-self: end;
    width: 100%;
    max-width: 480px;
}

.ab-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.ab-portrait .photo-caption {
    left: 16px;
    bottom: 16px;
}

.ab-portrait-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border-radius: 16px;
    background: rgba(11, 13, 16, .72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
}

.ab-portrait-badge .icon svg {
    width: 26px;
    height: 26px;
}

.ab-portrait-badge strong {
    display: block;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.02em;
}

.ab-portrait-badge span {
    font-size: 12px;
    color: var(--muted);
}

/* stats */
.ab-stats-section {
    padding: 10px 0 20px;
}

.ab-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.ab-stat {
    padding: 28px 26px;
    border-right: 1px solid var(--border);
}

.ab-stat:last-child {
    border-right: 0;
}

.ab-stat .card-label {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}

.ab-stat strong {
    display: block;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1;
    letter-spacing: -.03em;
}

.ab-stat small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

/* story */
.ab-story {
    padding: 110px 0;
}

.ab-story-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
}

.ab-story-head {
    position: sticky;
    top: 110px;
}

.ab-story-head h2,
.ab-section-head h2,
.ab-milestone-text h2,
.ab-follow-text h2 {
    margin: 18px 0 0;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.ab-story-body p {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.85;
    color: var(--muted);
}

.ab-story-body .ab-lead {
    font-size: 26px;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -.01em;
}

/* generic section */
.ab-section {
    padding: 0 0 110px;
}

.ab-section-head {
    margin-bottom: 40px;
}

/* milestone */
.ab-milestone {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 60px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(215, 255, 63, .08), transparent 70%),
        var(--surface);
}

.ab-milestone-photo {
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.ab-milestone-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-milestone-text {
    padding-right: 30px;
}

.ab-milestone-text p {
    max-width: 560px;
    margin: 22px 0 6px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
}

/* interests */
.ab-interests {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ab-interest {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface-light) 0%, var(--surface) 60%);
    transition: .25s ease;
}

.ab-interest:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 255, 63, .35);
}

.ab-interest .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    margin-bottom: 36px;
}

.ab-interest .icon svg {
    width: 24px;
    height: 24px;
}

.ab-interest h3 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -.02em;
}

.ab-interest p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* follow */
.ab-follow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    padding: 56px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 0% 100%, rgba(215, 255, 63, .09), transparent 70%),
        var(--surface);
}

.ab-follow-text p {
    max-width: 460px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.ab-follow-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ab-follow-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    font-weight: 600;
    transition: .2s ease;
}

.ab-follow-links a::after {
    content: "↗";
    margin-left: auto;
    color: var(--muted);
}

.ab-follow-links a:hover {
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.ab-follow-links .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface-light);
}

.ab-follow-links a:first-child {
    grid-column: span 2;
}

/* responsive */
@media (max-width: 1000px) {
    .ab-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ab-stat:nth-child(3) {
        border-right: 0;
    }

    .ab-stat:nth-child(-n+3) {
        border-bottom: 1px solid var(--border);
    }

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

@media (max-width: 900px) {
    .ab-hero {
        padding: 50px 0 40px;
    }

    .ab-hero-grid,
    .ab-story-grid,
    .ab-milestone,
    .ab-follow {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .ab-portrait {
        justify-self: stretch;
        max-width: none;
        max-height: 520px;
    }

    .ab-story {
        padding: 70px 0;
    }

    .ab-story-head {
        position: static;
    }

    .ab-section {
        padding-bottom: 70px;
    }

    .ab-milestone {
        padding: 18px;
    }

    .ab-milestone-photo {
        aspect-ratio: 4 / 3;
    }

    .ab-milestone-text {
        padding: 0 12px 14px;
    }

    .ab-follow {
        padding: 30px 22px;
    }
}

@media (max-width: 600px) {
    .ab-hero h1 {
        font-size: clamp(54px, 17vw, 72px);
    }

    .ab-intro {
        font-size: 18px;
    }

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

    .ab-stat {
        padding: 22px 18px;
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .ab-stat:nth-child(2n) {
        border-right: 0;
    }

    .ab-stat:nth-child(3) {
        border-right: 1px solid var(--border);
    }

    .ab-stat:last-child {
        grid-column: span 2;
        border-bottom: 0;
        border-right: 0;
    }

    .ab-story-body .ab-lead {
        font-size: 21px;
    }

    .ab-story-body p {
        font-size: 16px;
        line-height: 1.75;
    }

    .ab-follow-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .ab-interests {
        gap: 10px;
    }

    .ab-interest {
        padding: 18px;
    }

    .ab-interest h3 {
        font-size: 18px;
    }

    .ab-interest p {
        font-size: 13px;
    }

    .ab-follow-links a:first-child {
        grid-column: auto;
    }

    .ab-interest .icon {
        margin-bottom: 22px;
    }
}


/* =========================================
   HOMEPAGE — REFINEMENT (v1.7)
   ========================================= */

/* hero with photo */
.hero-section {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 60px;
    min-height: 0;
    padding-top: 70px;
    padding-bottom: 50px;
}

.hero-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    max-height: 600px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
    transition: transform .4s ease;
}

.hero-photo:hover {
    transform: rotate(0deg);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border-radius: 16px;
    background: rgba(11, 13, 16, .72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
}

.hero-badge-top {
    top: 16px;
    right: 16px;
}

.hero-badge .icon svg {
    width: 26px;
    height: 26px;
}

.hero-badge strong {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.hero-badge span {
    font-size: 12px;
    color: var(--muted);
}

.hero-photo .photo-caption {
    left: 16px;
    bottom: 16px;
}

/* stats strip + places marquee */
.home-stats {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

.places-strip {
    margin-top: 18px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.places-track {
    display: flex;
    width: max-content;
    animation: places-scroll 40s linear infinite;
}

.places-track span {
    display: inline-flex;
    align-items: center;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.places-track span::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: 0 26px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .7;
}

@keyframes places-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .places-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }
}

/* tighter section rhythm */
.featured-section {
    padding-top: 90px;
}

/* featured: vertical Shorts player */
.featured-video.is-short {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    padding: 20px;
    gap: 20px;
}

.featured-video.is-short .video-wrapper {
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
}

.featured-video.is-short .featured-info {
    padding: 30px 40px;
}

.featured-video.is-short .featured-info h3 {
    font-size: clamp(34px, 4.4vw, 64px);
}

.featured-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.featured-meta div {
    padding: 18px 20px;
    border-right: 1px solid var(--border);
    background: var(--bg);
}

.featured-meta div:last-child {
    border-right: 0;
}

.featured-meta strong {
    display: block;
    font-size: 22px;
    letter-spacing: -.02em;
}

.featured-meta span {
    font-size: 12px;
    color: var(--muted);
}

/* view count chip on thumbnails */
.thumb-views {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(11, 13, 16, .75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
}


/* home about: milestone teaser */
.home-milestone {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        radial-gradient(400px 200px at 100% 0%, rgba(215, 255, 63, .09), transparent 70%),
        var(--surface);
    transition: .25s ease;
}

.home-milestone:hover {
    border-color: rgba(215, 255, 63, .35);
    transform: translateY(-3px);
}

.home-milestone img {
    width: 84px;
    height: 104px;
    object-fit: cover;
    border-radius: 12px;
    flex: none;
}

.home-milestone .card-label {
    display: block;
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--accent);
    font-weight: 700;
}

.home-milestone strong {
    display: block;
    margin: 6px 0 2px;
    font-size: 18px;
    line-height: 1.2;
}

.home-milestone small {
    color: var(--muted);
}

.text-link-muted {
    margin-left: 24px;
    color: var(--text);
}

/* responsive */
@media (max-width: 1000px) {
    .home-stats .ab-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding-top: 40px;
    }

    .hero-photo {
        transform: none;
        max-height: 480px;
    }

    .featured-video.is-short {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
    }

    .featured-video.is-short .video-wrapper {
        max-height: 70vh;
        aspect-ratio: 9 / 16;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .featured-video.is-short .featured-info {
        padding: 10px 10px 16px;
    }
}

@media (max-width: 600px) {
    .home-stats {
        padding: 0 20px;
    }

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

    .hero-photo {
        aspect-ratio: 4 / 4.4;
    }

    .featured-meta strong {
        font-size: 17px;
    }

    .featured-meta div {
        padding: 14px 12px;
    }

    .text-link-muted {
        margin-left: 0;
        display: block;
    }
}


/* =========================================
   CONTACT PAGE — REDESIGN (v1.7)
   ========================================= */

.btn-lg {
    min-height: 54px;
    padding: 0 26px;
    font-size: 15px;
}

/* vCard */
.ct-card {
    justify-self: end;
    width: 100%;
    max-width: 440px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(215, 255, 63, .10), transparent 70%),
        var(--surface);
    box-shadow: var(--shadow);
}

.ct-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.ct-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 22%;
    border: 2px solid var(--accent);
    flex: none;
}

.ct-card-top strong {
    display: block;
    font-size: 22px;
    letter-spacing: -.02em;
}

.ct-card-top span {
    color: var(--muted);
    font-size: 14px;
}

.ct-card-list {
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.ct-card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    word-break: break-word;
}

.ct-card-list li:last-child {
    border-bottom: 0;
}

.ct-card-list .icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--surface-light);
}

.ct-card-list .icon svg {
    width: 17px;
    height: 17px;
}

.ct-card-list a:hover {
    color: var(--accent);
}

.ct-card-social {
    display: flex;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.ct-card-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: .2s ease;
}

.ct-card-social a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .2);
}

/* channels */
.ct-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ct-channel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface-light) 0%, var(--surface) 60%);
    transition: .25s ease;
}

.ct-channel:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 255, 63, .35);
}

.ct-channel > .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.ct-channel > .icon svg {
    width: 24px;
    height: 24px;
}

.ct-channel .card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}

.ct-channel strong {
    font-size: 20px;
    letter-spacing: -.02em;
    word-break: break-word;
}

.ct-cta {
    margin-top: auto;
    padding-top: 14px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

/* topics */
.ct-topics {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 22px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.ct-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-topic-list span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .ct-card {
        justify-self: stretch;
        max-width: none;
    }

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


/* =========================================
   ARTICLES (v1.8)
   ========================================= */

.post-page {
    position: relative;
}

.post-page::before {
    content: "";
    position: absolute;
    top: -260px;
    left: 50%;
    width: 1000px;
    height: 800px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(215, 255, 63, .07), transparent 70%);
    pointer-events: none;
}

.post-narrow {
    max-width: 880px;
}

/* header */
.post-hero {
    position: relative;
    padding: 60px 0 44px;
}

.post-breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--muted);
}

.post-breadcrumb a:hover {
    color: var(--accent);
}

.post-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .02);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.post-location .icon svg {
    width: 15px;
    height: 15px;
}

.post-hero h1 {
    margin: 22px 0 0;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -.045em;
}

.post-lead {
    margin: 26px 0 0;
    font-size: 21px;
    line-height: 1.6;
    color: #c7ccd2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.post-meta-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 22%;
    border: 2px solid var(--accent);
}

.post-meta strong {
    display: block;
    font-size: 15px;
}

.post-meta span {
    font-size: 14px;
    color: var(--muted);
}

/* cover image */
.post-cover {
    margin: 0 auto 60px;
}

.post-cover img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid var(--border);
}

.post-cover figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

/* layout */
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(0, 300px);
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
}

.post-aside {
    position: sticky;
    top: 100px;
    align-self: start;
    display: grid;
    gap: 16px;
}

.post-facts,
.post-follow {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.post-facts ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.post-facts li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.post-facts li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.post-facts .icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--surface-light);
}

.post-facts .icon svg {
    width: 18px;
    height: 18px;
}

.post-facts small {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.post-facts strong,
.post-facts a {
    font-size: 15px;
    font-weight: 600;
}

.post-facts a {
    color: var(--accent);
}

.post-follow .ct-card-social {
    margin-top: 14px;
    padding-top: 0;
    border-top: 0;
}

/* article typography */
.entry-content {
    font-size: 19px;
    line-height: 1.85;
    color: #c7ccd2;
}

.entry-content > * {
    margin-top: 0;
    margin-bottom: 26px;
}

.entry-content h2 {
    margin: 56px 0 18px;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--text);
}

.entry-content h3 {
    margin: 40px 0 14px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--text);
}

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

.entry-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content li::marker {
    color: var(--accent);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
    margin: 40px 0;
    padding: 6px 0 6px 28px;
    border-left: 3px solid var(--accent);
    font-size: 24px;
    line-height: 1.5;
    color: var(--text);
    letter-spacing: -.01em;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-style: normal;
    color: var(--muted);
}

.entry-content img {
    height: auto;
    border-radius: 18px;
}

.entry-content figure {
    margin: 40px 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

.entry-content .alignwide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: none;
}

.entry-content hr {
    margin: 50px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.entry-content .wp-block-gallery {
    gap: 12px;
}

/* embeds (YouTube via block or oEmbed) */
.entry-content .wp-block-embed__wrapper,
.post-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

.entry-content .wp-block-embed__wrapper iframe,
.post-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.post-video {
    margin-top: 50px;
}

.post-video .section-label {
    display: block;
    margin-bottom: 16px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.post-tags a {
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.post-tags a:hover {
    color: var(--accent);
    border-color: rgba(215, 255, 63, .35);
}

/* author box */
.post-author {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(500px 240px at 0% 0%, rgba(215, 255, 63, .08), transparent 70%),
        var(--surface);
}

.post-author img {
    width: 88px;
    height: 88px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 22%;
    border: 2px solid var(--accent);
}

.post-author strong {
    display: block;
    margin: 6px 0 6px;
    font-size: 22px;
}

.post-author p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.post-author .text-link {
    margin-top: 12px;
}

/* prev / next */
.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.post-nav a {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: .2s ease;
}

.post-nav a:hover {
    border-color: rgba(215, 255, 63, .35);
}

.post-nav small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
}

.post-nav-next {
    grid-column: 2;
    text-align: right;
}

/* related + archive grid */
.post-related {
    padding: 90px 28px 110px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: .25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 255, 63, .35);
}

.post-card-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-light);
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.04);
}

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.post-card-placeholder .icon svg {
    width: 42px;
    height: 42px;
    opacity: .5;
}

.post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.post-card-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
}

.post-card h3 {
    margin: 12px 0 10px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.post-card p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.post-card-meta {
    margin-top: auto;
    font-size: 13px;
    color: var(--muted);
}

.post-archive-hero h1 {
    margin: 22px 0 0;
    font-size: clamp(44px, 7vw, 96px);
    line-height: .95;
    letter-spacing: -.05em;
}

.post-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.post-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
}

.post-pagination .page-numbers.current,
.post-pagination .page-numbers:hover {
    color: var(--text);
    border-color: rgba(215, 255, 63, .35);
}

/* responsive */
@media (max-width: 1100px) {
    .entry-content .alignwide {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 1000px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .post-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 600px) {
    .post-hero {
        padding: 36px 0 30px;
    }

    .post-lead {
        font-size: 18px;
    }

    .post-cover {
        margin-bottom: 36px;
    }

    .post-cover img {
        border-radius: 18px;
    }

    .entry-content {
        font-size: 17px;
        line-height: 1.8;
    }

    .entry-content blockquote,
    .entry-content .wp-block-quote {
        font-size: 20px;
        padding-left: 18px;
    }

    .post-aside,
    .post-grid,
    .post-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-nav-next {
        grid-column: auto;
    }

    .post-author {
        flex-direction: column;
        padding: 24px;
    }

    .post-related {
        padding: 60px 20px 80px;
    }
}


/* =========================================
   404, LATEST ARTICLES, FIXES (v1.9)
   ========================================= */

.nf-hero {
    padding: 110px 0 130px;
}

.nf-hero h1 {
    margin: 22px 0 0;
    font-size: clamp(56px, 9vw, 128px);
    line-height: .88;
    letter-spacing: -.055em;
}

.nf-hero h1 span {
    color: transparent;
    background: linear-gradient(180deg, #9aa1ab 0%, #4a5058 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.nf-hero .ab-intro {
    max-width: 600px;
    color: var(--muted);
    font-size: 19px;
}

.nf-youtube {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 44px;
    padding: 14px 20px 14px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    transition: .2s ease;
}

.nf-youtube:hover {
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.nf-youtube .icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--surface-light);
}

.nf-youtube .icon svg {
    width: 24px;
    height: 24px;
}

.nf-youtube strong {
    display: block;
}

.nf-youtube span {
    font-size: 13px;
    color: var(--muted);
}

.nf-arrow {
    margin-left: 18px;
    font-size: 16px !important;
}

/* latest articles on homepage */
.home-latest .section-heading .text-link {
    margin: 0;
}

.home-post-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 600px) {
    .home-post-grid {
        padding: 0 20px;
    }
}

/* category cards: align titles */
.category-card h3 {
    min-height: 2.3em;
    display: flex;
    align-items: flex-end;
    font-size: 24px;
    line-height: 1.15;
}

.nf-hero .ab-actions {
    margin-top: 30px;
}

/* vertical frame for YouTube Shorts inside articles */
.entry-content .wp-block-embed__wrapper:has(iframe[data-short]),
.post-video-frame:has(iframe[data-short]) {
    aspect-ratio: 9 / 16;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* low-resolution covers (e.g. old YouTube frames): don't upscale */
.post-cover.is-small {
    max-width: 880px;
}
