
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #f5f7f2;
      --bg-sidebar: #ffffff;
      --surface:   #eef1eb;
      --border:    #dde2d8;
      --accent:    #2d5a3d;
      --accent-light: #4a8c61;
      --accent-glow: rgba(45,90,61,0.08);
      --text:      #1a1f17;
      --muted:     #6b7566;
      --muted2:    #9aa494;
      --top-bar:   #1a2318;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* ── TOP BAR ── */
    .topbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 52px;
      background: var(--top-bar);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      z-index: 100;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .topbar-logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
    }

    .logo-mark {
      width: 30px;
      height: 30px;
      flex-shrink: 0;
    }

    .topbar-name {
      font-size: 0.9rem;
      font-weight: 500;
      color: #ffffff;
      letter-spacing: -0.01em;
    }

    .topbar-links {
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .topbar-links a {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      padding: 0.4rem 0.75rem;
      border-radius: 6px;
      transition: color 0.2s, background 0.2s;
    }

    .topbar-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

    .topbar-links .sep {
      color: rgba(255,255,255,0.2);
      font-size: 0.75rem;
    }

    .btn-contact {
      font-size: 0.78rem !important;
      font-weight: 500 !important;
      color: #fff !important;
      background: var(--accent) !important;
      border-radius: 20px !important;
      padding: 0.35rem 0.9rem !important;
    }

    .btn-contact:hover { background: var(--accent-light) !important; }

    /* ── LAYOUT ── */
    .shell {
      display: flex;
      margin-top: 52px;
      min-height: calc(100vh - 52px);
    }

    /* ── SIDEBAR ── */
    .sidebar {
      width: 220px;
      flex-shrink: 0;
      background: var(--bg-sidebar);
      border-right: 1px solid var(--border);
      padding: 2rem 0;
      position: fixed;
      top: 52px;
      bottom: 0;
      left: 0;
      overflow-y: auto;
    }

    .sidebar-section {
      margin-bottom: 1.8rem;
      padding: 0 1.25rem;
    }

    .sidebar-heading {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--muted2);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 0.6rem;
    }

    .sidebar-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .sidebar-nav a {
      display: block;
      font-size: 0.85rem;
      color: var(--muted);
      text-decoration: none;
      padding: 0.35rem 0.6rem;
      border-radius: 6px;
      transition: color 0.2s, background 0.2s;
      border-left: 2px solid transparent;
    }

    .sidebar-nav a:hover,
    .sidebar-nav a.active {
      color: var(--accent);
      background: var(--accent-glow);
      border-left-color: var(--accent);
    }

    .sidebar-label {
      font-size: 0.65rem;
      font-weight: 600;
      color: var(--muted2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 0.35rem 0.6rem;
      display: block;
    }

    /* ── MAIN CONTENT ── */
    .main {
      margin-left: 220px;
      flex: 1;
      padding: 0;
    }

    /* ── HERO ── */
    .hero {
      min-height: 80vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 4rem 3rem 3rem;
      position: relative;
      background: linear-gradient(160deg, #eaf2ec 0%, #f5f7f2 50%, #e8eef5 100%);
      overflow: hidden;
    }

    /* Subtle aqueduct watermark behind hero */
    .hero-watermark {
      position: absolute;
      bottom: -20px;
      left: 50%;
      transform: translateX(-50%);
      opacity: 0.04;
      width: 600px;
    }

    .hero-photo-wrap {
      position: relative;
      margin-bottom: 2rem;
    }

    .hero-photo {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #fff;
      box-shadow: 0 8px 32px rgba(45,90,61,0.15);
      display: block;
      background: var(--surface);
    }

    /* Placeholder avatar if no photo */
    .hero-photo-placeholder {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), #4a8c61);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Instrument Serif', serif;
      font-size: 3rem;
      color: rgba(255,255,255,0.9);
      border: 3px solid #fff;
      box-shadow: 0 8px 32px rgba(45,90,61,0.15);
      margin-bottom: 0;
    }

    .hero-title {
      font-family: 'Instrument Serif', serif;
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 400;
      color: var(--text);
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: 0.75rem;
    }

    .hero-title em {
      font-style: italic;
      color: var(--accent);
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .hero-tag {
      font-size: 0.72rem;
      font-weight: 500;
      color: var(--accent);
      background: rgba(45,90,61,0.08);
      border: 1px solid rgba(45,90,61,0.18);
      border-radius: 20px;
      padding: 0.3rem 0.75rem;
      letter-spacing: 0.02em;
    }

    .hero-bio {
      max-width: 580px;
      font-size: 1rem;
      line-height: 1.75;
      color: var(--muted);
      margin-bottom: 2rem;
    }

    .hero-bio strong { color: var(--text); font-weight: 500; }
    .hero-bio a { color: var(--accent); text-decoration: none; }
    .hero-bio a:hover { text-decoration: underline; }

    .hero-cta {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .btn-primary {
      font-family: 'Inter', sans-serif;
      font-size: 0.85rem;
      font-weight: 500;
      color: #fff;
      background: var(--accent);
      border: none;
      border-radius: 24px;
      padding: 0.65rem 1.4rem;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.1s;
    }

    .btn-primary:hover { background: var(--accent-light); }

    .btn-secondary {
      font-family: 'Inter', sans-serif;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text);
      background: transparent;
      border: 1.5px solid var(--border);
      border-radius: 24px;
      padding: 0.65rem 1.4rem;
      cursor: pointer;
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s;
    }

    .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

    /* ── CONTENT SECTIONS ── */
    .content {
      padding: 3rem;
      max-width: 780px;
    }

    .section {
      margin-bottom: 4rem;
      scroll-margin-top: 72px;
    }

    .section-eyebrow {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.5rem;
    }

    .section-title {
      font-family: 'Instrument Serif', serif;
      font-size: 1.8rem;
      font-weight: 400;
      color: var(--text);
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    .section-body {
      font-size: 0.9rem;
      line-height: 1.8;
      color: var(--muted);
    }

    .divider {
      height: 1px;
      background: var(--border);
      margin: 3rem 0;
    }

    /* ── PROJECT CARDS ── */
    .project-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .project-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.4rem;
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
      cursor: pointer;
      text-decoration: none;
      display: block;
      color: inherit;
    }

    .project-card:hover {
      border-color: var(--accent);
      box-shadow: 0 4px 20px rgba(45,90,61,0.1);
      transform: translateY(-2px);
    }

    .project-tag {
      font-size: 0.65rem;
      font-weight: 600;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.6rem;
    }

    .project-title {
      font-family: 'Instrument Serif', serif;
      font-size: 1.05rem;
      font-weight: 400;
      color: var(--text);
      margin-bottom: 0.4rem;
    }

    .project-desc {
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.6;
    }

    .project-arrow {
      margin-top: 1rem;
      font-size: 0.78rem;
      color: var(--accent);
      font-weight: 500;
    }

    /* ── SKILLS LIST ── */
    .skills-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .skill-pill {
      font-size: 0.78rem;
      color: var(--text);
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 0.3rem 0.8rem;
    }

    /* ── CONTACT ── */
    .contact-links {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-top: 1.25rem;
    }

    .contact-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.88rem;
      color: var(--muted);
      text-decoration: none;
      padding: 0.75rem 1rem;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 10px;
      transition: border-color 0.2s, color 0.2s;
    }

    .contact-link:hover { border-color: var(--accent); color: var(--accent); }

    .contact-icon {
      width: 20px;
      height: 20px;
      opacity: 0.5;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .sidebar { display: none; }
      .main { margin-left: 0; }
      .content { padding: 2rem 1.25rem; }
      .hero { padding: 3rem 1.5rem 2rem; }
      .topbar-links .sep,
      .topbar-links a:not(.btn-contact):not(:last-child) { display: none; }
    }
