/* ============================================
   Prof. Dr. Zayde Ayvaz - Editorial Magazine v4
   Brand: "Retro Editorial" - Clean, Warm, Magazine
   Premium editorial blog aesthetic
   ============================================ */

/* ---- KEYFRAME ANIMATIONS ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes morph {
    0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25%  { border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; }
    50%  { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    75%  { border-radius: 40% 60% 60% 40% / 30% 70% 40% 60%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes navSlideIn { to { opacity: 1; transform: translateX(0); } }

@keyframes highlightWave {
    0%, 100% { background-size: 100% 35%; }
    50% { background-size: 100% 42%; }
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ---- ROOT VARIABLES ---- */
:root {
    /* Editorial Magazine Palette */
    --primary: #0B3D4E;
    --primary-light: #1A6B7A;
    --primary-dark: #062A36;
    --accent: #2EC4B6;
    --accent-light: #E8FAF6;
    --warm: #E8985E;
    --warm-light: #FFF0E5;
    --ocean: #168A8A;
    --bg: #fafaf8;
    --bg-white: #ffffff;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --border: #f0eeeb;
    --gold: #C4963A;
    --gold-light: #FFF5E1;
    --green: #2D8659;
    --green-light: #E2F5EC;

    /* Pastel accents */
    --pastel-yellow: #FEF3C7;
    --pastel-teal: #CCFBF1;
    --pastel-coral: #FFE4E1;
    --pastel-lavender: #EDE9FE;

    /* Dark section palette (footer only) */
    --dark-bg: #2d2d2d;
    --dark-card: rgba(255,255,255,0.06);
    --dark-border: rgba(255,255,255,0.1);

    /* Spacing - generous */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Radius - rounded everything */
    --radius-xs: 4px;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 24px;
    --radius-full: 999px;

    /* Shadows - soft, warm-toned */
    --shadow: 0 2px 8px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    --shadow-glow: none;

    /* Glass - not used in editorial, but keeping vars */
    --glass-bg: rgba(255,255,255,0.95);
    --glass-border: rgba(240,238,235,0.8);
    --glass-blur: blur(0px);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.15s var(--ease);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.5s var(--ease);
}

/* ---- RESET & BASE ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'kern' 1;
    overflow-x: hidden;
}

/* No grain texture - clean editorial */
body::before {
    display: none;
}

::selection {
    background: rgba(46,196,182,0.15);
    color: var(--text);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

/* Focus accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Custom cursor on interactive elements */
a, button, .card, .blog-card { cursor: pointer; }
a:hover, button:hover { cursor: pointer; }

/* No floating bubbles - clean editorial */
body::after {
    display: none;
}

/* ============================================
   NAVIGATION - Clean minimal with subtle border
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: 72px;
    transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.navbar.scrolled {
    height: 62px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex; justify-content: space-between; align-items: center; height: 100%;
}

.nav-brand {
    display: flex; align-items: center; gap: 0.85rem; text-decoration: none;
    position: relative;
}

.nav-brand-text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.3rem; font-weight: 700;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    transition: all var(--transition);
}

.nav-brand:hover .nav-brand-text {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

.nav-brand-sub {
    font-size: 0.68rem; color: var(--text-lighter); display: block;
    letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.4s var(--ease); overflow: hidden;
    -webkit-text-fill-color: var(--text-lighter);
}

.navbar.scrolled .nav-brand-sub { font-size: 0; opacity: 0; height: 0; }

.nav-menu { display: flex; list-style: none; gap: 0.15rem; }

.nav-menu a {
    display: block; padding: 0.55rem 1rem; font-size: 0.875rem;
    font-weight: 500; color: var(--text-light); border-radius: var(--radius-full);
    transition: all var(--transition); text-decoration: none; position: relative;
    letter-spacing: 0.01em;
}

.nav-menu a::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease), left 0.3s var(--ease);
    border-radius: 2px;
}

.nav-menu a:hover::after, .nav-menu a.active::after { width: 60%; left: 20%; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-menu a:hover { background: transparent; }

/* Language Switcher - Subscribe button style */
.lang-switch {
    display: flex; align-items: center; margin-left: 1.25rem;
}
.lang-switch a {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.45rem 1rem; font-size: 0.75rem; font-weight: 700;
    border-radius: var(--radius-full); border: 2px solid var(--accent);
    color: var(--accent); transition: all var(--transition);
    text-decoration: none; letter-spacing: 0.5px;
}
.lang-switch a:hover {
    background: var(--accent);
    color: white; border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46,196,182,0.25);
}
.lang-switch a.active {
    background: var(--accent);
    color: white; border-color: var(--accent);
}

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; position: relative;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(0,0,0,0.04); }

