/* Sluff Creative Strategy Portfolio — Brand-Aligned Styles */
/* Brand Colors from Sluff: Eucalyptus Green, Charcoal, Cream, Charcoal Pumice */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Sluff Brand Palette */
    --sluff-eucalyptus: #2d7d46;       /* Primary brand green — eucalyptus */
    --sluff-eucalyptus-light: #4aa860; /* Lighter eucalyptus for hover/active */
    --sluff-eucalyptus-pale: #e8f4ec;  /* Pale eucalyptus for backgrounds */
    --sluff-charcoal: #1a1a1a;         /* Primary text — charcoal (not pure black) */
    --sluff-charcoal-soft: #2d2d2d;    /* Softer charcoal */
    --sluff-cream: #faf8f5;            /* Warm cream (kept for alt cards) */
    --sluff-cream-alt: #f5f0e8;        /* Alt cream for subtle sections */
    --sluff-pumice: #8b7d6b;           /* Pumice/charcoal gray from product */
    --sluff-pumice-light: #c4b8a8;     /* Lighter pumice for borders */
    --sluff-white: #ffffff;            /* Pure white for background & cards */
    --sluff-error: #c0392b;            /* Error/do-not color */

    /* Semantic mappings */
    --bg: var(--sluff-white);
    --card: var(--sluff-white);
    --text: var(--sluff-charcoal);
    --muted: var(--sluff-pumice);
    --accent: var(--sluff-eucalyptus);
    --accent-hover: var(--sluff-eucalyptus-light);
    --accent-light: var(--sluff-eucalyptus-pale);
    --badge-bg: var(--sluff-eucalyptus-pale);
    --badge-text: var(--sluff-eucalyptus);
    --border: var(--sluff-pumice-light);
    --border-strong: var(--sluff-pumice);
  --shadow: 0 1px 3px rgba(26,26,26,0.06);
  --shadow-lg: 0 4px 16px rgba(26,26,26,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1000px;
}

/* Dark mode removed — portal is always light (white background) per client request */

/* Brand Typography: Sluff uses a clean, modern sans — Inter fits the K-beauty minimal aesthetic */
/* If brand has custom font, swap here. For now: Inter for UI, system fallbacks. */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px 60px; }

/* Header */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; color: var(--text); text-decoration: none;
}
.brand svg { color: var(--accent); }
.nav-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-pills a {
  padding: 8px 14px; border-radius: var(--radius-sm); text-decoration: none;
  color: var(--muted); font-size: 13px; font-weight: 500; transition: all 0.15s;
}
.nav-pills a:hover { background: var(--badge-bg); color: var(--accent); }
.nav-pills a.active { background: var(--accent); color: var(--sluff-white); }

/* Hero */
.hero { padding: 40px 0 32px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px;
}
.hero h1, .page-hero h1 {
  font-size: clamp(28px, 5vw, 40px); font-weight: 700; line-height: 1.2; margin-bottom: 16px;
  color: var(--text);
}
.lead { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 auto 24px; }
.hero-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat .num { font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.page-hero { padding: 32px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }

/* Buttons */
.btn-primary, .btn-sm {
  display: inline-block; padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: all 0.15s; border: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--sluff-white); font-size: 15px; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-sm { background: var(--badge-bg); color: var(--accent); font-size: 12px; padding: 6px 12px; }
.btn-sm:hover { background: var(--accent); color: var(--sluff-white); }

/* Angle Grid */
.angle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 32px 0; }
.angle-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: all 0.2s; position: relative;
}
.angle-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.angle-badge {
  display: inline-block; background: var(--badge-bg); color: var(--badge-text);
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.angle-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.angle-tagline { font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 12px; }
.angle-voc { font-size: 12px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.angle-combos { font-size: 12px; font-weight: 500; color: var(--accent); margin-bottom: 16px; }

/* Competitor Map */
.competitor-map { margin: 48px 0; }
.competitor-map h2, .press-proof h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.competitor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.comp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.comp-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--accent); }
.owned { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.their-phrase { font-size: 13px; color: var(--text); font-style: italic; margin-bottom: 8px; padding: 8px; background: var(--bg); border-radius: var(--radius-sm); }
.our-counter { font-size: 13px; font-weight: 500; color: var(--accent); }

/* Press Proof */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .press-grid { grid-template-columns: 1fr; } }
.press-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.press-card .pub {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--badge-bg); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.press-card p { font-size: 13px; line-height: 1.6; color: var(--text); }

