/* ============================================================
   TARVIT — Executive Presence Restyle
   Paste into: WP Admin → Appearance → Customize → Additional CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink:       #0e1726;   /* deep slate-navy */
  --ink-2:     #1c2942;
  --paper:     #fafaf7;   /* warm off-white */
  --rule:      #e6e3dc;
  --muted:     #5b6473;
  --accent:    #b8893a;   /* warm gold */
  --accent-2:  #8a6628;
}

/* ---------- Base ---------- */
body, body p, body li, body a, body div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--ink) !important;
}
body { background: var(--paper) !important; }

h1, h2, h3, .entry-title, .widget-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
}

/* ---------- Header ---------- */
header, .header, #header, .site-header {
  background: var(--ink) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}
header a, header li a, .nav a, .menu a {
  color: #e9ecf2 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}
header a:hover, .nav a:hover { color: var(--accent) !important; }
/* Logo: keep original colors, kill white boxes from inline/theme backgrounds */
#logo, header #logo, .logo, header .logo, .site-logo, .custom-logo-link {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 8px 0 !important;
}
#logo a, #logo img, .logo a, .logo img, .site-logo a, .site-logo img, .custom-logo-link, .custom-logo {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  filter: none !important;
}
#logo img, .logo img, header #logo img, .site-logo img, .custom-logo {
  max-height: 48px !important;
  width: auto !important;
  display: inline-block !important;
}