.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text);
    position: absolute; left: 7px; transition: 0.4s var(--ease);
    border-radius: 2px;
}

.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 23px; }

.nav-toggle.active span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.active span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ============================================
   HERO - Clean, personal, white bg
   ============================================ */
.hero {
    min-height: 100vh;
    padding: clamp(10rem, 18vh, 14rem) 0 clamp(6rem, 12vh, 9rem);
    background: var(--bg);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative leaf/wave SVG in corner */
.hero::before {
    content: '';
    position: absolute;
    top: 80px;
    right: -60px;
    width: 300px;
    height: 300px;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M 100 0 C 140 40, 180 60, 200 100 C 180 140, 140 160, 100 200 C 60 160, 20 140, 0 100 C 20 60, 60 40, 100 0 Z' fill='%232EC4B6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Curved bottom edge */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero .container {
    position: relative; z-index: 2;
}

.hero-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl); align-items: center;
}

.hero-tagline {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 3px; color: var(--accent);
    margin-bottom: 1.25rem; padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--accent);
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(2.8rem, 5vw + 1rem, 4rem);
    font-weight: 700; line-height: 1.08; margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    color: var(--text);
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero .subtitle {
    font-size: 1.15rem; color: var(--text-light); margin-bottom: 1.5rem; font-weight: 400;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero .lead {
    font-size: 1rem; color: var(--text-light); line-height: 1.85; margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-cta {
    display: flex; gap: 1.25rem; flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

/* ---- BUTTONS - Rounded pill shape ---- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2rem; border-radius: var(--radius-full); font-weight: 600;
    font-size: 0.9rem; border: 2px solid transparent; cursor: pointer;
    transition: all var(--transition); text-decoration: none; position: relative;
    overflow: hidden; letter-spacing: 0.02em;
}

.btn:active { transform: scale(0.97); transition-duration: 0.1s; }

.btn-primary {
    background: var(--accent); color: white;
    box-shadow: 0 4px 12px rgba(46,196,182,0.2);
}
.btn-primary::before { display: none; }
.btn-primary:hover {
    background: var(--primary-light); color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,196,182,0.3);
}

.btn-outline {
    border-color: var(--border); color: var(--text); background: transparent;
    backdrop-filter: none;
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--accent); background: transparent;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--text); color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: var(--primary);
}

.btn-gold {
    background: var(--warm); color: white; border-color: transparent;
    box-shadow: 0 4px 12px rgba(232,152,94,0.2);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,152,94,0.3);
}

/* ---- HERO STATS ---- */
.hero-stats {
    display: flex; gap: 3rem; margin-top: 3rem;
    padding-top: 2rem; border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.stat-number {
    font-size: 2.4rem; font-weight: 700; display: block; line-height: 1;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
.stat-label {
    font-size: 0.72rem; color: var(--text-lighter); text-transform: uppercase;
    letter-spacing: 1px; margin-top: 0.4rem;
}

.hero-credentials {
    display: flex; gap: 0.85rem; margin-top: 1.25rem; flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}
.hero-credentials span {
    font-size: 0.7rem; padding: 0.3rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-light); letter-spacing: 0.3px;
    background: var(--bg-white);
    backdrop-filter: none;
    transition: all var(--transition);
}
.hero-credentials span:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.hero-photo {
    display: flex; justify-content: center; align-items: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.photo-frame {
    width: 340px; height: 340px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--pastel-teal);
    border: 4px solid var(--bg-white);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Source Serif 4', serif;
    font-size: 4rem; color: rgba(46,196,182,0.3);
    position: relative; overflow: hidden;
    animation: morph 12s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(46,196,182,0.12);
}
.photo-frame::before {
    display: none;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   SECTIONS - Generous spacing, light backgrounds
   ============================================ */
section {
    padding: clamp(80px, 10vw, 120px) 0;
    position: relative;
}

section.alt {
    background-color: var(--bg-white);
    position: relative;
}

section.alt::before {
    display: none;
}

/* Light sections for visual rhythm - NO dark backgrounds */
section.dark {
    background: var(--bg-white);
    color: var(--text);
}
section.dark .section-title {
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
section.dark .section-desc { color: var(--text-light); }
section.dark .section-tag { color: var(--accent); }
section.dark .card {
    background: var(--bg-white);
    border-color: var(--border);
    backdrop-filter: none;
}
section.dark .card h3 { color: var(--text); }
section.dark .card p { color: var(--text-light); }

.section-header { margin-bottom: var(--space-2xl); }
.section-header.center { text-align: center; }

.section-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--accent);
    margin-bottom: 1rem;
}
.section-tag::before {
    content: ''; display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle;
    animation: gentlePulse 3s ease-in-out infinite;
}

/* Serif section titles with highlight underline */
.section-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.8rem);
    line-height: 1.15; margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    position: relative;
    display: inline-block;
}

/* Yellow highlight underline effect */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 35%;
    background: var(--pastel-yellow);
    z-index: -1;
    border-radius: 4px;
    animation: highlightWave 4s ease-in-out infinite;
}

.section-desc { color: var(--text-light); font-size: 1.05rem; max-width: 620px; line-height: 1.8; }
.section-header.center .section-desc { margin: 0 auto; }

/* ============================================
   CARDS - Clean white, very rounded, soft shadow
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

.card {
    background: var(--bg-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: var(--radius);
    padding: var(--space-xl) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

/* Pastel top accent stripe */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius) var(--radius) 0 0;
    transition: height 0.3s var(--ease);
}

