/*!
Theme Name: Jessica Camacho
Theme URI: https://jessicamcamacho.com
Author: Jessica Camacho
Author URI: https://jessicamcamacho.com
Description: Custom single-page portfolio theme for Jessica Camacho, Senior Product Marketing Manager. Editorial magazine layout with Newsreader serif and JetBrains Mono accents. Not designed for reuse.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: All Rights Reserved
Text Domain: jessica-camacho
*/


  :root {
    --ink: #111114;
    --ink-2: #3A3A40;
    --ink-3: #55555B;
    --paper: #FAFAF7;
    --paper-2: #F1F0EA;
    --line: #E4E2DA;
    --charcoal: #141416;
    --charcoal-2: #1F1F23;
    --charcoal-line: rgba(255,255,255,0.08);
    --charcoal-line-2: rgba(255,255,255,0.14);
    --ash: #B8B8BC;
    --ash-2: #7C7C82;
    --teal: #2E6A7A;
    --teal-soft: #4F8A9A;
    --accent: #C46B4C;         /* terracotta — was lime */
    --accent-soft: #E39377;
    --serif: "Newsreader", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  }

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

  body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* Nav */
  nav.top {
    background: var(--charcoal);
    color: #EDEDF0;
    border-bottom: 1px solid var(--charcoal-line);
  }
  nav.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  nav.top .brand {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  nav.top .brand em {
    font-style: italic;
    color: var(--ash);
  }
  nav.top ul {
    list-style: none;
    display: flex;
    gap: 32px;
  }
  nav.top a {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ash);
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    transition: color 0.15s;
  }
  nav.top a:hover { color: #EDEDF0; }

  /* Hero */
  section.hero {
    background: var(--charcoal);
    color: #EDEDF0;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
  }
  section.hero .wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ash-2);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
  }
  .eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(196, 107, 76, 0.18);
  }
  .eyebrow .divider {
    width: 32px;
    height: 1px;
    background: var(--charcoal-line-2);
  }
  h1.headline {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: #F5F5F0;
  }
  h1.headline em {
    font-style: italic;
    color: var(--ash);
    font-weight: 300;
  }
  h1.headline .accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 300;
  }
  .hero p.lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ash);
    max-width: 500px;
    margin-bottom: 40px;
  }
  .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }
  .btn {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn.primary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
  }
  .btn.primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFF;
  }
  .btn.ghost {
    background: transparent;
    color: #EDEDF0;
    border-color: var(--charcoal-line-2);
  }
  .btn.ghost:hover {
    border-color: var(--ash);
    color: #FFF;
  }
  .btn .arrow {
    font-family: var(--mono);
    font-size: 12px;
    transition: transform 0.2s;
  }
  .btn:hover .arrow { transform: translateX(3px); }

  /* Photo */
  .portrait {
    position: relative;
    justify-self: center;
  }
  .portrait img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    filter: contrast(1.02);
  }

  /* Section base */
  section.slab {
    padding: 96px 0;
    border-top: 1px solid var(--line);
  }
  .section-mark {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 48px;
  }
  .section-mark .num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.1em;
  }
  .section-mark .rule {
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .section-mark .label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  h2.section-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    letter-spacing: -0.015em;
    line-height: 1.15;
    max-width: 720px;
    margin-bottom: 12px;
  }
  h2.section-title em {
    font-style: italic;
    color: var(--ink-2);
  }
  .section-sub {
    color: var(--ink-2);
    font-size: 16px;
    max-width: 620px;
    margin-bottom: 56px;
  }

  /* Three lanes */
  .lanes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .lane {
    border-top: 1px solid var(--ink);
    padding-top: 20px;
  }
  .lane .lane-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .lane h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }
  .lane p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .lane .lane-link {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--teal);
    text-decoration: none;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
  }
  .lane .lane-link:hover { border-bottom-color: var(--teal); }

  /* Numbers */
  section.numbers {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
  }
  .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .stat {
    padding: 32px 0 32px 24px;
    border-right: 1px solid var(--line);
  }
  .stat:last-child { border-right: none; padding-right: 0; }
  .stat .stat-num {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 52px;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }
  .stat .stat-num em {
    font-style: italic;
    color: var(--ink-2);
    font-size: 32px;
  }
  .stat .stat-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.05em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  /* Stack block */
  .stack-block {
    background: var(--charcoal);
    color: #E5E5E9;
    border-radius: 4px;
    padding: 32px 36px;
    font-family: var(--mono);
    font-size: 13.5px;
    line-height: 2;
    position: relative;
    overflow: hidden;
  }
  .stack-block .stack-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--charcoal-line);
    color: var(--ash-2);
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .stack-block .stack-head .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--charcoal-line-2);
  }
  .stack-block .stack-head .dot.g { background: var(--accent); }
  .stack-block .k { color: var(--teal-soft); }
  .stack-block .s { color: var(--ash); }
  .stack-block .c { color: #6E6E74; }
  .stack-block .v { color: #EDEDF0; }

  /* Writing */
  section.writing { background: var(--paper); }
  .posts {
    display: grid;
    grid-template-columns: 1fr;
  }
  .post {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 40px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.2s;
  }
  .post:last-child { border-bottom: 1px solid var(--line); }
  .post:hover { padding-left: 8px; }
  .post .date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .post .title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.35;
  }
  .post .tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--teal);
    letter-spacing: 0.04em;
  }

  /* Contact */
  section.contact {
    background: var(--charcoal);
    color: #EDEDF0;
    padding: 96px 0;
  }
  section.contact .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
  }
  section.contact h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #F5F5F0;
  }
  section.contact h2 em {
    font-style: italic;
    color: var(--ash);
  }
  section.contact .lede {
    color: var(--ash);
    margin-top: 24px;
    max-width: 460px;
    line-height: 1.55;
  }
  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .contact-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--charcoal-line);
    color: #EDEDF0;
    text-decoration: none;
    transition: color 0.15s;
  }
  .contact-list a:hover { color: var(--accent); }
  .contact-list a:hover .arrow { transform: translateX(4px); }
  .contact-list .label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ash-2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: 90px;
    flex-shrink: 0;
  }
  .contact-list .value {
    font-family: var(--serif);
    font-size: 18px;
    flex: 1;
    padding: 0 16px;
  }
  .contact-list .arrow {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ash-2);
    transition: transform 0.2s;
  }

  /* Footer */
  footer {
    background: var(--charcoal);
    color: var(--ash-2);
    border-top: 1px solid var(--charcoal-line);
    padding: 28px 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  footer .wrap {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
  }

  /* Responsive */
  @media (max-width: 860px) {
    .wrap { padding: 0 24px; }
    section.hero { padding: 60px 0 72px; }
    section.hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .portrait { order: -1; max-width: 260px; }
    section.slab { padding: 72px 0; }
    .lanes { grid-template-columns: 1fr; gap: 32px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-right: none; padding: 24px 0 24px 20px; border-bottom: 1px solid var(--line); }
    .stat:nth-child(odd) { border-right: 1px solid var(--line); }
    .stat:nth-last-child(-n+2) { border-bottom: none; }
    .post { grid-template-columns: 100px 1fr; }
    .post .tag { grid-column: 1 / -1; margin-top: 4px; }
    section.contact .wrap { grid-template-columns: 1fr; gap: 40px; }
    nav.top ul { display: none; }
    .stack-block { font-size: 12px; padding: 24px; }
  }

  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
  }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
