:root {
    --bg-dark: #0c0c0c;
    --bg-light: #f7f7f5;
    --bg-mid: #111111;
    --surface: #1a1a1a;
    --surface-light: #ffffff;
    --border-dark: #222;
    --border-light: #e0e0e0;
    --text-dark: #ffffff;
    --text-light: #111111;
    --dim-dark: #888;
    --dim-light: #777;
    --accent: #ffffff;
    --radius: 12px;
  }

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

  body {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    background: var(--bg-light);
  }

  a { color: inherit; text-decoration: none; }

  /* ===== NAV ===== */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 40px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(12,12,12,0.85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-dark);
    transition: background 0.3s;
  }
  .nav-logo { font-weight: 700; font-size: 17px; color: #fff; letter-spacing: -0.3px; }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { font-size: 13px; color: var(--dim-dark); font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: #fff; }

  /* ===== HERO (dark) ===== */
  .hero {
    background: var(--bg-dark);
    color: var(--text-dark);
    padding: 160px 40px 100px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start;
  }
  .hero-content {}
  .hero-image {
    display: flex; justify-content: center; align-items: flex-start;
    animation: fadeUp 0.7s ease 0.5s both;
  }
  .hero-image img {
    width: 350px; height: 425px;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px; border: 3px solid var(--border-dark);
    filter: grayscale(1);
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  }
  .hero-image img:hover {
    filter: grayscale(0);
    transform: scale(1.02);
    border-color: #444;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border: 1px solid var(--border-dark);
    border-radius: 100px; font-size: 13px; color: var(--dim-dark); font-weight: 500;
    margin-bottom: 28px;
    animation: fadeUp 0.7s ease both;
    transition: all 0.3s ease;
  }
  .hero-badge:hover {
    border-color: #555;
    color: #aaa;
  }
  .hero-badge img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }
  .hero-title {
    font-size: clamp(40px, 6vw, 68px); font-weight: 800;
    line-height: 1.08; letter-spacing: -2px;
    max-width: 700px;
    animation: fadeUp 0.7s ease 0.1s both;
  }
  .hero-tagline {
    font-size: clamp(20px, 2.2vw, 26px); color: #f3f3f3; font-weight: 500;
    max-width: 620px; margin-top: 26px; line-height: 1.45; letter-spacing: -0.2px;
    animation: fadeUp 0.7s ease 0.15s both;
  }
  .hero-sub {
    font-size: 17px; color: var(--dim-dark); font-weight: 400;
    max-width: 540px; margin-top: 18px; line-height: 1.8;
    animation: fadeUp 0.7s ease 0.2s both;
  }
  .hero-actions {
    margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeUp 0.7s ease 0.3s both;
  }
  .availability-badge {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 24px; padding: 8px 16px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px; font-size: 13px; color: #ddd; font-weight: 500;
    animation: fadeUp 0.7s ease 0.4s both;
  }
  .status-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #2ecc71;
    box-shadow: 0 0 0 4px rgba(46,204,113,0.18);
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 12px 28px; background: #fff; color: #000;
    border-radius: 100px; font-size: 14px; font-weight: 600;
    transition: all 0.25s; border: none; cursor: pointer;
  }
  .btn-primary:hover { background: #ddd; transform: translateY(-1px); }

  /* Submit button specific styles (black with white hover) */
  #submit-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
  }
  #submit-btn:hover:not(:disabled) {
    background: #fff;
    color: #000;
    border-color: #000;
    transform: translateY(-1px);
  }
  #submit-btn:disabled {
    background: #999;
    color: #ddd;
    border-color: #999;
    cursor: not-allowed;
    opacity: 0.6;
  }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: transparent; color: #fff;
    border: 1px solid #444; border-radius: 100px;
    font-size: 14px; font-weight: 500; transition: all 0.25s; cursor: pointer;
  }
  .btn-outline:hover { border-color: #fff; }
  .btn-outline i { font-size: 15px; }

  /* Stats row */
  .hero-stats {
    display: flex; gap: 50px; margin-top: 60px;
    animation: fadeUp 0.7s ease 0.4s both;
  }
  .stat-item {}
  .stat-number {
    font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1;
  }
  .stat-number span { font-size: 22px; color: var(--dim-dark); }
  .stat-label { font-size: 13px; color: var(--dim-dark); margin-top: 4px; font-weight: 400; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== ABOUT (light) ===== */
  .about {
    background: var(--bg-light);
    padding: 100px 40px;
  }
  .about-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
  }
  .about-left {}
  .about-tag {
    font-size: 12px; text-transform: uppercase; letter-spacing: 3px;
    color: var(--dim-light); font-weight: 600; margin-bottom: 14px;
  }
  .about-heading {
    font-size: clamp(28px, 3.5vw, 40px); font-weight: 700;
    letter-spacing: -1px; line-height: 1.15; margin-bottom: 20px;
  }
  .about-text {
    font-size: 15px; color: #555; line-height: 1.9; margin-bottom: 28px;
  }
  .about-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-dark {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: #111; color: #fff;
    border-radius: 100px; font-size: 14px; font-weight: 600;
    transition: all 0.25s; border: none; cursor: pointer;
  }
  .btn-dark:hover { background: #333; transform: translateY(-1px); }
  .btn-light {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: transparent; color: #111;
    border: 1px solid var(--border-light); border-radius: 100px;
    font-size: 14px; font-weight: 500; transition: all 0.25s; cursor: pointer;
  }
  .btn-light:hover { border-color: #111; }

  /* Kubestronaut visual */
  .about-right {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
  }
  .kubestronaut-badge {
    width: 200px; height: 200px;
    border-radius: 50%; border: 3px solid var(--border-light);
    overflow: hidden; background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
  }
  .kubestronaut-badge:hover { transform: scale(1.04); }
  .kubestronaut-badge img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
  .kubestronaut-text {
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 3px; color: var(--dim-light);
  }
  .mini-certs {
    display: flex; gap: 12px;
  }
  .mini-cert {
    width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--border-light);
    overflow: hidden; background: #fff; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .mini-cert:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: #111; }
  .mini-cert img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

  /* ===== EXPERIENCE (dark) ===== */
  .experience {
    background: var(--bg-dark); color: var(--text-dark);
    padding: 100px 40px;
  }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-tag {
    font-size: 12px; text-transform: uppercase; letter-spacing: 3px;
    color: var(--dim-dark); font-weight: 600; margin-bottom: 10px;
  }
  .section-tag-light {
    font-size: 12px; text-transform: uppercase; letter-spacing: 3px;
    color: var(--dim-light); font-weight: 600; margin-bottom: 10px;
  }
  .section-heading {
    font-size: clamp(28px, 3.5vw, 40px); font-weight: 700;
    letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
  }
  .section-desc {
    font-size: 15px; color: var(--dim-dark); max-width: 540px;
    line-height: 1.8; margin-bottom: 48px;
  }
  .section-desc-light {
    font-size: 15px; color: var(--dim-light); max-width: 540px;
    line-height: 1.8; margin-bottom: 48px;
  }

  .exp-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
  .exp-card {
    background: var(--surface); border: 1px solid var(--border-dark);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.3s; position: relative; overflow: hidden;
    cursor: pointer;
    max-height: 200px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
  }
  .exp-card.expanded {
    max-height: none;
  }
  .exp-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0;
    background: #fff; transition: height 0.3s;
  }
  .exp-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--surface));
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .exp-card.expanded::after {
    opacity: 0;
  }
  .exp-card:hover { border-color: #444; }
  .exp-card:hover::before { height: 100%; }
  .exp-num { font-size: 12px; color: var(--dim-dark); font-weight: 500; margin-bottom: 10px; }
  .exp-role { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
  .exp-company { font-size: 14px; color: var(--dim-dark); margin-bottom: 4px; }
  .exp-company a { color: var(--dim-dark); border-bottom: 1px solid #333; transition: all 0.2s; }
  .exp-company a:hover { color: #fff; border-color: #fff; }
  .exp-date { font-size: 12px; color: #555; margin-bottom: 14px; }
  .exp-desc { font-size: 13px; color: #999; line-height: 1.8; }
  .exp-content { position: relative; }
  .exp-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
    padding: 8px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s;
  }
  .exp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s ease;
  }
  .exp-card:hover .exp-logo img {
    filter: grayscale(0);
  }

  /* ===== TOOLS (light) ===== */
  .tools-section { background: var(--bg-light); padding: 100px 40px; }
  .skill-clusters {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px 48px; margin-top: 8px;
  }
  .skill-cluster {
    border-top: 1px solid var(--border-light); padding-top: 18px;
  }
  .skill-cluster-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: #111; margin: 0 0 10px 0;
  }
  .skill-cluster-tools {
    font-size: 16px; line-height: 1.7; color: var(--dim-light);
    margin: 0; font-weight: 400;
  }

  /* ===== CERTIFICATIONS (dark) ===== */
  .certs-section { background: var(--bg-dark); color: var(--text-dark); padding: 100px 40px; }
  .certs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .cert-card {
    background: var(--surface); border: 1px solid var(--border-dark);
    border-radius: var(--radius); padding: 24px 16px; text-align: center;
    transition: all 0.3s; cursor: default;
  }
  .cert-card:hover { border-color: #555; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .cert-card img { width: 64px; height: 64px; margin-bottom: 10px; transition: transform 0.3s; }
  .cert-card:hover img { transform: scale(1.1); }
  .cert-name { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 500; }
  .cert-desc { font-size: 11px; color: var(--dim-dark); margin-top: 4px; }

  /* White variant for Kubernetes and AWS certs */
  .cert-card-light {
    background: #fff; border: 1px solid var(--border-light);
  }
  .cert-card-light:hover { border-color: #111; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .cert-card-light .cert-name { color: #111; }
  .cert-card-light .cert-desc { color: #777; }

  /* ===== PROJECTS (light) ===== */
  .projects-section { background: var(--bg-light); padding: 100px 40px; }
  .projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .project-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.3s; position: relative;
  }
  .project-card:hover { border-color: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
  .project-tag-label {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--dim-light);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
  }
  .project-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
  .project-title a { transition: color 0.2s; }
  .project-title a:hover { color: #555; }
  .project-card-desc { font-size: 13px; color: #777; line-height: 1.7; }
  .project-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-top: 14px; transition: gap 0.2s; }
  .project-link:hover { gap: 10px; }

  /* ===== BLOG (dark) ===== */
  .blog-section { background: var(--bg-dark); color: var(--text-dark); padding: 100px 40px; }
  .blog-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .blog-card {
    background: var(--surface); border: 1px solid var(--border-dark);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.3s;
  }
  .blog-card:hover { border-color: #555; transform: translateY(-3px); }
  .blog-card-date { font-size: 12px; color: #555; margin-bottom: 10px; }
  .blog-card-title { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
  .blog-card-title a { transition: color 0.2s; }
  .blog-card-title a:hover { color: var(--dim-dark); }
  .blog-card-link { font-size: 13px; color: var(--dim-dark); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; transition: gap 0.2s; }
  .blog-card-link:hover { gap: 10px; color: #fff; }

  /* ===== CTA (gradient band) ===== */
  .cta-band {
    background: #111; color: #fff; padding: 80px 40px; text-align: center;
    border-top: 1px solid #222; border-bottom: 1px solid #222;
  }
  .cta-heading { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; }
  .cta-sub { font-size: 15px; color: var(--dim-dark); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

  /* ===== CONTACT (light) ===== */
  .contact-section { background: var(--bg-light); padding: 100px 40px; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
  .contact-info {}
  .contact-item { margin-bottom: 24px; }
  .contact-item-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--dim-light); font-weight: 600; margin-bottom: 4px; }
  .contact-item-value { font-size: 15px; font-weight: 500; }
  .contact-item-value a { border-bottom: 1px solid var(--border-light); transition: border-color 0.2s; }
  .contact-item-value a:hover { border-color: #111; }
  .contact-socials { display: flex; gap: 12px; margin-top: 32px; }
  .social-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--dim-light); transition: all 0.3s;
  }
  .social-btn i, .social-btn img.social-icon {
    filter: grayscale(1);
    transition: filter 0.3s ease;
  }
  .social-btn img.social-icon {
    width: 18px;
    height: 18px;
  }
  .social-btn:hover { color: #111; border-color: #111; transform: translateY(-2px); }
  .social-btn:hover i, .social-btn:hover img.social-icon { filter: grayscale(0); }

  /* ===== CONTACT FORM ===== */
  .contact-form { margin-top: 24px; }
  .form-group { margin-bottom: 20px; }
  .form-group label {
    display: block; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--dim-light); margin-bottom: 8px;
  }
  .form-group input,
  .form-group textarea {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px; font-size: 15px;
    font-family: inherit; background: #fff;
    transition: all 0.2s; color: #111;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none; border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }

  /* Submit button in contact form - full width */
  .contact-form #submit-btn {
    width: 100%;
    margin-top: 8px;
  }

  .form-message {
    margin-top: 16px; padding: 12px 16px;
    border-radius: 8px; font-size: 14px;
    text-align: center; font-weight: 500;
  }
  .form-message.success {
    background: #d4edda; color: #155724;
    border: 1px solid #c3e6cb;
  }
  .form-message.error {
    background: #f8d7da; color: #721c24;
    border: 1px solid #f5c6cb;
  }

  /* ===== FOOTER (dark) ===== */
  .footer {
    background: var(--bg-dark); color: var(--dim-dark);
    padding: 40px; text-align: center; font-size: 13px;
    border-top: 1px solid var(--border-dark);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .nav { padding: 14px 20px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 12px; }
    .hero { padding: 120px 20px 70px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: -1; max-width: 280px; margin: 0 auto; }
    .hero-image img { max-width: 280px; }
    .hero-stats { gap: 30px; flex-wrap: wrap; }
    .about-inner { grid-template-columns: 1fr; }
    .about-right { margin-top: 20px; }
    .exp-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: repeat(3, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about, .experience, .tools-section, .certs-section, .projects-section, .blog-section, .contact-section { padding: 60px 20px; }
  }
  @media (max-width: 480px) {
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 32px; }
    .mini-certs { gap: 8px; }
    .mini-cert { width: 42px; height: 42px; }
  }

  /* ===== CASE STUDIES ===== */
  .case-studies-section { background: var(--bg-light); padding: 100px 40px; min-height: 70vh; }
  .case-study-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }
  .case-study-card {
    display: block; padding: 28px; background: #fff;
    border: 1px solid var(--border-light); border-radius: var(--radius);
    transition: all 0.25s; color: inherit;
  }
  .case-study-card:hover { border-color: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
  .case-study-meta {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim-light);
    margin-bottom: 14px;
  }
  .case-study-title { font-size: 22px; font-weight: 700; line-height: 1.3; color: #111; margin-bottom: 10px; }
  .case-study-summary { font-size: 14px; color: var(--dim-light); line-height: 1.7; margin-bottom: 18px; }
  .case-study-link { font-size: 13px; font-weight: 600; color: #111; }

  .case-study-single { background: var(--bg-light); padding: 100px 40px; }
  .case-study-single-title { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin: 16px 0 32px; }
  .case-study-fact-row {
    display: flex; flex-wrap: wrap; gap: 28px;
    padding: 20px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
  }
  .case-study-fact { display: flex; flex-direction: column; gap: 4px; }
  .case-study-fact-label {
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim-light);
  }
  .case-study-fact-value { font-size: 14px; color: #111; font-weight: 500; }
  .case-study-body { font-size: 16px; line-height: 1.85; color: #333; }
  .case-study-body h3 { font-size: 22px; font-weight: 700; color: #111; margin: 36px 0 14px; }
  .case-study-body p { margin-bottom: 18px; }
  .case-study-body ul, .case-study-body ol { padding-left: 22px; margin-bottom: 18px; }
  .case-study-body li { margin-bottom: 8px; }
  .case-study-body blockquote {
    border-left: 3px solid #111; padding: 4px 0 4px 18px;
    margin: 24px 0; color: var(--dim-light); font-style: italic;
  }

  /* ===== SPEAKING ===== */
  .speaking-section { background: var(--bg-light); padding: 100px 40px; min-height: 70vh; }
  .talk-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }
  .talk-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--border-light); border-radius: var(--radius);
    overflow: hidden; transition: all 0.25s; color: inherit;
  }
  .talk-card:hover { border-color: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
  .talk-card-thumb {
    width: 100%; aspect-ratio: 16 / 9; background: var(--bg-light);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .talk-card-thumb img { max-width: 60%; max-height: 80%; object-fit: contain; }
  .talk-card-body { padding: 22px 24px 24px; }
  .talk-card-meta {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    letter-spacing: 0.06em; color: var(--dim-light); margin-bottom: 10px;
  }
  .talk-status {
    display: inline-block; padding: 2px 8px; border-radius: 100px;
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
    background: #eee; color: #555;
  }
  .talk-status-placeholder { background: #f0e6d4; color: #8a6a1f; }
  .talk-status-submitted { background: #e5e9f5; color: #3a4b8c; }
  .talk-status-accepted { background: #d6f0db; color: #1f6b34; }
  .talk-status-delivered { background: #111; color: #fff; }
  .talk-card-title { font-size: 19px; font-weight: 700; color: #111; line-height: 1.3; margin-bottom: 8px; }
  .talk-card-event { font-size: 13px; color: var(--dim-light); margin-bottom: 14px; }
  .talk-card-link { font-size: 13px; font-weight: 600; color: #111; }

  .talk-single { background: var(--bg-light); padding: 100px 40px; }
  .talk-single-title { font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin: 16px 0 28px; }
  .talk-fact-row {
    display: flex; flex-wrap: wrap; gap: 28px;
    padding: 20px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
  }
  .talk-fact { display: flex; flex-direction: column; gap: 4px; }
  .talk-fact-label {
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim-light);
  }
  .talk-fact-value { font-size: 14px; color: #111; font-weight: 500; }
  .talk-links { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
  .talk-body { font-size: 16px; line-height: 1.85; color: #333; }
  .talk-body p { margin-bottom: 18px; }
  .talk-body ul, .talk-body ol { padding-left: 22px; margin-bottom: 18px; }
  .talk-body blockquote {
    border-left: 3px solid #111; padding: 4px 0 4px 18px;
    margin: 24px 0; color: var(--dim-light); font-style: italic;
  }

  .talk-gallery-heading {
    font-size: 18px; font-weight: 700; color: #111;
    margin: 40px 0 16px;
  }
  .talk-gallery {
    display: grid; gap: 10px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 16 / 9;
  }
  .talk-gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .talk-gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .talk-gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .talk-gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }
  .talk-gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }
  .talk-gallery-item:nth-child(n+6) { display: none; }
  .talk-gallery-item {
    display: block; padding: 0; margin: 0; border: 0; cursor: pointer;
    background: var(--bg-light); border-radius: 10px; overflow: hidden;
    transition: transform 0.2s;
  }
  .talk-gallery-item:hover { transform: scale(1.01); }
  .talk-gallery-item img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 16px; }

  /* If only 1 image, take full width. If fewer than 5, the grid still works because empty cells just collapse */
  .talk-gallery:has(.talk-gallery-item:nth-child(1):last-child) {
    grid-template-columns: 1fr; grid-template-rows: 1fr;
  }
  .talk-gallery:has(.talk-gallery-item:nth-child(1):last-child) .talk-gallery-item:nth-child(1) {
    grid-column: 1; grid-row: 1;
  }

  /* ===== LIGHTBOX ===== */
  .lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92);
    display: none; align-items: center; justify-content: center;
    z-index: 9999; padding: 40px;
  }
  .lightbox.is-open { display: flex; }
  .lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; }
  .lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: transparent; border: 0; color: #fff;
    font-size: 36px; line-height: 1; cursor: pointer; padding: 8px 14px;
  }
  .lightbox-close:hover { opacity: 0.7; }

  @media (max-width: 768px) {
    .talk-gallery {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: repeat(3, 1fr);
      aspect-ratio: 4 / 5;
    }
    .talk-gallery-item:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
    .talk-gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .talk-gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .talk-gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .talk-gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  }

  /* ===== WORK WITH ME (Open Mode only — page is draft) ===== */
  .wwm-section { background: var(--bg-light); padding: 100px 40px; }
  .wwm-title {
    font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px;
    line-height: 1.1; margin: 16px 0 20px;
  }
  .wwm-intro { font-size: 18px; color: var(--dim-light); line-height: 1.7; max-width: 680px; margin-bottom: 60px; }
  .wwm-heading {
    font-size: 26px; font-weight: 700; color: #111; letter-spacing: -0.5px;
    margin: 56px 0 24px; padding-top: 24px; border-top: 1px solid var(--border-light);
  }
  .wwm-offer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
  }
  .wwm-offer {
    padding: 28px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
    display: flex; flex-direction: column;
  }
  .wwm-offer-name { font-size: 19px; font-weight: 700; color: #111; line-height: 1.3; margin-bottom: 12px; }
  .wwm-offer-desc { font-size: 14px; color: var(--dim-light); line-height: 1.7; margin-bottom: 18px; }
  .wwm-offer-bestfor {
    padding: 14px 16px; background: var(--bg-light); border-radius: 8px;
    margin-bottom: 22px; display: flex; flex-direction: column; gap: 6px;
  }
  .wwm-offer-bestfor-label {
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim-light);
  }
  .wwm-offer-bestfor-value { font-size: 13px; color: #111; line-height: 1.6; }
  .wwm-offer-cta {
    margin-top: auto; align-self: flex-start;
    font-size: 13px; font-weight: 600; color: #111;
    padding: 10px 18px; border: 1px solid #111; border-radius: 100px;
    transition: all 0.2s;
  }
  .wwm-offer-cta:hover { background: #111; color: #fff; }

  .wwm-list { padding-left: 22px; }
  .wwm-list li { font-size: 15px; color: #333; line-height: 1.9; margin-bottom: 4px; }

  .wwm-process { list-style: none; padding: 0; counter-reset: wwm-step; }
  .wwm-process li {
    counter-increment: wwm-step;
    padding: 18px 0 18px 56px; border-top: 1px solid var(--border-light);
    position: relative;
  }
  .wwm-process li::before {
    content: counter(wwm-step, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: var(--dim-light); position: absolute; left: 0; top: 22px;
  }
  .wwm-process li:last-child { border-bottom: 1px solid var(--border-light); }
  .wwm-process-step { display: block; font-size: 16px; font-weight: 600; color: #111; margin-bottom: 6px; }
  .wwm-process-detail { display: block; font-size: 14px; color: var(--dim-light); line-height: 1.7; }

  .wwm-faq dt {
    font-size: 15px; font-weight: 600; color: #111;
    margin-top: 22px; margin-bottom: 6px;
  }
  .wwm-faq dt:first-child { margin-top: 0; }
  .wwm-faq dd { font-size: 14px; color: var(--dim-light); line-height: 1.8; margin: 0 0 4px 0; }

  .wwm-footer {
    margin-top: 72px; padding: 40px; background: #111; color: #fff;
    border-radius: var(--radius); text-align: center;
  }
  .wwm-footer-text { font-size: 18px; margin-bottom: 18px; }