/* Alternate card top colors */
.card:nth-child(4n+1)::before { background: var(--accent); }
.card:nth-child(4n+2)::before { background: var(--warm); }
.card:nth-child(4n+3)::before { background: #a78bfa; }
.card:nth-child(4n+4)::before { background: #f472b6; }

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card:hover::before {
    height: 5px;
}

.card:hover .card-icon { transform: translateY(-3px); }

.card-icon {
    width: 60px; height: 60px; display: flex; align-items: center;
    justify-content: center; border-radius: var(--radius);
    background: var(--pastel-teal);
    font-size: 1.75rem; margin-bottom: 1.5rem;
    transition: all var(--transition);
    position: relative;
}

/* Alternate icon backgrounds */
.card:nth-child(4n+1) .card-icon { background: var(--pastel-teal); }
.card:nth-child(4n+2) .card-icon { background: var(--pastel-yellow); }
.card:nth-child(4n+3) .card-icon { background: var(--pastel-lavender); }
.card:nth-child(4n+4) .card-icon { background: var(--pastel-coral); }

.card-icon::after { display: none; }

.card h3 {
    font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; }

/* ============================================
   BLOG CARDS - Rounded, pastel bg image areas
   ============================================ */
.blog-card {
    background: var(--bg-white); border: none;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s var(--ease);
    display: flex; flex-direction: column;
    position: relative;
}

.blog-card::before { display: none; }

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    aspect-ratio: 16 / 9;
    background: var(--pastel-teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: rgba(46,196,182,0.3); position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Alternate blog card image backgrounds */
.blog-card:nth-child(3n+1) .blog-card-image { background: var(--pastel-teal); }
.blog-card:nth-child(3n+2) .blog-card-image { background: var(--pastel-yellow); }
.blog-card:nth-child(3n+3) .blog-card-image { background: var(--pastel-lavender); }

.blog-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-image::after { display: none; }

/* Category badge - dark pill */
.blog-card-category {
    position: absolute; top: 1rem; left: 1rem;
    padding: 0.35rem 0.9rem;
    background: var(--text);
    color: white; border-radius: var(--radius-full); font-size: 0.68rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
    transition: all 0.3s var(--ease); z-index: 2;
    border: none;
    backdrop-filter: none;
}
.blog-card:hover .blog-card-category {
    background: var(--accent);
}

.blog-card-body {
    padding: var(--space-xl); flex: 1; display: flex; flex-direction: column;
}
.blog-card-date { font-size: 0.78rem; color: var(--text-lighter); margin-bottom: 0.65rem; letter-spacing: 0.5px; }

.blog-card-body h3 {
    font-size: 1.15rem; font-weight: 700; color: var(--text);
    margin-bottom: 0.85rem; line-height: 1.35; letter-spacing: -0.02em;
    font-family: 'Source Serif 4', Georgia, serif;
}

.blog-card-body h3 a {
    color: var(--text); text-decoration: none;
    transition: color var(--transition);
    background: linear-gradient(to right, var(--accent), var(--accent));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size 0.4s var(--ease), color var(--transition);
}
.blog-card-body h3 a:hover {
    color: var(--accent);
    background-size: 100% 2px;
}

.blog-card-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; flex: 1; }

.blog-card-footer {
    padding: 1rem var(--space-xl); border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}

.read-more {
    font-size: 0.82rem; font-weight: 700; color: var(--accent);
    display: flex; align-items: center; gap: 0.4rem;
    letter-spacing: 0.5px; transition: all var(--transition);
    text-transform: uppercase;
}
.read-more:hover { gap: 0.75rem; color: var(--primary); }
.read-more::after {
    content: '';
    width: 16px; height: 2px;
    background: currentColor;
    transition: width 0.3s var(--ease);
    display: inline-block;
}
.read-more:hover::after { width: 24px; }

/* ============================================
   BLOG POST - Premium reading experience
   ============================================ */
.post-hero {
    padding: clamp(9rem, 16vh, 12rem) 0 clamp(4rem, 7vh, 5rem);
    background: var(--bg);
    color: var(--text); position: relative;
    overflow: hidden;
}

.post-hero::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 50px;
    background: var(--bg-white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.post-meta { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; }

.post-category {
    padding: 0.35rem 1rem;
    background: var(--pastel-teal);
    border: none;
    border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--primary-light);
    backdrop-filter: none;
}

.post-date { font-size: 0.88rem; color: var(--text-lighter); }

.post-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(1.8rem, 4vw + 0.5rem, 3rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 1.25rem;
    max-width: 800px; letter-spacing: -0.03em;
    color: var(--text);
}

.post-excerpt { font-size: 1.1rem; color: var(--text-light); max-width: 700px; line-height: 1.8; }

/* Reading Progress Bar */
#progress-bar {
    position: fixed; top: 62px; left: 0; height: 3px;
    background: var(--accent);
    z-index: 1001; width: 0%; transition: width 0.1s linear;
    box-shadow: none;
}

.post-content { max-width: 740px; margin: 0 auto; padding: var(--space-3xl) 0; }

/* Drop cap */
.post-content > p:first-of-type::first-letter {
    font-family: 'Source Serif 4', serif;
    float: left; font-size: 4rem; font-weight: 700;
    line-height: 1; margin: 0.05em 0.15em 0 0;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.post-content h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.6rem; margin: 3rem 0 1.25rem;
    padding-top: 2.5rem; border-top: 1px solid var(--border);
    letter-spacing: -0.02em;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
.post-content h2:first-of-type { border-top: none; padding-top: 0; }

.post-content h3 { font-size: 1.2rem; color: var(--text); margin: 2.5rem 0 1rem; }
.post-content p { margin-bottom: 1.5rem; font-size: 1.08rem; line-height: 1.9; color: var(--text); }
.post-content ul, .post-content ol { margin: 1.25rem 0 1.75rem 1.5rem; color: var(--text); }
.post-content li { margin-bottom: 0.6rem; font-size: 1.05rem; line-height: 1.75; }

.post-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: var(--accent-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic; color: var(--primary);
    position: relative;
}
.post-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: 'Source Serif 4', serif;
    font-size: 4rem;
    color: rgba(46,196,182,0.2);
    line-height: 1;
}

/* Pull quote */
.post-content .pull-quote {
    border-left: none; background: none; text-align: center;
    font-family: 'Source Serif 4', serif; font-size: 1.5rem;
    font-style: italic; padding: 3rem 3rem; font-weight: 500;
    margin: 3rem -1rem; position: relative; line-height: 1.5;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
.post-content .pull-quote::before, .post-content .pull-quote::after {
    content: ''; display: block; width: 80px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
}
.post-content .pull-quote::before { margin-bottom: 1.5rem; }
.post-content .pull-quote::after { margin-top: 1.5rem; }

.post-content .highlight-box {
    background: var(--pastel-yellow);
    border: 1px solid rgba(196,150,58,0.15);
    border-radius: var(--radius); padding: 2rem 2.5rem; margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}
.post-content .highlight-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--warm);
    border-radius: var(--radius) var(--radius) 0 0;
}
.post-content .highlight-box h4 { color: var(--gold); margin-bottom: 0.75rem; }

