/*
Theme Name: Kristofer Maki — Shadow SaaS Evangelist
Theme URI: https://kristofermaki.com
Author: Kristofer Maki
Description: Personal brand theme for kristofermaki.com — Shadow SaaS & Shadow AI Evangelist, Public Speaker, Cybersecurity Leader.
Version: 1.0
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg-deep:     #0B1120;
  --bg-navy:     #172339;
  --bg-card:     #1F2C49;
  --teal:        #23C2A6;
  --teal-dark:   #4B9B8D;
  --amber:       #F5A623;
  --text-light:  #EBEFF8;
  --text-mid:    #97A4C0;
  --text-dim:    #4B5878;
  --white:       #FFFFFF;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:  6px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-light);
}

p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section--dark { background: var(--bg-deep); }
.section--navy { background: var(--bg-navy); }
.section--card { background: var(--bg-card); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-title span { color: var(--teal); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35, 194, 166, 0.1);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  margin: 5px 0;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Ambient circle decorations */
.hero-bg::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(35, 194, 166, 0.08);
  box-shadow: 0 0 0 80px rgba(35, 194, 166, 0.04), 0 0 0 160px rgba(35, 194, 166, 0.02);
}

.hero-bg::after {
  content: '';
  position: absolute;
  left: 30%;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, transparent 70%);
}

/* Amber left accent bar */
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  height: 100%;
  background: var(--amber);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-badge span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero-name {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.hero-name span { color: var(--teal); }

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-tagline strong { color: var(--amber); font-weight: 600; }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-desc em {
  font-style: normal;
  color: var(--teal);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: #ffc547;
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(35, 194, 166, 0.4);
}

.btn-outline:hover {
  background: rgba(35, 194, 166, 0.08);
  color: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.hero-photo-wrap {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.92) contrast(1.05);
}

/* Teal corner accent on photo */
.hero-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(35, 194, 166, 0.3) 50%);
}

.hero-photo-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--bg-card);
  border: 1px solid rgba(35, 194, 166, 0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
}

.hero-photo-badge .badge-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero-photo-badge .badge-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}

.hero-photo-badge .badge-sub {
  font-size: 0.7rem;
  color: var(--text-mid);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(35, 194, 166, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}

.pillar-card:hover { border-color: rgba(35, 194, 166, 0.35); }

.pillar-icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pillar-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.pillar-card p {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin: 0;
}

.about-quote {
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.about-quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   SPEAKING
   ============================================================ */
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.talk-card {
  background: var(--bg-card);
  border: 1px solid rgba(75, 155, 141, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.talk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  opacity: 0;
  transition: opacity var(--transition);
}

.talk-card:hover { border-color: rgba(35, 194, 166, 0.3); transform: translateY(-4px); }
.talk-card:hover::before { opacity: 1; }

.talk-event {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.talk-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.talk-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.talk-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.talk-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.talk-meta-item svg {
  width: 13px; height: 13px;
  color: var(--teal-dark);
  flex-shrink: 0;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid rgba(75, 155, 141, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.post-card:hover { transform: translateY(-4px); border-color: rgba(35, 194, 166, 0.25); }

.post-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-navy);
  position: relative;
  overflow: hidden;
}

.post-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.3;
}

.post-card-body { padding: 1.5rem; }

.post-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(35, 194, 166, 0.1);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
}

.post-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.post-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

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

/* ============================================================
   RESUME CTA
   ============================================================ */
.resume-cta {
  text-align: center;
  padding: 80px 2rem;
  background: var(--bg-navy);
}

.resume-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.resume-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.resume-cta p {
  margin-bottom: 2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.linkedin-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(35, 194, 166, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
  transition: all var(--transition);
  text-align: left;
}

.linkedin-card:hover {
  border-color: rgba(35, 194, 166, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.linkedin-icon {
  width: 56px; height: 56px;
  background: #0A66C2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.linkedin-icon svg { width: 28px; height: 28px; fill: white; }

.linkedin-card-text h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.linkedin-card-text p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.site-footer span { color: var(--amber); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero-photo-wrap {
    display: block;
    order: -1;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-photo-frame {
    aspect-ratio: 4/3;
  }
  .hero-photo-frame img {
    object-position: center 15%;
  }
  .hero-photo-badge {
    bottom: -12px;
    left: 12px;
  }
  .hero-content {
    padding-top: 2rem;
  }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-deep);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 1.25rem;
  }
  .nav-toggle { display: block; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
