/* ==========================================================================
   PORTFOLIO 4: COPYWRITER / MARKETER (LIGHT THEME, ARCHITECTURE 1)
   ========================================================================== */

:root {
    --bg-pure: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --brand-primary: #4f46e5; /* Modern Indigo */
    --brand-hover: #4338ca;
    --border-color: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-pure);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Rules */
h1, h2, h3, .logo { font-weight: 700; color: var(--text-main); line-height: 1.2; }
.serif-italic { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; }
.accent-text { color: var(--brand-primary); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 5%; }
img { max-width: 100%; display: block; border-radius: 12px; }
a { text-decoration: none; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--bg-light); }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 1.5px; }
.font-sm { font-size: 0.85rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.pt-4 { padding-top: 1.5rem; }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.josef-preview-banner { background: var(--bg-light); color: var(--text-main); text-align: center; padding: 8px; font-size: 13px; border-bottom: 1px solid var(--border-color); }

/* =========================================================
   MASTER PROTOCOL: ARCHITECTURE 1 (SCULPTED FLOATING BAR)
   ========================================================= */
.header-1-wrapper { padding: 25px 0; position: sticky; top: 0; z-index: 100; }
.header-1 {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
    border-radius: 100px; padding: 12px 20px 12px 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(0,0,0,0.04);
}

.logo { font-size: 1.4rem; letter-spacing: -0.5px; }
.logo .dot { color: var(--brand-primary); }

.header-1-nav {
    background: var(--bg-light); padding: 10px 30px; border-radius: 50px;
    display: flex; gap: 30px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
.nav-link { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--text-main); }

/* Buttons */
.btn-primary { background: var(--text-main); color: white; padding: 14px 28px; border-radius: 50px; font-weight: 600; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--brand-primary); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2); }
.btn-outline { border: 1px solid var(--border-color); color: var(--text-main); padding: 14px 28px; border-radius: 50px; font-weight: 600; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: var(--bg-light); border-color: var(--text-muted); }

/* Hero Section */
.writer-hero { padding: 80px 0; }
.hero-content { max-width: 800px; margin: 0 auto; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-color); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 25px; }
.dot-pulse { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; margin-bottom: 25px; } /* Medium/Large Typography */
.hero-sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; padding: 0 20px; }
.hero-actions { display: flex; gap: 15px; }
.justify-center { justify-content: center; }

/* Client Bar */
.client-bar { padding: 40px 0; }
.logo-flex { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; opacity: 0.5; filter: grayscale(100%); }
.client-logo { font-size: 1.4rem; font-weight: 700; color: var(--text-main); }

/* Capabilities Grid */
.capabilities { padding: 100px 0; }
.section-title-left { margin-bottom: 50px; }
.section-title-left h2 { font-size: 2.2rem; margin-bottom: 10px; }
.section-title-left p { font-size: 1.1rem; color: var(--text-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-box { background: var(--bg-pure); padding: 40px 30px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: transform 0.3s; }
.service-box:hover { transform: translateY(-5px); border-color: var(--brand-primary); }
.icon-wrap { width: 50px; height: 50px; background: #eef2ff; color: var(--brand-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.service-box h3 { font-size: 1.3rem; margin-bottom: 15px; }
.service-box p { color: var(--text-muted); font-size: 0.95rem; }

/* Case Study Section */
.case-study-section { padding: 100px 0; }
.case-study-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--bg-light); border-radius: 20px; border: 1px solid var(--border-color); overflow: hidden; padding: 40px; }
.cs-image img { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.cs-tags { display: flex; gap: 10px; margin-bottom: 20px; }
.cs-tags span { background: white; color: var(--text-muted); padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--border-color); }
.cs-content h3 { color: var(--brand-primary); margin-bottom: 10px; font-size: 1.4rem; }
.cs-content h2 { font-size: 1.8rem; margin-bottom: 20px; letter-spacing: -0.5px; }
.cs-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }
.text-link { color: var(--text-main); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s; }
.text-link:hover { color: var(--brand-primary); }

/* Footer */
.writer-footer { padding: 80px 0 30px 0; }
.socials a { color: var(--text-muted); font-size: 1.2rem; margin-left: 15px; transition: color 0.2s; }
.socials a:hover { color: var(--brand-primary); }

/* Animations */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 992px) {
    .hide-mobile { display: none; }
    .case-study-card { grid-template-columns: 1fr; padding: 25px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .flex-between { flex-direction: column; gap: 20px; text-align: center; }
}