/* Author card */
.author-card {
    display: flex; gap: 2rem; align-items: center; padding: 2.5rem;
    margin-top: 4rem; border-radius: var(--radius-lg);
    position: relative;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.author-card::before {
    display: none;
}
.author-card-avatar {
    width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
    background: var(--pastel-teal);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light); font-family: 'Source Serif 4', serif;
    font-size: 1.5rem; font-weight: 700;
    box-shadow: none;
}
.author-card h4 { font-size: 1.05rem; color: var(--text); margin-bottom: 0.35rem; }
.author-card p { font-size: 0.9rem !important; color: var(--text-light) !important; margin-bottom: 0 !important; line-height: 1.7 !important; }

/* Share row */
.share-row {
    display: flex; gap: 0.85rem; align-items: center;
    padding: 1.5rem 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); margin: 2.5rem 0;
}
.share-row span { font-size: 0.82rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.5px; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text-light); font-size: 0.85rem;
    transition: all 0.3s var(--ease); cursor: pointer; text-decoration: none;
}
.share-btn:hover {
    background: var(--accent);
    color: white; border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46,196,182,0.2);
}

/* ============================================
   SIDEBAR - Social media grid, Most Loved
   ============================================ */
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-2xl); }
.sidebar { position: sticky; top: 95px; align-self: start; }