/* CTA Section */
.cta-section { text-align: center; padding: 40px 0; }
.cta-section h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.cta-section p { color: var(--muted); margin-bottom: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Filter Bar */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px;
  padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
}
.filter-bar select {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-size: 13px; min-width: 180px;
}
.filter-bar label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* Combo Grid */
.combo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.combo-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: all 0.2s; }
.combo-card:hover { box-shadow: var(--shadow-lg); }
.combo-id { font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.combo-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.badge {
  display: inline-block; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.badge.angle { background: var(--sluff-eucalyptus-pale); color: var(--sluff-eucalyptus); }
.badge.format { background: #e8eef7; color: #3b4fc7; }
.badge.persona { background: #fef0e8; color: #c46b00; }
.combo-hook { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.combo-hook-line { font-size: 13px; color: var(--text); line-height: 1.4; margin-bottom: 12px; }
.combo-links { display: flex; gap: 8px; }

/* Matrix Legend */
.matrix-legend { margin-top: 40px; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.matrix-legend h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.priority-weeks { display: flex; flex-direction: column; gap: 8px; }
.week { font-size: 13px; line-height: 1.5; color: var(--text); }
.scaling-note { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* Brief Viewer */
.brief-selector { margin-bottom: 24px; }
.brief-selector label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.brief-selector select {
  width: 100%; max-width: 500px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-size: 14px;
}
.brief-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.placeholder { color: var(--muted); text-align: center; padding: 40px; }
.brief-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.brief-header h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.brief-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.hook-line { font-size: 14px; color: var(--muted); font-style: italic; }
.brief-section { margin-bottom: 24px; }
.brief-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.brief-section ul { margin-left: 20px; }
.brief-section li { margin-bottom: 6px; color: var(--text); }
.specs-table, .script-table, .audit-table, .weekly-table, .pipeline-table, .tiers-table, .metrics-table, .roadmap-table, .scaling-table {
  width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0;
}
.specs-table th, .script-table th, .audit-table th, .weekly-table th, .pipeline-table th, .tiers-table th, .metrics-table th, .roadmap-table th, .scaling-table th {
  text-align: left; padding: 10px; border-bottom: 2px solid var(--border);
  font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em;
}
.specs-table td, .script-table td, .audit-table td, .weekly-table td, .pipeline-table td, .tiers-table td, .metrics-table td, .roadmap-table td, .scaling-table td {
  padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text);
}
.naming { font-family: 'JetBrains Mono', 'Fira Code', monospace; background: var(--bg); padding: 8px 12px; border-radius: var(--radius-sm); display: inline-block; margin-top: 8px; }
.script-block { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; margin-top: 16px; }
.carousel-cards { display: flex; flex-direction: column; gap: 12px; }
.carousel-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.card-num { font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.card-visual { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.card-headline { font-weight: 600; margin-bottom: 4px; color: var(--text); }
.card-body { font-size: 13px; color: var(--muted); }
.key-messages ul, .do-not ul { margin-left: 20px; margin-top: 8px; }
.key-messages li, .do-not li { font-size: 13px; margin-bottom: 4px; }
.key-messages li { color: var(--text); }
.do-not li { color: var(--sluff-error); }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist-col ul { margin-left: 20px; }
.checklist-col li { font-size: 13px; margin-bottom: 6px; color: var(--text); }

/* Script Library */
.script-set-header { margin-bottom: 24px; }
.script-set-header h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.script-set-header .angle-voc { font-size: 13px; color: var(--muted); }
.script-block { margin-bottom: 32px; }
.script-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--accent); }
.script-persona { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.script-cut15 {
  font-size: 12px; color: var(--accent); font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-bottom: 12px; padding: 8px; background: var(--badge-bg); border-radius: var(--radius-sm);
}
.creator-brief-section { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.creator-brief-section h2 { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.creator-brief-template {
  background: var(--sluff-charcoal); color: var(--sluff-cream); padding: 20px; border-radius: var(--radius);
  overflow-x: auto; font-size: 12px; line-height: 1.6; font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Testing Roadmap */
.roadmap-section { margin-bottom: 48px; }
.roadmap-section h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.roadmap-table th, .roadmap-table td { padding: 10px; }
.roadmap-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rule-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.rule-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--accent); }
.rule-card p { font-size: 13px; color: var(--muted); }
.tier-strong { background: var(--sluff-eucalyptus-pale); }
.tier-weak { background: #fdf0f0; }
.nc-cpa-note {
  font-size: 12px; color: var(--muted); margin-top: 12px;
  padding: 12px; background: var(--badge-bg); border-radius: var(--radius-sm);
}
.funnel-note {
  font-size: 12px; color: var(--muted); margin-top: 12px;
  padding: 12px; background: var(--bg); border-radius: var(--radius-sm); line-height: 1.5;
}
.gate-checklist {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px;
}
.gate-checklist h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.gate-checklist ol { margin-left: 20px; }
.gate-checklist li { margin-bottom: 8px; font-size: 14px; color: var(--text); }
.sluff-offer {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px;
}
.sluff-offer h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.sluff-offer ul { margin-left: 20px; }
.sluff-offer li { margin-bottom: 6px; color: var(--text); }
.lp-audit { margin-top: 24px; }
.lp-audit h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.gate-verdict {
  font-size: 13px; color: var(--muted); margin-top: 12px;
  padding: 12px; background: #fff8e8; border-radius: var(--radius-sm); border-left: 3px solid #c46b00;
}
.scaling-intro { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.scaling-table td { padding: 10px; color: var(--text); }
.weekly-template { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.weekly-template h3, .weekly-template h4 { font-size: 16px; font-weight: 600; margin: 16px 0 8px; color: var(--accent); }
.weekly-template h4 { font-size: 14px; }
.anti-patterns { margin-left: 20px; }
.anti-patterns li { font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.naming-format {
  background: var(--bg); padding: 12px 16px; border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 13px; margin-bottom: 16px;
}
.naming-examples ul { margin-left: 20px; margin-top: 8px; }
.naming-examples li {
  font-size: 12px; font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-bottom: 4px; color: var(--text);
}
.naming-examples p { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  text-align: center; color: var(--muted); font-size: 13px;
}
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Sluff Logo SVG uses currentColor = accent */
.sluff-logo { flex-shrink: 0; }