
  :root {
    --bg:        #141418;
    --surface:   #1e1e24;
    --surface2:  #26262e;
    --border:    #32323c;
    --amber:     #e8a230;
    --amber-dim: rgba(232,162,48,0.12);
    --rust:      #c0533a;
    --text:      #d8d5ce;
    --text-muted:#7a7870;
    --text-head: #f0ece4;
    --white:     #ffffff;
  }

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

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 15px;
  }

  /* ── HEADER ── */
  header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(232,162,48,0.06) 0%, transparent 50%),
      linear-gradient(to right, rgba(192,83,58,0.04) 0%, transparent 60%);
    pointer-events: none;
  }

  header::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--amber), var(--rust));
  }

  .header-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 56px 48px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .header-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
  }

  .header-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 700;
    color: var(--text-head);
    line-height: 1;
    letter-spacing: -1px;
  }

  .header-name em {
    font-style: normal;
    color: var(--amber);
  }

  .header-role {
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .header-summary {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text);
    max-width: 520px;
    line-height: 1.85;
  }

  .header-meta {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: right;
  }

  .meta-item strong {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 2px;
  }

  .meta-item span {
    font-size: 0.88rem;
    color: var(--text);
  }

  /* ── YEARS STRIP ── */
  .years-strip {
    background: linear-gradient(90deg, var(--rust) 0%, #a0402a 100%);
    padding: 14px 48px;
  }

  .years-strip-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .years-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
  }

  .years-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
  }

  .years-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.25);
    margin: 0 8px;
  }

  .years-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
  }

  /* ── LAYOUT ── */
  main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 52px 48px 88px;
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 52px;
    align-items: start;
  }

  /* ── SECTION HEADING ── */
  .section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-head);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-heading::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--amber);
    border-radius: 2px;
    flex-shrink: 0;
  }

  /* ── JOB CARDS ── */
  .experience-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
  }

  .job-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 26px;
    transition: border-color 0.2s, background 0.2s;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.5s ease forwards;
    margin-bottom: 14px;
  }

  .job-card:last-child { margin-bottom: 0; }

  .job-card:hover {
    background: var(--surface2);
    border-color: #484855;
  }

  .job-card.current {
    border-color: rgba(232,162,48,0.35);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(232,162,48,0.04) 100%);
  }

  .job-card.current:hover {
    border-color: rgba(232,162,48,0.55);
  }

  .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 3px;
    flex-wrap: wrap;
  }

  .job-employer {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-head);
    line-height: 1.3;
  }

  .job-period {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .job-card.current .job-period {
    color: var(--amber);
    background: var(--amber-dim);
    border-color: rgba(232,162,48,0.25);
  }

  .current-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--amber);
    padding: 2px 7px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }

  .job-title {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
  }

  .job-desc {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.8;
  }

  /* earlier roles */
  .earlier-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 26px;
    margin-top: 14px;
  }

  .earlier-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .earlier-card p {
    font-size: 0.87rem;
    color: var(--text);
    line-height: 1.8;
  }

  .earlier-card strong {
    color: var(--text-head);
    font-weight: 500;
  }

  /* ── SIDEBAR ── */
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
  }

  .sidebar-card:nth-child(1) { animation-delay: 0.15s; }
  .sidebar-card:nth-child(2) { animation-delay: 0.25s; }
  .sidebar-card:nth-child(3) { animation-delay: 0.35s; }

  .sidebar-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-head);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }

  .info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .info-item:last-child { margin-bottom: 0; }

  .info-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 2px;
  }

  .info-value {
    font-size: 0.88rem;
    color: var(--text);
  }

  .edu-entry {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .edu-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .edu-school {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-head);
    margin-bottom: 5px;
  }

  .edu-quals {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
  }

  .hobbies-text {
    font-size: 0.87rem;
    color: var(--text);
    line-height: 1.8;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 22px 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  footer em { color: var(--amber); font-style: normal; }

  /* ── RESPONSIVE ── */
  @media (max-width: 780px) {
    .header-inner {
      grid-template-columns: 1fr;
      padding: 40px 28px 36px;
      gap: 28px;
    }
    .header-meta { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 20px; }
    .years-strip { padding: 14px 28px; }
    .years-tagline { display: none; }
    main { grid-template-columns: 1fr; padding: 36px 28px 60px; gap: 36px; }
    footer { padding: 18px 28px; }
  }

  @media (max-width: 460px) {
    .header-name { font-size: 2.4rem; }
    .job-header { flex-direction: column; }
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .job-card:nth-child(1) { animation-delay: 0.05s; }
  .job-card:nth-child(2) { animation-delay: 0.12s; }
  .job-card:nth-child(3) { animation-delay: 0.19s; }
  .job-card:nth-child(4) { animation-delay: 0.26s; }
  .job-card:nth-child(5) { animation-delay: 0.33s; }
  .job-card:nth-child(6) { animation-delay: 0.40s; }
  .job-card:nth-child(7) { animation-delay: 0.47s; }
  .job-card:nth-child(8) { animation-delay: 0.54s; }
  
    a {
      color: #60a5fa;
      text-decoration: none;
    }
    a:visited {
      color: #a78bfa;
    }
    a:hover, a:focus {
      color: #bfdbfe;
      text-decoration: underline;
    }
  
    .contact-container input {
        width: 100%;
        padding: 0.5em;
    }
  
    .contact-container textarea {
        width: 100%;
        height: 10em;
        padding: 0.5em;
    }