.sidebar-widget {
    background: var(--bg-white);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-xl); margin-bottom: var(--space-xl);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}
.sidebar-widget h4 {
    font-size: 0.88rem; font-weight: 700; color: var(--text);
    margin-bottom: 1.25rem; padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--pastel-yellow);
    letter-spacing: 0.02em;
    font-family: 'Source Serif 4', Georgia, serif;
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { margin-bottom: 0.6rem; }
.sidebar-widget li a {
    font-size: 0.88rem; color: var(--text-light);
    transition: all var(--transition);
    padding: 0.3rem 0;
    display: inline-block;
}
.sidebar-widget li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.ad-space {
    background: var(--bg);
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 2.5rem; text-align: center; color: var(--text-lighter); font-size: 0.78rem;
    min-height: 250px; display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 0.5rem;
}

/* ============================================
   NEWSLETTER - Light pastel teal background
   ============================================ */
.newsletter-box {
    background: var(--pastel-teal);
    color: var(--text); border-radius: var(--radius-lg); padding: var(--space-3xl) var(--space-2xl);
    text-align: center; position: relative; overflow: hidden;
}
/* Decorative leaf SVG in corner */
.newsletter-box::before {
    content: '';
    position: absolute; top: -20px; right: -20px;
    width: 160px; height: 160px;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M 100 0 C 140 40, 180 60, 200 100 C 180 140, 140 160, 100 200 C 60 160, 20 140, 0 100 C 20 60, 60 40, 100 0 Z' fill='%232EC4B6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.newsletter-box::after {
    content: '';
    position: absolute; bottom: -30px; left: -20px;
    width: 120px; height: 120px;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%232EC4B6' stroke-width='2'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%232EC4B6' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.newsletter-box h3 {
    font-family: 'Source Serif 4', serif; font-size: 1.8rem; margin-bottom: 0.75rem;
    position: relative; z-index: 1;
    letter-spacing: -0.02em;
    color: var(--text);
}
.newsletter-box p {
    color: var(--text-light); margin-bottom: 2rem; font-size: 1rem;
    position: relative; z-index: 1;
    max-width: 480px; margin-left: auto; margin-right: auto;
}

.newsletter-form {
    display: flex; gap: 0.85rem; max-width: 500px; margin: 0 auto;
    position: relative; z-index: 1;
}
.newsletter-form input {
    flex: 1; padding: 1rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-full);
    font-size: 0.95rem; outline: none; font-family: inherit;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.newsletter-form input:focus {
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(46,196,182,0.15);
    border-color: var(--accent);
}
.newsletter-form button {
    padding: 1rem 2.25rem;
    background: var(--accent);
    color: white;
    border: none; border-radius: var(--radius-full); font-weight: 700;
    font-size: 0.9rem; cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap; font-family: inherit;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 12px rgba(46,196,182,0.2);
    letter-spacing: 0.02em;
}
.newsletter-form button::before { display: none; }
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,196,182,0.3);
    background: var(--primary-light);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2.5rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.5rem; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent);
    margin-left: -6px; border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px rgba(46,196,182,0.1);
    transition: all var(--transition);
}
.timeline-item:hover::before {
    box-shadow: 0 0 0 6px rgba(46,196,182,0.15);
    transform: scale(1.15);
}
.timeline-item.current::before {
    background: var(--warm);
    box-shadow: 0 0 0 4px var(--pastel-coral);
}
.timeline-date { font-size: 0.78rem; color: var(--text-lighter); font-weight: 700; letter-spacing: 0.5px; }
.timeline-role { font-weight: 700; font-size: 1.05rem; margin: 0.2rem 0; color: var(--text); }
.timeline-place { font-size: 0.9rem; color: var(--text-light); }