/* ---------- Hero / Page Title ---------- */
.entry-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
  line-height: 1.05 !important;
  max-width: 22ch;
  margin: 4rem auto 1.25rem !important;
  text-align: center !important;
  text-wrap: balance;
}
.entry-title::before {
  content: "Colin Wynd · Executive Notes";
  display: block;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.entry-title::after {
  content: "Notes on AI, the intelligence age, and turning new technology into business leverage.   LinkedIn · X · GitHub";
  display: block;
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36rem;
  margin: 1.5rem auto 0;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Layout container ---------- */
.entry-content, .panel-layout {
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem;
}

/* Hide broken twitter column, give posts full width */
#panel-1760-0-1-0, .ctf, .widget_custom-twitter-feeds-widget { display: none !important; }
#pgc-1760-0-0, #pgc-1760-0-1 { width: 100% !important; max-width: 880px !important; margin: 0 auto !important; float: none !important; }

/* ---------- Recent Posts Widget ---------- */
.widget-title {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 2rem !important;
  font-family: 'Inter', sans-serif !important;
}
.rpwwt-widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.rpwwt-widget li {
  list-style: none !important;
  border-bottom: 1px solid var(--rule);
  padding: 2rem 0 !important;
  margin: 0 !important;
  display: block !important;
}
.rpwwt-widget li:last-child { border-bottom: none; }

/* Hide repetitive avatar thumbnails */
.rpwwt-widget li img { display: none !important; }

.rpwwt-post-title {
  display: block !important;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.65rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
  color: var(--ink) !important;
  margin-bottom: 0.5rem !important;
  transition: color 0.2s ease;
}
.rpwwt-widget li a { text-decoration: none !important; }
.rpwwt-widget li a:hover .rpwwt-post-title { color: var(--accent-2) !important; }

.rpwwt-post-categories, .rpwwt-post-date {
  display: inline-block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin: 0 1rem 0.75rem 0 !important;
  font-weight: 500;
}
.rpwwt-post-categories { color: var(--accent) !important; }

.rpwwt-post-excerpt {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: #3a4151 !important;
  margin-top: 0.75rem !important;
  max-width: 60ch;
}
.rpwwt-post-excerpt-more { color: var(--accent-2) !important; font-weight: 500; }

/* ---------- Footer ---------- */
footer, .footer, #footer {
  background: var(--ink) !important;
  color: #a3acbd !important;
  margin-top: 6rem;
  padding: 3rem 0 !important;
  border-top: none !important;
}
footer p, footer a { color: #a3acbd !important; font-size: 13px !important; }
footer a:hover { color: var(--accent) !important; }

/* ---------- Polish ---------- */
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { transition: color 0.2s ease; }

/* === Contact: social cards === */
.tarvit-contact-intro{font-size:1.1rem;margin:0 0 1.75rem;color:var(--tarvit-muted,#4a5568)}
.tarvit-social-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.tarvit-social-grid li{margin:0}
.tarvit-social-card{display:flex;align-items:center;gap:1rem;padding:1.1rem 1.25rem;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:#fff;text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.tarvit-social-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px -16px rgba(0,0,0,.25);border-color:rgba(0,0,0,.18)}
.tarvit-social-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:#0a0a0a;color:#fff;flex:0 0 48px}
.tarvit-social-card[href*="linkedin"] .tarvit-social-icon{background:#0a66c2}
.tarvit-social-card[href*="github"]   .tarvit-social-icon{background:#181717}
.tarvit-social-card[href*="x.com"]    .tarvit-social-icon{background:#000}
.tarvit-social-meta{display:flex;flex-direction:column;line-height:1.25}
.tarvit-social-label{font-weight:600;font-size:1rem}
.tarvit-social-handle{font-size:.9rem;color:#4a5568}

/* === Home: hero / about / feeds === */
.tarvit-eyebrow,.tarvit-section-kicker{font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:#a0522d;font-weight:600;margin:0 0 .5rem}
.tarvit-hero{max-width:920px;margin:3rem auto 2.5rem;padding:0 1.25rem;text-align:center}
.tarvit-hero-title{font-size:clamp(2rem,4.5vw,3.4rem);line-height:1.1;letter-spacing:-.02em;margin:.25rem 0 1rem;color:#0f172a}
.tarvit-hero-sub{font-size:1.1rem;color:#475569;max-width:680px;margin:0 auto 1.5rem;line-height:1.55}
.tarvit-hero-cta{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
.tarvit-btn{display:inline-block;padding:.75rem 1.4rem;border-radius:999px;font-weight:600;text-decoration:none;transition:all .15s ease;border:1.5px solid transparent;font-size:.95rem}
.tarvit-btn--primary{background:#0f172a;color:#fff;border-color:#0f172a}
.tarvit-btn--primary:hover{background:#1e293b;transform:translateY(-1px);box-shadow:0 8px 20px -10px rgba(0,0,0,.5)}
.tarvit-btn--ghost{background:transparent;color:#0f172a;border-color:#cbd5e1}
.tarvit-btn--ghost:hover{border-color:#0f172a;background:#f8fafc}

.tarvit-about{max-width:1100px;margin:3rem auto;padding:0 1.25rem}
.tarvit-about-grid{display:grid;grid-template-columns:280px 1fr;gap:2.5rem;align-items:start}
.tarvit-about-photo img{width:100%;border-radius:18px;display:block;box-shadow:0 20px 40px -20px rgba(0,0,0,.3)}
.tarvit-section-title{font-size:clamp(1.5rem,2.6vw,2.1rem);letter-spacing:-.01em;margin:0 0 1rem;color:#0f172a;line-height:1.2}
.tarvit-about-body p{color:#334155;line-height:1.65;margin:0 0 1rem;font-size:1.02rem}
.tarvit-about-facts{list-style:none;padding:0;margin:1.25rem 0 0;border-top:1px solid #e2e8f0}
.tarvit-about-facts li{padding:.65rem 0;border-bottom:1px solid #e2e8f0;color:#475569;font-size:.95rem}
.tarvit-about-facts strong{color:#0f172a;display:inline-block;min-width:90px}
@media(max-width:720px){.tarvit-about-grid{grid-template-columns:1fr}.tarvit-about-photo{max-width:220px;margin:0 auto}}

.tarvit-feed-section{max-width:1200px;margin:3.5rem auto;padding:0 1.25rem}
.tarvit-feed-section--alt{background:#f8fafc;padding-top:2.5rem;padding-bottom:2.5rem;max-width:none;border-radius:0}
.tarvit-feed-section--alt > *{max-width:1200px;margin-left:auto;margin-right:auto}
.tarvit-feed-header{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.tarvit-feed-header .tarvit-section-title{margin:0}
.tarvit-feed-more{color:#0f172a;font-weight:600;text-decoration:none;font-size:.95rem;white-space:nowrap}
.tarvit-feed-more:hover{color:#a0522d}
.tarvit-feed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem}

.tarvit-feed-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.tarvit-feed-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px -18px rgba(0,0,0,.25);border-color:#cbd5e1}
.tarvit-feed-card--blog .tarvit-feed-thumb{aspect-ratio:16/9;background:#e2e8f0 center/cover no-repeat}
.tarvit-feed-body{padding:1.1rem 1.25rem 1.35rem}
.tarvit-feed-date{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:#64748b;font-weight:600}
.tarvit-feed-title{font-size:1.1rem;line-height:1.3;margin:.4rem 0 .5rem;color:#0f172a}
.tarvit-feed-excerpt,.tarvit-feed-text{color:#475569;font-size:.95rem;line-height:1.55;margin:0}
.tarvit-feed-card--x,.tarvit-feed-card--li{padding:1.25rem 1.35rem}
.tarvit-feed-head{display:flex;align-items:center;gap:.65rem;margin-bottom:.85rem}
.tarvit-feed-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#fff;flex:0 0 36px}
.tarvit-feed-icon--x{background:#000}
.tarvit-feed-icon--li{background:#0a66c2}
.tarvit-feed-meta{display:flex;flex-direction:column;line-height:1.2}
.tarvit-feed-meta strong{color:#0f172a;font-size:.95rem}
.tarvit-feed-meta .tarvit-feed-date{margin-top:.1rem}
.tarvit-feed-card--li .tarvit-feed-title{margin-top:.25rem}
.tarvit-feed-tags{margin-top:.75rem;display:flex;gap:.4rem;flex-wrap:wrap}
.tarvit-feed-tag{font-size:.78rem;color:#0a66c2;background:#eff6ff;padding:.2rem .55rem;border-radius:999px;font-weight:500}