/* ============================================
   TAGS - Rounded pills
   ============================================ */
.tag {
    display: inline-block; padding: 0.25rem 0.85rem; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 600; margin: 0.2rem;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}
.tag:hover { transform: translateY(-1px); }
.tag-blue { background: var(--pastel-teal); color: var(--primary-light); }
.tag-blue:hover { background: rgba(46,196,182,0.2); box-shadow: 0 2px 8px rgba(46,196,182,0.15); }
.tag-gold { background: var(--pastel-yellow); color: var(--gold); }
.tag-gold:hover { background: rgba(196,150,58,0.15); box-shadow: 0 2px 8px rgba(196,150,58,0.15); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-green:hover { background: rgba(45,134,89,0.15); box-shadow: 0 2px 8px rgba(45,134,89,0.15); }

/* ============================================
   CTA BANNER - Soft pastel gradient
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--pastel-teal) 0%, var(--pastel-yellow) 100%);
    color: var(--text); border-radius: var(--radius-lg); padding: var(--space-2xl) var(--space-3xl);
    display: flex; align-items: center; justify-content: space-between;
    gap: 2.5rem; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; top: -40%; right: -5%;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(255,255,255,0.3); pointer-events: none;
}
.cta-banner::after {
    content: ''; position: absolute; bottom: -30%; left: -5%;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,0.2); pointer-events: none;
}
.cta-banner h3 {
    font-family: 'Source Serif 4', serif; font-size: 1.55rem; margin-bottom: 0.6rem;
    position: relative; letter-spacing: -0.02em;
    color: var(--text);
}
.cta-banner p { color: var(--text-light); font-size: 0.95rem; position: relative; line-height: 1.7; }
.cta-banner .btn-primary {
    background: var(--accent); color: white; font-weight: 700; position: relative;
    border: none;
    box-shadow: 0 4px 16px rgba(46,196,182,0.25);
}
.cta-banner .btn-primary:hover {
    background: var(--primary-light); color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(46,196,182,0.35);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; font-size: 0.82rem; font-weight: 700;
    color: var(--text); margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 1rem 1.25rem; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit;
    outline: none; transition: all var(--transition);
    background: var(--bg-white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(46,196,182,0.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================
   FOOTER - Soft gray, clean and minimal
   ============================================ */
.footer {
    background: #f5f5f3;
    color: var(--text-light);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
}
/* Subtle top accent line */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--pastel-yellow), var(--warm), var(--accent));
}

.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl); margin-bottom: var(--space-2xl);
}
.footer h4 {
    color: var(--text); font-size: 0.95rem; margin-bottom: 1.25rem;
    position: relative; padding-bottom: 0.75rem;
    font-family: 'Source Serif 4', Georgia, serif;
}
.footer h4::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.footer p { font-size: 0.88rem; line-height: 1.8; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.65rem; }
.footer a {
    color: var(--text-light); font-size: 0.88rem;
    transition: all var(--transition);
    display: inline-block;
}
.footer a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-xl); text-align: center; font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--text-lighter);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed; bottom: 2.5rem; right: 2.5rem;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent);
    color: white; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(46,196,182,0.25);
    opacity: 0; transform: translateY(20px);
    transition: all 0.4s var(--ease);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(46,196,182,0.3);
}

/* ============================================
   FADE ANIMATION - Soft fade-up
   ============================================ */
.fade-up {
    opacity: 0; transform: translateY(25px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.grid-2 > .fade-up:nth-child(2) { transition-delay: 0.1s; }
.grid-3 > .fade-up:nth-child(2) { transition-delay: 0.1s; }
.grid-3 > .fade-up:nth-child(3) { transition-delay: 0.2s; }
.grid-4 > .fade-up:nth-child(2) { transition-delay: 0.1s; }
.grid-4 > .fade-up:nth-child(3) { transition-delay: 0.2s; }
.grid-4 > .fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .post-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }

    .hero { min-height: auto; padding: clamp(8rem, 14vh, 10rem) 0 clamp(5rem, 8vh, 7rem); }
    .hero-grid { grid-template-columns: 1fr !important; text-align: center; }
    .hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
    .hero-stats {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 1.5rem; text-align: center; justify-content: center;
    }
    .hero-photo { order: -1; }
    .photo-frame { width: 220px; height: 220px; }
    .hero-cta { justify-content: center; }
    .hero-credentials { justify-content: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }

    .nav-menu {
        display: flex !important; flex-direction: column;
        position: absolute; top: 72px; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: none; -webkit-backdrop-filter: none;
        padding: 0; border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 40px rgba(0,0,0,0.06);
        max-height: 0; overflow: hidden; opacity: 0;
        transition: max-height 0.5s var(--ease), opacity 0.4s ease, padding 0.4s ease;
    }
    .nav-menu.open { max-height: 450px; opacity: 1; padding: 1rem 1.25rem; }

    .nav-menu.open li {
        animation: navSlideIn 0.35s ease forwards; opacity: 0; transform: translateX(-10px);
    }
    .nav-menu.open li:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu.open li:nth-child(2) { animation-delay: 0.1s; }
    .nav-menu.open li:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu.open li:nth-child(4) { animation-delay: 0.2s; }
    .nav-menu.open li:nth-child(5) { animation-delay: 0.25s; }
    .nav-menu.open li:nth-child(6) { animation-delay: 0.3s; }
    .nav-menu.open li:nth-child(7) { animation-delay: 0.35s; }

    .nav-menu a { padding: 0.85rem 1.25rem; font-size: 1rem; }
    .nav-toggle { display: block; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .cta-banner { flex-direction: column; text-align: center; padding: var(--space-2xl); }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; padding: 1.1rem; }
    .author-card { flex-direction: column; text-align: center; }
    .post-content .pull-quote { padding: 2rem 1rem; font-size: 1.25rem; margin: 2.5rem 0; }
    .share-row { flex-wrap: wrap; }

    section { padding: clamp(60px, 8vw, 80px) 0; }

    /* Mobile scroll-snap for blog cards */
    section:not(.alt) > .container > .grid-3 {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        gap: 1rem; padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    section:not(.alt) > .container > .grid-3::-webkit-scrollbar { display: none; }
    section:not(.alt) > .container > .grid-3 > * {
        scroll-snap-align: start; min-width: 85vw; flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-number { font-size: 1.8rem; }
    .btn { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
    .newsletter-box { padding: var(--space-2xl) var(--space-lg); }
    .cta-banner { padding: var(--space-xl); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
